]> granicus.if.org Git - php/commitdiff
let's start OS X hacking
authorSascha Schumann <sas@php.net>
Sat, 3 Jul 1999 01:28:31 +0000 (01:28 +0000)
committerSascha Schumann <sas@php.net>
Sat, 3 Jul 1999 01:28:31 +0000 (01:28 +0000)
configure.in.in

index fb2880baf02993e87ac9b2780723088da4b1c013..06f345941a855c17629f861d53aa0a61d7562c17 100644 (file)
@@ -96,6 +96,12 @@ if test "$ac_cv_c_const" = "yes" ; then
 fi
 AC_SUBST(LEX_CFLAGS)
 
+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
+
 if test "`uname -sv`" = "AIX 4" -a "$GCC" != "yes"; then
        APXS_EXP="-bE:mod_php4.exp"
 fi