build-sys: Fix building without NLS

This commit is contained in:
Arun Raghavan 2011-12-08 14:15:06 +05:30
parent 8942d2369d
commit 30d6303abf
4 changed files with 9 additions and 3 deletions

View file

@ -26,12 +26,12 @@
PA_C_DECL_BEGIN
#ifdef ENABLE_NLS
#if !defined(GETTEXT_PACKAGE)
#error "Something is very wrong here, config.h needs to be included first"
#endif
#ifdef ENABLE_NLS
#include <libintl.h>
#define _(String) dgettext(GETTEXT_PACKAGE, String)