Statistics
| Branch: | Tag: | Revision:

dvbd / configure.ac @ 59be6a47

History | View | Annotate | Download (971 Bytes)

1
AC_INIT(dvbd, 0.5.2)
2
AC_CONFIG_SRCDIR(src/dvbd.cpp)
3
AM_INIT_AUTOMAKE
4
AM_CONFIG_HEADER(config.h)
5
AC_PROG_CC
6
AC_PROG_CXX
7
AC_PROG_YACC
8
AM_PROG_LEX
9
AC_STDC_HEADERS
10
AC_HAVE_HEADERS(linux/dvb/dmx.h linux/dvb/frontend.h)
11
AC_SUBST(DVBD_USER, dvbd)
12
AC_SUBST(DVBD_RUN_DIR, "`eval echo ${localstatedir}/run/dvbd`")
13
AC_SUBST(DVBD_SPOOL_DIR, "`eval echo ${localstatedir}/spool/dvbd`")
14
AC_SUBST(DVBD_LOG_DIR, "`eval echo ${localstatedir}/log`")
15
AC_SUBST(DVBD_ETC_DIR, "`eval echo ${sysconfdir}/dvbd`")
16
AC_DEFINE_UNQUOTED(DEFAULT_CONFIG_FILE, "${DVBD_ETC_DIR}", [Default configuration file])
17
AC_DEFINE_UNQUOTED(DEFAULT_SOCKET_FILE, "${DVBD_RUN_DIR}/dvbd.socket", [Default socket file])
18
AC_DEFINE_UNQUOTED(DEFAULT_PID_FILE, "${DVBD_RUN_DIR}/dvbd.pid", [Default pid file])
19
AC_DEFINE_UNQUOTED(DEFAULT_SCHEDULE_FILE, "${DVBD_SPOOL_DIR}/schedule", [Default schedule file])
20
AC_DEFINE_UNQUOTED(DEFAULT_LOG_FILE, "${DVBD_LOG_DIR}/dvbd.log", [Default log file])
21
AC_OUTPUT(Makefile src/Makefile)