X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=configure.in;h=fc25bacd06caf2d426d14c53055a86a8c9a5b640;hb=7210dbf830593e28677e77e3cad980804ad4f66f;hp=d7e52a97e54b4dcab1331e9b87f6e59e435000c0;hpb=b3fe26e023d4f1cafbadd383574bc0971291f784;p=xournal.git diff --git a/configure.in b/configure.in index d7e52a9..fc25bac 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.2.1) +AM_INIT_AUTOMAKE(xournal, 0.3.1-CVS) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE @@ -10,11 +10,20 @@ AC_PROG_CC AM_PROG_CC_STDC AC_HEADER_STDC -pkg_modules="gtk+-2.0 >= 2.4.0 libgnomecanvas-2.0 >= 2.4.0 libgnomeprintui-2.2 >= 2.0.0" +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_CHECK_MODULES(PACKAGE, [$pkg_modules]) AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) +AM_CONDITIONAL(USE_HILDON, test "x$usehildon" != xNONE) + AC_OUTPUT([ Makefile src/Makefile