From: Alexandre Oliva Date: Thu, 26 Jun 2003 06:55:19 +0000 (+0000) Subject: * libtool.m4: Replace mis-uses of path with pathname. X-Git-Tag: help~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=139fb24af00eb798327945850433cdf95879db8d;p=thirdparty%2Flibtool.git * libtool.m4: Replace mis-uses of path with pathname. (AC_PROG_LD_GNU): Don't quote $LD when running it. (_LT_AC_LANG_CXX_CONFIG): Use -nostdlib also when linking with g++ and non-GNU ld. --- diff --git a/ChangeLog b/ChangeLog index 7a99b6a9e..36b29dd6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-06-25 Alexandre Oliva , Tim Waugh + + * libtool.m4: Replace mis-uses of path with pathname. + (AC_PROG_LD_GNU): Don't quote $LD when running it. + (_LT_AC_LANG_CXX_CONFIG): Use -nostdlib also when linking with g++ + and non-GNU ld. + 2003-06-11 Gary V. Vaughan * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION): Require LT_AC_PROG_SED to diff --git a/libtool.m4 b/libtool.m4 index 351e1fc2b..08a7015e4 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -1942,7 +1942,7 @@ fi # AC_PROG_LD # ---------- -# find the path to the GNU or non-GNU linker +# find the pathname to the GNU or non-GNU linker AC_DEFUN([AC_PROG_LD], [AC_ARG_WITH([gnu-ld], [AC_HELP_STRING([--with-gnu-ld], @@ -1968,7 +1968,7 @@ if test "$GCC" = yes; then # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' - # Canonicalize the path of ld + # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` @@ -2031,7 +2031,7 @@ AC_DEFUN([AC_PROG_LD_GNU], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, [# I'd rather use --version here, but apparently some GNU ld's only accept -v. -case `"$LD" -v 2>&1 &1