Changeset 1164
- Timestamp:
- 12/08/07 12:37:06 (9 months ago)
- Files:
-
- 1.8.3/branches/devel/configure (modified) (327 diffs)
- 1.8.3/branches/devel/configure.in (modified) (1 diff)
- 1.8.3/branches/devel/hints/openbsd.txt (modified) (1 diff)
- 1.8.3/branches/devel/src/info_slave.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/branches/devel/configure
r1143 r1164 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 0.3 # Generated by GNU Autoconf 2.61. 4 4 # 5 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, … … 11 11 ## --------------------- ## 12 12 13 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 14 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 16 emulate sh … … 20 21 setopt NO_GLOB_SUBST 21 22 else 22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 23 fi 24 BIN_SH=xpg4; export BIN_SH # for Tru64 25 DUALCASE=1; export DUALCASE # for MKS sh 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 26 30 27 31 … … 216 220 as_candidate_shells= 217 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 218 for as_dir in / usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219 223 do 220 224 IFS=$as_save_IFS … … 234 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 235 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 236 # Be Bourne compatible237 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 238 241 emulate sh … … 243 246 setopt NO_GLOB_SUBST 244 247 else 245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 246 fi 247 BIN_SH=xpg4; export BIN_SH # for Tru64 248 DUALCASE=1; export DUALCASE # for MKS sh 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 249 254 250 255 : … … 254 259 as_have_required=yes 255 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 256 # Be Bourne compatible257 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 258 262 emulate sh … … 263 267 setopt NO_GLOB_SUBST 264 268 else 265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 266 fi 267 BIN_SH=xpg4; export BIN_SH # for Tru64 268 DUALCASE=1; export DUALCASE # for MKS sh 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 269 275 270 276 : … … 513 519 fi 514 520 515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as 516 # systems may use methods other than mode bits to determine executability. 517 cat >conf$$.file <<_ASEOF 518 #! /bin/sh 519 exit 0 520 _ASEOF 521 chmod +x conf$$.file 522 if test -x conf$$.file >/dev/null 2>&1; then 523 as_executable_p="test -x" 524 else 525 as_executable_p=: 526 fi 527 rm -f conf$$.file 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 528 543 529 544 # Sed expression to map a string onto a valid CPP name. … … 566 581 ac_includes_default="\ 567 582 #include <stdio.h> 568 #if HAVE_SYS_TYPES_H583 #ifdef HAVE_SYS_TYPES_H 569 584 # include <sys/types.h> 570 585 #endif 571 #if HAVE_SYS_STAT_H586 #ifdef HAVE_SYS_STAT_H 572 587 # include <sys/stat.h> 573 588 #endif 574 #if STDC_HEADERS589 #ifdef STDC_HEADERS 575 590 # include <stdlib.h> 576 591 # include <stddef.h> 577 592 #else 578 # if HAVE_STDLIB_H593 # ifdef HAVE_STDLIB_H 579 594 # include <stdlib.h> 580 595 # endif 581 596 #endif 582 #if HAVE_STRING_H583 # if ! STDC_HEADERS &&HAVE_MEMORY_H597 #ifdef HAVE_STRING_H 598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 584 599 # include <memory.h> 585 600 # endif 586 601 # include <string.h> 587 602 #endif 588 #if HAVE_STRINGS_H603 #ifdef HAVE_STRINGS_H 589 604 # include <strings.h> 590 605 #endif 591 #if HAVE_INTTYPES_H606 #ifdef HAVE_INTTYPES_H 592 607 # include <inttypes.h> 593 608 #endif 594 #if HAVE_STDINT_H609 #ifdef HAVE_STDINT_H 595 610 # include <stdint.h> 596 611 #endif 597 #if HAVE_UNISTD_H612 #ifdef HAVE_UNISTD_H 598 613 # include <unistd.h> 599 614 #endif" … … 689 704 CFLAGS 690 705 LDFLAGS 706 LIBS 691 707 CPPFLAGS 692 708 SENDMAIL … … 797 813 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 798 814 # Reject names that are not valid shell variable names. 799 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&815 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 800 816 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 801 817 { (exit 1); exit 1; }; } 802 ac_feature=`echo $ac_feature | sed 's/ -/_/g'`818 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 803 819 eval enable_$ac_feature=no ;; 804 820 … … 816 832 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 817 833 # Reject names that are not valid shell variable names. 818 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&834 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 819 835 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 820 836 { (exit 1); exit 1; }; } 821 ac_feature=`echo $ac_feature | sed 's/ -/_/g'`837 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 822 838 eval enable_$ac_feature=\$ac_optarg ;; 823 839 … … 1013 1029 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1014 1030 # Reject names that are not valid shell variable names. 1015 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1031 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1016 1032 { echo "$as_me: error: invalid package name: $ac_package" >&2 1017 1033 { (exit 1); exit 1; }; } 1018 ac_package=`echo $ac_package | sed 's/-/_/g'`1034 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1019 1035 eval with_$ac_package=\$ac_optarg ;; 1020 1036 … … 1022 1038 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1023 1039 # Reject names that are not valid shell variable names. 1024 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1040 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1025 1041 { echo "$as_me: error: invalid package name: $ac_package" >&2 1026 1042 { (exit 1); exit 1; }; } 1027 ac_package=`echo $ac_package | sed 's/ -/_/g'`1043 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1028 1044 eval with_$ac_package=no ;; 1029 1045 … … 1283 1299 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1284 1300 nonstandard directory <lib dir> 1301 LIBS libraries to pass to the linker, e.g. -l<library> 1285 1302 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1286 1303 you have headers in a nonstandard directory <include dir> … … 1352 1369 cat <<\_ACEOF 1353 1370 configure 1354 generated by GNU Autoconf 2.6 01371 generated by GNU Autoconf 2.61 1355 1372 1356 1373 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, … … 1366 1383 1367 1384 It was created by $as_me, which was 1368 generated by GNU Autoconf 2.6 0. Invocation command line was1385 generated by GNU Autoconf 2.61. Invocation command line was 1369 1386 1370 1387 $ $0 $@ … … 1747 1764 test -z "$as_dir" && as_dir=. 1748 1765 for ac_exec_ext in '' $ac_executable_extensions; do 1749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then1766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1750 1767 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" 1751 1768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1791 1808 test -z "$as_dir" && as_dir=. 1792 1809 for ac_exec_ext in '' $ac_executable_extensions; do 1793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then1810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1794 1811 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1795 1812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1831 1848 test -z "$as_dir" && as_dir=. 1832 1849 for ac_exec_ext in '' $ac_executable_extensions; do 1833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then1850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1834 1851 ac_cv_prog_ac_ct_CC="gcc" 1835 1852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1888 1905 test -z "$as_dir" && as_dir=. 1889 1906 for ac_exec_ext in '' $ac_executable_extensions; do 1890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then1907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1891 1908 ac_cv_prog_CC="${ac_tool_prefix}cc" 1892 1909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1929 1946 test -z "$as_dir" && as_dir=. 1930 1947 for ac_exec_ext in '' $ac_executable_extensions; do 1931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then1948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1932 1949 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1933 1950 ac_prog_rejected=yes … … 1987 2004 test -z "$as_dir" && as_dir=. 1988 2005 for ac_exec_ext in '' $ac_executable_extensions; do 1989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then2006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1990 2007 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1991 2008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2031 2048 test -z "$as_dir" && as_dir=. 2032 2049 for ac_exec_ext in '' $ac_executable_extensions; do 2033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then2050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2034 2051 ac_cv_prog_ac_ct_CC="$ac_prog" 2035 2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2172 2189 # so that the user can short-circuit this test for compilers unknown to 2173 2190 # Autoconf. 2174 for ac_file in $ac_files 2191 for ac_file in $ac_files '' 2175 2192 do 2176 2193 test -f "$ac_file" || continue … … 2200 2217 2201 2218 else 2219 ac_file='' 2220 fi 2221 2222 { echo "$as_me:$LINENO: result: $ac_file" >&5 2223 echo "${ECHO_T}$ac_file" >&6; } 2224 if test -z "$ac_file"; then 2202 2225 echo "$as_me: failed program was:" >&5 2203 2226 sed 's/^/| /' conftest.$ac_ext >&5 … … 2211 2234 2212 2235 ac_exeext=$ac_cv_exeext 2213 { echo "$as_me:$LINENO: result: $ac_file" >&52214 echo "${ECHO_T}$ac_file" >&6; }2215 2236 2216 2237 # Check that the compiler produces executables we can run. If not, either … … 2390 2411 cat conftest.err >&5 2391 2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2392 (exit $ac_status); } && 2393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2394 { (case "(($ac_try" in 2395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2396 *) ac_try_echo=$ac_try;; 2397 esac 2398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2399 (eval "$ac_try") 2>&5 2400 ac_status=$? 2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2402 (exit $ac_status); }; } && 2403 { ac_try='test -s conftest.$ac_objext' 2404 { (case "(($ac_try" in 2405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2406 *) ac_try_echo=$ac_try;; 2407 esac 2408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2409 (eval "$ac_try") 2>&5 2410 ac_status=$? 2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2412 (exit $ac_status); }; }; then 2413 (exit $ac_status); } && { 2414 test -z "$ac_c_werror_flag" || 2415 test ! -s conftest.err 2416 } && test -s conftest.$ac_objext; then 2413 2417 ac_compiler_gnu=yes 2414 2418 else … … 2465 2469 cat conftest.err >&5 2466 2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2467 (exit $ac_status); } && 2468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2469 { (case "(($ac_try" in 2470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2471 *) ac_try_echo=$ac_try;; 2472 esac 2473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2474 (eval "$ac_try") 2>&5 2475 ac_status=$? 2476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2477 (exit $ac_status); }; } && 2478 { ac_try='test -s conftest.$ac_objext' 2479 { (case "(($ac_try" in 2480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2481 *) ac_try_echo=$ac_try;; 2482 esac 2483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2484 (eval "$ac_try") 2>&5 2485 ac_status=$? 2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2487 (exit $ac_status); }; }; then 2471 (exit $ac_status); } && { 2472 test -z "$ac_c_werror_flag" || 2473 test ! -s conftest.err 2474 } && test -s conftest.$ac_objext; then 2488 2475 ac_cv_prog_cc_g=yes 2489 2476 else … … 2520 2507 cat conftest.err >&5 2521 2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2522 (exit $ac_status); } && 2523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2524 { (case "(($ac_try" in 2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2526 *) ac_try_echo=$ac_try;; 2527 esac 2528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2529 (eval "$ac_try") 2>&5 2530 ac_status=$? 2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2532 (exit $ac_status); }; } && 2533 { ac_try='test -s conftest.$ac_objext' 2534 { (case "(($ac_try" in 2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2536 *) ac_try_echo=$ac_try;; 2537 esac 2538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2539 (eval "$ac_try") 2>&5 2540 ac_status=$? 2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2542 (exit $ac_status); }; }; then 2509 (exit $ac_status); } && { 2510 test -z "$ac_c_werror_flag" || 2511 test ! -s conftest.err 2512 } && test -s conftest.$ac_objext; then 2543 2513 : 2544 2514 else … … 2576 2546 cat conftest.err >&5 2577 2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2578 (exit $ac_status); } && 2579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2580 { (case "(($ac_try" in 2581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2582 *) ac_try_echo=$ac_try;; 2583 esac 2584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2585 (eval "$ac_try") 2>&5 2586 ac_status=$? 2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2588 (exit $ac_status); }; } && 2589 { ac_try='test -s conftest.$ac_objext' 2590 { (case "(($ac_try" in 2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2592 *) ac_try_echo=$ac_try;; 2593 esac 2594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2595 (eval "$ac_try") 2>&5 2596 ac_status=$? 2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2598 (exit $ac_status); }; }; then 2548 (exit $ac_status); } && { 2549 test -z "$ac_c_werror_flag" || 2550 test ! -s conftest.err 2551 } && test -s conftest.$ac_objext; then 2599 2552 ac_cv_prog_cc_g=yes 2600 2553 else … … 2712 2665 cat conftest.err >&5 2713 2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2714 (exit $ac_status); } && 2715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2716 { (case "(($ac_try" in 2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2718 *) ac_try_echo=$ac_try;; 2719 esac 2720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2721 (eval "$ac_try") 2>&5 2722 ac_status=$? 2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2724 (exit $ac_status); }; } && 2725 { ac_try='test -s conftest.$ac_objext' 2726 { (case "(($ac_try" in 2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2728 *) ac_try_echo=$ac_try;; 2729 esac 2730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2731 (eval "$ac_try") 2>&5 2732 ac_status=$? 2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2734 (exit $ac_status); }; }; then 2667 (exit $ac_status); } && { 2668 test -z "$ac_c_werror_flag" || 2669 test ! -s conftest.err 2670 } && test -s conftest.$ac_objext; then 2735 2671 ac_cv_prog_cc_c89=$ac_arg 2736 2672 else … … 2788 2724 #include <stdio.h> 2789 2725 2726 // Check varargs macros. These examples are taken from C99 6.10.3.5. 2727 #define debug(...) fprintf (stderr, __VA_ARGS__) 2728 #define showlist(...) puts (#__VA_ARGS__) 2729 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2730 static void 2731 test_varargs_macros (void) 2732 { 2733 int x = 1234; 2734 int y = 5678; 2735 debug ("Flag"); 2736 debug ("X = %d\n", x); 2737 showlist (The first, second, and third items.); 2738 report (x>y, "x is %d but y is %d", x, y); 2739 } 2740 2741 // Check long long types. 2742 #define BIG64 18446744073709551615ull 2743 #define BIG32 4294967295ul 2744 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2745 #if !BIG_OK 2746 your preprocessor is broken; 2747 #endif 2748 #if BIG_OK 2749 #else 2750 your preprocessor is broken; 2751 #endif 2752 static long long int bignum = -9223372036854775807LL; 2753 static unsigned long long int ubignum = BIG64; 2754 2790 2755 struct incomplete_array 2791 2756 { … … 2803 2768 2804 2769 static inline int 2805 test_restrict (ccp restrict text)2770 test_restrict (ccp restrict text) 2806 2771 { 2807 2772 // See if C++-style comments work. … … 2813 2778 } 2814 2779 2815 // Check varargs and va_copy work.2780 // Check varargs and va_copy. 2816 2781 static void 2817 test_varargs (const char *format, ...)2782 test_varargs (const char *format, ...) 2818 2783 { 2819 2784 va_list args; 2820 va_start (args, format);2785 va_start (args, format); 2821 2786 va_list args_copy; 2822 va_copy (args_copy, args);2787 va_copy (args_copy, args); 2823 2788 2824 2789 const char *str; … … 2831 2796 { 2832 2797 case 's': // string 2833 str = va_arg (args_copy, const char *);2798 str = va_arg (args_copy, const char *); 2834 2799 break; 2835 2800 case 'd': // int 2836 number = va_arg (args_copy, int);2801 number = va_arg (args_copy, int); 2837 2802 break; 2838 2803 case 'f': // float 2839 fnumber = (float) va_arg(args_copy, double);2804 fnumber = va_arg (args_copy, double); 2840 2805 break; 2841 2806 default: … … 2843 2808 } 2844 2809 } 2845 va_end (args_copy);2846 va_end (args);2810 va_end (args_copy); 2811 va_end (args); 2847 2812 } 2848 2813 … … 2851 2816 { 2852 2817 2853 // Check bool and long long datatypes.2818 // Check bool. 2854 2819 _Bool success = false; 2855 long long int bignum = -1234567890LL;2856 unsigned long long int ubignum = 1234567890uLL;2857 2820 2858 2821 // Check restrict. 2859 if (test_restrict ("String literal") != 0)2822 if (test_restrict ("String literal") == 0) 2860 2823 success = true; 2861 2824 char *restrict newvar = "Another string"; 2862 2825 2863 2826 // Check varargs. 2864 test_varargs("s, d' f .", "string", 65, 34.234); 2865 2866 // Check incomplete arrays work. 2827 test_varargs ("s, d' f .", "string", 65, 34.234); 2828 test_varargs_macros (); 2829 2830 // Check flexible array members. 2867 2831 struct incomplete_array *ia = 2868 malloc (sizeof(struct incomplete_array) + (sizeof(double) * 10));2832 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2869 2833 ia->datasize = 10; 2870 2834 for (int i = 0; i < ia->datasize; ++i) 2871 ia->data[i] = (double)i * 1.234;2872 2873 // Check named initiali sers.2835 ia->data[i] = i * 1.234; 2836 2837 // Check named initializers. 2874 2838 struct named_init ni = { 2875 2839 .number = 34, … … 2881 2845 2882 2846 int dynamic_array[ni.number]; 2883 dynamic_array[ 43] = 543;2847 dynamic_array[ni.number - 1] = 543; 2884 2848 2885 2849 // work around unused variable warnings 2886 return bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'; 2850 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 2851 || dynamic_array[ni.number - 1] != 543); 2887 2852 2888 2853 ; … … 2906 2871 cat conftest.err >&5 2907 2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2908 (exit $ac_status); } && 2909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2910 { (case "(($ac_try" in 2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2912 *) ac_try_echo=$ac_try;; 2913 esac 2914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2915 (eval "$ac_try") 2>&5 2916 ac_status=$? 2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2918 (exit $ac_status); }; } && 2919 { ac_try='test -s conftest.$ac_objext' 2920 { (case "(($ac_try" in 2921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2922 *) ac_try_echo=$ac_try;; 2923 esac 2924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2925 (eval "$ac_try") 2>&5 2926 ac_status=$? 2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2928 (exit $ac_status); }; }; then 2873 (exit $ac_status); } && { 2874 test -z "$ac_c_werror_flag" || 2875 test ! -s conftest.err 2876 } && test -s conftest.$ac_objext; then 2929 2877 ac_cv_prog_cc_c99=$ac_arg 2930 2878 else … … 2976 2924 test -z "$as_dir" && as_dir=. 2977 2925 for ac_exec_ext in '' $ac_executable_extensions; do 2978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then2926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2979 2927 ac_cv_path_GDB="$as_dir/$ac_word$ac_exec_ext" 2980 2928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3033 2981 test -z "$as_dir" && as_dir=. 3034 2982 for ac_exec_ext in '' $ac_executable_extensions; do 3035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3036 2984 ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext" 3037 2985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3073 3021 test -z "$as_dir" && as_dir=. 3074 3022 for ac_exec_ext in '' $ac_executable_extensions; do 3075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3076 3024 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" 3077 3025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3113 3061 test -z "$as_dir" && as_dir=. 3114 3062 for ac_exec_ext in '' $ac_executable_extensions; do 3115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3116 3064 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" 3117 3065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3202 3150 for ac_prog in ginstall scoinst install; do 3203 3151 for ac_exec_ext in '' $ac_executable_extensions; do 3204 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_prog$ac_exec_ext"; }; then3152 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3205 3153 if test $ac_prog = install && 3206 3154 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3275 3223 test -z "$as_dir" && as_dir=. 3276 3224 for ac_exec_ext in '' $ac_executable_extensions; do 3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3278 3226 ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext" 3279 3227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3315 3263 test -z "$as_dir" && as_dir=. 3316 3264 for ac_exec_ext in '' $ac_executable_extensions; do 3317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3318 3266 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 3319 3267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3355 3303 test -z "$as_dir" && as_dir=. 3356 3304 for ac_exec_ext in '' $ac_executable_extensions; do 3357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3358 3306 ac_cv_path_TEST="$as_dir/$ac_word$ac_exec_ext" 3359 3307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3395 3343 test -z "$as_dir" && as_dir=. 3396 3344 for ac_exec_ext in '' $ac_executable_extensions; do 3397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3398 3346 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext" 3399 3347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3435 3383 test -z "$as_dir" && as_dir=. 3436 3384 for ac_exec_ext in '' $ac_executable_extensions; do 3437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3438 3386 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" 3439 3387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3476 3424 test -z "$as_dir" && as_dir=. 3477 3425 for ac_exec_ext in '' $ac_executable_extensions; do 3478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3479 3427 ac_cv_path_INDENT="$as_dir/$ac_word$ac_exec_ext" 3480 3428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3516 3464 test -z "$as_dir" && as_dir=. 3517 3465 for ac_exec_ext in '' $ac_executable_extensions; do 3518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3519 3467 ac_cv_path_CTAGS="$as_dir/$ac_word$ac_exec_ext" 3520 3468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3556 3504 test -z "$as_dir" && as_dir=. 3557 3505 for ac_exec_ext in '' $ac_executable_extensions; do 3558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3559 3507 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext" 3560 3508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3596 3544 test -z "$as_dir" && as_dir=. 3597 3545 for ac_exec_ext in '' $ac_executable_extensions; do 3598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3599 3547 ac_cv_path_EXCTAGS="$as_dir/$ac_word$ac_exec_ext" 3600 3548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3645 3593 test -z "$as_dir" && as_dir=. 3646 3594 for ac_exec_ext in '' $ac_executable_extensions; do 3647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3648 3596 ac_cv_path_UPTIME="$as_dir/$ac_word$ac_exec_ext" 3649 3597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3697 3645 test -z "$as_dir" && as_dir=. 3698 3646 for ac_exec_ext in '' $ac_executable_extensions; do 3699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_ executable_p"$as_dir/$ac_word$ac_exec_ext"; }; then3647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3700 3648 ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext" 3701 3649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3788 3736 cat conftest.err >&5 3789 3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3790 (exit $ac_status); } >/dev/null; then 3791 if test -s conftest.err; then 3792 ac_cpp_err=$ac_c_preproc_warn_flag 3793 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3794 else 3795 ac_cpp_err= 3796 fi 3797 else 3798 ac_cpp_err=yes 3799 fi 3800 if test -z "$ac_cpp_err"; then 3738 (exit $ac_status); } >/dev/null && { 3739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3740 test ! -s conftest.err 3741 }; then 3801 3742 : 3802 3743 else … … 3832 3773 cat conftest.err >&5 3833 3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3834 (exit $ac_status); } >/dev/null; then 3835 if test -s conftest.err; then 3836 ac_cpp_err=$ac_c_preproc_warn_flag 3837 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3838 else 3839 ac_cpp_err= 3840 fi 3841 else 3842 ac_cpp_err=yes 3843 fi 3844 if test -z "$ac_cpp_err"; then 3775 (exit $ac_status); } >/dev/null && { 3776 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3777 test ! -s conftest.err 3778 }; then 3845 3779 # Broken: success on invalid input. 3846 3780 continue … … 3907 3841 cat conftest.err >&5 3908 3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3909 (exit $ac_status); } >/dev/null; then 3910 if test -s conftest.err; then 3911 ac_cpp_err=$ac_c_preproc_warn_flag 3912 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3913 else 3914 ac_cpp_err= 3915 fi 3916 else 3917 ac_cpp_err=yes 3918 fi 3919 if test -z "$ac_cpp_err"; then 3843 (exit $ac_status); } >/dev/null && { 3844 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3845 test ! -s conftest.err 3846 }; then 3920 3847 : 3921 3848 else … … 3951 3878 cat conftest.err >&5 3952 3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3953 (exit $ac_status); } >/dev/null; then 3954 if test -s conftest.err; then 3955 ac_cpp_err=$ac_c_preproc_warn_flag 3956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3957 else 3958 ac_cpp_err= 3959 fi 3960 else 3961 ac_cpp_err=yes 3962 fi 3963 if test -z "$ac_cpp_err"; then 3880 (exit $ac_status); } >/dev/null && { 3881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3882 test ! -s conftest.err 3883 }; then 3964 3884 # Broken: success on invalid input. 3965 3885 continue … … 4016 3936 for ac_exec_ext in '' $ac_executable_extensions; do 4017 3937 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4018 { test -f "$ac_path_GREP" && $as_ executable_p"$ac_path_GREP"; } || continue3938 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4019 3939 # Check for GNU ac_path_GREP and select it if it is found. 4020 3940 # Check for GNU $ac_path_GREP … … 4098 4018 for ac_exec_ext in '' $ac_executable_extensions; do 4099 4019 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4100 { test -f "$ac_path_EGREP" && $as_ executable_p"$ac_path_EGREP"; } || continue4020 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4101 4021 # Check for GNU ac_path_EGREP and select it if it is found. 4102 4022 # Check for GNU $ac_path_EGREP … … 4194 4114 cat conftest.err >&5 4195 4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4196 (exit $ac_status); } && 4197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4198 { (case "(($ac_try" in 4199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4200 *) ac_try_echo=$ac_try;; 4201 esac 4202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4203 (eval "$ac_try") 2>&5 4204 ac_status=$? 4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4206 (exit $ac_status); }; } && 4207 { ac_try='test -s conftest.$ac_objext' 4208 { (case "(($ac_try" in 4209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4210 *) ac_try_echo=$ac_try;; 4211 esac 4212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4213 (eval "$ac_try") 2>&5 4214 ac_status=$? 4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4216 (exit $ac_status); }; }; then 4116 (exit $ac_status); } && { 4117 test -z "$ac_c_werror_flag" || 4118 test ! -s conftest.err 4119 } && test -s conftest.$ac_objext; then 4217 4120 ac_cv_header_stdc=yes 4218 4121 else … … 4390 4293 cat conftest.err >&5 4391 4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4392 (exit $ac_status); } && 4393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4394 { (case "(($ac_try" in 4395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4396 *) ac_try_echo=$ac_try;; 4397 esac 4398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4399 (eval "$ac_try") 2>&5 4400 ac_status=$? 4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4402 (exit $ac_status); }; } && 4403 { ac_try='test -s conftest.$ac_objext' 4404 { (case "(($ac_try" in 4405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4406 *) ac_try_echo=$ac_try;; 4407 esac 4408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4409 (eval "$ac_try") 2>&5 4410 ac_status=$? 4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4412 (exit $ac_status); }; }; then 4295 (exit $ac_status); } && { 4296 test -z "$ac_c_werror_flag" || 4297 test ! -s conftest.err 4298 } && test -s conftest.$ac_objext; then 4413 4299 eval "$as_ac_Header=yes" 4414 4300 else … … 4534 4420 cat conftest.err >&5 4535 4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4536 (exit $ac_status); } && 4537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4538 { (case "(($ac_try" in 4539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4540 *) ac_try_echo=$ac_try;; 4541 esac 4542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4543 (eval "$ac_try") 2>&5 4544 ac_status=$? 4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4546 (exit $ac_status); }; } && 4547 { ac_try='test -s conftest.$ac_objext' 4548 { (case "(($ac_try" in 4549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4550 *) ac_try_echo=$ac_try;; 4551 esac 4552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4553 (eval "$ac_try") 2>&5 4554 ac_status=$? 4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4556 (exit $ac_status); }; }; then 4422 (exit $ac_status); } && { 4423 test -z "$ac_c_werror_flag" || 4424 test ! -s conftest.err 4425 } && test -s conftest.$ac_objext; then 4557 4426 ac_cv_header_stdbool_h=yes 4558 4427 else … … 4604 4473 cat conftest.err >&5 4605 4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4606 (exit $ac_status); } && 4607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4608 { (case "(($ac_try" in 4609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4610 *) ac_try_echo=$ac_try;; 4611 esac 4612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4613 (eval "$ac_try") 2>&5 4614 ac_status=$? 4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4616 (exit $ac_status); }; } && 4617 { ac_try='test -s conftest.$ac_objext' 4618 { (case "(($ac_try" in 4619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4620 *) ac_try_echo=$ac_try;; 4621 esac 4622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4623 (eval "$ac_try") 2>&5 4624 ac_status=$? 4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4626 (exit $ac_status); }; }; then 4475 (exit $ac_status); } && { 4476 test -z "$ac_c_werror_flag" || 4477 test ! -s conftest.err 4478 } && test -s conftest.$ac_objext; then 4627 4479 ac_cv_type__Bool=yes 4628 4480 else … … 4697 4549 cat conftest.err >&5 4698 4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4699 (exit $ac_status); } && 4700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4701 { (case "(($ac_try" in 4702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4703 *) ac_try_echo=$ac_try;; 4704 esac 4705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4706 (eval "$ac_try") 2>&5 4707 ac_status=$? 4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4709 (exit $ac_status); }; } && 4710 { ac_try='test -s conftest.$ac_objext' 4711 { (case "(($ac_try" in 4712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4713 *) ac_try_echo=$ac_try;; 4714 esac 4715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4716 (eval "$ac_try") 2>&5 4717 ac_status=$? 4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4719 (exit $ac_status); }; }; then 4551 (exit $ac_status); } && { 4552 test -z "$ac_c_werror_flag" || 4553 test ! -s conftest.err 4554 } && test -s conftest.$ac_objext; then 4720 4555 ac_cv_header_sys_wait_h=yes 4721 4556 else … … 4775 4610 cat conftest.err >&5 4776 4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4777 (exit $ac_status); } && 4778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4779 { (case "(($ac_try" in 4780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4781 *) ac_try_echo=$ac_try;; 4782 esac 4783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4784 (eval "$ac_try") 2>&5 4785 ac_status=$? 4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4787 (exit $ac_status); }; } && 4788 { ac_try='test -s conftest.$ac_objext' 4789 { (case "(($ac_try" in 4790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4791 *) ac_try_echo=$ac_try;; 4792 esac 4793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4794 (eval "$ac_try") 2>&5 4795 ac_status=$? 4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4797 (exit $ac_status); }; }; then 4612 (exit $ac_status); } && { 4613 test -z "$ac_c_werror_flag" || 4614 test ! -s conftest.err 4615 } && test -s conftest.$ac_objext; then 4798 4616 ac_cv_header_time=yes 4799 4617 else … … 4850 4668 cat conftest.err >&5 4851 4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4852 (exit $ac_status); } && 4853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4854 { (case "(($ac_try" in 4855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4856 *) ac_try_echo=$ac_try;; 4857 esac 4858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4859 (eval "$ac_try") 2>&5 4860 ac_status=$? 4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4862 (exit $ac_status); }; } && 4863 { ac_try='test -s conftest.$ac_objext' 4864 { (case "(($ac_try" in 4865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4866 *) ac_try_echo=$ac_try;; 4867 esac 4868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4869 (eval "$ac_try") 2>&5 4870 ac_status=$? 4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4872 (exit $ac_status); }; }; then 4670 (exit $ac_status); } && { 4671 test -z "$ac_c_werror_flag" || 4672 test ! -s conftest.err 4673 } && test -s conftest.$ac_objext; then 4873 4674 ac_header_compiler=yes 4874 4675 else … … 4906 4707 cat conftest.err >&5 4907 4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4908 (exit $ac_status); } >/dev/null; then 4909 if test -s conftest.err; then 4910 ac_cpp_err=$ac_c_preproc_warn_flag 4911 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4912 else 4913 ac_cpp_err= 4914 fi 4915 else 4916 ac_cpp_err=yes 4917 fi 4918 if test -z "$ac_cpp_err"; then 4709 (exit $ac_status); } >/dev/null && { 4710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4711 test ! -s conftest.err 4712 }; then 4919 4713 ac_header_preproc=yes 4920 4714 else … … 5007 4801 cat conftest.err >&5 5008 4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5009 (exit $ac_status); } && 5010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5011 { (case "(($ac_try" in 5012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5013 *) ac_try_echo=$ac_try;; 5014 esac 5015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5016 (eval "$ac_try") 2>&5 5017 ac_status=$? 5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5019 (exit $ac_status); }; } &&
