File: configure.ac

package info (click to toggle)
gsound 1.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,044 kB
  • sloc: sh: 4,094; ansic: 846; makefile: 141
file content (65 lines) | stat: -rw-r--r-- 1,472 bytes parent folder | download | duplicates (3)
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

AC_INIT([gsound], [1.0.2],
        [http://bugzilla.gnome.org/enter_bug.cgi?product=gsound],
        [gsound], [https://wiki.gnome.org/Projects/GSound])
AX_IS_RELEASE([git-directory])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])

AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wno-portability no-dist-gzip dist-xz])
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE([enable])

AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_VALAC

AX_COMPILER_FLAGS

# Before making a release, the LT_VERSION string should be modified.
# The string is of the form C:R:A.
# - If interfaces have been changed or added, but binary compatibility has
#   been preserved, change to C+1:0:A+1
# - If binary compatibility has been broken (eg removed or changed interfaces)
#   change to C+1:0:0
# - If the interface is the same as the previous version, change to C:R+1:A

GSOUND_LT_VERSION=0:2:0
AC_SUBST(GSOUND_LT_VERSION)

LT_INIT

GOBJECT_REQUIRED=2.36.0

PKG_CHECK_MODULES(GSOUND,
[
    gobject-2.0 >= $GOBJECT_REQUIRED
    gio-2.0
    libcanberra
])
AC_SUBST(GSOUND_CFLAGS)
AC_SUBST(GSOUND_LIBS)

GTK_DOC_CHECK(1.20, [--flavour no-tmpl])

GOBJECT_INTROSPECTION_CHECK([1.2.9])

VALA_REQUIRED=0.17.2.12

VAPIGEN_CHECK($VALA_REQUIRED)

#if test "$enable_vala" != "no"; then
#	AC_PATH_PROG([VALAC], [valac], [])
#fi
#AM_CONDITIONAL(HAVE_VALAC, test "x$VALAC" != "x")


AC_OUTPUT([
Makefile
docs/Makefile
docs/version.xml
tools/Makefile
gsound/gsound.pc
gsound/Makefile
])