[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#162697: gettext: libintl blindly expects config.h (fwd)
From: |
Bruno Haible |
Subject: |
Re: Bug#162697: gettext: libintl blindly expects config.h (fwd) |
Date: |
Mon, 30 Sep 2002 15:11:20 +0200 (CEST) |
Andrew Suffield <address@hidden> writes:
> Package: gettext
> Version: 0.11.5-1
> Severity: normal
>
> When HAVE_CONFIG_H is defined, both the Makefile.in and source code in
> /usr/share/gettext/intl/ assume that AC_CONFIG_HEADER was given the
> string "config.h" as an argument. If instead it is "include/config.h"
> or "include/setup.h" then libintl won't build.
This is documented in the gettext manual, Node: config.h.in.
If your config header is called differently, you have the following
options:
- Use multiple invocations of AC_CONFIG_HEADER. Newer autoconf
versions support this.
- Create a subdirectory containing a Makefile.am and a configure.in
and a config.h.in purely for building libintl. Let your main
Makefile recurse into this directory.
- Link with libintl only when it is preinstalled. Use
AM_GNU_GETTEXT(external)
for this purpose; see also the gettext manual, Node: AM_GNU_GETTEXT.
Given so many options, I don't think it is worth to modify gettext for
this special case.
Bruno