Adding debian version 0.3.2.1+svn20080509-6.
[debian/lxde-common.git] / configure.ac
CommitLineData
097da666
DB
1AC_PREREQ([2.57])
2AC_INIT(lxde-common,[0.3.2.1], [],lxde-common)
3AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip])
4dnl AC_PROG_INTLTOOL(, [no-xml])
5dnl AM_MAINTAINER_MODE
6
7AC_CONFIG_SRCDIR([lxde-settings/lxde-settings.c])
8AC_CONFIG_HEADER([config.h])
9
10# Checks for programs.
11AC_PROG_INSTALL
12AC_PROG_LN_S
13AM_PROG_CC_C_O
14
15# Checks for header files.
16AC_PATH_X
17AC_STDC_HEADERS
18AC_CHECK_HEADERS([locale.h stdlib.h string.h unistd.h])
19
20# Checks for typedefs, structures, and compiler characteristics.
21AC_C_CONST
22AC_TYPE_SIZE_T
23
24# Checks for library functions.
25AC_FUNC_MALLOC
26AC_CHECK_FUNCS([setlocale])
27
28PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6.0])
29AC_SUBST(GLIB_CFLAGS)
30AC_SUBST(GLIB_LIBS)
31
32# xsessions data of path for GDM
33AC_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])
39AC_SUBST(xsesspath)
40
41
42AC_OUTPUT([
43 Makefile
44 lxde-settings/Makefile
45 icon-theme/Makefile
46 startlxde
47 default
48 lxde-logout
49 LXDE.desktop
50 lxpanel/panel
51 openbox/rc.xml
52 openbox-lxde
53 pcmanfm/main.lxde
54 man/Makefile
55])
56