1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 05:24:23 +01:00

19619: fix problem with getting signals on MacOS X 10.1

This commit is contained in:
Oliver Kiddle 2004-03-14 11:27:28 +00:00
parent bb9d76469e
commit 5b8b7e9f06
2 changed files with 11 additions and 1 deletions

@ -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,

@ -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 }'`"