Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37727253
en ru br
ALT Linux repos
S:4.6.1-alt8
5.0: 4.5.1-alt3.git20090319.M50.1
3.0: 4.0.2-alt1

Group :: Development/C++
RPM: wvstreams

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: wvstreams-4.0.2-alt-configure-db4.patch
Download


--- wvstreams-4.0.2/configure.ac-	2005-03-24 05:01:23 +0300
+++ wvstreams-4.0.2/configure.ac	2005-04-30 19:07:53 +0400
@@ -369,18 +369,8 @@ fi
 
 # bdb
 if test "$with_bdb" != "no"; then
-    AC_CHECK_HEADERS(db.h,, [with_bdb_header=no],
-                     [#include <db.h>
-                      #ifdef DB_VERSION_MAJOR
-                      #error "this is Berkeley DB 2.x or newer"
-                      #endif])
-    if test "$with_bdb_header" = "no"; then
-        AC_CHECK_HEADERS(db_185.h,, [with_bdb=no])
-    fi
-    AC_CHECK_LIB(db, dbopen,, [with_bdb_lib=no])
-    if test "$with_bdb_lib" = "no"; then
-        AC_CHECK_LIB(db1, dbopen, [with_bdb_lib=yes],)
-    fi
+    AC_CHECK_HEADERS(db_185.h,, [with_bdb=no])
+    AC_CHECK_LIB(db, __db185_open,, [with_bdb_lib=no])
     if test "$with_bdb_lib" = "no"; then
         with_bdb=no
     fi
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin