autoconf
[Top][All Lists]
Advanced

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

Re: AC_CONFIG_SUBDIRS and pkg-config


From: John Calcote
Subject: Re: AC_CONFIG_SUBDIRS and pkg-config
Date: Tue, 27 May 2008 09:08:14 -0600
User-agent: Thunderbird 2.0.0.12 (X11/20080226)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ralf Wildenhues wrote:
> Hello Richard,
> 
> * Richard Ash wrote on Fri, May 23, 2008 at 11:31:39PM CEST:
>> I seem to have hit a fundamental problem with the way AC_CONFIG_SUBDIRS
>> that seems to make it most of the way to useless if you want to also use
>> pkg-config. Basically, it runs the configure scripts in sub-directories
>> after my main configure script has finished, which is useless because I
>> want information from those subsidiary configure script to decide how to
>> build my application.
> 
> Why don't you organize your package in such a way that the top level
> configure is just a stub one calling those for lib1, lib2, ..., libN,
> and only then the one for your main package?

Why don't we make configure act like the Automake SUBDIRS construct in
that you can place a "." in the list at the point you want the current
directory to be processed. In fact, I'm rather surprised it doesn't
already do this somehow.

Regards,
John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIPCPddcgqmRY/OH8RAkgqAJ9RCtvLIGgF7qbbncojN3FITgYwjACeNeFs
TPHHsk0oRmuT9IlxmKbooiA=
=L/Sh
-----END PGP SIGNATURE-----




reply via email to

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