[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gettext] Re: how does LOCALEDIR get into config.h?
From: |
Bruno Haible |
Subject: |
[gettext] Re: how does LOCALEDIR get into config.h? |
Date: |
Mon, 7 May 2001 15:23:53 +0200 (CEST) |
K. Richard Pixley wrote on 1999-03-13:
> Notice that with this approach, LOCALEDIR isn`t put into config.h.
>
> And therein lies my subtle complaint. If I`ve got N configuration
> directories then once again my compile command line is back into the
> multi-hundred characters quickly and config.h is largely pointless. I
> just had a hard time believing that there were
> autoconf/automake/autoheader macros for gettext yet none for this
> necessary aspect of gettext.
autoconf's purpose is to find out details about the platform.
It is *not* to make command lines short. This is purely an esthetic issue
of yours, not (as you call it) a "necessary aspect of gettext".
The recommended way is as Paul Eggert wrote:
datadir = @datadir@
localedir = $(datadir)/locale
DEFS = -DLOCALEDIR="$(localedir)" @DEFS@
Bruno
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gettext] Re: how does LOCALEDIR get into config.h?,
Bruno Haible <=