This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: The top-level configure uses $() variables


Configure is a generated file.  You'll need to either change
configure.in or autoconf. (Depending on where the problem is...)

-eric

"Maciej W. Rozycki" wrote:
> 
> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]