~blackskad/gnomeradio/dev-vol-button

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: mfcn
  • Date: 2003-01-08 17:19:21 UTC
  • Revision ID: svn-v3-trunk0:ba97a3d1-ec25-0410-b1c6-e06ad936ea6c:trunk:2
Initial revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AC_PREREQ(2.52)
 
2
 
 
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)
 
6
 
 
7
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
 
8
 
 
9
AM_MAINTAINER_MODE
 
10
AM_CONFIG_HEADER(config.h)
 
11
 
 
12
AC_PROG_INTLTOOL([0.21])
 
13
 
 
14
AM_PROG_LIBTOOL
 
15
AC_ISC_POSIX
 
16
AC_PROG_CC
 
17
AC_PROG_INSTALL
 
18
AC_PROG_MAKE_SET
 
19
 
 
20
 
 
21
ALL_LINGUAS="be cs da de es fr he it lv nl pl pt pt_BR ru sk sv tr vi zh_CN"
 
22
AM_GLIB_GNU_GETTEXT
 
23
GETTEXT_PACKAGE=gnomeradio
 
24
AC_SUBST(GETTEXT_PACKAGE)
 
25
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", GETTEXT_PACKAGE)
 
26
 
 
27
 
 
28
PKG_CHECK_MODULES(GNOMERADIO, libgnomeui-2.0 gconf-2.0)
 
29
AC_SUBST(GNOMERADIO_CFLAGS)
 
30
AC_SUBST(GNOMERADIO_LIBS)
 
31
AC_SUBST(LIRC)
 
32
 
 
33
 
 
34
AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
 
35
 
 
36
if test x"$GCONFTOOL" = xno; then
 
37
  AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
 
38
fi
 
39
 
 
40
AM_GCONF_SOURCE_2
 
41
 
 
42
LIRC=""
 
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",,)
 
46
else
 
47
  echo "*** lirc disabled"
 
48
fi
 
49
 
 
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)
 
53
 
 
54
AC_OUTPUT([
 
55
gnomeradio.spec
 
56
Makefile
 
57
src/Makefile
 
58
po/Makefile.in
 
59
pixmaps/Makefile
 
60
docs/Makefile
 
61
docs/C/Makefile
 
62
])
 
63