Adding patch with Brazilian Portuguese translation for lxde-loguout.desktop (Closes...
[debian/lxde-common.git] / configure.ac
CommitLineData
097da666 1AC_PREREQ([2.57])
525d33ac 2AC_INIT(lxde-common,[0.5.5], [],lxde-common)
26d3dc88 3AM_INIT_AUTOMAKE()
097da666
DB
4dnl AC_PROG_INTLTOOL(, [no-xml])
5dnl AM_MAINTAINER_MODE
6
097da666
DB
7# Checks for programs.
8AC_PROG_INSTALL
9AC_PROG_LN_S
097da666 10
4af7dd53
DB
11AC_ARG_ENABLE(man,
12 [AC_HELP_STRING([--enable-man],
13 [regenerate roff man pages from Docbook @<:@default=no@:>@])],
14 [enable_man="${enableval}"],
15 [enable_man=no]
16)
097da666
DB
17# xsessions data of path for GDM
18AC_ARG_WITH([xsession-path],
19 AS_HELP_STRING(
20 [--with-xsession-path=PATH],
68711ac0 21 [set the install path of xsession data [[DATAROOTDIR/xsessions]]]),
097da666 22 [test x$withval != x && xsesspath="$withval"],
68711ac0 23 [xsesspath="\${datarootdir}/xsessions"])
097da666
DB
24AC_SUBST(xsesspath)
25
26
4af7dd53
DB
27if test x"$enable_man" = x"yes"; then
28 AC_PATH_PROG([XSLTPROC], [xsltproc])
29 if test -z "$XSLTPROC"; then
30 enable_man=no
31 fi
32
33 dnl check for DocBook DTD and stylesheets in the local catalog.
34 JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN],
35 [DocBook XML DTD V4.1.2], [], enable_man=no)
36 JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
37 [DocBook XSL Stylesheets >= 1.70.1], [], enable_man=no)
38fi
39
40AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test "x$enable_man" != "xno")
41
097da666
DB
42AC_OUTPUT([
43 Makefile
097da666 44 startlxde
097da666
DB
45 lxde-logout
46 LXDE.desktop
68711ac0 47 lxde-logout.desktop
097da666
DB
48 lxpanel/panel
49 openbox/rc.xml
50 openbox-lxde
525d33ac 51 pcmanfm/pcmanfm.conf
097da666
DB
52 man/Makefile
53])
54
525d33ac
DB
55if test x"$sysconfdir" != x'/etc'; then
56 echo
57 echo
58 echo 'Error: sysconfdir is not /etc.'
59 echo 'Please consider passing --sysconfdir=/etc to configure.';
60 echo 'Otherwise default config files will be installed to wrong place.'
61 echo
62 echo
63fi