[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Make configure report the components detected

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-10-08 22:53:10 CEST

Our current configure script warns at the end if BDB hasn't been
found. Given that it's now just one of the components that can be used
to build Subversion on (and that FSFS isn't so immature anymore), it
would be more logical to report which components *are* used. From
that, the user can decide if the list is correct or not.

Here's a patch to achieve that. Comments?

Log:
[[[
Make configure report the components detected.

* configure.in:
  Write out a series of NOTICEs stating what's been detected, instead
  of warning about not finding BDB.
]]]
Index: configure.in
===================================================================
--- configure.in (revision 21833)
+++ configure.in (working copy)
@@ -785,19 +785,50 @@
 dnl Hence, print a warnings about what we did and didn't configure at the
 dnl end, where people will actually see them.

+AC_MSG_NOTICE([Subversion has been configured using the following
components:])+AC_MSG_NOTICE([ APR $apr_version])
+AC_MSG_NOTICE([ APR-util $apu_version])
+case "$svn_lib_neon" in
+ "no" )
+ AC_MSG_NOTICE([ neon no])
+ ;;
+ "yes" )
+ AC_MSG_NOTICE([ neon $NEON_VERSION])
+ ;;
+esac
+AC_MSG_NOTICE([ serf $serf_found])
 case "$svn_lib_berkeley_db" in
   "no" )
- db_version="$SVN_FS_WANT_DB_MAJOR.$SVN_FS_WANT_DB_MINOR.$SVN_FS_WANT_DB_PATCH"
- AC_MSG_WARN([we have configured without BDB filesystem support
-
-
-You don't seem to have Berkeley DB version $db_version or newer
-installed and linked to APR-UTIL. We have created Makefiles which
-will build without the Berkeley DB back-end; your repositories will
-use FSFS as the default back-end. You can find the latest version of
-Berkeley DB here:
- http://www.sleepycat.com/download/index.shtml
-])
-;;
+ AC_MSG_NOTICE([ BerkeleyDB no])
+ ;;
+ "yes" )
+ AC_MSG_NOTICE([ BerkeleyDB $db_version])
+ ;;
 esac
-
+case "!$APXS!" in
+ "!no!"|"!!" )
+ AC_MSG_NOTICE([ Apache (module) no])
+ ;;
+ * )
+ AC_MSG_NOTICE([ Apache (module) yes])
+ ;;
+esac
+dnl How to output 'Apache (static)'?
+case "$SWIG" in
+ "none" )
+ AC_MSG_NOTICE([ SWIG no])
+ ;;
+ * )
+ AC_MSG_NOTICE([ SWIG $SWIG_VERSION_RAW])
+ ;;
+esac
+AC_MSG_NOTICE([ zlib $zlib_found])
+AC_MSG_NOTICE([ sasl $svn_lib_sasl])
+case "$JAVA" in
+ "" )
+ AC_MSG_NOTICE([ java no])
+ ;;
+ * )
+ AC_MSG_NOTICE([ java $JAVA])
+ ;;
+esac

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 8 22:53:27 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.