From f794b9ee52293cefd6ac73fdf0d2a01c5388f057 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 31 Jan 2008 18:22:44 +0000 Subject: modular system works now --- configure.in | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 3b0b911..0a52322 100644 --- a/configure.in +++ b/configure.in @@ -75,16 +75,14 @@ AC_ARG_ENABLE(warn, AC_SUBST(WARN_CFLAGS) -AC_MSG_CHECKING(whether to build a debug version) -DEBUG_CFLAGS="" -AC_ARG_ENABLE(debug, +AC_MSG_CHECKING(whether to include debug messages) +AC_ARG_ENABLE(debug_messages, AC_HELP_STRING( - [--disable-debug], [build without extra debug information] + [--disable-debug-messages], [build without extra debug information] ), AC_MSG_RESULT(no), AC_MSG_RESULT(yes) - AC_DEFINE_UNQUOTED(HAVE_DEBUG, 1, [Defines if debug information is enabled]) - HAVE_DEBUG="-g" + AC_DEFINE_UNQUOTED(HAVE_DEBUG_MESSAGES, 1, [Defines if debug information is enabled]) ) AC_CHECK_HEADER(GL/gl.h, @@ -152,18 +150,14 @@ AC_MSG_RESULT([ The Osirion Project $VERSION Configuration summary: - - platform ...................... $host - - flags ......................... $CXXFLAGS - debug information ............. $HAVE_DEBUG + platform ........... $host + flags .............. $CXXFLAGS + debug messages ..... $debug_messages Installation directories: - - prefix ........................ $PREFIX - program binaries .............. $BINDIR - libraries ..................... $LIBDIR - data .......................... $DATADIR - + prefix ............. $PREFIX + program binaries ... $BINDIR + libraries .......... $LIBDIR + data ............... $DATADIR ]) -- cgit v1.2.3