From: Gary V. Vaughan Date: Wed, 1 Sep 2004 08:03:05 +0000 (+0000) Subject: * m4/libtool.m4 (_LT_PROG_LTMAIN): Simplified in light of X-Git-Tag: release-1-9d~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21e639a37ca56be238902247f1c7db12576cd631;p=thirdparty%2Flibtool.git * m4/libtool.m4 (_LT_PROG_LTMAIN): Simplified in light of ltmain.sh no longer being in the build tree. Reported by Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 3956f5f67..4b2839c3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-09-01 Gary V. Vaughan + + * m4/libtool.m4 (_LT_PROG_LTMAIN): Simplified in light of + ltmain.sh no longer being in the build tree. + Reported by Ralf Wildenhues + 2004-09-01 Ralf Wildenhues * libltdl/loaders/preopen.c: Initialise memory in get_vtable. diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 633eb67d6..a0b273f4c 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -200,10 +200,6 @@ _LT_CONFIG_COMMANDS # _LT_PROG_LTMAIN # --------------- -# In libtool itself `ltmain.sh' is in the build tree, but everything else -# ships it in the source tree, for completeness, if we find a copy in the -# build tree use that before falling back to auxdir. -# # Note that this code is called both from `configure', and `config.status' # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, # `config.status' has no value for ac_aux_dir unless we are using Automake, @@ -211,11 +207,7 @@ _LT_CONFIG_COMMANDS m4_defun([_LT_PROG_LTMAIN], [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) -case $ac_aux_dir in - $srcdir) ltmain=./ltmain.sh ;; - $srcdir/*) ltmain=`expr "$ac_aux_dir" : "$srcdir/\(.*\)"`/ltmain.sh ;; -esac -test -f "$ltmain" || ltmain="$ac_aux_dir/ltmain.sh" +ltmain="$ac_aux_dir/ltmain.sh" ])# _LT_PROG_LTMAIN