X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=configure.in;h=bfef4b42dce9f0599ccce36d6587e0fec37fbb5b;hb=72a310c8265a0d1e3e95fabb2987f70cfecbf525;hp=2da33643c7b0276e640e9d66adf35de885e16add;hpb=64fbee630efe4a6a731bcc7b68855d933946b050;p=xournal.git diff --git a/configure.in b/configure.in index 2da3364..bfef4b4 100644 --- a/configure.in +++ b/configure.in @@ -1,31 +1,33 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(configure.in) -AM_INIT_AUTOMAKE(xournal, 0.3.3) +AM_INIT_AUTOMAKE(xournal, 0.4.3) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE AC_ISC_POSIX AC_PROG_CC AM_PROG_CC_STDC +AC_PROG_RANLIB 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.10.0 libgnomecanvas-2.0 >= 2.4.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 +src/ttsubset/Makefile +po/Makefile.in ])