From: Gary V. Vaughan Date: Wed, 17 May 2006 17:50:05 +0000 (+0000) Subject: * tests/link-order.at: Be careful about usage of shrext_cmds. X-Git-Tag: release-2-1b~292 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2289de66c837677f3d62512b10c573c1c8bf1f9;p=thirdparty%2Flibtool.git * tests/link-order.at: Be careful about usage of shrext_cmds. --- diff --git a/ChangeLog b/ChangeLog index b1f656d82..bbe123dd9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-05-17 Gary V. Vaughan + * tests/link-order.at: Be careful about usage of shrext_cmds. + * libltdl/m4/libtool.m4 (LT_AC_PROG_SED): Declarations for compatibility with old versions of libtool, and old versions of aclocal. diff --git a/tests/link-order.at b/tests/link-order.at index 403347a96..75f96e517 100644 --- a/tests/link-order.at +++ b/tests/link-order.at @@ -23,6 +23,9 @@ AT_KEYWORDS([libtool]) eval `$LIBTOOL --config | $EGREP '^(hardcode_direct|hardcode_direct_static|shrext_cmds)='` LDFLAGS="$LDFLAGS -no-undefined" +module=no +eval shared_ext=\"$shrext_cmds\" + prefix_old=`pwd`/old prefix_new=`pwd`/new mkdir src $prefix_old $prefix_new $prefix_old/lib $prefix_new/lib @@ -72,7 +75,7 @@ aix* | interix*) ;; # These systems have different path syntax case $hardcode_direct$hardcode_direct_static in yesno) AT_CHECK([if $EGREP relinking stderr; then - $EGREP " .*\/new\/lib/libb$shrext_cmds .*\/old\/lib/libcee$shrext_cmds" stdout + $EGREP " .*\/new\/lib/libb$shared_ext .*\/old\/lib/libcee$shared_ext" stdout else :; fi], [0], [ignore], [], [echo "wrong link order"]) ;; *)