From: Sascha Schumann Date: Sat, 3 Jul 1999 01:28:31 +0000 (+0000) Subject: let's start OS X hacking X-Git-Tag: BEFORE_REMOVING_GC_STEP1~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=081da5006e2639d4e274be037d46735b3a52f89b;p=php let's start OS X hacking --- diff --git a/configure.in.in b/configure.in.in index fb2880baf0..06f345941a 100644 --- a/configure.in.in +++ b/configure.in.in @@ -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