aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2003-01-30 15:30:45 +0000
committerClint Adams <clint@users.sourceforge.net>2003-01-30 15:30:45 +0000
commitdae757646ada3aae9b2f12a7a1d81e3744196fb8 (patch)
treebd587d28599c43a2e6d70b72aebd9fda10833659
parent1c9fc3f3be22a8d6f96d766efbfe691d1394f2c0 (diff)
downloadzsh-dae757646ada3aae9b2f12a7a1d81e3744196fb8.tar.gz
zsh-dae757646ada3aae9b2f12a7a1d81e3744196fb8.tar.xz
zsh-dae757646ada3aae9b2f12a7a1d81e3744196fb8.zip
18131: find pcre on RedHat.
-rw-r--r--ChangeLog4
-rw-r--r--zshconfig.ac7
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3001a7ab7..81223b99d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-30 Clint Adams <clint@zsh.org>
+
+ * 18131: zshconfig.ac: find pcre on RedHat.
+
2003-01-30 Oliver Kiddle <opk@zsh.org>
* Doug Kearns: 18159: Completion/Unix/Command/_tidy:
diff --git a/zshconfig.ac b/zshconfig.ac
index b3ab7dca8..266630af2 100644
--- a/zshconfig.ac
+++ b/zshconfig.ac
@@ -482,6 +482,13 @@ AC_HEADER_STDC
AC_HEADER_TIME
AC_HEADER_STAT
AC_HEADER_SYS_WAIT
+
+oldcflags="$CFLAGS"
+AC_CHECK_PROG([PCRECONF], pcre-config, pcre-config)
+if test "x$ac_cv_prog_PCRECONF" = xpcre-config; then
+ CFLAGS="$CFLAGS `pcre-config --cflags`"
+fi
+
AC_CHECK_HEADERS(sys/time.h sys/times.h sys/select.h termcap.h termio.h \
termios.h sys/param.h sys/filio.h string.h memory.h \
limits.h fcntl.h libc.h sys/utsname.h sys/resource.h \