X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=ebe86dfe556fb090f3455f1e88e035bc76cade11;hb=d48946835ec9d02589e877f27a23b18e08902bb5;hp=0000000000000000000000000000000000000000;hpb=7cefe7990ef46a5fee83dae8dd78995460fe5af4;p=ptas diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..ebe86df --- /dev/null +++ b/configure.ac @@ -0,0 +1,26 @@ +AC_PREREQ(2.61) +AC_INIT([hildon-timeout-desktop-widget-example], [0.1]) +AC_CONFIG_SRCDIR([lib-timeout-home-widget.c]) +AM_INIT_AUTOMAKE +AC_CONFIG_HEADER([config.h]) + +AC_PROG_CC +AC_HEADER_STDC +AC_PROG_INSTALL +AM_PROG_LIBTOOL + +PKG_CHECK_MODULES(EXAMPLE, hildon-1 libhildondesktop-1 gtk+-2.0 liblocation) +AC_SUBST(EXAMPLE_CFLAGS) +AC_SUBST(EXAMPLE_LIBS) + +# Discover where to install the .desktop file: +HILDON_HOME_DESKTOP_DIR=`pkg-config libhildondesktop-1 --variable=hildonhomedesktopentrydir` +AC_SUBST(HILDON_HOME_DESKTOP_DIR) + +# Discover where to install the status widget's lib file: +HILDON_DESKTOP_LIB_DIR=`pkg-config libhildondesktop-1 --variable=hildondesktoplibdir` +AC_SUBST(HILDON_DESKTOP_LIB_DIR) + + +AC_OUTPUT(Makefile) +AC_OUTPUT(timeout-home-widget.desktop)