diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-04-10 21:39:54 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-04-10 21:39:54 +0100 |
commit | 104d3fdf2af507145f7a936d5b2208c9a678638c (patch) | |
tree | a4c37f9815ae147830b4ebc186657971f7230541 /configure.ac | |
parent | 2cf4445f446410a072d90a2aca84d3b61bb9d5cf (diff) | |
parent | cef40051eaa2199b20973217604f33a9eec75eda (diff) | |
download | xine-lib-104d3fdf2af507145f7a936d5b2208c9a678638c.tar.gz xine-lib-104d3fdf2af507145f7a936d5b2208c9a678638c.tar.bz2 |
Merge Reinhard Nissl's changes.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index a8bc9b8a6..4ecb5bce7 100644 --- a/configure.ac +++ b/configure.ac @@ -2582,9 +2582,15 @@ esac AC_SUBST([NOUNDEF]) dnl Common cflags for all platforms -CFLAGS="-DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE \$(MULTIPASS_CFLAGS) $warnflags $CFLAGS" +CFLAGS="-D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE \$(MULTIPASS_CFLAGS) $warnflags $CFLAGS" DEBUG_CFLAGS="-D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE $DEBUG_CFLAGS" +if test "x$enable_debug" = "xyes"; then + CFLAGS="$CFLAGS -DDEBUG" +else + CFLAGS="$CFLAGS -DNDEBUG" +fi + dnl --------------------------------------------- dnl Output configuration files dnl --------------------------------------------- |