Update Vcs-* headers.
[debian/gpesyncd.git] / configure.ac
1 AC_INIT(gpesyncd,2.0,g+gpe@cobb.uk.net)
2 AC_CONFIG_SRCDIR([src/main.c])
3 AC_CONFIG_HEADER(config.h)
4 AM_INIT_AUTOMAKE([foreign dist-bzip2])
5 AM_MAINTAINER_MODE
6
7 AC_PROG_CC
8 AC_GNU_SOURCE
9 AC_HEADER_STDC
10 AC_PROG_CXX
11
12 DEP_MODULES="glib-2.0 mimedir-1.0 libgpevtype >= 0.20 sqlite gobject-2.0 gthread-2.0 gmodule-2.0 libcontactsdb libeventdb >= 0.31 libtododb >= 0.11"
13
14 AC_PROG_LIBTOOL
15
16 PKG_CHECK_MODULES(DEPS, $DEP_MODULES)
17 AC_SUBST(DEPS_FLAGS)
18 AC_SUBST(DEPS_FLAGS)
19
20 AC_ARG_ENABLE(vartmp,
21 [[  --enable-vartmp         Use /var/tmp instead of /tmp for temporary files [default=yes]]],
22 [
23         use_vartmp=$enableval
24 ],
25 [
26         use_vartmp=yes
27 ])
28 if test "x$use_vartmp" = xyes ; then
29 AC_DEFINE(USE_VARTMP,1,[Use /var/tmp for temporary files])
30 fi
31
32 AC_OUTPUT([
33 Makefile
34 src/Makefile
35 ])