- [AC_CHECK_LIB(db-4.0, db_create, [DBLIB="-ldb-4.0" DBINCLUDE="-I/usr/include/db4.0"],
- [AC_CHECK_LIB(db-5.2, db_create, [DBLIB="-ldb-5.2" DBINCLUDE="-I/usr/include/db5.2"],,[$LIBS])],
- [$LIBS])],, [$LIBS])],, [$LIBS])
-+AC_CHECK_LIB(db-4.5, db_create, [DBLIB="-ldb-4.5" DBINCLUDE="-I/usr/include/db4.5"],,[$LIBS])
++AC_CHECK_LIB(db-4.7, db_create, [DBLIB="-ldb-4.7" DBINCLUDE="-I/usr/include/db4.7"],,[$LIBS])
- if test "${ENABLE_STATIC}." = "yes."; then
- DBLIB="$DBLIB"
Patch2: pm-hooks.patch
Patch3: WTERMSIG.patch
Patch4: %{name}-no_local_stdint.patch
+Patch5: %{name}-libdb.patch
URL: http://poldek.pld-linux.org/
BuildRequires: %{db_pkg}-devel >= %{ver_db}-%{ver_db_rel}
BuildRequires: autoconf
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%{__rm} m4/libtool.m4 m4/lt*.m4