Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: pcre configuration

This seems to remove the warning message if pcre is found.

Index: configure.ac
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.9
diff -u -r1.9 configure.ac
--- configure.ac	26 Feb 2004 12:40:54 -0000	1.9
+++ configure.ac	27 Feb 2004 10:07:16 -0000
@@ -496,8 +496,12 @@
 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`"
 AC_CHECK_HEADERS(sys/time.h sys/times.h sys/select.h termcap.h termio.h \

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.


Messages sorted by: Reverse Date, Date, Thread, Author