- Make sure to set the correct compile flags for Mac OS X 10.3 "Panther"
(which is "darwin7" now) - "-DHAVE_BROKEN_REALPATH" is not required anymore, too, as realpath() is thread-safe on Panther now. (Thanks to Al Begley from Apple for the info)
This commit is contained in:
parent
b55cf65bbd
commit
2795f35b10
@ -1028,6 +1028,15 @@ case $SYSTEM_TYPE in
|
|||||||
MAX_C_OPTIMIZE="-O"
|
MAX_C_OPTIMIZE="-O"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
*darwin7*)
|
||||||
|
if test "$ac_cv_prog_gcc" = "yes"
|
||||||
|
then
|
||||||
|
FLAGS="-DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DFN_NO_CASE_SENCE"
|
||||||
|
CFLAGS="$CFLAGS $FLAGS"
|
||||||
|
CXXFLAGS="$CXXFLAGS $FLAGS"
|
||||||
|
MAX_C_OPTIMIZE="-O"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
*freebsd*)
|
*freebsd*)
|
||||||
echo "Adding fix for interrupted reads"
|
echo "Adding fix for interrupted reads"
|
||||||
OSVERSION=`sysctl -a | grep osreldate | awk '{ print $2 }'`
|
OSVERSION=`sysctl -a | grep osreldate | awk '{ print $2 }'`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user