From 1684a850f19a10f9ba06466e1653aff736f91e0f Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 2 May 2012 17:48:55 +0400 Subject: [PATCH] configure.ac: add --enable-cleanup which add EXIT_CLEANUP define, to ifdef code for testing with valgrind --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index e61d97be0..d1d0378da 100644 --- a/configure.ac +++ b/configure.ac @@ -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) #