diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-09-01 08:39:39 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-09-01 08:39:39 +0000 |
commit | ddb1fb7535bdf2ff73b298d28143638aed8b0e82 (patch) | |
tree | bb1702ff2ba650adbe73ca7c5a4d8d7f105e2d40 | |
parent | ea2754e0289d6714c37569da0bd14917cbdd0196 (diff) |
a failed libssh2 check must not pollute the variables
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ac889ad3a..86de2fea6 100644 --- 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 |