Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 68 lines (57 sloc) 1.406 kB
m4_define([MAJOR], 0)
m4_define([MINOR], 9)
m4_define([MICRO], 5)
dnl Process this file with autoconf to produce a configure script.
AC_INIT([xbmc-addon-xvdr], [MAJOR.MINOR.MICRO], [alexander.pipelka@gmail.com])
AC_CONFIG_AUX_DIR(autotools)
AC_PREFIX_DEFAULT(/usr/lib/xbmc)
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
dnl Setup for automake
AM_INIT_AUTOMAKE
dnl Check for tools
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
AC_PROG_MAKE_SET
AC_PROG_CXX
AC_PROG_CPP
AC_PROG_INSTALL
AC_EXEEXT
dnl Check for zlib
zlib_found=yes
ZLIB_LIBS=
AC_CHECK_HEADER(zlib.h,,[zlib_found="no"])
if test x$zlib_found = xyes; then
AC_SEARCH_LIBS(compress, z, [AC_DEFINE([HAVE_ZLIB], 1, [haev zlib compression library installed])])
ZLIB_LIBS="-lz"
AC_SUBST(ZLIB_LIBS)
fi
AC_SUBST(VERSIONEXT)
case $host in
arm*-*-linux-gnu*)
AC_SUBST(ARCH_DEFINES, "-D_ARMEL")
;;
powerpc-*-linux-gnu*)
AC_SUBST(ARCH_DEFINES, "-D_POWERPC")
;;
powerpc64-*-linux-gnu*)
AC_SUBST(ARCH_DEFINES, "-D_POWERPC64")
;;
esac
# Finally create all the generated files
AC_OUTPUT([
Makefile
addons/Makefile
addons/pvr.vdr.xvdr/Makefile
addons/pvr.vdr.xvdr/addon.xml
addons/repository.xvdr/Makefile
addons/repository.xvdr64/Makefile
data/addons.xml
data/Makefile
src/Makefile
src/libxvdr/Makefile
src/libxvdr/src/libTcpSocket/Makefile
src/libxvdr/include/Makefile
src/libxvdr/src/Makefile
src/xvdr/Makefile
])
Jump to Line
Something went wrong with that request. Please try again.