]> granicus.if.org Git - curl/commitdiff
oops, the GNU GSS patch could clobber the CPPFLAGS variable and it thus
authorDaniel Stenberg <daniel@haxx.se>
Wed, 31 Aug 2005 21:23:47 +0000 (21:23 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 31 Aug 2005 21:23:47 +0000 (21:23 +0000)
broke krb4 builds!

configure.ac

index 5f29b3ca1d399af06aee25b9042318efc0ce8b51..494c2048a5934d926a9f262ffbb4807b68203784 100644 (file)
@@ -700,6 +700,7 @@ AC_ARG_WITH(gssapi,
   fi
 ])
 
+save_CPPFLAGS="$CPPFLAGS"
 AC_MSG_CHECKING([if GSSAPI support is requested])
 if test x"$want_gss" = xyes; then
   AC_MSG_RESULT(yes)
@@ -711,7 +712,6 @@ if test x"$want_gss" = xyes; then
         GSSAPI_INCS="-I$GSSAPI_ROOT/include"
      fi
   fi
-  save_CPPFLAGS="$CPPFLAGS"
   CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
 
   AC_CHECK_HEADER(gss.h,