This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Unbreak program transformation name `configure' options


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


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