The top-level configure uses $() variables
Maciej W. Rozycki
macro@ds2.pg.gda.pl
Fri Jan 19 12:34:00 GMT 2001
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
More information about the Binutils
mailing list