bug-gnu-utils
[Top][All Lists]
Advanced

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

Bug#162697: gettext: libintl blindly expects config.h (fwd)


From: Santiago Vila
Subject: Bug#162697: gettext: libintl blindly expects config.h (fwd)
Date: Sat, 28 Sep 2002 22:02:07 +0200 (CEST)

Hello.

I received this from the Debian bug system.
[ Please keep the Cc: lines when replying ].

Thanks.

---------- Forwarded message ----------
Date: Sat, 28 Sep 2002 20:01:50 +0100
From: Andrew Suffield <address@hidden>
To: Debian Bug Tracking System <address@hidden>
Subject: Bug#162697: gettext: libintl blindly expects config.h

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. The solution is
probably something along these lines:

#ifdef CONFIG_H_FILENAME
#include CONFIG_H_FILENAME
#else
#include <config.h>
#endif

Or, failing that, to generate config-stub.h in the Makefile like this:
config-stub.h: Makefile
        echo '#include "$(CONFIG_H_FILENAME)"' > config-stub.h

Plus a similar modification to the rule for building $(OBJECTS), and
all the necessary modifications to the autoconf macros to define the
necessary variables.





reply via email to

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