Repository navigation
Expand file tree
/
Copy pathconfigure.ac
More file actions
62 lines (51 loc) · 1.67 KB
/
Copy pathconfigure.ac
File metadata and controls
62 lines (51 loc) · 1.67 KB
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
AC_INIT([servicemp3], [0.1], [])
AM_INIT_AUTOMAKE([subdir-objects foreign dist-bzip2 no-define tar-pax])
AC_CONFIG_MACRO_DIR([m4])
LT_INIT
AC_PROG_CC
AC_PROG_CXX
AM_PATH_PYTHON
AX_PYTHON_DEVEL
AC_LANG(C++)
PKG_CHECK_MODULES(ENIGMA2, enigma2)
AC_ARG_WITH(gstversion,
AS_HELP_STRING([--with-gstversion],[use gstreamer version (major.minor)]),
[GST_MAJORMINOR=$withval],[GST_MAJORMINOR=1.0])
PKG_CHECK_MODULES(GSTREAMER, gstreamer-$GST_MAJORMINOR gstreamer-pbutils-$GST_MAJORMINOR)
AC_ARG_WITH(boxtype,
AS_HELP_STRING([--with-boxtype],[build for BOXTYPE, $withval]),
[BOXTYPE="$withval"],[BOXTYPE=""])
AC_SUBST(BOXTYPE)
AC_DEFINE_UNQUOTED(BOXTYPE,"$BOXTYPE",[box type])
AC_ARG_WITH(boxbrand,
AS_HELP_STRING([--with-boxbrand],[build for BOXBRAND, $withval]),
[BOXBRAND="$withval"],[BOXBRAND=""])
AC_SUBST(BOXBRAND)
AC_DEFINE_UNQUOTED(BOXBRAND,"$BOXBRAND",[box brand])
AC_ARG_WITH(stbplatform,
AS_HELP_STRING([--with-stbplatform],[build for STBPLATFORM, $withval]),
[STBPLATFORM="$withval"],[STBPLATFORM=""])
AC_SUBST(STBPLATFORM)
AC_DEFINE_UNQUOTED(STBPLATFORM,"$STBPLATFORM",[stb platform])
AC_ARG_WITH(amlogic,
AC_HELP_STRING([--with-amlogic], [use amlogic MPEG decoder]),
[[with_amlogic=$withval]],
[[with_amlogic=no]]
)
AM_CONDITIONAL(HAVE_AMLOGIC, test x"$with_amlogic" = xyes)
if test x"$with_amlogic" = xyes ; then
AC_DEFINE(HAVE_AMLOGIC, 1,[Enables AMLOGIC decoder support])
fi
if test "$BOXTYPE" == "alien5"; then
AC_DEFINE(HAVE_ALIEN5, 1,[enable Alien5 specific hacks])
fi
if test "$BOXBRAND" == "mecool"; then
AC_DEFINE(HAVE_MECOOL, 1,[enable Mecool devices specific hacks])
fi
AC_DEFINE([DEBUG])
AC_CONFIG_FILES([
Makefile
servicemp3/Makefile
plugin/Makefile
])
AC_OUTPUT