]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Sun, 11 Feb 2007 09:25:32 +0000 (09:25 +0000)
committerAntony Dovgal <tony2001@php.net>
Sun, 11 Feb 2007 09:25:32 +0000 (09:25 +0000)
ext/imap/config.m4

index 2b08fb2c51f6e73a1b4dbe1dd1d4aad1821b0ec3..d8deb75191d53876b665ee10d35e33986da37a8f 100644 (file)
@@ -137,7 +137,7 @@ if test "$PHP_IMAP" != "no"; then
     if test "$ac_cv_utf8_mime2text" = "new"; then
       AC_DEFINE(HAVE_NEW_MIME2TEXT, 1, [Whether utf8_mime2text() has new signature])
     fi
-    CFLAGS=$old_CPPFLAGS
+    CFLAGS=$old_CFLAGS
 
     old_CFLAGS=$CFLAGS
     CFLAGS="-I$IMAP_INC_DIR"
@@ -152,7 +152,7 @@ if test "$PHP_IMAP" != "no"; then
          ac_cv_u8t_canonical=no
       ])
     )
-    CFLAGS=$old_CPPFLAGS
+    CFLAGS=$old_CFLAGS
 
     if test "$ac_cv_u8t_canonical" = "no" && test "$ac_cv_utf8_mime2text" = "new"; then
                AC_MSG_ERROR([utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.])