jerenkrantz 2002/12/18 18:16:10
Modified: . CHANGES
build apu-conf.m4
Log:
Debian provides a db4 with configured with --with-uniquenames so the
symbols are suffixed _4000. Therefore, add an explicit autoconf
check for this condition.
When we include db.h, it hides the uniquenames option, so we don't have to
change any other code.
Submitted by: Philip Martin <[EMAIL PROTECTED]>
Reviewed by: Justin Erenkrantz
Revision Changes Path
1.89 +3 -0 apr-util/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apr-util/CHANGES,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -u -r1.88 -r1.89
--- CHANGES 17 Dec 2002 19:16:39 -0000 1.88
+++ CHANGES 19 Dec 2002 02:16:09 -0000 1.89
@@ -1,5 +1,8 @@
Changes with APR-util 0.9.2
+ *) Detect Berkeley DB 4.0 compiled with --with-uniquenames.
+ [Philip Martin <[EMAIL PROTECTED]>]
+
*) Allocate brigades from a bucket allocator rather than a pool. [Brian
Pane]
*) Update with the latest APR renames [Thom May]
1.48 +5 -0 apr-util/build/apu-conf.m4
Index: apu-conf.m4
===================================================================
RCS file: /home/cvs/apr-util/build/apu-conf.m4,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -u -r1.47 -r1.48
--- apu-conf.m4 15 Dec 2002 19:36:41 -0000 1.47
+++ apu-conf.m4 19 Dec 2002 02:16:10 -0000 1.48
@@ -149,6 +149,11 @@
apu_db_header=db.h
apu_db_lib=db
apu_db_version=4
+ ])], [
+ AC_CHECK_LIB(db, db_create_4000, [
+ apu_db_header=db.h
+ apu_db_lib=db
+ apu_db_version=4
])])])
fi
])