Author: jerenkrantz Date: Wed Dec 8 20:22:47 2004 New Revision: 111346 URL: http://svn.apache.org/viewcvs?view=rev&rev=111346 Log: Emit the run-time link path option in apr-config after installation if the user is linking with libtool.
Modified: apr/apr/trunk/CHANGES apr/apr/trunk/apr-config.in Modified: apr/apr/trunk/CHANGES Url: http://svn.apache.org/viewcvs/apr/apr/trunk/CHANGES?view=diff&rev=111346&p1=apr/apr/trunk/CHANGES&r1=111345&p2=apr/apr/trunk/CHANGES&r2=111346 ============================================================================== --- apr/apr/trunk/CHANGES (original) +++ apr/apr/trunk/CHANGES Wed Dec 8 20:22:47 2004 @@ -1,5 +1,8 @@ Changes for APR 1.1.0 + *) Emit the run-time link path option in apr-config after installation + if the user is linking with libtool. [Justin Erenkrantz] + *) Add apr_file_writev_full to ensure an entire iovec is writen to a file. [Paul Querna] @@ -10,7 +13,7 @@ *) Remove the runtime test for Sendfile versions on FreeBSD. PR 25718. [Mike Silbersack <silby silby.com>, Paul Querna] - *( rename the fopen defines (APR_READ, APR_WRITE, etc.) to have + *) rename the fopen defines (APR_READ, APR_WRITE, etc.) to have prefix APR_FOPEN_ (keeping the old defines) [Stas] *) [NOT COMMITTED?] Add a new PRNG. Note that the implementation of SHA-256 Modified: apr/apr/trunk/apr-config.in Url: http://svn.apache.org/viewcvs/apr/apr/trunk/apr-config.in?view=diff&rev=111346&p1=apr/apr/trunk/apr-config.in&r1=111345&p2=apr/apr/trunk/apr-config.in&r2=111346 ============================================================================== --- apr/apr/trunk/apr-config.in (original) +++ apr/apr/trunk/apr-config.in Wed Dec 8 20:22:47 2004 @@ -196,7 +196,9 @@ flags="$flags $LA_FILE" elif test "$location" = "installed"; then ### avoid using -L if libdir is a "standard" location like /usr/lib - flags="$flags -L$libdir -l${APR_LIBNAME}" + # Since the user is specifying they are linking with libtool, we + # *know* that -R will be recognized by libtool. + flags="$flags -L$libdir -R$libdir -l${APR_LIBNAME}" else flags="$flags $LA_FILE" fi
