[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext 0.18.1: gettext-tools/libgrep/Makefile incomplete
From: |
Bruno Haible |
Subject: |
Re: gettext 0.18.1: gettext-tools/libgrep/Makefile incomplete |
Date: |
Fri, 4 Jun 2010 18:26:13 +0200 |
User-agent: |
KMail/1.9.9 |
Hi,
Christian Weisgerber wrote:
> I tried building pristine gettext-0.18.1 on OpenBSD, but it errored
> out quite early in gettext-tools/libgrep:
>
> cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../gnulib-lib -I../gnulib-lib
> -I. ./intl -I/usr/local/include -O2 -pipe -c nl_langinfo.c
> In file included from nl_langinfo.c:21:
> ./langinfo.h:144: error: expected ')' before 'char'
> ./langinfo.h:145: error: expected ')' before 'char'
>
> This happens because the macros _GL_FUNCDECL_RPL() etc aren't
> expanded.
>
> The rules in gettext-tools/libgrep/Makefile.in and Makefile.gnulib
> generate langinfo.h from langinfo.in.h by referencing $(CXXDEFS_H)
> and $(WARN_ON_USE_H), but these aren't set anywhere! Thus the
> definitions from c++defs.h and warn-on-use.h are never pulled in.
Thanks for the rapid report and complete analysis. I've now re-released
gettext-0.18.1 on ftp.gnu.org; the new tarball should fix the problem.
Bruno