From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11274 invoked from network); 27 Feb 2004 10:14:48 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 27 Feb 2004 10:14:48 -0000 Received: (qmail 13903 invoked by alias); 27 Feb 2004 10:14:33 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19478 Received: (qmail 13886 invoked from network); 27 Feb 2004 10:14:32 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 27 Feb 2004 10:14:32 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.58.19] by sunsite.dk (MessageWall 1.0.8) with SMTP; 27 Feb 2004 10:14:32 -0000 Received: from MAILSWEEPER01.csr.com (mailhost1.csr.com [62.189.183.235]) by lhuumrelay3.lnd.ops.eu.uu.net (8.11.0/8.11.0) with ESMTP id i1RAEVv16809 for ; Fri, 27 Feb 2004 10:14:31 GMT Received: from EXCHANGE02.csr.com (unverified [192.168.137.45]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Fri, 27 Feb 2004 10:14:07 +0000 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 27 Feb 2004 10:15:50 +0000 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: PATCH: pcre configuration Date: Fri, 27 Feb 2004 10:14:25 +0000 Message-ID: <13822.1077876865@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 27 Feb 2004 10:15:50.0197 (UTC) FILETIME=[AC865E50:01C3FD1A] This seems to remove the warning message if pcre is found. Index: configure.ac =================================================================== RCS file: /cvsroot/zsh/zsh/configure.ac,v retrieving revision 1.9 diff -u -r1.9 configure.ac --- configure.ac 26 Feb 2004 12:40:54 -0000 1.9 +++ configure.ac 27 Feb 2004 10:07:16 -0000 @@ -496,8 +496,12 @@ oldcflags="$CFLAGS" AC_CHECK_PROG([PCRECONF], pcre-config, pcre-config) +dnl Typically (meaning on this single RedHat 9 box in front of me) +dnl pcre-config --cflags produces a -I output which needs to go into +dnl CPPFLAGS else configure's preprocessor tests don't pick it up, +dnl producing a warning. if test "x$ac_cv_prog_PCRECONF" = xpcre-config; then - CFLAGS="$CFLAGS `pcre-config --cflags`" + CPPFLAGS="$CPPFLAGS `pcre-config --cflags`" fi AC_CHECK_HEADERS(sys/time.h sys/times.h sys/select.h termcap.h termio.h \ -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************