ossp-pkg/cfg/configure.ac 1.11 -> 1.12
--- configure.ac 2004/10/31 19:35:31 1.11
+++ configure.ac 2004/11/29 07:09:33 1.12
@@ -52,6 +52,9 @@
AC_CHECK_EXTLIB(Dmalloc, dmalloc, dmalloc_debug, dmalloc.h,
AC_DEFINE(WITH_DMALLOC, 1, [define if building with Dmalloc]))
+if test ".$with_dmalloc" = .yes; then
+ CFLAGS=`echo "X$CFLAGS" | sed -e 's;^X;;' -e 's; -Wredundant-decls;;'`
+fi
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([Makefile cfg-config])
|
|