2 AC_INIT([livewp], [0.1])
3 AC_CONFIG_SRCDIR([livewp-home-widget.c])
5 AC_CONFIG_HEADER([config.h])
12 PKG_CHECK_MODULES(EXAMPLE, hildon-1 libhildondesktop-1 gtk+-2.0)
13 AC_SUBST(EXAMPLE_CFLAGS)
14 AC_SUBST(EXAMPLE_LIBS)
16 # Discover where to install the .desktop file:
17 HILDON_HOME_DESKTOP_DIR=`pkg-config libhildondesktop-1 --variable=hildonhomedesktopentrydir`
18 AC_SUBST(HILDON_HOME_DESKTOP_DIR)
20 # Discover where to install the status widget's lib file:
21 HILDON_DESKTOP_LIB_DIR=`pkg-config libhildondesktop-1 --variable=hildondesktoplibdir`
22 AC_SUBST(HILDON_DESKTOP_LIB_DIR)
25 AC_CONFIG_FILES([Makefile
26 livewp-home-widget.desktop
28 dnl Produce output files