Ignore:
Timestamp:
Mar 12, 2008, 9:08:18 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.28a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/configure.in

    r105 r124  
    25422542AC_CACHE_CHECK([for inotify support],samba_cv_HAVE_INOTIFY,[
    25432543AC_CHECK_HEADERS(linux/inotify.h asm/unistd.h)
    2544 AC_CHECK_FUNC(inotify_init)
     2544AC_CHECK_FUNCS(inotify_init)
    25452545AC_HAVE_DECL(__NR_inotify_init, [#include <asm/unistd.h>])
    25462546],
     
    32433243  # this test must be before the libldap test
    32443244  AC_CHECK_LIB_EXT(lber, LDAP_LIBS, ber_scanf)
     3245
     3246  #######################################################
     3247  # if we have LBER_OPT_LOG_PRINT_FN, we can intercept
     3248  # ldap logging and print it out in the samba logs
     3249  AC_CACHE_CHECK([for LBER_OPT_LOG_PRINT_FN],
     3250                 samba_cv_HAVE_LBER_OPT_LOG_PRINT_FN,
     3251                 [AC_TRY_COMPILE([#include <lber.h>],
     3252                                 [int val = LBER_OPT_LOG_PRINT_FN;],
     3253                                 samba_cv_HAVE_LBER_OPT_LOG_PRINT_FN=yes,
     3254                                 samba_cv_HAVE_LBER_OPT_LOG_PRINT_FN=no)])
     3255
     3256  if test x"$samba_cv_HAVE_LBER_OPT_LOG_PRINT_FN" = x"yes"; then
     3257        AC_DEFINE(HAVE_LBER_LOG_PRINT_FN, 1,
     3258                  [Support for LDAP/LBER logging interception])
     3259  fi
    32453260
    32463261  ########################################################
     
    39443959  fi
    39453960
     3961
     3962  AC_CACHE_CHECK([for krb5_principal_get_realm],
     3963                samba_cv_HAVE_KRB5_PRINCIPAL_GET_REALM,[
     3964    AC_TRY_LINK([#include <krb5.h>],
     3965      [krb5_context ctx = NULL; krb5_principal princ = NULL; const char *str = krb5_principal_get_realm(ctx, princ);],
     3966      samba_cv_HAVE_KRB5_PRINCIPAL_GET_REALM=yes,
     3967      samba_cv_HAVE_KRB5_PRINCIPAL_GET_REALM=no)])
     3968
     3969  if test x"$samba_cv_HAVE_KRB5_PRINCIPAL_GET_REALM" = x"yes"; then
     3970    AC_DEFINE(HAVE_KRB5_PRINCIPAL_GET_REALM,1,
     3971               [Whether the function krb5_principal_get_realm is defined])
     3972  fi
     3973
     3974  AC_CACHE_CHECK([for krb5_princ_realm],
     3975                samba_cv_HAVE_KRB5_PRINC_REALM,[
     3976    AC_TRY_LINK([#include <krb5.h>],
     3977      [krb5_context ctx = NULL; krb5_principal princ = NULL; const char *str = krb5_princ_realm(ctx, princ)->data;],
     3978      samba_cv_HAVE_KRB5_PRINC_REALM=yes,
     3979      samba_cv_HAVE_KRB5_PRINC_REALM=no)])
     3980
     3981  if test x"$samba_cv_HAVE_KRB5_PRINC_REALM" = x"yes"; then
     3982    AC_DEFINE(HAVE_KRB5_PRINC_REALM,1,
     3983               [Whether the macro krb5_princ_realm is defined])
     3984  fi
    39463985
    39473986  #
     
    61006139SMB_MODULE(vfs_gpfs, \$(VFS_GPFS_OBJ), "bin/gpfs.$SHLIBEXT", VFS)
    61016140SMB_MODULE(vfs_readahead, \$(VFS_READAHEAD_OBJ), "bin/readahead.$SHLIBEXT", VFS)
     6141SMB_MODULE(vfs_notify_fam, \$(VFS_NOTIFY_FAM_OBJ), "bin/notify_fam.$SHLIBEXT", VFS)
    61026142
    61036143SMB_SUBSYSTEM(VFS,smbd/vfs.o)
Note: See TracChangeset for help on using the changeset viewer.