[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-1203-ge4a26c9
Karolin Seeger
kseeger at samba.org
Fri Aug 7 00:14:23 MDT 2009
The branch, v3-4-test has been updated
via e4a26c94271409d58138391d523305d641105a05 (commit)
from bddd55fa8a20a7a2d6d521ec951d13f548950b26 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test
- Log -----------------------------------------------------------------
commit e4a26c94271409d58138391d523305d641105a05
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 26 21:52:34 2009 +0200
The solaris linker seems to require an extra mention of dependent libs
(cherry picked from commit 04e4d03868ea67f323bf008eb7b9af740a0467ac)
-----------------------------------------------------------------------
Summary of changes:
source3/configure.in | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/configure.in b/source3/configure.in
index fc41b35..f6ee056 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -6065,7 +6065,6 @@ fi
AC_ARG_ENABLE(avahi,
[AS_HELP_STRING([--enable-avahi], [Enable Avahi support (default=auto)])])
-AC_SUBST(AVAHI_LIBS)
if test x"$enable_avahi" != x"no"; then
have_avahi_support=yes
@@ -6079,12 +6078,18 @@ if test x"$enable_avahi" != x"no"; then
have_avahi_support=no
fi
- AC_CHECK_LIB_EXT(avahi-client, AVAHI_LIBS, avahi_client_new)
- if test x"$ac_cv_lib_ext_avahi_client_avahi_client_new" != x"yes"; then
+ save_LIBS="$LIBS"
+ AC_CHECK_LIB(avahi-client, avahi_client_new)
+ AC_CHECK_LIB(avahi-common, avahi_strerror)
+ LIBS="$save_LIBS"
+
+ if test x"$ac_cv_lib_ext_avahi_client_avahi_client_new" != x"yes" -o \
+ test x"$ac_cv_lib_ext_avahi_common_avahi_strerror" != x"yes" ; then
have_avahi_support=no
fi
if test x"$have_avahi_support" = x"yes"; then
+ AC_SUBST(AVAHI_LIBS, "-lavahi-client -lavahi-common")
AC_DEFINE(WITH_AVAHI_SUPPORT, 1,
[Whether to enable avahi support])
AC_SUBST(AVAHI_OBJ, "lib/avahi.o smbd/avahi_register.o")
--
Samba Shared Repository
More information about the samba-cvs
mailing list