From dddc764e7a43614ddc347e0feefe2e80bbea25a0 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/151ad95def02461178026b5579c822a92baa95e0 Author: [CST] Focus Date: 2012-05-02 (Wed, 02 May 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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) #