blob: 0cb75f9cb78fc0eb6b823b81a11f5247be27b93e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
AC_PREREQ([2.58])
AC_INIT(swfdec-gnome, 0.5.3.1)
AM_INIT_AUTOMAKE(1.6)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
AC_PROG_CC
IT_PROG_INTLTOOL([0.35.0])
GNOME_COMMON_INIT
dnl GNOME_DOC_INIT
GNOME_MAINTAINER_MODE_DEFINES
GNOME_COMPILE_WARNINGS
GNOME_CXX_WARNINGS
GNOME_DEBUG_CHECK
dnl GTK_DOC_CHECK(1.0)
dnl Setup gettext
GETTEXT_PACKAGE=swfdec-gnome
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package])
AM_GLIB_GNU_GETTEXT
dnl Required versions
SWFDEC_MAJORMINOR=0.5
AC_SUBST(SWFDEC_MAJORMINOR)
SWFDEC_REQUIRED=0.5.3.1
GTK_REQUIRED=2.12.0
dnl Check dependencies
PKG_CHECK_MODULES(THUMBNAILER, swfdec-$SWFDEC_MAJORMINOR = $SWFDEC_REQUIRED)
PKG_CHECK_MODULES(PLAYER, gmodule-export-2.0 swfdec-$SWFDEC_MAJORMINOR = $SWFDEC_REQUIRED swfdec-gtk-$SWFDEC_MAJORMINOR = $SWFDEC_REQUIRED gtk+-2.0 >= $GTK_REQUIRED)
AM_GCONF_SOURCE_2
AC_PATH_PROG([GCONFTOOL], [gconftool-2], [no])
if test "x$GCONFTOOL" = "xno"; then
AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
fi
dnl Finish up
AC_SUBST(GLOBAL_CFLAGS)
AC_CONFIG_FILES(Makefile player/Makefile thumbnailer/Makefile po/Makefile.in data/Makefile)
AC_OUTPUT
|