imported version 0.1-0
[birthday] / configure.ac
diff --git a/configure.ac b/configure.ac
new file mode 100644 (file)
index 0000000..488dafa
--- /dev/null
@@ -0,0 +1,33 @@
+AC_INIT([birthday], [0.1], [], [birthday])
+AC_PREREQ([2.58])
+
+AC_CONFIG_SRCDIR([src/birthday.c])
+AM_CONFIG_HEADER(config.h)
+AM_INIT_AUTOMAKE([1.8])
+AM_MAINTAINER_MODE
+
+#  Environment Checks:
+AC_PROG_CC
+#  Check for -c -o support in C compiler for subdirectory objects support,
+#  used in non-recursive make.
+AM_PROG_CC_C_O
+AC_PROG_CPP
+AM_PROG_LIBTOOL
+
+IT_PROG_INTLTOOL([0.35])
+AC_SUBST([GETTEXT_PACKAGE], [birthday])
+AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [The domain to use with gettext.])
+AM_GLIB_GNU_GETTEXT()
+
+#  Dependancy checks:
+# libhildondesktop-1 is provided by the libbhildondesktop1-dev package.
+PKG_CHECK_MODULES([HILDON], [libosso gtk+-2.0 hildon-1 libebook-1.2 libosso-abook-1.0])
+AC_SUBST([HILDON_CFLAGS])
+AC_SUBST([HILDON_LIBS])
+
+AC_CONFIG_FILES([Makefile]
+   [src/Makefile]
+   [data/Makefile]
+   [data/birthday.desktop.in]
+   [po/Makefile.in])
+AC_OUTPUT()