diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.ac | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index c7af32d22..ef37645b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-03-14 Oliver Kiddle <opk@zsh.org> + + * 19619: configure.ac: fix problem with getting signals + on MacOS X 10.1 + 2004-03-12 Peter Stephenson <pws@csr.com> * zsh-users/7160: Src/Zle/zle_misc.c, Src/Zle/zle_utils.c, diff --git a/configure.ac b/configure.ac index b47111194..a316f2954 100644 --- a/configure.ac +++ b/configure.ac @@ -412,6 +412,11 @@ AC_PROG_CPP dnl Figure out how to run C preprocessor. 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 +case "$host_os" in + darwin*) CPP="$CPP -traditional-cpp" ;; +esac + fp_PROG_CC_STDC AC_MSG_CHECKING([whether to use prototypes]) if test ."$ansi2knr" = .yes || test ."$ansi2knr" = .no; then @@ -1232,7 +1237,7 @@ dnl slashes rather than doubled backslashes in the path. echo "#include <errno.h>" > nametmp.c errfile_list="`$CPP nametmp.c | sed -n -e 's/^#line[ ].*\"\(.*\)\"/\1/p' \ - -e 's/^#[ ].*\"\(.*\)\"/\1/p' | + -e 's/^#[ 0-9].*\"\(.*\)\"/\1/p' | sed 's/\\\\\\\\/\//g' | $AWK '{ if (\$1 ~ \"err\") files[[\$1]] = \$1 } END { for (var in files) print var }'`" |