]> granicus.if.org Git - php/commitdiff
add usual rhapsody hack
authorSascha Schumann <sas@php.net>
Sat, 3 Jul 1999 02:45:46 +0000 (02:45 +0000)
committerSascha Schumann <sas@php.net>
Sat, 3 Jul 1999 02:45:46 +0000 (02:45 +0000)
Zend/configure.in

index f60dde5fe71365b24854c10189e4fd55a719eacb..42bdab125c4cda7fbb39a1a667e647c883cd1a65 100644 (file)
@@ -28,6 +28,12 @@ AC_PROG_RANLIB
 AC_PROG_CC_C_O
 AM_PROG_LEX
 
+dnl Hack to work around a Mac OS X cpp problem
+dnl Known versions needing this workaround are 5.3 and 5.4
+if test "$ac_cv_prog_gcc" = "yes" -a "`uname -s`" = "Rhapsody"; then
+        CPPFLAGS="$CPPFLAGS -traditional-cpp"
+fi
+
 dnl Ugly hack to get around a problem with gcc on AIX.
 if test "$CC" = "gcc" -a "$ac_cv_prog_cc_g" = "yes" -a \
    "`uname -sv`" = "AIX 4"; then