Skip to content

Commit d271615

Browse files
author
Gwynne Raskind
committed
Remove the now-unnecessary (and wrong anyway) Darwin hack
1 parent c9ab4df commit d271615

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

configure.in

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,6 @@ dnl or the contents of libs.
101101
$php_shtool mkdir -p libs
102102
rm -f libs/*
103103

104-
dnl Darwin 9 hack
105-
dnl Because the default debugging format used by Apple's GCC on Mac OS 10.5
106-
dnl causes errors in all current and past versions of Autoconf, we do a little
107-
dnl messing with the CFLAGS here to trick it.
108-
php_did_darwin9_cheat=0
109-
case $host_alias in
110-
*darwin9*)
111-
hasg=`echo $CFLAGS | grep -E '(^-g)|([[:space:]]-g)'`
112-
if test x"$hasg" = "x"; then
113-
php_did_darwin9_cheat=1
114-
CFLAGS="$CFLAGS -gstabs"
115-
fi
116-
;;
117-
esac
118-
119104
dnl Checks for programs.
120105
dnl -------------------------------------------------------------------------
121106

@@ -1320,15 +1305,6 @@ SHARED_LIBTOOL='$(LIBTOOL)'
13201305

13211306
CC=$old_CC
13221307

1323-
dnl Finish the Darwin hack
1324-
if test "$php_did_darwin9_cheat" -eq 1; then
1325-
if test "$PHP_DEBUG" = "1"; then
1326-
CFLAGS=`echo "$CFLAGS" | $SED -e 's/-gstabs/-g/g'`
1327-
else
1328-
CFLAGS=`echo "-O2 $CFLAGS" | $SED -e 's/-gstabs//g'`
1329-
fi
1330-
fi
1331-
13321308
PHP_CONFIGURE_PART(Generating files)
13331309

13341310
CXXFLAGS_CLEAN=$CXXFLAGS

0 commit comments

Comments
 (0)