-
Notifications
You must be signed in to change notification settings - Fork 24
/
configure.ac
53 lines (40 loc) · 1.58 KB
/
configure.ac
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
AC_PREREQ(2.60)
AC_INIT([GstPEAQ], [0.6.1], [martin.holters@hsu-hh.de], , [http://ant.hsu-hh.de/gstpeaq])
AC_CONFIG_AUX_DIR([misc])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.9 gnu])
AC_ARG_ENABLE(man, [AC_HELP_STRING([--enable-man],
[regenerate man pages from Docbook [default=no]])],
enable_man=yes,
enable_man=no)
AM_CONDITIONAL(ENABLE_MAN, test x$enable_man != xno)
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
AM_PROG_CC_C_O
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AM_COND_IF([ENABLE_MAN], [AC_PATH_PROG([XSLTPROC], [xsltproc])])
AC_HEADER_STDC
AC_FUNC_MALLOC
AC_CHECK_LIB([m], [exp])
GST_API_VERSION=1.0
gstreamer_1_0_packages="gstreamer-1.0 gstreamer-base-1.0 gstreamer-fft-1.0"
PKG_CHECK_MODULES(PKGCONF, [$gstreamer_1_0_packages])
AC_SUBST(GST_API_VERSION)
PKG_CHECK_MODULES(PKGCONF_BIN, [gstreamer-$GST_API_VERSION])
GST_SET_PLUGINDIR
AC_ARG_VAR(GSTLAUNCH, [name of the gst-launch tool])
AC_CHECK_PROGS(GSTLAUNCH, [gst-launch-$GST_API_VERSION gst-launch], [:])
AS_IF([test "x$GSTLAUNCH" = "x:"],
[AC_WARN([gst-launch not found, cannot run all tests])])
AC_ARG_WITH([conformance-dataset],
[AC_HELP_STRING([--with-conformance-dataset=DIR],
[use BS.1367 conformance testing files at DIR])],
[],
[with_conformance_dataset="no"])
AS_IF([test "x$with_conformance_dataset" != xno],
[CONFORMANCEDATADIR=`cd $with_conformance_dataset && pwd`
AC_SUBST(CONFORMANCEDATADIR)])
GTK_DOC_CHECK([1.10],[--flavour no-tmpl])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile doc/man/Makefile])
AC_OUTPUT