about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-09-29 19:19:21 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-09-29 19:19:21 +0000
commit8c4c4660bf7ed39742a2f8ee2887738cb3efcc63 (patch)
treea9fc1324ff4622c7a968895276d10baa15c11fe2 /configure.ac
parent68fabbda6a718c42493592a42daf1fbeb23dbcd4 (diff)
downloadzsh-8c4c4660bf7ed39742a2f8ee2887738cb3efcc63.tar.gz
zsh-8c4c4660bf7ed39742a2f8ee2887738cb3efcc63.tar.xz
zsh-8c4c4660bf7ed39742a2f8ee2887738cb3efcc63.zip
Jun T.: 27296: bad preprocessing of Mac OS Snow Leopard headers.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f4137fd79..569300765 100644
--- a/configure.ac
+++ b/configure.ac
@@ -462,8 +462,9 @@ AC_PROG_GCC_TRADITIONAL     dnl Do we need -traditional flag for gcc.
 AC_C_CONST                  dnl Does compiler support `const'.
 
 dnl Default preprocessing on Mac OS X produces warnings
+dnl Mac OS X 10.6 (darwin10.x.x) does not need this.
 case "$host_os" in
-  darwin*) CPP="$CPP -traditional-cpp" ;;
+  darwin[[0-9]].*) CPP="$CPP -traditional-cpp" ;;
 esac
 
 fp_PROG_CC_STDC