+Fri Nov 14 10:44:07 1997 Gordon Matzigkeit <gord@gnu.org>
+
+ * ltconfig.in (hardcode_libdir_flag_spec): Set to `-R' for FreeBSD
+ 2.2. From Sean Kelly.
+ (postuninstall_cmds, old_postuninstall_cmds): Commands to run
+ after uninstall mode deletes the libraries. Suggested by Joop van
+ de Wege.
+
+Tue Nov 11 15:05:58 1997 Gordon Matzigkeit <gord@gnu.org>
+
+ * ltconfig.in, ltmain.in (sed_quote_subst): Oops. We forgot to
+ quote backticks. Reported by Joop van de Wege.
+
+Sun Nov 9 18:36:23 1997 Gordon Matzigkeit <gord@gnu.org>
+
+ * ltconfig.in (symcode): On IRIX, don't extract undefined
+ symbols. When a function is inlined by G++, references to it are
+ still marked as undefined in the object file. This means that our
+ symbol file causes undefined references, because there are
+ actually no matching global symbols. Reported by Paul Kendall.
+
Sat Nov 8 08:11:26 1997 Gordon Matzigkeit <gord@gnu.org>
* ltconfig.in: Don't forget to redirect the COLLECT_NAMES libtool
-NEWS - list of user-visible changes between releases of GNU libtool.
+NEWS - list of user-visible changes between releases of GNU Libtool
-New in 1.0f:
+New in 1.0f - 1997-11-08, Gordon Matzigkeit:
* Bug fixes.
-* Portability fixes for Windows NT.
-* Maybe use `_libs' as a temporary libtool directory instead of `.libs'
- in order to cope with MS-DOS filenames.
* New `-all-static' flag to prevent any dynamic linking. The regular
`-static' flag now just prevents dynamic linking of libtool libraries.
* The `-rpath' flag can be used to hardcode absolute directories when
flags.
* New rules for AM_PROG_LD to use gcc's -print-prog-name flag in order
to find ld, if possible.
-* Full support for broken collect2 on AIX 3. Shared libraries
- can now be built with all working versions of GCC.
* Allow configure.in to change the defaults for AM_PROG_LIBTOOL's
`--enable-shared' and `--enable-static' flags by setting
the `enable_shared' or `enable_static' shell variables to `no'.
* Refuse to create libtool libraries that don't begin with `lib'.
This allows us to correctly handle OSes that don't have the `lib'
- prefix by default.
+ prefix by default, such as OS/2.
+* Full support for broken collect2 on AIX 3. Shared libraries
+ can now be built with all working versions of GCC on AIX.
+* Portability fixes for Windows NT.
+* Maybe use `_libs' as a temporary libtool directory instead of `.libs'
+ in order to cope with MS-DOS filenames.
* Support for *-*-uts4* and *-*-os2*.
\f
-New in 1.0:
+New in 1.0 - 1997-07-08, Gordon Matzigkeit:
* Bug fixes.
* Better configuration test to find the system linker. The old test
was failing because people frequently install GNU ld, but don't
* Support *-*-linux-gnu* as an alias for *-*-linux*.
* Support for *-*-openbsd* and *-*-freebsd3*.
\f
-New in 0.9:
+New in 0.9 - 1997-02-03, Gordon Matzigkeit:
* Bug fixes.
* The libtool demo now uses the libm cos(3) function, to demonstrate
inter-library dependencies.
* The PLATFORMS file has been moved to doc/platforms.texi.
\f
-New in 0.8:
+New in 0.8 - 1997-01-26, Gordon Matzigkeit:
* Bug fixes, and more documentation.
* Basic support for other language compilers (C++, Fortran, and
preprocessed assembler).
been rewritten to avoid ANSI-only constructs.
* Support for *-*-irix5, *-*-irix6*, and *-*-sco3.2v5*.
\f
-New in 0.7:
+New in 0.7 - 1996-12-08, Gordon Matzigkeit:
* Total rewrite of libtool, along with a new model for library building.
* Completely rewritten documentation for the new paradigm.
* Sane handling of broken system linkers, such as the ones on AIX
PalmOS/Pilot pilot-link: ftp://ryeham.ee.ryerson.ca/pub/PalmOS/
Gnans (stochastic and deterministic dynamic systems solver):
http://www.mathematik.uni-bremen.de/~bengt/
+Amanda (The Advanced Maryland Automatic Network Disk Archiver):
+ http://www.amanda.org/
Nonfree:
========
dnl Process this file with autoconf to create configure.
AC_INIT(ltmain.in)
-AM_INIT_AUTOMAKE(libtool,1.0f)
+AM_INIT_AUTOMAKE(libtool,1.0g)
pkgdatadir='${datadir}/libtool'
AC_SUBST(pkgdatadir)
--------------------------------------------------------
alpha-dec-osf3.2 cc 0.8 ok
alpha-dec-osf3.2 gcc 0.8 ok
-alpha-dec-osf4.0 cc 0.9 ok
-alpha-dec-osf4.0 gcc 0.9 ok
+alpha-dec-osf4.0 cc 1.0f ok
+alpha-dec-osf4.0 gcc 1.0f ok
alpha-unknown-linux gcc 0.9h ok
-hppa1.1-hp-hpux9.05 cc 0.8 ok
-hppa1.1-hp-hpux9.05 gcc 0.8 ok
+hppa1.1-hp-hpux9.07 cc 1.0f ok
+hppa1.1-hp-hpux9.07 gcc 1.0f ok
hppa1.1-hp-hpux10.10 cc 0.9h ok
hppa1.1-hp-hpux10.10 gcc 0.9h ok
i386-unknown-freebsd2.1.5 gcc 0.5 ok
i386-unknown-gnu0.0 gcc 0.5 ok
i386-unknown-netbsd1.2 gcc 0.9g ok
i586-pc-linux-gnu1.3.20 gcc 1.0 ok
-i586-pc-linux-gnu2.0.16 gcc 1.0a ok
+i586-pc-linux-gnu2.0.30 gcc 1.0f ok
mips-sgi-irix5.3 cc 0.8 ok
mips-sgi-irix5.3 gcc 0.8 ok
mips-sgi-irix6.2 cc -32 0.9 ok
mips-sgi-irix6.2 cc -n32 0.9 ok
+mips-sgi-irix6.3 cc 1.0f ok
+mips-sgi-irix6.3 irix5-gcc 1.0f ok
mipsel-unknown-openbsd2.1 gcc 1.0 ok
-powerpc-ibm-aix4.1.4.0 xlc 1.0 ok
+powerpc-ibm-aix4.1.4.0 xlc 1.0f ok
powerpc-ibm-aix4.1.4.0 gcc 1.0 ok
rs6000-ibm-aix3.2.5 xlc 1.0a ok
rs6000-ibm-aix3.2.5 gcc 1.0a ok*
sparc-sun-linux2.1.23 gcc 0.9h ok
-sparc-sun-sunos4.1.4 cc 1.0 ok
-sparc-sun-sunos4.1.4 gcc 1.0 ok
+sparc-sun-sunos4.1.3 gcc 1.0f ok
+sparc-sun-sunos4.1.4 cc 1.0f ok
+sparc-sun-sunos4.1.4 gcc 1.0f ok
sparc-sun-solaris2.4 cc 1.0a ok
sparc-sun-solaris2.4 gcc 1.0a ok
-sparc-sun-solaris2.5 cc 1.0a ok
-sparc-sun-solaris2.5 gcc 1.0a ok
+sparc-sun-solaris2.5 cc 1.0f ok
+sparc-sun-solaris2.5 gcc 1.0f ok
--------------------------------------------------------
* Some versions of GCC's collect2 linker program cannot link trivial
# Sed substitution that helps us do robust quoting. It backslashifies
# metacharacters that are still active within double-quoted strings.
-sed_quote_subst='s/\([\\"$\\\\]\)/\\\1/g'
+sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
# Same as above, but don't quote variable references.
-double_quote_subst='s/\([\\"\\\\]\)/\\\1/g'
+double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
# Global variables:
can_build_shared=yes
# Determine commands to create old-style static archives.
old_archive_cmds='$AR cru $oldlib$oldobjs'
old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
# Set a sane default for `AR'.
test -z "$AR" && AR=ar
case "$host_os" in
aix3*)
allow_undefined_flag=unsupported
- archive_cmds='$NM$libobjs | $global_symbol_pipe | sed '"'s/.* //'"' > $lib.exp;$LD -o $objdir/$soname$libobjs -bE:$lib.exp -T512 -H512 -bM:SRE$deplibs;$AR cru $lib $objdir/$soname'
+ archive_cmds='$NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\'' > $lib.exp;$LD -o $objdir/$soname$libobjs -bE:$lib.exp -T512 -H512 -bM:SRE$deplibs;$AR cru $lib $objdir/$soname'
# Note: this linker hardcodes the directories in LIBPATH if there
# are no directories specified by -L.
hardcode_minus_L=yes
aix4*)
allow_undefined_flag=unsupported
- archive_cmds='$NM$libobjs | $global_symbol_pipe | sed '"'s/.* //'"' > $lib.exp;$CC -o $objdir/$soname$libobjs ${wl}-bE:$lib.exp ${wl}-bM:SRE ${wl}-bnoentry$deplibs;$AR cru $lib $objdir/$soname'
+ archive_cmds='$NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\'' > $lib.exp;$CC -o $objdir/$soname$libobjs ${wl}-bE:$lib.exp ${wl}-bM:SRE ${wl}-bnoentry$deplibs;$AR cru $lib $objdir/$soname'
hardcode_direct=yes
hardcode_minus_L=yes
;;
# extra space).
freebsd2.2*)
archive_cmds='$LD -Bshareable -o $lib$libobjs$deplibs /usr/lib/c++rt0.o'
+ hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_minus_L=yes
hardcode_shlibpath_var=no
aix*)
symcode='[BCDTU]'
;;
+irix*)
+ # Cannot use undefined symbols on IRIX because inlined functions mess us up.
+ symcode='[BCDEGRST]'
+ ;;
solaris2*)
symcode='[BDTU]'
;;
libname_spec='lib$name'
soname_spec=
postinstall_cmds=
+postuninstall_cmds=
finish_cmds=
shlibpath_var=
version_type=none
link_static_flag no_builtin_flag export_dynamic_flag_spec \
profile_flag_pattern libname_spec library_names_spec soname_spec RANLIB \
old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
- archive_cmds postinstall_cmds \
+ old_postuninstall_cmds archive_cmds postinstall_cmds postuninstall_cmds \
allow_undefined_flag finish_cmds global_symbol_pipe \
striplib old_striplib \
hardcode_libdir_flag_spec hardcode_libdir_separator; do
case "$var" in
reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
- old_postinstall_cmds | archive_cmds | postinstall_cmds | finish_cmds)
+ old_postinstall_cmds | old_postuninstall_cmds | archive_cmds | \
+ postinstall_cmds | postuninstall_cmds | finish_cmds)
# Double-quote double-evaled strings.
eval "$var=\`echo \"\$$var\" | sed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\"\`"
;;
RANLIB="$RANLIB"
old_archive_cmds="$old_archive_cmds"
old_postinstall_cmds="$old_postinstall_cmds"
+old_postuninstall_cmds="$old_postuninstall_cmds"
# Create an old-style archive from a shared archive.
old_archive_from_new_cmds="$old_archive_from_new_cmds"
# Commands used to build and install a shared archive.
archive_cmds="$archive_cmds"
postinstall_cmds="$postinstall_cmds"
+postuninstall_cmds="$postuninstall_cmds"
# Flag that allows shared libraries with undefined symbols to be built.
allow_undefined_flag="$allow_undefined_flag"
# Sed substitution that helps us do robust quoting. It backslashifies
# metacharacters that are still active within double-quoted strings.
-sed_quote_subst='s/\([\\"$\\\\]\)/\\\1/g'
+sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
# NLS nuisances.
# Only set LANG and LC_ALL to C if already set.
done
for libdir in $libdirs; do
- # Do each command in the postinstall commands.
+ # Do each command in the finish commands.
cmds=`eval \\$echo \"$finish_cmds\"`
IFS="${IFS= }"; save_ifs="$IFS"; IFS=';'
for cmd in $cmds; do
test -n "$dlname" && rmfiles="$rmfiles $dir/$dlname"
test -n "$old_library" && rmfiles="$rmfiles $dir/$old_library"
+ $show "$rm $rmfiles"
+ $run $rm $rmfiles
+
+ if test -n "$library_names"; then
+ # Do each command in the postuninstall commands.
+ cmds=`eval \\$echo \"$postuninstall_cmds\"`
+ IFS="${IFS= }"; save_ifs="$IFS"; IFS=';'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd"
+ done
+ IFS="$save_ifs"
+ fi
+
+ if test -n "$old_library"; then
+ # Do each command in the old_postuninstall commands.
+ cmds=`eval \\$echo \"$old_postuninstall_cmds\"`
+ IFS="${IFS= }"; save_ifs="$IFS"; IFS=';'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd"
+ done
+ IFS="$save_ifs"
+ fi
+
# FIXME: should reinstall the best remaining shared library.
fi
;;
oldobj=`$echo "$name" | sed 's/\.lo$/\.o/'`
rmfiles="$rmfiles $dir/$oldobj"
fi
+ $show "$rm $rmfiles"
+ $run $rm $rmfiles
;;
- esac
- $show "$rm $rmfiles"
- $run $rm $rmfiles
+ *)
+ $show "$rm $rmfiles"
+ $run $rm $rmfiles
+ ;;
+ esac
done
exit 0
;;
+Tue Nov 11 15:08:12 1997 Gordon Matzigkeit <gord@gnu.org>
+
+ * quote.test: Add backticks to the backslashify test.
+
Tue Oct 7 10:48:37 1997 Gordon Matzigkeit <gord@gnu.ai.mit.edu>
* hardcode.test (hardcode_libdir_flag_spec): Check the hardcoding
esac
# Metacharacters that should be backslashified.
- for mchar in \\ \" \$; do
+ for mchar in \\ \" \` \$; do
$echo "= trying: \\$mchar quoting"
result=`$libtool -n --mode=$mode $preargs "${flag}${mchar}test${mchar}" $postargs` || status=1
case "$result" in