X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=configure.in;h=a83f7d3c8316cd5afbc2806514e650b478436b95;hb=e648cece76b671b5b0e165acc6d14178e8de1000;hp=b85ae367738fabe88eea025c22c93026bee56394;hpb=21fbb1d7ed23de67f3a8237139ff154d5da16b08;p=xournal.git diff --git a/configure.in b/configure.in index b85ae36..a83f7d3 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(configure.in) -AM_INIT_AUTOMAKE(xournal, 0.4.2.1) +AM_INIT_AUTOMAKE(xournal, 0.4.2.9) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE @@ -10,22 +10,22 @@ AC_PROG_CC AM_PROG_CC_STDC AC_HEADER_STDC -dnl set this var to NONE (PC) or other thing (Maemo) -usehildon='NONE' -if test "x$usehildon" != xNONE -then - pkg_modules="gtk+-2.0 >= 2.4.0 libgnomecanvas-2.0 >= 2.4.0 libgnomeprintui-2.2 >= 2.0.0 hildon-libs libosso" -else - pkg_modules="gtk+-2.0 >= 2.4.0 libgnomecanvas-2.0 >= 2.4.0 libgnomeprintui-2.2 >= 2.0.0" -fi +pkg_modules="gtk+-2.0 >= 2.4.0 libgnomecanvas-2.0 >= 2.4.0 libgnomeprintui-2.2 >= 2.0.0 poppler-glib >= 0.6.1" PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) -AM_CONDITIONAL(USE_HILDON, test "x$usehildon" != xNONE) +GETTEXT_PACKAGE=xournal +AC_SUBST(GETTEXT_PACKAGE) +AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.]) + +dnl Add the languages which your application supports here. +ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`" +AM_GLIB_GNU_GETTEXT AC_OUTPUT([ Makefile src/Makefile +po/Makefile.in ])