summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorzaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-31 20:12:34 +0000
committerzaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-31 20:12:34 +0000
commite0f550b5385fc30e0bc9b4d03dd113a67089fa3b (patch)
tree2e8437b64406ac2033193ac0bb700929859ec15e /Makefile.am
parente0afd5401d16d7fb6c9d09e487f51a0e5beb8639 (diff)
downloadnavit-e0f550b5385fc30e0bc9b4d03dd113a67089fa3b.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 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3a86bec77..92f705f12 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,10 @@
include $(top_srcdir)/Makefile.inc
-SUBDIRS=intl navit po
+SUBDIRS=
+if ENABLE_NLS
+SUBDIRS+=intl po
+else
+SUBDIRS+=navit
+endif
pkgdoc_DATA = README
EXTRA_DIST = README COPYRIGHT
+DIST_SUBDIRS=intl po navit