|
Packit |
517f8c |
|
|
Packit |
517f8c |
AC_INIT([gsound], [1.0.2],
|
|
Packit |
517f8c |
[http://bugzilla.gnome.org/enter_bug.cgi?product=gsound],
|
|
Packit |
517f8c |
[gsound], [https://wiki.gnome.org/Projects/GSound])
|
|
Packit |
517f8c |
AX_IS_RELEASE([git-directory])
|
|
Packit |
517f8c |
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
AC_CONFIG_AUX_DIR([build-aux])
|
|
Packit |
517f8c |
AC_CONFIG_MACRO_DIR([m4])
|
|
Packit |
517f8c |
AM_INIT_AUTOMAKE([-Wno-portability no-dist-gzip dist-xz])
|
|
Packit |
517f8c |
AC_CONFIG_HEADERS([config.h])
|
|
Packit |
517f8c |
AM_MAINTAINER_MODE([enable])
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
AC_PROG_CC
|
|
Packit |
517f8c |
AM_PROG_CC_C_O
|
|
Packit |
517f8c |
AM_PROG_VALAC
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
AX_COMPILER_FLAGS
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
# Before making a release, the LT_VERSION string should be modified.
|
|
Packit |
517f8c |
# The string is of the form C:R:A.
|
|
Packit |
517f8c |
# - If interfaces have been changed or added, but binary compatibility has
|
|
Packit |
517f8c |
# been preserved, change to C+1:0:A+1
|
|
Packit |
517f8c |
# - If binary compatibility has been broken (eg removed or changed interfaces)
|
|
Packit |
517f8c |
# change to C+1:0:0
|
|
Packit |
517f8c |
# - If the interface is the same as the previous version, change to C:R+1:A
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
GSOUND_LT_VERSION=0:2:0
|
|
Packit |
517f8c |
AC_SUBST(GSOUND_LT_VERSION)
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
LT_INIT
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
GOBJECT_REQUIRED=2.36.0
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
PKG_CHECK_MODULES(GSOUND,
|
|
Packit |
517f8c |
[
|
|
Packit |
517f8c |
gobject-2.0 >= $GOBJECT_REQUIRED
|
|
Packit |
517f8c |
gio-2.0
|
|
Packit |
517f8c |
libcanberra
|
|
Packit |
517f8c |
])
|
|
Packit |
517f8c |
AC_SUBST(GSOUND_CFLAGS)
|
|
Packit |
517f8c |
AC_SUBST(GSOUND_LIBS)
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
GTK_DOC_CHECK(1.20, [--flavour no-tmpl])
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
GOBJECT_INTROSPECTION_CHECK([1.2.9])
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
VALA_REQUIRED=0.17.2.12
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
VAPIGEN_CHECK($VALA_REQUIRED)
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
#if test "$enable_vala" != "no"; then
|
|
Packit |
517f8c |
# AC_PATH_PROG([VALAC], [valac], [])
|
|
Packit |
517f8c |
#fi
|
|
Packit |
517f8c |
#AM_CONDITIONAL(HAVE_VALAC, test "x$VALAC" != "x")
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
|
|
Packit |
517f8c |
AC_OUTPUT([
|
|
Packit |
517f8c |
Makefile
|
|
Packit |
517f8c |
docs/Makefile
|
|
Packit |
517f8c |
docs/version.xml
|
|
Packit |
517f8c |
tools/Makefile
|
|
Packit |
517f8c |
gsound/gsound.pc
|
|
Packit |
517f8c |
gsound/Makefile
|
|
Packit |
517f8c |
])
|