mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Remove the now-unnecessary (and wrong anyway) Darwin hack
This commit is contained in:
parent
c9ab4df521
commit
d271615ba4
1 changed files with 0 additions and 24 deletions
24
configure.in
24
configure.in
|
@ -101,21 +101,6 @@ dnl or the contents of libs.
|
||||||
$php_shtool mkdir -p libs
|
$php_shtool mkdir -p libs
|
||||||
rm -f libs/*
|
rm -f libs/*
|
||||||
|
|
||||||
dnl Darwin 9 hack
|
|
||||||
dnl Because the default debugging format used by Apple's GCC on Mac OS 10.5
|
|
||||||
dnl causes errors in all current and past versions of Autoconf, we do a little
|
|
||||||
dnl messing with the CFLAGS here to trick it.
|
|
||||||
php_did_darwin9_cheat=0
|
|
||||||
case $host_alias in
|
|
||||||
*darwin9*)
|
|
||||||
hasg=`echo $CFLAGS | grep -E '(^-g)|([[:space:]]-g)'`
|
|
||||||
if test x"$hasg" = "x"; then
|
|
||||||
php_did_darwin9_cheat=1
|
|
||||||
CFLAGS="$CFLAGS -gstabs"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
dnl Checks for programs.
|
dnl Checks for programs.
|
||||||
dnl -------------------------------------------------------------------------
|
dnl -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -1320,15 +1305,6 @@ SHARED_LIBTOOL='$(LIBTOOL)'
|
||||||
|
|
||||||
CC=$old_CC
|
CC=$old_CC
|
||||||
|
|
||||||
dnl Finish the Darwin hack
|
|
||||||
if test "$php_did_darwin9_cheat" -eq 1; then
|
|
||||||
if test "$PHP_DEBUG" = "1"; then
|
|
||||||
CFLAGS=`echo "$CFLAGS" | $SED -e 's/-gstabs/-g/g'`
|
|
||||||
else
|
|
||||||
CFLAGS=`echo "-O2 $CFLAGS" | $SED -e 's/-gstabs//g'`
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
PHP_CONFIGURE_PART(Generating files)
|
PHP_CONFIGURE_PART(Generating files)
|
||||||
|
|
||||||
CXXFLAGS_CLEAN=$CXXFLAGS
|
CXXFLAGS_CLEAN=$CXXFLAGS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue