From: Michael Wallner Date: Tue, 21 Aug 2007 18:56:34 +0000 (+0000) Subject: - fix curl SSL lib detection by pretending a clean build env X-Git-Tag: RELEASE_1_6_0b1~8 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=b7afdab5771258952d6ea517332c49e02769b2d9;ds=sidebyside - fix curl SSL lib detection by pretending a clean build env --- diff --git a/config9.m4 b/config9.m4 index eff2249..a832b1c 100644 --- a/config9.m4 +++ b/config9.m4 @@ -184,6 +184,10 @@ dnl ---- dnl compile tests dnl + save_INCLUDES="$INCLUDES" + INCLUDES= + save_LIBS="$LIBS" + LIBS= save_CFLAGS="$CFLAGS" CFLAGS="`$CURL_CONFIG --cflags`" save_LDFLAGS="$LDFLAGS" @@ -244,6 +248,8 @@ dnl ---- AC_MSG_RESULT([no]) fi + INCLUDES="$save_INCLUDES" + LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" LDFLAGS="$save_LDFLAGS"