[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

auxdir and multiple configure.ac's

From: Simon Josefsson
Subject: auxdir and multiple configure.ac's
Date: Thu, 07 May 2009 13:01:42 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.93 (gnu/linux)

In GNU SASL I have one top-level configure.ac (for command line tools,
self-tests, etc) and one lib/configure.ac (for the library).  There is
one gnulib m4-base in gl/m4 and one in lib/gl/m4.  Both top-level and
lib/ import the maintainer-makefile module, which is needed for
downloading translations, and because I make releases from both
top-level and lib/ and want some of the release rules in maint.mk.

However, gnulib-tool --import puts build-aux files in the wrong
directory for the lib/gl/m4 base.  The reason is because the --auxdir
variable is read from the top-level configure.ac AC_CONFIG_AUX_DIR.

One work around is to run gnulib-tool --import two times, and in the
second run, specify the --aux-dir parameter explicitly.  However, that
leads to incorrect paths in lib/gl/Makefile.am.

Thoughts on resolving this properly?

My thought is that the machinery to search top-level configure.ac for
AC_CONFIG_AUX_DIR is not worth the trouble, and that we should use the
same machinery for specifying the other directories to gnulib-tool for
build-aux as well.  Opinions?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]