> 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" \ "$@" --8<--- For the GNU compilers I see the same pkg-config behavior and my config.nice contains: ---8<--- #! /bin/sh # # Created by configure CC="gcc"; export CC "./configure" \ "--prefix=/org/centers/pecos/LIBRARIES/APR/apr-1.3.6-gcc-4.3.1-ubuntu-amd64" \ "CC=gcc" \ "CXX=g++" \ "CXXFLAGS=-DMPICH_IGNORE_CXX_SEEK" \ "F77=gfortran" \ "$@" ---8<--- I am using autoconf v2.61. I see the same behavior on a Ubuntu 8.04 and 9.04 system. Any other details I can provide? > CFLAGS="-g -O0 -Wall -fstack-protector"; export CFLAGS > "./configure" \ > "--prefix=/home/groups/devel/run/apache" \ > "CFLAGS=-g -O0 -Wall -fstack-protector" \ > "$@" What happens for you when you don't set CFLAGS prior to running ./configure? - Rhys
