thommay 2003/01/20 06:37:19
Modified: . CHANGES
build apu-conf.m4
Log:
BDB 4.1 uses 4001 rather than 4000 when compiled with --with-uniquenames
This updates build/apu-config.m4 to detect this correctly.
Revision Changes Path
1.93 +3 -0 apr-util/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apr-util/CHANGES,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- CHANGES 8 Jan 2003 09:49:32 -0000 1.92
+++ CHANGES 20 Jan 2003 14:37:19 -0000 1.93
@@ -1,5 +1,8 @@
Changes with APR-util 0.9.2
+ *) Detect Berkeley DB 4.1 when compiled with --with-uniquenames
+ [Thom May]
+
*) Allow apu-config to work in symlinked install directories when
'realpath' is available. [Justin Erenkrantz]
1.49 +6 -1 apr-util/build/apu-conf.m4
Index: apu-conf.m4
===================================================================
RCS file: /home/cvs/apr-util/build/apu-conf.m4,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- apu-conf.m4 19 Dec 2002 02:16:10 -0000 1.48
+++ apu-conf.m4 20 Jan 2003 14:37:19 -0000 1.49
@@ -154,7 +154,12 @@
apu_db_header=db.h
apu_db_lib=db
apu_db_version=4
- ])])])
+ ], [
+ AC_CHECK_LIB(db, db_create_4001, [
+ apu_db_header=db.h
+ apu_db_lib=db
+ apu_db_version=4
+ ])])])])
fi
])