diff --git a/ChangeLog b/ChangeLog index 02ea5674..82bd400e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +1999-12-15 Thomas Tanner + + * libltdl/configure.in: path to auxiliary files can be specified + using --with-auxdir (idea by Howard Chu ) + + * ltmain.in: don't remove multiple occurences from dependency_libs + of a library, otherwise many dependencies would get lost + + * bootstrap: use "aclocal -I ." instead of adding the contents + of ltdl.m4 to acinclude.m4 + 1999-12-13 Gary V. Vaughan * NEWS: updated. diff --git a/bootstrap b/bootstrap index 31a5e627..48b13305 100755 --- a/bootstrap +++ b/bootstrap @@ -18,8 +18,7 @@ for sub in demo depdemo libltdl mdemo cdemo; do cd $sub rm -f acinclude.m4 cp ../libtool.m4 acinclude.m4 - test -f ltdl.m4 && cat ltdl.m4 >> acinclude.m4 - aclocal + aclocal -I . test "$sub" = libltdl && autoheader automake --gnits --add-missing autoconf diff --git a/libltdl/configure.in b/libltdl/configure.in index 766a9aa8..803dd919 100644 --- a/libltdl/configure.in +++ b/libltdl/configure.in @@ -1,6 +1,10 @@ dnl Process this file with autoconf to create configure. AC_INIT(ltdl.c) +AC_ARG_WITH(auxdir, +[ --with-auxdir=DIR path to autoconf auxiliary files],, +[if test -f ../config.sub; then with_auxdir=..; else with_auxdir=../..; fi]) +AC_CONFIG_AUX_DIR($with_auxdir) if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then if test -f ${srcdir}/ltconfig && test -f ${srcdir}/ltmain.sh; then diff --git a/ltmain.in b/ltmain.in index f9406209..e3877aa1 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1952,15 +1952,7 @@ compiler." esac done lib_search_path="$lib_search_path $sys_lib_search_path" - - # Make sure newdependency_libs contains only unique libraries and directories. - dependency_libs= - for deplib in $newdependency_libs; do - case "$dependency_libs " in - *" $deplib "*) ;; - *) dependency_libs="$dependency_libs $deplib" ;; - esac - done + dependency_libs="$newdependency_libs" # Eliminate all temporary directories. for path in $uninst_path; do