Please review them, thanks! Bo Yang -- Samba Team boyang@xxxxxxxxx http://www.samba.org
>From ac6d3f7cb7caa3dca498096bd0c07e6b02601239 Mon Sep 17 00:00:00 2001 From: Bo Yang <boyang@xxxxxxxxx> Date: Fri, 2 Apr 2010 18:35:12 +0800 Subject: [PATCH] Enable build on db-4.9+. Signed-off-by: Bo Yang <boyang@xxxxxxxxx> --- 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
>From f690daf3648f47a8a7ac317613fff81e24ce6bca Mon Sep 17 00:00:00 2001 From: Bo Yang <boyang@xxxxxxxxx> Date: Fri, 2 Apr 2010 18:38:08 +0800 Subject: [PATCH] Enable build on 4.8+. Signed-off-by: Bo Yang <boyang@xxxxxxxxx> --- 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