Re: Getting data from a nested configure script?

2008-12-11 Thread Benoit Sigoure
On Tue, Dec 9, 2008 at 11:28 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > * Benoit Sigoure wrote on Tue, Dec 09, 2008 at 11:11:17AM CET: >> Say that I use AC_CONFIG_SUBDIRS([foo]), is there a standard way for >> the parent configure to retrieve some information from foo's >> configure? > > The

including autoconf paths in source

2008-12-11 Thread Monty Taylor
Hey all, I'm wondering if there is a best practice for getting paths such as locaeldir or datadir into source code. As it stands now in the Makefile I've got: prefix= /usr/local datarootdir= ${prefix}/share localedir = ${datarootdir}/locale To get localedir into a source file, I've got a section

Re: including autoconf paths in source

2008-12-11 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Monty Taylor on 12/11/2008 1:38 PM: > Hey all, > > I'm wondering if there is a best practice for getting paths such as > locaeldir or datadir into source code. Best practice is to use the Makefile to do the expansion into another file th

Re: including autoconf paths in source

2008-12-11 Thread Jan Engelhardt
On Thursday 2008-12-11 21:38, Monty Taylor wrote: >Hey all, > >I'm wondering if there is a best practice for getting paths such as >locaeldir or datadir into source code. As it stands now in the Makefile >I've got: > >prefix= /usr/local >datarootdir= ${prefix}/share >localedir = ${datarootdir}/lo