[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r30574 - trunk/build/ac-macros

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: Mon, 14 Apr 2008 10:57:49 +0200

2008-04-14 05:55 Peter Samuelson <peter_at_p12n.org> napisaƂ(a):
> [arfrever_at_tigris.org]
> > * build/ac-macros/neon.m4
> > (SVN_NEON_CONFIG): Set NEON_LIBS to `$neon_config --libs 2>/dev/null` if
> > `$neon_config --la-file 2>/dev/null` prints nothing.
> I'm a little confused - why not just run $neon_config --libs
> unconditionally? Doesn't it always do the right thing?

It doesn't.
It wrongly prints additional data (LDFLAGS and dependent libraries).

neon-config.in [1]:
        LIBS="-lneon @NEON_LIBS@"
        # Don't add standard library paths
        if test "$prefix" != "/usr"; then
           LIBS="-L${libdir} ${LIBS}"
        echo @user_LDFLAGS@ ${LIBS}

Linking against libneon.la doesn't cause these problems.

[1] http://svn.webdav.org/repos/projects/neon/trunk/neon-config.in
Received on 2008-04-14 10:58:05 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.