summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-01-19 16:22:45 +0100
committerGünther Deschner <gd@samba.org>2010-01-19 16:24:35 +0100
commit40d3408dd3fd908e1fe15ff81015ab4275b6ad74 (patch)
tree705e4ba6db03ad1bd63cc11e2280a42a0dad838a /source4
parentadd4edcd063591839111d474543ceea847413f6f (diff)
downloadsamba-40d3408dd3fd908e1fe15ff81015ab4275b6ad74.tar.gz
samba-40d3408dd3fd908e1fe15ff81015ab4275b6ad74.tar.bz2
samba-40d3408dd3fd908e1fe15ff81015ab4275b6ad74.zip
s4-smbtorture: also configure check smbc_setOptionCaseSensitive for LIBSMBCLIENT testsuite.
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/libsmbclient/config.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/libsmbclient/config.m4 b/source4/torture/libsmbclient/config.m4
index a53b4d6b35..39b3360750 100644
--- a/source4/torture/libsmbclient/config.m4
+++ b/source4/torture/libsmbclient/config.m4
@@ -21,7 +21,8 @@ if test x$use_libsmbclient != xno; then
AC_CHECK_HEADERS(libsmbclient.h)
AC_CHECK_LIB_EXT(smbclient, SMBCLIENT_LIBS, smbc_new_context)
AC_CHECK_LIB_EXT(smbclient, SMBCLIENT_LIBS, smbc_getOptionNoAutoAnonymousLogin)
- if test x"$ac_cv_header_libsmbclient_h" = x"yes" -a x"$ac_cv_lib_ext_smbclient_smbc_new_context" = x"yes" -a x"$ac_cv_lib_ext_smbclient_smbc_getOptionNoAutoAnonymousLogin" = x"yes"; then
+ AC_CHECK_LIB_EXT(smbclient, SMBCLIENT_LIBS, smbc_setOptionCaseSensitive)
+ if test x"$ac_cv_header_libsmbclient_h" = x"yes" -a x"$ac_cv_lib_ext_smbclient_smbc_new_context" = x"yes" -a x"$ac_cv_lib_ext_smbclient_smbc_getOptionNoAutoAnonymousLogin" = x"yes" -a x"$ac_cv_lib_ext_smbclient_smbc_setOptionCaseSensitive" = x"yes"; then
AC_DEFINE(ENABLE_LIBSMBCLIENT,1,[Whether we have libsmbclient on the host system])
SMB_ENABLE(SMBCLIENT,YES)
SMB_ENABLE(TORTURE_LIBSMBCLIENT,YES)