Maemo: Added a widget to "unselect" a certificate.
[strongswan.git] / src / frontends / maemo / configure.ac
1 AC_INIT(strongswan-applet, 1.0.0)
2 AM_INIT_AUTOMAKE
3
4 # Programs
5 AC_PROG_CC
6 AC_PROG_INSTALL
7 AC_PROG_LIBTOOL
8
9 # Headers
10 AC_HEADER_STDC
11
12 # Library dependencies
13 PKG_CHECK_MODULES(HILDON, hildon-1 hildon-fm-2 hildon-control-panel libhildondesktop-1)
14 AC_SUBST(HILDON_CFLAGS)
15 AC_SUBST(HILDON_LIBS)
16
17 PKG_CHECK_MODULES(DBUS, dbus-glib-1 >= 0.60)
18 AC_SUBST(DBUS_CFLAGS)
19 AC_SUBST(DBUS_LIBS)
20
21 PKG_CHECK_MODULES(OSSO, osso-af-settings >= 0.8.5 libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11)
22 AC_SUBST(OSSO_CFLAGS)
23 AC_SUBST(OSSO_LIBS)
24
25 # Application icon install directories
26 icon_18x18dir=$datadir/icons/hicolor/18x18/hildon
27 icon_24x24dir=$datadir/icons/hicolor/24x24/hildon
28 icon_32x32dir=$datadir/icons/hicolor/32x32/hildon
29 icon_48x48dir=$datadir/icons/hicolor/48x48/hildon
30 icon_scalabledir=$datadir/icons/hicolor/scalable/hildon
31
32 # Hildon control panel plugin install directories
33 pluginlibdir=`$PKG_CONFIG hildon-control-panel --variable=pluginlibdir`
34 plugindesktopentrydir=`$PKG_CONFIG hildon-control-panel --variable=plugindesktopentrydir`
35
36 # Hildon status widget install directories
37 statuslibdir=`$PKG_CONFIG libhildondesktop-1 --variable=hildondesktoplibdir`
38 statusdesktopentrydir=`$PKG_CONFIG libhildondesktop-1 --variable=hildonstatusmenudesktopentrydir`
39
40 AC_SUBST(icon_18x18dir)
41 AC_SUBST(icon_24x24dir)
42 AC_SUBST(icon_32x32dir)
43 AC_SUBST(icon_48x48dir)
44 AC_SUBST(icon_scalabledir)
45 AC_SUBST(pluginlibdir)
46 AC_SUBST(plugindesktopentrydir)
47 AC_SUBST(statuslibdir)
48 AC_SUBST(statusdesktopentrydir)
49
50 AC_OUTPUT(
51           Makefile \
52           src/Makefile \
53           data/Makefile
54 )