From: zaxl Date: Mon, 3 Nov 2008 15:11:20 +0000 (+0000) Subject: FIX:build: Manualy add -I$(top_builddir/intl to CFLAGS if using included gettext X-Git-Tag: navit-0.5.0.5194svn~3529 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8efccca88f8800b3495905792580e8df9db28a76;p=profile%2Fivi%2Fnavit.git FIX:build: Manualy add -I$(top_builddir/intl to CFLAGS if using included gettext git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1628 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/configure.in b/navit/configure.in index 42121c8..fc8ad72 100644 --- a/navit/configure.in +++ b/navit/configure.in @@ -586,9 +586,13 @@ AC_SUBST(INTLIBS) AC_SUBST(MOFILES) AC_SUBST(POFILES) AM_GNU_GETTEXT_VERSION -AM_GNU_GETTEXT(no-libtool, need-ngettext) +AM_GNU_GETTEXT(no-libtool, need-ngettext, \$(top_builddir)/intl/) AC_SUBST(LIBINTL) AC_SUBST(LTLIBINTL) +if test x"$LIBINTL" != "x" ;then + CFLAGS="$CFLAGS -I\$(top_builddir)/intl/" +fi + fi AM_CONDITIONAL(ENABLE_NLS, [test "x$enable_nls" = "xyes"]) AC_CHECK_HEADER(