- 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 eff224924557932163d1c41d02a1519e35ac6f5c..a832b1c65fe4abdb4f8500b9da085e2adcd9816f 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"