You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/12/08 22:02:33 UTC

DO NOT REPLY [Bug 25340] New: - db4 check m4 rule

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25340

db4 check  m4 rule

           Summary: db4 check  m4 rule
           Product: Apache httpd-2.0
           Version: 2.0.47
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: vvikram@everesttech.net


small change to the srclib/apr-util/build/apr-conf.m4 rule file. currently the
check for db4 goes like:
- check for db4
- check for db4.0

another check should be added to make it
- check for db4
- check for db-4
- check for db4.0

or at the very least it should be:
- check for db4
- check for db-4

this is because a libdb4 built from source usually defaults to libdb-4.so which
is a symlink to the actual version. we have encountered this more than once
while we built apache and lidb4 support from source.

the patch for [db4, db-4] . you might want to add back db-4.0 check in it. 
thanks for the great work!

---

diff -Naur source/httpd-2.0.47/srclib/apr-util/build/apu-conf.m4
build/httpd-2.0.47/srclib/apr-util/build/apu-conf.m4
--- source/httpd-2.0.47/srclib/apr-util/build/apu-conf.m4   2003-05-28
02:56:21.000000000 -0700
+++ build/httpd-2.0.47/srclib/apr-util/build/apu-conf.m4    2003-11-30
16:54:49.000000000 -0800
@@ -135,9 +135,9 @@
   apu_db_lib=db4
   apu_db_version=4
   ], [
-  AC_CHECK_LIB(db-4.0, db_create, [
+  AC_CHECK_LIB(db-4, db_create, [
   apu_db_header=db4/db.h
-  apu_db_lib=db-4.0
+  apu_db_lib=db-4
   apu_db_version=4
   ])])])
 if test "$apu_db_version" != "4"; then

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org