[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: auxdir and multiple configure.ac's
From: |
Simon Josefsson |
Subject: |
Re: auxdir and multiple configure.ac's |
Date: |
Mon, 11 May 2009 12:44:08 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.93 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Simon Josefsson wrote:
>> No, I just invoke 'gnulib-tool --import' once in the top-level
>> directory. Gnulib-tool notices the gnulib directories beneath lib/ as
>> well, and will import files to lib/. ...
>>
>> How do I stop gnulib-tool from importing gnulib files in lib/, so I can
>> invoke gnulib-tool a second time in that directory?
>
> You do this by specifying "gnulib-tool --m4-base=... --import".
This will require several gnulib-tool invocations in some projects, but
I guess I can write a script to do it.
> gnulib-tool searches for all gnulib directories only when no --m4-base
> option was specified.
That is what caused this problem -- what do you think about making
gnulib-tool avoid automatically adding gnulib directories under any
directory with a configure.ac?
Perhaps it can be combined with gnulib-tool recognizing
AC_CONFIG_SUBDIRS and invoking gnulib-tool from these sub-directories.
But maybe it is too fragile?
/Simon