|
| 1 | +AC_INIT([enigma2-plugins], [4], [[email protected]]) |
| 2 | +AM_INIT_AUTOMAKE([dist-bzip2 foreign no-define tar-pax]) |
| 3 | +AC_CONFIG_HEADERS([enigma2-plugins-config.h]) |
| 4 | + |
| 5 | +# Silent rules are available since 1.11, but older versions |
| 6 | +# are still in use. So don't use them unconditionally. |
| 7 | +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
| 8 | + |
| 9 | +AC_USE_SYSTEM_EXTENSIONS |
| 10 | +AC_SYS_LARGEFILE |
| 11 | + |
| 12 | +AC_PROG_CC |
| 13 | +AC_PROG_CXX |
| 14 | +m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL]) |
| 15 | +AC_CONFIG_MACRO_DIR([m4]) |
| 16 | + |
| 17 | +AC_PATH_PROG(MSGFMT, msgfmt, AC_MSG_ERROR(Could not find msgfmt)) |
| 18 | + |
| 19 | +AM_PATH_PYTHON |
| 20 | +AX_PYTHON_DEVEL |
| 21 | +AX_PTHREAD |
| 22 | + |
| 23 | +TUXBOX_APPS_DVB |
| 24 | + |
| 25 | + |
| 26 | +AC_ARG_WITH(debug, |
| 27 | + AS_HELP_STRING([--without-debug],[disable debugging code]), |
| 28 | + [with_debug="$withval"],[with_debug="yes"]) |
| 29 | +if test "$with_debug" = "yes"; then |
| 30 | + DEBUG_CFLAGS="-ggdb3" |
| 31 | + AC_DEFINE([DEBUG],[1],[Define to 1 to enable debugging code]) |
| 32 | +fi |
| 33 | +AC_SUBST(DEBUG_CFLAGS) |
| 34 | + |
| 35 | +AC_ARG_WITH(po, |
| 36 | + AS_HELP_STRING([--with-po],[enable updating of po files]), |
| 37 | + [with_po="$withval"],[with_po="no"]) |
| 38 | +if test "$with_po" = "yes"; then |
| 39 | + AC_PATH_PROG(MSGINIT, msginit) |
| 40 | + AC_PATH_PROG(MSGMERGE, msgmerge) |
| 41 | + AC_PATH_PROG(MSGUNIQ, msguniq) |
| 42 | + AC_PATH_PROG(MSGATTRIB, msgattrib) |
| 43 | + AC_PATH_PROG(XGETTEXT, xgettext) |
| 44 | + if test -z "$MSGINIT" -o -z "$MSGMERGE" -o -z "$MSGUNIQ" -o -z "$MSGATTRIB" -o -z "$XGETTEXT"; then |
| 45 | + AC_MSG_ERROR([Could not find required gettext tools]) |
| 46 | + fi |
| 47 | +fi |
| 48 | +AM_CONDITIONAL(UPDATE_PO, test "$with_po" = "yes") |
| 49 | + |
| 50 | +AC_CONFIG_FILES([ |
| 51 | +Makefile |
| 52 | +
|
| 53 | +lcd4linux/Makefile |
| 54 | +lcd4linux/src/Makefile |
| 55 | +lcd4linux/src/data/Makefile |
| 56 | +lcd4linux/src/data/audio/Makefile |
| 57 | +lcd4linux/src/data/Clock1/Makefile |
| 58 | +lcd4linux/src/data/Clock2/Makefile |
| 59 | +lcd4linux/src/data/Clock3/Makefile |
| 60 | +lcd4linux/src/data/Clock4/Makefile |
| 61 | +lcd4linux/src/data/Clock5/Makefile |
| 62 | +lcd4linux/src/data/Clock6/Makefile |
| 63 | +lcd4linux/src/data/Clock7/Makefile |
| 64 | +lcd4linux/src/data/Clock8/Makefile |
| 65 | +lcd4linux/src/data/Clock9/Makefile |
| 66 | +lcd4linux/src/data/Clock10/Makefile |
| 67 | +lcd4linux/src/meteo/Makefile |
| 68 | +lcd4linux/src/wetter/Makefile |
| 69 | +lcd4linux/src/renderer/Makefile |
| 70 | +lcd4linux/po/Makefile |
| 71 | +lcd4linux/meta/Makefile |
| 72 | +
|
| 73 | +moviecut/Makefile |
| 74 | +moviecut/meta/Makefile |
| 75 | +moviecut/src_cc/Makefile |
| 76 | +moviecut/src_py/Makefile |
| 77 | +moviecut/po/Makefile |
| 78 | +
|
| 79 | +networkbrowser/Makefile |
| 80 | +networkbrowser/meta/Makefile |
| 81 | +networkbrowser/po/Makefile |
| 82 | +networkbrowser/src/Makefile |
| 83 | +networkbrowser/src/icons/Makefile |
| 84 | +networkbrowser/src/lib/Makefile |
| 85 | +
|
| 86 | +vps/Makefile |
| 87 | +vps/meta/Makefile |
| 88 | +vps/po/Makefile |
| 89 | +vps/src_cc/Makefile |
| 90 | +vps/src_py/Makefile |
| 91 | +
|
| 92 | +]) |
| 93 | +AC_OUTPUT |
0 commit comments