source: titan/libdreamdvd/configure.ac @ 43326

Last change on this file since 43326 was 14963, checked in by nit, 10 years ago

[titan] change to unix format

File size: 932 bytes
Line 
1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_INIT([libdreamdvd],[0.0.1],[enigma2-devel@lists.elitedvb.net])
5AM_INIT_AUTOMAKE([dist-bzip2 foreign])
6AC_CONFIG_SRCDIR([main.c])
7AC_CONFIG_HEADERS([libdreamdvd_config.h])
8
9m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
10
11AC_USE_SYSTEM_EXTENSIONS
12AC_SYS_LARGEFILE
13
14# Checks for programs.
15AC_PROG_CC
16m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
17AC_CONFIG_MACRO_DIR([m4])
18
19# Checks for libraries.
20PKG_CHECK_MODULES(DVDNAV, dvdnav)
21AC_CHECK_LIB([dl], [dlopen], [LIBDL_LIBS="-ldl"], [AC_MSG_ERROR([Could not find libdl])])
22AC_SUBST(LIBDL_LIBS)
23AC_CHECK_LIB([m], [pow], [LIBM_LIBS="-lm"], [AC_MSG_ERROR([Could not find libm])])
24AC_SUBST(LIBM_LIBS)
25
26# Checks for header files.
27AC_CHECK_HEADERS([byteswap.h ost/dmx.h linux/dvb/version.h])
28
29AC_CONFIG_FILES([
30Makefile
31libdreamdvd.pc
32])
33AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.