+Sat Jun 14 21:01:03 1997 Gordon Matzigkeit <gord@gnu.ai.mit.edu>
+
+ * ltmain.sh.in (link): Create invalid libtool objects when partial
+ linking if we don't have PIC. From Jeff Dairiki.
+ (install): Fix bug if libtool object is installed to a file name
+ without directory components. From Jeff Dairiki.
+
Fri Jun 13 14:18:23 1997 Gordon Matzigkeit <gord@gnu.ai.mit.edu>
* Makefile.am (demo/configure): Fix up rules to run autoconf.
New in 0.9h:
* Bug fixes.
+* Better configuration test to find the system linker. The old test
+ was failing because people frequently install GNU ld, but don't
+ necessarily configure GCC to use it.
* Automake support for Libtool now uses the LTLIBRARIES primary. See
the Automake documentation for more information.
* Added new `--disable-static' flag to disable building static
# Exit if we aren't doing a library object file.
test -z "$libobj" && exit 0
- if test "$build_libtool_libs" = yes && test -n "$pic_flag"; then
+ if test "$build_libtool_libs" != yes; then
+ # Create an invalid libtool object if no PIC, so that we don't
+ # accidentally link it into a program.
+ $show "echo timestamp > $libobj"
+ eval "$run echo timestamp > $libobj" || exit $?
+ exit 0
+ fi
+
+ if test -n "$pic_flag"; then
# Only do commands if we really have different PIC objects.
reload_objs="$libobjs"
output="$libobj"
destname=
else
destdir=`echo "$dest" | sed 's%/[^/]*$%%'`
+ test "$destdir" = "$dest" && destdir=.
destname=`echo "$dest" | sed 's%^.*/%%'`
# Not a directory, so check to see that there is only one file specified.