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

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

gettext 0.18.1: gettext-tools/libgrep/Makefile incomplete


From: Christian Weisgerber
Subject: gettext 0.18.1: gettext-tools/libgrep/Makefile incomplete
Date: Fri, 4 Jun 2010 17:07:19 +0200
User-agent: Mutt/1.4.2.3i

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.

-- 
Christian "naddy" Weisgerber                          address@hidden



reply via email to

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