Adding debian version 0.4.0-1.
[debian/lxappearance.git] / configure.in
CommitLineData
08024023
DB
1dnl Process this file with autoconf to produce a configure script.
2
3AC_INIT(configure.in)
c93a68c7 4AM_INIT_AUTOMAKE(lxappearance, 0.4.0)
08024023
DB
5AM_CONFIG_HEADER(config.h)
6AM_MAINTAINER_MODE
7
8df2f63a
DB
8# Init intltool
9IT_PROG_INTLTOOL
10
08024023
DB
11AC_ISC_POSIX
12AC_PROG_CC
13AM_PROG_CC_STDC
14AC_HEADER_STDC
15
eddc0c49
DB
16AC_ARG_ENABLE(man,
17 [AC_HELP_STRING([--enable-man],
18 [regenerate roff man pages from Docbook @<:@default=no@:>@])],
19 [enable_man="${enableval}"],
20 [enable_man=no]
21)
22
81ac7e32
DB
23AC_DEFINE([CURSOR_THEME],0,[Cursor theme support is not well implemented])
24AC_ARG_ENABLE(cursor-theme,[],
25 AC_DEFINE([CURSOR_THEME],1)
26)
27
c93a68c7 28pkg_modules="gtk+-2.0 >= 2.16.0 gmodule-export-2.0"
08024023
DB
29PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
30AC_SUBST(PACKAGE_CFLAGS)
31AC_SUBST(PACKAGE_LIBS)
32
33GETTEXT_PACKAGE=lxappearance
34AC_SUBST(GETTEXT_PACKAGE)
35AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
36
37dnl Add the languages which your application supports here.
8df2f63a 38ALL_LINGUAS="af ar be@latin bg bn bn_IN ca cs da de dz el en_GB es et eu fa fi fr frp gl gu he hr hu id it ja ka ko lt mk ml ms nb nl nn oc pa pl ps pt pt_BR ru sk sl sr sr@Latn sv ta th tr uk ur ur_PK vi zh_CN zh_TW"
08024023
DB
39AM_GLIB_GNU_GETTEXT
40
eddc0c49
DB
41if test x"$enable_man" = x"yes"; then
42 AC_PATH_PROG([XSLTPROC], [xsltproc])
43 if test -z "$XSLTPROC"; then
44 enable_man=no
45 fi
46
47 dnl check for DocBook DTD and stylesheets in the local catalog.
48 JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN],
49 [DocBook XML DTD V4.1.2], [], enable_man=no)
50 JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
51 [DocBook XSL Stylesheets >= 1.70.1], [], enable_man=no)
52fi
53
54AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test "x$enable_man" != "xno")
55
08024023
DB
56AC_OUTPUT([
57Makefile
58src/Makefile
59po/Makefile.in
60man/Makefile
61])
62