This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] fix NM and AR assignment when using in-tree binutils
- From: "Jan Beulich" <JBeulich at novell dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 10 Jun 2010 08:35:35 +0100
- Subject: [PATCH] fix NM and AR assignment when using in-tree binutils
gcc/
2010-06-10 Jan Beulich <jbeulich@novell.com>
* configure.ac: Replace $() with ${} when intending to expand
variables rather than invoking commands.
* configure: Re-generate.
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -913,7 +918,7 @@ AC_CHECK_PROGS([BISON], bison, [$MISSING
# NM
if test x${build} = x${host} && test -f $srcdir/../binutils/nm.c \
&& test -d ../binutils ; then
- NM='$(objdir)/../binutils/nm-new'
+ NM='${objdir}/../binutils/nm-new'
else
AC_CHECK_PROG(NM, nm, nm, ${CONFIG_SHELL-/bin/sh} ${srcdir}/../missing nm)
fi
@@ -921,7 +926,7 @@ fi
# AR
if test x${build} = x${host} && test -f $srcdir/../binutils/ar.c \
&& test -d ../binutils ; then
- AR='$(objdir)/../binutils/ar'
+ AR='${objdir}/../binutils/ar'
else
AC_CHECK_PROG(AR, ar, ar, ${CONFIG_SHELL-/bin/sh} ${srcdir}/../missing ar)
fi