+Mon Feb 15 07:45:54 1999 Tim Janik <timj@gtk.org>
+
+ * configure.in (--enable-debug): default to yes for development trees.
+
Mon Feb 15 06:18:58 1999 Tim Janik <timj@gtk.org>
* glib.h: return guints instead of gints for g_hash_table_size
+Mon Feb 15 07:45:54 1999 Tim Janik <timj@gtk.org>
+
+ * configure.in (--enable-debug): default to yes for development trees.
+
Mon Feb 15 06:18:58 1999 Tim Janik <timj@gtk.org>
* glib.h: return guints instead of gints for g_hash_table_size
+Mon Feb 15 07:45:54 1999 Tim Janik <timj@gtk.org>
+
+ * configure.in (--enable-debug): default to yes for development trees.
+
Mon Feb 15 06:18:58 1999 Tim Janik <timj@gtk.org>
* glib.h: return guints instead of gints for g_hash_table_size
+Mon Feb 15 07:45:54 1999 Tim Janik <timj@gtk.org>
+
+ * configure.in (--enable-debug): default to yes for development trees.
+
Mon Feb 15 06:18:58 1999 Tim Janik <timj@gtk.org>
* glib.h: return guints instead of gints for g_hash_table_size
+Mon Feb 15 07:45:54 1999 Tim Janik <timj@gtk.org>
+
+ * configure.in (--enable-debug): default to yes for development trees.
+
Mon Feb 15 06:18:58 1999 Tim Janik <timj@gtk.org>
* glib.h: return guints instead of gints for g_hash_table_size
+Mon Feb 15 07:45:54 1999 Tim Janik <timj@gtk.org>
+
+ * configure.in (--enable-debug): default to yes for development trees.
+
Mon Feb 15 06:18:58 1999 Tim Janik <timj@gtk.org>
* glib.h: return guints instead of gints for g_hash_table_size
+Mon Feb 15 07:45:54 1999 Tim Janik <timj@gtk.org>
+
+ * configure.in (--enable-debug): default to yes for development trees.
+
Mon Feb 15 06:18:58 1999 Tim Janik <timj@gtk.org>
* glib.h: return guints instead of gints for g_hash_table_size
+Mon Feb 15 07:45:54 1999 Tim Janik <timj@gtk.org>
+
+ * configure.in (--enable-debug): default to yes for development trees.
+
Mon Feb 15 06:18:58 1999 Tim Janik <timj@gtk.org>
* glib.h: return guints instead of gints for g_hash_table_size
# we rewrite this file
rm -f glibconfig-sysdefs.h
+dnl we to AC_DIVERT_PUSH/AC_DIVERT_POP these variable definitions so they
+dnl are available for $ac_help expansion (don't we all *love* autoconf?)
+AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
+#
# The following version number definitions apply to GLib and GModule
# as a whole, so if changes occoured in either of them, they are both
# treated with the same interface and binary age.
GLIB_INTERFACE_AGE=2
GLIB_BINARY_AGE=2
GLIB_VERSION=$GLIB_MAJOR_VERSION.$GLIB_MINOR_VERSION.$GLIB_MICRO_VERSION
+dnl
+AC_DIVERT_POP()dnl
+
AC_SUBST(GLIB_VERSION)
# libtool versioning
AC_CANONICAL_HOST
-AC_ARG_ENABLE(debug, [ --enable-debug=[no/minimum/yes] turn on debugging [default=minimum]],,enable_debug=minimum)
+dnl figure debugging default, prior to $ac_help setup
+dnl
+AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
+if test `expr $GLIB_MINOR_VERSION \% 2` = 1 ; then
+ debug_default=yes
+else
+ debug_default=minimum
+fi
+AC_DIVERT_POP()dnl
+
+dnl declare --enable-* args and collect ac_help strings
+AC_ARG_ENABLE(debug, [ --enable-debug=[no/minimum/yes] turn on debugging [default=$debug_default]],,enable_debug=$debug_default)
AC_ARG_ENABLE(mem_check, [ --enable-mem-check turn on malloc/free sanity checking [default=no]],,enable_mem_check=no)
AC_ARG_ENABLE(mem_profile, [ --enable-mem-profile turn on malloc profiling atexit [default=no]],,enable_mem_profile=no)
AC_ARG_ENABLE(ansi, [ --enable-ansi turn on strict ansi [default=no]],