apr 1.3.6 incorrectly includes -g -O2 in 'pkg-config --cflags

2009-07-13 Thread Rhys Ulerich
Hi all, apr version 1.3.6 incorrectly includes -g -O2 in the output of 'pkg-config --cflags apr-1': -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/org/centers/pecos/LIBRARIES/APR/apr-1.3.6-intel-10.1.017/include/apr-1 A pkg-config package shouldn't be mucking with optimization

Re: apr 1.3.6 incorrectly includes -g -O2 in 'pkg-config --cflags

2009-07-13 Thread Bojan Smojver
On Mon, 2009-07-13 at 17:19 -0500, Rhys Ulerich wrote: These entries appear in pkg-config output because @EXTRA_CPPFLAGS@ and @EXTRA_CFLAGS@ are present in apr.pc.in. How did you configure apr? I have this in my config.nice: -- CFLAGS=-g -O0 -Wall -fstack-protector; export

Re: apr 1.3.6 incorrectly includes -g -O2 in 'pkg-config --cflags

2009-07-13 Thread Rhys Ulerich
How did you configure apr? My config.nice for a build using Intel compilers contains --8--- #! /bin/sh # # Created by configure CC=icc; export CC ./configure \ --prefix=/org/centers/pecos/LIBRARIES/APR/apr-1.3.6-intel-10.1.017 \ CC=icc \ CXX=icpc \ CXXFLAGS=-DMPICH_IGNORE_CXX_SEEK \ F77=ifort \

Re: apr 1.3.6 incorrectly includes -g -O2 in 'pkg-config --cflags

2009-07-13 Thread Bojan Smojver
On Mon, 2009-07-13 at 19:30 -0500, Rhys Ulerich wrote: What happens for you when you don't set CFLAGS prior to running ./configure? Hmm, what do you know: - -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread

Re: Potential includes?

2002-06-23 Thread Greg Stein
On Wed, Jun 19, 2002 at 03:38:54AM -0700, Justin Erenkrantz wrote: On Wed, Jun 19, 2002 at 12:37:19PM +0200, Sander Striker wrote: Just commit it. We can work from there. Done. Not sure if everyone is subscribed to serf-cvs. I wasn't. -- justin I was... Funny thing, though. I sat

Potential includes?

2002-06-19 Thread Justin Erenkrantz
I have some rough header files for serf that may give us a launching pad for discussion on implementation. Should I post them all for review, or just commit into apr-serf? -- justin

RE: Potential includes?

2002-06-19 Thread Sander Striker
Just commit it. We can work from there. Sander From: Justin Erenkrantz [mailto:[EMAIL PROTECTED] Sent: 19 June 2002 12:22 I have some rough header files for serf that may give us a launching pad for discussion on implementation. Should I post them all for review, or just commit into

[PATCH] apr-util: don't add -I/usr/include to INCLUDES

2002-02-03 Thread Joe Orton
The expat detection was adding -I/usr/include to INCLUDES when a /usr/include/expat.h is found; this is redundant, can mess up include path ordering, and bleeding edge gcc's even give warnings for it. (it looks like the code will also do the same for -L/usr/lib in some circumstances) Index

Re: [PATCH] apr-util: don't add -I/usr/include to INCLUDES

2002-02-03 Thread Justin Erenkrantz
On Sun, Feb 03, 2002 at 01:54:57PM +, Joe Orton wrote: The expat detection was adding -I/usr/include to INCLUDES when a /usr/include/expat.h is found; this is redundant, can mess up include path ordering, and bleeding edge gcc's even give warnings for it. (it looks like the code

Re: APR and apache2 includes should be different

2001-09-26 Thread Ryan Bloom
Copying dev@apr.apache.org, so that the APR developers know about this. On Wednesday 26 September 2001 04:18 am, Daniel Stone wrote: Hi all, Currently libapr and apache2 are designed to put their includes into the one directory. For example: apxs2 -q INCLUDEDIR, will return /usr/include

includes

2001-01-28 Thread William A. Rowe, Jr.
The last os2 patch finishes the move of all .h files to arch/ excepting mmap/unix/mm/mm.h, which we all agreed stays put since that is a package private to unix. Brian, please test, beat on me if it breaks anything and I'll revert as you propose. -Before- you beat on me, please look at apr.hw to