]> git.donarmstrong.com Git - xournal.git/commitdiff
Merged revision to configure.in (0.2.1 and Maemo)
authorauroux <auroux>
Sat, 3 Jun 2006 13:48:12 +0000 (13:48 +0000)
committerauroux <auroux>
Sat, 3 Jun 2006 13:48:12 +0000 (13:48 +0000)
configure.in

index d7e52a97e54b4dcab1331e9b87f6e59e435000c0..ceb6249af45c7f3514d4a0638b9d71ab509153ee 100644 (file)
@@ -10,13 +10,21 @@ 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
 ])
-