* Pcre compilation problem persists
@ 2003-01-16 16:02 Felix Rosencrantz
2003-01-20 17:43 ` Clint Adams
0 siblings, 1 reply; 3+ messages in thread
From: Felix Rosencrantz @ 2003-01-16 16:02 UTC (permalink / raw)
To: zsh-workers
We still have the pcre compilation problems.
I thought we had fixed the configuration problems with pcre. Though recently I
pulled the zsh code from cvs to a Redhat 7.3 box, and ran into the compilation
problem with pcre.c. The compiler was unable to find pcre.h. Pcre.h is in
/usr/include/pcre/pcre.h on RH 7.3 (and other RH's). I assume it is in
/usr/include on another *nix. I'm not familiar enough with configure&autoconf,
and the ilk to fix this problem, but I know it's been around for a while.
Could someone fix this problem before we release zsh again.
-FR
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Pcre compilation problem persists
2003-01-16 16:02 Pcre compilation problem persists Felix Rosencrantz
@ 2003-01-20 17:43 ` Clint Adams
2003-01-21 14:45 ` Felix Rosencrantz
0 siblings, 1 reply; 3+ messages in thread
From: Clint Adams @ 2003-01-20 17:43 UTC (permalink / raw)
To: Felix Rosencrantz; +Cc: zsh-workers
> 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 \
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Pcre compilation problem persists
2003-01-20 17:43 ` Clint Adams
@ 2003-01-21 14:45 ` Felix Rosencrantz
0 siblings, 0 replies; 3+ messages in thread
From: Felix Rosencrantz @ 2003-01-21 14:45 UTC (permalink / raw)
To: Clint Adams; +Cc: zsh-workers
--- Clint Adams <clint@zsh.org> wrote:
> Does this work for you?
Seems to work for me on RH7.3. I didn't try it on other platforms. -FR.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-21 14:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-16 16:02 Pcre compilation problem persists Felix Rosencrantz
2003-01-20 17:43 ` Clint Adams
2003-01-21 14:45 ` Felix Rosencrantz
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).