Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Pcre compilation problem persists
- X-seq: zsh-workers 18131
- From: Clint Adams <clint@xxxxxxx>
- To: Felix Rosencrantz <f_rosencrantz@xxxxxxxxx>
- Subject: Re: Pcre compilation problem persists
- Date: Mon, 20 Jan 2003 12:43:21 -0500
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20030116160203.25585.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20030116160203.25585.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
> Could someone fix this problem before we release zsh again.
Does this work for you?
Index: zshconfig.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/zshconfig.ac,v
retrieving revision 1.28
diff -u -r1.28 zshconfig.ac
--- zshconfig.ac 6 May 2002 14:50:11 -0000 1.28
+++ zshconfig.ac 20 Jan 2003 17:37:30 -0000
@@ -482,6 +482,13 @@
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 \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author