From 7bbd454143368224030715aff008421648bc8f92 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 3 Jul 1999 02:45:46 +0000 Subject: [PATCH] add usual rhapsody hack --- Zend/configure.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Zend/configure.in b/Zend/configure.in index f60dde5fe71..42bdab125c4 100644 --- a/Zend/configure.in +++ b/Zend/configure.in @@ -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