apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47979] New: Installed pkg-config returns extraneous information for 'pkg-config apr-1 --cflags'
Date Sun, 11 Oct 2009 20:23:24 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47979

           Summary: Installed pkg-config returns extraneous information
                    for 'pkg-config apr-1 --cflags'
           Product: APR
           Version: 1.3.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: rhys.ulerich@gmail.com


As reported in this thread [1], 'pkg-config apr-1 --cflags' includes extraneous
information.  This has occurred since at least 1.3.6.

To reproduce:
1) Get the latest APR tarball and untar it
2) unset CFLAGS && ./configure --prefix=SOMESPOT1 && make install
3) CFLAGS="" && ./configure --prefix=SOMESPOT2 && make install
3) CFLAGS="-g -O2" && ./configure --prefix=SOMESPOT3 && make install

Observe that SOMESPOT{1,2,3}/lib/pkgconfig/apr-1.pc  all improperly contain
> Cflags: -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE  -pthread -I${includedir}
which causes incorrect information to appear in 'pkg-config apr-1 --cflags'.

[1]
http://www.nabble.com/apr-1.3.6-incorrectly-includes-"-g--O2"-in-'pkg-config---cflags"-to24470493.html

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message