This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[toplevel] Fix backquote in AC_MSG_RESULT
- From: Andreas Schwab <schwab at suse dot de>
- To: gcc-patches at gcc dot gnu dot org, gdb-patches at sourceware dot org, binutils at sourceware dot org
- Date: Wed, 07 Mar 2007 15:02:46 +0100
- Subject: [toplevel] Fix backquote in AC_MSG_RESULT
AC_MSG_RESULT now quotes backquotes in the argument. Installed as obvious
in gcc and src, after testing by configuring a cross-gcc with
pre-installed cross-binutils.
Andreas.
2007-03-07 Andreas Schwab <schwab@suse.de>
* configure: Regenerate.
config/:
* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
AC_MSG_RESULT.
Index: config/acx.m4
===================================================================
--- config/acx.m4 (revision 122655)
+++ config/acx.m4 (working copy)
@@ -485,7 +485,8 @@ AC_DEFUN([GCC_TARGET_TOOL],
if test "x${build}" != "x${host}" ; then
if expr "x[$]$2" : "x/" > /dev/null; then
# We already found the complete path
- AC_MSG_RESULT(pre-installed in `dirname [$]$2`)
+ ac_dir=`dirname [$]$2`
+ AC_MSG_RESULT(pre-installed in $ac_dir)
else
# Canadian cross, just use what we found
AC_MSG_RESULT(pre-installed)
@@ -508,7 +509,8 @@ else
AC_MSG_RESULT(just compiled)
el])if expr "x[$]$2" : "x/" > /dev/null; then
# We already found the complete path
- AC_MSG_RESULT(pre-installed in `dirname [$]$2`)
+ ac_dir=`dirname [$]$2`
+ AC_MSG_RESULT(pre-installed in $ac_dir)
elif test "x$target" = "x$host"; then
# We can use an host tool
$2='$($3)'
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."