From: Daniel Stenberg Date: Tue, 1 Sep 2009 08:39:39 +0000 (+0000) Subject: a failed libssh2 check must not pollute the variables X-Git-Tag: curl-7_19_7~179 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ddb1fb7535bdf2ff73b298d28143638aed8b0e82;p=curl a failed libssh2 check must not pollute the variables --- 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