-
Notifications
You must be signed in to change notification settings - Fork 2
/
configure.ac
93 lines (78 loc) · 2.35 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
AC_INIT([enigma2-plugins],[4],[[email protected]])
AM_INIT_AUTOMAKE([dist-bzip2 foreign no-define tar-pax])
AC_CONFIG_HEADERS([enigma2-plugins-config.h])
# Silent rules are available since 1.11, but older versions
# are still in use. So don't use them unconditionally.
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_USE_SYSTEM_EXTENSIONS
AC_SYS_LARGEFILE
AC_PROG_CC
AC_PROG_CXX
m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
AC_CONFIG_MACRO_DIR([m4])
AC_PATH_PROG(MSGFMT, msgfmt, AC_MSG_ERROR(Could not find msgfmt))
AM_PATH_PYTHON
AX_PYTHON_DEVEL
AX_PTHREAD
TUXBOX_APPS_DVB
AC_ARG_WITH(debug,
AS_HELP_STRING([--without-debug],[disable debugging code]),
[with_debug="$withval"],[with_debug="yes"])
if test "$with_debug" = "yes"; then
DEBUG_CFLAGS="-ggdb3"
AC_DEFINE([DEBUG],[1],[Define to 1 to enable debugging code])
fi
AC_SUBST(DEBUG_CFLAGS)
AC_ARG_WITH(po,
AS_HELP_STRING([--with-po],[enable updating of po files]),
[with_po="$withval"],[with_po="no"])
if test "$with_po" = "yes"; then
AC_PATH_PROG(MSGINIT, msginit)
AC_PATH_PROG(MSGMERGE, msgmerge)
AC_PATH_PROG(MSGUNIQ, msguniq)
AC_PATH_PROG(MSGATTRIB, msgattrib)
AC_PATH_PROG(XGETTEXT, xgettext)
if test -z "$MSGINIT" -o -z "$MSGMERGE" -o -z "$MSGUNIQ" -o -z "$MSGATTRIB" -o -z "$XGETTEXT"; then
AC_MSG_ERROR([Could not find required gettext tools])
fi
fi
AM_CONDITIONAL(UPDATE_PO, test "$with_po" = "yes")
AC_CONFIG_FILES([
Makefile
lcd4linux/Makefile
lcd4linux/src/Makefile
lcd4linux/src/data/Makefile
lcd4linux/src/data/audio/Makefile
lcd4linux/src/data/Clock1/Makefile
lcd4linux/src/data/Clock2/Makefile
lcd4linux/src/data/Clock3/Makefile
lcd4linux/src/data/Clock4/Makefile
lcd4linux/src/data/Clock5/Makefile
lcd4linux/src/data/Clock6/Makefile
lcd4linux/src/data/Clock7/Makefile
lcd4linux/src/data/Clock8/Makefile
lcd4linux/src/data/Clock9/Makefile
lcd4linux/src/data/Clock10/Makefile
lcd4linux/src/meteo/Makefile
lcd4linux/src/wetter/Makefile
lcd4linux/src/renderer/Makefile
lcd4linux/po/Makefile
lcd4linux/meta/Makefile
moviecut/Makefile
moviecut/meta/Makefile
moviecut/src_cc/Makefile
moviecut/src_py/Makefile
moviecut/po/Makefile
networkbrowser/Makefile
networkbrowser/meta/Makefile
networkbrowser/po/Makefile
networkbrowser/src/Makefile
networkbrowser/src/icons/Makefile
networkbrowser/src/lib/Makefile
vps/Makefile
vps/meta/Makefile
vps/po/Makefile
vps/src_cc/Makefile
vps/src_py/Makefile
])
AC_OUTPUT