Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9491 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91741 invoked by uid 1010); 22 Apr 2004 20:53:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 91706 invoked from network); 22 Apr 2004 20:53:18 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by pb1.pair.com with SMTP; 22 Apr 2004 20:53:18 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i3MKrHKG003681 for ; Thu, 22 Apr 2004 16:53:17 -0400 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i3MKrAp18779 for ; Thu, 22 Apr 2004 16:53:11 -0400 Received: from radish.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by radish.cambridge.redhat.com (8.12.10/8.12.7) with ESMTP id i3MKr3jb025614 for ; Thu, 22 Apr 2004 21:53:03 +0100 Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.12.10/8.12.10/Submit) id i3MKr3du025613 for internals@lists.php.net; Thu, 22 Apr 2004 21:53:03 +0100 Date: Thu, 22 Apr 2004 21:53:03 +0100 To: internals@lists.php.net Message-ID: <20040422205303.GA25558@redhat.com> Mail-Followup-To: internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: [PATCH] fix #27791 From: jorton@redhat.com (Joe Orton) It's necessary to pick up EXTRA_CFLAGS and friends when building against httpd-2.0 HEAD due to LFS support in APR. Index: sapi/apache2handler/config.m4 =================================================================== RCS file: /repository/php-src/sapi/apache2handler/config.m4,v retrieving revision 1.1.2.7 diff -u -r1.1.2.7 config.m4 --- sapi/apache2handler/config.m4 16 Jul 2003 05:46:46 -0000 1.1.2.7 +++ sapi/apache2handler/config.m4 22 Apr 2004 20:46:58 -0000 @@ -34,7 +34,10 @@ APXS_INCLUDEDIR=`$APXS -q INCLUDEDIR` APXS_BINDIR=`$APXS -q BINDIR` APXS_HTTPD=`$APXS -q SBINDIR`/`$APXS -q TARGET` - APXS_CFLAGS=`$APXS -q CFLAGS` + APXS_CFLAGS= + for flag in CFLAGS EXTRA_CFLAGS EXTRA_CPPFLAGS NOTEST_CFLAGS; do + APXS_CFLAGS="$APXS_CFLAGS `$APXS -q $flag`" + done APXS_MPM=`$APXS -q MPM_NAME` APU_BINDIR=`$APXS -q APU_BINDIR` APR_BINDIR=`$APXS -q APR_BINDIR`