Made to hard-fail if --with is used.
AC_CHECK_HEADERS(valgrind/memcheck.h,
[ AC_DEFINE(WITH_VALGRIND, 1, [Valgrind memory debugger support])
AC_MSG_NOTICE([Valgrind debug support enabled]) ],
- [ AC_MSG_WARN([Valgrind header not found. Valgrind support disabled.]) ]
+ [ AC_MSG_ERROR([Valgrind header not found. Valgrind support cannot be built.]) ]
)
fi
])
# --enable-epoll \
# --enable-kqueue \
# --enable-win32-service \
+# --with-valgrind-debug \
#
#
OPTS=" \
--with-large-files \
--with-pic \
--with-pthreads \
- --with-valgrind-debug \
"
# Fix the distclean testing.