Commit e8cc2c2b authored by Christophe Massiot's avatar Christophe Massiot

Fix for MacOS X.

parent ce657dce
This diff is collapsed.
AC_INIT(src/dvbpsi.c) AC_INIT(src/dvbpsi.c)
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE(libdvbpsi, 0.1.0) AM_INIT_AUTOMAKE(libdvbpsi, 0.1.0)
AM_CONFIG_HEADER(src/config.h) AM_CONFIG_HEADER(src/config.h)
AC_CANONICAL_HOST #AC_CANONICAL_HOST
AC_PROG_CC AC_PROG_CC
AC_STDC_HEADERS AC_STDC_HEADERS
...@@ -12,6 +15,13 @@ AM_PROG_LIBTOOL ...@@ -12,6 +15,13 @@ AM_PROG_LIBTOOL
dnl default CFLAGS dnl default CFLAGS
CFLAGS="-Wall -DDVBPSI_DIST" CFLAGS="-Wall -DDVBPSI_DIST"
dnl check the operating system
case x"${target_os}" in
xdarwin*)
CFLAGS="${CFLAGS} -no-cpp-precomp"
;;
esac
dnl --enable-debug dnl --enable-debug
AC_ARG_ENABLE(debug, AC_ARG_ENABLE(debug,
[ --enable-debug Enable debug mode (default disabled)], [ --enable-debug Enable debug mode (default disabled)],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment