diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 533a3d7e1..6ca4b5e62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-09-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Jun T.: 27296: configure.ac: bad preprocessing of Mac OS + Snow Leopard headers. + 2009-09-29 Peter Stephenson <pws@csr.com> * Jun T.: 27292: Src/Modules/socket.c: abuse of UNIX_PATH_MAX on @@ -12220,5 +12225,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4788 $ +* $Revision: 1.4789 $ ***************************************************** 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 |