File:
[DVB] /
dsmcc-mhp-tools /
configure.in
Revision
1.7:
download - view:
text,
annotated -
select for diffs
Tue Apr 26 23:01:25 2005 UTC (19 years, 1 month ago) by
mass
Branches:
MAIN
CVS tags:
HEAD
- applied a great patch which fixes some TransactionID inconsistencies
and ObjectCarousel updates
Sorry I can't find out YOUR name anymore :( I was hoping to do so, but I
have no access to my workstation at my old office (which isn't longer..).
I just copied the attachment from your email to review the patch at home,
long long time ago :-/
Thank you, nameless hero! ;-)
# configure.in file for dsmcc-mhp-tools
# Process this file with autoconf to produce a configure script
AC_INIT(Makefile.am)
# For automake
VERSION=1.31
PACKAGE=dsmcc-mhp-tools
# Initialize automake stuff
AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
# Specify a configuration file
AM_CONFIG_HEADER(config.h)
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AM_PROG_CC_STDC
# Checks for header files.
AC_HEADER_STDC
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_ISC_POSIX
AC_CANONICAL_HOST
# Honor aclocal flags
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
DSMCC_MHP_TOOLS_CFLAGS=
DSMCC_MHP_TOOLS_LDFLAGS=
dnl Use -Wall if we have gcc.
changequote(,)dnl
if test "x$GCC" = "xyes"; then
case " $DSMCC_MHP_TOOLS_CFLAGS" in
*[\ \ ]-Wall[\ \ ]*) ;;
*) DSMCC_MHP_TOOLS_CFLAGS="$DSMCC_MHP_TOOLS_CFLAGS -Wall" ;;
esac
fi
changequote([,])dnl
#dnl (De-)Compression
#AC_CHECK_HEADER(zlib.h,,
# AC_MSG_ERROR([*** dsmcc-mhp-tools require zlib.h]))
#AC_CHECK_LIB(z, deflate,
# DSMCC_MHP_TOOLS_LDFLAGS="$DSMCC_MHP_TOOLS_LDFLAGS -lz",
# AC_MSG_ERROR([*** dsmcc-mhp-tools require libz]))
AC_ARG_ENABLE(debug,
[ --enable-debug enable debugging support [default=no]],,enable_debug=no)
if test "x$enable_debug" = xyes; then
DSMCC_MHP_TOOLS_CFLAGS="$DSMCC_MHP_TOOLS_CFLAGS -g3 -O0"
AC_DEFINE(ENABLE_DEBUG, 1, [define if you want debugging support])
else
DSMCC_MHP_TOOLS_CFLAGS="$DSMCC_MHP_TOOLS_CFLAGS -g0 -O3"
fi
AM_CONDITIONAL(ENABLE_DEBUG, test "x$enable_debug" = xyes)
CFLAGS=$DSMCC_MHP_TOOLS_CFLAGS
LDFLAGS=$DSMCC_MHP_TOOLS_LDFLAGS
# Export the version string
AC_DEFINE_UNQUOTED(VERSION_STRING, "$VERSION", [Version string])
# Substitute these variables
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
# Output this Makefiles
AC_OUTPUT(Makefile src/Makefile)
AC_MSG_RESULT([
Now type 'make' to compile $PACKAGE ($VERSION)
])
LinuxTV legacy CVS <linuxtv.org/cvs>