Eric Blake wrote:
> According to Monty Taylor on 12/20/2008 11:57 AM:
>> I'm wondering if it would be worthwhile to add an AC_DEFINE form, like
>> AC_DEFINE_EXPANDED, that would fully-expand things before putting them
>> in config.h.
>
> No, because that would violate GNU Coding Standards that the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Monty Taylor on 12/20/2008 11:57 AM:
>
> I'm wondering if it would be worthwhile to add an AC_DEFINE form, like
> AC_DEFINE_EXPANDED, that would fully-expand things before putting them
> in config.h.
No, because that would violate GNU Co
John Calcote wrote:
> Ralf,
First of all... thanks guys...
> The trouble with your approach is that it doesn't solve the original
> poster's issue. The issue was that when such variables are expanded into
> config.h using the regular AC_DEFINE mechanism, environment variables
> don't get expanded
On Saturday 2008-12-20 19:57, Monty Taylor wrote:
>
>This is what we've been doing so far. It's not terrible, but it does
>make for a rather long and ugly command line.
While there are no "response" files as there were for DOS
compilers (because of the limited command line length),
you can use:
On Fri, 2008-12-12 at 10:09 -0700, John Calcote wrote:
> Ralf,
>
> The trouble with your approach is that it doesn't solve the original
> poster's issue. The issue was that when such variables are expanded into
> config.h using the regular AC_DEFINE mechanism, environment variables
> don't get exp
Ralf,
The trouble with your approach is that it doesn't solve the original
poster's issue. The issue was that when such variables are expanded into
config.h using the regular AC_DEFINE mechanism, environment variables
don't get expanded in the variable substitution:
--- snip ---
prefix= /usr/loc
On Fri, 12 Dec 2008, Ralf Corsepius wrote:
automake's toplevel configury applies this trick - It's borrowed from
there ;)
as you see, this is the autoconf list (and I'm uninterested in reporting
bugs in automake - I simply document them and move on).
--
Thomas E. Dickey
http://invisible-islan
On Fri, 2008-12-12 at 07:52 -0500, Thomas Dickey wrote:
> On Fri, 12 Dec 2008, Ralf Corsepius wrote:
>
> >> compiler, or test-application). Putting them in the generated config.h
> >> doesn't run into that problem.
> > Only if done properly.
>
> I agree (of course: putting them into the generate
On Fri, 12 Dec 2008, Ralf Corsepius wrote:
compiler, or test-application). Putting them in the generated config.h
doesn't run into that problem.
Only if done properly.
I agree (of course: putting them into the generated config.h is assumed
to be "done properly"). For the rest - your example
On Fri, 2008-12-12 at 06:22 -0500, Thomas Dickey wrote:
> On Thu, 11 Dec 2008, Jan Engelhardt wrote:
>
> >
> > 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 cod
On Thu, 11 Dec 2008, Jan Engelhardt wrote:
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= ${prefi
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
-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
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
14 matches
Mail list logo