This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
The top-level configure uses $() variables
- To: binutils at sourceware dot cygnus dot com, gcc-patches at gcc dot gnu dot org
- Subject: The top-level configure uses $() variables
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- Date: Fri, 19 Jan 2001 21:34:31 +0100 (MET)
- Organization: Technical University of Gdansk
- Reply-To: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
Hi,
In short: $() variable references cause problems with sh and as a result
such invocations as:
./configure '--libdir=${exec_prefix}/mipsel-linux/i386-linux/lib'
do not work.
ChangeLog:
2001-01-19 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* configure: Use ${} and not $() for prefix and exec_prefix
references.
Maciej
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
binutils-2.9.5-configure.patch
diff -u --recursive --new-file binutils.macro/configure binutils/configure
--- binutils.macro/configure Tue Aug 10 12:46:33 1999
+++ binutils/configure Sun Oct 3 22:05:30 1999
@@ -579,7 +579,7 @@
# default exec_prefix
case "${exec_prefixoption}" in
-"") exec_prefix="\$(prefix)" ;;
+"") exec_prefix="\${prefix}" ;;
*) ;;
esac
@@ -779,7 +779,7 @@
# Some systems (e.g., one of the i386-aix systems the gas testers are
# using) don't handle "\$" correctly, so don't use it here.
-tooldir='$(exec_prefix)'/${target_alias}
+tooldir='${exec_prefix}'/${target_alias}
if [ "${host_alias}" != "${target_alias}" ] ; then
if [ "${program_prefixoption}" = "" ] ; then