Add logout button to the panel.
[lxde/lxde-common.git] / configure.ac
1 AC_PREREQ([2.57])
2 AC_INIT(lxde-common,[0.3.2.1], [],lxde-common)
3 AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip])
4 dnl AC_PROG_INTLTOOL(, [no-xml])
5 dnl AM_MAINTAINER_MODE
6
7 AC_CONFIG_SRCDIR([lxde-settings/lxde-settings.c])
8 AC_CONFIG_HEADER([config.h])
9
10 # Checks for programs.
11 AC_PROG_INSTALL
12 AC_PROG_LN_S
13 AM_PROG_CC_C_O
14
15 # Checks for header files.
16 AC_PATH_X
17 AC_STDC_HEADERS
18 AC_CHECK_HEADERS([locale.h stdlib.h string.h unistd.h])
19
20 # Checks for typedefs, structures, and compiler characteristics.
21 AC_C_CONST
22 AC_TYPE_SIZE_T
23
24 # Checks for library functions.
25 AC_FUNC_MALLOC
26 AC_CHECK_FUNCS([setlocale])
27
28 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6.0])
29 AC_SUBST(GLIB_CFLAGS)
30 AC_SUBST(GLIB_LIBS)
31
32 # xsessions data of path for GDM
33 AC_ARG_WITH([xsession-path],
34     AS_HELP_STRING(
35         [--with-xsession-path=PATH],
36         [set the install path of xsession data (default=/usr/share/xsessions)]),
37         [test x$withval != x && xsesspath="$withval"],
38         [xsesspath=/usr/share/xsessions])
39 AC_SUBST(xsesspath)
40
41
42 AC_OUTPUT([
43   Makefile
44   lxde-settings/Makefile
45   icon-theme/Makefile
46   startlxde
47   default
48   lxde-logout
49   LXDE.desktop
50   lxde-logout.desktop
51   lxpanel/panel
52   openbox/rc.xml
53   openbox-lxde
54   pcmanfm/main.lxde
55   man/Makefile
56 ])
57