Changeset 1167 for 1.8.3/trunk/configure
- Timestamp:
- 12/28/07 19:57:17 (8 months ago)
- Files:
-
- 1.8.3/trunk/configure (modified) (328 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/trunk/configure
r1117 r1167 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" … … 667 682 EGREP 668 683 HAVE_SSL 684 PCRE_LIBS 685 PCRE_CFLAGS 669 686 MYSQL_CONFIG 670 687 MYSQL_VERSION … … 687 704 CFLAGS 688 705 LDFLAGS 706 LIBS 689 707 CPPFLAGS 690 708 SENDMAIL … … 795 813 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 796 814 # Reject names that are not valid shell variable names. 797 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&815 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 798 816 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 799 817 { (exit 1); exit 1; }; } 800 ac_feature=`echo $ac_feature | sed 's/ -/_/g'`818 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 801 819 eval enable_$ac_feature=no ;; 802 820 … … 814 832 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 815 833 # Reject names that are not valid shell variable names. 816 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&834 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 817 835 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 818 836 { (exit 1); exit 1; }; } 819 ac_feature=`echo $ac_feature | sed 's/ -/_/g'`837 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 820 838 eval enable_$ac_feature=\$ac_optarg ;; 821 839 … … 1011 1029 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1012 1030 # Reject names that are not valid shell variable names. 1013 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1031 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1014 1032 { echo "$as_me: error: invalid package name: $ac_package" >&2 1015 1033 { (exit 1); exit 1; }; } 1016 ac_package=`echo $ac_package | sed 's/-/_/g'`1034 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1017 1035 eval with_$ac_package=\$ac_optarg ;; 1018 1036 … … 1020 1038 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1021 1039 # Reject names that are not valid shell variable names. 1022 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1040 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1023 1041 { echo "$as_me: error: invalid package name: $ac_package" >&2 1024 1042 { (exit 1); exit 1; }; } 1025 ac_package=`echo $ac_package | sed 's/ -/_/g'`1043 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1026 1044 eval with_$ac_package=no ;; 1027 1045 … … 1268 1286 with the default search path) 1269 1287 1288 --with-pcre[=prefix] path to system pcre 1270 1289 --with-mysql=[ARG] use MySQL client library [default=yes], optionally 1271 1290 specify path to mysql_config … … 1280 1299 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1281 1300 nonstandard directory <lib dir> 1301 LIBS libraries to pass to the linker, e.g. -l<library> 1282 1302 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1283 1303 you have headers in a nonstandard directory <include dir> … … 1349 1369 cat <<\_ACEOF 1350 1370 configure 1351 generated by GNU Autoconf 2.6 01371 generated by GNU Autoconf 2.61 1352 1372 1353 1373 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, … … 1363 1383 1364 1384 It was created by $as_me, which was 1365 generated by GNU Autoconf 2.6 0. Invocation command line was1385 generated by GNU Autoconf 2.61. Invocation command line was 1366 1386 1367 1387 $ $0 $@ … … 1744 1764 test -z "$as_dir" && as_dir=. 1745 1765 for ac_exec_ext in '' $ac_executable_extensions; do 1746 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 1747 1767 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" 1748 1768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1788 1808 test -z "$as_dir" && as_dir=. 1789 1809 for ac_exec_ext in '' $ac_executable_extensions; do 1790 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 1791 1811 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1792 1812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1828 1848 test -z "$as_dir" && as_dir=. 1829 1849 for ac_exec_ext in '' $ac_executable_extensions; do 1830 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 1831 1851 ac_cv_prog_ac_ct_CC="gcc" 1832 1852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1885 1905 test -z "$as_dir" && as_dir=. 1886 1906 for ac_exec_ext in '' $ac_executable_extensions; do 1887 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 1888 1908 ac_cv_prog_CC="${ac_tool_prefix}cc" 1889 1909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1926 1946 test -z "$as_dir" && as_dir=. 1927 1947 for ac_exec_ext in '' $ac_executable_extensions; do 1928 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 1929 1949 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1930 1950 ac_prog_rejected=yes … … 1984 2004 test -z "$as_dir" && as_dir=. 1985 2005 for ac_exec_ext in '' $ac_executable_extensions; do 1986 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 1987 2007 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1988 2008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2028 2048 test -z "$as_dir" && as_dir=. 2029 2049 for ac_exec_ext in '' $ac_executable_extensions; do 2030 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 2031 2051 ac_cv_prog_ac_ct_CC="$ac_prog" 2032 2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2169 2189 # so that the user can short-circuit this test for compilers unknown to 2170 2190 # Autoconf. 2171 for ac_file in $ac_files 2191 for ac_file in $ac_files '' 2172 2192 do 2173 2193 test -f "$ac_file" || continue … … 2197 2217 2198 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 2199 2225 echo "$as_me: failed program was:" >&5 2200 2226 sed 's/^/| /' conftest.$ac_ext >&5 … … 2208 2234 2209 2235 ac_exeext=$ac_cv_exeext 2210 { echo "$as_me:$LINENO: result: $ac_file" >&52211 echo "${ECHO_T}$ac_file" >&6; }2212 2236 2213 2237 # Check that the compiler produces executables we can run. If not, either … … 2387 2411 cat conftest.err >&5 2388 2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2389 (exit $ac_status); } && 2390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2391 { (case "(($ac_try" in 2392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2393 *) ac_try_echo=$ac_try;; 2394 esac 2395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2396 (eval "$ac_try") 2>&5 2397 ac_status=$? 2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2399 (exit $ac_status); }; } && 2400 { ac_try='test -s conftest.$ac_objext' 2401 { (case "(($ac_try" in 2402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2403 *) ac_try_echo=$ac_try;; 2404 esac 2405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2406 (eval "$ac_try") 2>&5 2407 ac_status=$? 2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2409 (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 2410 2417 ac_compiler_gnu=yes 2411 2418 else … … 2462 2469 cat conftest.err >&5 2463 2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2464 (exit $ac_status); } && 2465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2466 { (case "(($ac_try" in 2467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2468 *) ac_try_echo=$ac_try;; 2469 esac 2470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2471 (eval "$ac_try") 2>&5 2472 ac_status=$? 2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2474 (exit $ac_status); }; } && 2475 { ac_try='test -s conftest.$ac_objext' 2476 { (case "(($ac_try" in 2477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2478 *) ac_try_echo=$ac_try;; 2479 esac 2480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2481 (eval "$ac_try") 2>&5 2482 ac_status=$? 2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2484 (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 2485 2475 ac_cv_prog_cc_g=yes 2486 2476 else … … 2517 2507 cat conftest.err >&5 2518 2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2519 (exit $ac_status); } && 2520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2521 { (case "(($ac_try" in 2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2523 *) ac_try_echo=$ac_try;; 2524 esac 2525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2526 (eval "$ac_try") 2>&5 2527 ac_status=$? 2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2529 (exit $ac_status); }; } && 2530 { ac_try='test -s conftest.$ac_objext' 2531 { (case "(($ac_try" in 2532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2533 *) ac_try_echo=$ac_try;; 2534 esac 2535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2536 (eval "$ac_try") 2>&5 2537 ac_status=$? 2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2539 (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 2540 2513 : 2541 2514 else … … 2573 2546 cat conftest.err >&5 2574 2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2575 (exit $ac_status); } && 2576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2577 { (case "(($ac_try" in 2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2579 *) ac_try_echo=$ac_try;; 2580 esac 2581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2582 (eval "$ac_try") 2>&5 2583 ac_status=$? 2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2585 (exit $ac_status); }; } && 2586 { ac_try='test -s conftest.$ac_objext' 2587 { (case "(($ac_try" in 2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2589 *) ac_try_echo=$ac_try;; 2590 esac 2591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2592 (eval "$ac_try") 2>&5 2593 ac_status=$? 2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2595 (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 2596 2552 ac_cv_prog_cc_g=yes 2597 2553 else … … 2709 2665 cat conftest.err >&5 2710 2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2711 (exit $ac_status); } && 2712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2713 { (case "(($ac_try" in 2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2715 *) ac_try_echo=$ac_try;; 2716 esac 2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2718 (eval "$ac_try") 2>&5 2719 ac_status=$? 2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2721 (exit $ac_status); }; } && 2722 { ac_try='test -s conftest.$ac_objext' 2723 { (case "(($ac_try" in 2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2725 *) ac_try_echo=$ac_try;; 2726 esac 2727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2728 (eval "$ac_try") 2>&5 2729 ac_status=$? 2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2731 (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 2732 2671 ac_cv_prog_cc_c89=$ac_arg 2733 2672 else … … 2785 2724 #include <stdio.h> 2786 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 2787 2755 struct incomplete_array 2788 2756 { … … 2800 2768 2801 2769 static inline int 2802 test_restrict (ccp restrict text)2770 test_restrict (ccp restrict text) 2803 2771 { 2804 2772 // See if C++-style comments work. … … 2810 2778 } 2811 2779 2812 // Check varargs and va_copy work.2780 // Check varargs and va_copy. 2813 2781 static void 2814 test_varargs (const char *format, ...)2782 test_varargs (const char *format, ...) 2815 2783 { 2816 2784 va_list args; 2817 va_start (args, format);2785 va_start (args, format); 2818 2786 va_list args_copy; 2819 va_copy (args_copy, args);2787 va_copy (args_copy, args); 2820 2788 2821 2789 const char *str; … … 2828 2796 { 2829 2797 case 's': // string 2830 str = va_arg (args_copy, const char *);2798 str = va_arg (args_copy, const char *); 2831 2799 break; 2832 2800 case 'd': // int 2833 number = va_arg (args_copy, int);2801 number = va_arg (args_copy, int); 2834 2802 break; 2835 2803 case 'f': // float 2836 fnumber = (float) va_arg(args_copy, double);2804 fnumber = va_arg (args_copy, double); 2837 2805 break; 2838 2806 default: … … 2840 2808 } 2841 2809 } 2842 va_end (args_copy);2843 va_end (args);2810 va_end (args_copy); 2811 va_end (args); 2844 2812 } 2845 2813 … … 2848 2816 { 2849 2817 2850 // Check bool and long long datatypes.2818 // Check bool. 2851 2819 _Bool success = false; 2852 long long int bignum = -1234567890LL;2853 unsigned long long int ubignum = 1234567890uLL;2854 2820 2855 2821 // Check restrict. 2856 if (test_restrict ("String literal") != 0)2822 if (test_restrict ("String literal") == 0) 2857 2823 success = true; 2858 2824 char *restrict newvar = "Another string"; 2859 2825 2860 2826 // Check varargs. 2861 test_varargs("s, d' f .", "string", 65, 34.234); 2862 2863 // Check incomplete arrays work. 2827 test_varargs ("s, d' f .", "string", 65, 34.234); 2828 test_varargs_macros (); 2829 2830 // Check flexible array members. 2864 2831 struct incomplete_array *ia = 2865 malloc (sizeof(struct incomplete_array) + (sizeof(double) * 10));2832 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2866 2833 ia->datasize = 10; 2867 2834 for (int i = 0; i < ia->datasize; ++i) 2868 ia->data[i] = (double)i * 1.234;2869 2870 // Check named initiali sers.2835 ia->data[i] = i * 1.234; 2836 2837 // Check named initializers. 2871 2838 struct named_init ni = { 2872 2839 .number = 34, … … 2878 2845 2879 2846 int dynamic_array[ni.number]; 2880 dynamic_array[ 43] = 543;2847 dynamic_array[ni.number - 1] = 543; 2881 2848 2882 2849 // work around unused variable warnings 2883 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); 2884 2852 2885 2853 ; … … 2903 2871 cat conftest.err >&5 2904 2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2905 (exit $ac_status); } && 2906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2907 { (case "(($ac_try" in 2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2909 *) ac_try_echo=$ac_try;; 2910 esac 2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2912 (eval "$ac_try") 2>&5 2913 ac_status=$? 2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2915 (exit $ac_status); }; } && 2916 { ac_try='test -s conftest.$ac_objext' 2917 { (case "(($ac_try" in 2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2919 *) ac_try_echo=$ac_try;; 2920 esac 2921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2922 (eval "$ac_try") 2>&5 2923 ac_status=$? 2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2925 (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 2926 2877 ac_cv_prog_cc_c99=$ac_arg 2927 2878 else … … 2973 2924 test -z "$as_dir" && as_dir=. 2974 2925 for ac_exec_ext in '' $ac_executable_extensions; do 2975 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 2976 2927 ac_cv_path_GDB="$as_dir/$ac_word$ac_exec_ext" 2977 2928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3030 2981 test -z "$as_dir" && as_dir=. 3031 2982 for ac_exec_ext in '' $ac_executable_extensions; do 3032 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 3033 2984 ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext" 3034 2985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3070 3021 test -z "$as_dir" && as_dir=. 3071 3022 for ac_exec_ext in '' $ac_executable_extensions; do 3072 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 3073 3024 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" 3074 3025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3110 3061 test -z "$as_dir" && as_dir=. 3111 3062 for ac_exec_ext in '' $ac_executable_extensions; do 3112 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 3113 3064 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" 3114 3065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3199 3150 for ac_prog in ginstall scoinst install; do 3200 3151 for ac_exec_ext in '' $ac_executable_extensions; do 3201 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 3202 3153 if test $ac_prog = install && 3203 3154 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3272 3223 test -z "$as_dir" && as_dir=. 3273 3224 for ac_exec_ext in '' $ac_executable_extensions; do 3274 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 3275 3226 ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext" 3276 3227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3312 3263 test -z "$as_dir" && as_dir=. 3313 3264 for ac_exec_ext in '' $ac_executable_extensions; do 3314 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 3315 3266 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 3316 3267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3352 3303 test -z "$as_dir" && as_dir=. 3353 3304 for ac_exec_ext in '' $ac_executable_extensions; do 3354 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 3355 3306 ac_cv_path_TEST="$as_dir/$ac_word$ac_exec_ext" 3356 3307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3392 3343 test -z "$as_dir" && as_dir=. 3393 3344 for ac_exec_ext in '' $ac_executable_extensions; do 3394 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 3395 3346 ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext" 3396 3347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3432 3383 test -z "$as_dir" && as_dir=. 3433 3384 for ac_exec_ext in '' $ac_executable_extensions; do 3434 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 3435 3386 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" 3436 3387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3473 3424 test -z "$as_dir" && as_dir=. 3474 3425 for ac_exec_ext in '' $ac_executable_extensions; do 3475 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 3476 3427 ac_cv_path_INDENT="$as_dir/$ac_word$ac_exec_ext" 3477 3428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3513 3464 test -z "$as_dir" && as_dir=. 3514 3465 for ac_exec_ext in '' $ac_executable_extensions; do 3515 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 3516 3467 ac_cv_path_CTAGS="$as_dir/$ac_word$ac_exec_ext" 3517 3468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3553 3504 test -z "$as_dir" && as_dir=. 3554 3505 for ac_exec_ext in '' $ac_executable_extensions; do 3555 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 3556 3507 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext" 3557 3508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3593 3544 test -z "$as_dir" && as_dir=. 3594 3545 for ac_exec_ext in '' $ac_executable_extensions; do 3595 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 3596 3547 ac_cv_path_EXCTAGS="$as_dir/$ac_word$ac_exec_ext" 3597 3548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3642 3593 test -z "$as_dir" && as_dir=. 3643 3594 for ac_exec_ext in '' $ac_executable_extensions; do 3644 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 3645 3596 ac_cv_path_UPTIME="$as_dir/$ac_word$ac_exec_ext" 3646 3597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3694 3645 test -z "$as_dir" && as_dir=. 3695 3646 for ac_exec_ext in '' $ac_executable_extensions; do 3696 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 3697 3648 ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext" 3698 3649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3785 3736 cat conftest.err >&5 3786 3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3787 (exit $ac_status); } >/dev/null; then 3788 if test -s conftest.err; then 3789 ac_cpp_err=$ac_c_preproc_warn_flag 3790 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3791 else 3792 ac_cpp_err= 3793 fi 3794 else 3795 ac_cpp_err=yes 3796 fi 3797 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 3798 3742 : 3799 3743 else … … 3829 3773 cat conftest.err >&5 3830 3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3831 (exit $ac_status); } >/dev/null; then 3832 if test -s conftest.err; then 3833 ac_cpp_err=$ac_c_preproc_warn_flag 3834 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3835 else 3836 ac_cpp_err= 3837 fi 3838 else 3839 ac_cpp_err=yes 3840 fi 3841 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 3842 3779 # Broken: success on invalid input. 3843 3780 continue … … 3904 3841 cat conftest.err >&5 3905 3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3906 (exit $ac_status); } >/dev/null; then 3907 if test -s conftest.err; then 3908 ac_cpp_err=$ac_c_preproc_warn_flag 3909 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3910 else 3911 ac_cpp_err= 3912 fi 3913 else 3914 ac_cpp_err=yes 3915 fi 3916 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 3917 3847 : 3918 3848 else … … 3948 3878 cat conftest.err >&5 3949 3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3950 (exit $ac_status); } >/dev/null; then 3951 if test -s conftest.err; then 3952 ac_cpp_err=$ac_c_preproc_warn_flag 3953 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3954 else 3955 ac_cpp_err= 3956 fi 3957 else 3958 ac_cpp_err=yes 3959 fi 3960 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 3961 3884 # Broken: success on invalid input. 3962 3885 continue … … 4013 3936 for ac_exec_ext in '' $ac_executable_extensions; do 4014 3937 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4015 { test -f "$ac_path_GREP" && $as_ executable_p"$ac_path_GREP"; } || continue3938 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4016 3939 # Check for GNU ac_path_GREP and select it if it is found. 4017 3940 # Check for GNU $ac_path_GREP … … 4095 4018 for ac_exec_ext in '' $ac_executable_extensions; do 4096 4019 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4097 { test -f "$ac_path_EGREP" && $as_ executable_p"$ac_path_EGREP"; } || continue4020 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4098 4021 # Check for GNU ac_path_EGREP and select it if it is found. 4099 4022 # Check for GNU $ac_path_EGREP … … 4191 4114 cat conftest.err >&5 4192 4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4193 (exit $ac_status); } && 4194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4195 { (case "(($ac_try" in 4196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4197 *) ac_try_echo=$ac_try;; 4198 esac 4199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4200 (eval "$ac_try") 2>&5 4201 ac_status=$? 4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4203 (exit $ac_status); }; } && 4204 { ac_try='test -s conftest.$ac_objext' 4205 { (case "(($ac_try" in 4206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4207 *) ac_try_echo=$ac_try;; 4208 esac 4209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4210 (eval "$ac_try") 2>&5 4211 ac_status=$? 4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4213 (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 4214 4120 ac_cv_header_stdc=yes 4215 4121 else … … 4387 4293 cat conftest.err >&5 4388 4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4389 (exit $ac_status); } && 4390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4391 { (case "(($ac_try" in 4392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4393 *) ac_try_echo=$ac_try;; 4394 esac 4395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4396 (eval "$ac_try") 2>&5 4397 ac_status=$? 4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4399 (exit $ac_status); }; } && 4400 { ac_try='test -s conftest.$ac_objext' 4401 { (case "(($ac_try" in 4402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4403 *) ac_try_echo=$ac_try;; 4404 esac 4405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4406 (eval "$ac_try") 2>&5 4407 ac_status=$? 4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4409 (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 4410 4299 eval "$as_ac_Header=yes" 4411 4300 else … … 4531 4420 cat conftest.err >&5 4532 4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4533 (exit $ac_status); } && 4534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4535 { (case "(($ac_try" in 4536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4537 *) ac_try_echo=$ac_try;; 4538 esac 4539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4540 (eval "$ac_try") 2>&5 4541 ac_status=$? 4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4543 (exit $ac_status); }; } && 4544 { ac_try='test -s conftest.$ac_objext' 4545 { (case "(($ac_try" in 4546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4547 *) ac_try_echo=$ac_try;; 4548 esac 4549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4550 (eval "$ac_try") 2>&5 4551 ac_status=$? 4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4553 (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 4554 4426 ac_cv_header_stdbool_h=yes 4555 4427 else … … 4601 4473 cat conftest.err >&5 4602 4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4603 (exit $ac_status); } && 4604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4605 { (case "(($ac_try" in 4606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4607 *) ac_try_echo=$ac_try;; 4608 esac 4609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4610 (eval "$ac_try") 2>&5 4611 ac_status=$? 4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4613 (exit $ac_status); }; } && 4614 { ac_try='test -s conftest.$ac_objext' 4615 { (case "(($ac_try" in 4616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4617 *) ac_try_echo=$ac_try;; 4618 esac 4619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4620 (eval "$ac_try") 2>&5 4621 ac_status=$? 4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4623 (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 4624 4479 ac_cv_type__Bool=yes 4625 4480 else … … 4694 4549 cat conftest.err >&5 4695 4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4696 (exit $ac_status); } && 4697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4698 { (case "(($ac_try" in 4699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4700 *) ac_try_echo=$ac_try;; 4701 esac 4702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4703 (eval "$ac_try") 2>&5 4704 ac_status=$? 4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4706 (exit $ac_status); }; } && 4707 { ac_try='test -s conftest.$ac_objext' 4708 { (case "(($ac_try" in 4709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4710 *) ac_try_echo=$ac_try;; 4711 esac 4712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4713 (eval "$ac_try") 2>&5 4714 ac_status=$? 4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4716 (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 4717 4555 ac_cv_header_sys_wait_h=yes 4718 4556 else … … 4772 4610 cat conftest.err >&5 4773 4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4774 (exit $ac_status); } && 4775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4776 { (case "(($ac_try" in 4777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4778 *) ac_try_echo=$ac_try;; 4779 esac 4780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4781 (eval "$ac_try") 2>&5 4782 ac_status=$? 4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4784 (exit $ac_status); }; } && 4785 { ac_try='test -s conftest.$ac_objext' 4786 { (case "(($ac_try" in 4787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4788 *) ac_try_echo=$ac_try;; 4789 esac 4790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4791 (eval "$ac_try") 2>&5 4792 ac_status=$? 4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4794 (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 4795 4616 ac_cv_header_time=yes 4796 4617 else … … 4847 4668 cat conftest.err >&5 4848 4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4849 (exit $ac_status); } && 4850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4851 { (case "(($ac_try" in 4852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4853 *) ac_try_echo=$ac_try;; 4854 esac 4855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4856 (eval "$ac_try") 2>&5 4857 ac_status=$? 4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4859 (exit $ac_status); }; } && 4860 { ac_try='test -s conftest.$ac_objext' 4861 { (case "(($ac_try" in 4862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4863 *) ac_try_echo=$ac_try;; 4864 esac 4865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4866 (eval "$ac_try") 2>&5 4867 ac_status=$? 4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4869 (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 4870 4674 ac_header_compiler=yes 4871 4675 else … … 4903 4707 cat conftest.err >&5 4904 4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4905 (exit $ac_status); } >/dev/null; then 4906 if test -s conftest.err; then 4907 ac_cpp_err=$ac_c_preproc_warn_flag 4908 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4909 else 4910 ac_cpp_err= 4911 fi 4912 else 4913 ac_cpp_err=yes 4914 fi 4915 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 4916 4713 ac_header_preproc=yes 4917 4714 else … … 5004 4801 cat conftest.err >&5 5005 4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5006 (exit $ac_status); } && 5007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5008 { (case "(($ac_try" in 5009
