X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/ffc9f02ea0544d4b1aa86e29afe12a2b4bace953..528c2172b1c03907a72c0894320f5aa2f96eb58e:/configure.in diff --git a/configure.in b/configure.in index 44d05fc..542cfec 100644 --- a/configure.in +++ b/configure.in @@ -26,15 +26,26 @@ ## AC_INIT(configure.in) -AM_INIT_AUTOMAKE(plaqui, 1.0) +AM_INIT_AUTOMAKE(plaqui, 1.0.1) AM_MAINTAINER_MODE +dnl Prevents setting flags. +CXXFLAGS="" + AC_ISC_POSIX AC_PROG_CXX AM_PROG_CC_STDC AC_PROG_RANLIB AC_HEADER_STDC +dnl Debugging turned on +AC_MSG_CHECKING(for debugging) +AC_ARG_ENABLE(debug,[ --enable-debug compile for debugging]) +AC_MSG_RESULT([$enable_debug]) +if test "x$enable_debug" = "xyes" ; then +CXXFLAGS="${CXXFLAGS} -g -DDEBUG" +fi + ## pkg_modules="libgnomeui-2.0" PKG_CHECK_MODULES(PACKAGE, libxml-2.0 >= 0.15.0 \