apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <i...@cnet.com>
Subject [PATCH] apu-conf (fix for Berkeley DB)
Date Mon, 03 Dec 2001 22:30:04 GMT
this fix works for me on linux rh7.2
and Solaris 8 
the previous version failed if db2 didn't exist which would happen if
it wasn't installed, and db3 was.

BTW db_open doesn't exist in db3, but db_version exists in 2/3 and not
in 1.

Can some other people pls test this on their configs as I don't want to
screw you over (again)

..Ian

Index: build/apu-conf.m4
===================================================================
RCS file: /home/cvspublic/apr-util/build/apu-conf.m4,v
retrieving revision 1.19
diff -u -r1.19 apu-conf.m4
--- build/apu-conf.m4	2001/11/30 18:27:46	1.19
+++ build/apu-conf.m4	2001/12/03 22:09:30
@@ -95,7 +95,7 @@
 dnl
 AC_DEFUN(APU_CHECK_DB2OR3,[
 AC_CHECK_HEADER(db.h, [
-  AC_CHECK_LIB(db2, db_open, [
+  AC_CHECK_LIB(db, db_version, [
   apu_have_db=1
   db_header=db.h
   db_lib=db

-- 
Ian Holsman          IanH@cnet.com
Performance Measurement & Analysis
CNET Networks   -   (415) 344-2608


Mime
View raw message