Remove symlinks and generate symlinks on installation.
[lxde/lxde-common.git] / configure.ac
1 AC_PREREQ([2.57])
2 AC_INIT(lxde-common,[0.2.99], [],lxde-common)
3 AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip])
4 dnl AC_PROG_INTLTOOL(, [no-xml])
5 AM_MAINTAINER_MODE
6
7 dnl AM_CONFIG_HEADER(config.h)
8
9 AC_PROG_INSTALL
10 AC_PROG_LN_S
11 dnl AM_PROG_CC_C_O
12
13 dnl GETTEXT_PACKAGE=lxde
14 dnl AM_GNU_GETTEXT([external])
15 dnl AM_GNU_GETTEXT_VERSION(0.14.1)
16 dnl AC_SUBST(GETTEXT_PACKAGE)
17 dnl AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
18
19 dnl ALL_LINGUAS="zh_TW hu es sk pl"
20 dnl AM_GLIB_GNU_GETTEXT
21
22 # xsessions data of path for GDM
23 AC_ARG_WITH([xsession-path],
24     AS_HELP_STRING(
25         [--with-xsession-path=PATH],
26         [set the install path of xsession data (default=/usr/share/xsessions)]),
27         [test x$withval != x && xsesspath="$withval"],
28         [xsesspath=/usr/share/xsessions])
29 AC_SUBST(xsesspath)
30
31 AC_OUTPUT([
32   Makefile
33   icon-theme/Makefile
34   startlxde
35   default
36   lxde-logout
37   LXDE.desktop
38   lxpanel/config
39   openbox/rc.xml
40   pcmanfm/main.lxde
41 ])
42