From 8c4c4660bf7ed39742a2f8ee2887738cb3efcc63 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 29 Sep 2009 19:19:21 +0000 Subject: Jun T.: 27296: bad preprocessing of Mac OS Snow Leopard headers. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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 -- cgit 1.4.1