Ignore:
Timestamp:
May 13, 2014, 11:39:04 AM (11 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update trunk to 3.6.23

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/configure

    r823 r862  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68 for Samba 3.
     3# Generated by GNU Autoconf 2.69 for Samba 3.
    44#
    55# Report bugs to <samba-technical@samba.org>.
    66#
    77#
    8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    10 # Foundation, Inc.
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    119#
    1210#
     
    137135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138136
     137# Use a proper internal environment variable to ensure we don't fall
     138  # into an infinite loop, continuously re-executing ourselves.
     139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     140    _as_can_reexec=no; export _as_can_reexec;
     141    # We cannot yet assume a decent shell, so we have to provide a
     142# neutralization value for shells without unset; and this also
     143# works around shells that cannot unset nonexistent variables.
     144# Preserve -v and -x to the replacement shell.
     145BASH_ENV=/dev/null
     146ENV=/dev/null
     147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     148case $- in # ((((
     149  *v*x* | *x*v* ) as_opts=-vx ;;
     150  *v* ) as_opts=-v ;;
     151  *x* ) as_opts=-x ;;
     152  * ) as_opts= ;;
     153esac
     154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     155# Admittedly, this is quite paranoid, since all the known shells bail
     156# out after a failed `exec'.
     157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     158as_fn_exit 255
     159  fi
     160  # We don't want this to propagate to other subprocesses.
     161          { _as_can_reexec=; unset _as_can_reexec;}
    139162if test "x$CONFIG_SHELL" = x; then
    140163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     
    170193  exitcode=1; echo positional parameters were not saved.
    171194fi
    172 test x\$exitcode = x0 || exit 1"
     195test x\$exitcode = x0 || exit 1
     196test -x / || exit 1"
    173197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     
    215239
    216240      if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218         # neutralization value for shells without unset; and this also
    219         # works around shells that cannot unset nonexistent variables.
    220         # Preserve -v and -x to the replacement shell.
    221         BASH_ENV=/dev/null
    222         ENV=/dev/null
    223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224         export CONFIG_SHELL
    225         case $- in # ((((
    226           *v*x* | *x*v* ) as_opts=-vx ;;
    227           *v* ) as_opts=-v ;;
    228           *x* ) as_opts=-x ;;
    229           * ) as_opts= ;;
    230         esac
    231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
     241  export CONFIG_SHELL
     242             # We cannot yet assume a decent shell, so we have to provide a
     243# neutralization value for shells without unset; and this also
     244# works around shells that cannot unset nonexistent variables.
     245# Preserve -v and -x to the replacement shell.
     246BASH_ENV=/dev/null
     247ENV=/dev/null
     248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     249case $- in # ((((
     250  *v*x* | *x*v* ) as_opts=-vx ;;
     251  *v* ) as_opts=-v ;;
     252  *x* ) as_opts=-x ;;
     253  * ) as_opts= ;;
     254esac
     255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     256# Admittedly, this is quite paranoid, since all the known shells bail
     257# out after a failed `exec'.
     258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     259exit 255
    232260fi
    233261
     
    332360
    333361} # as_fn_mkdir_p
     362
     363# as_fn_executable_p FILE
     364# -----------------------
     365# Test if FILE is an executable regular file.
     366as_fn_executable_p ()
     367{
     368  test -f "$1" && test -x "$1"
     369} # as_fn_executable_p
    334370# as_fn_append VAR VALUE
    335371# ----------------------
     
    453489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    454490
     491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     492  # already done that, so ensure we don't try to do so again and fall
     493  # in an infinite loop.  This has already happened in practice.
     494  _as_can_reexec=no; export _as_can_reexec
    455495  # Don't try to exec as it changes $[0], causing all sort of problems
    456496  # (the dirname of $[0] is not the place where we might find the
     
    487527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    488528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    489     # In both cases, we have to default to `cp -p'.
     529    # In both cases, we have to default to `cp -pR'.
    490530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    491       as_ln_s='cp -p'
     531      as_ln_s='cp -pR'
    492532  elif ln conf$$.file conf$$ 2>/dev/null; then
    493533    as_ln_s=ln
    494534  else
    495     as_ln_s='cp -p'
     535    as_ln_s='cp -pR'
    496536  fi
    497537else
    498   as_ln_s='cp -p'
     538  as_ln_s='cp -pR'
    499539fi
    500540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    508548fi
    509549
    510 if test -x / >/dev/null 2>&1; then
    511   as_test_x='test -x'
    512 else
    513   if ls -dL / >/dev/null 2>&1; then
    514     as_ls_L_option=L
    515   else
    516     as_ls_L_option=
    517   fi
    518   as_test_x='
    519     eval sh -c '\''
    520       if test -d "$1"; then
    521         test -d "$1/.";
    522       else
    523         case $1 in #(
    524         -*)set "./$1";;
    525         esac;
    526         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    527         ???[sx]*):;;*)false;;esac;fi
    528     '\'' sh
    529   '
    530 fi
    531 as_executable_p=$as_test_x
     550as_test_x='test -x'
     551as_executable_p=as_fn_executable_p
    532552
    533553# Sed expression to map a string onto a valid CPP name.
     
    726746LIBTDB_LIBS
    727747LIBTDB_CFLAGS
     748LIBTEVENT_OBJ0
     749LIBTEVENT_SHARED_TARGET_FULLVER
     750LIBTEVENT_SHARED_TARGET_SOVER
     751LIBTEVENT_FULLVER
     752LIBTEVENT_SOVER
     753UNINSTALL_LIBTEVENT
     754INSTALL_LIBTEVENT
     755LIBTEVENT_TARGET
     756LIBTEVENT_STATIC
     757LIBTEVENT_SHARED
     758LIBTEVENT_STATIC_TARGET
     759LIBTEVENT_SHARED_TARGET
     760TEVENT_LIBS
     761TEVENT_CFLAGS
     762TEVENT_OBJ
     763teventdir
     764LIBTEVENT_LIBS
     765LIBTEVENT_CFLAGS
    728766TALLOCTORT
    729767LIBTALLOC_OBJ0
     
    739777LIBTALLOC_STATIC_TARGET
    740778LIBTALLOC_SHARED_TARGET
     779EXPORTSFILE
    741780TALLOC_LIBS
    742781TALLOC_CFLAGS
     
    834873LDSHFLAGS
    835874SAMBA_CPPFLAGS
    836 LIBTEVENT_OBJ0
    837 EXPORTSFILE
    838 TEVENT_LIBS
    839 TEVENT_CFLAGS
    840 TEVENT_OBJ
    841 teventdir
    842875LIB_PATH_VAR
    843876libreplace_cv_immediate_structures
     
    9751008enable_external_libtalloc
    9761009with_libtalloc
     1010enable_external_libtevent
     1011with_libtevent
    9771012enable_external_libtdb
    9781013with_libtdb
     
    10311066LIBTALLOC_CFLAGS
    10321067LIBTALLOC_LIBS
     1068LIBTEVENT_CFLAGS
     1069LIBTEVENT_LIBS
    10331070LIBTDB_CFLAGS
    10341071LIBTDB_LIBS'
     
    14881525  if test "x$build_alias" = x; then
    14891526    cross_compiling=maybe
    1490     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1491     If a cross compiler is detected then cross compile mode will be used" >&2
    14921527  elif test "x$build_alias" != "x$host_alias"; then
    14931528    cross_compiling=yes
     
    16721707  --enable-external-libtalloc
    16731708                          Enable external talloc [default=auto]
     1709  --enable-external-libtevent
     1710                          Enable external tevent [default=auto]
    16741711  --enable-external-libtdb
    16751712                          Enable external tdb [default=auto]
     
    17351772  --with-libtalloc        Build the libtalloc shared library (default=yes if
    17361773                          shared libs supported)
     1774  --with-libtevent        Build the libtevent shared library (default=yes if
     1775                          shared libs supported)
    17371776  --with-libtdb           Build the libtdb shared library (default=yes if
    17381777                          shared libs supported)
     
    18021841  LIBTALLOC_LIBS
    18031842              linker flags for LIBTALLOC, overriding pkg-config
     1843  LIBTEVENT_CFLAGS
     1844              C compiler flags for LIBTEVENT, overriding pkg-config
     1845  LIBTEVENT_LIBS
     1846              linker flags for LIBTEVENT, overriding pkg-config
    18041847  LIBTDB_CFLAGS
    18051848              C compiler flags for LIBTDB, overriding pkg-config
     
    18731916  cat <<\_ACEOF
    18741917Samba configure 3
    1875 generated by GNU Autoconf 2.68
    1876 
    1877 Copyright (C) 2010 Free Software Foundation, Inc.
     1918generated by GNU Autoconf 2.69
     1919
     1920Copyright (C) 2012 Free Software Foundation, Inc.
    18781921This configure script is free software; the Free Software Foundation
    18791922gives unlimited permission to copy, distribute and modify it.
     
    21522195       } && test -s conftest$ac_exeext && {
    21532196         test "$cross_compiling" = yes ||
    2154          $as_test_x conftest$ac_exeext
     2197         test -x conftest$ac_exeext
    21552198       }; then :
    21562199  ac_retval=0
     
    22422285{
    22432286static int test_array [1 - 2 * !(($2) >= 0)];
    2244 test_array [0] = 0
     2287test_array [0] = 0;
     2288return test_array [0];
    22452289
    22462290  ;
     
    22582302{
    22592303static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    2260 test_array [0] = 0
     2304test_array [0] = 0;
     2305return test_array [0];
    22612306
    22622307  ;
     
    22842329{
    22852330static int test_array [1 - 2 * !(($2) < 0)];
    2286 test_array [0] = 0
     2331test_array [0] = 0;
     2332return test_array [0];
    22872333
    22882334  ;
     
    23002346{
    23012347static int test_array [1 - 2 * !(($2) >= $ac_mid)];
    2302 test_array [0] = 0
     2348test_array [0] = 0;
     2349return test_array [0];
    23032350
    23042351  ;
     
    23342381{
    23352382static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    2336 test_array [0] = 0
     2383test_array [0] = 0;
     2384return test_array [0];
    23372385
    23382386  ;
     
    24032451} # ac_fn_c_compute_int
    24042452
     2453# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
     2454# ----------------------------------------------------
     2455# Tries to find if the field MEMBER exists in type AGGR, after including
     2456# INCLUDES, setting cache variable VAR accordingly.
     2457ac_fn_c_check_member ()
     2458{
     2459  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2460  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
     2461$as_echo_n "checking for $2.$3... " >&6; }
     2462if eval \${$4+:} false; then :
     2463  $as_echo_n "(cached) " >&6
     2464else
     2465  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2466/* end confdefs.h.  */
     2467$5
     2468int
     2469main ()
     2470{
     2471static $2 ac_aggr;
     2472if (ac_aggr.$3)
     2473return 0;
     2474  ;
     2475  return 0;
     2476}
     2477_ACEOF
     2478if ac_fn_c_try_compile "$LINENO"; then :
     2479  eval "$4=yes"
     2480else
     2481  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2482/* end confdefs.h.  */
     2483$5
     2484int
     2485main ()
     2486{
     2487static $2 ac_aggr;
     2488if (sizeof ac_aggr.$3)
     2489return 0;
     2490  ;
     2491  return 0;
     2492}
     2493_ACEOF
     2494if ac_fn_c_try_compile "$LINENO"; then :
     2495  eval "$4=yes"
     2496else
     2497  eval "$4=no"
     2498fi
     2499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2500fi
     2501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2502fi
     2503eval ac_res=\$$4
     2504               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2505$as_echo "$ac_res" >&6; }
     2506  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2507
     2508} # ac_fn_c_check_member
     2509
    24052510# ac_fn_c_check_func LINENO FUNC VAR
    24062511# ----------------------------------
     
    24702575} # ac_fn_c_check_func
    24712576
    2472 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
    2473 # ----------------------------------------------------
    2474 # Tries to find if the field MEMBER exists in type AGGR, after including
    2475 # INCLUDES, setting cache variable VAR accordingly.
    2476 ac_fn_c_check_member ()
    2477 {
    2478   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
    2480 $as_echo_n "checking for $2.$3... " >&6; }
    2481 if eval \${$4+:} false; then :
    2482   $as_echo_n "(cached) " >&6
    2483 else
    2484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2485 /* end confdefs.h.  */
    2486 $5
    2487 int
    2488 main ()
    2489 {
    2490 static $2 ac_aggr;
    2491 if (ac_aggr.$3)
    2492 return 0;
    2493   ;
    2494   return 0;
    2495 }
    2496 _ACEOF
    2497 if ac_fn_c_try_compile "$LINENO"; then :
    2498   eval "$4=yes"
    2499 else
    2500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2501 /* end confdefs.h.  */
    2502 $5
    2503 int
    2504 main ()
    2505 {
    2506 static $2 ac_aggr;
    2507 if (sizeof ac_aggr.$3)
    2508 return 0;
    2509   ;
    2510   return 0;
    2511 }
    2512 _ACEOF
    2513 if ac_fn_c_try_compile "$LINENO"; then :
    2514   eval "$4=yes"
    2515 else
    2516   eval "$4=no"
    2517 fi
    2518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2519 fi
    2520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2521 fi
    2522 eval ac_res=\$$4
    2523                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2524 $as_echo "$ac_res" >&6; }
    2525   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2526 
    2527 } # ac_fn_c_check_member
    2528 
    25292577# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
    25302578# ---------------------------------------------
     
    25772625
    25782626It was created by Samba $as_me 3, which was
    2579 generated by GNU Autoconf 2.68.  Invocation command line was
     2627generated by GNU Autoconf 2.69.  Invocation command line was
    25802628
    25812629  $ $0 $@
     
    37633811  test -z "$as_dir" && as_dir=.
    37643812    for ac_exec_ext in '' $ac_executable_extensions; do
    3765   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3813  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37663814    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    37673815    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    38033851  test -z "$as_dir" && as_dir=.
    38043852    for ac_exec_ext in '' $ac_executable_extensions; do
    3805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3853  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38063854    ac_cv_prog_ac_ct_CC="gcc"
    38073855    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    38563904  test -z "$as_dir" && as_dir=.
    38573905    for ac_exec_ext in '' $ac_executable_extensions; do
    3858   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3906  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38593907    ac_cv_prog_CC="${ac_tool_prefix}cc"
    38603908    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    38973945  test -z "$as_dir" && as_dir=.
    38983946    for ac_exec_ext in '' $ac_executable_extensions; do
    3899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3947  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39003948    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    39013949       ac_prog_rejected=yes
     
    39554003  test -z "$as_dir" && as_dir=.
    39564004    for ac_exec_ext in '' $ac_executable_extensions; do
    3957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4005  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39584006    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    39594007    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    39994047  test -z "$as_dir" && as_dir=.
    40004048    for ac_exec_ext in '' $ac_executable_extensions; do
    4001   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4049  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    40024050    ac_cv_prog_ac_ct_CC="$ac_prog"
    40034051    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    44454493#include <stdarg.h>
    44464494#include <stdio.h>
    4447 #include <sys/types.h>
    4448 #include <sys/stat.h>
     4495struct stat;
    44494496/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    44504497struct buf { int x; };
     
    46804727}
    46814728_ACEOF
    4682 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
     4729for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
    46834730do
    46844731  CC="$ac_save_CC $ac_arg"
     
    48754922    for ac_exec_ext in '' $ac_executable_extensions; do
    48764923      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4877       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4924      as_fn_executable_p "$ac_path_GREP" || continue
    48784925# Check for GNU ac_path_GREP and select it if it is found.
    48794926  # Check for GNU $ac_path_GREP
     
    49414988    for ac_exec_ext in '' $ac_executable_extensions; do
    49424989      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4943       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4990      as_fn_executable_p "$ac_path_EGREP" || continue
    49444991# Check for GNU ac_path_EGREP and select it if it is found.
    49454992  # Check for GNU $ac_path_EGREP
     
    51485195/* end confdefs.h.  */
    51495196
    5150 #         define __EXTENSIONS__ 1
    5151           $ac_includes_default
     5197#         define __EXTENSIONS__ 1
     5198          $ac_includes_default
    51525199int
    51535200main ()
     
    56365683    for ac_prog in ginstall scoinst install; do
    56375684      for ac_exec_ext in '' $ac_executable_extensions; do
    5638         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     5685        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    56395686          if test $ac_prog = install &&
    56405687            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    59556002rm -rf conftest*
    59566003  fi
     6004
     6005
    59576006fi
    59586007
     
    66006649
    66016650
    6602 
    6603 
    6604 
    6605 if test x"$teventdir" = "x"; then
    6606         teventdir=""
    6607         teventpaths="$srcdir $srcdir/../lib/tevent $srcdir/tevent $srcdir/../tevent"
    6608         for d in $teventpaths; do
    6609                 if test -f "$d/tevent.c"; then
    6610                         teventdir="$d"
    6611                         break;
    6612                 fi
    6613         done
    6614         if test x"$teventdir" = "x"; then
    6615            as_fn_error $? "cannot find libtevent source in $teventpaths" "$LINENO" 5
    6616         fi
    6617 fi
    6618 
    6619 TEVENT_OBJ=""
    6620 TEVENT_CFLAGS=""
    6621 TEVENT_LIBS=""
    6622 
    6623 
    6624 
    6625 
    6626 TEVENT_CFLAGS="-I$teventdir"
    6627 
    6628 TEVENT_OBJ="tevent.o tevent_debug.o tevent_util.o"
    6629 TEVENT_OBJ="$TEVENT_OBJ tevent_fd.o tevent_timed.o tevent_immediate.o tevent_signal.o"
    6630 TEVENT_OBJ="$TEVENT_OBJ tevent_req.o tevent_wakeup.o tevent_queue.o"
    6631 TEVENT_OBJ="$TEVENT_OBJ tevent_standard.o tevent_select.o"
    6632 TEVENT_OBJ="$TEVENT_OBJ tevent_poll.o"
    6633 
    6634 for ac_header in sys/epoll.h
    6635 do :
    6636   ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
    6637 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
    6638   cat >>confdefs.h <<_ACEOF
    6639 #define HAVE_SYS_EPOLL_H 1
    6640 _ACEOF
    6641 
    6642 fi
    6643 
    6644 done
    6645 
    6646 for ac_func in epoll_create
    6647 do :
    6648   ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
    6649 if test "x$ac_cv_func_epoll_create" = xyes; then :
    6650   cat >>confdefs.h <<_ACEOF
    6651 #define HAVE_EPOLL_CREATE 1
    6652 _ACEOF
    6653 
    6654 fi
    6655 done
    6656 
    6657 if test x"$ac_cv_header_sys_epoll_h" = x"yes" -a x"$ac_cv_func_epoll_create" = x"yes"; then
    6658    TEVENT_OBJ="$TEVENT_OBJ tevent_epoll.o"
    6659 
    6660 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
    6661 
    6662 fi
    6663 
    6664 if test x"$VERSIONSCRIPT" != "x"; then
    6665     EXPORTSFILE=tevent.exports
    6666 
    6667 fi
    6668 
    6669 
    6670 
    6671 LIBTEVENT_OBJ0=""
    6672 for obj in ${TEVENT_OBJ}; do
    6673         LIBTEVENT_OBJ0="${LIBTEVENT_OBJ0} ${teventdir}/${obj}"
    6674 done
    6675 
    6676 LIBS="${LIBS} ${TEVENT_LIBS}"
    6677 
    66786651SAMBA_CPPFLAGS="-Iinclude -I${srcdir-.}/include  -I. -I${srcdir-.}"
    66796652SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/../lib/replace"
    6680 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} ${TEVENT_CFLAGS}"
    66816653SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/librpc"
    66826654SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/.."
     
    70287000  test -z "$as_dir" && as_dir=.
    70297001    for ac_exec_ext in '' $ac_executable_extensions; do
    7030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7002  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    70317003    ac_cv_prog_AWK="$ac_prog"
    70327004    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    70797051  test -z "$as_dir" && as_dir=.
    70807052    for ac_exec_ext in '' $ac_executable_extensions; do
    7081   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7053  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    70827054    ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext"
    70837055    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    71577129  test -z "$as_dir" && as_dir=.
    71587130    for ac_exec_ext in '' $ac_executable_extensions; do
    7159   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7131  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    71607132    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    71617133    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    72007172  test -z "$as_dir" && as_dir=.
    72017173    for ac_exec_ext in '' $ac_executable_extensions; do
    7202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7174  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    72037175    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    72047176    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    72497221
    72507222        if test -z "$PYTHON_VER"; then
    7251                 for ac_prog in python2.6 python2.5 python2.4 python
     7223                for ac_prog in python2.7 python2.6 python2.5 python2.4 python
    72527224do
    72537225  # Extract the first word of "$ac_prog", so it can be a program name with args.
     
    72697241  test -z "$as_dir" && as_dir=.
    72707242    for ac_exec_ext in '' $ac_executable_extensions; do
    7271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7243  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    72727244    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    72737245    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    73137285  test -z "$as_dir" && as_dir=.
    73147286    for ac_exec_ext in '' $ac_executable_extensions; do
    7315   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7287  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    73167288    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    73177289    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    73657337  test -z "$as_dir" && as_dir=.
    73667338    for ac_exec_ext in '' $ac_executable_extensions; do
    7367   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7339  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    73687340    ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    73697341    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    74097381  test -z "$as_dir" && as_dir=.
    74107382    for ac_exec_ext in '' $ac_executable_extensions; do
    7411   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7383  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    74127384    ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    74137385    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    74447416                                *os2*)
    74457417                LIBS="$LIBS -l$PYTHON_CONFIG"
    7446                 CFLAGS="$CFLAGS -I$PYTHON/include"
     7418                CFLAGS="$CFLAGS -I$PYTHON"
    74477419                                ;;
    74487420                                *)
     
    74727444
    74737445                case "$host_os" in
    7474                                 *os2*)
    7475                 PYTHON_LDFLAGS="-l$PYTHON_CONFIG"
    7476                 PYTHON_CFLAGS="-I$PYTHON/include"
    7477                                 ;;
    7478                                 *)
    7479                 PYTHON_LDFLAGS="`$PYTHON_CONFIG --ldflags`"
    7480                 PYTHON_CFLAGS="`$PYTHON_CONFIG --includes`"
    7481                                 ;;
     7446                  *os2*)
     7447                                PYTHON_LDFLAGS="-l$PYTHON_CONFIG"
     7448                                PYTHON_CFLAGS="-I$PYTHON"
     7449                  ;;
     7450                 *)
     7451                                PYTHON_LDFLAGS="`$PYTHON_CONFIG --ldflags`"
     7452                                PYTHON_CFLAGS="`$PYTHON_CONFIG --includes`"
     7453                  ;;
    74827454                esac
    74837455                                working_python=yes
     
    76987670  test -z "$as_dir" && as_dir=.
    76997671    for ac_exec_ext in '' $ac_executable_extensions; do
    7700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7672  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    77017673    ac_cv_prog_AR="${ac_tool_prefix}ar"
    77027674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    77387710  test -z "$as_dir" && as_dir=.
    77397711    for ac_exec_ext in '' $ac_executable_extensions; do
    7740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7712  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    77417713    ac_cv_prog_ac_ct_AR="ar"
    77427714    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    77917763
    77927764if test "$ac_cv_prog_gnu_ld" = "yes"; then
    7793         ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2>&1 < /dev/null | grep "GNU ld"`
     7765        ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2> /dev/null < /dev/null | grep "GNU ld"`
     7766        # we need to make a 2nd (separate!) check on the output of stderr, see bug #7825:
     7767        if test -z "$ac_cv_gnu_ld_version" ; then
     7768          ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2>&1 > /dev/null < /dev/null | grep "GNU ld"`
     7769        fi
    77947770        { $as_echo "$as_me:${as_lineno-$LINENO}: checking GNU ld release date" >&5
    77957771$as_echo_n "checking GNU ld release date... " >&6; }
     
    90559031done
    90569032
    9057 for ac_header in setjmp.h utime.h
     9033for ac_header in setjmp.h utime.h sys/wait.h
    90589034do :
    90599035  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    91339109
    91349110done
     9111
    91359112
    91369113LIBS="$LIBS -lmmap"
     
    92379214  cat >>confdefs.h <<_ACEOF
    92389215#define HAVE_UNIX_H 1
     9216_ACEOF
     9217
     9218fi
     9219
     9220done
     9221
     9222for ac_header in sys/ucontext.h
     9223do :
     9224  ac_fn_c_check_header_mongrel "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "$ac_includes_default"
     9225if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
     9226  cat >>confdefs.h <<_ACEOF
     9227#define HAVE_SYS_UCONTEXT_H 1
    92399228_ACEOF
    92409229
     
    1006510054
    1006610055
    10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_DIRECT flag to open(2)" >&5
    10068 $as_echo_n "checking for O_DIRECT flag to open(2)... " >&6; }
    10069 if ${libreplace_cv_HAVE_OPEN_O_DIRECT+:} false; then :
    10070   $as_echo_n "(cached) " >&6
    10071 else
    10072 
    10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    10074 /* end confdefs.h.  */
    10075 
    10076 #include <unistd.h>
    10077 #ifdef HAVE_FCNTL_H
    10078 #include <fcntl.h>
    10079 #endif
    10080 int
    10081 main ()
    10082 {
    10083 int fd = open("/dev/null", O_DIRECT);
    10084   ;
    10085   return 0;
    10086 }
    10087 _ACEOF
    10088 if ac_fn_c_try_compile "$LINENO"; then :
    10089   libreplace_cv_HAVE_OPEN_O_DIRECT=yes
    10090 else
    10091   libreplace_cv_HAVE_OPEN_O_DIRECT=no
    10092 fi
    10093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10094 fi
    10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libreplace_cv_HAVE_OPEN_O_DIRECT" >&5
    10096 $as_echo "$libreplace_cv_HAVE_OPEN_O_DIRECT" >&6; }
    10097 if test x"$libreplace_cv_HAVE_OPEN_O_DIRECT" = x"yes"; then
    10098 
    10099 $as_echo "#define HAVE_OPEN_O_DIRECT 1" >>confdefs.h
    10100 
    10101 fi
    10102 
    10103 
    1010410056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that the C compiler understands volatile" >&5
    1010510057$as_echo_n "checking that the C compiler understands volatile... " >&6; }
     
    1070110653               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1070210654$as_echo "$ac_res" >&6; }
    10703 if test $`$as_echo "ac_cv_c_prototype_struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)" | $as_tr_sh` = yes; then :
     10655if eval test $`$as_echo "ac_cv_c_prototype_struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)" | $as_tr_sh` = yes; then :
    1070410656
    1070510657
     
    1074810700               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1074910701$as_echo "$ac_res" >&6; }
    10750 if test $`$as_echo "ac_cv_c_prototype_struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen)" | $as_tr_sh` = yes; then :
     10702if eval test $`$as_echo "ac_cv_c_prototype_struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen)" | $as_tr_sh` = yes; then :
    1075110703
    1075210704
     
    1084310795               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1084410796$as_echo "$ac_res" >&6; }
    10845 if test $`$as_echo "ac_cv_c_prototype_struct group *getgrent_r(struct group *src, char *buf, int buflen)" | $as_tr_sh` = yes; then :
     10797if eval test $`$as_echo "ac_cv_c_prototype_struct group *getgrent_r(struct group *src, char *buf, int buflen)" | $as_tr_sh` = yes; then :
    1084610798
    1084710799
     
    1089110843               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1089210844$as_echo "$ac_res" >&6; }
    10893 if test $`$as_echo "ac_cv_c_prototype_struct group *getgrent_r(struct group *src, char *buf, size_t buflen)" | $as_tr_sh` = yes; then :
     10845if eval test $`$as_echo "ac_cv_c_prototype_struct group *getgrent_r(struct group *src, char *buf, size_t buflen)" | $as_tr_sh` = yes; then :
    1089410846
    1089510847
     
    1097010922
    1097110923
     10924
     10925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_DIRECT flag to open(2)" >&5
     10926$as_echo_n "checking for O_DIRECT flag to open(2)... " >&6; }
     10927if ${libreplace_cv_HAVE_OPEN_O_DIRECT+:} false; then :
     10928  $as_echo_n "(cached) " >&6
     10929else
     10930
     10931cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10932/* end confdefs.h.  */
     10933
     10934#include <unistd.h>
     10935#ifdef HAVE_FCNTL_H
     10936#include <fcntl.h>
     10937#endif
     10938int
     10939main ()
     10940{
     10941int fd = open("/dev/null", O_DIRECT);
     10942  ;
     10943  return 0;
     10944}
     10945_ACEOF
     10946if ac_fn_c_try_compile "$LINENO"; then :
     10947  libreplace_cv_HAVE_OPEN_O_DIRECT=yes
     10948else
     10949  libreplace_cv_HAVE_OPEN_O_DIRECT=no
     10950fi
     10951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10952fi
     10953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libreplace_cv_HAVE_OPEN_O_DIRECT" >&5
     10954$as_echo "$libreplace_cv_HAVE_OPEN_O_DIRECT" >&6; }
     10955if test x"$libreplace_cv_HAVE_OPEN_O_DIRECT" = x"yes"; then
     10956
     10957$as_echo "#define HAVE_OPEN_O_DIRECT 1" >>confdefs.h
     10958
     10959fi
    1097210960
    1097310961save_LIBS="$LIBS"
     
    1117811166               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1117911167$as_echo "$ac_res" >&6; }
    11180 if test $`$as_echo "ac_cv_c_prototype_void *dlopen(const char* filename, unsigned int flags)" | $as_tr_sh` = yes; then :
     11168if eval test $`$as_echo "ac_cv_c_prototype_void *dlopen(const char* filename, unsigned int flags)" | $as_tr_sh` = yes; then :
    1118111169
    1118211170
     
    1148811476               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1148911477$as_echo "$ac_res" >&6; }
    11490 if test $`$as_echo "ac_cv_c_prototype_long telldir(const DIR *dir)" | $as_tr_sh` = yes; then :
     11478if eval test $`$as_echo "ac_cv_c_prototype_long telldir(const DIR *dir)" | $as_tr_sh` = yes; then :
    1149111479
    1149211480
     
    1153211520               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1153311521$as_echo "$ac_res" >&6; }
    11534 if test $`$as_echo "ac_cv_c_prototype_int seekdir(DIR *dir, long ofs)" | $as_tr_sh` = yes; then :
     11522if eval test $`$as_echo "ac_cv_c_prototype_int seekdir(DIR *dir, long ofs)" | $as_tr_sh` = yes; then :
    1153511523
    1153611524
     
    1192611914
    1192711915$as_echo "#define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h
     11916
     11917fi
     11918
     11919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ucontext_t type" >&5
     11920$as_echo_n "checking for ucontext_t type... " >&6; }
     11921if ${libreplace_cv_ucontext_t+:} false; then :
     11922  $as_echo_n "(cached) " >&6
     11923else
     11924
     11925    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11926/* end confdefs.h.  */
     11927
     11928#include <signal.h>
     11929#if HAVE_SYS_UCONTEXT_H
     11930#include <sys/ucontext.h>
     11931# endif
     11932
     11933int
     11934main ()
     11935{
     11936ucontext_t uc; sigaddset(&uc.uc_sigmask, SIGUSR1);
     11937  ;
     11938  return 0;
     11939}
     11940_ACEOF
     11941if ac_fn_c_try_compile "$LINENO"; then :
     11942  libreplace_cv_ucontext_t=yes
     11943else
     11944  libreplace_cv_ucontext_t=no
     11945fi
     11946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11947fi
     11948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libreplace_cv_ucontext_t" >&5
     11949$as_echo "$libreplace_cv_ucontext_t" >&6; }
     11950if test x"$libreplace_cv_ucontext_t" = x"yes"; then
     11951
     11952$as_echo "#define HAVE_UCONTEXT_T 1" >>confdefs.h
    1192811953
    1192911954fi
     
    1397614001
    1397714002
    13978 if test x"$host_os" != x"os2-emx"; then
    13979 for ac_header in md5.h
    13980 do :
    13981   ac_fn_c_check_header_mongrel "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default"
    13982 if test "x$ac_cv_header_md5_h" = xyes; then :
    13983   cat >>confdefs.h <<_ACEOF
    13984 #define HAVE_MD5_H 1
    13985 _ACEOF
    13986 
    13987 fi
    13988 
    13989 done
    13990 fi
    13991 
    1399214003samba_cv_md5lib=none
    1399314004
    13994 if test x"$ac_cv_header_md5_h" = x"yes"; then
    13995 
    13996 $as_echo "#define HAVE_MD5_H 1" >>confdefs.h
    13997 
    13998         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Update in -lmd5" >&5
    13999 $as_echo_n "checking for MD5Update in -lmd5... " >&6; }
    14000 if ${ac_cv_lib_md5_MD5Update+:} false; then :
     14005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Update in -lc" >&5
     14006$as_echo_n "checking for MD5Update in -lc... " >&6; }
     14007if ${ac_cv_lib_c_MD5Update+:} false; then :
    1400114008  $as_echo_n "(cached) " >&6
    1400214009else
    1400314010  ac_check_lib_save_LIBS=$LIBS
    14004 LIBS="-lmd5  $LIBS"
     14011LIBS="-lc  $LIBS"
    1400514012cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1400614013/* end confdefs.h.  */
     
    1402214029_ACEOF
    1402314030if ac_fn_c_try_link "$LINENO"; then :
    14024   ac_cv_lib_md5_MD5Update=yes
    14025 else
    14026   ac_cv_lib_md5_MD5Update=no
     14031  ac_cv_lib_c_MD5Update=yes
     14032else
     14033  ac_cv_lib_c_MD5Update=no
    1402714034fi
    1402814035rm -f core conftest.err conftest.$ac_objext \
     
    1403014037LIBS=$ac_check_lib_save_LIBS
    1403114038fi
    14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_md5_MD5Update" >&5
    14033 $as_echo "$ac_cv_lib_md5_MD5Update" >&6; }
    14034 if test "x$ac_cv_lib_md5_MD5Update" = xyes; then :
    14035   samba_cv_md5lib=md5
    14036 fi
    14037 
    14038 fi
    14039 
    14040 if test x"$ac_cv_header_md5_h" = x"yes" -a \
    14041         x"$samba_cv_md5lib" = x"none" ; then
     14039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_MD5Update" >&5
     14040$as_echo "$ac_cv_lib_c_MD5Update" >&6; }
     14041if test "x$ac_cv_lib_c_MD5Update" = xyes; then :
     14042  samba_cv_md5lib=""
     14043fi
     14044
     14045
     14046if test x"$samba_cv_md5lib" = x"none" ; then
    1404214047        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Update in -lmd" >&5
    1404314048$as_echo_n "checking for MD5Update in -lmd... " >&6; }
     
    1408214087fi
    1408314088
    14084 if test x"$ac_cv_header_md5_h" = x"yes" -a \
    14085         x"$samba_cv_md5lib" = x"none" ; then
    14086         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Update in -lc" >&5
    14087 $as_echo_n "checking for MD5Update in -lc... " >&6; }
    14088 if ${ac_cv_lib_c_MD5Update+:} false; then :
     14089if test x"$samba_cv_md5lib" = x"none" ; then
     14090        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Update in -lmd5" >&5
     14091$as_echo_n "checking for MD5Update in -lmd5... " >&6; }
     14092if ${ac_cv_lib_md5_MD5Update+:} false; then :
    1408914093  $as_echo_n "(cached) " >&6
    1409014094else
    1409114095  ac_check_lib_save_LIBS=$LIBS
    14092 LIBS="-lc  $LIBS"
     14096LIBS="-lmd5  $LIBS"
    1409314097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1409414098/* end confdefs.h.  */
     
    1411014114_ACEOF
    1411114115if ac_fn_c_try_link "$LINENO"; then :
    14112   ac_cv_lib_c_MD5Update=yes
    14113 else
    14114   ac_cv_lib_c_MD5Update=no
     14116  ac_cv_lib_md5_MD5Update=yes
     14117else
     14118  ac_cv_lib_md5_MD5Update=no
    1411514119fi
    1411614120rm -f core conftest.err conftest.$ac_objext \
     
    1411814122LIBS=$ac_check_lib_save_LIBS
    1411914123fi
    14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_MD5Update" >&5
    14121 $as_echo "$ac_cv_lib_c_MD5Update" >&6; }
    14122 if test "x$ac_cv_lib_c_MD5Update" = xyes; then :
    14123   samba_cv_md5lib=""
     14124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_md5_MD5Update" >&5
     14125$as_echo "$ac_cv_lib_md5_MD5Update" >&6; }
     14126if test "x$ac_cv_lib_md5_MD5Update" = xyes; then :
     14127  samba_cv_md5lib=md5
    1412414128fi
    1412514129
     
    1412714131
    1412814132if test x"$samba_cv_md5lib" != x"none" ; then
     14133        for ac_header in md5.h
     14134do :
     14135  ac_fn_c_check_header_mongrel "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default"
     14136if test "x$ac_cv_header_md5_h" = xyes; then :
     14137  cat >>confdefs.h <<_ACEOF
     14138#define HAVE_MD5_H 1
     14139_ACEOF
     14140
     14141fi
     14142
     14143done
     14144
     14145fi
     14146
     14147CRYPTO_MD5_OBJ="../lib/crypto/md5.o"
     14148if test x"$ac_cv_header_md5_h" = x"yes" -a \
     14149        x"$samba_cv_md5lib" != x"none" ; then
    1412914150        if test x"$samba_cv_md5lib" != x ; then
    1413014151                LIBS="${LIBS} -l${samba_cv_md5lib}"
     14152
     14153$as_echo "#define HAVE_LIBMD5 1" >>confdefs.h
     14154
    1413114155        fi
    1413214156        CRYPTO_MD5_OBJ=
    14133 
    14134 $as_echo "#define HAVE_LIBMD5 1" >>confdefs.h
    14135 
    14136 else
    14137         CRYPTO_MD5_OBJ="../lib/crypto/md5.o"
    1413814157fi
    1413914158
     
    1423214251# This causes configure to fail to detect it. Check for shadow separately on HPUX.
    1423314252#
    14234 case "$
    14235 host_os" in
     14253case "$host_os" in
    1423614254    *hpux*)
    1423714255                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     
    1449814516main ()
    1449914517{
    14500 /* FIXME: Include the comments suggested by Paul. */
     14518
    1450114519#ifndef __cplusplus
    14502   /* Ultrix mips cc rejects this.  */
     14520  /* Ultrix mips cc rejects this sort of thing.  */
    1450314521  typedef int charset[2];
    14504   const charset cs;
     14522  const charset cs = { 0, 0 };
    1450514523  /* SunOS 4.1.1 cc rejects this.  */
    1450614524  char const *const *pcpcc;
     
    1451914537  ppc = (char**) pcpcc;
    1452014538  pcpcc = (char const *const *) ppc;
    14521   { /* SCO 3.2v4 cc rejects this.  */
    14522     char *t;
     14539  { /* SCO 3.2v4 cc rejects this sort of thing.  */
     14540    char tx;
     14541    char *t = &tx;
    1452314542    char const *s = 0 ? (char *) 0 : (char const *) 0;
    1452414543
     
    1453614555    ++p;
    1453714556  }
    14538   { /* AIX XL C 1.02.0.0 rejects this saying
     14557  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
    1453914558       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
    14540     struct s { int j; const int *ap[3]; };
    14541     struct s *b; b->j = 5;
     14559    struct s { int j; const int *ap[3]; } bx;
     14560    struct s *b = &bx; b->j = 5;
    1454214561  }
    1454314562  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
     
    1484514864{
    1484614865static int test_array [1 - 2 * !(((char) -1) < 0)];
    14847 test_array [0] = 0
     14866test_array [0] = 0;
     14867return test_array [0];
    1484814868
    1484914869  ;
     
    1507115091  test -z "$as_dir" && as_dir=.
    1507215092    for ac_exec_ext in '' $ac_executable_extensions; do
    15073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     15093  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1507415094    ac_cv_path_CUPS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    1507515095    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1509815118                ac_save_LDFLAGS=$LDFLAGS
    1509915119                case "$host_os" in
    15100                                 *os2*)
    15101                  PRINT_LIBS="$PRINT_LIBS -lpthread -lz"
    15102                                  ;;
    15103                                  *)
    15104                                  ;;
    15105                  esac
     15120                        *os2*)
     15121                PRINT_LIBS="$PRINT_LIBS -lpthread -lz"
     15122                        ;;
     15123                        *)
     15124                        ;;
     15125                esac
    1510615126                ac_save_PRINT_LIBS=$PRINT_LIBS
    1510715127                for ac_header in cups/cups.h cups/language.h
     
    1630416324done
    1630516325
    16306 for ac_func in lstat64 fopen64 atexit grantpt lseek64 ftruncate64 posix_fallocate posix_fallocate64
     16326for ac_func in lstat64 fopen64 atexit grantpt posix_openpt lseek64 ftruncate64 posix_fallocate posix_fallocate64
    1630716327do :
    1630816328  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     
    1946519485  test -z "$as_dir" && as_dir=.
    1946619486    for ac_exec_ext in '' $ac_executable_extensions; do
    19467   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     19487  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1946819488    ac_cv_prog_ROFF="groff -etpsR -Tascii -man"
    1946919489    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2001120031  test -z "$as_dir" && as_dir=.
    2001220032    for ac_exec_ext in '' $ac_executable_extensions; do
    20013   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     20033  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2001420034    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    2001520035    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2005420074  test -z "$as_dir" && as_dir=.
    2005520075    for ac_exec_ext in '' $ac_executable_extensions; do
    20056   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     20076  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2005720077    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    2005820078    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2040720427
    2040820428        TALLOCTORT="bin/talloctort\$(EXEEXT)"
     20429
     20430fi
     20431
     20432# Check whether --enable-external_libtevent was given.
     20433if test "${enable_external_libtevent+set}" = set; then :
     20434  enableval=$enable_external_libtevent;  enable_external_libtevent=$enableval
     20435else
     20436   enable_external_libtevent=auto
     20437fi
     20438
     20439
     20440if test "x$enable_external_libtevent" != xno
     20441then
     20442
     20443pkg_failed=no
     20444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTEVENT" >&5
     20445$as_echo_n "checking for LIBTEVENT... " >&6; }
     20446
     20447if test -n "$PKG_CONFIG"; then
     20448    if test -n "$LIBTEVENT_CFLAGS"; then
     20449        pkg_cv_LIBTEVENT_CFLAGS="$LIBTEVENT_CFLAGS"
     20450    else
     20451        if test -n "$PKG_CONFIG" && \
     20452    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tevent >= 0.9.11\""; } >&5
     20453  ($PKG_CONFIG --exists --print-errors "tevent >= 0.9.11") 2>&5
     20454  ac_status=$?
     20455  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     20456  test $ac_status = 0; }; then
     20457  pkg_cv_LIBTEVENT_CFLAGS=`$PKG_CONFIG --cflags "tevent >= 0.9.11" 2>/dev/null`
     20458else
     20459  pkg_failed=yes
     20460fi
     20461    fi
     20462else
     20463        pkg_failed=untried
     20464fi
     20465if test -n "$PKG_CONFIG"; then
     20466    if test -n "$LIBTEVENT_LIBS"; then
     20467        pkg_cv_LIBTEVENT_LIBS="$LIBTEVENT_LIBS"
     20468    else
     20469        if test -n "$PKG_CONFIG" && \
     20470    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tevent >= 0.9.11\""; } >&5
     20471  ($PKG_CONFIG --exists --print-errors "tevent >= 0.9.11") 2>&5
     20472  ac_status=$?
     20473  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     20474  test $ac_status = 0; }; then
     20475  pkg_cv_LIBTEVENT_LIBS=`$PKG_CONFIG --libs "tevent >= 0.9.11" 2>/dev/null`
     20476else
     20477  pkg_failed=yes
     20478fi
     20479    fi
     20480else
     20481        pkg_failed=untried
     20482fi
     20483
     20484
     20485
     20486if test $pkg_failed = yes; then
     20487
     20488if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     20489        _pkg_short_errors_supported=yes
     20490else
     20491        _pkg_short_errors_supported=no
     20492fi
     20493        if test $_pkg_short_errors_supported = yes; then
     20494                LIBTEVENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "tevent >= 0.9.11"`
     20495        else
     20496                LIBTEVENT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "tevent >= 0.9.11"`
     20497        fi
     20498        # Put the nasty error message in config.log where it belongs
     20499        echo "$LIBTEVENT_PKG_ERRORS" >&5
     20500
     20501        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     20502$as_echo "no" >&6; }
     20503                 if test x$enable_external_libtevent = xyes; then
     20504                        as_fn_error $? "Unable to find libtevent" "$LINENO" 5
     20505                  else
     20506                        enable_external_libtevent=no
     20507                  fi
     20508
     20509elif test $pkg_failed = untried; then
     20510         if test x$enable_external_libtevent = xyes; then
     20511                        as_fn_error $? "Unable to find libtevent" "$LINENO" 5
     20512                  else
     20513                        enable_external_libtevent=no
     20514                  fi
     20515
     20516else
     20517        LIBTEVENT_CFLAGS=$pkg_cv_LIBTEVENT_CFLAGS
     20518        LIBTEVENT_LIBS=$pkg_cv_LIBTEVENT_LIBS
     20519        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     20520$as_echo "yes" >&6; }
     20521         enable_external_libtevent=yes
     20522fi
     20523fi
     20524
     20525if test "x$enable_external_libtevent" = xno
     20526then
     20527
     20528
     20529
     20530if test x"$teventdir" = "x"; then
     20531        teventdir=""
     20532        teventpaths="$srcdir $srcdir/../lib/tevent $srcdir/tevent $srcdir/../tevent"
     20533        for d in $teventpaths; do
     20534                if test -f "$d/tevent.c"; then
     20535                        teventdir="$d"
     20536                        break;
     20537                fi
     20538        done
     20539        if test x"$teventdir" = "x"; then
     20540           as_fn_error $? "cannot find libtevent source in $teventpaths" "$LINENO" 5
     20541        fi
     20542fi
     20543
     20544TEVENT_OBJ=""
     20545TEVENT_CFLAGS=""
     20546TEVENT_LIBS=""
     20547
     20548
     20549
     20550
     20551TEVENT_CFLAGS="-I$teventdir"
     20552
     20553TEVENT_OBJ="tevent.o tevent_debug.o tevent_util.o"
     20554TEVENT_OBJ="$TEVENT_OBJ tevent_fd.o tevent_timed.o tevent_immediate.o tevent_signal.o"
     20555TEVENT_OBJ="$TEVENT_OBJ tevent_req.o tevent_wakeup.o tevent_queue.o"
     20556TEVENT_OBJ="$TEVENT_OBJ tevent_standard.o tevent_select.o"
     20557TEVENT_OBJ="$TEVENT_OBJ tevent_poll.o"
     20558
     20559for ac_header in sys/epoll.h
     20560do :
     20561  ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
     20562if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
     20563  cat >>confdefs.h <<_ACEOF
     20564#define HAVE_SYS_EPOLL_H 1
     20565_ACEOF
     20566
     20567fi
     20568
     20569done
     20570
     20571for ac_func in epoll_create
     20572do :
     20573  ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
     20574if test "x$ac_cv_func_epoll_create" = xyes; then :
     20575  cat >>confdefs.h <<_ACEOF
     20576#define HAVE_EPOLL_CREATE 1
     20577_ACEOF
     20578
     20579fi
     20580done
     20581
     20582if test x"$ac_cv_header_sys_epoll_h" = x"yes" -a x"$ac_cv_func_epoll_create" = x"yes"; then
     20583   TEVENT_OBJ="$TEVENT_OBJ tevent_epoll.o"
     20584
     20585$as_echo "#define HAVE_EPOLL 1" >>confdefs.h
     20586
     20587fi
     20588
     20589if test x"$VERSIONSCRIPT" != "x"; then
     20590    EXPORTSFILE=tevent.exports
     20591
     20592fi
     20593
     20594
     20595        if test x"$USESHARED" = x"no" ; then
     20596                LINK_LIBTEVENT=STATIC
     20597        fi
     20598        LIBTEVENTVERSION=`grep ^VERSION ${teventdir}/wscript | sed -e "s/'//g" -e 's/.* //'`
     20599
     20600
     20601
     20602
     20603
     20604LIBTEVENT_SHARED_TARGET=bin/libtevent.$SHLIBEXT
     20605LIBTEVENT_STATIC_TARGET=bin/libtevent.a
     20606LIBTEVENT_SHARED=
     20607LIBTEVENT_STATIC=
     20608LIBTEVENT_LIBS=-ltevent
     20609LIBTEVENT_TARGET=
     20610INSTALL_LIBTEVENT=
     20611UNINSTALL_LIBTEVENT=
     20612
     20613LIBTEVENT_SOVER=0
     20614LIBTEVENT_FULLVER=${LIBTEVENTVERSION}
     20615
     20616LIBTEVENT_SHARED_TARGET_SOVER=$LIBTEVENT_SHARED_TARGET.$LIBTEVENT_SOVER
     20617LIBTEVENT_SHARED_TARGET_FULLVER=$LIBTEVENT_SHARED_TARGET.$LIBTEVENT_FULLVER
     20618
     20619
     20620
     20621
     20622
     20623
     20624
     20625
     20626
     20627
     20628
     20629
     20630
     20631
     20632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the libtevent shared library" >&5
     20633$as_echo_n "checking whether to build the libtevent shared library... " >&6; }
     20634
     20635
     20636# Check whether --with-libtevent was given.
     20637if test "${with_libtevent+set}" = set; then :
     20638  withval=$with_libtevent;
     20639case "$withval" in
     20640        no)
     20641                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     20642$as_echo "no" >&6; }
     20643                build_lib=no
     20644                ;;
     20645        *)
     20646                build_lib=yes
     20647                ;;
     20648esac
     20649
     20650else
     20651
     20652# if unspecified, default is to build it if possible.
     20653build_lib=yes
     20654
     20655
     20656fi
     20657
     20658
     20659
     20660if eval test x"$build_lib" = "xyes" ; then
     20661        # only set the install targets if the user chose the library
     20662        INSTALL_LIBTEVENT=installlibtevent
     20663        UNINSTALL_LIBTEVENT=uninstalllibtevent
     20664        if eval $BLDSHARED = true; then
     20665                LIBTEVENT_SHARED=$LIBTEVENT_SHARED_TARGET
     20666                LIBTEVENT_TARGET=$LIBTEVENT_SHARED_TARGET
     20667
     20668                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     20669$as_echo "yes" >&6; }
     20670                if test x"$USESHARED" != x"true" -o x"$LINK_LIBTEVENT" = "xSTATIC" ; then
     20671                        enable_static=yes
     20672                        LIBTEVENT_TARGET=$LIBTEVENT_STATIC_TARGET
     20673                        LIBTEVENT_LIBS=$LIBTEVENT_STATIC_TARGET
     20674                else
     20675                        LIBTEVENT_LIBS=-ltevent
     20676                fi
     20677        else
     20678                enable_static=yes
     20679                LIBTEVENT_TARGET=$LIBTEVENT_STATIC_TARGET
     20680                LIBTEVENT_LIBS=$LIBTEVENT_STATIC_TARGET
     20681                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no shared library support -- will supply static library" >&5
     20682$as_echo "no shared library support -- will supply static library" >&6; }
     20683        fi
     20684else
     20685        enable_static=yes
     20686        { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared library not selected" >&5
     20687$as_echo "shared library not selected" >&6; }
     20688fi
     20689if test $enable_static = yes; then
     20690        LIBTEVENT_STATIC=$LIBTEVENT_STATIC_TARGET
     20691fi
     20692
     20693
     20694
     20695
     20696
     20697
     20698        LIBTEVENT_OBJ0=""
     20699        for obj in ${TEVENT_OBJ}; do
     20700                LIBTEVENT_OBJ0="${LIBTEVENT_OBJ0} ${teventdir}/${obj}"
     20701        done
     20702        SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} ${TEVENT_CFLAGS}"
     20703        SAMBA_CONFIGURE_CPPFLAGS="${SAMBA_CONFIGURE_CPPFLAGS} ${TEVENT_CFLAGS}"
    2040920704
    2041020705fi
     
    2597126266  test -z "$as_dir" && as_dir=.
    2597226267    for ac_exec_ext in '' $ac_executable_extensions; do
    25973   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     26268  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2597426269    ac_cv_path_KRB5CONFIG="$as_dir/$ac_word$ac_exec_ext"
    2597526270    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    3085031145  fi
    3085131146
     31147  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCTYPE_AES128_CTS_HMAC_SHA1_96" >&5
     31148$as_echo_n "checking for ENCTYPE_AES128_CTS_HMAC_SHA1_96... " >&6; }
     31149if ${samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96+:} false; then :
     31150  $as_echo_n "(cached) " >&6
     31151else
     31152
     31153    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     31154/* end confdefs.h.  */
     31155#include <krb5.h>
     31156int
     31157main ()
     31158{
     31159krb5_enctype enctype; enctype = ENCTYPE_AES128_CTS_HMAC_SHA1_96;
     31160  ;
     31161  return 0;
     31162}
     31163_ACEOF
     31164if ac_fn_c_try_compile "$LINENO"; then :
     31165  samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96=yes
     31166else
     31167  samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96=no
     31168fi
     31169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     31170fi
     31171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96" >&5
     31172$as_echo "$samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96" >&6; }
     31173  if test x"$samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96" = x"yes"; then
     31174
     31175$as_echo "#define HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96 1" >>confdefs.h
     31176
     31177  fi
     31178  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCTYPE_AES256_CTS_HMAC_SHA1_96" >&5
     31179$as_echo_n "checking for ENCTYPE_AES256_CTS_HMAC_SHA1_96... " >&6; }
     31180if ${samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96+:} false; then :
     31181  $as_echo_n "(cached) " >&6
     31182else
     31183
     31184    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     31185/* end confdefs.h.  */
     31186#include <krb5.h>
     31187int
     31188main ()
     31189{
     31190krb5_enctype enctype; enctype = ENCTYPE_AES256_CTS_HMAC_SHA1_96;
     31191  ;
     31192  return 0;
     31193}
     31194_ACEOF
     31195if ac_fn_c_try_compile "$LINENO"; then :
     31196  samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96=yes
     31197else
     31198  samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96=no
     31199fi
     31200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     31201fi
     31202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96" >&5
     31203$as_echo "$samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96" >&6; }
     31204  if test x"$samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96" = x"yes"; then
     31205
     31206$as_echo "#define HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96 1" >>confdefs.h
     31207
     31208  fi
     31209
    3085231210  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AP_OPTS_USE_SUBKEY" >&5
    3085331211$as_echo_n "checking for AP_OPTS_USE_SUBKEY... " >&6; }
     
    3245732815    as_fn_error $? "argument to --with-syslog-facility must be a string" "$LINENO" 5
    3245832816  else
     32817     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
     32818$as_echo "$withval" >&6; }
    3245932819     if test "$withval" != "yes" ; then
    3246032820        syslog_facility="$withval"
     
    3246632826     fi
    3246732827  fi
     32828
     32829else
     32830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     32831$as_echo "no" >&6; }
    3246832832
    3246932833fi
     
    3469535059/* end confdefs.h.  */
    3469635060#include <aio.h>
    34697 int main() { struct aiocb a; return aio_suspend(&a, 1, NULL); }
     35061int main() { struct aiocb a; struct timespec t; return aio_suspend(&a, 1, &t); }
    3469835062_ACEOF
    3469935063if ac_fn_c_try_link "$LINENO"; then :
     
    4099441358    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    4099541359    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    40996     # In both cases, we have to default to `cp -p'.
     41360    # In both cases, we have to default to `cp -pR'.
    4099741361    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    40998       as_ln_s='cp -p'
     41362      as_ln_s='cp -pR'
    4099941363  elif ln conf$$.file conf$$ 2>/dev/null; then
    4100041364    as_ln_s=ln
    4100141365  else
    41002     as_ln_s='cp -p'
     41366    as_ln_s='cp -pR'
    4100341367  fi
    4100441368else
    41005   as_ln_s='cp -p'
     41369  as_ln_s='cp -pR'
    4100641370fi
    4100741371rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    4106341427fi
    4106441428
    41065 if test -x / >/dev/null 2>&1; then
    41066   as_test_x='test -x'
    41067 else
    41068   if ls -dL / >/dev/null 2>&1; then
    41069     as_ls_L_option=L
    41070   else
    41071     as_ls_L_option=
    41072   fi
    41073   as_test_x='
    41074     eval sh -c '\''
    41075       if test -d "$1"; then
    41076         test -d "$1/.";
    41077       else
    41078         case $1 in #(
    41079         -*)set "./$1";;
    41080         esac;
    41081         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    41082         ???[sx]*):;;*)false;;esac;fi
    41083     '\'' sh
    41084   '
    41085 fi
    41086 as_executable_p=$as_test_x
     41429
     41430# as_fn_executable_p FILE
     41431# -----------------------
     41432# Test if FILE is an executable regular file.
     41433as_fn_executable_p ()
     41434{
     41435  test -f "$1" && test -x "$1"
     41436} # as_fn_executable_p
     41437as_test_x='test -x'
     41438as_executable_p=as_fn_executable_p
    4108741439
    4108841440# Sed expression to map a string onto a valid CPP name.
     
    4110641458ac_log="
    4110741459This file was extended by Samba $as_me 3, which was
    41108 generated by GNU Autoconf 2.68.  Invocation command line was
     41460generated by GNU Autoconf 2.69.  Invocation command line was
    4110941461
    4111041462  CONFIG_FILES    = $CONFIG_FILES
     
    4117241524ac_cs_version="\\
    4117341525Samba config.status 3
    41174 configured by $0, generated by GNU Autoconf 2.68,
     41526configured by $0, generated by GNU Autoconf 2.69,
    4117541527  with options \\"\$ac_cs_config\\"
    4117641528
    41177 Copyright (C) 2010 Free Software Foundation, Inc.
     41529Copyright (C) 2012 Free Software Foundation, Inc.
    4117841530This config.status script is free software; the Free Software Foundation
    4117941531gives unlimited permission to copy, distribute and modify it."
     
    4126541617cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    4126641618if \$ac_cs_recheck; then
    41267   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     41619  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    4126841620  shift
    4126941621  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
Note: See TracChangeset for help on using the changeset viewer.