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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 151ad95def
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-02 (Wed, 02 May 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-05-02 17:48:55 +04:00
parent 5c7c21f86f
commit dddc764e7a

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)
#