]> git.donarmstrong.com Git - xournal.git/blob - configure.in
Add a hand tool
[xournal.git] / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2
3 AC_INIT(configure.in)
4 AM_INIT_AUTOMAKE(xournal, 0.3.1-CVS)
5 AM_CONFIG_HEADER(config.h)
6 AM_MAINTAINER_MODE
7
8 AC_ISC_POSIX
9 AC_PROG_CC
10 AM_PROG_CC_STDC
11 AC_HEADER_STDC
12
13 dnl set this var to NONE (PC) or other thing (Maemo)
14 usehildon='NONE'
15 if test "x$usehildon" != xNONE
16 then
17   pkg_modules="gtk+-2.0 >= 2.4.0 libgnomecanvas-2.0 >= 2.4.0 libgnomeprintui-2.2 >= 2.0.0 hildon-libs libosso"
18 else
19   pkg_modules="gtk+-2.0 >= 2.4.0 libgnomecanvas-2.0 >= 2.4.0 libgnomeprintui-2.2 >= 2.0.0"
20 fi
21 PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
22 AC_SUBST(PACKAGE_CFLAGS)
23 AC_SUBST(PACKAGE_LIBS)
24
25 AM_CONDITIONAL(USE_HILDON, test "x$usehildon" != xNONE)
26
27 AC_OUTPUT([
28 Makefile
29 src/Makefile
30 ])
31