public inbox for hail-devel@vger.kernel.org
 help / color / mirror / Atom feed
From: Samba - BoYang <boyang@samba.org>
To: hail-devel@vger.kernel.org
Subject: Here is small patch to enable link against higher-version db for nfs4d and tabled. :-)
Date: Wed, 14 Apr 2010 18:44:30 +0800	[thread overview]
Message-ID: <4BC59C8E.4040003@samba.org> (raw)
In-Reply-To: <4BC54578.7060108@garzik.org>

[-- Attachment #1: Type: text/plain, Size: 91 bytes --]

Please review them, thanks!

Bo Yang

-- 
Samba Team	boyang@samba.org	http://www.samba.org

[-- Attachment #2: nfs4d-enable-build-on-4.9-mbox.diff --]
[-- Type: text/x-patch, Size: 1370 bytes --]

From ac6d3f7cb7caa3dca498096bd0c07e6b02601239 Mon Sep 17 00:00:00 2001
From: Bo Yang <boyang@samba.org>
Date: Fri, 2 Apr 2010 18:35:12 +0800
Subject: [PATCH] Enable build on db-4.9+.

Signed-off-by: Bo Yang <boyang@samba.org>
---
 configure.ac |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7e8cbc7..3b63cf1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,12 +43,15 @@ dnl -----------------------------
 dnl Checks for required libraries
 dnl -----------------------------
 dnl AC_CHECK_LIB(gssrpc, gssrpc_svc_register, GSSRPC_LIBS=-lgssrpc, exit 1)
-AC_CHECK_LIB(db-4.7, db_create, DB4_LIBS=-ldb-4.7,
+AC_CHECK_LIB(db-5.0, db_create, DB4_LIBS=-ldb-5.0,
+	AC_CHECK_LIB(db-4.9, db_create, DB4_LIBS=-ldb-4.9,
+	AC_CHECK_LIB(db-4.8, db_create, DB4_LIBS=-ldb-4.8,
+	AC_CHECK_LIB(db-4.7, db_create, DB4_LIBS=-ldb-4.7,
 	AC_CHECK_LIB(db-4.6, db_create, DB4_LIBS=-ldb-4.6,
 	AC_CHECK_LIB(db-4.5, db_create, DB4_LIBS=-ldb-4.5,
 	AC_CHECK_LIB(db-4.4, db_create, DB4_LIBS=-ldb-4.4,
 	AC_CHECK_LIB(db-4.3, db_create, DB4_LIBS=-ldb-4.3,
-	[AC_MSG_ERROR([Missing required libdb 4.x])])))))
+	[AC_MSG_ERROR([Missing required libdb 4.x])]))))))))
 AC_CHECK_LIB(event, event_base_new, EVENT_LIBS=-levent,
   [AC_MSG_ERROR([Missing required libevent])])
 AC_CHECK_LIB(argp, argp_parse, ARGP_LIBS=-largp)
-- 
1.6.0.2


[-- Attachment #3: tabled-enable-build-on-4.8-mbox.diff --]
[-- Type: text/x-patch, Size: 1356 bytes --]

From f690daf3648f47a8a7ac317613fff81e24ce6bca Mon Sep 17 00:00:00 2001
From: Bo Yang <boyang@samba.org>
Date: Fri, 2 Apr 2010 18:38:08 +0800
Subject: [PATCH] Enable build on 4.8+.

Signed-off-by: Bo Yang <boyang@samba.org>
---
 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index c6baa15..9095c67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,13 +76,15 @@ dnl -----------------------------
 AC_CHECK_LIB(pcre, pcre_compile, PCRE_LIBS=-lpcre)
 AC_CHECK_LIB(crypto, MD5_Init, CRYPTO_LIBS=-lcrypto)
 AC_CHECK_LIB(ssl, SSL_new, SSL_LIBS=-lssl)
-AC_CHECK_LIB(db-4.8, db_create, DB4_LIBS=-ldb-4.8,
+AC_CHECK_LIB(db-5.0, db_create, DB4_LIBS=-ldb-5.0,
+	AC_CHECK_LIB(db-4.9, db_create, DB4_LIBS=-ldb-4.9,
+	AC_CHECK_LIB(db-4.8, db_create, DB4_LIBS=-ldb-4.8,
 	AC_CHECK_LIB(db-4.7, db_create, DB4_LIBS=-ldb-4.7,
 	AC_CHECK_LIB(db-4.6, db_create, DB4_LIBS=-ldb-4.6,
 	AC_CHECK_LIB(db-4.5, db_create, DB4_LIBS=-ldb-4.5,
 	AC_CHECK_LIB(db-4.4, db_create, DB4_LIBS=-ldb-4.4,
 	AC_CHECK_LIB(db-4.3, db_create, DB4_LIBS=-ldb-4.3,
-  [AC_MSG_ERROR([Missing required libdb 4.x])]))))))
+  [AC_MSG_ERROR([Missing required libdb 4.x])]))))))))
 AC_CHECK_LIB(event, event_base_new, EVENT_LIBS=-levent,
   [AC_MSG_ERROR([Missing required libevent])])
 AC_SEARCH_LIBS(argp_parse, argp)
-- 
1.6.0.2


  parent reply	other threads:[~2010-04-14 10:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-01 11:01 CLD doesn't build on db-4.3 Samba - BoYang
2010-04-01 13:56 ` Pete Zaitcev
2010-04-01 15:03 ` Jeff Garzik
2010-04-01 20:50   ` Pete Zaitcev
2010-04-02  0:38     ` Samba - BoYang
2010-04-02  0:35   ` Samba - BoYang
2010-04-14  4:32     ` Jeff Garzik
2010-04-14  4:59       ` Pete Zaitcev
2010-04-14 10:44       ` Samba - BoYang [this message]
2010-04-14 13:40         ` Here is small patch to enable link against higher-version db for nfs4d and tabled. :-) Jeff Garzik
2010-04-14 13:50           ` Samba - BoYang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BC59C8E.4040003@samba.org \
    --to=boyang@samba.org \
    --cc=hail-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox