1) doing a AC_CHECK_HEADERS simply sets a HAVE_DB_H symbol; the autoconf
macro is meaningless unless you also use the symbol in your code. Since
we require the header, getting that symbol set is moot.
2) DB-related autoconf stuff is in ac-helpers/berkeley-db.m4 (dunno why Jim
didn't make that svn-berkeley-db like the other two, but hey :-)
3) berkely-db.m4 should control whether libsvn_fs is built, similar to what
I have done with mod_dav_svn (see subversion/Makefile.am and the
generation of the APACHE_MODULES makefile symbol in svn-apache.m4).
Cheers,
-g
On Thu, Sep 21, 2000 at 05:15:15PM -0000, sussman@tigris.org wrote:
> User: sussman
> Date: 00/09/21 10:15:15
>
> Modified: . configure.in
> Log:
> * configure.in: add check for "db.h"
>
> Revision Changes Path
> 1.27 +3 -0 subversion/configure.in
>
> Index: configure.in
> ===================================================================
> RCS file: /cvs/subversion/configure.in,v
> retrieving revision 1.26
> retrieving revision 1.27
> diff -u -r1.26 -r1.27
> --- configure.in 2000/09/12 00:05:43 1.26
> +++ configure.in 2000/09/21 17:15:14 1.27
> @@ -73,6 +73,9 @@
> dnl -- so is sys/stat.h (check for this?)
> AC_CHECK_HEADERS(unistd.h)
>
> +dnl needed by fs.h
> +dnl todo: can we make sure this is db 3.14 header?
> +AC_CHECK_HEADERS(db.h)
>
> dnl Check for typedefs, structures, and compiler characteristics ----------
>
>
>
>
--
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:08 2006