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

Re: Pcre compilation problem persists



> 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