[Libvir] moving "aux" files into a subdir

I noticed that gnulib-tool had deposited a file named link-warning.h into the top-level directory. How odd, I thought. This doesn't affect other projects because most of them define what autoconf calls the "AUX" directory, with a line like this in configure.in or configure.ac: AC_CONFIG_AUX_DIR(build-aux) If you don't define that, it defaults to the top level directory, and that's where files pulled in by gettextize like these are deposited: config.guess compile libtool ltconfig ltmain.sh config.sub config.rpath mkinstalldirs Rather than committing link-warning.h in the top-level, I propose to add the above AC_CONFIG_AUX_DIR line. That change should be transparent to all the other tools, and would let me commit link-warning.h in the build-aux subdir, instead of in the top-level dir. Any objection?

Jim Meyering <jim@meyering.net> wrote:
I noticed that gnulib-tool had deposited a file named link-warning.h into the top-level directory. How odd, I thought. This doesn't affect other projects because most of them define what autoconf calls the "AUX" directory, with a line like this in configure.in or configure.ac:
AC_CONFIG_AUX_DIR(build-aux)
If you don't define that, it defaults to the top level directory, and that's where files pulled in by gettextize like these are deposited:
config.guess compile libtool ltconfig ltmain.sh config.sub config.rpath mkinstalldirs
Rather than committing link-warning.h in the top-level, I propose to add the above AC_CONFIG_AUX_DIR line. That change should be transparent to all the other tools, and would let me commit link-warning.h in the build-aux subdir, instead of in the top-level dir.
Any objection?
I did this as part of the gnulib patch.

On Thu, Dec 06, 2007 at 09:16:22AM +0100, Jim Meyering wrote:
Jim Meyering <jim@meyering.net> wrote:
I noticed that gnulib-tool had deposited a file named link-warning.h into the top-level directory. How odd, I thought. This doesn't affect other projects because most of them define what autoconf calls the "AUX" directory, with a line like this in configure.in or configure.ac:
AC_CONFIG_AUX_DIR(build-aux)
If you don't define that, it defaults to the top level directory, and that's where files pulled in by gettextize like these are deposited:
config.guess compile libtool ltconfig ltmain.sh config.sub config.rpath mkinstalldirs
Rather than committing link-warning.h in the top-level, I propose to add the above AC_CONFIG_AUX_DIR line. That change should be transparent to all the other tools, and would let me commit link-warning.h in the build-aux subdir, instead of in the top-level dir.
Any objection?
I did this as part of the gnulib patch.
It looks good - I've always been annoyed by the junk libtoolize splatters all over the place ! Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
participants (2)
-
Daniel P. Berrange
-
Jim Meyering