I'm a gentoo developer, and I came across a problem with the configure script for hydrogen 0.9.3 - configuring with it --disable-debug and --disable-profile actually enables them, but if they're omitted they are disabled.
I've attached a patch to configure.in with the fix. -- Eldad Zack <[EMAIL PROTECTED]> Key/Fingerprint at pgp.mit.edu, ID 0x96EA0A93
--- configure.in.orig 2006-05-07 04:59:45.000000000 +0300
+++ configure.in 2006-05-07 04:59:50.000000000 +0300
@@ -38,8 +38,9 @@
AC_DEFINE_UNQUOTED(CONFIG_PREFIX, ["$ac_prefix"], [Default installation prefix.])
-AC_ARG_ENABLE(profile, [ --enable-profile enable profile info (default=no)], [useProfile="yes"], [useProfile="no"])
+AC_ARG_ENABLE(profile, [ --enable-profile enable profile info (default=no)], [useProfile=$enableval])
if test "x$useProfile" = "xyes"; then
+ echo " * Profile mode enabled."
ac_qmake_cflags="-pg"
ac_qmake_cxxflags="-pg"
ac_qmake_lflags="-pg"
@@ -49,9 +50,9 @@
fi
dnl Enable debugging argument option.
-AC_ARG_ENABLE(debug, [ --enable-debug enable debugging (default=no)], [ac_debug="debug"], [ac_debug="release"])
+AC_ARG_ENABLE(debug, [ --enable-debug enable debugging (default=no)], [debug_enabled=$enableval])
AC_SUBST(ac_debug)
-if test "x$ac_debug" = "xdebug"; then
+if test "x$ac_debug" = "xyes"; then
AC_DEFINE(CONFIG_DEBUG, 1, [Define if debugging is enabled.])
features_list="${features_list} (Debug)"
echo " * Debug mode enabled."
pgpwlDpY4t7gz.pgp
Description: PGP signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
