~kamstrup/gtkhotkey/trunk

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
57
58
59
60
61
62
63
64
65
66
67
68
69
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.

AC_INIT(gtkhotkey, 0.2.0)

AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE

AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC

dnl ***************************************************************************
dnl Library versioning
dnl ***************************************************************************
dnl increment if the interface has additions, changes, removals.
GTK_HOTKEY_CURRENT=1

dnl increment any time the source changes; set to
dnl  0 if you increment CURRENT
GTK_HOTKEY_REVISION=0

dnl increment if any interfaces have been added; set to 0
dnl if any interfaces have been changed or removed. removal has
dnl precedence over adding, so set to 0 if both happened.
GTK_HOTKEY_AGE=0

AC_SUBST(GTK_HOTKEY_CURRENT)
AC_SUBST(GTK_HOTKEY_REVISION)
AC_SUBST(GTK_HOTKEY_AGE)


dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
GETTEXT_PACKAGE=gtkhotkey
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])


AM_PROG_LIBTOOL


PKG_CHECK_MODULES(GTK_HOTKEY, [glib-2.0 >= 2.15.6 gobject-2.0 >= 2.15.6 gio-2.0 >= 2.15.6 gtk+-2.0 >= 2.12])
AC_SUBST(GTK_HOTKEY_CFLAGS)
AC_SUBST(GTK_HOTKEY_LIBS)



##################################################
# Check for gtk-doc.
##################################################
GTK_DOC_CHECK(1.0)
DISTCHECK_CONFIGURE_FLAGS="--enable-gtk-doc"
AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)

AC_OUTPUT([
gtkhotkey-1.0.pc
Makefile
src/Makefile
po/Makefile.in
test/Makefile
doc/Makefile
doc/reference/Makefile
])