]> arthur.barton.de Git - netatalk.git/commitdiff
configure.in : Modification done by Michel Jouvin to fix a problem with
authorjouvin <jouvin>
Mon, 4 Dec 2000 13:18:48 +0000 (13:18 +0000)
committerjouvin <jouvin>
Mon, 4 Dec 2000 13:18:48 +0000 (13:18 +0000)
library search path on Tru64.

According to autoconf maintainer suggestion, move -L/path/to/lib from LIBS
variable to LDFLAGS. This was done because on some systems (like Tru64)
-Lpath must appear before -llib that requires  -L. This is not the case
if -L is in LIBS as -l are inserted at the head of LIBS by autoconf to
preserve library search order required by some systems.

configure.in

index b18a02a7acfa70029864f3a93b51bfeb116272f6..08bce432a9169b0715bd451ae1b2a7d93be3dc5e 100644 (file)
@@ -306,7 +306,7 @@ AC_SUBST(UAMS_PATH)
 dnl --------------------------------------------------------------------------
 dnl drop in includes for top level directory structures here...
 dnl --------------------------------------------------------------------------
-LIBS="$LIBS -L\$(top_srcdir)/libatalk/"
+LDFLAGS="$LDFLAGS -L\$(top_srcdir)/libatalk/"
 CFLAGS="$CFLAGS -I\$(top_srcdir)/include -I\$(top_srcdir)/sys"
 
 dnl --------------------------------------------------------------------------
@@ -425,7 +425,7 @@ AC_ARG_WITH(ssl-dir,
 
 for ssldir in "" $tryssldir /usr /usr/local/openssl /usr/lib/openssl/ /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do
        if test -f "$ssldir/include/openssl/cast.h" ; then
-               LIBS="$LIBS -L$ssldir/lib -L$ssldir"
+               LDFLAGS="$LDFLAGS -L$ssldir/lib -L$ssldir"
                CFLAGS="$CFLAGS -I$ssldir/include -I$ssldir/include/openssl"
                if test "$need_dash_r" = "yes"; then
                        LIBS="$LIBS -R$ssldir/lib -R$ssldir"