summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2004-08-12 21:15:49 +0200
committerunknown <lenz@mysql.com>2004-08-12 21:15:49 +0200
commit7b0a538b14b47285c46b4e69e6f02226cf0c484b (patch)
tree11e4d01c20f678cb6235390ecd5b05d131c2d90a /configure.in
parent502dc70db6405060cb7fb6f1b73ae87379c86bc8 (diff)
downloadmariadb-git-7b0a538b14b47285c46b4e69e6f02226cf0c484b.tar.gz
- giving a range does not work for platform detection in configure.in
- resorting to having to separate sections for darwin7 and darwin8 configure.in: - giving a range does not work here - resorting to having to separate sections for darwin7 and darwin8
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index be3269d50d6..05f5c8917c1 100644
--- a/configure.in
+++ b/configure.in
@@ -1047,7 +1047,16 @@ case $SYSTEM_TYPE in
MAX_C_OPTIMIZE="-O"
fi
;;
- *darwin[7-8]*)
+ *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"
+ CFLAGS="$CFLAGS $FLAGS"
+ CXXFLAGS="$CXXFLAGS $FLAGS"
+ MAX_C_OPTIMIZE="-O"
+ fi
+ ;;
+ *darwin8*)
if test "$ac_cv_prog_gcc" = "yes"
then
FLAGS="-DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ"