Group :: Desenvolvimento/C++
RPM: wvstreams
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: wvstreams-4.0.2-alt-configure-db4.patch
Download
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