]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
*** empty log message ***
authorGordon Matzigkeit <gord@gnu.ai.mit.edu>
Tue, 1 Jul 1997 04:38:32 +0000 (04:38 +0000)
committerGordon Matzigkeit <gord@gnu.org>
Tue, 1 Jul 1997 04:38:32 +0000 (04:38 +0000)
ChangeLog
Makefile.am
TODO
configure.in
doc/libtool.texi
ltconfig.in
tests/ChangeLog
tests/Makefile.am
tests/test-e.test

index 2f6ec8e5d39b2ebe012dfcab3ee2b8e061dd975c..afaf388e56de06ed588eb1c2f91fe977de100b66 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jun 30 22:32:05 1997  Gordon Matzigkeit  <gord@gnu.ai.mit.edu>
+
+       * ltconfig.in: Add /sbin into the path before running ldconfig on
+       Linux.  Suggested by Kenneth Albanowski.
+
 Sun Jun 29 19:51:50 1997  Gordon Matzigkeit  <gord@gnu.ai.mit.edu>
 
        * ltmain.sh.in: Change all the `eval "$run ..."' sequences to
index 90231e1109c6362d8cf1cbf9ec97f72655340362..26d1ef10e49e8421ca89298e43d2c577f6bbf69e 100644 (file)
@@ -33,8 +33,8 @@ bin_SCRIPTS = libtool libtoolize
 
 libtool: ltconfig
        @echo 'WARNING: Warnings from ltconfig can be ignored. :-)'
-       CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
-       LD="${LD}" RANLIB="${RANLIB}" \
+       CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
+       LD="$(LD)" LN_S="$(LN_S)" RANLIB="$(RANLIB)" \
        $(srcdir)/ltconfig --srcdir=$(srcdir) $(pkgdatadir)/ltmain.sh
 
 libtoolize: libtoolize.in $(top_builddir)/config.status
diff --git a/TODO b/TODO
index 8da2531eb75f73608e41ff73ee2da9a557305752..33d37e6b5eba383faadf1a69b0f0844f665d7c62 100644 (file)
--- a/TODO
+++ b/TODO
@@ -2,6 +2,11 @@
 is to have undocumented utility libraries, where only the shared
 version is installed.
 
+* Somehow we need to make sure that static libraries never appear in
+$deplibs.  If a program linked against a library doesn't contain the
+basename of the library (or is the same size), then the library is
+probably static.
+
 * A better check to detect broken collect2 on AIX, once the bug is
 fixed in GCC.
 
index fbf99dbae62cca081e783d93a696a42254da6426..da8bb29317544a865b4b9aa3dca20096e6e637af 100644 (file)
@@ -11,6 +11,7 @@ dnl Use the specified CC, RANLIB, and LD while running ltconfig.
 AC_PROG_CC
 AC_PROG_RANLIB
 AM_PATH_PROG_LD
+AC_PROG_LN_S
 
 AC_OUTPUT([Makefile doc/Makefile tests/Makefile])
 
index 8f35f270c0a5af62e98f92cfca18a476087e4325..cfc9cc4d9bcfeb3235ca4b2a14935b03c31f687a 100644 (file)
@@ -1853,9 +1853,12 @@ libraries are found.  This restriction is only necessary to preserve
 compatibility with static library systems and simple dynamic library
 systems.
 
-If your library depends on symbols that are defined in executables that
-are linked against it, you need to use the @samp{-allow-undefined} link
-flag (@pxref{Link mode}).
+If your library depends on symbols that are defined in executables or
+static libraries, then you cannot express the dependency with a
+@samp{-l@var{name}} flag,@footnote{For static libraries, you
+@emph{could} use a @samp{-l} flag, but it would cause conflicts
+on systems which have non-PIC objects.} so you need to use the
+@samp{-allow-undefined} link flag (@pxref{Link mode}).
 
 @node Dlopened modules
 @chapter Dlopened modules
index 98bfd4b5ed7ec592bbc4f3247425411029bd1124..7dea73638bd6deec3865bcc554c2b0a5d14d3331 100755 (executable)
@@ -810,7 +810,7 @@ linux-gnu*)
   version_type=linux
   library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
   soname_spec='$libname.so.$major'
-  finish_cmds='ldconfig -n $libdir'
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   shlibpath_var=LD_LIBRARY_PATH
 
   if test -f /lib/ld.so.1; then
index b1253270448da8cc0b4b451e3b124b09483e08e6..9243c3c4eb49ea5fe1c38ddd5dc5c25eafcc65af 100644 (file)
@@ -1,3 +1,9 @@
+Mon Jun 30 06:49:13 1997  Gordon Matzigkeit  <gord@gnu.ai.mit.edu>
+
+       * if.test: New test to make sure that we haven't forgotten to
+       follow an `if' statement with a `test' command.  This should avoid
+       the majority of hard-to-track bugs.
+
 Thu Jun 19 14:31:49 1997  Gordon Matzigkeit  <gord@gnu.ai.mit.edu>
 
        * demo-conf.test (CONFIG_SITE): Set to /dev/null, so that the
index 95483ccf5f3680f0659452e326e3e39df9e3c57e..f3d02495d3f230d49daca809ffa94e54d76ba4e6 100644 (file)
@@ -5,7 +5,7 @@ AUTOMAKE_OPTIONS = gnits
 makesequence = demo-make.test demo-exec.test \
        demo-inst.test demo-unst.test hardcode.test
 TESTS =        assign.test demo-conf.test $(makesequence) \
-       link.test link-2.test suffix.test test-e.test
+       if.test link.test link-2.test suffix.test test-e.test
 
 EXTRA_DIST = defs tlibtool $(TESTS)
 
index ccaef4d0812c6df48d1a1693f3cda4a165357d5d..2e148120badc03c431ed268ec707ba1eac97bbd5 100644 (file)
@@ -11,7 +11,7 @@ fi
 . $srcdir/defs || exit 1
 
 # Check that test -e isn't used in our portable shell scripts.
-if grep -n 'test -e' $srcdir/../ltconfig $srcdir/../ltmain.sh; then
+if egrep -n -e 'test[  ]+-e' $srcdir/../ltconfig $srcdir/../ltmain.sh; then
   echo "use test -f, not test -e to check for file existence"
   exit 1
 fi