projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea2754e
)
a failed libssh2 check must not pollute the variables
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 1 Sep 2009 08:39:39 +0000
(08:39 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 1 Sep 2009 08:39:39 +0000
(08:39 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
ac889ad
..
86de2fe
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1495,6
+1495,11
@@
if test X"$OPT_LIBSSH2" != Xno; then
export LD_LIBRARY_PATH
AC_MSG_NOTICE([Added $LIB_LIBSSH2 to LD_LIBRARY_PATH])
fi
+ else
+ dnl no libssh2, revert back to clean variables
+ LDFLAGS=$CLEANLDFLAGS
+ CPPFLAGS=$CLEANCPPFLAGS
+ LIBS=$CLEANLIBS
fi
fi