summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <kent@mysql.com>2005-09-08 03:06:49 +0200
committerunknown <kent@mysql.com>2005-09-08 03:06:49 +0200
commita12efb04ddeba5c62a5d49a695f296bc373ca97a (patch)
treea3c553e3746a2ce54f60ab70b4048f28377d6944 /configure.in
parentc0f44f87759ca8d0f1ec0fff2561debf066e314e (diff)
downloadmariadb-git-a12efb04ddeba5c62a5d49a695f296bc373ca97a.tar.gz
configure.in:
Flag -DHAVE_DARWIN_THREADS not needed for darwin9 configure.in: Flag -DHAVE_DARWIN_THREADS not needed for darwin9
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index c473fb21dbd..d294d537031 100644
--- a/configure.in
+++ b/configure.in
@@ -1062,6 +1062,15 @@ case $SYSTEM_TYPE in
MAX_C_OPTIMIZE="-O"
fi
;;
+ *darwin9*)
+ if test "$ac_cv_prog_gcc" = "yes"
+ then
+ FLAGS="-D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT"
+ CFLAGS="$CFLAGS $FLAGS"
+ CXXFLAGS="$CXXFLAGS $FLAGS"
+ MAX_C_OPTIMIZE="-O"
+ fi
+ ;;
*freebsd*)
echo "Adding fix for interrupted reads"
OSVERSION=`sysctl -a | grep osreldate | awk '{ print $2 }'`