From 03fa6dd95054344de34a2dc81323e6d54e2bc5ae Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 27 Feb 2004 10:17:38 +0000 Subject: 19478: pcre configuration problem --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 740e98067..b80ff0c87 100644 --- a/configure.ac +++ b/configure.ac @@ -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 \ -- cgit 1.4.1