]> git.pld-linux.org Git - packages/poldek.git/blob - no-bdb-for-rpm-org.patch
Release 19 (by relup.sh)
[packages/poldek.git] / no-bdb-for-rpm-org.patch
1 --- poldek-0.42.2/configure.ac~ 2021-11-11 23:41:40.000000000 +0100
2 +++ poldek-0.42.2/configure.ac  2021-11-11 23:52:39.152953112 +0100
3 @@ -327,7 +327,7 @@
4         #fi
5  else
6      if test "${is_rpmorg}." = "yes."; then
7 -       AC_CHECK_LIB(db, db_create, [DBLIB="-ldb"],,[$LIBS])
8 +       : ;
9      else
10          AC_CHECK_LIB(db4, db_create, [DBLIB="-ldb4" DBINCLUDE="-I/usr/include/db4"],
11              [AC_CHECK_LIB(db-4.1, db_create, [DBLIB="-ldb-4.1" DBINCLUDE="-I/usr/include/db4.1"],
12 @@ -372,9 +372,11 @@
13                              AC_DEFINE([HAVE_RPM_4_2],1,[])])
14  AC_CHECK_FUNCS(hGetColor, AC_DEFINE([HAVE_RPM_HGETCOLOR],1,[]))
15  
16 +if test "${is_rpmorg}." != "yes."; then
17  AC_CHECK_HEADERS([db_185.h],,[
18         AC_MSG_WARN(["disabled synchronization with db file-dependencies"]) ])
19  AC_CHECK_FUNCS(__db185_open)
20 +fi
21  
22  dnl 4.0.4 has cross dependenecies(?)
23  if test "${is_rpm4_0_4}." = "yes." -a "${ENABLE_STATIC}." = "yes." ; then
This page took 0.039522 seconds and 3 git commands to generate.