- fix curl SSL lib detection by pretending a clean build env
authorMichael Wallner <mike@php.net>
Tue, 21 Aug 2007 18:56:34 +0000 (18:56 +0000)
committerMichael Wallner <mike@php.net>
Tue, 21 Aug 2007 18:56:34 +0000 (18:56 +0000)
config9.m4

index eff2249..a832b1c 100644 (file)
@@ -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"