3
AC_INIT(gnomeradio, 1.4.99, http://mfcn.ilo.de/gnomeradio)
4
AC_CONFIG_SRCDIR(src/gui.c)
5
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
7
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
10
AM_CONFIG_HEADER(config.h)
12
AC_PROG_INTLTOOL([0.21])
21
ALL_LINGUAS="be cs da de es fr he it lv nl pl pt pt_BR ru sk sv tr vi zh_CN"
23
GETTEXT_PACKAGE=gnomeradio
24
AC_SUBST(GETTEXT_PACKAGE)
25
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", GETTEXT_PACKAGE)
28
PKG_CHECK_MODULES(GNOMERADIO, libgnomeui-2.0 gconf-2.0)
29
AC_SUBST(GNOMERADIO_CFLAGS)
30
AC_SUBST(GNOMERADIO_LIBS)
34
AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
36
if test x"$GCONFTOOL" = xno; then
37
AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
43
if test "$enable_lirc" != "no"; then
44
AC_CHECK_LIB(lirc_client, lirc_init,
45
AC_DEFINE(HAVE_LIRC, 1, HAVE_LIRC) LIRC="-llirc_client",,)
47
echo "*** lirc disabled"
50
AC_ARG_ENABLE(install_schemas,
51
[ --disable-install-schemas Disable installation of the gconf schemas])
52
AM_CONDITIONAL(INSTALL_SCHEMAS, test x$enable_install_schemas != xno)