AUTHORS: Document the only author so far ;)
[liboping.git] / configure.ac
index c7c33ab..0b9a8c0 100644 (file)
@@ -1,4 +1,4 @@
-AC_INIT(liboping, 0.2.1-alpha0)
+AC_INIT(liboping, 0.2.2)
 AC_CONFIG_SRCDIR(src/liboping.c)
 AC_CONFIG_HEADERS(src/config.h)
 AM_INIT_AUTOMAKE(dist-bzip2)
@@ -158,4 +158,13 @@ AC_CHECK_FUNCS(nanosleep, [],
                AC_MSG_ERROR(cannot find nanosleep)))
 AM_CONDITIONAL(BUILD_WITH_LIBRT, test "x$nanosleep_needs_rt" = "xyes")
 
+AC_ARG_ENABLE(debug, [AS_HELP_STRING([--enable-debug], [Enable extensive debugging output.])],
+[
+       if test "x$enable_debug" = "xyes"
+       then
+               AC_DEFINE(WITH_DEBUG, 1, [Define to 1 if you want to get debugging output.])
+       fi
+], [])
+AM_CONDITIONAL(BUILD_WITH_DEBUG, test "x$enable_debug" = "xyes")
+
 AC_OUTPUT(Makefile src/Makefile src/mans/Makefile)