if test "x$enable_debug" = "xyes" ; then
AC_DEFINE(ENABLE_DEBUG, [1], [Enable debug features])
AC_ARG_ENABLE(tests, [ --enable-tests build unit tests],
if test "x$enable_debug" = "xyes" ; then
AC_DEFINE(ENABLE_DEBUG, [1], [Enable debug features])
AC_ARG_ENABLE(tests, [ --enable-tests build unit tests],