I've looked deeper into the configure script and found that
--enable-debug is intended to do the trick. What appears to be
missing is the setting of the -g switch. This switch is supposed to
be set automatically, but is being blocked by the presence of other
options. The attached patch moves the check for the C compiler to the
top of the configuration script which fixes the problem.
Index: configure.in
===================================================================
--- configure.in (revision 6949)
+++ configure.in (working copy)
@@ -49,6 +49,9 @@
MKDIR="$INSTALL -d"
AC_SUBST(MKDIR)
+dnl Look for a C compiler early so that we get the -g switch
+AC_PROG_CC
+
dnl Grab our own macros
sinclude(build/ac-macros/berkeley-db.m4)
sinclude(build/ac-macros/svn-apache.m4)
@@ -175,9 +178,6 @@
dnl Check for programs ---------------------
-dnl Look for a C compiler
-AC_PROG_CC
-
dnl Look for a C pre-processor
AC_PROG_CPP
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 2 22:22:11 2003