I've played around with libtool 1.4 a bit, I don't see the problems
Alexander reported.

I do see another one. The example is from Xlt/tests/EntrySB and it shows
that libtool changes the order of the link parameters specified :
dell: {70} make
gcc -DHAVE_CONFIG_H -I. -I../../../../../lib/Xlt/tests/EntrySB -I../..
-I../../../../../lib/Xlt/tests/EntrySB/../../lib
-I../../../../include/Motif-2.1            
-I../../../../../lib/Xlt/../../include/Motif-2.1       
-I../../../../include/Motif-1.2        
-I../../../../../lib/Xlt/../../include/Motif-1.2  -I/usr/X11R6/include     -O
-Wall -c ../../../../../lib/Xlt/tests/EntrySB/test1.c
/bin/sh ../../libtool --mode=link gcc  -O -Wall -L/usr/local/lib/mysql -o test1 
test1.o ../../lib/libXlt.la    -L/usr/motif/lib -lXm  
../../../Xm-2.1/libXm.la        -L/usr/X11R6/lib -lXt -lSM -lICE -lXpm -lX11 
-lm 
mkdir .libs
gcc -O -Wall -o .libs/test1 test1.o  -L/usr/local/lib/mysql
../../lib/.libs/libXlt.so
/home/danny/Hungry/LessTif/sourceforge.net/lesstif/PRODUCTION/lib/Xm-2.1/.libs/libXm.so
-L/usr/X11R6/lib -L/usr/motif/lib -lXm ../../../Xm-2.1/.libs/libXm.so -lXp
-lXext -lXt -lSM -lICE -lXpm -lX11 -lm -Wl,--rpath -Wl,/usr/lesstif/lib
-Wl,--rpath -Wl,/usr/lesstif/LessTif/Motif2.1/lib
creating test1

This is part of the Makefile.am that I used :
LDADD = ../../lib/libXlt.la \
        -L/usr/motif/lib -lXm \
        ../../../Xm$(lib_version_suffix)/libXm.la \
        ${X_LIBS} -lXt ${X_PRE_LIBS} @XPM_LIBS@ -lX11 ${X_EXTRA_LIBS} -lm

My simple mind tells me that this means that we need someone else than libtool
to figure out where to get Motif/LessTif from.

Am I right ?

        Danny

P.S. SuSE Linux 7.1
        dell: {77} automake --version
        automake (GNU automake) 1.4
        Copyright (C) 1999 Free Software Foundation, Inc.
        This is free software; see the source for copying conditions.  There is NO
        warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

        Written by Tom Tromey <[EMAIL PROTECTED]>
        dell: {78} autoconf --version
        Autoconf version 2.13
        dell: {79} libtool --version
        ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)
        dell: {80} uname -a
        Linux dell 2.4.0-4GB #1 Wed Jan 24 15:55:09 GMT 2001 i686 unknown

-- 
Danny Backx ([EMAIL PROTECTED] [EMAIL PROTECTED])
Home page :     http://users.skynet.be/danny.backx
Projects:       LessTif (http://www.lesstif.org)
                Oleo    (http://www.gnu.org/software/oleo/oleo.html)

Reply via email to