configure.ac: add --enable-cleanup which add EXIT_CLEANUP define, to ifdef code for testing with valgrind

This commit is contained in:
[CST] Focus
2012-05-02 17:48:55 +04:00
parent d02b1c9042
commit 1684a850f1

View File

@@ -114,6 +114,10 @@ if test "$enable_upnp" = "yes"; then
AC_DEFINE(ENABLE_UPNP,1,[include UPNP support - currently broken])
fi
AC_ARG_ENABLE(cleanup,
[ --enable-cleanup enable cleanup on exit],
[AC_DEFINE(EXIT_CLEANUP,1,[enable cleanup on exit])])
AC_CHECK_HEADERS(coolstream/nevis_ir.h)
#