1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-09 10:01:16 +02:00

19478: pcre configuration problem

This commit is contained in:
Peter Stephenson 2004-02-27 10:17:38 +00:00
parent 0af7a9f7ff
commit 03fa6dd950
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-02-27 Peter Stephenson <pws@csr.com>
* 19478: configure.ac: make pcre put its flag into
CPPFLAGS so preprocessor can find them.
2004-02-26 Wayne Davison <wayned@users.sourceforge.net>
* unposted: Src/Modules/zpty.c: silenced a compiler warning

View file

@ -496,8 +496,12 @@ AC_HEADER_SYS_WAIT
oldcflags="$CFLAGS"
AC_CHECK_PROG([PCRECONF], pcre-config, pcre-config)
dnl Typically (meaning on this single RedHat 9 box in front of me)
dnl pcre-config --cflags produces a -I output which needs to go into
dnl CPPFLAGS else configure's preprocessor tests don't pick it up,
dnl producing a warning.
if test "x$ac_cv_prog_PCRECONF" = xpcre-config; then
CFLAGS="$CFLAGS `pcre-config --cflags`"
CPPFLAGS="$CPPFLAGS `pcre-config --cflags`"
fi
AC_CHECK_HEADERS(sys/time.h sys/times.h sys/select.h termcap.h termio.h \