+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
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
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.
AC_PROG_CC
AC_PROG_RANLIB
AM_PATH_PROG_LD
+AC_PROG_LN_S
AC_OUTPUT([Makefile doc/Makefile tests/Makefile])
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
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
+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
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)
. $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