bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtool 1.5: AC_PROG_LD_GNU broken


From: Andreas Schwab
Subject: libtool 1.5: AC_PROG_LD_GNU broken
Date: Wed, 23 Apr 2003 21:33:12 +0200
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux)

AC_PROG_LD_GNU breaks if $LD expands to program with arguments.

Andreas.

2003-04-23  Andreas Schwab  <address@hidden>

        * libtool.m4 (AC_PROG_LD_GNU): Don't quote $LD, it may be
        multiple words.

--- libtool.m4
+++ libtool.m4
@@ -2026,7 +2026,7 @@
 [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 </dev/null` in
+case `$LD -v 2>&1 </dev/null` in
 *GNU* | *'with BFD'*)
   lt_cv_prog_gnu_ld=yes
   ;;

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]