This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Unbreak program transformation name `configure' options
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: <gdb-patches at sourceware dot org>, Tom Tromey <tromey at redhat dot com>
- Date: Fri, 27 Apr 2012 16:46:18 +0100
- Subject: Re: [PATCH] Unbreak program transformation name `configure' options
- References: <alpine.DEB.1.10.1204270700550.19835@tp.orcam.me.uk> <4F9ABD4C.9010406@redhat.com>
On Fri, 27 Apr 2012, Pedro Alves wrote:
> It indeed removed AC_ARG_PROGRAM. It also does this though:
>
> -AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
> +AC_CONFIG_AUX_DIR(..)
>
> I wonder if we need to restore that bit as well.
I built out of the source directory so perhaps not? This looks weird to
me, autoconf should handle that just fine:
"-- Macro: AC_CONFIG_AUX_DIR (DIR)
Use the auxiliary build tools (e.g., `install-sh', `config.sub',
`config.guess', Cygnus `configure', Automake and Libtool scripts,
etc.) that are in directory DIR. These are auxiliary files used
in configuration. DIR can be either absolute or relative to
`SRCDIR'. The default is `SRCDIR' or `SRCDIR/..' or
`SRCDIR/../..', whichever is the first that contains `install-sh'."
-- perhaps this was a left-over from times when autoconf was more fragile?
I bet we have more places where we have some work-around logic left from
the old days.
Maciej