Hello,

GCC, binutils and GDB use an specific version of autoconf, currently
2.69, and include the generated files in their repositories and
releases.  I'm looking into upgrading the the version of autoconf and
ran into a problem with autoreconf and using a variable in
AC_CONFIG_AUX_DIR.

To support multilibs and sharing libiberty between gcc and
binutils-gdb source trees we use a bit of shell to determine the top
source directory and then use AC_CONFIG_AUX_DIR($top_source_dir_var).

Running autoreconf 2.69 on the libiberty directory creates a directory
with the same name of the variable used in AC_CONFIG_AUX_DIR. Ex:
AC_CONFIG_AUX_DIR($foo) creates a directory "$foo", dolar sign
included, in the libiberty source directory. But it runs to completion
re-creating all necessary files and exiting with status 0.

Autoreconf 2.73 errors out saying it can't find config.guess,
config.sub, and install-sh.

Is this a bug on autoreconf? Or in our usage of AC_CONFIG_AUX_DIR?
Looking into AC_CONFIG_AUX_DIR code it seems that using variables with
it is ok from autoconf's point of view. Autoconf 2.73 runs fine on libiberty.

Thanks,
Pietro



Reply via email to