Ignore:
Timestamp:
May 12, 2014, 8:58:38 PM (11 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.6: updated vendor to latest version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/configure

    r746 r860  
    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
     
    65956644
    65966645
    6597 
    6598 
    6599 
    6600 if test x"$teventdir" = "x"; then
    6601         teventdir=""
    6602         teventpaths="$srcdir $srcdir/../lib/tevent $srcdir/tevent $srcdir/../tevent"
    6603         for d in $teventpaths; do
    6604                 if test -f "$d/tevent.c"; then
    6605                         teventdir="$d"
    6606                         break;
    6607                 fi
    6608         done
    6609         if test x"$teventdir" = "x"; then
    6610            as_fn_error $? "cannot find libtevent source in $teventpaths" "$LINENO" 5
    6611         fi
    6612 fi
    6613 
    6614 TEVENT_OBJ=""
    6615 TEVENT_CFLAGS=""
    6616 TEVENT_LIBS=""
    6617 
    6618 
    6619 
    6620 
    6621 TEVENT_CFLAGS="-I$teventdir"
    6622 
    6623 TEVENT_OBJ="tevent.o tevent_debug.o tevent_util.o"
    6624 TEVENT_OBJ="$TEVENT_OBJ tevent_fd.o tevent_timed.o tevent_immediate.o tevent_signal.o"
    6625 TEVENT_OBJ="$TEVENT_OBJ tevent_req.o tevent_wakeup.o tevent_queue.o"
    6626 TEVENT_OBJ="$TEVENT_OBJ tevent_standard.o tevent_select.o"
    6627 TEVENT_OBJ="$TEVENT_OBJ tevent_poll.o"
    6628 
    6629 for ac_header in sys/epoll.h
    6630 do :
    6631   ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
    6632 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
    6633   cat >>confdefs.h <<_ACEOF
    6634 #define HAVE_SYS_EPOLL_H 1
    6635 _ACEOF
    6636 
    6637 fi
    6638 
    6639 done
    6640 
    6641 for ac_func in epoll_create
    6642 do :
    6643   ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
    6644 if test "x$ac_cv_func_epoll_create" = xyes; then :
    6645   cat >>confdefs.h <<_ACEOF
    6646 #define HAVE_EPOLL_CREATE 1
    6647 _ACEOF
    6648 
    6649 fi
    6650 done
    6651 
    6652 if test x"$ac_cv_header_sys_epoll_h" = x"yes" -a x"$ac_cv_func_epoll_create" = x"yes"; then
    6653    TEVENT_OBJ="$TEVENT_OBJ tevent_epoll.o"
    6654 
    6655 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
    6656 
    6657 fi
    6658 
    6659 if test x"$VERSIONSCRIPT" != "x"; then
    6660     EXPORTSFILE=tevent.exports
    6661 
    6662 fi
    6663 
    6664 
    6665 
    6666 LIBTEVENT_OBJ0=""
    6667 for obj in ${TEVENT_OBJ}; do
    6668         LIBTEVENT_OBJ0="${LIBTEVENT_OBJ0} ${teventdir}/${obj}"
    6669 done
    6670 
    6671 LIBS="${LIBS} ${TEVENT_LIBS}"
    6672 
    66736646SAMBA_CPPFLAGS="-Iinclude -I${srcdir-.}/include  -I. -I${srcdir-.}"
    66746647SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/../lib/replace"
    6675 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} ${TEVENT_CFLAGS}"
    66766648SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/librpc"
    66776649SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/.."
     
    70236995  test -z "$as_dir" && as_dir=.
    70246996    for ac_exec_ext in '' $ac_executable_extensions; do
    7025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6997  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    70266998    ac_cv_prog_AWK="$ac_prog"
    70276999    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    70747046  test -z "$as_dir" && as_dir=.
    70757047    for ac_exec_ext in '' $ac_executable_extensions; do
    7076   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7048  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    70777049    ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext"
    70787050    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    71527124  test -z "$as_dir" && as_dir=.
    71537125    for ac_exec_ext in '' $ac_executable_extensions; do
    7154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7126  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    71557127    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    71567128    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    71957167  test -z "$as_dir" && as_dir=.
    71967168    for ac_exec_ext in '' $ac_executable_extensions; do
    7197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7169  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    71987170    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    71997171    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    72647236  test -z "$as_dir" && as_dir=.
    72657237    for ac_exec_ext in '' $ac_executable_extensions; do
    7266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7238  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    72677239    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    72687240    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    73087280  test -z "$as_dir" && as_dir=.
    73097281    for ac_exec_ext in '' $ac_executable_extensions; do
    7310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7282  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    73117283    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    73127284    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    73607332  test -z "$as_dir" && as_dir=.
    73617333    for ac_exec_ext in '' $ac_executable_extensions; do
    7362   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7334  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    73637335    ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    73647336    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    74047376  test -z "$as_dir" && as_dir=.
    74057377    for ac_exec_ext in '' $ac_executable_extensions; do
    7406   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7378  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    74077379    ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    74087380    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    76777649  test -z "$as_dir" && as_dir=.
    76787650    for ac_exec_ext in '' $ac_executable_extensions; do
    7679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7651  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    76807652    ac_cv_prog_AR="${ac_tool_prefix}ar"
    76817653    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    77177689  test -z "$as_dir" && as_dir=.
    77187690    for ac_exec_ext in '' $ac_executable_extensions; do
    7719   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7691  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    77207692    ac_cv_prog_ac_ct_AR="ar"
    77217693    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    77707742
    77717743if test "$ac_cv_prog_gnu_ld" = "yes"; then
    7772         ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2>&1 < /dev/null | grep "GNU ld"`
     7744        ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2> /dev/null < /dev/null | grep "GNU ld"`
     7745        # we need to make a 2nd (separate!) check on the output of stderr, see bug #7825:
     7746        if test -z "$ac_cv_gnu_ld_version" ; then
     7747          ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2>&1 > /dev/null < /dev/null | grep "GNU ld"`
     7748        fi
    77737749        { $as_echo "$as_me:${as_lineno-$LINENO}: checking GNU ld release date" >&5
    77747750$as_echo_n "checking GNU ld release date... " >&6; }
     
    90349010done
    90359011
    9036 for ac_header in setjmp.h utime.h
     9012for ac_header in setjmp.h utime.h sys/wait.h
    90379013do :
    90389014  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    92169192  cat >>confdefs.h <<_ACEOF
    92179193#define HAVE_UNIX_H 1
     9194_ACEOF
     9195
     9196fi
     9197
     9198done
     9199
     9200for ac_header in sys/ucontext.h
     9201do :
     9202  ac_fn_c_check_header_mongrel "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "$ac_includes_default"
     9203if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
     9204  cat >>confdefs.h <<_ACEOF
     9205#define HAVE_SYS_UCONTEXT_H 1
    92189206_ACEOF
    92199207
     
    1004410032
    1004510033
    10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_DIRECT flag to open(2)" >&5
    10047 $as_echo_n "checking for O_DIRECT flag to open(2)... " >&6; }
    10048 if ${libreplace_cv_HAVE_OPEN_O_DIRECT+:} false; then :
    10049   $as_echo_n "(cached) " >&6
    10050 else
    10051 
    10052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    10053 /* end confdefs.h.  */
    10054 
    10055 #include <unistd.h>
    10056 #ifdef HAVE_FCNTL_H
    10057 #include <fcntl.h>
    10058 #endif
    10059 int
    10060 main ()
    10061 {
    10062 int fd = open("/dev/null", O_DIRECT);
    10063   ;
    10064   return 0;
    10065 }
    10066 _ACEOF
    10067 if ac_fn_c_try_compile "$LINENO"; then :
    10068   libreplace_cv_HAVE_OPEN_O_DIRECT=yes
    10069 else
    10070   libreplace_cv_HAVE_OPEN_O_DIRECT=no
    10071 fi
    10072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10073 fi
    10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libreplace_cv_HAVE_OPEN_O_DIRECT" >&5
    10075 $as_echo "$libreplace_cv_HAVE_OPEN_O_DIRECT" >&6; }
    10076 if test x"$libreplace_cv_HAVE_OPEN_O_DIRECT" = x"yes"; then
    10077 
    10078 $as_echo "#define HAVE_OPEN_O_DIRECT 1" >>confdefs.h
    10079 
    10080 fi
    10081 
    10082 
    1008310034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that the C compiler understands volatile" >&5
    1008410035$as_echo_n "checking that the C compiler understands volatile... " >&6; }
     
    1068010631               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1068110632$as_echo "$ac_res" >&6; }
    10682 if test $`$as_echo "ac_cv_c_prototype_struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)" | $as_tr_sh` = yes; then :
     10633if eval test $`$as_echo "ac_cv_c_prototype_struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)" | $as_tr_sh` = yes; then :
    1068310634
    1068410635
     
    1072710678               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1072810679$as_echo "$ac_res" >&6; }
    10729 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 :
     10680if 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 :
    1073010681
    1073110682
     
    1082210773               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1082310774$as_echo "$ac_res" >&6; }
    10824 if test $`$as_echo "ac_cv_c_prototype_struct group *getgrent_r(struct group *src, char *buf, int buflen)" | $as_tr_sh` = yes; then :
     10775if eval test $`$as_echo "ac_cv_c_prototype_struct group *getgrent_r(struct group *src, char *buf, int buflen)" | $as_tr_sh` = yes; then :
    1082510776
    1082610777
     
    1087010821               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1087110822$as_echo "$ac_res" >&6; }
    10872 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 :
     10823if 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 :
    1087310824
    1087410825
     
    1094910900
    1095010901
     10902
     10903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_DIRECT flag to open(2)" >&5
     10904$as_echo_n "checking for O_DIRECT flag to open(2)... " >&6; }
     10905if ${libreplace_cv_HAVE_OPEN_O_DIRECT+:} false; then :
     10906  $as_echo_n "(cached) " >&6
     10907else
     10908
     10909cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10910/* end confdefs.h.  */
     10911
     10912#include <unistd.h>
     10913#ifdef HAVE_FCNTL_H
     10914#include <fcntl.h>
     10915#endif
     10916int
     10917main ()
     10918{
     10919int fd = open("/dev/null", O_DIRECT);
     10920  ;
     10921  return 0;
     10922}
     10923_ACEOF
     10924if ac_fn_c_try_compile "$LINENO"; then :
     10925  libreplace_cv_HAVE_OPEN_O_DIRECT=yes
     10926else
     10927  libreplace_cv_HAVE_OPEN_O_DIRECT=no
     10928fi
     10929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10930fi
     10931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libreplace_cv_HAVE_OPEN_O_DIRECT" >&5
     10932$as_echo "$libreplace_cv_HAVE_OPEN_O_DIRECT" >&6; }
     10933if test x"$libreplace_cv_HAVE_OPEN_O_DIRECT" = x"yes"; then
     10934
     10935$as_echo "#define HAVE_OPEN_O_DIRECT 1" >>confdefs.h
     10936
     10937fi
    1095110938
    1095210939save_LIBS="$LIBS"
     
    1115711144               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1115811145$as_echo "$ac_res" >&6; }
    11159 if test $`$as_echo "ac_cv_c_prototype_void *dlopen(const char* filename, unsigned int flags)" | $as_tr_sh` = yes; then :
     11146if eval test $`$as_echo "ac_cv_c_prototype_void *dlopen(const char* filename, unsigned int flags)" | $as_tr_sh` = yes; then :
    1116011147
    1116111148
     
    1146711454               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1146811455$as_echo "$ac_res" >&6; }
    11469 if test $`$as_echo "ac_cv_c_prototype_long telldir(const DIR *dir)" | $as_tr_sh` = yes; then :
     11456if eval test $`$as_echo "ac_cv_c_prototype_long telldir(const DIR *dir)" | $as_tr_sh` = yes; then :
    1147011457
    1147111458
     
    1151111498               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1151211499$as_echo "$ac_res" >&6; }
    11513 if test $`$as_echo "ac_cv_c_prototype_int seekdir(DIR *dir, long ofs)" | $as_tr_sh` = yes; then :
     11500if eval test $`$as_echo "ac_cv_c_prototype_int seekdir(DIR *dir, long ofs)" | $as_tr_sh` = yes; then :
    1151411501
    1151511502
     
    1190511892
    1190611893$as_echo "#define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h
     11894
     11895fi
     11896
     11897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ucontext_t type" >&5
     11898$as_echo_n "checking for ucontext_t type... " >&6; }
     11899if ${libreplace_cv_ucontext_t+:} false; then :
     11900  $as_echo_n "(cached) " >&6
     11901else
     11902
     11903    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11904/* end confdefs.h.  */
     11905
     11906#include <signal.h>
     11907#if HAVE_SYS_UCONTEXT_H
     11908#include <sys/ucontext.h>
     11909# endif
     11910
     11911int
     11912main ()
     11913{
     11914ucontext_t uc; sigaddset(&uc.uc_sigmask, SIGUSR1);
     11915  ;
     11916  return 0;
     11917}
     11918_ACEOF
     11919if ac_fn_c_try_compile "$LINENO"; then :
     11920  libreplace_cv_ucontext_t=yes
     11921else
     11922  libreplace_cv_ucontext_t=no
     11923fi
     11924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11925fi
     11926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libreplace_cv_ucontext_t" >&5
     11927$as_echo "$libreplace_cv_ucontext_t" >&6; }
     11928if test x"$libreplace_cv_ucontext_t" = x"yes"; then
     11929
     11930$as_echo "#define HAVE_UCONTEXT_T 1" >>confdefs.h
    1190711931
    1190811932fi
     
    1394613970
    1394713971
    13948 for ac_header in md5.h
    13949 do :
    13950   ac_fn_c_check_header_mongrel "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default"
    13951 if test "x$ac_cv_header_md5_h" = xyes; then :
    13952   cat >>confdefs.h <<_ACEOF
    13953 #define HAVE_MD5_H 1
    13954 _ACEOF
    13955 
    13956 fi
    13957 
    13958 done
    13959 
    13960 
    1396113972samba_cv_md5lib=none
    1396213973
    13963 if test x"$ac_cv_header_md5_h" = x"yes"; then
    13964 
    13965 $as_echo "#define HAVE_MD5_H 1" >>confdefs.h
    13966 
    13967         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Update in -lmd5" >&5
    13968 $as_echo_n "checking for MD5Update in -lmd5... " >&6; }
    13969 if ${ac_cv_lib_md5_MD5Update+:} false; then :
     13974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Update in -lc" >&5
     13975$as_echo_n "checking for MD5Update in -lc... " >&6; }
     13976if ${ac_cv_lib_c_MD5Update+:} false; then :
    1397013977  $as_echo_n "(cached) " >&6
    1397113978else
    1397213979  ac_check_lib_save_LIBS=$LIBS
    13973 LIBS="-lmd5  $LIBS"
     13980LIBS="-lc  $LIBS"
    1397413981cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1397513982/* end confdefs.h.  */
     
    1399113998_ACEOF
    1399213999if ac_fn_c_try_link "$LINENO"; then :
    13993   ac_cv_lib_md5_MD5Update=yes
    13994 else
    13995   ac_cv_lib_md5_MD5Update=no
     14000  ac_cv_lib_c_MD5Update=yes
     14001else
     14002  ac_cv_lib_c_MD5Update=no
    1399614003fi
    1399714004rm -f core conftest.err conftest.$ac_objext \
     
    1399914006LIBS=$ac_check_lib_save_LIBS
    1400014007fi
    14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_md5_MD5Update" >&5
    14002 $as_echo "$ac_cv_lib_md5_MD5Update" >&6; }
    14003 if test "x$ac_cv_lib_md5_MD5Update" = xyes; then :
    14004   samba_cv_md5lib=md5
    14005 fi
    14006 
    14007 fi
    14008 
    14009 if test x"$ac_cv_header_md5_h" = x"yes" -a \
    14010         x"$samba_cv_md5lib" = x"none" ; then
     14008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_MD5Update" >&5
     14009$as_echo "$ac_cv_lib_c_MD5Update" >&6; }
     14010if test "x$ac_cv_lib_c_MD5Update" = xyes; then :
     14011  samba_cv_md5lib=""
     14012fi
     14013
     14014
     14015if test x"$samba_cv_md5lib" = x"none" ; then
    1401114016        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Update in -lmd" >&5
    1401214017$as_echo_n "checking for MD5Update in -lmd... " >&6; }
     
    1405114056fi
    1405214057
    14053 if test x"$ac_cv_header_md5_h" = x"yes" -a \
    14054         x"$samba_cv_md5lib" = x"none" ; then
    14055         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Update in -lc" >&5
    14056 $as_echo_n "checking for MD5Update in -lc... " >&6; }
    14057 if ${ac_cv_lib_c_MD5Update+:} false; then :
     14058if test x"$samba_cv_md5lib" = x"none" ; then
     14059        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Update in -lmd5" >&5
     14060$as_echo_n "checking for MD5Update in -lmd5... " >&6; }
     14061if ${ac_cv_lib_md5_MD5Update+:} false; then :
    1405814062  $as_echo_n "(cached) " >&6
    1405914063else
    1406014064  ac_check_lib_save_LIBS=$LIBS
    14061 LIBS="-lc  $LIBS"
     14065LIBS="-lmd5  $LIBS"
    1406214066cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1406314067/* end confdefs.h.  */
     
    1407914083_ACEOF
    1408014084if ac_fn_c_try_link "$LINENO"; then :
    14081   ac_cv_lib_c_MD5Update=yes
    14082 else
    14083   ac_cv_lib_c_MD5Update=no
     14085  ac_cv_lib_md5_MD5Update=yes
     14086else
     14087  ac_cv_lib_md5_MD5Update=no
    1408414088fi
    1408514089rm -f core conftest.err conftest.$ac_objext \
     
    1408714091LIBS=$ac_check_lib_save_LIBS
    1408814092fi
    14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_MD5Update" >&5
    14090 $as_echo "$ac_cv_lib_c_MD5Update" >&6; }
    14091 if test "x$ac_cv_lib_c_MD5Update" = xyes; then :
    14092   samba_cv_md5lib=""
     14093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_md5_MD5Update" >&5
     14094$as_echo "$ac_cv_lib_md5_MD5Update" >&6; }
     14095if test "x$ac_cv_lib_md5_MD5Update" = xyes; then :
     14096  samba_cv_md5lib=md5
    1409314097fi
    1409414098
     
    1409614100
    1409714101if test x"$samba_cv_md5lib" != x"none" ; then
     14102        for ac_header in md5.h
     14103do :
     14104  ac_fn_c_check_header_mongrel "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default"
     14105if test "x$ac_cv_header_md5_h" = xyes; then :
     14106  cat >>confdefs.h <<_ACEOF
     14107#define HAVE_MD5_H 1
     14108_ACEOF
     14109
     14110fi
     14111
     14112done
     14113
     14114fi
     14115
     14116CRYPTO_MD5_OBJ="../lib/crypto/md5.o"
     14117if test x"$ac_cv_header_md5_h" = x"yes" -a \
     14118        x"$samba_cv_md5lib" != x"none" ; then
    1409814119        if test x"$samba_cv_md5lib" != x ; then
    1409914120                LIBS="${LIBS} -l${samba_cv_md5lib}"
     14121
     14122$as_echo "#define HAVE_LIBMD5 1" >>confdefs.h
     14123
    1410014124        fi
    1410114125        CRYPTO_MD5_OBJ=
    14102 
    14103 $as_echo "#define HAVE_LIBMD5 1" >>confdefs.h
    14104 
    14105 else
    14106         CRYPTO_MD5_OBJ="../lib/crypto/md5.o"
    1410714126fi
    1410814127
     
    1446614485main ()
    1446714486{
    14468 /* FIXME: Include the comments suggested by Paul. */
     14487
    1446914488#ifndef __cplusplus
    14470   /* Ultrix mips cc rejects this.  */
     14489  /* Ultrix mips cc rejects this sort of thing.  */
    1447114490  typedef int charset[2];
    14472   const charset cs;
     14491  const charset cs = { 0, 0 };
    1447314492  /* SunOS 4.1.1 cc rejects this.  */
    1447414493  char const *const *pcpcc;
     
    1448714506  ppc = (char**) pcpcc;
    1448814507  pcpcc = (char const *const *) ppc;
    14489   { /* SCO 3.2v4 cc rejects this.  */
    14490     char *t;
     14508  { /* SCO 3.2v4 cc rejects this sort of thing.  */
     14509    char tx;
     14510    char *t = &tx;
    1449114511    char const *s = 0 ? (char *) 0 : (char const *) 0;
    1449214512
     
    1450414524    ++p;
    1450514525  }
    14506   { /* AIX XL C 1.02.0.0 rejects this saying
     14526  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
    1450714527       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
    14508     struct s { int j; const int *ap[3]; };
    14509     struct s *b; b->j = 5;
     14528    struct s { int j; const int *ap[3]; } bx;
     14529    struct s *b = &bx; b->j = 5;
    1451014530  }
    1451114531  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
     
    1481314833{
    1481414834static int test_array [1 - 2 * !(((char) -1) < 0)];
    14815 test_array [0] = 0
     14835test_array [0] = 0;
     14836return test_array [0];
    1481614837
    1481714838  ;
     
    1503915060  test -z "$as_dir" && as_dir=.
    1504015061    for ac_exec_ext in '' $ac_executable_extensions; do
    15041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     15062  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1504215063    ac_cv_path_CUPS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    1504315064    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1626516286done
    1626616287
    16267 for ac_func in lstat64 fopen64 atexit grantpt lseek64 ftruncate64 posix_fallocate posix_fallocate64
     16288for ac_func in lstat64 fopen64 atexit grantpt posix_openpt lseek64 ftruncate64 posix_fallocate posix_fallocate64
    1626816289do :
    1626916290  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     
    1942619447  test -z "$as_dir" && as_dir=.
    1942719448    for ac_exec_ext in '' $ac_executable_extensions; do
    19428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     19449  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1942919450    ac_cv_prog_ROFF="groff -etpsR -Tascii -man"
    1943019451    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1996219983  test -z "$as_dir" && as_dir=.
    1996319984    for ac_exec_ext in '' $ac_executable_extensions; do
    19964   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     19985  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1996519986    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    1996619987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2000520026  test -z "$as_dir" && as_dir=.
    2000620027    for ac_exec_ext in '' $ac_executable_extensions; do
    20007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     20028  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2000820029    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    2000920030    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2035820379
    2035920380        TALLOCTORT="bin/talloctort\$(EXEEXT)"
     20381
     20382fi
     20383
     20384# Check whether --enable-external_libtevent was given.
     20385if test "${enable_external_libtevent+set}" = set; then :
     20386  enableval=$enable_external_libtevent;  enable_external_libtevent=$enableval
     20387else
     20388   enable_external_libtevent=auto
     20389fi
     20390
     20391
     20392if test "x$enable_external_libtevent" != xno
     20393then
     20394
     20395pkg_failed=no
     20396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTEVENT" >&5
     20397$as_echo_n "checking for LIBTEVENT... " >&6; }
     20398
     20399if test -n "$PKG_CONFIG"; then
     20400    if test -n "$LIBTEVENT_CFLAGS"; then
     20401        pkg_cv_LIBTEVENT_CFLAGS="$LIBTEVENT_CFLAGS"
     20402    else
     20403        if test -n "$PKG_CONFIG" && \
     20404    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tevent >= 0.9.11\""; } >&5
     20405  ($PKG_CONFIG --exists --print-errors "tevent >= 0.9.11") 2>&5
     20406  ac_status=$?
     20407  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     20408  test $ac_status = 0; }; then
     20409  pkg_cv_LIBTEVENT_CFLAGS=`$PKG_CONFIG --cflags "tevent >= 0.9.11" 2>/dev/null`
     20410else
     20411  pkg_failed=yes
     20412fi
     20413    fi
     20414else
     20415        pkg_failed=untried
     20416fi
     20417if test -n "$PKG_CONFIG"; then
     20418    if test -n "$LIBTEVENT_LIBS"; then
     20419        pkg_cv_LIBTEVENT_LIBS="$LIBTEVENT_LIBS"
     20420    else
     20421        if test -n "$PKG_CONFIG" && \
     20422    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tevent >= 0.9.11\""; } >&5
     20423  ($PKG_CONFIG --exists --print-errors "tevent >= 0.9.11") 2>&5
     20424  ac_status=$?
     20425  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     20426  test $ac_status = 0; }; then
     20427  pkg_cv_LIBTEVENT_LIBS=`$PKG_CONFIG --libs "tevent >= 0.9.11" 2>/dev/null`
     20428else
     20429  pkg_failed=yes
     20430fi
     20431    fi
     20432else
     20433        pkg_failed=untried
     20434fi
     20435
     20436
     20437
     20438if test $pkg_failed = yes; then
     20439
     20440if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     20441        _pkg_short_errors_supported=yes
     20442else
     20443        _pkg_short_errors_supported=no
     20444fi
     20445        if test $_pkg_short_errors_supported = yes; then
     20446                LIBTEVENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "tevent >= 0.9.11"`
     20447        else
     20448                LIBTEVENT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "tevent >= 0.9.11"`
     20449        fi
     20450        # Put the nasty error message in config.log where it belongs
     20451        echo "$LIBTEVENT_PKG_ERRORS" >&5
     20452
     20453        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     20454$as_echo "no" >&6; }
     20455                 if test x$enable_external_libtevent = xyes; then
     20456                        as_fn_error $? "Unable to find libtevent" "$LINENO" 5
     20457                  else
     20458                        enable_external_libtevent=no
     20459                  fi
     20460
     20461elif test $pkg_failed = untried; then
     20462         if test x$enable_external_libtevent = xyes; then
     20463                        as_fn_error $? "Unable to find libtevent" "$LINENO" 5
     20464                  else
     20465                        enable_external_libtevent=no
     20466                  fi
     20467
     20468else
     20469        LIBTEVENT_CFLAGS=$pkg_cv_LIBTEVENT_CFLAGS
     20470        LIBTEVENT_LIBS=$pkg_cv_LIBTEVENT_LIBS
     20471        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     20472$as_echo "yes" >&6; }
     20473         enable_external_libtevent=yes
     20474fi
     20475fi
     20476
     20477if test "x$enable_external_libtevent" = xno
     20478then
     20479
     20480
     20481
     20482if test x"$teventdir" = "x"; then
     20483        teventdir=""
     20484        teventpaths="$srcdir $srcdir/../lib/tevent $srcdir/tevent $srcdir/../tevent"
     20485        for d in $teventpaths; do
     20486                if test -f "$d/tevent.c"; then
     20487                        teventdir="$d"
     20488                        break;
     20489                fi
     20490        done
     20491        if test x"$teventdir" = "x"; then
     20492           as_fn_error $? "cannot find libtevent source in $teventpaths" "$LINENO" 5
     20493        fi
     20494fi
     20495
     20496TEVENT_OBJ=""
     20497TEVENT_CFLAGS=""
     20498TEVENT_LIBS=""
     20499
     20500
     20501
     20502
     20503TEVENT_CFLAGS="-I$teventdir"
     20504
     20505TEVENT_OBJ="tevent.o tevent_debug.o tevent_util.o"
     20506TEVENT_OBJ="$TEVENT_OBJ tevent_fd.o tevent_timed.o tevent_immediate.o tevent_signal.o"
     20507TEVENT_OBJ="$TEVENT_OBJ tevent_req.o tevent_wakeup.o tevent_queue.o"
     20508TEVENT_OBJ="$TEVENT_OBJ tevent_standard.o tevent_select.o"
     20509TEVENT_OBJ="$TEVENT_OBJ tevent_poll.o"
     20510
     20511for ac_header in sys/epoll.h
     20512do :
     20513  ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
     20514if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
     20515  cat >>confdefs.h <<_ACEOF
     20516#define HAVE_SYS_EPOLL_H 1
     20517_ACEOF
     20518
     20519fi
     20520
     20521done
     20522
     20523for ac_func in epoll_create
     20524do :
     20525  ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
     20526if test "x$ac_cv_func_epoll_create" = xyes; then :
     20527  cat >>confdefs.h <<_ACEOF
     20528#define HAVE_EPOLL_CREATE 1
     20529_ACEOF
     20530
     20531fi
     20532done
     20533
     20534if test x"$ac_cv_header_sys_epoll_h" = x"yes" -a x"$ac_cv_func_epoll_create" = x"yes"; then
     20535   TEVENT_OBJ="$TEVENT_OBJ tevent_epoll.o"
     20536
     20537$as_echo "#define HAVE_EPOLL 1" >>confdefs.h
     20538
     20539fi
     20540
     20541if test x"$VERSIONSCRIPT" != "x"; then
     20542    EXPORTSFILE=tevent.exports
     20543
     20544fi
     20545
     20546
     20547        if test x"$USESHARED" = x"no" ; then
     20548                LINK_LIBTEVENT=STATIC
     20549        fi
     20550        LIBTEVENTVERSION=`grep ^VERSION ${teventdir}/wscript | sed -e "s/'//g" -e 's/.* //'`
     20551
     20552
     20553
     20554
     20555
     20556LIBTEVENT_SHARED_TARGET=bin/libtevent.$SHLIBEXT
     20557LIBTEVENT_STATIC_TARGET=bin/libtevent.a
     20558LIBTEVENT_SHARED=
     20559LIBTEVENT_STATIC=
     20560LIBTEVENT_LIBS=-ltevent
     20561LIBTEVENT_TARGET=
     20562INSTALL_LIBTEVENT=
     20563UNINSTALL_LIBTEVENT=
     20564
     20565LIBTEVENT_SOVER=0
     20566LIBTEVENT_FULLVER=${LIBTEVENTVERSION}
     20567
     20568LIBTEVENT_SHARED_TARGET_SOVER=$LIBTEVENT_SHARED_TARGET.$LIBTEVENT_SOVER
     20569LIBTEVENT_SHARED_TARGET_FULLVER=$LIBTEVENT_SHARED_TARGET.$LIBTEVENT_FULLVER
     20570
     20571
     20572
     20573
     20574
     20575
     20576
     20577
     20578
     20579
     20580
     20581
     20582
     20583
     20584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the libtevent shared library" >&5
     20585$as_echo_n "checking whether to build the libtevent shared library... " >&6; }
     20586
     20587
     20588# Check whether --with-libtevent was given.
     20589if test "${with_libtevent+set}" = set; then :
     20590  withval=$with_libtevent;
     20591case "$withval" in
     20592        no)
     20593                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     20594$as_echo "no" >&6; }
     20595                build_lib=no
     20596                ;;
     20597        *)
     20598                build_lib=yes
     20599                ;;
     20600esac
     20601
     20602else
     20603
     20604# if unspecified, default is to build it if possible.
     20605build_lib=yes
     20606
     20607
     20608fi
     20609
     20610
     20611
     20612if eval test x"$build_lib" = "xyes" ; then
     20613        # only set the install targets if the user chose the library
     20614        INSTALL_LIBTEVENT=installlibtevent
     20615        UNINSTALL_LIBTEVENT=uninstalllibtevent
     20616        if eval $BLDSHARED = true; then
     20617                LIBTEVENT_SHARED=$LIBTEVENT_SHARED_TARGET
     20618                LIBTEVENT_TARGET=$LIBTEVENT_SHARED_TARGET
     20619
     20620                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     20621$as_echo "yes" >&6; }
     20622                if test x"$USESHARED" != x"true" -o x"$LINK_LIBTEVENT" = "xSTATIC" ; then
     20623                        enable_static=yes
     20624                        LIBTEVENT_TARGET=$LIBTEVENT_STATIC_TARGET
     20625                        LIBTEVENT_LIBS=$LIBTEVENT_STATIC_TARGET
     20626                else
     20627                        LIBTEVENT_LIBS=-ltevent
     20628                fi
     20629        else
     20630                enable_static=yes
     20631                LIBTEVENT_TARGET=$LIBTEVENT_STATIC_TARGET
     20632                LIBTEVENT_LIBS=$LIBTEVENT_STATIC_TARGET
     20633                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no shared library support -- will supply static library" >&5
     20634$as_echo "no shared library support -- will supply static library" >&6; }
     20635        fi
     20636else
     20637        enable_static=yes
     20638        { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared library not selected" >&5
     20639$as_echo "shared library not selected" >&6; }
     20640fi
     20641if test $enable_static = yes; then
     20642        LIBTEVENT_STATIC=$LIBTEVENT_STATIC_TARGET
     20643fi
     20644
     20645
     20646
     20647
     20648
     20649
     20650        LIBTEVENT_OBJ0=""
     20651        for obj in ${TEVENT_OBJ}; do
     20652                LIBTEVENT_OBJ0="${LIBTEVENT_OBJ0} ${teventdir}/${obj}"
     20653        done
     20654        SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} ${TEVENT_CFLAGS}"
     20655        SAMBA_CONFIGURE_CPPFLAGS="${SAMBA_CONFIGURE_CPPFLAGS} ${TEVENT_CFLAGS}"
    2036020656
    2036120657fi
     
    2592026216  test -z "$as_dir" && as_dir=.
    2592126217    for ac_exec_ext in '' $ac_executable_extensions; do
    25922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     26218  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2592326219    ac_cv_path_KRB5CONFIG="$as_dir/$ac_word$ac_exec_ext"
    2592426220    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    3079931095  fi
    3080031096
     31097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCTYPE_AES128_CTS_HMAC_SHA1_96" >&5
     31098$as_echo_n "checking for ENCTYPE_AES128_CTS_HMAC_SHA1_96... " >&6; }
     31099if ${samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96+:} false; then :
     31100  $as_echo_n "(cached) " >&6
     31101else
     31102
     31103    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     31104/* end confdefs.h.  */
     31105#include <krb5.h>
     31106int
     31107main ()
     31108{
     31109krb5_enctype enctype; enctype = ENCTYPE_AES128_CTS_HMAC_SHA1_96;
     31110  ;
     31111  return 0;
     31112}
     31113_ACEOF
     31114if ac_fn_c_try_compile "$LINENO"; then :
     31115  samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96=yes
     31116else
     31117  samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96=no
     31118fi
     31119rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     31120fi
     31121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96" >&5
     31122$as_echo "$samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96" >&6; }
     31123  if test x"$samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96" = x"yes"; then
     31124
     31125$as_echo "#define HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96 1" >>confdefs.h
     31126
     31127  fi
     31128  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCTYPE_AES256_CTS_HMAC_SHA1_96" >&5
     31129$as_echo_n "checking for ENCTYPE_AES256_CTS_HMAC_SHA1_96... " >&6; }
     31130if ${samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96+:} false; then :
     31131  $as_echo_n "(cached) " >&6
     31132else
     31133
     31134    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     31135/* end confdefs.h.  */
     31136#include <krb5.h>
     31137int
     31138main ()
     31139{
     31140krb5_enctype enctype; enctype = ENCTYPE_AES256_CTS_HMAC_SHA1_96;
     31141  ;
     31142  return 0;
     31143}
     31144_ACEOF
     31145if ac_fn_c_try_compile "$LINENO"; then :
     31146  samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96=yes
     31147else
     31148  samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96=no
     31149fi
     31150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     31151fi
     31152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96" >&5
     31153$as_echo "$samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96" >&6; }
     31154  if test x"$samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96" = x"yes"; then
     31155
     31156$as_echo "#define HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96 1" >>confdefs.h
     31157
     31158  fi
     31159
    3080131160  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AP_OPTS_USE_SUBKEY" >&5
    3080231161$as_echo_n "checking for AP_OPTS_USE_SUBKEY... " >&6; }
     
    3240632765    as_fn_error $? "argument to --with-syslog-facility must be a string" "$LINENO" 5
    3240732766  else
     32767     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
     32768$as_echo "$withval" >&6; }
    3240832769     if test "$withval" != "yes" ; then
    3240932770        syslog_facility="$withval"
     
    3241532776     fi
    3241632777  fi
     32778
     32779else
     32780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     32781$as_echo "no" >&6; }
    3241732782
    3241832783fi
     
    3464435009/* end confdefs.h.  */
    3464535010#include <aio.h>
    34646 int main() { struct aiocb a; return aio_suspend(&a, 1, NULL); }
     35011int main() { struct aiocb a; struct timespec t; return aio_suspend(&a, 1, &t); }
    3464735012_ACEOF
    3464835013if ac_fn_c_try_link "$LINENO"; then :
     
    4094341308    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    4094441309    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    40945     # In both cases, we have to default to `cp -p'.
     41310    # In both cases, we have to default to `cp -pR'.
    4094641311    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    40947       as_ln_s='cp -p'
     41312      as_ln_s='cp -pR'
    4094841313  elif ln conf$$.file conf$$ 2>/dev/null; then
    4094941314    as_ln_s=ln
    4095041315  else
    40951     as_ln_s='cp -p'
     41316    as_ln_s='cp -pR'
    4095241317  fi
    4095341318else
    40954   as_ln_s='cp -p'
     41319  as_ln_s='cp -pR'
    4095541320fi
    4095641321rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    4101241377fi
    4101341378
    41014 if test -x / >/dev/null 2>&1; then
    41015   as_test_x='test -x'
    41016 else
    41017   if ls -dL / >/dev/null 2>&1; then
    41018     as_ls_L_option=L
    41019   else
    41020     as_ls_L_option=
    41021   fi
    41022   as_test_x='
    41023     eval sh -c '\''
    41024       if test -d "$1"; then
    41025         test -d "$1/.";
    41026       else
    41027         case $1 in #(
    41028         -*)set "./$1";;
    41029         esac;
    41030         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    41031         ???[sx]*):;;*)false;;esac;fi
    41032     '\'' sh
    41033   '
    41034 fi
    41035 as_executable_p=$as_test_x
     41379
     41380# as_fn_executable_p FILE
     41381# -----------------------
     41382# Test if FILE is an executable regular file.
     41383as_fn_executable_p ()
     41384{
     41385  test -f "$1" && test -x "$1"
     41386} # as_fn_executable_p
     41387as_test_x='test -x'
     41388as_executable_p=as_fn_executable_p
    4103641389
    4103741390# Sed expression to map a string onto a valid CPP name.
     
    4105541408ac_log="
    4105641409This file was extended by Samba $as_me 3, which was
    41057 generated by GNU Autoconf 2.68.  Invocation command line was
     41410generated by GNU Autoconf 2.69.  Invocation command line was
    4105841411
    4105941412  CONFIG_FILES    = $CONFIG_FILES
     
    4112141474ac_cs_version="\\
    4112241475Samba config.status 3
    41123 configured by $0, generated by GNU Autoconf 2.68,
     41476configured by $0, generated by GNU Autoconf 2.69,
    4112441477  with options \\"\$ac_cs_config\\"
    4112541478
    41126 Copyright (C) 2010 Free Software Foundation, Inc.
     41479Copyright (C) 2012 Free Software Foundation, Inc.
    4112741480This config.status script is free software; the Free Software Foundation
    4112841481gives unlimited permission to copy, distribute and modify it."
     
    4121441567cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    4121541568if \$ac_cs_recheck; then
    41216   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     41569  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    4121741570  shift
    4121841571  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
Note: See TracChangeset for help on using the changeset viewer.