]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - configure.in
hay que completarlo pero no se como
[z.facultad/75.42/plaqui.git] / configure.in
index 27cb5bea86b66b413c851f1c24c93b68696e0575..feefa97c493a883feeb571e7f41feb89840370f1 100644 (file)
@@ -29,15 +29,27 @@ AC_INIT(configure.in)
 AM_INIT_AUTOMAKE(plaqui, 1.0)
 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 \
+               libxml++-1.0 >= 0.15.0 \
                gthread-2.0 \
                sigc++-1.2 \
                gtkmm-2.0 >= 2.0.0 \
@@ -52,7 +64,6 @@ Model/Makefile
 Model/src/Makefile
 Server/Makefile
 Server/src/Makefile
-Server/tests/Makefile
 Client/Makefile
 Client/pixmaps/Makefile
 Client/dialogs/Makefile