OSDN Git Service

Wrote some texts, fixed configure.in and Makefile.am, and fixed islibfunc.hpp, system...
[islib/islib.git] / configure.in
index 7342a9f..8544b06 100644 (file)
@@ -6,7 +6,10 @@ AC_INIT([islib], [1.0.0], [issoftware@users.sourceforge.jp])
 AC_CONFIG_SRCDIR([config.h.in])
 AC_CONFIG_HEADERS([config.h])
 
+AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], [Turn on debugging]), enable_debug="$enableval", enable_fcgi="no")
+
 AM_INIT_AUTOMAKE([$PACKAGE_NAME], [$PACKAGE_VERSION])
+AM_CONDITIONAL([DEBUG], [test "$enable_debug" = "yes"])
 
 # Checks for programs.
 AC_PROG_CXX