diff options
author | zaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-10-31 20:12:34 +0000 |
---|---|---|
committer | zaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-10-31 20:12:34 +0000 |
commit | 87f21982c65e92628e634c20b29e32f3d8ade914 (patch) | |
tree | 2e8437b64406ac2033193ac0bb700929859ec15e /navit/popup.c | |
parent | 90539020883c30f3d4b2d8872c95cea61ec06f5e (diff) | |
download | navit-svn-87f21982c65e92628e634c20b29e32f3d8ade914.tar.gz |
FIX:build: Make --disable-nls and --with-included-gettext work.
Add navit_nls.h which defines gettext wrappers, please,
include navit_nls.h and do not include libintl.h directly.
Fix Makefiles.ams to pass make distcheck
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1624 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/popup.c')
-rw-r--r-- | navit/popup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/navit/popup.c b/navit/popup.c index 444b5dfb..9ba18126 100644 --- a/navit/popup.c +++ b/navit/popup.c @@ -22,7 +22,6 @@ #include <string.h> #include <fcntl.h> #include <unistd.h> -#include <libintl.h> #include <glib.h> #include "popup.h" #include "debug.h" @@ -38,8 +37,8 @@ #include "item.h" #include "callback.h" #include "route.h" +#include "navit_nls.h" -#define _(STRING) gettext(STRING) #if 0 static void popup_set_no_passing(struct popup_item *item, void *param) |