Changeset 862 for trunk/server/source3/configure
- Timestamp:
- May 13, 2014, 11:39:04 AM (11 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 860
- Property svn:mergeinfo changed
-
trunk/server/source3/configure
r823 r862 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 8for Samba 3.3 # Generated by GNU Autoconf 2.69 for Samba 3. 4 4 # 5 5 # Report bugs to <samba-technical@samba.org>. 6 6 # 7 7 # 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. 11 9 # 12 10 # … … 137 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 136 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. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $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 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 139 162 if test "x$CONFIG_SHELL" = x; then 140 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : … … 170 193 exitcode=1; echo positional parameters were not saved. 171 194 fi 172 test x\$exitcode = x0 || exit 1" 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 173 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO … … 215 239 216 240 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. 246 BASH_ENV=/dev/null 247 ENV=/dev/null 248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249 case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254 esac 255 exec $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 259 exit 255 232 260 fi 233 261 … … 332 360 333 361 } # as_fn_mkdir_p 362 363 # as_fn_executable_p FILE 364 # ----------------------- 365 # Test if FILE is an executable regular file. 366 as_fn_executable_p () 367 { 368 test -f "$1" && test -x "$1" 369 } # as_fn_executable_p 334 370 # as_fn_append VAR VALUE 335 371 # ---------------------- … … 453 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 454 490 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 455 495 # Don't try to exec as it changes $[0], causing all sort of problems 456 496 # (the dirname of $[0] is not the place where we might find the … … 487 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 528 # 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'. 490 530 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' 492 532 elif ln conf$$.file conf$$ 2>/dev/null; then 493 533 as_ln_s=ln 494 534 else 495 as_ln_s='cp -p '535 as_ln_s='cp -pR' 496 536 fi 497 537 else 498 as_ln_s='cp -p '538 as_ln_s='cp -pR' 499 539 fi 500 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 508 548 fi 509 549 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 550 as_test_x='test -x' 551 as_executable_p=as_fn_executable_p 532 552 533 553 # Sed expression to map a string onto a valid CPP name. … … 726 746 LIBTDB_LIBS 727 747 LIBTDB_CFLAGS 748 LIBTEVENT_OBJ0 749 LIBTEVENT_SHARED_TARGET_FULLVER 750 LIBTEVENT_SHARED_TARGET_SOVER 751 LIBTEVENT_FULLVER 752 LIBTEVENT_SOVER 753 UNINSTALL_LIBTEVENT 754 INSTALL_LIBTEVENT 755 LIBTEVENT_TARGET 756 LIBTEVENT_STATIC 757 LIBTEVENT_SHARED 758 LIBTEVENT_STATIC_TARGET 759 LIBTEVENT_SHARED_TARGET 760 TEVENT_LIBS 761 TEVENT_CFLAGS 762 TEVENT_OBJ 763 teventdir 764 LIBTEVENT_LIBS 765 LIBTEVENT_CFLAGS 728 766 TALLOCTORT 729 767 LIBTALLOC_OBJ0 … … 739 777 LIBTALLOC_STATIC_TARGET 740 778 LIBTALLOC_SHARED_TARGET 779 EXPORTSFILE 741 780 TALLOC_LIBS 742 781 TALLOC_CFLAGS … … 834 873 LDSHFLAGS 835 874 SAMBA_CPPFLAGS 836 LIBTEVENT_OBJ0837 EXPORTSFILE838 TEVENT_LIBS839 TEVENT_CFLAGS840 TEVENT_OBJ841 teventdir842 875 LIB_PATH_VAR 843 876 libreplace_cv_immediate_structures … … 975 1008 enable_external_libtalloc 976 1009 with_libtalloc 1010 enable_external_libtevent 1011 with_libtevent 977 1012 enable_external_libtdb 978 1013 with_libtdb … … 1031 1066 LIBTALLOC_CFLAGS 1032 1067 LIBTALLOC_LIBS 1068 LIBTEVENT_CFLAGS 1069 LIBTEVENT_LIBS 1033 1070 LIBTDB_CFLAGS 1034 1071 LIBTDB_LIBS' … … 1488 1525 if test "x$build_alias" = x; then 1489 1526 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" >&21492 1527 elif test "x$build_alias" != "x$host_alias"; then 1493 1528 cross_compiling=yes … … 1672 1707 --enable-external-libtalloc 1673 1708 Enable external talloc [default=auto] 1709 --enable-external-libtevent 1710 Enable external tevent [default=auto] 1674 1711 --enable-external-libtdb 1675 1712 Enable external tdb [default=auto] … … 1735 1772 --with-libtalloc Build the libtalloc shared library (default=yes if 1736 1773 shared libs supported) 1774 --with-libtevent Build the libtevent shared library (default=yes if 1775 shared libs supported) 1737 1776 --with-libtdb Build the libtdb shared library (default=yes if 1738 1777 shared libs supported) … … 1802 1841 LIBTALLOC_LIBS 1803 1842 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 1804 1847 LIBTDB_CFLAGS 1805 1848 C compiler flags for LIBTDB, overriding pkg-config … … 1873 1916 cat <<\_ACEOF 1874 1917 Samba configure 3 1875 generated by GNU Autoconf 2.6 81876 1877 Copyright (C) 201 0Free Software Foundation, Inc.1918 generated by GNU Autoconf 2.69 1919 1920 Copyright (C) 2012 Free Software Foundation, Inc. 1878 1921 This configure script is free software; the Free Software Foundation 1879 1922 gives unlimited permission to copy, distribute and modify it. … … 2152 2195 } && test -s conftest$ac_exeext && { 2153 2196 test "$cross_compiling" = yes || 2154 $as_test_x conftest$ac_exeext2197 test -x conftest$ac_exeext 2155 2198 }; then : 2156 2199 ac_retval=0 … … 2242 2285 { 2243 2286 static int test_array [1 - 2 * !(($2) >= 0)]; 2244 test_array [0] = 0 2287 test_array [0] = 0; 2288 return test_array [0]; 2245 2289 2246 2290 ; … … 2258 2302 { 2259 2303 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2260 test_array [0] = 0 2304 test_array [0] = 0; 2305 return test_array [0]; 2261 2306 2262 2307 ; … … 2284 2329 { 2285 2330 static int test_array [1 - 2 * !(($2) < 0)]; 2286 test_array [0] = 0 2331 test_array [0] = 0; 2332 return test_array [0]; 2287 2333 2288 2334 ; … … 2300 2346 { 2301 2347 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2302 test_array [0] = 0 2348 test_array [0] = 0; 2349 return test_array [0]; 2303 2350 2304 2351 ; … … 2334 2381 { 2335 2382 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2336 test_array [0] = 0 2383 test_array [0] = 0; 2384 return test_array [0]; 2337 2385 2338 2386 ; … … 2403 2451 } # ac_fn_c_compute_int 2404 2452 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. 2457 ac_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; } 2462 if eval \${$4+:} false; then : 2463 $as_echo_n "(cached) " >&6 2464 else 2465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2466 /* end confdefs.h. */ 2467 $5 2468 int 2469 main () 2470 { 2471 static $2 ac_aggr; 2472 if (ac_aggr.$3) 2473 return 0; 2474 ; 2475 return 0; 2476 } 2477 _ACEOF 2478 if ac_fn_c_try_compile "$LINENO"; then : 2479 eval "$4=yes" 2480 else 2481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2482 /* end confdefs.h. */ 2483 $5 2484 int 2485 main () 2486 { 2487 static $2 ac_aggr; 2488 if (sizeof ac_aggr.$3) 2489 return 0; 2490 ; 2491 return 0; 2492 } 2493 _ACEOF 2494 if ac_fn_c_try_compile "$LINENO"; then : 2495 eval "$4=yes" 2496 else 2497 eval "$4=no" 2498 fi 2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2500 fi 2501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2502 fi 2503 eval 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 2405 2510 # ac_fn_c_check_func LINENO FUNC VAR 2406 2511 # ---------------------------------- … … 2470 2575 } # ac_fn_c_check_func 2471 2576 2472 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES2473 # ----------------------------------------------------2474 # Tries to find if the field MEMBER exists in type AGGR, after including2475 # 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_stack2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&52480 $as_echo_n "checking for $2.$3... " >&6; }2481 if eval \${$4+:} false; then :2482 $as_echo_n "(cached) " >&62483 else2484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2485 /* end confdefs.h. */2486 $52487 int2488 main ()2489 {2490 static $2 ac_aggr;2491 if (ac_aggr.$3)2492 return 0;2493 ;2494 return 0;2495 }2496 _ACEOF2497 if ac_fn_c_try_compile "$LINENO"; then :2498 eval "$4=yes"2499 else2500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2501 /* end confdefs.h. */2502 $52503 int2504 main ()2505 {2506 static $2 ac_aggr;2507 if (sizeof ac_aggr.$3)2508 return 0;2509 ;2510 return 0;2511 }2512 _ACEOF2513 if ac_fn_c_try_compile "$LINENO"; then :2514 eval "$4=yes"2515 else2516 eval "$4=no"2517 fi2518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2519 fi2520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2521 fi2522 eval ac_res=\$$42523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52524 $as_echo "$ac_res" >&6; }2525 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2526 2527 } # ac_fn_c_check_member2528 2529 2577 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2530 2578 # --------------------------------------------- … … 2577 2625 2578 2626 It was created by Samba $as_me 3, which was 2579 generated by GNU Autoconf 2.6 8. Invocation command line was2627 generated by GNU Autoconf 2.69. Invocation command line was 2580 2628 2581 2629 $ $0 $@ … … 3763 3811 test -z "$as_dir" && as_dir=. 3764 3812 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"; }; then3813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3766 3814 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3767 3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3803 3851 test -z "$as_dir" && as_dir=. 3804 3852 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"; }; then3853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3806 3854 ac_cv_prog_ac_ct_CC="gcc" 3807 3855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3856 3904 test -z "$as_dir" && as_dir=. 3857 3905 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"; }; then3906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3859 3907 ac_cv_prog_CC="${ac_tool_prefix}cc" 3860 3908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3897 3945 test -z "$as_dir" && as_dir=. 3898 3946 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"; }; then3947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3900 3948 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3901 3949 ac_prog_rejected=yes … … 3955 4003 test -z "$as_dir" && as_dir=. 3956 4004 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"; }; then4005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3958 4006 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3959 4007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3999 4047 test -z "$as_dir" && as_dir=. 4000 4048 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"; }; then4049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4002 4050 ac_cv_prog_ac_ct_CC="$ac_prog" 4003 4051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4445 4493 #include <stdarg.h> 4446 4494 #include <stdio.h> 4447 #include <sys/types.h> 4448 #include <sys/stat.h> 4495 struct stat; 4449 4496 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4450 4497 struct buf { int x; }; … … 4680 4727 } 4681 4728 _ACEOF 4682 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 - xc99=all-qlanglvl=extc994729 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 4683 4730 do 4684 4731 CC="$ac_save_CC $ac_arg" … … 4875 4922 for ac_exec_ext in '' $ac_executable_extensions; do 4876 4923 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4877 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue4924 as_fn_executable_p "$ac_path_GREP" || continue 4878 4925 # Check for GNU ac_path_GREP and select it if it is found. 4879 4926 # Check for GNU $ac_path_GREP … … 4941 4988 for ac_exec_ext in '' $ac_executable_extensions; do 4942 4989 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4943 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue4990 as_fn_executable_p "$ac_path_EGREP" || continue 4944 4991 # Check for GNU ac_path_EGREP and select it if it is found. 4945 4992 # Check for GNU $ac_path_EGREP … … 5148 5195 /* end confdefs.h. */ 5149 5196 5150 # 5151 5197 # define __EXTENSIONS__ 1 5198 $ac_includes_default 5152 5199 int 5153 5200 main () … … 5636 5683 for ac_prog in ginstall scoinst install; do 5637 5684 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"; }; then5685 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 5639 5686 if test $ac_prog = install && 5640 5687 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 5955 6002 rm -rf conftest* 5956 6003 fi 6004 6005 5957 6006 fi 5958 6007 … … 6600 6649 6601 6650 6602 6603 6604 6605 if test x"$teventdir" = "x"; then6606 teventdir=""6607 teventpaths="$srcdir $srcdir/../lib/tevent $srcdir/tevent $srcdir/../tevent"6608 for d in $teventpaths; do6609 if test -f "$d/tevent.c"; then6610 teventdir="$d"6611 break;6612 fi6613 done6614 if test x"$teventdir" = "x"; then6615 as_fn_error $? "cannot find libtevent source in $teventpaths" "$LINENO" 56616 fi6617 fi6618 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.h6635 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 <<_ACEOF6639 #define HAVE_SYS_EPOLL_H 16640 _ACEOF6641 6642 fi6643 6644 done6645 6646 for ac_func in epoll_create6647 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 <<_ACEOF6651 #define HAVE_EPOLL_CREATE 16652 _ACEOF6653 6654 fi6655 done6656 6657 if test x"$ac_cv_header_sys_epoll_h" = x"yes" -a x"$ac_cv_func_epoll_create" = x"yes"; then6658 TEVENT_OBJ="$TEVENT_OBJ tevent_epoll.o"6659 6660 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h6661 6662 fi6663 6664 if test x"$VERSIONSCRIPT" != "x"; then6665 EXPORTSFILE=tevent.exports6666 6667 fi6668 6669 6670 6671 LIBTEVENT_OBJ0=""6672 for obj in ${TEVENT_OBJ}; do6673 LIBTEVENT_OBJ0="${LIBTEVENT_OBJ0} ${teventdir}/${obj}"6674 done6675 6676 LIBS="${LIBS} ${TEVENT_LIBS}"6677 6678 6651 SAMBA_CPPFLAGS="-Iinclude -I${srcdir-.}/include -I. -I${srcdir-.}" 6679 6652 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/../lib/replace" 6680 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} ${TEVENT_CFLAGS}"6681 6653 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/librpc" 6682 6654 SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/.." … … 7028 7000 test -z "$as_dir" && as_dir=. 7029 7001 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"; }; then7002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7031 7003 ac_cv_prog_AWK="$ac_prog" 7032 7004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7079 7051 test -z "$as_dir" && as_dir=. 7080 7052 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"; }; then7053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7082 7054 ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext" 7083 7055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7157 7129 test -z "$as_dir" && as_dir=. 7158 7130 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"; }; then7131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7160 7132 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 7161 7133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7200 7172 test -z "$as_dir" && as_dir=. 7201 7173 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"; }; then7174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7203 7175 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 7204 7176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7249 7221 7250 7222 if test -z "$PYTHON_VER"; then 7251 for ac_prog in python2. 6 python2.5 python2.4 python7223 for ac_prog in python2.7 python2.6 python2.5 python2.4 python 7252 7224 do 7253 7225 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 7269 7241 test -z "$as_dir" && as_dir=. 7270 7242 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"; }; then7243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7272 7244 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 7273 7245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7313 7285 test -z "$as_dir" && as_dir=. 7314 7286 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"; }; then7287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7316 7288 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 7317 7289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7365 7337 test -z "$as_dir" && as_dir=. 7366 7338 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"; }; then7339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7368 7340 ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext" 7369 7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7409 7381 test -z "$as_dir" && as_dir=. 7410 7382 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"; }; then7383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7412 7384 ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext" 7413 7385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7444 7416 *os2*) 7445 7417 LIBS="$LIBS -l$PYTHON_CONFIG" 7446 CFLAGS="$CFLAGS -I$PYTHON /include"7418 CFLAGS="$CFLAGS -I$PYTHON" 7447 7419 ;; 7448 7420 *) … … 7472 7444 7473 7445 case "$host_os" in 7474 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 ;; 7482 7454 esac 7483 7455 working_python=yes … … 7698 7670 test -z "$as_dir" && as_dir=. 7699 7671 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"; }; then7672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7701 7673 ac_cv_prog_AR="${ac_tool_prefix}ar" 7702 7674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7738 7710 test -z "$as_dir" && as_dir=. 7739 7711 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"; }; then7712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7741 7713 ac_cv_prog_ac_ct_AR="ar" 7742 7714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7791 7763 7792 7764 if 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 7794 7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GNU ld release date" >&5 7795 7771 $as_echo_n "checking GNU ld release date... " >&6; } … … 9055 9031 done 9056 9032 9057 for ac_header in setjmp.h utime.h 9033 for ac_header in setjmp.h utime.h sys/wait.h 9058 9034 do : 9059 9035 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 9133 9109 9134 9110 done 9111 9135 9112 9136 9113 LIBS="$LIBS -lmmap" … … 9237 9214 cat >>confdefs.h <<_ACEOF 9238 9215 #define HAVE_UNIX_H 1 9216 _ACEOF 9217 9218 fi 9219 9220 done 9221 9222 for ac_header in sys/ucontext.h 9223 do : 9224 ac_fn_c_check_header_mongrel "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "$ac_includes_default" 9225 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then : 9226 cat >>confdefs.h <<_ACEOF 9227 #define HAVE_SYS_UCONTEXT_H 1 9239 9228 _ACEOF 9240 9229 … … 10065 10054 10066 10055 10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_DIRECT flag to open(2)" >&510068 $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) " >&610071 else10072 10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext10074 /* end confdefs.h. */10075 10076 #include <unistd.h>10077 #ifdef HAVE_FCNTL_H10078 #include <fcntl.h>10079 #endif10080 int10081 main ()10082 {10083 int fd = open("/dev/null", O_DIRECT);10084 ;10085 return 0;10086 }10087 _ACEOF10088 if ac_fn_c_try_compile "$LINENO"; then :10089 libreplace_cv_HAVE_OPEN_O_DIRECT=yes10090 else10091 libreplace_cv_HAVE_OPEN_O_DIRECT=no10092 fi10093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext10094 fi10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libreplace_cv_HAVE_OPEN_O_DIRECT" >&510096 $as_echo "$libreplace_cv_HAVE_OPEN_O_DIRECT" >&6; }10097 if test x"$libreplace_cv_HAVE_OPEN_O_DIRECT" = x"yes"; then10098 10099 $as_echo "#define HAVE_OPEN_O_DIRECT 1" >>confdefs.h10100 10101 fi10102 10103 10104 10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that the C compiler understands volatile" >&5 10105 10057 $as_echo_n "checking that the C compiler understands volatile... " >&6; } … … 10701 10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 10702 10654 $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 :10655 if eval test $`$as_echo "ac_cv_c_prototype_struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)" | $as_tr_sh` = yes; then : 10704 10656 10705 10657 … … 10748 10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 10749 10701 $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 :10702 if 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 : 10751 10703 10752 10704 … … 10843 10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 10844 10796 $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 :10797 if eval test $`$as_echo "ac_cv_c_prototype_struct group *getgrent_r(struct group *src, char *buf, int buflen)" | $as_tr_sh` = yes; then : 10846 10798 10847 10799 … … 10891 10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 10892 10844 $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 :10845 if 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 : 10894 10846 10895 10847 … … 10970 10922 10971 10923 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; } 10927 if ${libreplace_cv_HAVE_OPEN_O_DIRECT+:} false; then : 10928 $as_echo_n "(cached) " >&6 10929 else 10930 10931 cat 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 10938 int 10939 main () 10940 { 10941 int fd = open("/dev/null", O_DIRECT); 10942 ; 10943 return 0; 10944 } 10945 _ACEOF 10946 if ac_fn_c_try_compile "$LINENO"; then : 10947 libreplace_cv_HAVE_OPEN_O_DIRECT=yes 10948 else 10949 libreplace_cv_HAVE_OPEN_O_DIRECT=no 10950 fi 10951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10952 fi 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; } 10955 if test x"$libreplace_cv_HAVE_OPEN_O_DIRECT" = x"yes"; then 10956 10957 $as_echo "#define HAVE_OPEN_O_DIRECT 1" >>confdefs.h 10958 10959 fi 10972 10960 10973 10961 save_LIBS="$LIBS" … … 11178 11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 11179 11167 $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 :11168 if eval test $`$as_echo "ac_cv_c_prototype_void *dlopen(const char* filename, unsigned int flags)" | $as_tr_sh` = yes; then : 11181 11169 11182 11170 … … 11488 11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 11489 11477 $as_echo "$ac_res" >&6; } 11490 if test $`$as_echo "ac_cv_c_prototype_long telldir(const DIR *dir)" | $as_tr_sh` = yes; then :11478 if eval test $`$as_echo "ac_cv_c_prototype_long telldir(const DIR *dir)" | $as_tr_sh` = yes; then : 11491 11479 11492 11480 … … 11532 11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 11533 11521 $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 :11522 if eval test $`$as_echo "ac_cv_c_prototype_int seekdir(DIR *dir, long ofs)" | $as_tr_sh` = yes; then : 11535 11523 11536 11524 … … 11926 11914 11927 11915 $as_echo "#define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h 11916 11917 fi 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; } 11921 if ${libreplace_cv_ucontext_t+:} false; then : 11922 $as_echo_n "(cached) " >&6 11923 else 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 11933 int 11934 main () 11935 { 11936 ucontext_t uc; sigaddset(&uc.uc_sigmask, SIGUSR1); 11937 ; 11938 return 0; 11939 } 11940 _ACEOF 11941 if ac_fn_c_try_compile "$LINENO"; then : 11942 libreplace_cv_ucontext_t=yes 11943 else 11944 libreplace_cv_ucontext_t=no 11945 fi 11946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11947 fi 11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libreplace_cv_ucontext_t" >&5 11949 $as_echo "$libreplace_cv_ucontext_t" >&6; } 11950 if test x"$libreplace_cv_ucontext_t" = x"yes"; then 11951 11952 $as_echo "#define HAVE_UCONTEXT_T 1" >>confdefs.h 11928 11953 11929 11954 fi … … 13976 14001 13977 14002 13978 if test x"$host_os" != x"os2-emx"; then13979 for ac_header in md5.h13980 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 <<_ACEOF13984 #define HAVE_MD5_H 113985 _ACEOF13986 13987 fi13988 13989 done13990 fi13991 13992 14003 samba_cv_md5lib=none 13993 14004 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; } 14007 if ${ac_cv_lib_c_MD5Update+:} false; then : 14001 14008 $as_echo_n "(cached) " >&6 14002 14009 else 14003 14010 ac_check_lib_save_LIBS=$LIBS 14004 LIBS="-l md5$LIBS"14011 LIBS="-lc $LIBS" 14005 14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14006 14013 /* end confdefs.h. */ … … 14022 14029 _ACEOF 14023 14030 if ac_fn_c_try_link "$LINENO"; then : 14024 ac_cv_lib_ md5_MD5Update=yes14025 else 14026 ac_cv_lib_ md5_MD5Update=no14031 ac_cv_lib_c_MD5Update=yes 14032 else 14033 ac_cv_lib_c_MD5Update=no 14027 14034 fi 14028 14035 rm -f core conftest.err conftest.$ac_objext \ … … 14030 14037 LIBS=$ac_check_lib_save_LIBS 14031 14038 fi 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; } 14041 if test "x$ac_cv_lib_c_MD5Update" = xyes; then : 14042 samba_cv_md5lib="" 14043 fi 14044 14045 14046 if test x"$samba_cv_md5lib" = x"none" ; then 14042 14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Update in -lmd" >&5 14043 14048 $as_echo_n "checking for MD5Update in -lmd... " >&6; } … … 14082 14087 fi 14083 14088 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 : 14089 if 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; } 14092 if ${ac_cv_lib_md5_MD5Update+:} false; then : 14089 14093 $as_echo_n "(cached) " >&6 14090 14094 else 14091 14095 ac_check_lib_save_LIBS=$LIBS 14092 LIBS="-l c$LIBS"14096 LIBS="-lmd5 $LIBS" 14093 14097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14094 14098 /* end confdefs.h. */ … … 14110 14114 _ACEOF 14111 14115 if ac_fn_c_try_link "$LINENO"; then : 14112 ac_cv_lib_ c_MD5Update=yes14113 else 14114 ac_cv_lib_ c_MD5Update=no14116 ac_cv_lib_md5_MD5Update=yes 14117 else 14118 ac_cv_lib_md5_MD5Update=no 14115 14119 fi 14116 14120 rm -f core conftest.err conftest.$ac_objext \ … … 14118 14122 LIBS=$ac_check_lib_save_LIBS 14119 14123 fi 14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ c_MD5Update" >&514121 $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; } 14126 if test "x$ac_cv_lib_md5_MD5Update" = xyes; then : 14127 samba_cv_md5lib=md5 14124 14128 fi 14125 14129 … … 14127 14131 14128 14132 if test x"$samba_cv_md5lib" != x"none" ; then 14133 for ac_header in md5.h 14134 do : 14135 ac_fn_c_check_header_mongrel "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default" 14136 if test "x$ac_cv_header_md5_h" = xyes; then : 14137 cat >>confdefs.h <<_ACEOF 14138 #define HAVE_MD5_H 1 14139 _ACEOF 14140 14141 fi 14142 14143 done 14144 14145 fi 14146 14147 CRYPTO_MD5_OBJ="../lib/crypto/md5.o" 14148 if test x"$ac_cv_header_md5_h" = x"yes" -a \ 14149 x"$samba_cv_md5lib" != x"none" ; then 14129 14150 if test x"$samba_cv_md5lib" != x ; then 14130 14151 LIBS="${LIBS} -l${samba_cv_md5lib}" 14152 14153 $as_echo "#define HAVE_LIBMD5 1" >>confdefs.h 14154 14131 14155 fi 14132 14156 CRYPTO_MD5_OBJ= 14133 14134 $as_echo "#define HAVE_LIBMD5 1" >>confdefs.h14135 14136 else14137 CRYPTO_MD5_OBJ="../lib/crypto/md5.o"14138 14157 fi 14139 14158 … … 14232 14251 # This causes configure to fail to detect it. Check for shadow separately on HPUX. 14233 14252 # 14234 case "$ 14235 host_os" in 14253 case "$host_os" in 14236 14254 *hpux*) 14237 14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext … … 14498 14516 main () 14499 14517 { 14500 /* FIXME: Include the comments suggested by Paul. */ 14518 14501 14519 #ifndef __cplusplus 14502 /* Ultrix mips cc rejects this . */14520 /* Ultrix mips cc rejects this sort of thing. */ 14503 14521 typedef int charset[2]; 14504 const charset cs ;14522 const charset cs = { 0, 0 }; 14505 14523 /* SunOS 4.1.1 cc rejects this. */ 14506 14524 char const *const *pcpcc; … … 14519 14537 ppc = (char**) pcpcc; 14520 14538 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; 14523 14542 char const *s = 0 ? (char *) 0 : (char const *) 0; 14524 14543 … … 14536 14555 ++p; 14537 14556 } 14538 { /* AIX XL C 1.02.0.0 rejects this s aying14557 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 14539 14558 "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; 14542 14561 } 14543 14562 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ … … 14845 14864 { 14846 14865 static int test_array [1 - 2 * !(((char) -1) < 0)]; 14847 test_array [0] = 0 14866 test_array [0] = 0; 14867 return test_array [0]; 14848 14868 14849 14869 ; … … 15071 15091 test -z "$as_dir" && as_dir=. 15072 15092 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"; }; then15093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15074 15094 ac_cv_path_CUPS_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15075 15095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 15098 15118 ac_save_LDFLAGS=$LDFLAGS 15099 15119 case "$host_os" in 15100 15101 15102 15103 15104 15105 15120 *os2*) 15121 PRINT_LIBS="$PRINT_LIBS -lpthread -lz" 15122 ;; 15123 *) 15124 ;; 15125 esac 15106 15126 ac_save_PRINT_LIBS=$PRINT_LIBS 15107 15127 for ac_header in cups/cups.h cups/language.h … … 16304 16324 done 16305 16325 16306 for ac_func in lstat64 fopen64 atexit grantpt lseek64 ftruncate64 posix_fallocate posix_fallocate6416326 for ac_func in lstat64 fopen64 atexit grantpt posix_openpt lseek64 ftruncate64 posix_fallocate posix_fallocate64 16307 16327 do : 16308 16328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` … … 19465 19485 test -z "$as_dir" && as_dir=. 19466 19486 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"; }; then19487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19468 19488 ac_cv_prog_ROFF="groff -etpsR -Tascii -man" 19469 19489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 20011 20031 test -z "$as_dir" && as_dir=. 20012 20032 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"; }; then20033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20014 20034 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20015 20035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 20054 20074 test -z "$as_dir" && as_dir=. 20055 20075 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"; }; then20076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20057 20077 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20058 20078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 20407 20427 20408 20428 TALLOCTORT="bin/talloctort\$(EXEEXT)" 20429 20430 fi 20431 20432 # Check whether --enable-external_libtevent was given. 20433 if test "${enable_external_libtevent+set}" = set; then : 20434 enableval=$enable_external_libtevent; enable_external_libtevent=$enableval 20435 else 20436 enable_external_libtevent=auto 20437 fi 20438 20439 20440 if test "x$enable_external_libtevent" != xno 20441 then 20442 20443 pkg_failed=no 20444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTEVENT" >&5 20445 $as_echo_n "checking for LIBTEVENT... " >&6; } 20446 20447 if 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` 20458 else 20459 pkg_failed=yes 20460 fi 20461 fi 20462 else 20463 pkg_failed=untried 20464 fi 20465 if 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` 20476 else 20477 pkg_failed=yes 20478 fi 20479 fi 20480 else 20481 pkg_failed=untried 20482 fi 20483 20484 20485 20486 if test $pkg_failed = yes; then 20487 20488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20489 _pkg_short_errors_supported=yes 20490 else 20491 _pkg_short_errors_supported=no 20492 fi 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 20509 elif 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 20516 else 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 20522 fi 20523 fi 20524 20525 if test "x$enable_external_libtevent" = xno 20526 then 20527 20528 20529 20530 if 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 20542 fi 20543 20544 TEVENT_OBJ="" 20545 TEVENT_CFLAGS="" 20546 TEVENT_LIBS="" 20547 20548 20549 20550 20551 TEVENT_CFLAGS="-I$teventdir" 20552 20553 TEVENT_OBJ="tevent.o tevent_debug.o tevent_util.o" 20554 TEVENT_OBJ="$TEVENT_OBJ tevent_fd.o tevent_timed.o tevent_immediate.o tevent_signal.o" 20555 TEVENT_OBJ="$TEVENT_OBJ tevent_req.o tevent_wakeup.o tevent_queue.o" 20556 TEVENT_OBJ="$TEVENT_OBJ tevent_standard.o tevent_select.o" 20557 TEVENT_OBJ="$TEVENT_OBJ tevent_poll.o" 20558 20559 for ac_header in sys/epoll.h 20560 do : 20561 ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default" 20562 if 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 20567 fi 20568 20569 done 20570 20571 for ac_func in epoll_create 20572 do : 20573 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create" 20574 if test "x$ac_cv_func_epoll_create" = xyes; then : 20575 cat >>confdefs.h <<_ACEOF 20576 #define HAVE_EPOLL_CREATE 1 20577 _ACEOF 20578 20579 fi 20580 done 20581 20582 if 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 20587 fi 20588 20589 if test x"$VERSIONSCRIPT" != "x"; then 20590 EXPORTSFILE=tevent.exports 20591 20592 fi 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 20604 LIBTEVENT_SHARED_TARGET=bin/libtevent.$SHLIBEXT 20605 LIBTEVENT_STATIC_TARGET=bin/libtevent.a 20606 LIBTEVENT_SHARED= 20607 LIBTEVENT_STATIC= 20608 LIBTEVENT_LIBS=-ltevent 20609 LIBTEVENT_TARGET= 20610 INSTALL_LIBTEVENT= 20611 UNINSTALL_LIBTEVENT= 20612 20613 LIBTEVENT_SOVER=0 20614 LIBTEVENT_FULLVER=${LIBTEVENTVERSION} 20615 20616 LIBTEVENT_SHARED_TARGET_SOVER=$LIBTEVENT_SHARED_TARGET.$LIBTEVENT_SOVER 20617 LIBTEVENT_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. 20637 if test "${with_libtevent+set}" = set; then : 20638 withval=$with_libtevent; 20639 case "$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 ;; 20648 esac 20649 20650 else 20651 20652 # if unspecified, default is to build it if possible. 20653 build_lib=yes 20654 20655 20656 fi 20657 20658 20659 20660 if 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 20684 else 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; } 20688 fi 20689 if test $enable_static = yes; then 20690 LIBTEVENT_STATIC=$LIBTEVENT_STATIC_TARGET 20691 fi 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}" 20409 20704 20410 20705 fi … … 25971 26266 test -z "$as_dir" && as_dir=. 25972 26267 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"; }; then26268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25974 26269 ac_cv_path_KRB5CONFIG="$as_dir/$ac_word$ac_exec_ext" 25975 26270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 30850 31145 fi 30851 31146 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; } 31149 if ${samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96+:} false; then : 31150 $as_echo_n "(cached) " >&6 31151 else 31152 31153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31154 /* end confdefs.h. */ 31155 #include <krb5.h> 31156 int 31157 main () 31158 { 31159 krb5_enctype enctype; enctype = ENCTYPE_AES128_CTS_HMAC_SHA1_96; 31160 ; 31161 return 0; 31162 } 31163 _ACEOF 31164 if ac_fn_c_try_compile "$LINENO"; then : 31165 samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96=yes 31166 else 31167 samba_cv_HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96=no 31168 fi 31169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 31170 fi 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; } 31180 if ${samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96+:} false; then : 31181 $as_echo_n "(cached) " >&6 31182 else 31183 31184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31185 /* end confdefs.h. */ 31186 #include <krb5.h> 31187 int 31188 main () 31189 { 31190 krb5_enctype enctype; enctype = ENCTYPE_AES256_CTS_HMAC_SHA1_96; 31191 ; 31192 return 0; 31193 } 31194 _ACEOF 31195 if ac_fn_c_try_compile "$LINENO"; then : 31196 samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96=yes 31197 else 31198 samba_cv_HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96=no 31199 fi 31200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 31201 fi 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 30852 31210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AP_OPTS_USE_SUBKEY" >&5 30853 31211 $as_echo_n "checking for AP_OPTS_USE_SUBKEY... " >&6; } … … 32457 32815 as_fn_error $? "argument to --with-syslog-facility must be a string" "$LINENO" 5 32458 32816 else 32817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5 32818 $as_echo "$withval" >&6; } 32459 32819 if test "$withval" != "yes" ; then 32460 32820 syslog_facility="$withval" … … 32466 32826 fi 32467 32827 fi 32828 32829 else 32830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 32831 $as_echo "no" >&6; } 32468 32832 32469 32833 fi … … 34695 35059 /* end confdefs.h. */ 34696 35060 #include <aio.h> 34697 int main() { struct aiocb a; return aio_suspend(&a, 1, NULL); }35061 int main() { struct aiocb a; struct timespec t; return aio_suspend(&a, 1, &t); } 34698 35062 _ACEOF 34699 35063 if ac_fn_c_try_link "$LINENO"; then : … … 40994 41358 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 40995 41359 # 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'. 40997 41361 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' 40999 41363 elif ln conf$$.file conf$$ 2>/dev/null; then 41000 41364 as_ln_s=ln 41001 41365 else 41002 as_ln_s='cp -p '41366 as_ln_s='cp -pR' 41003 41367 fi 41004 41368 else 41005 as_ln_s='cp -p '41369 as_ln_s='cp -pR' 41006 41370 fi 41007 41371 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 41063 41427 fi 41064 41428 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. 41433 as_fn_executable_p () 41434 { 41435 test -f "$1" && test -x "$1" 41436 } # as_fn_executable_p 41437 as_test_x='test -x' 41438 as_executable_p=as_fn_executable_p 41087 41439 41088 41440 # Sed expression to map a string onto a valid CPP name. … … 41106 41458 ac_log=" 41107 41459 This file was extended by Samba $as_me 3, which was 41108 generated by GNU Autoconf 2.6 8. Invocation command line was41460 generated by GNU Autoconf 2.69. Invocation command line was 41109 41461 41110 41462 CONFIG_FILES = $CONFIG_FILES … … 41172 41524 ac_cs_version="\\ 41173 41525 Samba config.status 3 41174 configured by $0, generated by GNU Autoconf 2.6 8,41526 configured by $0, generated by GNU Autoconf 2.69, 41175 41527 with options \\"\$ac_cs_config\\" 41176 41528 41177 Copyright (C) 201 0Free Software Foundation, Inc.41529 Copyright (C) 2012 Free Software Foundation, Inc. 41178 41530 This config.status script is free software; the Free Software Foundation 41179 41531 gives unlimited permission to copy, distribute and modify it." … … 41265 41617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 41266 41618 if \$ac_cs_recheck; then 41267 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion41619 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 41268 41620 shift 41269 41621 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
Note:
See TracChangeset
for help on using the changeset viewer.