From dae757646ada3aae9b2f12a7a1d81e3744196fb8 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 30 Jan 2003 15:30:45 +0000 Subject: 18131: find pcre on RedHat. --- zshconfig.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'zshconfig.ac') 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 \ -- cgit 1.4.1