1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for strace 4.25. 4 # 5 # Report bugs to <strace-devel (at] lists.strace.io>. 6 # 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 11 # This configure script is free software; the Free Software Foundation 12 # gives unlimited permission to copy, distribute and modify it. 13 # 14 # Copyright (c) 1999-2018 The strace developers. 15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 18 19 # Be more Bourne compatible 20 DUALCASE=1; export DUALCASE # for MKS sh 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28 else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 75 76 # The user is always right. 77 if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83 fi 84 85 86 # IFS 87 # We need space, tab and new line, in precisely that order. Quoting is 88 # there to prevent editors from complaining about space-tab. 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 90 # splitting by setting IFS to empty value.) 91 IFS=" "" $as_nl" 92 93 # Find who we are. Look in the path if we contain no directory separator. 94 as_myself= 95 case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98 for as_dir in $PATH 99 do 100 IFS=$as_save_IFS 101 test -z "$as_dir" && as_dir=. 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 104 IFS=$as_save_IFS 105 106 ;; 107 esac 108 # We did not find ourselves, most probably we were run as `sh COMMAND' 109 # in which case we are not to be found in the path. 110 if test "x$as_myself" = x; then 111 as_myself=$0 112 fi 113 if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 done 126 PS1='$ ' 127 PS2='> ' 128 PS4='+ ' 129 130 # NLS nuisances. 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export LANGUAGE 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 # Use a proper internal environment variable to ensure we don't fall 140 # into an infinite loop, continuously re-executing ourselves. 141 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 142 _as_can_reexec=no; export _as_can_reexec; 143 # We cannot yet assume a decent shell, so we have to provide a 144 # neutralization value for shells without unset; and this also 145 # works around shells that cannot unset nonexistent variables. 146 # Preserve -v and -x to the replacement shell. 147 BASH_ENV=/dev/null 148 ENV=/dev/null 149 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 150 case $- in # (((( 151 *v*x* | *x*v* ) as_opts=-vx ;; 152 *v* ) as_opts=-v ;; 153 *x* ) as_opts=-x ;; 154 * ) as_opts= ;; 155 esac 156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 157 # Admittedly, this is quite paranoid, since all the known shells bail 158 # out after a failed `exec'. 159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 160 as_fn_exit 255 161 fi 162 # We don't want this to propagate to other subprocesses. 163 { _as_can_reexec=; unset _as_can_reexec;} 164 if test "x$CONFIG_SHELL" = x; then 165 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 166 emulate sh 167 NULLCMD=: 168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 169 # is contrary to our usage. Disable this feature. 170 alias -g '\${1+\"\$@\"}'='\"\$@\"' 171 setopt NO_GLOB_SUBST 172 else 173 case \`(set -o) 2>/dev/null\` in #( 174 *posix*) : 175 set -o posix ;; #( 176 *) : 177 ;; 178 esac 179 fi 180 " 181 as_required="as_fn_return () { (exit \$1); } 182 as_fn_success () { as_fn_return 0; } 183 as_fn_failure () { as_fn_return 1; } 184 as_fn_ret_success () { return 0; } 185 as_fn_ret_failure () { return 1; } 186 187 exitcode=0 188 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 193 194 else 195 exitcode=1; echo positional parameters were not saved. 196 fi 197 test x\$exitcode = x0 || exit 1 198 test -x / || exit 1" 199 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 200 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 203 test \$(( 1 + 1 )) = 2 || exit 1" 204 if (eval "$as_required") 2>/dev/null; then : 205 as_have_required=yes 206 else 207 as_have_required=no 208 fi 209 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 210 211 else 212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 213 as_found=false 214 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 215 do 216 IFS=$as_save_IFS 217 test -z "$as_dir" && as_dir=. 218 as_found=: 219 case $as_dir in #( 220 /*) 221 for as_base in sh bash ksh sh5; do 222 # Try only shells that exist, to save several forks. 223 as_shell=$as_dir/$as_base 224 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 225 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 CONFIG_SHELL=$as_shell as_have_required=yes 227 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 228 break 2 229 fi 230 fi 231 done;; 232 esac 233 as_found=false 234 done 235 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 236 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 237 CONFIG_SHELL=$SHELL as_have_required=yes 238 fi; } 239 IFS=$as_save_IFS 240 241 242 if test "x$CONFIG_SHELL" != x; then : 243 export CONFIG_SHELL 244 # We cannot yet assume a decent shell, so we have to provide a 245 # neutralization value for shells without unset; and this also 246 # works around shells that cannot unset nonexistent variables. 247 # Preserve -v and -x to the replacement shell. 248 BASH_ENV=/dev/null 249 ENV=/dev/null 250 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 251 case $- in # (((( 252 *v*x* | *x*v* ) as_opts=-vx ;; 253 *v* ) as_opts=-v ;; 254 *x* ) as_opts=-x ;; 255 * ) as_opts= ;; 256 esac 257 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 258 # Admittedly, this is quite paranoid, since all the known shells bail 259 # out after a failed `exec'. 260 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 261 exit 255 262 fi 263 264 if test x$as_have_required = xno; then : 265 $as_echo "$0: This script requires a shell more modern than all" 266 $as_echo "$0: the shells that I found on your system." 267 if test x${ZSH_VERSION+set} = xset ; then 268 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 269 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 270 else 271 $as_echo "$0: Please tell bug-autoconf (at] gnu.org and 272 $0: strace-devel (at] lists.strace.io about your system, 273 $0: including any error possibly output before this 274 $0: message. Then install a modern shell, or manually run 275 $0: the script under such a shell if you do have one." 276 fi 277 exit 1 278 fi 279 fi 280 fi 281 SHELL=${CONFIG_SHELL-/bin/sh} 282 export SHELL 283 # Unset more variables known to interfere with behavior of common tools. 284 CLICOLOR_FORCE= GREP_OPTIONS= 285 unset CLICOLOR_FORCE GREP_OPTIONS 286 287 ## --------------------- ## 288 ## M4sh Shell Functions. ## 289 ## --------------------- ## 290 # as_fn_unset VAR 291 # --------------- 292 # Portably unset VAR. 293 as_fn_unset () 294 { 295 { eval $1=; unset $1;} 296 } 297 as_unset=as_fn_unset 298 299 # as_fn_set_status STATUS 300 # ----------------------- 301 # Set $? to STATUS, without forking. 302 as_fn_set_status () 303 { 304 return $1 305 } # as_fn_set_status 306 307 # as_fn_exit STATUS 308 # ----------------- 309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 310 as_fn_exit () 311 { 312 set +e 313 as_fn_set_status $1 314 exit $1 315 } # as_fn_exit 316 317 # as_fn_mkdir_p 318 # ------------- 319 # Create "$as_dir" as a directory, including parents if necessary. 320 as_fn_mkdir_p () 321 { 322 323 case $as_dir in #( 324 -*) as_dir=./$as_dir;; 325 esac 326 test -d "$as_dir" || eval $as_mkdir_p || { 327 as_dirs= 328 while :; do 329 case $as_dir in #( 330 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 331 *) as_qdir=$as_dir;; 332 esac 333 as_dirs="'$as_qdir' $as_dirs" 334 as_dir=`$as_dirname -- "$as_dir" || 335 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 336 X"$as_dir" : 'X\(//\)[^/]' \| \ 337 X"$as_dir" : 'X\(//\)$' \| \ 338 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 339 $as_echo X"$as_dir" | 340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 341 s//\1/ 342 q 343 } 344 /^X\(\/\/\)[^/].*/{ 345 s//\1/ 346 q 347 } 348 /^X\(\/\/\)$/{ 349 s//\1/ 350 q 351 } 352 /^X\(\/\).*/{ 353 s//\1/ 354 q 355 } 356 s/.*/./; q'` 357 test -d "$as_dir" && break 358 done 359 test -z "$as_dirs" || eval "mkdir $as_dirs" 360 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 361 362 363 } # as_fn_mkdir_p 364 365 # as_fn_executable_p FILE 366 # ----------------------- 367 # Test if FILE is an executable regular file. 368 as_fn_executable_p () 369 { 370 test -f "$1" && test -x "$1" 371 } # as_fn_executable_p 372 # as_fn_append VAR VALUE 373 # ---------------------- 374 # Append the text in VALUE to the end of the definition contained in VAR. Take 375 # advantage of any shell optimizations that allow amortized linear growth over 376 # repeated appends, instead of the typical quadratic growth present in naive 377 # implementations. 378 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 379 eval 'as_fn_append () 380 { 381 eval $1+=\$2 382 }' 383 else 384 as_fn_append () 385 { 386 eval $1=\$$1\$2 387 } 388 fi # as_fn_append 389 390 # as_fn_arith ARG... 391 # ------------------ 392 # Perform arithmetic evaluation on the ARGs, and store the result in the 393 # global $as_val. Take advantage of shells that can avoid forks. The arguments 394 # must be portable across $(()) and expr. 395 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 396 eval 'as_fn_arith () 397 { 398 as_val=$(( $* )) 399 }' 400 else 401 as_fn_arith () 402 { 403 as_val=`expr "$@" || test $? -eq 1` 404 } 405 fi # as_fn_arith 406 407 408 # as_fn_error STATUS ERROR [LINENO LOG_FD] 409 # ---------------------------------------- 410 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 411 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 412 # script with STATUS, using 1 if that was 0. 413 as_fn_error () 414 { 415 as_status=$1; test $as_status -eq 0 && as_status=1 416 if test "$4"; then 417 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 418 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 419 fi 420 $as_echo "$as_me: error: $2" >&2 421 as_fn_exit $as_status 422 } # as_fn_error 423 424 if expr a : '\(a\)' >/dev/null 2>&1 && 425 test "X`expr 00001 : '.*\(...\)'`" = X001; then 426 as_expr=expr 427 else 428 as_expr=false 429 fi 430 431 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 432 as_basename=basename 433 else 434 as_basename=false 435 fi 436 437 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 438 as_dirname=dirname 439 else 440 as_dirname=false 441 fi 442 443 as_me=`$as_basename -- "$0" || 444 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 445 X"$0" : 'X\(//\)$' \| \ 446 X"$0" : 'X\(/\)' \| . 2>/dev/null || 447 $as_echo X/"$0" | 448 sed '/^.*\/\([^/][^/]*\)\/*$/{ 449 s//\1/ 450 q 451 } 452 /^X\/\(\/\/\)$/{ 453 s//\1/ 454 q 455 } 456 /^X\/\(\/\).*/{ 457 s//\1/ 458 q 459 } 460 s/.*/./; q'` 461 462 # Avoid depending upon Character Ranges. 463 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 464 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 465 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 466 as_cr_digits='0123456789' 467 as_cr_alnum=$as_cr_Letters$as_cr_digits 468 469 470 as_lineno_1=$LINENO as_lineno_1a=$LINENO 471 as_lineno_2=$LINENO as_lineno_2a=$LINENO 472 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 473 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 474 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 475 sed -n ' 476 p 477 /[$]LINENO/= 478 ' <$as_myself | 479 sed ' 480 s/[$]LINENO.*/&-/ 481 t lineno 482 b 483 :lineno 484 N 485 :loop 486 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 487 t loop 488 s/-\n.*// 489 ' >$as_me.lineno && 490 chmod +x "$as_me.lineno" || 491 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 492 493 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 494 # already done that, so ensure we don't try to do so again and fall 495 # in an infinite loop. This has already happened in practice. 496 _as_can_reexec=no; export _as_can_reexec 497 # Don't try to exec as it changes $[0], causing all sort of problems 498 # (the dirname of $[0] is not the place where we might find the 499 # original and so on. Autoconf is especially sensitive to this). 500 . "./$as_me.lineno" 501 # Exit status is that of the last command. 502 exit 503 } 504 505 ECHO_C= ECHO_N= ECHO_T= 506 case `echo -n x` in #((((( 507 -n*) 508 case `echo 'xy\c'` in 509 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 510 xy) ECHO_C='\c';; 511 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 512 ECHO_T=' ';; 513 esac;; 514 *) 515 ECHO_N='-n';; 516 esac 517 518 rm -f conf$$ conf$$.exe conf$$.file 519 if test -d conf$$.dir; then 520 rm -f conf$$.dir/conf$$.file 521 else 522 rm -f conf$$.dir 523 mkdir conf$$.dir 2>/dev/null 524 fi 525 if (echo >conf$$.file) 2>/dev/null; then 526 if ln -s conf$$.file conf$$ 2>/dev/null; then 527 as_ln_s='ln -s' 528 # ... but there are two gotchas: 529 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 530 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 531 # In both cases, we have to default to `cp -pR'. 532 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 533 as_ln_s='cp -pR' 534 elif ln conf$$.file conf$$ 2>/dev/null; then 535 as_ln_s=ln 536 else 537 as_ln_s='cp -pR' 538 fi 539 else 540 as_ln_s='cp -pR' 541 fi 542 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 543 rmdir conf$$.dir 2>/dev/null 544 545 if mkdir -p . 2>/dev/null; then 546 as_mkdir_p='mkdir -p "$as_dir"' 547 else 548 test -d ./-p && rmdir ./-p 549 as_mkdir_p=false 550 fi 551 552 as_test_x='test -x' 553 as_executable_p=as_fn_executable_p 554 555 # Sed expression to map a string onto a valid CPP name. 556 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 557 558 # Sed expression to map a string onto a valid variable name. 559 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 560 561 562 test -n "$DJDIR" || exec 7<&0 </dev/null 563 exec 6>&1 564 565 # Name of the host. 566 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 567 # so uname gets run too. 568 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 569 570 # 571 # Initializations. 572 # 573 ac_default_prefix=/usr/local 574 ac_clean_files= 575 ac_config_libobj_dir=. 576 LIBOBJS= 577 cross_compiling=no 578 subdirs= 579 MFLAGS= 580 MAKEFLAGS= 581 582 # Identity of this package. 583 PACKAGE_NAME='strace' 584 PACKAGE_TARNAME='strace' 585 PACKAGE_VERSION='4.25' 586 PACKAGE_STRING='strace 4.25' 587 PACKAGE_BUGREPORT='strace-devel (at] lists.strace.io' 588 PACKAGE_URL='https://strace.io' 589 590 ac_unique_file="strace.c" 591 # Factoring default headers for most tests. 592 ac_includes_default="\ 593 #include <stdio.h> 594 #ifdef HAVE_SYS_TYPES_H 595 # include <sys/types.h> 596 #endif 597 #ifdef HAVE_SYS_STAT_H 598 # include <sys/stat.h> 599 #endif 600 #ifdef STDC_HEADERS 601 # include <stdlib.h> 602 # include <stddef.h> 603 #else 604 # ifdef HAVE_STDLIB_H 605 # include <stdlib.h> 606 # endif 607 #endif 608 #ifdef HAVE_STRING_H 609 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 610 # include <memory.h> 611 # endif 612 # include <string.h> 613 #endif 614 #ifdef HAVE_STRINGS_H 615 # include <strings.h> 616 #endif 617 #ifdef HAVE_INTTYPES_H 618 # include <inttypes.h> 619 #endif 620 #ifdef HAVE_STDINT_H 621 # include <stdint.h> 622 #endif 623 #ifdef HAVE_UNISTD_H 624 # include <unistd.h> 625 #endif" 626 627 ac_subst_vars='am__EXEEXT_FALSE 628 am__EXEEXT_TRUE 629 LTLIBOBJS 630 LIBOBJS 631 VALGRIND_CHECK_RULES 632 valgrind_enabled_tools 633 valgrind_tools 634 ENABLE_VALGRIND_sgcheck 635 ENABLE_VALGRIND_drd 636 ENABLE_VALGRIND_helgrind 637 ENABLE_VALGRIND_memcheck 638 VALGRIND_ENABLED 639 VALGRIND_ENABLED_FALSE 640 VALGRIND_ENABLED_TRUE 641 VALGRIND 642 HAVE_MX32_MPERS_FALSE 643 HAVE_MX32_MPERS_TRUE 644 HAVE_MX32_RUNTIME_FALSE 645 HAVE_MX32_RUNTIME_TRUE 646 HAVE_M32_MPERS_FALSE 647 HAVE_M32_MPERS_TRUE 648 HAVE_M32_RUNTIME_FALSE 649 HAVE_M32_RUNTIME_TRUE 650 USE_DEMANGLE_FALSE 651 USE_DEMANGLE_TRUE 652 libiberty_CPPFLAGS 653 libiberty_LDFLAGS 654 libiberty_LIBS 655 USE_LIBUNWIND_FALSE 656 USE_LIBUNWIND_TRUE 657 USE_LIBDW_FALSE 658 USE_LIBDW_TRUE 659 ENABLE_STACKTRACE_FALSE 660 ENABLE_STACKTRACE_TRUE 661 libunwind_CPPFLAGS 662 libunwind_LDFLAGS 663 libunwind_LIBS 664 libdw_LIBS 665 libdw_LDFLAGS 666 libdw_CFLAGS 667 libdw_CPPFLAGS 668 READELF 669 PERL 670 mq_LIBS 671 clock_LIBS 672 timer_LIBS 673 dl_LIBS 674 SIZEOF_KERNEL_LONG_T 675 SIZEOF_LONG 676 MIPS_ABI 677 arch_native 678 cc_flags_mx32 679 cc_flags_m32 680 arch_mx32 681 arch_m32 682 arch 683 MANPAGE_DATE 684 COPYRIGHT_YEAR 685 CODE_COVERAGE_RULES 686 CODE_COVERAGE_LDFLAGS 687 CODE_COVERAGE_LIBS 688 CODE_COVERAGE_CXXFLAGS 689 CODE_COVERAGE_CFLAGS 690 CODE_COVERAGE_CPPFLAGS 691 GENHTML 692 LCOV 693 GCOV 694 CODE_COVERAGE_ENABLED 695 CODE_COVERAGE_ENABLED_FALSE 696 CODE_COVERAGE_ENABLED_TRUE 697 SED 698 EGREP 699 GREP 700 RANLIB 701 WARN_CFLAGS_FOR_BUILD 702 LDFLAGS_FOR_BUILD 703 CPPFLAGS_FOR_BUILD 704 CFLAGS_FOR_BUILD 705 BUILD_OBJEXT 706 BUILD_EXEEXT 707 CPP_FOR_BUILD 708 ac_ct_CC_FOR_BUILD 709 CC_FOR_BUILD 710 WARN_CFLAGS 711 CPP 712 am__fastdepCC_FALSE 713 am__fastdepCC_TRUE 714 CCDEPMODE 715 am__nodep 716 AMDEPBACKSLASH 717 AMDEP_FALSE 718 AMDEP_TRUE 719 am__quote 720 am__include 721 DEPDIR 722 OBJEXT 723 EXEEXT 724 ac_ct_CC 725 CPPFLAGS 726 LDFLAGS 727 CFLAGS 728 CC 729 DEB_CHANGELOGTIME 730 RPM_CHANGELOGTIME 731 host_os 732 host_vendor 733 host_cpu 734 host 735 build_os 736 build_vendor 737 build_cpu 738 build 739 MAINT 740 MAINTAINER_MODE_FALSE 741 MAINTAINER_MODE_TRUE 742 AM_BACKSLASH 743 AM_DEFAULT_VERBOSITY 744 AM_DEFAULT_V 745 AM_V 746 am__untar 747 am__tar 748 AMTAR 749 am__leading_dot 750 SET_MAKE 751 AWK 752 mkdir_p 753 MKDIR_P 754 INSTALL_STRIP_PROGRAM 755 STRIP 756 install_sh 757 MAKEINFO 758 AUTOHEADER 759 AUTOMAKE 760 AUTOCONF 761 ACLOCAL 762 VERSION 763 PACKAGE 764 CYGPATH_W 765 am__isrc 766 INSTALL_DATA 767 INSTALL_SCRIPT 768 INSTALL_PROGRAM 769 target_alias 770 host_alias 771 build_alias 772 LIBS 773 ECHO_T 774 ECHO_N 775 ECHO_C 776 DEFS 777 mandir 778 localedir 779 libdir 780 psdir 781 pdfdir 782 dvidir 783 htmldir 784 infodir 785 docdir 786 oldincludedir 787 includedir 788 localstatedir 789 sharedstatedir 790 sysconfdir 791 datadir 792 datarootdir 793 libexecdir 794 sbindir 795 bindir 796 program_transform_name 797 prefix 798 exec_prefix 799 PACKAGE_URL 800 PACKAGE_BUGREPORT 801 PACKAGE_STRING 802 PACKAGE_VERSION 803 PACKAGE_TARNAME 804 PACKAGE_NAME 805 PATH_SEPARATOR 806 SHELL' 807 ac_subst_files='' 808 ac_user_opts=' 809 enable_option_checking 810 enable_silent_rules 811 enable_maintainer_mode 812 enable_dependency_tracking 813 enable_gcc_Werror 814 with_gcov 815 enable_code_coverage 816 enable_arm_oabi 817 enable_stacktrace 818 with_libdw 819 with_libunwind 820 with_libiberty 821 enable_mpers 822 enable_valgrind 823 enable_valgrind_memcheck 824 enable_valgrind_helgrind 825 enable_valgrind_drd 826 enable_valgrind_sgcheck 827 ' 828 ac_precious_vars='build_alias 829 host_alias 830 target_alias 831 CC 832 CFLAGS 833 LDFLAGS 834 LIBS 835 CPPFLAGS 836 CPP' 837 838 839 # Initialize some variables set by options. 840 ac_init_help= 841 ac_init_version=false 842 ac_unrecognized_opts= 843 ac_unrecognized_sep= 844 # The variables have the same names as the options, with 845 # dashes changed to underlines. 846 cache_file=/dev/null 847 exec_prefix=NONE 848 no_create= 849 no_recursion= 850 prefix=NONE 851 program_prefix=NONE 852 program_suffix=NONE 853 program_transform_name=s,x,x, 854 silent= 855 site= 856 srcdir= 857 verbose= 858 x_includes=NONE 859 x_libraries=NONE 860 861 # Installation directory options. 862 # These are left unexpanded so users can "make install exec_prefix=/foo" 863 # and all the variables that are supposed to be based on exec_prefix 864 # by default will actually change. 865 # Use braces instead of parens because sh, perl, etc. also accept them. 866 # (The list follows the same order as the GNU Coding Standards.) 867 bindir='${exec_prefix}/bin' 868 sbindir='${exec_prefix}/sbin' 869 libexecdir='${exec_prefix}/libexec' 870 datarootdir='${prefix}/share' 871 datadir='${datarootdir}' 872 sysconfdir='${prefix}/etc' 873 sharedstatedir='${prefix}/com' 874 localstatedir='${prefix}/var' 875 includedir='${prefix}/include' 876 oldincludedir='/usr/include' 877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 878 infodir='${datarootdir}/info' 879 htmldir='${docdir}' 880 dvidir='${docdir}' 881 pdfdir='${docdir}' 882 psdir='${docdir}' 883 libdir='${exec_prefix}/lib' 884 localedir='${datarootdir}/locale' 885 mandir='${datarootdir}/man' 886 887 ac_prev= 888 ac_dashdash= 889 for ac_option 890 do 891 # If the previous option needs an argument, assign it. 892 if test -n "$ac_prev"; then 893 eval $ac_prev=\$ac_option 894 ac_prev= 895 continue 896 fi 897 898 case $ac_option in 899 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 900 *=) ac_optarg= ;; 901 *) ac_optarg=yes ;; 902 esac 903 904 # Accept the important Cygnus configure options, so we can diagnose typos. 905 906 case $ac_dashdash$ac_option in 907 --) 908 ac_dashdash=yes ;; 909 910 -bindir | --bindir | --bindi | --bind | --bin | --bi) 911 ac_prev=bindir ;; 912 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 913 bindir=$ac_optarg ;; 914 915 -build | --build | --buil | --bui | --bu) 916 ac_prev=build_alias ;; 917 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 918 build_alias=$ac_optarg ;; 919 920 -cache-file | --cache-file | --cache-fil | --cache-fi \ 921 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 922 ac_prev=cache_file ;; 923 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 924 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 925 cache_file=$ac_optarg ;; 926 927 --config-cache | -C) 928 cache_file=config.cache ;; 929 930 -datadir | --datadir | --datadi | --datad) 931 ac_prev=datadir ;; 932 -datadir=* | --datadir=* | --datadi=* | --datad=*) 933 datadir=$ac_optarg ;; 934 935 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 936 | --dataroo | --dataro | --datar) 937 ac_prev=datarootdir ;; 938 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 939 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 940 datarootdir=$ac_optarg ;; 941 942 -disable-* | --disable-*) 943 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 944 # Reject names that are not valid shell variable names. 945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 946 as_fn_error $? "invalid feature name: $ac_useropt" 947 ac_useropt_orig=$ac_useropt 948 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 949 case $ac_user_opts in 950 *" 951 "enable_$ac_useropt" 952 "*) ;; 953 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 954 ac_unrecognized_sep=', ';; 955 esac 956 eval enable_$ac_useropt=no ;; 957 958 -docdir | --docdir | --docdi | --doc | --do) 959 ac_prev=docdir ;; 960 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 961 docdir=$ac_optarg ;; 962 963 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 964 ac_prev=dvidir ;; 965 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 966 dvidir=$ac_optarg ;; 967 968 -enable-* | --enable-*) 969 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 970 # Reject names that are not valid shell variable names. 971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 972 as_fn_error $? "invalid feature name: $ac_useropt" 973 ac_useropt_orig=$ac_useropt 974 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 975 case $ac_user_opts in 976 *" 977 "enable_$ac_useropt" 978 "*) ;; 979 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 980 ac_unrecognized_sep=', ';; 981 esac 982 eval enable_$ac_useropt=\$ac_optarg ;; 983 984 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 985 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 986 | --exec | --exe | --ex) 987 ac_prev=exec_prefix ;; 988 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 989 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 990 | --exec=* | --exe=* | --ex=*) 991 exec_prefix=$ac_optarg ;; 992 993 -gas | --gas | --ga | --g) 994 # Obsolete; use --with-gas. 995 with_gas=yes ;; 996 997 -help | --help | --hel | --he | -h) 998 ac_init_help=long ;; 999 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1000 ac_init_help=recursive ;; 1001 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1002 ac_init_help=short ;; 1003 1004 -host | --host | --hos | --ho) 1005 ac_prev=host_alias ;; 1006 -host=* | --host=* | --hos=* | --ho=*) 1007 host_alias=$ac_optarg ;; 1008 1009 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1010 ac_prev=htmldir ;; 1011 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1012 | --ht=*) 1013 htmldir=$ac_optarg ;; 1014 1015 -includedir | --includedir | --includedi | --included | --include \ 1016 | --includ | --inclu | --incl | --inc) 1017 ac_prev=includedir ;; 1018 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1019 | --includ=* | --inclu=* | --incl=* | --inc=*) 1020 includedir=$ac_optarg ;; 1021 1022 -infodir | --infodir | --infodi | --infod | --info | --inf) 1023 ac_prev=infodir ;; 1024 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1025 infodir=$ac_optarg ;; 1026 1027 -libdir | --libdir | --libdi | --libd) 1028 ac_prev=libdir ;; 1029 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1030 libdir=$ac_optarg ;; 1031 1032 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1033 | --libexe | --libex | --libe) 1034 ac_prev=libexecdir ;; 1035 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1036 | --libexe=* | --libex=* | --libe=*) 1037 libexecdir=$ac_optarg ;; 1038 1039 -localedir | --localedir | --localedi | --localed | --locale) 1040 ac_prev=localedir ;; 1041 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1042 localedir=$ac_optarg ;; 1043 1044 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1045 | --localstate | --localstat | --localsta | --localst | --locals) 1046 ac_prev=localstatedir ;; 1047 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1048 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1049 localstatedir=$ac_optarg ;; 1050 1051 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1052 ac_prev=mandir ;; 1053 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1054 mandir=$ac_optarg ;; 1055 1056 -nfp | --nfp | --nf) 1057 # Obsolete; use --without-fp. 1058 with_fp=no ;; 1059 1060 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1061 | --no-cr | --no-c | -n) 1062 no_create=yes ;; 1063 1064 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1065 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1066 no_recursion=yes ;; 1067 1068 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1069 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1070 | --oldin | --oldi | --old | --ol | --o) 1071 ac_prev=oldincludedir ;; 1072 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1073 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1074 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1075 oldincludedir=$ac_optarg ;; 1076 1077 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1078 ac_prev=prefix ;; 1079 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1080 prefix=$ac_optarg ;; 1081 1082 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1083 | --program-pre | --program-pr | --program-p) 1084 ac_prev=program_prefix ;; 1085 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1086 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1087 program_prefix=$ac_optarg ;; 1088 1089 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1090 | --program-suf | --program-su | --program-s) 1091 ac_prev=program_suffix ;; 1092 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1093 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1094 program_suffix=$ac_optarg ;; 1095 1096 -program-transform-name | --program-transform-name \ 1097 | --program-transform-nam | --program-transform-na \ 1098 | --program-transform-n | --program-transform- \ 1099 | --program-transform | --program-transfor \ 1100 | --program-transfo | --program-transf \ 1101 | --program-trans | --program-tran \ 1102 | --progr-tra | --program-tr | --program-t) 1103 ac_prev=program_transform_name ;; 1104 -program-transform-name=* | --program-transform-name=* \ 1105 | --program-transform-nam=* | --program-transform-na=* \ 1106 | --program-transform-n=* | --program-transform-=* \ 1107 | --program-transform=* | --program-transfor=* \ 1108 | --program-transfo=* | --program-transf=* \ 1109 | --program-trans=* | --program-tran=* \ 1110 | --progr-tra=* | --program-tr=* | --program-t=*) 1111 program_transform_name=$ac_optarg ;; 1112 1113 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1114 ac_prev=pdfdir ;; 1115 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1116 pdfdir=$ac_optarg ;; 1117 1118 -psdir | --psdir | --psdi | --psd | --ps) 1119 ac_prev=psdir ;; 1120 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1121 psdir=$ac_optarg ;; 1122 1123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1124 | -silent | --silent | --silen | --sile | --sil) 1125 silent=yes ;; 1126 1127 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1128 ac_prev=sbindir ;; 1129 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1130 | --sbi=* | --sb=*) 1131 sbindir=$ac_optarg ;; 1132 1133 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1134 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1135 | --sharedst | --shareds | --shared | --share | --shar \ 1136 | --sha | --sh) 1137 ac_prev=sharedstatedir ;; 1138 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1139 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1140 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1141 | --sha=* | --sh=*) 1142 sharedstatedir=$ac_optarg ;; 1143 1144 -site | --site | --sit) 1145 ac_prev=site ;; 1146 -site=* | --site=* | --sit=*) 1147 site=$ac_optarg ;; 1148 1149 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1150 ac_prev=srcdir ;; 1151 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1152 srcdir=$ac_optarg ;; 1153 1154 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1155 | --syscon | --sysco | --sysc | --sys | --sy) 1156 ac_prev=sysconfdir ;; 1157 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1158 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1159 sysconfdir=$ac_optarg ;; 1160 1161 -target | --target | --targe | --targ | --tar | --ta | --t) 1162 ac_prev=target_alias ;; 1163 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1164 target_alias=$ac_optarg ;; 1165 1166 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1167 verbose=yes ;; 1168 1169 -version | --version | --versio | --versi | --vers | -V) 1170 ac_init_version=: ;; 1171 1172 -with-* | --with-*) 1173 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1174 # Reject names that are not valid shell variable names. 1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1176 as_fn_error $? "invalid package name: $ac_useropt" 1177 ac_useropt_orig=$ac_useropt 1178 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1179 case $ac_user_opts in 1180 *" 1181 "with_$ac_useropt" 1182 "*) ;; 1183 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1184 ac_unrecognized_sep=', ';; 1185 esac 1186 eval with_$ac_useropt=\$ac_optarg ;; 1187 1188 -without-* | --without-*) 1189 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1190 # Reject names that are not valid shell variable names. 1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1192 as_fn_error $? "invalid package name: $ac_useropt" 1193 ac_useropt_orig=$ac_useropt 1194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1195 case $ac_user_opts in 1196 *" 1197 "with_$ac_useropt" 1198 "*) ;; 1199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1200 ac_unrecognized_sep=', ';; 1201 esac 1202 eval with_$ac_useropt=no ;; 1203 1204 --x) 1205 # Obsolete; use --with-x. 1206 with_x=yes ;; 1207 1208 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1209 | --x-incl | --x-inc | --x-in | --x-i) 1210 ac_prev=x_includes ;; 1211 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1212 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1213 x_includes=$ac_optarg ;; 1214 1215 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1216 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1217 ac_prev=x_libraries ;; 1218 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1219 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1220 x_libraries=$ac_optarg ;; 1221 1222 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1223 Try \`$0 --help' for more information" 1224 ;; 1225 1226 *=*) 1227 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1228 # Reject names that are not valid shell variable names. 1229 case $ac_envvar in #( 1230 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1231 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1232 esac 1233 eval $ac_envvar=\$ac_optarg 1234 export $ac_envvar ;; 1235 1236 *) 1237 # FIXME: should be removed in autoconf 3.0. 1238 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1239 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1240 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1241 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1242 ;; 1243 1244 esac 1245 done 1246 1247 if test -n "$ac_prev"; then 1248 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1249 as_fn_error $? "missing argument to $ac_option" 1250 fi 1251 1252 if test -n "$ac_unrecognized_opts"; then 1253 case $enable_option_checking in 1254 no) ;; 1255 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1256 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1257 esac 1258 fi 1259 1260 # Check all directory arguments for consistency. 1261 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1262 datadir sysconfdir sharedstatedir localstatedir includedir \ 1263 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1264 libdir localedir mandir 1265 do 1266 eval ac_val=\$$ac_var 1267 # Remove trailing slashes. 1268 case $ac_val in 1269 */ ) 1270 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1271 eval $ac_var=\$ac_val;; 1272 esac 1273 # Be sure to have absolute directory names. 1274 case $ac_val in 1275 [\\/$]* | ?:[\\/]* ) continue;; 1276 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1277 esac 1278 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1279 done 1280 1281 # There might be people who depend on the old broken behavior: `$host' 1282 # used to hold the argument of --host etc. 1283 # FIXME: To remove some day. 1284 build=$build_alias 1285 host=$host_alias 1286 target=$target_alias 1287 1288 # FIXME: To remove some day. 1289 if test "x$host_alias" != x; then 1290 if test "x$build_alias" = x; then 1291 cross_compiling=maybe 1292 elif test "x$build_alias" != "x$host_alias"; then 1293 cross_compiling=yes 1294 fi 1295 fi 1296 1297 ac_tool_prefix= 1298 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1299 1300 test "$silent" = yes && exec 6>/dev/null 1301 1302 1303 ac_pwd=`pwd` && test -n "$ac_pwd" && 1304 ac_ls_di=`ls -di .` && 1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1306 as_fn_error $? "working directory cannot be determined" 1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1308 as_fn_error $? "pwd does not report name of working directory" 1309 1310 1311 # Find the source files, if location was not specified. 1312 if test -z "$srcdir"; then 1313 ac_srcdir_defaulted=yes 1314 # Try the directory containing this script, then the parent directory. 1315 ac_confdir=`$as_dirname -- "$as_myself" || 1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1317 X"$as_myself" : 'X\(//\)[^/]' \| \ 1318 X"$as_myself" : 'X\(//\)$' \| \ 1319 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1320 $as_echo X"$as_myself" | 1321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1322 s//\1/ 1323 q 1324 } 1325 /^X\(\/\/\)[^/].*/{ 1326 s//\1/ 1327 q 1328 } 1329 /^X\(\/\/\)$/{ 1330 s//\1/ 1331 q 1332 } 1333 /^X\(\/\).*/{ 1334 s//\1/ 1335 q 1336 } 1337 s/.*/./; q'` 1338 srcdir=$ac_confdir 1339 if test ! -r "$srcdir/$ac_unique_file"; then 1340 srcdir=.. 1341 fi 1342 else 1343 ac_srcdir_defaulted=no 1344 fi 1345 if test ! -r "$srcdir/$ac_unique_file"; then 1346 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1347 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1348 fi 1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1350 ac_abs_confdir=`( 1351 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1352 pwd)` 1353 # When building in place, set srcdir=. 1354 if test "$ac_abs_confdir" = "$ac_pwd"; then 1355 srcdir=. 1356 fi 1357 # Remove unnecessary trailing slashes from srcdir. 1358 # Double slashes in file names in object file debugging info 1359 # mess up M-x gdb in Emacs. 1360 case $srcdir in 1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1362 esac 1363 for ac_var in $ac_precious_vars; do 1364 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1365 eval ac_env_${ac_var}_value=\$${ac_var} 1366 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1367 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1368 done 1369 1370 # 1371 # Report the --help message. 1372 # 1373 if test "$ac_init_help" = "long"; then 1374 # Omit some internal or obsolete options to make the list less imposing. 1375 # This message is too long to be a string in the A/UX 3.1 sh. 1376 cat <<_ACEOF 1377 \`configure' configures strace 4.25 to adapt to many kinds of systems. 1378 1379 Usage: $0 [OPTION]... [VAR=VALUE]... 1380 1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1382 VAR=VALUE. See below for descriptions of some of the useful variables. 1383 1384 Defaults for the options are specified in brackets. 1385 1386 Configuration: 1387 -h, --help display this help and exit 1388 --help=short display options specific to this package 1389 --help=recursive display the short help of all the included packages 1390 -V, --version display version information and exit 1391 -q, --quiet, --silent do not print \`checking ...' messages 1392 --cache-file=FILE cache test results in FILE [disabled] 1393 -C, --config-cache alias for \`--cache-file=config.cache' 1394 -n, --no-create do not create output files 1395 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1396 1397 Installation directories: 1398 --prefix=PREFIX install architecture-independent files in PREFIX 1399 [$ac_default_prefix] 1400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1401 [PREFIX] 1402 1403 By default, \`make install' will install all the files in 1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1406 for instance \`--prefix=\$HOME'. 1407 1408 For better control, use the options below. 1409 1410 Fine tuning of the installation directories: 1411 --bindir=DIR user executables [EPREFIX/bin] 1412 --sbindir=DIR system admin executables [EPREFIX/sbin] 1413 --libexecdir=DIR program executables [EPREFIX/libexec] 1414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1416 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1417 --libdir=DIR object code libraries [EPREFIX/lib] 1418 --includedir=DIR C header files [PREFIX/include] 1419 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1422 --infodir=DIR info documentation [DATAROOTDIR/info] 1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1424 --mandir=DIR man documentation [DATAROOTDIR/man] 1425 --docdir=DIR documentation root [DATAROOTDIR/doc/strace] 1426 --htmldir=DIR html documentation [DOCDIR] 1427 --dvidir=DIR dvi documentation [DOCDIR] 1428 --pdfdir=DIR pdf documentation [DOCDIR] 1429 --psdir=DIR ps documentation [DOCDIR] 1430 _ACEOF 1431 1432 cat <<\_ACEOF 1433 1434 Program names: 1435 --program-prefix=PREFIX prepend PREFIX to installed program names 1436 --program-suffix=SUFFIX append SUFFIX to installed program names 1437 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1438 1439 System types: 1440 --build=BUILD configure for building on BUILD [guessed] 1441 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1442 _ACEOF 1443 fi 1444 1445 if test -n "$ac_init_help"; then 1446 case $ac_init_help in 1447 short | recursive ) echo "Configuration of strace 4.25:";; 1448 esac 1449 cat <<\_ACEOF 1450 1451 Optional Features: 1452 --disable-option-checking ignore unrecognized --enable/--with options 1453 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1454 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1455 --enable-silent-rules less verbose build output (undo: "make V=1") 1456 --disable-silent-rules verbose build output (undo: "make V=0") 1457 --enable-maintainer-mode 1458 enable make rules and dependencies not useful (and 1459 sometimes confusing) to the casual installer 1460 --enable-dependency-tracking 1461 do not reject slow dependency extractors 1462 --disable-dependency-tracking 1463 speeds up one-time build 1464 --enable-gcc-Werror turn on gcc's -Werror option 1465 --enable-code-coverage Whether to enable code coverage support 1466 --enable-arm-oabi enable OABI support on ARM EABI 1467 --enable-stacktrace=yes|no|check 1468 whether to enable stack tracing support, default is 1469 check 1470 --enable-mpers=yes|no|check|m32|mx32 1471 whether to enable multiple personalities support 1472 required for proper decoding of structures used by 1473 tracees with personalities that differ from the 1474 personality of strace, default is yes. 1475 --enable-valgrind Whether to enable Valgrind on the unit tests 1476 --disable-valgrind-memcheck 1477 Whether to skip memcheck during the Valgrind tests 1478 --disable-valgrind-helgrind 1479 Whether to skip helgrind during the Valgrind tests 1480 --disable-valgrind-drd Whether to skip drd during the Valgrind tests 1481 --enable-valgrind-sgcheck 1482 Whether to use sgcheck during the Valgrind tests 1483 1484 Optional Packages: 1485 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1486 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1487 --with-gcov=GCOV use given GCOV for coverage (GCOV=gcov). 1488 --with-libdw use libdw to implement stack tracing support 1489 1490 --with-libunwind use libunwind to implement stack tracing support 1491 --with-libiberty use libiberty to demangle symbols in stack trace 1492 1493 Some influential environment variables: 1494 CC C compiler command 1495 CFLAGS C compiler flags 1496 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1497 nonstandard directory <lib dir> 1498 LIBS libraries to pass to the linker, e.g. -l<library> 1499 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1500 you have headers in a nonstandard directory <include dir> 1501 CPP C preprocessor 1502 1503 Use these variables to override the choices made by `configure' or to help 1504 it to find libraries and programs with nonstandard names/locations. 1505 1506 Report bugs to <strace-devel (at] lists.strace.io>. 1507 strace home page: <https://strace.io>. 1508 _ACEOF 1509 ac_status=$? 1510 fi 1511 1512 if test "$ac_init_help" = "recursive"; then 1513 # If there are subdirs, report their specific --help. 1514 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1515 test -d "$ac_dir" || 1516 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1517 continue 1518 ac_builddir=. 1519 1520 case "$ac_dir" in 1521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1522 *) 1523 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1524 # A ".." for each directory in $ac_dir_suffix. 1525 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1526 case $ac_top_builddir_sub in 1527 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1528 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1529 esac ;; 1530 esac 1531 ac_abs_top_builddir=$ac_pwd 1532 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1533 # for backward compatibility: 1534 ac_top_builddir=$ac_top_build_prefix 1535 1536 case $srcdir in 1537 .) # We are building in place. 1538 ac_srcdir=. 1539 ac_top_srcdir=$ac_top_builddir_sub 1540 ac_abs_top_srcdir=$ac_pwd ;; 1541 [\\/]* | ?:[\\/]* ) # Absolute name. 1542 ac_srcdir=$srcdir$ac_dir_suffix; 1543 ac_top_srcdir=$srcdir 1544 ac_abs_top_srcdir=$srcdir ;; 1545 *) # Relative name. 1546 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1547 ac_top_srcdir=$ac_top_build_prefix$srcdir 1548 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1549 esac 1550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1551 1552 cd "$ac_dir" || { ac_status=$?; continue; } 1553 # Check for guested configure. 1554 if test -f "$ac_srcdir/configure.gnu"; then 1555 echo && 1556 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1557 elif test -f "$ac_srcdir/configure"; then 1558 echo && 1559 $SHELL "$ac_srcdir/configure" --help=recursive 1560 else 1561 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1562 fi || ac_status=$? 1563 cd "$ac_pwd" || { ac_status=$?; break; } 1564 done 1565 fi 1566 1567 test -n "$ac_init_help" && exit $ac_status 1568 if $ac_init_version; then 1569 cat <<\_ACEOF 1570 strace configure 4.25 1571 generated by GNU Autoconf 2.69 1572 1573 Copyright (C) 2012 Free Software Foundation, Inc. 1574 This configure script is free software; the Free Software Foundation 1575 gives unlimited permission to copy, distribute and modify it. 1576 1577 Copyright (c) 1999-2018 The strace developers. 1578 _ACEOF 1579 exit 1580 fi 1581 1582 ## ------------------------ ## 1583 ## Autoconf initialization. ## 1584 ## ------------------------ ## 1585 1586 # ac_fn_c_try_compile LINENO 1587 # -------------------------- 1588 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1589 ac_fn_c_try_compile () 1590 { 1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1592 rm -f conftest.$ac_objext 1593 if { { ac_try="$ac_compile" 1594 case "(($ac_try" in 1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1596 *) ac_try_echo=$ac_try;; 1597 esac 1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1599 $as_echo "$ac_try_echo"; } >&5 1600 (eval "$ac_compile") 2>conftest.err 1601 ac_status=$? 1602 if test -s conftest.err; then 1603 grep -v '^ *+' conftest.err >conftest.er1 1604 cat conftest.er1 >&5 1605 mv -f conftest.er1 conftest.err 1606 fi 1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1608 test $ac_status = 0; } && { 1609 test -z "$ac_c_werror_flag" || 1610 test ! -s conftest.err 1611 } && test -s conftest.$ac_objext; then : 1612 ac_retval=0 1613 else 1614 $as_echo "$as_me: failed program was:" >&5 1615 sed 's/^/| /' conftest.$ac_ext >&5 1616 1617 ac_retval=1 1618 fi 1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1620 as_fn_set_status $ac_retval 1621 1622 } # ac_fn_c_try_compile 1623 1624 # ac_fn_c_try_cpp LINENO 1625 # ---------------------- 1626 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1627 ac_fn_c_try_cpp () 1628 { 1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1630 if { { ac_try="$ac_cpp conftest.$ac_ext" 1631 case "(($ac_try" in 1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1633 *) ac_try_echo=$ac_try;; 1634 esac 1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1636 $as_echo "$ac_try_echo"; } >&5 1637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1638 ac_status=$? 1639 if test -s conftest.err; then 1640 grep -v '^ *+' conftest.err >conftest.er1 1641 cat conftest.er1 >&5 1642 mv -f conftest.er1 conftest.err 1643 fi 1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1645 test $ac_status = 0; } > conftest.i && { 1646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1647 test ! -s conftest.err 1648 }; then : 1649 ac_retval=0 1650 else 1651 $as_echo "$as_me: failed program was:" >&5 1652 sed 's/^/| /' conftest.$ac_ext >&5 1653 1654 ac_retval=1 1655 fi 1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1657 as_fn_set_status $ac_retval 1658 1659 } # ac_fn_c_try_cpp 1660 1661 # ac_fn_c_try_link LINENO 1662 # ----------------------- 1663 # Try to link conftest.$ac_ext, and return whether this succeeded. 1664 ac_fn_c_try_link () 1665 { 1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1667 rm -f conftest.$ac_objext conftest$ac_exeext 1668 if { { ac_try="$ac_link" 1669 case "(($ac_try" in 1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1671 *) ac_try_echo=$ac_try;; 1672 esac 1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1674 $as_echo "$ac_try_echo"; } >&5 1675 (eval "$ac_link") 2>conftest.err 1676 ac_status=$? 1677 if test -s conftest.err; then 1678 grep -v '^ *+' conftest.err >conftest.er1 1679 cat conftest.er1 >&5 1680 mv -f conftest.er1 conftest.err 1681 fi 1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1683 test $ac_status = 0; } && { 1684 test -z "$ac_c_werror_flag" || 1685 test ! -s conftest.err 1686 } && test -s conftest$ac_exeext && { 1687 test "$cross_compiling" = yes || 1688 test -x conftest$ac_exeext 1689 }; then : 1690 ac_retval=0 1691 else 1692 $as_echo "$as_me: failed program was:" >&5 1693 sed 's/^/| /' conftest.$ac_ext >&5 1694 1695 ac_retval=1 1696 fi 1697 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1698 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1699 # interfere with the next link command; also delete a directory that is 1700 # left behind by Apple's compiler. We do this before executing the actions. 1701 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1703 as_fn_set_status $ac_retval 1704 1705 } # ac_fn_c_try_link 1706 1707 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1708 # ------------------------------------------------------- 1709 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1710 # the include files in INCLUDES and setting the cache variable VAR 1711 # accordingly. 1712 ac_fn_c_check_header_mongrel () 1713 { 1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1715 if eval \${$3+:} false; then : 1716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1717 $as_echo_n "checking for $2... " >&6; } 1718 if eval \${$3+:} false; then : 1719 $as_echo_n "(cached) " >&6 1720 fi 1721 eval ac_res=\$$3 1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1723 $as_echo "$ac_res" >&6; } 1724 else 1725 # Is the header compilable? 1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1727 $as_echo_n "checking $2 usability... " >&6; } 1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1729 /* end confdefs.h. */ 1730 $4 1731 #include <$2> 1732 _ACEOF 1733 if ac_fn_c_try_compile "$LINENO"; then : 1734 ac_header_compiler=yes 1735 else 1736 ac_header_compiler=no 1737 fi 1738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1740 $as_echo "$ac_header_compiler" >&6; } 1741 1742 # Is the header present? 1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1744 $as_echo_n "checking $2 presence... " >&6; } 1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1746 /* end confdefs.h. */ 1747 #include <$2> 1748 _ACEOF 1749 if ac_fn_c_try_cpp "$LINENO"; then : 1750 ac_header_preproc=yes 1751 else 1752 ac_header_preproc=no 1753 fi 1754 rm -f conftest.err conftest.i conftest.$ac_ext 1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1756 $as_echo "$ac_header_preproc" >&6; } 1757 1758 # So? What about this header? 1759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1760 yes:no: ) 1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1762 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1764 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1765 ;; 1766 no:yes:* ) 1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1768 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1770 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1772 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1774 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1776 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1777 ( $as_echo "## ------------------------------------------- ## 1778 ## Report this to strace-devel (at] lists.strace.io ## 1779 ## ------------------------------------------- ##" 1780 ) | sed "s/^/$as_me: WARNING: /" >&2 1781 ;; 1782 esac 1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1784 $as_echo_n "checking for $2... " >&6; } 1785 if eval \${$3+:} false; then : 1786 $as_echo_n "(cached) " >&6 1787 else 1788 eval "$3=\$ac_header_compiler" 1789 fi 1790 eval ac_res=\$$3 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1792 $as_echo "$ac_res" >&6; } 1793 fi 1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1795 1796 } # ac_fn_c_check_header_mongrel 1797 1798 # ac_fn_c_try_run LINENO 1799 # ---------------------- 1800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1801 # that executables *can* be run. 1802 ac_fn_c_try_run () 1803 { 1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1805 if { { ac_try="$ac_link" 1806 case "(($ac_try" in 1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1808 *) ac_try_echo=$ac_try;; 1809 esac 1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1811 $as_echo "$ac_try_echo"; } >&5 1812 (eval "$ac_link") 2>&5 1813 ac_status=$? 1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1815 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1816 { { case "(($ac_try" in 1817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1818 *) ac_try_echo=$ac_try;; 1819 esac 1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1821 $as_echo "$ac_try_echo"; } >&5 1822 (eval "$ac_try") 2>&5 1823 ac_status=$? 1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1825 test $ac_status = 0; }; }; then : 1826 ac_retval=0 1827 else 1828 $as_echo "$as_me: program exited with status $ac_status" >&5 1829 $as_echo "$as_me: failed program was:" >&5 1830 sed 's/^/| /' conftest.$ac_ext >&5 1831 1832 ac_retval=$ac_status 1833 fi 1834 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1836 as_fn_set_status $ac_retval 1837 1838 } # ac_fn_c_try_run 1839 1840 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1841 # ------------------------------------------------------- 1842 # Tests whether HEADER exists and can be compiled using the include files in 1843 # INCLUDES, setting the cache variable VAR accordingly. 1844 ac_fn_c_check_header_compile () 1845 { 1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1848 $as_echo_n "checking for $2... " >&6; } 1849 if eval \${$3+:} false; then : 1850 $as_echo_n "(cached) " >&6 1851 else 1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1853 /* end confdefs.h. */ 1854 $4 1855 #include <$2> 1856 _ACEOF 1857 if ac_fn_c_try_compile "$LINENO"; then : 1858 eval "$3=yes" 1859 else 1860 eval "$3=no" 1861 fi 1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1863 fi 1864 eval ac_res=\$$3 1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1866 $as_echo "$ac_res" >&6; } 1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1868 1869 } # ac_fn_c_check_header_compile 1870 1871 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1872 # -------------------------------------------- 1873 # Tries to find the compile-time value of EXPR in a program that includes 1874 # INCLUDES, setting VAR accordingly. Returns whether the value could be 1875 # computed 1876 ac_fn_c_compute_int () 1877 { 1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1879 if test "$cross_compiling" = yes; then 1880 # Depending upon the size, compute the lo and hi bounds. 1881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1882 /* end confdefs.h. */ 1883 $4 1884 int 1885 main () 1886 { 1887 static int test_array [1 - 2 * !(($2) >= 0)]; 1888 test_array [0] = 0; 1889 return test_array [0]; 1890 1891 ; 1892 return 0; 1893 } 1894 _ACEOF 1895 if ac_fn_c_try_compile "$LINENO"; then : 1896 ac_lo=0 ac_mid=0 1897 while :; do 1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1899 /* end confdefs.h. */ 1900 $4 1901 int 1902 main () 1903 { 1904 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1905 test_array [0] = 0; 1906 return test_array [0]; 1907 1908 ; 1909 return 0; 1910 } 1911 _ACEOF 1912 if ac_fn_c_try_compile "$LINENO"; then : 1913 ac_hi=$ac_mid; break 1914 else 1915 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1916 if test $ac_lo -le $ac_mid; then 1917 ac_lo= ac_hi= 1918 break 1919 fi 1920 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1921 fi 1922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1923 done 1924 else 1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1926 /* end confdefs.h. */ 1927 $4 1928 int 1929 main () 1930 { 1931 static int test_array [1 - 2 * !(($2) < 0)]; 1932 test_array [0] = 0; 1933 return test_array [0]; 1934 1935 ; 1936 return 0; 1937 } 1938 _ACEOF 1939 if ac_fn_c_try_compile "$LINENO"; then : 1940 ac_hi=-1 ac_mid=-1 1941 while :; do 1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1943 /* end confdefs.h. */ 1944 $4 1945 int 1946 main () 1947 { 1948 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1949 test_array [0] = 0; 1950 return test_array [0]; 1951 1952 ; 1953 return 0; 1954 } 1955 _ACEOF 1956 if ac_fn_c_try_compile "$LINENO"; then : 1957 ac_lo=$ac_mid; break 1958 else 1959 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1960 if test $ac_mid -le $ac_hi; then 1961 ac_lo= ac_hi= 1962 break 1963 fi 1964 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1965 fi 1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1967 done 1968 else 1969 ac_lo= ac_hi= 1970 fi 1971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1972 fi 1973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1974 # Binary search between lo and hi bounds. 1975 while test "x$ac_lo" != "x$ac_hi"; do 1976 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1978 /* end confdefs.h. */ 1979 $4 1980 int 1981 main () 1982 { 1983 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1984 test_array [0] = 0; 1985 return test_array [0]; 1986 1987 ; 1988 return 0; 1989 } 1990 _ACEOF 1991 if ac_fn_c_try_compile "$LINENO"; then : 1992 ac_hi=$ac_mid 1993 else 1994 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1995 fi 1996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1997 done 1998 case $ac_lo in #(( 1999 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2000 '') ac_retval=1 ;; 2001 esac 2002 else 2003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2004 /* end confdefs.h. */ 2005 $4 2006 static long int longval () { return $2; } 2007 static unsigned long int ulongval () { return $2; } 2008 #include <stdio.h> 2009 #include <stdlib.h> 2010 int 2011 main () 2012 { 2013 2014 FILE *f = fopen ("conftest.val", "w"); 2015 if (! f) 2016 return 1; 2017 if (($2) < 0) 2018 { 2019 long int i = longval (); 2020 if (i != ($2)) 2021 return 1; 2022 fprintf (f, "%ld", i); 2023 } 2024 else 2025 { 2026 unsigned long int i = ulongval (); 2027 if (i != ($2)) 2028 return 1; 2029 fprintf (f, "%lu", i); 2030 } 2031 /* Do not output a trailing newline, as this causes \r\n confusion 2032 on some platforms. */ 2033 return ferror (f) || fclose (f) != 0; 2034 2035 ; 2036 return 0; 2037 } 2038 _ACEOF 2039 if ac_fn_c_try_run "$LINENO"; then : 2040 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2041 else 2042 ac_retval=1 2043 fi 2044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2045 conftest.$ac_objext conftest.beam conftest.$ac_ext 2046 rm -f conftest.val 2047 2048 fi 2049 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2050 as_fn_set_status $ac_retval 2051 2052 } # ac_fn_c_compute_int 2053 2054 # ac_fn_c_check_func LINENO FUNC VAR 2055 # ---------------------------------- 2056 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2057 ac_fn_c_check_func () 2058 { 2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2061 $as_echo_n "checking for $2... " >&6; } 2062 if eval \${$3+:} false; then : 2063 $as_echo_n "(cached) " >&6 2064 else 2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2066 /* end confdefs.h. */ 2067 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2068 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2069 #define $2 innocuous_$2 2070 2071 /* Tell GNU C headers to include stubs. */ 2072 #define __need_GNU_STUBS_H 2073 2074 /* System header to define __stub macros and hopefully few prototypes, 2075 which can conflict with char $2 (); below. 2076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2077 <limits.h> exists even on freestanding compilers. */ 2078 2079 #ifdef __STDC__ 2080 # include <limits.h> 2081 #else 2082 # include <assert.h> 2083 #endif 2084 2085 #undef $2 2086 2087 /* Override any GCC internal prototype to avoid an error. 2088 Use char because int might match the return type of a GCC 2089 builtin and then its argument prototype would still apply. */ 2090 #ifdef __cplusplus 2091 extern "C" 2092 #endif 2093 char $2 (); 2094 /* The GNU C library defines this for functions which it implements 2095 to always fail with ENOSYS. Some functions are actually named 2096 something starting with __ and the normal name is an alias. */ 2097 #if defined __stub_$2 || defined __stub___$2 2098 choke me 2099 #endif 2100 2101 int 2102 main () 2103 { 2104 return $2 (); 2105 ; 2106 return 0; 2107 } 2108 _ACEOF 2109 if ac_fn_c_try_link "$LINENO"; then : 2110 eval "$3=yes" 2111 else 2112 if test "$GCC" = yes; then 2113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2114 /* end confdefs.h. */ 2115 #undef $2 2116 /* Declare this function with the same prototype as __builtin_$2. 2117 This removes a warning about conflicting types for built-in function $2 */ 2118 __typeof__(__builtin_$2) $2; 2119 __typeof__(__builtin_$2) *f = $2; 2120 2121 int 2122 main () 2123 { 2124 return f != $2; 2125 ; 2126 return 0; 2127 } 2128 _ACEOF 2129 if ac_fn_c_try_link "$LINENO"; then : 2130 eval "$3=yes" 2131 else 2132 eval "$3=no" 2133 fi 2134 rm -f core conftest.err conftest.$ac_objext \ 2135 conftest$ac_exeext conftest.$ac_ext 2136 else 2137 eval "$3=no" 2138 fi 2139 fi 2140 rm -f core conftest.err conftest.$ac_objext \ 2141 conftest$ac_exeext conftest.$ac_ext 2142 fi 2143 eval ac_res=\$$3 2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2145 $as_echo "$ac_res" >&6; } 2146 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2147 2148 } # ac_fn_c_check_func 2149 2150 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2151 # ------------------------------------------- 2152 # Tests whether TYPE exists after having included INCLUDES, setting cache 2153 # variable VAR accordingly. 2154 ac_fn_c_check_type () 2155 { 2156 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2158 $as_echo_n "checking for $2... " >&6; } 2159 if eval \${$3+:} false; then : 2160 $as_echo_n "(cached) " >&6 2161 else 2162 eval "$3=no" 2163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2164 /* end confdefs.h. */ 2165 $4 2166 int 2167 main () 2168 { 2169 if (sizeof ($2)) 2170 return 0; 2171 ; 2172 return 0; 2173 } 2174 _ACEOF 2175 if ac_fn_c_try_compile "$LINENO"; then : 2176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2177 /* end confdefs.h. */ 2178 $4 2179 int 2180 main () 2181 { 2182 if (sizeof (($2))) 2183 return 0; 2184 ; 2185 return 0; 2186 } 2187 _ACEOF 2188 if ac_fn_c_try_compile "$LINENO"; then : 2189 2190 else 2191 eval "$3=yes" 2192 fi 2193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2194 fi 2195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2196 fi 2197 eval ac_res=\$$3 2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2199 $as_echo "$ac_res" >&6; } 2200 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2201 2202 } # ac_fn_c_check_type 2203 2204 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2205 # ---------------------------------------------------- 2206 # Tries to find if the field MEMBER exists in type AGGR, after including 2207 # INCLUDES, setting cache variable VAR accordingly. 2208 ac_fn_c_check_member () 2209 { 2210 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2212 $as_echo_n "checking for $2.$3... " >&6; } 2213 if eval \${$4+:} false; then : 2214 $as_echo_n "(cached) " >&6 2215 else 2216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2217 /* end confdefs.h. */ 2218 $5 2219 int 2220 main () 2221 { 2222 static $2 ac_aggr; 2223 if (ac_aggr.$3) 2224 return 0; 2225 ; 2226 return 0; 2227 } 2228 _ACEOF 2229 if ac_fn_c_try_compile "$LINENO"; then : 2230 eval "$4=yes" 2231 else 2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2233 /* end confdefs.h. */ 2234 $5 2235 int 2236 main () 2237 { 2238 static $2 ac_aggr; 2239 if (sizeof ac_aggr.$3) 2240 return 0; 2241 ; 2242 return 0; 2243 } 2244 _ACEOF 2245 if ac_fn_c_try_compile "$LINENO"; then : 2246 eval "$4=yes" 2247 else 2248 eval "$4=no" 2249 fi 2250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2251 fi 2252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2253 fi 2254 eval ac_res=\$$4 2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2256 $as_echo "$ac_res" >&6; } 2257 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2258 2259 } # ac_fn_c_check_member 2260 2261 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2262 # --------------------------------------------- 2263 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2264 # accordingly. 2265 ac_fn_c_check_decl () 2266 { 2267 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2268 as_decl_name=`echo $2|sed 's/ *(.*//'` 2269 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2271 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2272 if eval \${$3+:} false; then : 2273 $as_echo_n "(cached) " >&6 2274 else 2275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2276 /* end confdefs.h. */ 2277 $4 2278 int 2279 main () 2280 { 2281 #ifndef $as_decl_name 2282 #ifdef __cplusplus 2283 (void) $as_decl_use; 2284 #else 2285 (void) $as_decl_name; 2286 #endif 2287 #endif 2288 2289 ; 2290 return 0; 2291 } 2292 _ACEOF 2293 if ac_fn_c_try_compile "$LINENO"; then : 2294 eval "$3=yes" 2295 else 2296 eval "$3=no" 2297 fi 2298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2299 fi 2300 eval ac_res=\$$3 2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2302 $as_echo "$ac_res" >&6; } 2303 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2304 2305 } # ac_fn_c_check_decl 2306 cat >config.log <<_ACEOF 2307 This file contains any messages produced by compilers while 2308 running configure, to aid debugging if configure makes a mistake. 2309 2310 It was created by strace $as_me 4.25, which was 2311 generated by GNU Autoconf 2.69. Invocation command line was 2312 2313 $ $0 $@ 2314 2315 _ACEOF 2316 exec 5>>config.log 2317 { 2318 cat <<_ASUNAME 2319 ## --------- ## 2320 ## Platform. ## 2321 ## --------- ## 2322 2323 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2324 uname -m = `(uname -m) 2>/dev/null || echo unknown` 2325 uname -r = `(uname -r) 2>/dev/null || echo unknown` 2326 uname -s = `(uname -s) 2>/dev/null || echo unknown` 2327 uname -v = `(uname -v) 2>/dev/null || echo unknown` 2328 2329 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2330 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2331 2332 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2333 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2334 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2335 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2336 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2337 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2338 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2339 2340 _ASUNAME 2341 2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2343 for as_dir in $PATH 2344 do 2345 IFS=$as_save_IFS 2346 test -z "$as_dir" && as_dir=. 2347 $as_echo "PATH: $as_dir" 2348 done 2349 IFS=$as_save_IFS 2350 2351 } >&5 2352 2353 cat >&5 <<_ACEOF 2354 2355 2356 ## ----------- ## 2357 ## Core tests. ## 2358 ## ----------- ## 2359 2360 _ACEOF 2361 2362 2363 # Keep a trace of the command line. 2364 # Strip out --no-create and --no-recursion so they do not pile up. 2365 # Strip out --silent because we don't want to record it for future runs. 2366 # Also quote any args containing shell meta-characters. 2367 # Make two passes to allow for proper duplicate-argument suppression. 2368 ac_configure_args= 2369 ac_configure_args0= 2370 ac_configure_args1= 2371 ac_must_keep_next=false 2372 for ac_pass in 1 2 2373 do 2374 for ac_arg 2375 do 2376 case $ac_arg in 2377 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2378 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2379 | -silent | --silent | --silen | --sile | --sil) 2380 continue ;; 2381 *\'*) 2382 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2383 esac 2384 case $ac_pass in 2385 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2386 2) 2387 as_fn_append ac_configure_args1 " '$ac_arg'" 2388 if test $ac_must_keep_next = true; then 2389 ac_must_keep_next=false # Got value, back to normal. 2390 else 2391 case $ac_arg in 2392 *=* | --config-cache | -C | -disable-* | --disable-* \ 2393 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2394 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2395 | -with-* | --with-* | -without-* | --without-* | --x) 2396 case "$ac_configure_args0 " in 2397 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2398 esac 2399 ;; 2400 -* ) ac_must_keep_next=true ;; 2401 esac 2402 fi 2403 as_fn_append ac_configure_args " '$ac_arg'" 2404 ;; 2405 esac 2406 done 2407 done 2408 { ac_configure_args0=; unset ac_configure_args0;} 2409 { ac_configure_args1=; unset ac_configure_args1;} 2410 2411 # When interrupted or exit'd, cleanup temporary files, and complete 2412 # config.log. We remove comments because anyway the quotes in there 2413 # would cause problems or look ugly. 2414 # WARNING: Use '\'' to represent an apostrophe within the trap. 2415 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2416 trap 'exit_status=$? 2417 # Sanitize IFS. 2418 IFS=" "" $as_nl" 2419 # Save into config.log some information that might help in debugging. 2420 { 2421 echo 2422 2423 $as_echo "## ---------------- ## 2424 ## Cache variables. ## 2425 ## ---------------- ##" 2426 echo 2427 # The following way of writing the cache mishandles newlines in values, 2428 ( 2429 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2430 eval ac_val=\$$ac_var 2431 case $ac_val in #( 2432 *${as_nl}*) 2433 case $ac_var in #( 2434 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2435 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2436 esac 2437 case $ac_var in #( 2438 _ | IFS | as_nl) ;; #( 2439 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2440 *) { eval $ac_var=; unset $ac_var;} ;; 2441 esac ;; 2442 esac 2443 done 2444 (set) 2>&1 | 2445 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2446 *${as_nl}ac_space=\ *) 2447 sed -n \ 2448 "s/'\''/'\''\\\\'\'''\''/g; 2449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2450 ;; #( 2451 *) 2452 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2453 ;; 2454 esac | 2455 sort 2456 ) 2457 echo 2458 2459 $as_echo "## ----------------- ## 2460 ## Output variables. ## 2461 ## ----------------- ##" 2462 echo 2463 for ac_var in $ac_subst_vars 2464 do 2465 eval ac_val=\$$ac_var 2466 case $ac_val in 2467 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2468 esac 2469 $as_echo "$ac_var='\''$ac_val'\''" 2470 done | sort 2471 echo 2472 2473 if test -n "$ac_subst_files"; then 2474 $as_echo "## ------------------- ## 2475 ## File substitutions. ## 2476 ## ------------------- ##" 2477 echo 2478 for ac_var in $ac_subst_files 2479 do 2480 eval ac_val=\$$ac_var 2481 case $ac_val in 2482 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2483 esac 2484 $as_echo "$ac_var='\''$ac_val'\''" 2485 done | sort 2486 echo 2487 fi 2488 2489 if test -s confdefs.h; then 2490 $as_echo "## ----------- ## 2491 ## confdefs.h. ## 2492 ## ----------- ##" 2493 echo 2494 cat confdefs.h 2495 echo 2496 fi 2497 test "$ac_signal" != 0 && 2498 $as_echo "$as_me: caught signal $ac_signal" 2499 $as_echo "$as_me: exit $exit_status" 2500 } >&5 2501 rm -f core *.core core.conftest.* && 2502 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2503 exit $exit_status 2504 ' 0 2505 for ac_signal in 1 2 13 15; do 2506 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2507 done 2508 ac_signal=0 2509 2510 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2511 rm -f -r conftest* confdefs.h 2512 2513 $as_echo "/* confdefs.h */" > confdefs.h 2514 2515 # Predefined preprocessor variables. 2516 2517 cat >>confdefs.h <<_ACEOF 2518 #define PACKAGE_NAME "$PACKAGE_NAME" 2519 _ACEOF 2520 2521 cat >>confdefs.h <<_ACEOF 2522 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2523 _ACEOF 2524 2525 cat >>confdefs.h <<_ACEOF 2526 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2527 _ACEOF 2528 2529 cat >>confdefs.h <<_ACEOF 2530 #define PACKAGE_STRING "$PACKAGE_STRING" 2531 _ACEOF 2532 2533 cat >>confdefs.h <<_ACEOF 2534 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2535 _ACEOF 2536 2537 cat >>confdefs.h <<_ACEOF 2538 #define PACKAGE_URL "$PACKAGE_URL" 2539 _ACEOF 2540 2541 2542 # Let the site file select an alternate cache file if it wants to. 2543 # Prefer an explicitly selected file to automatically selected ones. 2544 ac_site_file1=NONE 2545 ac_site_file2=NONE 2546 if test -n "$CONFIG_SITE"; then 2547 # We do not want a PATH search for config.site. 2548 case $CONFIG_SITE in #(( 2549 -*) ac_site_file1=./$CONFIG_SITE;; 2550 */*) ac_site_file1=$CONFIG_SITE;; 2551 *) ac_site_file1=./$CONFIG_SITE;; 2552 esac 2553 elif test "x$prefix" != xNONE; then 2554 ac_site_file1=$prefix/share/config.site 2555 ac_site_file2=$prefix/etc/config.site 2556 else 2557 ac_site_file1=$ac_default_prefix/share/config.site 2558 ac_site_file2=$ac_default_prefix/etc/config.site 2559 fi 2560 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2561 do 2562 test "x$ac_site_file" = xNONE && continue 2563 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2565 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2566 sed 's/^/| /' "$ac_site_file" >&5 2567 . "$ac_site_file" \ 2568 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2570 as_fn_error $? "failed to load site script $ac_site_file 2571 See \`config.log' for more details" "$LINENO" 5; } 2572 fi 2573 done 2574 2575 if test -r "$cache_file"; then 2576 # Some versions of bash will fail to source /dev/null (special files 2577 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2578 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2579 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2580 $as_echo "$as_me: loading cache $cache_file" >&6;} 2581 case $cache_file in 2582 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2583 *) . "./$cache_file";; 2584 esac 2585 fi 2586 else 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2588 $as_echo "$as_me: creating cache $cache_file" >&6;} 2589 >$cache_file 2590 fi 2591 2592 # Check that the precious variables saved in the cache have kept the same 2593 # value. 2594 ac_cache_corrupted=false 2595 for ac_var in $ac_precious_vars; do 2596 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2597 eval ac_new_set=\$ac_env_${ac_var}_set 2598 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2599 eval ac_new_val=\$ac_env_${ac_var}_value 2600 case $ac_old_set,$ac_new_set in 2601 set,) 2602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2603 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2604 ac_cache_corrupted=: ;; 2605 ,set) 2606 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2607 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2608 ac_cache_corrupted=: ;; 2609 ,);; 2610 *) 2611 if test "x$ac_old_val" != "x$ac_new_val"; then 2612 # differences in whitespace do not lead to failure. 2613 ac_old_val_w=`echo x $ac_old_val` 2614 ac_new_val_w=`echo x $ac_new_val` 2615 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2617 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2618 ac_cache_corrupted=: 2619 else 2620 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2621 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2622 eval $ac_var=\$ac_old_val 2623 fi 2624 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2625 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2626 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2627 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2628 fi;; 2629 esac 2630 # Pass precious variables to config.status. 2631 if test "$ac_new_set" = set; then 2632 case $ac_new_val in 2633 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2634 *) ac_arg=$ac_var=$ac_new_val ;; 2635 esac 2636 case " $ac_configure_args " in 2637 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2638 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2639 esac 2640 fi 2641 done 2642 if $ac_cache_corrupted; then 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2645 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2646 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2647 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2648 fi 2649 ## -------------------- ## 2650 ## Main body of script. ## 2651 ## -------------------- ## 2652 2653 ac_ext=c 2654 ac_cpp='$CPP $CPPFLAGS' 2655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2657 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2658 2659 2660 2661 2662 2663 2664 ac_aux_dir= 2665 for ac_dir in . "$srcdir"/.; do 2666 if test -f "$ac_dir/install-sh"; then 2667 ac_aux_dir=$ac_dir 2668 ac_install_sh="$ac_aux_dir/install-sh -c" 2669 break 2670 elif test -f "$ac_dir/install.sh"; then 2671 ac_aux_dir=$ac_dir 2672 ac_install_sh="$ac_aux_dir/install.sh -c" 2673 break 2674 elif test -f "$ac_dir/shtool"; then 2675 ac_aux_dir=$ac_dir 2676 ac_install_sh="$ac_aux_dir/shtool install -c" 2677 break 2678 fi 2679 done 2680 if test -z "$ac_aux_dir"; then 2681 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 2682 fi 2683 2684 # These three variables are undocumented and unsupported, 2685 # and are intended to be withdrawn in a future Autoconf release. 2686 # They can cause serious problems if a builder's source tree is in a directory 2687 # whose full name contains unusual characters. 2688 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2689 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2690 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2691 2692 2693 ac_config_headers="$ac_config_headers config.h" 2694 2695 am__api_version='1.14' 2696 2697 # Find a good install program. We prefer a C program (faster), 2698 # so one script is as good as another. But avoid the broken or 2699 # incompatible versions: 2700 # SysV /etc/install, /usr/sbin/install 2701 # SunOS /usr/etc/install 2702 # IRIX /sbin/install 2703 # AIX /bin/install 2704 # AmigaOS /C/install, which installs bootblocks on floppy discs 2705 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2706 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2707 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2708 # OS/2's system install, which has a completely different semantic 2709 # ./install, which can be erroneously created by make from ./install.sh. 2710 # Reject install programs that cannot install multiple files. 2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2712 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2713 if test -z "$INSTALL"; then 2714 if ${ac_cv_path_install+:} false; then : 2715 $as_echo_n "(cached) " >&6 2716 else 2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2718 for as_dir in $PATH 2719 do 2720 IFS=$as_save_IFS 2721 test -z "$as_dir" && as_dir=. 2722 # Account for people who put trailing slashes in PATH elements. 2723 case $as_dir/ in #(( 2724 ./ | .// | /[cC]/* | \ 2725 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2726 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2727 /usr/ucb/* ) ;; 2728 *) 2729 # OSF1 and SCO ODT 3.0 have their own names for install. 2730 # Don't use installbsd from OSF since it installs stuff as root 2731 # by default. 2732 for ac_prog in ginstall scoinst install; do 2733 for ac_exec_ext in '' $ac_executable_extensions; do 2734 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2735 if test $ac_prog = install && 2736 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2737 # AIX install. It has an incompatible calling convention. 2738 : 2739 elif test $ac_prog = install && 2740 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2741 # program-specific install script used by HP pwplus--don't use. 2742 : 2743 else 2744 rm -rf conftest.one conftest.two conftest.dir 2745 echo one > conftest.one 2746 echo two > conftest.two 2747 mkdir conftest.dir 2748 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2749 test -s conftest.one && test -s conftest.two && 2750 test -s conftest.dir/conftest.one && 2751 test -s conftest.dir/conftest.two 2752 then 2753 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2754 break 3 2755 fi 2756 fi 2757 fi 2758 done 2759 done 2760 ;; 2761 esac 2762 2763 done 2764 IFS=$as_save_IFS 2765 2766 rm -rf conftest.one conftest.two conftest.dir 2767 2768 fi 2769 if test "${ac_cv_path_install+set}" = set; then 2770 INSTALL=$ac_cv_path_install 2771 else 2772 # As a last resort, use the slow shell script. Don't cache a 2773 # value for INSTALL within a source directory, because that will 2774 # break other packages using the cache if that directory is 2775 # removed, or if the value is a relative name. 2776 INSTALL=$ac_install_sh 2777 fi 2778 fi 2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2780 $as_echo "$INSTALL" >&6; } 2781 2782 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2783 # It thinks the first close brace ends the variable substitution. 2784 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2785 2786 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2787 2788 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2789 2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2791 $as_echo_n "checking whether build environment is sane... " >&6; } 2792 # Reject unsafe characters in $srcdir or the absolute working directory 2793 # name. Accept space and tab only in the latter. 2794 am_lf=' 2795 ' 2796 case `pwd` in 2797 *[\\\"\#\$\&\'\`$am_lf]*) 2798 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2799 esac 2800 case $srcdir in 2801 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2802 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2803 esac 2804 2805 # Do 'set' in a subshell so we don't clobber the current shell's 2806 # arguments. Must try -L first in case configure is actually a 2807 # symlink; some systems play weird games with the mod time of symlinks 2808 # (eg FreeBSD returns the mod time of the symlink's containing 2809 # directory). 2810 if ( 2811 am_has_slept=no 2812 for am_try in 1 2; do 2813 echo "timestamp, slept: $am_has_slept" > conftest.file 2814 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2815 if test "$*" = "X"; then 2816 # -L didn't work. 2817 set X `ls -t "$srcdir/configure" conftest.file` 2818 fi 2819 if test "$*" != "X $srcdir/configure conftest.file" \ 2820 && test "$*" != "X conftest.file $srcdir/configure"; then 2821 2822 # If neither matched, then we have a broken ls. This can happen 2823 # if, for instance, CONFIG_SHELL is bash and it inherits a 2824 # broken ls alias from the environment. This has actually 2825 # happened. Such a system could not be considered "sane". 2826 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2827 alias in your environment" "$LINENO" 5 2828 fi 2829 if test "$2" = conftest.file || test $am_try -eq 2; then 2830 break 2831 fi 2832 # Just in case. 2833 sleep 1 2834 am_has_slept=yes 2835 done 2836 test "$2" = conftest.file 2837 ) 2838 then 2839 # Ok. 2840 : 2841 else 2842 as_fn_error $? "newly created file is older than distributed files! 2843 Check your system clock" "$LINENO" 5 2844 fi 2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2846 $as_echo "yes" >&6; } 2847 # If we didn't sleep, we still need to ensure time stamps of config.status and 2848 # generated files are strictly newer. 2849 am_sleep_pid= 2850 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2851 ( sleep 1 ) & 2852 am_sleep_pid=$! 2853 fi 2854 2855 rm -f conftest.file 2856 2857 test "$program_prefix" != NONE && 2858 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2859 # Use a double $ so make ignores it. 2860 test "$program_suffix" != NONE && 2861 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2862 # Double any \ or $. 2863 # By default was `s,x,x', remove it if useless. 2864 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2865 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2866 2867 # expand $ac_aux_dir to an absolute path 2868 am_aux_dir=`cd $ac_aux_dir && pwd` 2869 2870 if test x"${MISSING+set}" != xset; then 2871 case $am_aux_dir in 2872 *\ * | *\ *) 2873 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2874 *) 2875 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2876 esac 2877 fi 2878 # Use eval to expand $SHELL 2879 if eval "$MISSING --is-lightweight"; then 2880 am_missing_run="$MISSING " 2881 else 2882 am_missing_run= 2883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2884 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2885 fi 2886 2887 if test x"${install_sh}" != xset; then 2888 case $am_aux_dir in 2889 *\ * | *\ *) 2890 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2891 *) 2892 install_sh="\${SHELL} $am_aux_dir/install-sh" 2893 esac 2894 fi 2895 2896 # Installed binaries are usually stripped using 'strip' when the user 2897 # run "make install-strip". However 'strip' might not be the right 2898 # tool to use in cross-compilation environments, therefore Automake 2899 # will honor the 'STRIP' environment variable to overrule this program. 2900 if test "$cross_compiling" != no; then 2901 if test -n "$ac_tool_prefix"; then 2902 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2903 set dummy ${ac_tool_prefix}strip; ac_word=$2 2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2905 $as_echo_n "checking for $ac_word... " >&6; } 2906 if ${ac_cv_prog_STRIP+:} false; then : 2907 $as_echo_n "(cached) " >&6 2908 else 2909 if test -n "$STRIP"; then 2910 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2911 else 2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2913 for as_dir in $PATH 2914 do 2915 IFS=$as_save_IFS 2916 test -z "$as_dir" && as_dir=. 2917 for ac_exec_ext in '' $ac_executable_extensions; do 2918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2919 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2921 break 2 2922 fi 2923 done 2924 done 2925 IFS=$as_save_IFS 2926 2927 fi 2928 fi 2929 STRIP=$ac_cv_prog_STRIP 2930 if test -n "$STRIP"; then 2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2932 $as_echo "$STRIP" >&6; } 2933 else 2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2935 $as_echo "no" >&6; } 2936 fi 2937 2938 2939 fi 2940 if test -z "$ac_cv_prog_STRIP"; then 2941 ac_ct_STRIP=$STRIP 2942 # Extract the first word of "strip", so it can be a program name with args. 2943 set dummy strip; ac_word=$2 2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2945 $as_echo_n "checking for $ac_word... " >&6; } 2946 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2947 $as_echo_n "(cached) " >&6 2948 else 2949 if test -n "$ac_ct_STRIP"; then 2950 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2951 else 2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2953 for as_dir in $PATH 2954 do 2955 IFS=$as_save_IFS 2956 test -z "$as_dir" && as_dir=. 2957 for ac_exec_ext in '' $ac_executable_extensions; do 2958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2959 ac_cv_prog_ac_ct_STRIP="strip" 2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2961 break 2 2962 fi 2963 done 2964 done 2965 IFS=$as_save_IFS 2966 2967 fi 2968 fi 2969 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2970 if test -n "$ac_ct_STRIP"; then 2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2972 $as_echo "$ac_ct_STRIP" >&6; } 2973 else 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2975 $as_echo "no" >&6; } 2976 fi 2977 2978 if test "x$ac_ct_STRIP" = x; then 2979 STRIP=":" 2980 else 2981 case $cross_compiling:$ac_tool_warned in 2982 yes:) 2983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2985 ac_tool_warned=yes ;; 2986 esac 2987 STRIP=$ac_ct_STRIP 2988 fi 2989 else 2990 STRIP="$ac_cv_prog_STRIP" 2991 fi 2992 2993 fi 2994 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2995 2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2997 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2998 if test -z "$MKDIR_P"; then 2999 if ${ac_cv_path_mkdir+:} false; then : 3000 $as_echo_n "(cached) " >&6 3001 else 3002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3003 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3004 do 3005 IFS=$as_save_IFS 3006 test -z "$as_dir" && as_dir=. 3007 for ac_prog in mkdir gmkdir; do 3008 for ac_exec_ext in '' $ac_executable_extensions; do 3009 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3010 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3011 'mkdir (GNU coreutils) '* | \ 3012 'mkdir (coreutils) '* | \ 3013 'mkdir (fileutils) '4.1*) 3014 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3015 break 3;; 3016 esac 3017 done 3018 done 3019 done 3020 IFS=$as_save_IFS 3021 3022 fi 3023 3024 test -d ./--version && rmdir ./--version 3025 if test "${ac_cv_path_mkdir+set}" = set; then 3026 MKDIR_P="$ac_cv_path_mkdir -p" 3027 else 3028 # As a last resort, use the slow shell script. Don't cache a 3029 # value for MKDIR_P within a source directory, because that will 3030 # break other packages using the cache if that directory is 3031 # removed, or if the value is a relative name. 3032 MKDIR_P="$ac_install_sh -d" 3033 fi 3034 fi 3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3036 $as_echo "$MKDIR_P" >&6; } 3037 3038 for ac_prog in gawk mawk nawk awk 3039 do 3040 # Extract the first word of "$ac_prog", so it can be a program name with args. 3041 set dummy $ac_prog; ac_word=$2 3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3043 $as_echo_n "checking for $ac_word... " >&6; } 3044 if ${ac_cv_prog_AWK+:} false; then : 3045 $as_echo_n "(cached) " >&6 3046 else 3047 if test -n "$AWK"; then 3048 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3049 else 3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3051 for as_dir in $PATH 3052 do 3053 IFS=$as_save_IFS 3054 test -z "$as_dir" && as_dir=. 3055 for ac_exec_ext in '' $ac_executable_extensions; do 3056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3057 ac_cv_prog_AWK="$ac_prog" 3058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3059 break 2 3060 fi 3061 done 3062 done 3063 IFS=$as_save_IFS 3064 3065 fi 3066 fi 3067 AWK=$ac_cv_prog_AWK 3068 if test -n "$AWK"; then 3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3070 $as_echo "$AWK" >&6; } 3071 else 3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3073 $as_echo "no" >&6; } 3074 fi 3075 3076 3077 test -n "$AWK" && break 3078 done 3079 3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3081 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3082 set x ${MAKE-make} 3083 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3084 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3085 $as_echo_n "(cached) " >&6 3086 else 3087 cat >conftest.make <<\_ACEOF 3088 SHELL = /bin/sh 3089 all: 3090 @echo '@@@%%%=$(MAKE)=@@@%%%' 3091 _ACEOF 3092 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3093 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3094 *@@@%%%=?*=@@@%%%*) 3095 eval ac_cv_prog_make_${ac_make}_set=yes;; 3096 *) 3097 eval ac_cv_prog_make_${ac_make}_set=no;; 3098 esac 3099 rm -f conftest.make 3100 fi 3101 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3103 $as_echo "yes" >&6; } 3104 SET_MAKE= 3105 else 3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3107 $as_echo "no" >&6; } 3108 SET_MAKE="MAKE=${MAKE-make}" 3109 fi 3110 3111 rm -rf .tst 2>/dev/null 3112 mkdir .tst 2>/dev/null 3113 if test -d .tst; then 3114 am__leading_dot=. 3115 else 3116 am__leading_dot=_ 3117 fi 3118 rmdir .tst 2>/dev/null 3119 3120 # Check whether --enable-silent-rules was given. 3121 if test "${enable_silent_rules+set}" = set; then : 3122 enableval=$enable_silent_rules; 3123 fi 3124 3125 case $enable_silent_rules in # ((( 3126 yes) AM_DEFAULT_VERBOSITY=0;; 3127 no) AM_DEFAULT_VERBOSITY=1;; 3128 *) AM_DEFAULT_VERBOSITY=1;; 3129 esac 3130 am_make=${MAKE-make} 3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3132 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3133 if ${am_cv_make_support_nested_variables+:} false; then : 3134 $as_echo_n "(cached) " >&6 3135 else 3136 if $as_echo 'TRUE=$(BAR$(V)) 3137 BAR0=false 3138 BAR1=true 3139 V=1 3140 am__doit: 3141 @$(TRUE) 3142 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3143 am_cv_make_support_nested_variables=yes 3144 else 3145 am_cv_make_support_nested_variables=no 3146 fi 3147 fi 3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3149 $as_echo "$am_cv_make_support_nested_variables" >&6; } 3150 if test $am_cv_make_support_nested_variables = yes; then 3151 AM_V='$(V)' 3152 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3153 else 3154 AM_V=$AM_DEFAULT_VERBOSITY 3155 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3156 fi 3157 AM_BACKSLASH='\' 3158 3159 if test "`cd $srcdir && pwd`" != "`pwd`"; then 3160 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3161 # is not polluted with repeated "-I." 3162 am__isrc=' -I$(srcdir)' 3163 # test to see if srcdir already configured 3164 if test -f $srcdir/config.status; then 3165 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3166 fi 3167 fi 3168 3169 # test whether we have cygpath 3170 if test -z "$CYGPATH_W"; then 3171 if (cygpath --version) >/dev/null 2>/dev/null; then 3172 CYGPATH_W='cygpath -w' 3173 else 3174 CYGPATH_W=echo 3175 fi 3176 fi 3177 3178 3179 # Define the identity of the package. 3180 PACKAGE='strace' 3181 VERSION='4.25' 3182 3183 3184 cat >>confdefs.h <<_ACEOF 3185 #define PACKAGE "$PACKAGE" 3186 _ACEOF 3187 3188 3189 cat >>confdefs.h <<_ACEOF 3190 #define VERSION "$VERSION" 3191 _ACEOF 3192 3193 # Some tools Automake needs. 3194 3195 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3196 3197 3198 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3199 3200 3201 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3202 3203 3204 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3205 3206 3207 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3208 3209 # For better backward compatibility. To be removed once Automake 1.9.x 3210 # dies out for good. For more background, see: 3211 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3212 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3213 mkdir_p='$(MKDIR_P)' 3214 3215 # We need awk for the "check" target. The system "awk" is bad on 3216 # some platforms. 3217 # Always define AMTAR for backward compatibility. Yes, it's still used 3218 # in the wild :-( We should find a proper way to deprecate it ... 3219 AMTAR='$${TAR-tar}' 3220 3221 3222 # We'll loop over all known methods to create a tar archive until one works. 3223 _am_tools='gnutar pax cpio none' 3224 3225 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3226 3227 3228 3229 3230 3231 3232 # POSIX will say in a future version that running "rm -f" with no argument 3233 # is OK; and we want to be able to make that assumption in our Makefile 3234 # recipes. So use an aggressive probe to check that the usage we want is 3235 # actually supported "in the wild" to an acceptable degree. 3236 # See automake bug#10828. 3237 # To make any issue more visible, cause the running configure to be aborted 3238 # by default if the 'rm' program in use doesn't match our expectations; the 3239 # user can still override this though. 3240 if rm -f && rm -fr && rm -rf; then : OK; else 3241 cat >&2 <<'END' 3242 Oops! 3243 3244 Your 'rm' program seems unable to run without file operands specified 3245 on the command line, even when the '-f' option is present. This is contrary 3246 to the behaviour of most rm programs out there, and not conforming with 3247 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3248 3249 Please tell bug-automake@gnu.org about your system, including the value 3250 of your $PATH and any error possibly output before this message. This 3251 can help us improve future automake versions. 3252 3253 END 3254 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3255 echo 'Configuration will proceed anyway, since you have set the' >&2 3256 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3257 echo >&2 3258 else 3259 cat >&2 <<'END' 3260 Aborting the configuration process, to ensure you take notice of the issue. 3261 3262 You can download and install GNU coreutils to get an 'rm' implementation 3263 that behaves properly: <http://www.gnu.org/software/coreutils/>. 3264 3265 If you want to complete the configuration process using your problematic 3266 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3267 to "yes", and re-run configure. 3268 3269 END 3270 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3271 fi 3272 fi 3273 3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3275 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3276 # Check whether --enable-maintainer-mode was given. 3277 if test "${enable_maintainer_mode+set}" = set; then : 3278 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3279 else 3280 USE_MAINTAINER_MODE=no 3281 fi 3282 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3284 $as_echo "$USE_MAINTAINER_MODE" >&6; } 3285 if test $USE_MAINTAINER_MODE = yes; then 3286 MAINTAINER_MODE_TRUE= 3287 MAINTAINER_MODE_FALSE='#' 3288 else 3289 MAINTAINER_MODE_TRUE='#' 3290 MAINTAINER_MODE_FALSE= 3291 fi 3292 3293 MAINT=$MAINTAINER_MODE_TRUE 3294 3295 3296 # Make sure we can run config.sub. 3297 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3298 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3299 3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3301 $as_echo_n "checking build system type... " >&6; } 3302 if ${ac_cv_build+:} false; then : 3303 $as_echo_n "(cached) " >&6 3304 else 3305 ac_build_alias=$build_alias 3306 test "x$ac_build_alias" = x && 3307 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3308 test "x$ac_build_alias" = x && 3309 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3310 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3311 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3312 3313 fi 3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3315 $as_echo "$ac_cv_build" >&6; } 3316 case $ac_cv_build in 3317 *-*-*) ;; 3318 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3319 esac 3320 build=$ac_cv_build 3321 ac_save_IFS=$IFS; IFS='-' 3322 set x $ac_cv_build 3323 shift 3324 build_cpu=$1 3325 build_vendor=$2 3326 shift; shift 3327 # Remember, the first character of IFS is used to create $*, 3328 # except with old shells: 3329 build_os=$* 3330 IFS=$ac_save_IFS 3331 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3332 3333 3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3335 $as_echo_n "checking host system type... " >&6; } 3336 if ${ac_cv_host+:} false; then : 3337 $as_echo_n "(cached) " >&6 3338 else 3339 if test "x$host_alias" = x; then 3340 ac_cv_host=$ac_cv_build 3341 else 3342 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3343 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3344 fi 3345 3346 fi 3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3348 $as_echo "$ac_cv_host" >&6; } 3349 case $ac_cv_host in 3350 *-*-*) ;; 3351 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3352 esac 3353 host=$ac_cv_host 3354 ac_save_IFS=$IFS; IFS='-' 3355 set x $ac_cv_host 3356 shift 3357 host_cpu=$1 3358 host_vendor=$2 3359 shift; shift 3360 # Remember, the first character of IFS is used to create $*, 3361 # except with old shells: 3362 host_os=$* 3363 IFS=$ac_save_IFS 3364 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3365 3366 3367 3368 RPM_CHANGELOGTIME="$(LC_TIME=C date -u '+%a %b %d %Y')" 3369 3370 DEB_CHANGELOGTIME="$(LC_TIME=C date -u -R)" 3371 3372 3373 ac_ext=c 3374 ac_cpp='$CPP $CPPFLAGS' 3375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3377 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3378 if test -n "$ac_tool_prefix"; then 3379 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3380 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3382 $as_echo_n "checking for $ac_word... " >&6; } 3383 if ${ac_cv_prog_CC+:} false; then : 3384 $as_echo_n "(cached) " >&6 3385 else 3386 if test -n "$CC"; then 3387 ac_cv_prog_CC="$CC" # Let the user override the test. 3388 else 3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3390 for as_dir in $PATH 3391 do 3392 IFS=$as_save_IFS 3393 test -z "$as_dir" && as_dir=. 3394 for ac_exec_ext in '' $ac_executable_extensions; do 3395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3396 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3398 break 2 3399 fi 3400 done 3401 done 3402 IFS=$as_save_IFS 3403 3404 fi 3405 fi 3406 CC=$ac_cv_prog_CC 3407 if test -n "$CC"; then 3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3409 $as_echo "$CC" >&6; } 3410 else 3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3412 $as_echo "no" >&6; } 3413 fi 3414 3415 3416 fi 3417 if test -z "$ac_cv_prog_CC"; then 3418 ac_ct_CC=$CC 3419 # Extract the first word of "gcc", so it can be a program name with args. 3420 set dummy gcc; ac_word=$2 3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3422 $as_echo_n "checking for $ac_word... " >&6; } 3423 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3424 $as_echo_n "(cached) " >&6 3425 else 3426 if test -n "$ac_ct_CC"; then 3427 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3428 else 3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3430 for as_dir in $PATH 3431 do 3432 IFS=$as_save_IFS 3433 test -z "$as_dir" && as_dir=. 3434 for ac_exec_ext in '' $ac_executable_extensions; do 3435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3436 ac_cv_prog_ac_ct_CC="gcc" 3437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3438 break 2 3439 fi 3440 done 3441 done 3442 IFS=$as_save_IFS 3443 3444 fi 3445 fi 3446 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3447 if test -n "$ac_ct_CC"; then 3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3449 $as_echo "$ac_ct_CC" >&6; } 3450 else 3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3452 $as_echo "no" >&6; } 3453 fi 3454 3455 if test "x$ac_ct_CC" = x; then 3456 CC="" 3457 else 3458 case $cross_compiling:$ac_tool_warned in 3459 yes:) 3460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3462 ac_tool_warned=yes ;; 3463 esac 3464 CC=$ac_ct_CC 3465 fi 3466 else 3467 CC="$ac_cv_prog_CC" 3468 fi 3469 3470 if test -z "$CC"; then 3471 if test -n "$ac_tool_prefix"; then 3472 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3473 set dummy ${ac_tool_prefix}cc; ac_word=$2 3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3475 $as_echo_n "checking for $ac_word... " >&6; } 3476 if ${ac_cv_prog_CC+:} false; then : 3477 $as_echo_n "(cached) " >&6 3478 else 3479 if test -n "$CC"; then 3480 ac_cv_prog_CC="$CC" # Let the user override the test. 3481 else 3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3483 for as_dir in $PATH 3484 do 3485 IFS=$as_save_IFS 3486 test -z "$as_dir" && as_dir=. 3487 for ac_exec_ext in '' $ac_executable_extensions; do 3488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3489 ac_cv_prog_CC="${ac_tool_prefix}cc" 3490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3491 break 2 3492 fi 3493 done 3494 done 3495 IFS=$as_save_IFS 3496 3497 fi 3498 fi 3499 CC=$ac_cv_prog_CC 3500 if test -n "$CC"; then 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3502 $as_echo "$CC" >&6; } 3503 else 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3505 $as_echo "no" >&6; } 3506 fi 3507 3508 3509 fi 3510 fi 3511 if test -z "$CC"; then 3512 # Extract the first word of "cc", so it can be a program name with args. 3513 set dummy cc; ac_word=$2 3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3515 $as_echo_n "checking for $ac_word... " >&6; } 3516 if ${ac_cv_prog_CC+:} false; then : 3517 $as_echo_n "(cached) " >&6 3518 else 3519 if test -n "$CC"; then 3520 ac_cv_prog_CC="$CC" # Let the user override the test. 3521 else 3522 ac_prog_rejected=no 3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3524 for as_dir in $PATH 3525 do 3526 IFS=$as_save_IFS 3527 test -z "$as_dir" && as_dir=. 3528 for ac_exec_ext in '' $ac_executable_extensions; do 3529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3530 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3531 ac_prog_rejected=yes 3532 continue 3533 fi 3534 ac_cv_prog_CC="cc" 3535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3536 break 2 3537 fi 3538 done 3539 done 3540 IFS=$as_save_IFS 3541 3542 if test $ac_prog_rejected = yes; then 3543 # We found a bogon in the path, so make sure we never use it. 3544 set dummy $ac_cv_prog_CC 3545 shift 3546 if test $# != 0; then 3547 # We chose a different compiler from the bogus one. 3548 # However, it has the same basename, so the bogon will be chosen 3549 # first if we set CC to just the basename; use the full file name. 3550 shift 3551 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3552 fi 3553 fi 3554 fi 3555 fi 3556 CC=$ac_cv_prog_CC 3557 if test -n "$CC"; then 3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3559 $as_echo "$CC" >&6; } 3560 else 3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3562 $as_echo "no" >&6; } 3563 fi 3564 3565 3566 fi 3567 if test -z "$CC"; then 3568 if test -n "$ac_tool_prefix"; then 3569 for ac_prog in cl.exe 3570 do 3571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3572 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3574 $as_echo_n "checking for $ac_word... " >&6; } 3575 if ${ac_cv_prog_CC+:} false; then : 3576 $as_echo_n "(cached) " >&6 3577 else 3578 if test -n "$CC"; then 3579 ac_cv_prog_CC="$CC" # Let the user override the test. 3580 else 3581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3582 for as_dir in $PATH 3583 do 3584 IFS=$as_save_IFS 3585 test -z "$as_dir" && as_dir=. 3586 for ac_exec_ext in '' $ac_executable_extensions; do 3587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3588 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3590 break 2 3591 fi 3592 done 3593 done 3594 IFS=$as_save_IFS 3595 3596 fi 3597 fi 3598 CC=$ac_cv_prog_CC 3599 if test -n "$CC"; then 3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3601 $as_echo "$CC" >&6; } 3602 else 3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3604 $as_echo "no" >&6; } 3605 fi 3606 3607 3608 test -n "$CC" && break 3609 done 3610 fi 3611 if test -z "$CC"; then 3612 ac_ct_CC=$CC 3613 for ac_prog in cl.exe 3614 do 3615 # Extract the first word of "$ac_prog", so it can be a program name with args. 3616 set dummy $ac_prog; ac_word=$2 3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3618 $as_echo_n "checking for $ac_word... " >&6; } 3619 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3620 $as_echo_n "(cached) " >&6 3621 else 3622 if test -n "$ac_ct_CC"; then 3623 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3624 else 3625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3626 for as_dir in $PATH 3627 do 3628 IFS=$as_save_IFS 3629 test -z "$as_dir" && as_dir=. 3630 for ac_exec_ext in '' $ac_executable_extensions; do 3631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3632 ac_cv_prog_ac_ct_CC="$ac_prog" 3633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3634 break 2 3635 fi 3636 done 3637 done 3638 IFS=$as_save_IFS 3639 3640 fi 3641 fi 3642 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3643 if test -n "$ac_ct_CC"; then 3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3645 $as_echo "$ac_ct_CC" >&6; } 3646 else 3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3648 $as_echo "no" >&6; } 3649 fi 3650 3651 3652 test -n "$ac_ct_CC" && break 3653 done 3654 3655 if test "x$ac_ct_CC" = x; then 3656 CC="" 3657 else 3658 case $cross_compiling:$ac_tool_warned in 3659 yes:) 3660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3662 ac_tool_warned=yes ;; 3663 esac 3664 CC=$ac_ct_CC 3665 fi 3666 fi 3667 3668 fi 3669 3670 3671 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3673 as_fn_error $? "no acceptable C compiler found in \$PATH 3674 See \`config.log' for more details" "$LINENO" 5; } 3675 3676 # Provide some information about the compiler. 3677 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3678 set X $ac_compile 3679 ac_compiler=$2 3680 for ac_option in --version -v -V -qversion; do 3681 { { ac_try="$ac_compiler $ac_option >&5" 3682 case "(($ac_try" in 3683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3684 *) ac_try_echo=$ac_try;; 3685 esac 3686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3687 $as_echo "$ac_try_echo"; } >&5 3688 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3689 ac_status=$? 3690 if test -s conftest.err; then 3691 sed '10a\ 3692 ... rest of stderr output deleted ... 3693 10q' conftest.err >conftest.er1 3694 cat conftest.er1 >&5 3695 fi 3696 rm -f conftest.er1 conftest.err 3697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3698 test $ac_status = 0; } 3699 done 3700 3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3702 /* end confdefs.h. */ 3703 3704 int 3705 main () 3706 { 3707 3708 ; 3709 return 0; 3710 } 3711 _ACEOF 3712 ac_clean_files_save=$ac_clean_files 3713 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3714 # Try to create an executable without -o first, disregard a.out. 3715 # It will help us diagnose broken compilers, and finding out an intuition 3716 # of exeext. 3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3718 $as_echo_n "checking whether the C compiler works... " >&6; } 3719 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3720 3721 # The possible output files: 3722 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3723 3724 ac_rmfiles= 3725 for ac_file in $ac_files 3726 do 3727 case $ac_file in 3728 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3729 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3730 esac 3731 done 3732 rm -f $ac_rmfiles 3733 3734 if { { ac_try="$ac_link_default" 3735 case "(($ac_try" in 3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3737 *) ac_try_echo=$ac_try;; 3738 esac 3739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3740 $as_echo "$ac_try_echo"; } >&5 3741 (eval "$ac_link_default") 2>&5 3742 ac_status=$? 3743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3744 test $ac_status = 0; }; then : 3745 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3746 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3747 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3748 # so that the user can short-circuit this test for compilers unknown to 3749 # Autoconf. 3750 for ac_file in $ac_files '' 3751 do 3752 test -f "$ac_file" || continue 3753 case $ac_file in 3754 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3755 ;; 3756 [ab].out ) 3757 # We found the default executable, but exeext='' is most 3758 # certainly right. 3759 break;; 3760 *.* ) 3761 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3762 then :; else 3763 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3764 fi 3765 # We set ac_cv_exeext here because the later test for it is not 3766 # safe: cross compilers may not add the suffix if given an `-o' 3767 # argument, so we may need to know it at that point already. 3768 # Even if this section looks crufty: it has the advantage of 3769 # actually working. 3770 break;; 3771 * ) 3772 break;; 3773 esac 3774 done 3775 test "$ac_cv_exeext" = no && ac_cv_exeext= 3776 3777 else 3778 ac_file='' 3779 fi 3780 if test -z "$ac_file"; then : 3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3782 $as_echo "no" >&6; } 3783 $as_echo "$as_me: failed program was:" >&5 3784 sed 's/^/| /' conftest.$ac_ext >&5 3785 3786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3788 as_fn_error 77 "C compiler cannot create executables 3789 See \`config.log' for more details" "$LINENO" 5; } 3790 else 3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3792 $as_echo "yes" >&6; } 3793 fi 3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3795 $as_echo_n "checking for C compiler default output file name... " >&6; } 3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3797 $as_echo "$ac_file" >&6; } 3798 ac_exeext=$ac_cv_exeext 3799 3800 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3801 ac_clean_files=$ac_clean_files_save 3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3803 $as_echo_n "checking for suffix of executables... " >&6; } 3804 if { { ac_try="$ac_link" 3805 case "(($ac_try" in 3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3807 *) ac_try_echo=$ac_try;; 3808 esac 3809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3810 $as_echo "$ac_try_echo"; } >&5 3811 (eval "$ac_link") 2>&5 3812 ac_status=$? 3813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3814 test $ac_status = 0; }; then : 3815 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3816 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3817 # work properly (i.e., refer to `conftest.exe'), while it won't with 3818 # `rm'. 3819 for ac_file in conftest.exe conftest conftest.*; do 3820 test -f "$ac_file" || continue 3821 case $ac_file in 3822 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3823 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3824 break;; 3825 * ) break;; 3826 esac 3827 done 3828 else 3829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3831 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3832 See \`config.log' for more details" "$LINENO" 5; } 3833 fi 3834 rm -f conftest conftest$ac_cv_exeext 3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3836 $as_echo "$ac_cv_exeext" >&6; } 3837 3838 rm -f conftest.$ac_ext 3839 EXEEXT=$ac_cv_exeext 3840 ac_exeext=$EXEEXT 3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3842 /* end confdefs.h. */ 3843 #include <stdio.h> 3844 int 3845 main () 3846 { 3847 FILE *f = fopen ("conftest.out", "w"); 3848 return ferror (f) || fclose (f) != 0; 3849 3850 ; 3851 return 0; 3852 } 3853 _ACEOF 3854 ac_clean_files="$ac_clean_files conftest.out" 3855 # Check that the compiler produces executables we can run. If not, either 3856 # the compiler is broken, or we cross compile. 3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3858 $as_echo_n "checking whether we are cross compiling... " >&6; } 3859 if test "$cross_compiling" != yes; then 3860 { { ac_try="$ac_link" 3861 case "(($ac_try" in 3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3863 *) ac_try_echo=$ac_try;; 3864 esac 3865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3866 $as_echo "$ac_try_echo"; } >&5 3867 (eval "$ac_link") 2>&5 3868 ac_status=$? 3869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3870 test $ac_status = 0; } 3871 if { ac_try='./conftest$ac_cv_exeext' 3872 { { case "(($ac_try" in 3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3874 *) ac_try_echo=$ac_try;; 3875 esac 3876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3877 $as_echo "$ac_try_echo"; } >&5 3878 (eval "$ac_try") 2>&5 3879 ac_status=$? 3880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3881 test $ac_status = 0; }; }; then 3882 cross_compiling=no 3883 else 3884 if test "$cross_compiling" = maybe; then 3885 cross_compiling=yes 3886 else 3887 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3889 as_fn_error $? "cannot run C compiled programs. 3890 If you meant to cross compile, use \`--host'. 3891 See \`config.log' for more details" "$LINENO" 5; } 3892 fi 3893 fi 3894 fi 3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3896 $as_echo "$cross_compiling" >&6; } 3897 3898 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3899 ac_clean_files=$ac_clean_files_save 3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3901 $as_echo_n "checking for suffix of object files... " >&6; } 3902 if ${ac_cv_objext+:} false; then : 3903 $as_echo_n "(cached) " >&6 3904 else 3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3906 /* end confdefs.h. */ 3907 3908 int 3909 main () 3910 { 3911 3912 ; 3913 return 0; 3914 } 3915 _ACEOF 3916 rm -f conftest.o conftest.obj 3917 if { { ac_try="$ac_compile" 3918 case "(($ac_try" in 3919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3920 *) ac_try_echo=$ac_try;; 3921 esac 3922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3923 $as_echo "$ac_try_echo"; } >&5 3924 (eval "$ac_compile") 2>&5 3925 ac_status=$? 3926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3927 test $ac_status = 0; }; then : 3928 for ac_file in conftest.o conftest.obj conftest.*; do 3929 test -f "$ac_file" || continue; 3930 case $ac_file in 3931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3932 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3933 break;; 3934 esac 3935 done 3936 else 3937 $as_echo "$as_me: failed program was:" >&5 3938 sed 's/^/| /' conftest.$ac_ext >&5 3939 3940 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3942 as_fn_error $? "cannot compute suffix of object files: cannot compile 3943 See \`config.log' for more details" "$LINENO" 5; } 3944 fi 3945 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3946 fi 3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3948 $as_echo "$ac_cv_objext" >&6; } 3949 OBJEXT=$ac_cv_objext 3950 ac_objext=$OBJEXT 3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3952 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3953 if ${ac_cv_c_compiler_gnu+:} false; then : 3954 $as_echo_n "(cached) " >&6 3955 else 3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3957 /* end confdefs.h. */ 3958 3959 int 3960 main () 3961 { 3962 #ifndef __GNUC__ 3963 choke me 3964 #endif 3965 3966 ; 3967 return 0; 3968 } 3969 _ACEOF 3970 if ac_fn_c_try_compile "$LINENO"; then : 3971 ac_compiler_gnu=yes 3972 else 3973 ac_compiler_gnu=no 3974 fi 3975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3976 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3977 3978 fi 3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3980 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3981 if test $ac_compiler_gnu = yes; then 3982 GCC=yes 3983 else 3984 GCC= 3985 fi 3986 ac_test_CFLAGS=${CFLAGS+set} 3987 ac_save_CFLAGS=$CFLAGS 3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3989 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3990 if ${ac_cv_prog_cc_g+:} false; then : 3991 $as_echo_n "(cached) " >&6 3992 else 3993 ac_save_c_werror_flag=$ac_c_werror_flag 3994 ac_c_werror_flag=yes 3995 ac_cv_prog_cc_g=no 3996 CFLAGS="-g" 3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3998 /* end confdefs.h. */ 3999 4000 int 4001 main () 4002 { 4003 4004 ; 4005 return 0; 4006 } 4007 _ACEOF 4008 if ac_fn_c_try_compile "$LINENO"; then : 4009 ac_cv_prog_cc_g=yes 4010 else 4011 CFLAGS="" 4012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4013 /* end confdefs.h. */ 4014 4015 int 4016 main () 4017 { 4018 4019 ; 4020 return 0; 4021 } 4022 _ACEOF 4023 if ac_fn_c_try_compile "$LINENO"; then : 4024 4025 else 4026 ac_c_werror_flag=$ac_save_c_werror_flag 4027 CFLAGS="-g" 4028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4029 /* end confdefs.h. */ 4030 4031 int 4032 main () 4033 { 4034 4035 ; 4036 return 0; 4037 } 4038 _ACEOF 4039 if ac_fn_c_try_compile "$LINENO"; then : 4040 ac_cv_prog_cc_g=yes 4041 fi 4042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4043 fi 4044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4045 fi 4046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4047 ac_c_werror_flag=$ac_save_c_werror_flag 4048 fi 4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4050 $as_echo "$ac_cv_prog_cc_g" >&6; } 4051 if test "$ac_test_CFLAGS" = set; then 4052 CFLAGS=$ac_save_CFLAGS 4053 elif test $ac_cv_prog_cc_g = yes; then 4054 if test "$GCC" = yes; then 4055 CFLAGS="-g -O2" 4056 else 4057 CFLAGS="-g" 4058 fi 4059 else 4060 if test "$GCC" = yes; then 4061 CFLAGS="-O2" 4062 else 4063 CFLAGS= 4064 fi 4065 fi 4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4067 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4068 if ${ac_cv_prog_cc_c89+:} false; then : 4069 $as_echo_n "(cached) " >&6 4070 else 4071 ac_cv_prog_cc_c89=no 4072 ac_save_CC=$CC 4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4074 /* end confdefs.h. */ 4075 #include <stdarg.h> 4076 #include <stdio.h> 4077 struct stat; 4078 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4079 struct buf { int x; }; 4080 FILE * (*rcsopen) (struct buf *, struct stat *, int); 4081 static char *e (p, i) 4082 char **p; 4083 int i; 4084 { 4085 return p[i]; 4086 } 4087 static char *f (char * (*g) (char **, int), char **p, ...) 4088 { 4089 char *s; 4090 va_list v; 4091 va_start (v,p); 4092 s = g (p, va_arg (v,int)); 4093 va_end (v); 4094 return s; 4095 } 4096 4097 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4098 function prototypes and stuff, but not '\xHH' hex character constants. 4099 These don't provoke an error unfortunately, instead are silently treated 4100 as 'x'. The following induces an error, until -std is added to get 4101 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4102 array size at least. It's necessary to write '\x00'==0 to get something 4103 that's true only with -std. */ 4104 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4105 4106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4107 inside strings and character constants. */ 4108 #define FOO(x) 'x' 4109 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4110 4111 int test (int i, double x); 4112 struct s1 {int (*f) (int a);}; 4113 struct s2 {int (*f) (double a);}; 4114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4115 int argc; 4116 char **argv; 4117 int 4118 main () 4119 { 4120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4121 ; 4122 return 0; 4123 } 4124 _ACEOF 4125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4126 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4127 do 4128 CC="$ac_save_CC $ac_arg" 4129 if ac_fn_c_try_compile "$LINENO"; then : 4130 ac_cv_prog_cc_c89=$ac_arg 4131 fi 4132 rm -f core conftest.err conftest.$ac_objext 4133 test "x$ac_cv_prog_cc_c89" != "xno" && break 4134 done 4135 rm -f conftest.$ac_ext 4136 CC=$ac_save_CC 4137 4138 fi 4139 # AC_CACHE_VAL 4140 case "x$ac_cv_prog_cc_c89" in 4141 x) 4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4143 $as_echo "none needed" >&6; } ;; 4144 xno) 4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4146 $as_echo "unsupported" >&6; } ;; 4147 *) 4148 CC="$CC $ac_cv_prog_cc_c89" 4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4150 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4151 esac 4152 if test "x$ac_cv_prog_cc_c89" != xno; then : 4153 4154 fi 4155 4156 ac_ext=c 4157 ac_cpp='$CPP $CPPFLAGS' 4158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4160 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4161 4162 ac_ext=c 4163 ac_cpp='$CPP $CPPFLAGS' 4164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4166 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4168 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4169 if ${am_cv_prog_cc_c_o+:} false; then : 4170 $as_echo_n "(cached) " >&6 4171 else 4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4173 /* end confdefs.h. */ 4174 4175 int 4176 main () 4177 { 4178 4179 ; 4180 return 0; 4181 } 4182 _ACEOF 4183 # Make sure it works both with $CC and with simple cc. 4184 # Following AC_PROG_CC_C_O, we do the test twice because some 4185 # compilers refuse to overwrite an existing .o file with -o, 4186 # though they will create one. 4187 am_cv_prog_cc_c_o=yes 4188 for am_i in 1 2; do 4189 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4190 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4191 ac_status=$? 4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4193 (exit $ac_status); } \ 4194 && test -f conftest2.$ac_objext; then 4195 : OK 4196 else 4197 am_cv_prog_cc_c_o=no 4198 break 4199 fi 4200 done 4201 rm -f core conftest* 4202 unset am_i 4203 fi 4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4205 $as_echo "$am_cv_prog_cc_c_o" >&6; } 4206 if test "$am_cv_prog_cc_c_o" != yes; then 4207 # Losing compiler, so override with the script. 4208 # FIXME: It is wrong to rewrite CC. 4209 # But if we don't then we get into trouble of one sort or another. 4210 # A longer-term fix would be to have automake use am__CC in this case, 4211 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4212 CC="$am_aux_dir/compile $CC" 4213 fi 4214 ac_ext=c 4215 ac_cpp='$CPP $CPPFLAGS' 4216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4218 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4219 4220 DEPDIR="${am__leading_dot}deps" 4221 4222 ac_config_commands="$ac_config_commands depfiles" 4223 4224 4225 am_make=${MAKE-make} 4226 cat > confinc << 'END' 4227 am__doit: 4228 @echo this is the am__doit target 4229 .PHONY: am__doit 4230 END 4231 # If we don't find an include directive, just comment out the code. 4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4233 $as_echo_n "checking for style of include used by $am_make... " >&6; } 4234 am__include="#" 4235 am__quote= 4236 _am_result=none 4237 # First try GNU make style include. 4238 echo "include confinc" > confmf 4239 # Ignore all kinds of additional output from 'make'. 4240 case `$am_make -s -f confmf 2> /dev/null` in #( 4241 *the\ am__doit\ target*) 4242 am__include=include 4243 am__quote= 4244 _am_result=GNU 4245 ;; 4246 esac 4247 # Now try BSD make style include. 4248 if test "$am__include" = "#"; then 4249 echo '.include "confinc"' > confmf 4250 case `$am_make -s -f confmf 2> /dev/null` in #( 4251 *the\ am__doit\ target*) 4252 am__include=.include 4253 am__quote="\"" 4254 _am_result=BSD 4255 ;; 4256 esac 4257 fi 4258 4259 4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4261 $as_echo "$_am_result" >&6; } 4262 rm -f confinc confmf 4263 4264 # Check whether --enable-dependency-tracking was given. 4265 if test "${enable_dependency_tracking+set}" = set; then : 4266 enableval=$enable_dependency_tracking; 4267 fi 4268 4269 if test "x$enable_dependency_tracking" != xno; then 4270 am_depcomp="$ac_aux_dir/depcomp" 4271 AMDEPBACKSLASH='\' 4272 am__nodep='_no' 4273 fi 4274 if test "x$enable_dependency_tracking" != xno; then 4275 AMDEP_TRUE= 4276 AMDEP_FALSE='#' 4277 else 4278 AMDEP_TRUE='#' 4279 AMDEP_FALSE= 4280 fi 4281 4282 4283 4284 depcc="$CC" am_compiler_list= 4285 4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4287 $as_echo_n "checking dependency style of $depcc... " >&6; } 4288 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4289 $as_echo_n "(cached) " >&6 4290 else 4291 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4292 # We make a subdir and do the tests there. Otherwise we can end up 4293 # making bogus files that we don't know about and never remove. For 4294 # instance it was reported that on HP-UX the gcc test will end up 4295 # making a dummy file named 'D' -- because '-MD' means "put the output 4296 # in D". 4297 rm -rf conftest.dir 4298 mkdir conftest.dir 4299 # Copy depcomp to subdir because otherwise we won't find it if we're 4300 # using a relative directory. 4301 cp "$am_depcomp" conftest.dir 4302 cd conftest.dir 4303 # We will build objects and dependencies in a subdirectory because 4304 # it helps to detect inapplicable dependency modes. For instance 4305 # both Tru64's cc and ICC support -MD to output dependencies as a 4306 # side effect of compilation, but ICC will put the dependencies in 4307 # the current directory while Tru64 will put them in the object 4308 # directory. 4309 mkdir sub 4310 4311 am_cv_CC_dependencies_compiler_type=none 4312 if test "$am_compiler_list" = ""; then 4313 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4314 fi 4315 am__universal=false 4316 case " $depcc " in #( 4317 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4318 esac 4319 4320 for depmode in $am_compiler_list; do 4321 # Setup a source with many dependencies, because some compilers 4322 # like to wrap large dependency lists on column 80 (with \), and 4323 # we should not choose a depcomp mode which is confused by this. 4324 # 4325 # We need to recreate these files for each test, as the compiler may 4326 # overwrite some of them when testing with obscure command lines. 4327 # This happens at least with the AIX C compiler. 4328 : > sub/conftest.c 4329 for i in 1 2 3 4 5 6; do 4330 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4331 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4332 # Solaris 10 /bin/sh. 4333 echo '/* dummy */' > sub/conftst$i.h 4334 done 4335 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4336 4337 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4338 # mode. It turns out that the SunPro C++ compiler does not properly 4339 # handle '-M -o', and we need to detect this. Also, some Intel 4340 # versions had trouble with output in subdirs. 4341 am__obj=sub/conftest.${OBJEXT-o} 4342 am__minus_obj="-o $am__obj" 4343 case $depmode in 4344 gcc) 4345 # This depmode causes a compiler race in universal mode. 4346 test "$am__universal" = false || continue 4347 ;; 4348 nosideeffect) 4349 # After this tag, mechanisms are not by side-effect, so they'll 4350 # only be used when explicitly requested. 4351 if test "x$enable_dependency_tracking" = xyes; then 4352 continue 4353 else 4354 break 4355 fi 4356 ;; 4357 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4358 # This compiler won't grok '-c -o', but also, the minuso test has 4359 # not run yet. These depmodes are late enough in the game, and 4360 # so weak that their functioning should not be impacted. 4361 am__obj=conftest.${OBJEXT-o} 4362 am__minus_obj= 4363 ;; 4364 none) break ;; 4365 esac 4366 if depmode=$depmode \ 4367 source=sub/conftest.c object=$am__obj \ 4368 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4369 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4370 >/dev/null 2>conftest.err && 4371 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4372 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4373 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4374 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4375 # icc doesn't choke on unknown options, it will just issue warnings 4376 # or remarks (even with -Werror). So we grep stderr for any message 4377 # that says an option was ignored or not supported. 4378 # When given -MP, icc 7.0 and 7.1 complain thusly: 4379 # icc: Command line warning: ignoring option '-M'; no argument required 4380 # The diagnosis changed in icc 8.0: 4381 # icc: Command line remark: option '-MP' not supported 4382 if (grep 'ignoring option' conftest.err || 4383 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4384 am_cv_CC_dependencies_compiler_type=$depmode 4385 break 4386 fi 4387 fi 4388 done 4389 4390 cd .. 4391 rm -rf conftest.dir 4392 else 4393 am_cv_CC_dependencies_compiler_type=none 4394 fi 4395 4396 fi 4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4398 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4399 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4400 4401 if 4402 test "x$enable_dependency_tracking" != xno \ 4403 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4404 am__fastdepCC_TRUE= 4405 am__fastdepCC_FALSE='#' 4406 else 4407 am__fastdepCC_TRUE='#' 4408 am__fastdepCC_FALSE= 4409 fi 4410 4411 4412 case $ac_cv_prog_cc_stdc in #( 4413 no) : 4414 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( 4415 *) : 4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 4417 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4418 if ${ac_cv_prog_cc_c99+:} false; then : 4419 $as_echo_n "(cached) " >&6 4420 else 4421 ac_cv_prog_cc_c99=no 4422 ac_save_CC=$CC 4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4424 /* end confdefs.h. */ 4425 #include <stdarg.h> 4426 #include <stdbool.h> 4427 #include <stdlib.h> 4428 #include <wchar.h> 4429 #include <stdio.h> 4430 4431 // Check varargs macros. These examples are taken from C99 6.10.3.5. 4432 #define debug(...) fprintf (stderr, __VA_ARGS__) 4433 #define showlist(...) puts (#__VA_ARGS__) 4434 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4435 static void 4436 test_varargs_macros (void) 4437 { 4438 int x = 1234; 4439 int y = 5678; 4440 debug ("Flag"); 4441 debug ("X = %d\n", x); 4442 showlist (The first, second, and third items.); 4443 report (x>y, "x is %d but y is %d", x, y); 4444 } 4445 4446 // Check long long types. 4447 #define BIG64 18446744073709551615ull 4448 #define BIG32 4294967295ul 4449 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4450 #if !BIG_OK 4451 your preprocessor is broken; 4452 #endif 4453 #if BIG_OK 4454 #else 4455 your preprocessor is broken; 4456 #endif 4457 static long long int bignum = -9223372036854775807LL; 4458 static unsigned long long int ubignum = BIG64; 4459 4460 struct incomplete_array 4461 { 4462 int datasize; 4463 double data[]; 4464 }; 4465 4466 struct named_init { 4467 int number; 4468 const wchar_t *name; 4469 double average; 4470 }; 4471 4472 typedef const char *ccp; 4473 4474 static inline int 4475 test_restrict (ccp restrict text) 4476 { 4477 // See if C++-style comments work. 4478 // Iterate through items via the restricted pointer. 4479 // Also check for declarations in for loops. 4480 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4481 continue; 4482 return 0; 4483 } 4484 4485 // Check varargs and va_copy. 4486 static void 4487 test_varargs (const char *format, ...) 4488 { 4489 va_list args; 4490 va_start (args, format); 4491 va_list args_copy; 4492 va_copy (args_copy, args); 4493 4494 const char *str; 4495 int number; 4496 float fnumber; 4497 4498 while (*format) 4499 { 4500 switch (*format++) 4501 { 4502 case 's': // string 4503 str = va_arg (args_copy, const char *); 4504 break; 4505 case 'd': // int 4506 number = va_arg (args_copy, int); 4507 break; 4508 case 'f': // float 4509 fnumber = va_arg (args_copy, double); 4510 break; 4511 default: 4512 break; 4513 } 4514 } 4515 va_end (args_copy); 4516 va_end (args); 4517 } 4518 4519 int 4520 main () 4521 { 4522 4523 // Check bool. 4524 _Bool success = false; 4525 4526 // Check restrict. 4527 if (test_restrict ("String literal") == 0) 4528 success = true; 4529 char *restrict newvar = "Another string"; 4530 4531 // Check varargs. 4532 test_varargs ("s, d' f .", "string", 65, 34.234); 4533 test_varargs_macros (); 4534 4535 // Check flexible array members. 4536 struct incomplete_array *ia = 4537 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4538 ia->datasize = 10; 4539 for (int i = 0; i < ia->datasize; ++i) 4540 ia->data[i] = i * 1.234; 4541 4542 // Check named initializers. 4543 struct named_init ni = { 4544 .number = 34, 4545 .name = L"Test wide string", 4546 .average = 543.34343, 4547 }; 4548 4549 ni.number = 58; 4550 4551 int dynamic_array[ni.number]; 4552 dynamic_array[ni.number - 1] = 543; 4553 4554 // work around unused variable warnings 4555 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4556 || dynamic_array[ni.number - 1] != 543); 4557 4558 ; 4559 return 0; 4560 } 4561 _ACEOF 4562 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 4563 do 4564 CC="$ac_save_CC $ac_arg" 4565 if ac_fn_c_try_compile "$LINENO"; then : 4566 ac_cv_prog_cc_c99=$ac_arg 4567 fi 4568 rm -f core conftest.err conftest.$ac_objext 4569 test "x$ac_cv_prog_cc_c99" != "xno" && break 4570 done 4571 rm -f conftest.$ac_ext 4572 CC=$ac_save_CC 4573 4574 fi 4575 # AC_CACHE_VAL 4576 case "x$ac_cv_prog_cc_c99" in 4577 x) 4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4579 $as_echo "none needed" >&6; } ;; 4580 xno) 4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4582 $as_echo "unsupported" >&6; } ;; 4583 *) 4584 CC="$CC $ac_cv_prog_cc_c99" 4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4586 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4587 esac 4588 if test "x$ac_cv_prog_cc_c99" != xno; then : 4589 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4590 else 4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4592 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4593 if ${ac_cv_prog_cc_c89+:} false; then : 4594 $as_echo_n "(cached) " >&6 4595 else 4596 ac_cv_prog_cc_c89=no 4597 ac_save_CC=$CC 4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4599 /* end confdefs.h. */ 4600 #include <stdarg.h> 4601 #include <stdio.h> 4602 struct stat; 4603 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4604 struct buf { int x; }; 4605 FILE * (*rcsopen) (struct buf *, struct stat *, int); 4606 static char *e (p, i) 4607 char **p; 4608 int i; 4609 { 4610 return p[i]; 4611 } 4612 static char *f (char * (*g) (char **, int), char **p, ...) 4613 { 4614 char *s; 4615 va_list v; 4616 va_start (v,p); 4617 s = g (p, va_arg (v,int)); 4618 va_end (v); 4619 return s; 4620 } 4621 4622 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4623 function prototypes and stuff, but not '\xHH' hex character constants. 4624 These don't provoke an error unfortunately, instead are silently treated 4625 as 'x'. The following induces an error, until -std is added to get 4626 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4627 array size at least. It's necessary to write '\x00'==0 to get something 4628 that's true only with -std. */ 4629 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4630 4631 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4632 inside strings and character constants. */ 4633 #define FOO(x) 'x' 4634 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4635 4636 int test (int i, double x); 4637 struct s1 {int (*f) (int a);}; 4638 struct s2 {int (*f) (double a);}; 4639 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4640 int argc; 4641 char **argv; 4642 int 4643 main () 4644 { 4645 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4646 ; 4647 return 0; 4648 } 4649 _ACEOF 4650 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4651 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4652 do 4653 CC="$ac_save_CC $ac_arg" 4654 if ac_fn_c_try_compile "$LINENO"; then : 4655 ac_cv_prog_cc_c89=$ac_arg 4656 fi 4657 rm -f core conftest.err conftest.$ac_objext 4658 test "x$ac_cv_prog_cc_c89" != "xno" && break 4659 done 4660 rm -f conftest.$ac_ext 4661 CC=$ac_save_CC 4662 4663 fi 4664 # AC_CACHE_VAL 4665 case "x$ac_cv_prog_cc_c89" in 4666 x) 4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4668 $as_echo "none needed" >&6; } ;; 4669 xno) 4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4671 $as_echo "unsupported" >&6; } ;; 4672 *) 4673 CC="$CC $ac_cv_prog_cc_c89" 4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4675 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4676 esac 4677 if test "x$ac_cv_prog_cc_c89" != xno; then : 4678 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4679 else 4680 ac_cv_prog_cc_stdc=no 4681 fi 4682 4683 fi 4684 ;; 4685 esac 4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 4687 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } 4688 if ${ac_cv_prog_cc_stdc+:} false; then : 4689 $as_echo_n "(cached) " >&6 4690 fi 4691 4692 case $ac_cv_prog_cc_stdc in #( 4693 no) : 4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4695 $as_echo "unsupported" >&6; } ;; #( 4696 '') : 4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4698 $as_echo "none needed" >&6; } ;; #( 4699 *) : 4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 4701 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; 4702 esac 4703 4704 ac_ext=c 4705 ac_cpp='$CPP $CPPFLAGS' 4706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4708 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4710 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4711 # On Suns, sometimes $CPP names a directory. 4712 if test -n "$CPP" && test -d "$CPP"; then 4713 CPP= 4714 fi 4715 if test -z "$CPP"; then 4716 if ${ac_cv_prog_CPP+:} false; then : 4717 $as_echo_n "(cached) " >&6 4718 else 4719 # Double quotes because CPP needs to be expanded 4720 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4721 do 4722 ac_preproc_ok=false 4723 for ac_c_preproc_warn_flag in '' yes 4724 do 4725 # Use a header file that comes with gcc, so configuring glibc 4726 # with a fresh cross-compiler works. 4727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4728 # <limits.h> exists even on freestanding compilers. 4729 # On the NeXT, cc -E runs the code through the compiler's parser, 4730 # not just through cpp. "Syntax error" is here to catch this case. 4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4732 /* end confdefs.h. */ 4733 #ifdef __STDC__ 4734 # include <limits.h> 4735 #else 4736 # include <assert.h> 4737 #endif 4738 Syntax error 4739 _ACEOF 4740 if ac_fn_c_try_cpp "$LINENO"; then : 4741 4742 else 4743 # Broken: fails on valid input. 4744 continue 4745 fi 4746 rm -f conftest.err conftest.i conftest.$ac_ext 4747 4748 # OK, works on sane cases. Now check whether nonexistent headers 4749 # can be detected and how. 4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4751 /* end confdefs.h. */ 4752 #include <ac_nonexistent.h> 4753 _ACEOF 4754 if ac_fn_c_try_cpp "$LINENO"; then : 4755 # Broken: success on invalid input. 4756 continue 4757 else 4758 # Passes both tests. 4759 ac_preproc_ok=: 4760 break 4761 fi 4762 rm -f conftest.err conftest.i conftest.$ac_ext 4763 4764 done 4765 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4766 rm -f conftest.i conftest.err conftest.$ac_ext 4767 if $ac_preproc_ok; then : 4768 break 4769 fi 4770 4771 done 4772 ac_cv_prog_CPP=$CPP 4773 4774 fi 4775 CPP=$ac_cv_prog_CPP 4776 else 4777 ac_cv_prog_CPP=$CPP 4778 fi 4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4780 $as_echo "$CPP" >&6; } 4781 ac_preproc_ok=false 4782 for ac_c_preproc_warn_flag in '' yes 4783 do 4784 # Use a header file that comes with gcc, so configuring glibc 4785 # with a fresh cross-compiler works. 4786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4787 # <limits.h> exists even on freestanding compilers. 4788 # On the NeXT, cc -E runs the code through the compiler's parser, 4789 # not just through cpp. "Syntax error" is here to catch this case. 4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4791 /* end confdefs.h. */ 4792 #ifdef __STDC__ 4793 # include <limits.h> 4794 #else 4795 # include <assert.h> 4796 #endif 4797 Syntax error 4798 _ACEOF 4799 if ac_fn_c_try_cpp "$LINENO"; then : 4800 4801 else 4802 # Broken: fails on valid input. 4803 continue 4804 fi 4805 rm -f conftest.err conftest.i conftest.$ac_ext 4806 4807 # OK, works on sane cases. Now check whether nonexistent headers 4808 # can be detected and how. 4809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4810 /* end confdefs.h. */ 4811 #include <ac_nonexistent.h> 4812 _ACEOF 4813 if ac_fn_c_try_cpp "$LINENO"; then : 4814 # Broken: success on invalid input. 4815 continue 4816 else 4817 # Passes both tests. 4818 ac_preproc_ok=: 4819 break 4820 fi 4821 rm -f conftest.err conftest.i conftest.$ac_ext 4822 4823 done 4824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4825 rm -f conftest.i conftest.err conftest.$ac_ext 4826 if $ac_preproc_ok; then : 4827 4828 else 4829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4831 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4832 See \`config.log' for more details" "$LINENO" 5; } 4833 fi 4834 4835 ac_ext=c 4836 ac_cpp='$CPP $CPPFLAGS' 4837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4839 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4840 4841 4842 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4844 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4845 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4846 $as_echo_n "(cached) " >&6 4847 else 4848 4849 gl_save_compiler_FLAGS="$CFLAGS" 4850 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4852 /* end confdefs.h. */ 4853 4854 int 4855 main () 4856 { 4857 4858 ; 4859 return 0; 4860 } 4861 _ACEOF 4862 if ac_fn_c_try_link "$LINENO"; then : 4863 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4864 else 4865 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4866 fi 4867 rm -f core conftest.err conftest.$ac_objext \ 4868 conftest$ac_exeext conftest.$ac_ext 4869 CFLAGS="$gl_save_compiler_FLAGS" 4870 4871 fi 4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4873 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4874 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4875 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4876 else 4877 gl_unknown_warnings_are_errors= 4878 fi 4879 4880 4881 fi 4882 4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wall" >&5 4884 $as_echo_n "checking whether $CC handles -Wall... " >&6; } 4885 if ${gl_cv_warn_CFLAGS__Wall+:} false; then : 4886 $as_echo_n "(cached) " >&6 4887 else 4888 4889 gl_save_compiler_FLAGS="$CFLAGS" 4890 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wall" 4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4892 /* end confdefs.h. */ 4893 4894 int 4895 main () 4896 { 4897 4898 ; 4899 return 0; 4900 } 4901 _ACEOF 4902 if ac_fn_c_try_link "$LINENO"; then : 4903 gl_cv_warn_CFLAGS__Wall=yes 4904 else 4905 gl_cv_warn_CFLAGS__Wall=no 4906 fi 4907 rm -f core conftest.err conftest.$ac_objext \ 4908 conftest$ac_exeext conftest.$ac_ext 4909 CFLAGS="$gl_save_compiler_FLAGS" 4910 4911 fi 4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wall" >&5 4913 $as_echo "$gl_cv_warn_CFLAGS__Wall" >&6; } 4914 if test "x$gl_cv_warn_CFLAGS__Wall" = xyes; then : 4915 as_fn_append WARN_CFLAGS " -Wall" 4916 fi 4917 4918 4919 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4921 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4922 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4923 $as_echo_n "(cached) " >&6 4924 else 4925 4926 gl_save_compiler_FLAGS="$CFLAGS" 4927 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4929 /* end confdefs.h. */ 4930 4931 int 4932 main () 4933 { 4934 4935 ; 4936 return 0; 4937 } 4938 _ACEOF 4939 if ac_fn_c_try_link "$LINENO"; then : 4940 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4941 else 4942 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4943 fi 4944 rm -f core conftest.err conftest.$ac_objext \ 4945 conftest$ac_exeext conftest.$ac_ext 4946 CFLAGS="$gl_save_compiler_FLAGS" 4947 4948 fi 4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4950 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4951 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4952 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4953 else 4954 gl_unknown_warnings_are_errors= 4955 fi 4956 4957 4958 fi 4959 4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wempty-body" >&5 4961 $as_echo_n "checking whether $CC handles -Wempty-body... " >&6; } 4962 if ${gl_cv_warn_CFLAGS__Wempty_body+:} false; then : 4963 $as_echo_n "(cached) " >&6 4964 else 4965 4966 gl_save_compiler_FLAGS="$CFLAGS" 4967 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wempty-body" 4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4969 /* end confdefs.h. */ 4970 4971 int 4972 main () 4973 { 4974 4975 ; 4976 return 0; 4977 } 4978 _ACEOF 4979 if ac_fn_c_try_link "$LINENO"; then : 4980 gl_cv_warn_CFLAGS__Wempty_body=yes 4981 else 4982 gl_cv_warn_CFLAGS__Wempty_body=no 4983 fi 4984 rm -f core conftest.err conftest.$ac_objext \ 4985 conftest$ac_exeext conftest.$ac_ext 4986 CFLAGS="$gl_save_compiler_FLAGS" 4987 4988 fi 4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wempty_body" >&5 4990 $as_echo "$gl_cv_warn_CFLAGS__Wempty_body" >&6; } 4991 if test "x$gl_cv_warn_CFLAGS__Wempty_body" = xyes; then : 4992 as_fn_append WARN_CFLAGS " -Wempty-body" 4993 fi 4994 4995 4996 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4998 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4999 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5000 $as_echo_n "(cached) " >&6 5001 else 5002 5003 gl_save_compiler_FLAGS="$CFLAGS" 5004 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5006 /* end confdefs.h. */ 5007 5008 int 5009 main () 5010 { 5011 5012 ; 5013 return 0; 5014 } 5015 _ACEOF 5016 if ac_fn_c_try_link "$LINENO"; then : 5017 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5018 else 5019 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5020 fi 5021 rm -f core conftest.err conftest.$ac_objext \ 5022 conftest$ac_exeext conftest.$ac_ext 5023 CFLAGS="$gl_save_compiler_FLAGS" 5024 5025 fi 5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5027 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5028 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5029 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5030 else 5031 gl_unknown_warnings_are_errors= 5032 fi 5033 5034 5035 fi 5036 5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wformat-security" >&5 5038 $as_echo_n "checking whether $CC handles -Wformat-security... " >&6; } 5039 if ${gl_cv_warn_CFLAGS__Wformat_security+:} false; then : 5040 $as_echo_n "(cached) " >&6 5041 else 5042 5043 gl_save_compiler_FLAGS="$CFLAGS" 5044 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-security" 5045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5046 /* end confdefs.h. */ 5047 5048 int 5049 main () 5050 { 5051 5052 ; 5053 return 0; 5054 } 5055 _ACEOF 5056 if ac_fn_c_try_link "$LINENO"; then : 5057 gl_cv_warn_CFLAGS__Wformat_security=yes 5058 else 5059 gl_cv_warn_CFLAGS__Wformat_security=no 5060 fi 5061 rm -f core conftest.err conftest.$ac_objext \ 5062 conftest$ac_exeext conftest.$ac_ext 5063 CFLAGS="$gl_save_compiler_FLAGS" 5064 5065 fi 5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wformat_security" >&5 5067 $as_echo "$gl_cv_warn_CFLAGS__Wformat_security" >&6; } 5068 if test "x$gl_cv_warn_CFLAGS__Wformat_security" = xyes; then : 5069 as_fn_append WARN_CFLAGS " -Wformat-security" 5070 fi 5071 5072 5073 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5075 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5076 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5077 $as_echo_n "(cached) " >&6 5078 else 5079 5080 gl_save_compiler_FLAGS="$CFLAGS" 5081 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5083 /* end confdefs.h. */ 5084 5085 int 5086 main () 5087 { 5088 5089 ; 5090 return 0; 5091 } 5092 _ACEOF 5093 if ac_fn_c_try_link "$LINENO"; then : 5094 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5095 else 5096 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5097 fi 5098 rm -f core conftest.err conftest.$ac_objext \ 5099 conftest$ac_exeext conftest.$ac_ext 5100 CFLAGS="$gl_save_compiler_FLAGS" 5101 5102 fi 5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5104 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5105 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5106 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5107 else 5108 gl_unknown_warnings_are_errors= 5109 fi 5110 5111 5112 fi 5113 5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wignored-qualifiers" >&5 5115 $as_echo_n "checking whether $CC handles -Wignored-qualifiers... " >&6; } 5116 if ${gl_cv_warn_CFLAGS__Wignored_qualifiers+:} false; then : 5117 $as_echo_n "(cached) " >&6 5118 else 5119 5120 gl_save_compiler_FLAGS="$CFLAGS" 5121 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wignored-qualifiers" 5122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5123 /* end confdefs.h. */ 5124 5125 int 5126 main () 5127 { 5128 5129 ; 5130 return 0; 5131 } 5132 _ACEOF 5133 if ac_fn_c_try_link "$LINENO"; then : 5134 gl_cv_warn_CFLAGS__Wignored_qualifiers=yes 5135 else 5136 gl_cv_warn_CFLAGS__Wignored_qualifiers=no 5137 fi 5138 rm -f core conftest.err conftest.$ac_objext \ 5139 conftest$ac_exeext conftest.$ac_ext 5140 CFLAGS="$gl_save_compiler_FLAGS" 5141 5142 fi 5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wignored_qualifiers" >&5 5144 $as_echo "$gl_cv_warn_CFLAGS__Wignored_qualifiers" >&6; } 5145 if test "x$gl_cv_warn_CFLAGS__Wignored_qualifiers" = xyes; then : 5146 as_fn_append WARN_CFLAGS " -Wignored-qualifiers" 5147 fi 5148 5149 5150 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5152 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5153 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5154 $as_echo_n "(cached) " >&6 5155 else 5156 5157 gl_save_compiler_FLAGS="$CFLAGS" 5158 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5160 /* end confdefs.h. */ 5161 5162 int 5163 main () 5164 { 5165 5166 ; 5167 return 0; 5168 } 5169 _ACEOF 5170 if ac_fn_c_try_link "$LINENO"; then : 5171 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5172 else 5173 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5174 fi 5175 rm -f core conftest.err conftest.$ac_objext \ 5176 conftest$ac_exeext conftest.$ac_ext 5177 CFLAGS="$gl_save_compiler_FLAGS" 5178 5179 fi 5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5181 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5182 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5183 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5184 else 5185 gl_unknown_warnings_are_errors= 5186 fi 5187 5188 5189 fi 5190 5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wimplicit-fallthrough=5" >&5 5192 $as_echo_n "checking whether $CC handles -Wimplicit-fallthrough=5... " >&6; } 5193 if ${gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5+:} false; then : 5194 $as_echo_n "(cached) " >&6 5195 else 5196 5197 gl_save_compiler_FLAGS="$CFLAGS" 5198 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wimplicit-fallthrough=5" 5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5200 /* end confdefs.h. */ 5201 5202 int 5203 main () 5204 { 5205 5206 ; 5207 return 0; 5208 } 5209 _ACEOF 5210 if ac_fn_c_try_link "$LINENO"; then : 5211 gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5=yes 5212 else 5213 gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5=no 5214 fi 5215 rm -f core conftest.err conftest.$ac_objext \ 5216 conftest$ac_exeext conftest.$ac_ext 5217 CFLAGS="$gl_save_compiler_FLAGS" 5218 5219 fi 5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5" >&5 5221 $as_echo "$gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5" >&6; } 5222 if test "x$gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5" = xyes; then : 5223 as_fn_append WARN_CFLAGS " -Wimplicit-fallthrough=5" 5224 fi 5225 5226 5227 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5229 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5230 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5231 $as_echo_n "(cached) " >&6 5232 else 5233 5234 gl_save_compiler_FLAGS="$CFLAGS" 5235 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5237 /* end confdefs.h. */ 5238 5239 int 5240 main () 5241 { 5242 5243 ; 5244 return 0; 5245 } 5246 _ACEOF 5247 if ac_fn_c_try_link "$LINENO"; then : 5248 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5249 else 5250 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5251 fi 5252 rm -f core conftest.err conftest.$ac_objext \ 5253 conftest$ac_exeext conftest.$ac_ext 5254 CFLAGS="$gl_save_compiler_FLAGS" 5255 5256 fi 5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5258 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5259 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5260 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5261 else 5262 gl_unknown_warnings_are_errors= 5263 fi 5264 5265 5266 fi 5267 5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Winit-self" >&5 5269 $as_echo_n "checking whether $CC handles -Winit-self... " >&6; } 5270 if ${gl_cv_warn_CFLAGS__Winit_self+:} false; then : 5271 $as_echo_n "(cached) " >&6 5272 else 5273 5274 gl_save_compiler_FLAGS="$CFLAGS" 5275 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Winit-self" 5276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5277 /* end confdefs.h. */ 5278 5279 int 5280 main () 5281 { 5282 5283 ; 5284 return 0; 5285 } 5286 _ACEOF 5287 if ac_fn_c_try_link "$LINENO"; then : 5288 gl_cv_warn_CFLAGS__Winit_self=yes 5289 else 5290 gl_cv_warn_CFLAGS__Winit_self=no 5291 fi 5292 rm -f core conftest.err conftest.$ac_objext \ 5293 conftest$ac_exeext conftest.$ac_ext 5294 CFLAGS="$gl_save_compiler_FLAGS" 5295 5296 fi 5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Winit_self" >&5 5298 $as_echo "$gl_cv_warn_CFLAGS__Winit_self" >&6; } 5299 if test "x$gl_cv_warn_CFLAGS__Winit_self" = xyes; then : 5300 as_fn_append WARN_CFLAGS " -Winit-self" 5301 fi 5302 5303 5304 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5306 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5307 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5308 $as_echo_n "(cached) " >&6 5309 else 5310 5311 gl_save_compiler_FLAGS="$CFLAGS" 5312 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5314 /* end confdefs.h. */ 5315 5316 int 5317 main () 5318 { 5319 5320 ; 5321 return 0; 5322 } 5323 _ACEOF 5324 if ac_fn_c_try_link "$LINENO"; then : 5325 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5326 else 5327 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5328 fi 5329 rm -f core conftest.err conftest.$ac_objext \ 5330 conftest$ac_exeext conftest.$ac_ext 5331 CFLAGS="$gl_save_compiler_FLAGS" 5332 5333 fi 5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5335 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5336 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5337 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5338 else 5339 gl_unknown_warnings_are_errors= 5340 fi 5341 5342 5343 fi 5344 5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Winitializer-overrides" >&5 5346 $as_echo_n "checking whether $CC handles -Winitializer-overrides... " >&6; } 5347 if ${gl_cv_warn_CFLAGS__Winitializer_overrides+:} false; then : 5348 $as_echo_n "(cached) " >&6 5349 else 5350 5351 gl_save_compiler_FLAGS="$CFLAGS" 5352 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Winitializer-overrides" 5353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5354 /* end confdefs.h. */ 5355 5356 int 5357 main () 5358 { 5359 5360 ; 5361 return 0; 5362 } 5363 _ACEOF 5364 if ac_fn_c_try_link "$LINENO"; then : 5365 gl_cv_warn_CFLAGS__Winitializer_overrides=yes 5366 else 5367 gl_cv_warn_CFLAGS__Winitializer_overrides=no 5368 fi 5369 rm -f core conftest.err conftest.$ac_objext \ 5370 conftest$ac_exeext conftest.$ac_ext 5371 CFLAGS="$gl_save_compiler_FLAGS" 5372 5373 fi 5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Winitializer_overrides" >&5 5375 $as_echo "$gl_cv_warn_CFLAGS__Winitializer_overrides" >&6; } 5376 if test "x$gl_cv_warn_CFLAGS__Winitializer_overrides" = xyes; then : 5377 as_fn_append WARN_CFLAGS " -Winitializer-overrides" 5378 fi 5379 5380 5381 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5383 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5384 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5385 $as_echo_n "(cached) " >&6 5386 else 5387 5388 gl_save_compiler_FLAGS="$CFLAGS" 5389 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5391 /* end confdefs.h. */ 5392 5393 int 5394 main () 5395 { 5396 5397 ; 5398 return 0; 5399 } 5400 _ACEOF 5401 if ac_fn_c_try_link "$LINENO"; then : 5402 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5403 else 5404 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5405 fi 5406 rm -f core conftest.err conftest.$ac_objext \ 5407 conftest$ac_exeext conftest.$ac_ext 5408 CFLAGS="$gl_save_compiler_FLAGS" 5409 5410 fi 5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5412 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5413 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5414 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5415 else 5416 gl_unknown_warnings_are_errors= 5417 fi 5418 5419 5420 fi 5421 5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wlogical-op" >&5 5423 $as_echo_n "checking whether $CC handles -Wlogical-op... " >&6; } 5424 if ${gl_cv_warn_CFLAGS__Wlogical_op+:} false; then : 5425 $as_echo_n "(cached) " >&6 5426 else 5427 5428 gl_save_compiler_FLAGS="$CFLAGS" 5429 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wlogical-op" 5430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5431 /* end confdefs.h. */ 5432 5433 int 5434 main () 5435 { 5436 5437 ; 5438 return 0; 5439 } 5440 _ACEOF 5441 if ac_fn_c_try_link "$LINENO"; then : 5442 gl_cv_warn_CFLAGS__Wlogical_op=yes 5443 else 5444 gl_cv_warn_CFLAGS__Wlogical_op=no 5445 fi 5446 rm -f core conftest.err conftest.$ac_objext \ 5447 conftest$ac_exeext conftest.$ac_ext 5448 CFLAGS="$gl_save_compiler_FLAGS" 5449 5450 fi 5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wlogical_op" >&5 5452 $as_echo "$gl_cv_warn_CFLAGS__Wlogical_op" >&6; } 5453 if test "x$gl_cv_warn_CFLAGS__Wlogical_op" = xyes; then : 5454 as_fn_append WARN_CFLAGS " -Wlogical-op" 5455 fi 5456 5457 5458 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5460 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5461 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5462 $as_echo_n "(cached) " >&6 5463 else 5464 5465 gl_save_compiler_FLAGS="$CFLAGS" 5466 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5468 /* end confdefs.h. */ 5469 5470 int 5471 main () 5472 { 5473 5474 ; 5475 return 0; 5476 } 5477 _ACEOF 5478 if ac_fn_c_try_link "$LINENO"; then : 5479 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5480 else 5481 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5482 fi 5483 rm -f core conftest.err conftest.$ac_objext \ 5484 conftest$ac_exeext conftest.$ac_ext 5485 CFLAGS="$gl_save_compiler_FLAGS" 5486 5487 fi 5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5489 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5490 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5491 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5492 else 5493 gl_unknown_warnings_are_errors= 5494 fi 5495 5496 5497 fi 5498 5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wmissing-parameter-type" >&5 5500 $as_echo_n "checking whether $CC handles -Wmissing-parameter-type... " >&6; } 5501 if ${gl_cv_warn_CFLAGS__Wmissing_parameter_type+:} false; then : 5502 $as_echo_n "(cached) " >&6 5503 else 5504 5505 gl_save_compiler_FLAGS="$CFLAGS" 5506 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-parameter-type" 5507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5508 /* end confdefs.h. */ 5509 5510 int 5511 main () 5512 { 5513 5514 ; 5515 return 0; 5516 } 5517 _ACEOF 5518 if ac_fn_c_try_link "$LINENO"; then : 5519 gl_cv_warn_CFLAGS__Wmissing_parameter_type=yes 5520 else 5521 gl_cv_warn_CFLAGS__Wmissing_parameter_type=no 5522 fi 5523 rm -f core conftest.err conftest.$ac_objext \ 5524 conftest$ac_exeext conftest.$ac_ext 5525 CFLAGS="$gl_save_compiler_FLAGS" 5526 5527 fi 5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&5 5529 $as_echo "$gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&6; } 5530 if test "x$gl_cv_warn_CFLAGS__Wmissing_parameter_type" = xyes; then : 5531 as_fn_append WARN_CFLAGS " -Wmissing-parameter-type" 5532 fi 5533 5534 5535 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5537 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5538 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5539 $as_echo_n "(cached) " >&6 5540 else 5541 5542 gl_save_compiler_FLAGS="$CFLAGS" 5543 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5545 /* end confdefs.h. */ 5546 5547 int 5548 main () 5549 { 5550 5551 ; 5552 return 0; 5553 } 5554 _ACEOF 5555 if ac_fn_c_try_link "$LINENO"; then : 5556 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5557 else 5558 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5559 fi 5560 rm -f core conftest.err conftest.$ac_objext \ 5561 conftest$ac_exeext conftest.$ac_ext 5562 CFLAGS="$gl_save_compiler_FLAGS" 5563 5564 fi 5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5566 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5567 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5568 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5569 else 5570 gl_unknown_warnings_are_errors= 5571 fi 5572 5573 5574 fi 5575 5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wnested-externs" >&5 5577 $as_echo_n "checking whether $CC handles -Wnested-externs... " >&6; } 5578 if ${gl_cv_warn_CFLAGS__Wnested_externs+:} false; then : 5579 $as_echo_n "(cached) " >&6 5580 else 5581 5582 gl_save_compiler_FLAGS="$CFLAGS" 5583 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wnested-externs" 5584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5585 /* end confdefs.h. */ 5586 5587 int 5588 main () 5589 { 5590 5591 ; 5592 return 0; 5593 } 5594 _ACEOF 5595 if ac_fn_c_try_link "$LINENO"; then : 5596 gl_cv_warn_CFLAGS__Wnested_externs=yes 5597 else 5598 gl_cv_warn_CFLAGS__Wnested_externs=no 5599 fi 5600 rm -f core conftest.err conftest.$ac_objext \ 5601 conftest$ac_exeext conftest.$ac_ext 5602 CFLAGS="$gl_save_compiler_FLAGS" 5603 5604 fi 5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wnested_externs" >&5 5606 $as_echo "$gl_cv_warn_CFLAGS__Wnested_externs" >&6; } 5607 if test "x$gl_cv_warn_CFLAGS__Wnested_externs" = xyes; then : 5608 as_fn_append WARN_CFLAGS " -Wnested-externs" 5609 fi 5610 5611 5612 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5614 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5615 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5616 $as_echo_n "(cached) " >&6 5617 else 5618 5619 gl_save_compiler_FLAGS="$CFLAGS" 5620 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5622 /* end confdefs.h. */ 5623 5624 int 5625 main () 5626 { 5627 5628 ; 5629 return 0; 5630 } 5631 _ACEOF 5632 if ac_fn_c_try_link "$LINENO"; then : 5633 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5634 else 5635 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5636 fi 5637 rm -f core conftest.err conftest.$ac_objext \ 5638 conftest$ac_exeext conftest.$ac_ext 5639 CFLAGS="$gl_save_compiler_FLAGS" 5640 5641 fi 5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5643 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5644 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5645 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5646 else 5647 gl_unknown_warnings_are_errors= 5648 fi 5649 5650 5651 fi 5652 5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-declaration" >&5 5654 $as_echo_n "checking whether $CC handles -Wold-style-declaration... " >&6; } 5655 if ${gl_cv_warn_CFLAGS__Wold_style_declaration+:} false; then : 5656 $as_echo_n "(cached) " >&6 5657 else 5658 5659 gl_save_compiler_FLAGS="$CFLAGS" 5660 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-declaration" 5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5662 /* end confdefs.h. */ 5663 5664 int 5665 main () 5666 { 5667 5668 ; 5669 return 0; 5670 } 5671 _ACEOF 5672 if ac_fn_c_try_link "$LINENO"; then : 5673 gl_cv_warn_CFLAGS__Wold_style_declaration=yes 5674 else 5675 gl_cv_warn_CFLAGS__Wold_style_declaration=no 5676 fi 5677 rm -f core conftest.err conftest.$ac_objext \ 5678 conftest$ac_exeext conftest.$ac_ext 5679 CFLAGS="$gl_save_compiler_FLAGS" 5680 5681 fi 5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_declaration" >&5 5683 $as_echo "$gl_cv_warn_CFLAGS__Wold_style_declaration" >&6; } 5684 if test "x$gl_cv_warn_CFLAGS__Wold_style_declaration" = xyes; then : 5685 as_fn_append WARN_CFLAGS " -Wold-style-declaration" 5686 fi 5687 5688 5689 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5691 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5692 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5693 $as_echo_n "(cached) " >&6 5694 else 5695 5696 gl_save_compiler_FLAGS="$CFLAGS" 5697 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5699 /* end confdefs.h. */ 5700 5701 int 5702 main () 5703 { 5704 5705 ; 5706 return 0; 5707 } 5708 _ACEOF 5709 if ac_fn_c_try_link "$LINENO"; then : 5710 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5711 else 5712 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5713 fi 5714 rm -f core conftest.err conftest.$ac_objext \ 5715 conftest$ac_exeext conftest.$ac_ext 5716 CFLAGS="$gl_save_compiler_FLAGS" 5717 5718 fi 5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5720 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5721 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5722 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5723 else 5724 gl_unknown_warnings_are_errors= 5725 fi 5726 5727 5728 fi 5729 5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-definition" >&5 5731 $as_echo_n "checking whether $CC handles -Wold-style-definition... " >&6; } 5732 if ${gl_cv_warn_CFLAGS__Wold_style_definition+:} false; then : 5733 $as_echo_n "(cached) " >&6 5734 else 5735 5736 gl_save_compiler_FLAGS="$CFLAGS" 5737 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-definition" 5738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5739 /* end confdefs.h. */ 5740 5741 int 5742 main () 5743 { 5744 5745 ; 5746 return 0; 5747 } 5748 _ACEOF 5749 if ac_fn_c_try_link "$LINENO"; then : 5750 gl_cv_warn_CFLAGS__Wold_style_definition=yes 5751 else 5752 gl_cv_warn_CFLAGS__Wold_style_definition=no 5753 fi 5754 rm -f core conftest.err conftest.$ac_objext \ 5755 conftest$ac_exeext conftest.$ac_ext 5756 CFLAGS="$gl_save_compiler_FLAGS" 5757 5758 fi 5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_definition" >&5 5760 $as_echo "$gl_cv_warn_CFLAGS__Wold_style_definition" >&6; } 5761 if test "x$gl_cv_warn_CFLAGS__Wold_style_definition" = xyes; then : 5762 as_fn_append WARN_CFLAGS " -Wold-style-definition" 5763 fi 5764 5765 5766 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5768 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5769 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5770 $as_echo_n "(cached) " >&6 5771 else 5772 5773 gl_save_compiler_FLAGS="$CFLAGS" 5774 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5776 /* end confdefs.h. */ 5777 5778 int 5779 main () 5780 { 5781 5782 ; 5783 return 0; 5784 } 5785 _ACEOF 5786 if ac_fn_c_try_link "$LINENO"; then : 5787 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5788 else 5789 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5790 fi 5791 rm -f core conftest.err conftest.$ac_objext \ 5792 conftest$ac_exeext conftest.$ac_ext 5793 CFLAGS="$gl_save_compiler_FLAGS" 5794 5795 fi 5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5797 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5798 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5799 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5800 else 5801 gl_unknown_warnings_are_errors= 5802 fi 5803 5804 5805 fi 5806 5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Woverride-init" >&5 5808 $as_echo_n "checking whether $CC handles -Woverride-init... " >&6; } 5809 if ${gl_cv_warn_CFLAGS__Woverride_init+:} false; then : 5810 $as_echo_n "(cached) " >&6 5811 else 5812 5813 gl_save_compiler_FLAGS="$CFLAGS" 5814 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Woverride-init" 5815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5816 /* end confdefs.h. */ 5817 5818 int 5819 main () 5820 { 5821 5822 ; 5823 return 0; 5824 } 5825 _ACEOF 5826 if ac_fn_c_try_link "$LINENO"; then : 5827 gl_cv_warn_CFLAGS__Woverride_init=yes 5828 else 5829 gl_cv_warn_CFLAGS__Woverride_init=no 5830 fi 5831 rm -f core conftest.err conftest.$ac_objext \ 5832 conftest$ac_exeext conftest.$ac_ext 5833 CFLAGS="$gl_save_compiler_FLAGS" 5834 5835 fi 5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Woverride_init" >&5 5837 $as_echo "$gl_cv_warn_CFLAGS__Woverride_init" >&6; } 5838 if test "x$gl_cv_warn_CFLAGS__Woverride_init" = xyes; then : 5839 as_fn_append WARN_CFLAGS " -Woverride-init" 5840 fi 5841 5842 5843 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5845 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5846 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5847 $as_echo_n "(cached) " >&6 5848 else 5849 5850 gl_save_compiler_FLAGS="$CFLAGS" 5851 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5853 /* end confdefs.h. */ 5854 5855 int 5856 main () 5857 { 5858 5859 ; 5860 return 0; 5861 } 5862 _ACEOF 5863 if ac_fn_c_try_link "$LINENO"; then : 5864 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5865 else 5866 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5867 fi 5868 rm -f core conftest.err conftest.$ac_objext \ 5869 conftest$ac_exeext conftest.$ac_ext 5870 CFLAGS="$gl_save_compiler_FLAGS" 5871 5872 fi 5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5874 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5875 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5876 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5877 else 5878 gl_unknown_warnings_are_errors= 5879 fi 5880 5881 5882 fi 5883 5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wsign-compare" >&5 5885 $as_echo_n "checking whether $CC handles -Wsign-compare... " >&6; } 5886 if ${gl_cv_warn_CFLAGS__Wsign_compare+:} false; then : 5887 $as_echo_n "(cached) " >&6 5888 else 5889 5890 gl_save_compiler_FLAGS="$CFLAGS" 5891 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsign-compare" 5892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5893 /* end confdefs.h. */ 5894 5895 int 5896 main () 5897 { 5898 5899 ; 5900 return 0; 5901 } 5902 _ACEOF 5903 if ac_fn_c_try_link "$LINENO"; then : 5904 gl_cv_warn_CFLAGS__Wsign_compare=yes 5905 else 5906 gl_cv_warn_CFLAGS__Wsign_compare=no 5907 fi 5908 rm -f core conftest.err conftest.$ac_objext \ 5909 conftest$ac_exeext conftest.$ac_ext 5910 CFLAGS="$gl_save_compiler_FLAGS" 5911 5912 fi 5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wsign_compare" >&5 5914 $as_echo "$gl_cv_warn_CFLAGS__Wsign_compare" >&6; } 5915 if test "x$gl_cv_warn_CFLAGS__Wsign_compare" = xyes; then : 5916 as_fn_append WARN_CFLAGS " -Wsign-compare" 5917 fi 5918 5919 5920 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5922 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5923 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5924 $as_echo_n "(cached) " >&6 5925 else 5926 5927 gl_save_compiler_FLAGS="$CFLAGS" 5928 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5930 /* end confdefs.h. */ 5931 5932 int 5933 main () 5934 { 5935 5936 ; 5937 return 0; 5938 } 5939 _ACEOF 5940 if ac_fn_c_try_link "$LINENO"; then : 5941 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5942 else 5943 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5944 fi 5945 rm -f core conftest.err conftest.$ac_objext \ 5946 conftest$ac_exeext conftest.$ac_ext 5947 CFLAGS="$gl_save_compiler_FLAGS" 5948 5949 fi 5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5951 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5952 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5953 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5954 else 5955 gl_unknown_warnings_are_errors= 5956 fi 5957 5958 5959 fi 5960 5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wtype-limits" >&5 5962 $as_echo_n "checking whether $CC handles -Wtype-limits... " >&6; } 5963 if ${gl_cv_warn_CFLAGS__Wtype_limits+:} false; then : 5964 $as_echo_n "(cached) " >&6 5965 else 5966 5967 gl_save_compiler_FLAGS="$CFLAGS" 5968 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wtype-limits" 5969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5970 /* end confdefs.h. */ 5971 5972 int 5973 main () 5974 { 5975 5976 ; 5977 return 0; 5978 } 5979 _ACEOF 5980 if ac_fn_c_try_link "$LINENO"; then : 5981 gl_cv_warn_CFLAGS__Wtype_limits=yes 5982 else 5983 gl_cv_warn_CFLAGS__Wtype_limits=no 5984 fi 5985 rm -f core conftest.err conftest.$ac_objext \ 5986 conftest$ac_exeext conftest.$ac_ext 5987 CFLAGS="$gl_save_compiler_FLAGS" 5988 5989 fi 5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wtype_limits" >&5 5991 $as_echo "$gl_cv_warn_CFLAGS__Wtype_limits" >&6; } 5992 if test "x$gl_cv_warn_CFLAGS__Wtype_limits" = xyes; then : 5993 as_fn_append WARN_CFLAGS " -Wtype-limits" 5994 fi 5995 5996 5997 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5999 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 6000 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 6001 $as_echo_n "(cached) " >&6 6002 else 6003 6004 gl_save_compiler_FLAGS="$CFLAGS" 6005 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6007 /* end confdefs.h. */ 6008 6009 int 6010 main () 6011 { 6012 6013 ; 6014 return 0; 6015 } 6016 _ACEOF 6017 if ac_fn_c_try_link "$LINENO"; then : 6018 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 6019 else 6020 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 6021 fi 6022 rm -f core conftest.err conftest.$ac_objext \ 6023 conftest$ac_exeext conftest.$ac_ext 6024 CFLAGS="$gl_save_compiler_FLAGS" 6025 6026 fi 6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 6028 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 6029 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 6030 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6031 else 6032 gl_unknown_warnings_are_errors= 6033 fi 6034 6035 6036 fi 6037 6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wwrite-strings" >&5 6039 $as_echo_n "checking whether $CC handles -Wwrite-strings... " >&6; } 6040 if ${gl_cv_warn_CFLAGS__Wwrite_strings+:} false; then : 6041 $as_echo_n "(cached) " >&6 6042 else 6043 6044 gl_save_compiler_FLAGS="$CFLAGS" 6045 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wwrite-strings" 6046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6047 /* end confdefs.h. */ 6048 6049 int 6050 main () 6051 { 6052 6053 ; 6054 return 0; 6055 } 6056 _ACEOF 6057 if ac_fn_c_try_link "$LINENO"; then : 6058 gl_cv_warn_CFLAGS__Wwrite_strings=yes 6059 else 6060 gl_cv_warn_CFLAGS__Wwrite_strings=no 6061 fi 6062 rm -f core conftest.err conftest.$ac_objext \ 6063 conftest$ac_exeext conftest.$ac_ext 6064 CFLAGS="$gl_save_compiler_FLAGS" 6065 6066 fi 6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wwrite_strings" >&5 6068 $as_echo "$gl_cv_warn_CFLAGS__Wwrite_strings" >&6; } 6069 if test "x$gl_cv_warn_CFLAGS__Wwrite_strings" = xyes; then : 6070 as_fn_append WARN_CFLAGS " -Wwrite-strings" 6071 fi 6072 6073 6074 # Check whether --enable-gcc-Werror was given. 6075 if test "${enable_gcc_Werror+set}" = set; then : 6076 enableval=$enable_gcc_Werror; case $enableval in 6077 yes) if test x${gl_unknown_warnings_are_errors+set} = x; then : 6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 6079 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 6080 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 6081 $as_echo_n "(cached) " >&6 6082 else 6083 6084 gl_save_compiler_FLAGS="$CFLAGS" 6085 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6087 /* end confdefs.h. */ 6088 6089 int 6090 main () 6091 { 6092 6093 ; 6094 return 0; 6095 } 6096 _ACEOF 6097 if ac_fn_c_try_link "$LINENO"; then : 6098 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 6099 else 6100 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 6101 fi 6102 rm -f core conftest.err conftest.$ac_objext \ 6103 conftest$ac_exeext conftest.$ac_ext 6104 CFLAGS="$gl_save_compiler_FLAGS" 6105 6106 fi 6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 6108 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 6109 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 6110 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6111 else 6112 gl_unknown_warnings_are_errors= 6113 fi 6114 6115 6116 fi 6117 6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror" >&5 6119 $as_echo_n "checking whether $CC handles -Werror... " >&6; } 6120 if ${gl_cv_warn_CFLAGS__Werror+:} false; then : 6121 $as_echo_n "(cached) " >&6 6122 else 6123 6124 gl_save_compiler_FLAGS="$CFLAGS" 6125 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror" 6126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6127 /* end confdefs.h. */ 6128 6129 int 6130 main () 6131 { 6132 6133 ; 6134 return 0; 6135 } 6136 _ACEOF 6137 if ac_fn_c_try_link "$LINENO"; then : 6138 gl_cv_warn_CFLAGS__Werror=yes 6139 else 6140 gl_cv_warn_CFLAGS__Werror=no 6141 fi 6142 rm -f core conftest.err conftest.$ac_objext \ 6143 conftest$ac_exeext conftest.$ac_ext 6144 CFLAGS="$gl_save_compiler_FLAGS" 6145 6146 fi 6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror" >&5 6148 $as_echo "$gl_cv_warn_CFLAGS__Werror" >&6; } 6149 if test "x$gl_cv_warn_CFLAGS__Werror" = xyes; then : 6150 as_fn_append WARN_CFLAGS " -Werror" 6151 fi 6152 6153 ;; 6154 no) ;; 6155 *) as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;; 6156 esac 6157 6158 fi 6159 6160 6161 6162 6163 6164 6165 if test -n "${ac_c_decl_warn_flag+set}"; then : 6166 st_saved_ac_c_decl_warn_flag="${ac_c_decl_warn_flag}"; unset ac_c_decl_warn_flag 6167 fi 6168 6169 if test -n "${ac_c_preproc_warn_flag+set}"; then : 6170 st_saved_ac_c_preproc_warn_flag="${ac_c_preproc_warn_flag}"; unset ac_c_preproc_warn_flag 6171 fi 6172 6173 if test -n "${ac_c_werror_flag+set}"; then : 6174 st_saved_ac_c_werror_flag="${ac_c_werror_flag}"; unset ac_c_werror_flag 6175 fi 6176 6177 if test -n "${ac_compile+set}"; then : 6178 st_saved_ac_compile="${ac_compile}"; unset ac_compile 6179 fi 6180 6181 if test -n "${ac_compiler_gnu+set}"; then : 6182 st_saved_ac_compiler_gnu="${ac_compiler_gnu}"; unset ac_compiler_gnu 6183 fi 6184 6185 if test -n "${ac_cpp+set}"; then : 6186 st_saved_ac_cpp="${ac_cpp}"; unset ac_cpp 6187 fi 6188 6189 if test -n "${ac_cv_c_compiler_gnu+set}"; then : 6190 st_saved_ac_cv_c_compiler_gnu="${ac_cv_c_compiler_gnu}"; unset ac_cv_c_compiler_gnu 6191 fi 6192 6193 if test -n "${ac_cv_c_decl_report+set}"; then : 6194 st_saved_ac_cv_c_decl_report="${ac_cv_c_decl_report}"; unset ac_cv_c_decl_report 6195 fi 6196 6197 if test -n "${ac_link+set}"; then : 6198 st_saved_ac_link="${ac_link}"; unset ac_link 6199 fi 6200 6201 if test -n "${ac_tool_prefix+set}"; then : 6202 st_saved_ac_tool_prefix="${ac_tool_prefix}"; unset ac_tool_prefix 6203 fi 6204 6205 if test -n "${cross_compiling+set}"; then : 6206 st_saved_cross_compiling="${cross_compiling}"; unset cross_compiling 6207 fi 6208 6209 cross_compiling=no 6210 6211 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for a C compiler that generates native executables" >&5 6212 $as_echo "$as_me: looking for a C compiler that generates native executables" >&6;} 6213 ac_ext=c 6214 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6215 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6216 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6217 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6218 if test -n "$ac_tool_prefix"; then 6219 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 6220 set dummy ${ac_tool_prefix}gcc; ac_word=$2 6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6222 $as_echo_n "checking for $ac_word... " >&6; } 6223 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 6224 $as_echo_n "(cached) " >&6 6225 else 6226 if test -n "$CC_FOR_BUILD"; then 6227 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 6228 else 6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6230 for as_dir in $PATH 6231 do 6232 IFS=$as_save_IFS 6233 test -z "$as_dir" && as_dir=. 6234 for ac_exec_ext in '' $ac_executable_extensions; do 6235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6236 ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}gcc" 6237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6238 break 2 6239 fi 6240 done 6241 done 6242 IFS=$as_save_IFS 6243 6244 fi 6245 fi 6246 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 6247 if test -n "$CC_FOR_BUILD"; then 6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 6249 $as_echo "$CC_FOR_BUILD" >&6; } 6250 else 6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6252 $as_echo "no" >&6; } 6253 fi 6254 6255 6256 fi 6257 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then 6258 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD 6259 # Extract the first word of "gcc", so it can be a program name with args. 6260 set dummy gcc; ac_word=$2 6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6262 $as_echo_n "checking for $ac_word... " >&6; } 6263 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then : 6264 $as_echo_n "(cached) " >&6 6265 else 6266 if test -n "$ac_ct_CC_FOR_BUILD"; then 6267 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test. 6268 else 6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6270 for as_dir in $PATH 6271 do 6272 IFS=$as_save_IFS 6273 test -z "$as_dir" && as_dir=. 6274 for ac_exec_ext in '' $ac_executable_extensions; do 6275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6276 ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc" 6277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6278 break 2 6279 fi 6280 done 6281 done 6282 IFS=$as_save_IFS 6283 6284 fi 6285 fi 6286 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD 6287 if test -n "$ac_ct_CC_FOR_BUILD"; then 6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 6289 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; } 6290 else 6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6292 $as_echo "no" >&6; } 6293 fi 6294 6295 if test "x$ac_ct_CC_FOR_BUILD" = x; then 6296 CC_FOR_BUILD="" 6297 else 6298 case $cross_compiling:$ac_tool_warned in 6299 yes:) 6300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5 6301 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;} 6302 ac_tool_warned=yes ;; 6303 esac 6304 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD 6305 fi 6306 else 6307 CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD" 6308 fi 6309 6310 if test -z "$CC_FOR_BUILD"; then 6311 if test -n "$ac_tool_prefix"; then 6312 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6313 set dummy ${ac_tool_prefix}cc; ac_word=$2 6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6315 $as_echo_n "checking for $ac_word... " >&6; } 6316 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 6317 $as_echo_n "(cached) " >&6 6318 else 6319 if test -n "$CC_FOR_BUILD"; then 6320 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 6321 else 6322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6323 for as_dir in $PATH 6324 do 6325 IFS=$as_save_IFS 6326 test -z "$as_dir" && as_dir=. 6327 for ac_exec_ext in '' $ac_executable_extensions; do 6328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6329 ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}cc" 6330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6331 break 2 6332 fi 6333 done 6334 done 6335 IFS=$as_save_IFS 6336 6337 fi 6338 fi 6339 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 6340 if test -n "$CC_FOR_BUILD"; then 6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 6342 $as_echo "$CC_FOR_BUILD" >&6; } 6343 else 6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6345 $as_echo "no" >&6; } 6346 fi 6347 6348 6349 fi 6350 fi 6351 if test -z "$CC_FOR_BUILD"; then 6352 # Extract the first word of "cc", so it can be a program name with args. 6353 set dummy cc; ac_word=$2 6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6355 $as_echo_n "checking for $ac_word... " >&6; } 6356 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 6357 $as_echo_n "(cached) " >&6 6358 else 6359 if test -n "$CC_FOR_BUILD"; then 6360 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 6361 else 6362 ac_prog_rejected=no 6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6364 for as_dir in $PATH 6365 do 6366 IFS=$as_save_IFS 6367 test -z "$as_dir" && as_dir=. 6368 for ac_exec_ext in '' $ac_executable_extensions; do 6369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6370 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 6371 ac_prog_rejected=yes 6372 continue 6373 fi 6374 ac_cv_prog_CC_FOR_BUILD="cc" 6375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6376 break 2 6377 fi 6378 done 6379 done 6380 IFS=$as_save_IFS 6381 6382 if test $ac_prog_rejected = yes; then 6383 # We found a bogon in the path, so make sure we never use it. 6384 set dummy $ac_cv_prog_CC_FOR_BUILD 6385 shift 6386 if test $# != 0; then 6387 # We chose a different compiler from the bogus one. 6388 # However, it has the same basename, so the bogon will be chosen 6389 # first if we set CC_FOR_BUILD to just the basename; use the full file name. 6390 shift 6391 ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@" 6392 fi 6393 fi 6394 fi 6395 fi 6396 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 6397 if test -n "$CC_FOR_BUILD"; then 6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 6399 $as_echo "$CC_FOR_BUILD" >&6; } 6400 else 6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6402 $as_echo "no" >&6; } 6403 fi 6404 6405 6406 fi 6407 if test -z "$CC_FOR_BUILD"; then 6408 if test -n "$ac_tool_prefix"; then 6409 for ac_prog in cl.exe 6410 do 6411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6414 $as_echo_n "checking for $ac_word... " >&6; } 6415 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 6416 $as_echo_n "(cached) " >&6 6417 else 6418 if test -n "$CC_FOR_BUILD"; then 6419 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 6420 else 6421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6422 for as_dir in $PATH 6423 do 6424 IFS=$as_save_IFS 6425 test -z "$as_dir" && as_dir=. 6426 for ac_exec_ext in '' $ac_executable_extensions; do 6427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6428 ac_cv_prog_CC_FOR_BUILD="$ac_tool_prefix$ac_prog" 6429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6430 break 2 6431 fi 6432 done 6433 done 6434 IFS=$as_save_IFS 6435 6436 fi 6437 fi 6438 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 6439 if test -n "$CC_FOR_BUILD"; then 6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 6441 $as_echo "$CC_FOR_BUILD" >&6; } 6442 else 6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6444 $as_echo "no" >&6; } 6445 fi 6446 6447 6448 test -n "$CC_FOR_BUILD" && break 6449 done 6450 fi 6451 if test -z "$CC_FOR_BUILD"; then 6452 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD 6453 for ac_prog in cl.exe 6454 do 6455 # Extract the first word of "$ac_prog", so it can be a program name with args. 6456 set dummy $ac_prog; ac_word=$2 6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6458 $as_echo_n "checking for $ac_word... " >&6; } 6459 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then : 6460 $as_echo_n "(cached) " >&6 6461 else 6462 if test -n "$ac_ct_CC_FOR_BUILD"; then 6463 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test. 6464 else 6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6466 for as_dir in $PATH 6467 do 6468 IFS=$as_save_IFS 6469 test -z "$as_dir" && as_dir=. 6470 for ac_exec_ext in '' $ac_executable_extensions; do 6471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6472 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog" 6473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6474 break 2 6475 fi 6476 done 6477 done 6478 IFS=$as_save_IFS 6479 6480 fi 6481 fi 6482 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD 6483 if test -n "$ac_ct_CC_FOR_BUILD"; then 6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 6485 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; } 6486 else 6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6488 $as_echo "no" >&6; } 6489 fi 6490 6491 6492 test -n "$ac_ct_CC_FOR_BUILD" && break 6493 done 6494 6495 if test "x$ac_ct_CC_FOR_BUILD" = x; then 6496 CC_FOR_BUILD="" 6497 else 6498 case $cross_compiling:$ac_tool_warned in 6499 yes:) 6500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5 6501 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;} 6502 ac_tool_warned=yes ;; 6503 esac 6504 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD 6505 fi 6506 fi 6507 6508 fi 6509 6510 6511 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6513 as_fn_error $? "no acceptable C compiler found in \$PATH 6514 See \`config.log' for more details" "$LINENO" 5; } 6515 6516 # Provide some information about the compiler. 6517 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 6518 set X $ac_compile 6519 ac_compiler=$2 6520 for ac_option in --version -v -V -qversion; do 6521 { { ac_try="$ac_compiler $ac_option >&5" 6522 case "(($ac_try" in 6523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6524 *) ac_try_echo=$ac_try;; 6525 esac 6526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6527 $as_echo "$ac_try_echo"; } >&5 6528 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 6529 ac_status=$? 6530 if test -s conftest.err; then 6531 sed '10a\ 6532 ... rest of stderr output deleted ... 6533 10q' conftest.err >conftest.er1 6534 cat conftest.er1 >&5 6535 fi 6536 rm -f conftest.er1 conftest.err 6537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6538 test $ac_status = 0; } 6539 done 6540 6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 6542 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 6543 if ${ac_cv_c_compiler_gnu+:} false; then : 6544 $as_echo_n "(cached) " >&6 6545 else 6546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6547 /* end confdefs.h. */ 6548 6549 int 6550 main () 6551 { 6552 #ifndef __GNUC__ 6553 choke me 6554 #endif 6555 6556 ; 6557 return 0; 6558 } 6559 _ACEOF 6560 if ac_fn_c_try_compile "$LINENO"; then : 6561 ac_compiler_gnu=yes 6562 else 6563 ac_compiler_gnu=no 6564 fi 6565 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6566 ac_cv_c_compiler_gnu=$ac_compiler_gnu 6567 6568 fi 6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 6570 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 6571 if test $ac_compiler_gnu = yes; then 6572 GCC=yes 6573 else 6574 GCC= 6575 fi 6576 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set} 6577 ac_save_CFLAGS=$CFLAGS_FOR_BUILD 6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5 6579 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; } 6580 if ${ac_cv_build_prog_cc_g+:} false; then : 6581 $as_echo_n "(cached) " >&6 6582 else 6583 ac_save_c_werror_flag=$ac_c_werror_flag 6584 ac_c_werror_flag=yes 6585 ac_cv_build_prog_cc_g=no 6586 CFLAGS_FOR_BUILD="-g" 6587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6588 /* end confdefs.h. */ 6589 6590 int 6591 main () 6592 { 6593 6594 ; 6595 return 0; 6596 } 6597 _ACEOF 6598 if ac_fn_c_try_compile "$LINENO"; then : 6599 ac_cv_build_prog_cc_g=yes 6600 else 6601 CFLAGS_FOR_BUILD="" 6602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6603 /* end confdefs.h. */ 6604 6605 int 6606 main () 6607 { 6608 6609 ; 6610 return 0; 6611 } 6612 _ACEOF 6613 if ac_fn_c_try_compile "$LINENO"; then : 6614 6615 else 6616 ac_c_werror_flag=$ac_save_c_werror_flag 6617 CFLAGS_FOR_BUILD="-g" 6618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6619 /* end confdefs.h. */ 6620 6621 int 6622 main () 6623 { 6624 6625 ; 6626 return 0; 6627 } 6628 _ACEOF 6629 if ac_fn_c_try_compile "$LINENO"; then : 6630 ac_cv_build_prog_cc_g=yes 6631 fi 6632 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6633 fi 6634 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6635 fi 6636 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6637 ac_c_werror_flag=$ac_save_c_werror_flag 6638 fi 6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5 6640 $as_echo "$ac_cv_build_prog_cc_g" >&6; } 6641 if test "$ac_test_CFLAGS" = set; then 6642 CFLAGS_FOR_BUILD=$ac_save_CFLAGS 6643 elif test $ac_cv_build_prog_cc_g = yes; then 6644 if test "$GCC" = yes; then 6645 CFLAGS_FOR_BUILD="-g -O2" 6646 else 6647 CFLAGS_FOR_BUILD="-g" 6648 fi 6649 else 6650 if test "$GCC" = yes; then 6651 CFLAGS_FOR_BUILD="-O2" 6652 else 6653 CFLAGS_FOR_BUILD= 6654 fi 6655 fi 6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5 6657 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; } 6658 if ${ac_cv_build_prog_cc_c89+:} false; then : 6659 $as_echo_n "(cached) " >&6 6660 else 6661 ac_cv_build_prog_cc_c89=no 6662 ac_save_CC=$CC_FOR_BUILD 6663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6664 /* end confdefs.h. */ 6665 #include <stdarg.h> 6666 #include <stdio.h> 6667 struct stat; 6668 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 6669 struct buf { int x; }; 6670 FILE * (*rcsopen) (struct buf *, struct stat *, int); 6671 static char *e (p, i) 6672 char **p; 6673 int i; 6674 { 6675 return p[i]; 6676 } 6677 static char *f (char * (*g) (char **, int), char **p, ...) 6678 { 6679 char *s; 6680 va_list v; 6681 va_start (v,p); 6682 s = g (p, va_arg (v,int)); 6683 va_end (v); 6684 return s; 6685 } 6686 6687 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 6688 function prototypes and stuff, but not '\xHH' hex character constants. 6689 These don't provoke an error unfortunately, instead are silently treated 6690 as 'x'. The following induces an error, until -std is added to get 6691 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 6692 array size at least. It's necessary to write '\x00'==0 to get something 6693 that's true only with -std. */ 6694 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 6695 6696 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 6697 inside strings and character constants. */ 6698 #define FOO(x) 'x' 6699 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 6700 6701 int test (int i, double x); 6702 struct s1 {int (*f) (int a);}; 6703 struct s2 {int (*f) (double a);}; 6704 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 6705 int argc; 6706 char **argv; 6707 int 6708 main () 6709 { 6710 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 6711 ; 6712 return 0; 6713 } 6714 _ACEOF 6715 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 6716 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 6717 do 6718 CC_FOR_BUILD="$ac_save_CC $ac_arg" 6719 if ac_fn_c_try_compile "$LINENO"; then : 6720 ac_cv_build_prog_cc_c89=$ac_arg 6721 fi 6722 rm -f core conftest.err conftest.$ac_build_objext 6723 test "x$ac_cv_build_prog_cc_c89" != "xno" && break 6724 done 6725 rm -f conftest.$ac_ext 6726 CC_FOR_BUILD=$ac_save_CC 6727 6728 fi 6729 # AC_CACHE_VAL 6730 case "x$ac_cv_build_prog_cc_c89" in 6731 x) 6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 6733 $as_echo "none needed" >&6; } ;; 6734 xno) 6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 6736 $as_echo "unsupported" >&6; } ;; 6737 *) 6738 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c89" 6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c89" >&5 6740 $as_echo "$ac_cv_build_prog_cc_c89" >&6; } ;; 6741 esac 6742 if test "x$ac_cv_build_prog_cc_c89" != xno; then : 6743 6744 fi 6745 6746 ac_ext=c 6747 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6748 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6749 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6750 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6751 6752 ac_ext=c 6753 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6754 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6755 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6756 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5 6758 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; } 6759 if ${am_cv_build_prog_cc_c_o+:} false; then : 6760 $as_echo_n "(cached) " >&6 6761 else 6762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6763 /* end confdefs.h. */ 6764 6765 int 6766 main () 6767 { 6768 6769 ; 6770 return 0; 6771 } 6772 _ACEOF 6773 # Make sure it works both with $CC and with simple cc. 6774 # Following AC_PROG_CC_C_O, we do the test twice because some 6775 # compilers refuse to overwrite an existing .o file with -o, 6776 # though they will create one. 6777 am_cv_build_prog_cc_c_o=yes 6778 for am_i in 1 2; do 6779 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5 6780 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5 6781 ac_status=$? 6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6783 (exit $ac_status); } \ 6784 && test -f conftest2.$ac_build_objext; then 6785 : OK 6786 else 6787 am_cv_build_prog_cc_c_o=no 6788 break 6789 fi 6790 done 6791 rm -f core conftest* 6792 unset am_i 6793 fi 6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_prog_cc_c_o" >&5 6795 $as_echo "$am_cv_build_prog_cc_c_o" >&6; } 6796 if test "$am_cv_build_prog_cc_c_o" != yes; then 6797 # Losing compiler, so override with the script. 6798 # FIXME: It is wrong to rewrite CC. 6799 # But if we don't then we get into trouble of one sort or another. 6800 # A longer-term fix would be to have automake use am__CC in this case, 6801 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 6802 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD" 6803 fi 6804 ac_ext=c 6805 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6806 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6807 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6808 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6809 6810 6811 depcc="$CC_FOR_BUILD" am_compiler_list= 6812 6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 6814 $as_echo_n "checking dependency style of $depcc... " >&6; } 6815 if ${am_cv_build_CC_dependencies_compiler_type+:} false; then : 6816 $as_echo_n "(cached) " >&6 6817 else 6818 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6819 # We make a subdir and do the tests there. Otherwise we can end up 6820 # making bogus files that we don't know about and never remove. For 6821 # instance it was reported that on HP-UX the gcc test will end up 6822 # making a dummy file named 'D' -- because '-MD' means "put the output 6823 # in D". 6824 rm -rf conftest.dir 6825 mkdir conftest.dir 6826 # Copy depcomp to subdir because otherwise we won't find it if we're 6827 # using a relative directory. 6828 cp "$am_depcomp" conftest.dir 6829 cd conftest.dir 6830 # We will build objects and dependencies in a subdirectory because 6831 # it helps to detect inapplicable dependency modes. For instance 6832 # both Tru64's cc and ICC support -MD to output dependencies as a 6833 # side effect of compilation, but ICC will put the dependencies in 6834 # the current directory while Tru64 will put them in the object 6835 # directory. 6836 mkdir sub 6837 6838 am_cv_build_CC_dependencies_compiler_type=none 6839 if test "$am_compiler_list" = ""; then 6840 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6841 fi 6842 am__universal=false 6843 case " $depcc " in #( 6844 *\ -arch\ *\ -arch\ *) am__universal=true ;; 6845 esac 6846 6847 for depmode in $am_compiler_list; do 6848 # Setup a source with many dependencies, because some compilers 6849 # like to wrap large dependency lists on column 80 (with \), and 6850 # we should not choose a depcomp mode which is confused by this. 6851 # 6852 # We need to recreate these files for each test, as the compiler may 6853 # overwrite some of them when testing with obscure command lines. 6854 # This happens at least with the AIX C compiler. 6855 : > sub/conftest.c 6856 for i in 1 2 3 4 5 6; do 6857 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6858 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 6859 # Solaris 10 /bin/sh. 6860 echo '/* dummy */' > sub/conftst$i.h 6861 done 6862 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6863 6864 # We check with '-c' and '-o' for the sake of the "dashmstdout" 6865 # mode. It turns out that the SunPro C++ compiler does not properly 6866 # handle '-M -o', and we need to detect this. Also, some Intel 6867 # versions had trouble with output in subdirs. 6868 am__obj=sub/conftest.${OBJEXT-o} 6869 am__minus_obj="-o $am__obj" 6870 case $depmode in 6871 gcc) 6872 # This depmode causes a compiler race in universal mode. 6873 test "$am__universal" = false || continue 6874 ;; 6875 nosideeffect) 6876 # After this tag, mechanisms are not by side-effect, so they'll 6877 # only be used when explicitly requested. 6878 if test "x$enable_dependency_tracking" = xyes; then 6879 continue 6880 else 6881 break 6882 fi 6883 ;; 6884 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 6885 # This compiler won't grok '-c -o', but also, the minuso test has 6886 # not run yet. These depmodes are late enough in the game, and 6887 # so weak that their functioning should not be impacted. 6888 am__obj=conftest.${OBJEXT-o} 6889 am__minus_obj= 6890 ;; 6891 none) break ;; 6892 esac 6893 if depmode=$depmode \ 6894 source=sub/conftest.c object=$am__obj \ 6895 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6896 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6897 >/dev/null 2>conftest.err && 6898 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 6899 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6900 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6901 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6902 # icc doesn't choke on unknown options, it will just issue warnings 6903 # or remarks (even with -Werror). So we grep stderr for any message 6904 # that says an option was ignored or not supported. 6905 # When given -MP, icc 7.0 and 7.1 complain thusly: 6906 # icc: Command line warning: ignoring option '-M'; no argument required 6907 # The diagnosis changed in icc 8.0: 6908 # icc: Command line remark: option '-MP' not supported 6909 if (grep 'ignoring option' conftest.err || 6910 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6911 am_cv_build_CC_dependencies_compiler_type=$depmode 6912 break 6913 fi 6914 fi 6915 done 6916 6917 cd .. 6918 rm -rf conftest.dir 6919 else 6920 am_cv_build_CC_dependencies_compiler_type=none 6921 fi 6922 6923 fi 6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_CC_dependencies_compiler_type" >&5 6925 $as_echo "$am_cv_build_CC_dependencies_compiler_type" >&6; } 6926 CCDEPMODE=depmode=$am_cv_build_CC_dependencies_compiler_type 6927 6928 if 6929 test "x$enable_dependency_tracking" != xno \ 6930 && test "$am_cv_build_CC_dependencies_compiler_type" = gcc3; then 6931 am__fastdepCC_TRUE= 6932 am__fastdepCC_FALSE='#' 6933 else 6934 am__fastdepCC_TRUE='#' 6935 am__fastdepCC_FALSE= 6936 fi 6937 6938 6939 ac_ext=c 6940 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6941 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6942 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6943 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6945 $as_echo_n "checking how to run the C preprocessor... " >&6; } 6946 # On Suns, sometimes $CPP names a directory. 6947 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then 6948 CPP_FOR_BUILD= 6949 fi 6950 if test -z "$CPP_FOR_BUILD"; then 6951 if ${ac_cv_build_prog_CPP+:} false; then : 6952 $as_echo_n "(cached) " >&6 6953 else 6954 # Double quotes because CPP needs to be expanded 6955 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp" 6956 do 6957 ac_preproc_ok=false 6958 for ac_c_preproc_warn_flag in '' yes 6959 do 6960 # Use a header file that comes with gcc, so configuring glibc 6961 # with a fresh cross-compiler works. 6962 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6963 # <limits.h> exists even on freestanding compilers. 6964 # On the NeXT, cc -E runs the code through the compiler's parser, 6965 # not just through cpp. "Syntax error" is here to catch this case. 6966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6967 /* end confdefs.h. */ 6968 #ifdef __STDC__ 6969 # include <limits.h> 6970 #else 6971 # include <assert.h> 6972 #endif 6973 Syntax error 6974 _ACEOF 6975 if ac_fn_c_try_cpp "$LINENO"; then : 6976 6977 else 6978 # Broken: fails on valid input. 6979 continue 6980 fi 6981 rm -f conftest.err conftest.i conftest.$ac_ext 6982 6983 # OK, works on sane cases. Now check whether nonexistent headers 6984 # can be detected and how. 6985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6986 /* end confdefs.h. */ 6987 #include <ac_nonexistent.h> 6988 _ACEOF 6989 if ac_fn_c_try_cpp "$LINENO"; then : 6990 # Broken: success on invalid input. 6991 continue 6992 else 6993 # Passes both tests. 6994 ac_preproc_ok=: 6995 break 6996 fi 6997 rm -f conftest.err conftest.i conftest.$ac_ext 6998 6999 done 7000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7001 rm -f conftest.i conftest.err conftest.$ac_ext 7002 if $ac_preproc_ok; then : 7003 break 7004 fi 7005 7006 done 7007 ac_cv_build_prog_CPP=$CPP_FOR_BUILD 7008 7009 fi 7010 CPP_FOR_BUILD=$ac_cv_build_prog_CPP 7011 else 7012 ac_cv_build_prog_CPP=$CPP_FOR_BUILD 7013 fi 7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5 7015 $as_echo "$CPP_FOR_BUILD" >&6; } 7016 ac_preproc_ok=false 7017 for ac_c_preproc_warn_flag in '' yes 7018 do 7019 # Use a header file that comes with gcc, so configuring glibc 7020 # with a fresh cross-compiler works. 7021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7022 # <limits.h> exists even on freestanding compilers. 7023 # On the NeXT, cc -E runs the code through the compiler's parser, 7024 # not just through cpp. "Syntax error" is here to catch this case. 7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7026 /* end confdefs.h. */ 7027 #ifdef __STDC__ 7028 # include <limits.h> 7029 #else 7030 # include <assert.h> 7031 #endif 7032 Syntax error 7033 _ACEOF 7034 if ac_fn_c_try_cpp "$LINENO"; then : 7035 7036 else 7037 # Broken: fails on valid input. 7038 continue 7039 fi 7040 rm -f conftest.err conftest.i conftest.$ac_ext 7041 7042 # OK, works on sane cases. Now check whether nonexistent headers 7043 # can be detected and how. 7044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7045 /* end confdefs.h. */ 7046 #include <ac_nonexistent.h> 7047 _ACEOF 7048 if ac_fn_c_try_cpp "$LINENO"; then : 7049 # Broken: success on invalid input. 7050 continue 7051 else 7052 # Passes both tests. 7053 ac_preproc_ok=: 7054 break 7055 fi 7056 rm -f conftest.err conftest.i conftest.$ac_ext 7057 7058 done 7059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7060 rm -f conftest.i conftest.err conftest.$ac_ext 7061 if $ac_preproc_ok; then : 7062 7063 else 7064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7066 as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check 7067 See \`config.log' for more details" "$LINENO" 5; } 7068 fi 7069 7070 ac_ext=c 7071 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 7072 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 7073 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 7074 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7075 7076 7077 7078 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7080 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7081 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7082 $as_echo_n "(cached) " >&6 7083 else 7084 7085 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7086 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7088 /* end confdefs.h. */ 7089 7090 int 7091 main () 7092 { 7093 7094 ; 7095 return 0; 7096 } 7097 _ACEOF 7098 if ac_fn_c_try_link "$LINENO"; then : 7099 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7100 else 7101 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7102 fi 7103 rm -f core conftest.err conftest.$ac_build_objext \ 7104 conftest$ac_build_exeext conftest.$ac_ext 7105 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7106 7107 fi 7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7109 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7110 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7111 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7112 else 7113 gl_build_unknown_warnings_are_errors= 7114 fi 7115 7116 7117 fi 7118 7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wall" >&5 7120 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wall... " >&6; } 7121 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wall+:} false; then : 7122 $as_echo_n "(cached) " >&6 7123 else 7124 7125 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7126 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wall" 7127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7128 /* end confdefs.h. */ 7129 7130 int 7131 main () 7132 { 7133 7134 ; 7135 return 0; 7136 } 7137 _ACEOF 7138 if ac_fn_c_try_link "$LINENO"; then : 7139 gl_cv_warn_CFLAGS_FOR_BUILD__Wall=yes 7140 else 7141 gl_cv_warn_CFLAGS_FOR_BUILD__Wall=no 7142 fi 7143 rm -f core conftest.err conftest.$ac_build_objext \ 7144 conftest$ac_build_exeext conftest.$ac_ext 7145 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7146 7147 fi 7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&5 7149 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&6; } 7150 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" = xyes; then : 7151 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wall" 7152 fi 7153 7154 7155 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7157 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7158 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7159 $as_echo_n "(cached) " >&6 7160 else 7161 7162 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7163 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7165 /* end confdefs.h. */ 7166 7167 int 7168 main () 7169 { 7170 7171 ; 7172 return 0; 7173 } 7174 _ACEOF 7175 if ac_fn_c_try_link "$LINENO"; then : 7176 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7177 else 7178 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7179 fi 7180 rm -f core conftest.err conftest.$ac_build_objext \ 7181 conftest$ac_build_exeext conftest.$ac_ext 7182 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7183 7184 fi 7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7186 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7187 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7188 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7189 else 7190 gl_build_unknown_warnings_are_errors= 7191 fi 7192 7193 7194 fi 7195 7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wempty-body" >&5 7197 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wempty-body... " >&6; } 7198 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body+:} false; then : 7199 $as_echo_n "(cached) " >&6 7200 else 7201 7202 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7203 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wempty-body" 7204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7205 /* end confdefs.h. */ 7206 7207 int 7208 main () 7209 { 7210 7211 ; 7212 return 0; 7213 } 7214 _ACEOF 7215 if ac_fn_c_try_link "$LINENO"; then : 7216 gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=yes 7217 else 7218 gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=no 7219 fi 7220 rm -f core conftest.err conftest.$ac_build_objext \ 7221 conftest$ac_build_exeext conftest.$ac_ext 7222 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7223 7224 fi 7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&5 7226 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&6; } 7227 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" = xyes; then : 7228 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wempty-body" 7229 fi 7230 7231 7232 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7234 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7235 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7236 $as_echo_n "(cached) " >&6 7237 else 7238 7239 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7240 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7242 /* end confdefs.h. */ 7243 7244 int 7245 main () 7246 { 7247 7248 ; 7249 return 0; 7250 } 7251 _ACEOF 7252 if ac_fn_c_try_link "$LINENO"; then : 7253 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7254 else 7255 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7256 fi 7257 rm -f core conftest.err conftest.$ac_build_objext \ 7258 conftest$ac_build_exeext conftest.$ac_ext 7259 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7260 7261 fi 7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7263 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7264 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7265 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7266 else 7267 gl_build_unknown_warnings_are_errors= 7268 fi 7269 7270 7271 fi 7272 7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wformat-security" >&5 7274 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wformat-security... " >&6; } 7275 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security+:} false; then : 7276 $as_echo_n "(cached) " >&6 7277 else 7278 7279 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7280 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wformat-security" 7281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7282 /* end confdefs.h. */ 7283 7284 int 7285 main () 7286 { 7287 7288 ; 7289 return 0; 7290 } 7291 _ACEOF 7292 if ac_fn_c_try_link "$LINENO"; then : 7293 gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=yes 7294 else 7295 gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=no 7296 fi 7297 rm -f core conftest.err conftest.$ac_build_objext \ 7298 conftest$ac_build_exeext conftest.$ac_ext 7299 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7300 7301 fi 7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&5 7303 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&6; } 7304 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" = xyes; then : 7305 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wformat-security" 7306 fi 7307 7308 7309 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7311 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7312 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7313 $as_echo_n "(cached) " >&6 7314 else 7315 7316 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7317 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7319 /* end confdefs.h. */ 7320 7321 int 7322 main () 7323 { 7324 7325 ; 7326 return 0; 7327 } 7328 _ACEOF 7329 if ac_fn_c_try_link "$LINENO"; then : 7330 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7331 else 7332 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7333 fi 7334 rm -f core conftest.err conftest.$ac_build_objext \ 7335 conftest$ac_build_exeext conftest.$ac_ext 7336 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7337 7338 fi 7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7340 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7341 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7342 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7343 else 7344 gl_build_unknown_warnings_are_errors= 7345 fi 7346 7347 7348 fi 7349 7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wignored-qualifiers" >&5 7351 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wignored-qualifiers... " >&6; } 7352 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers+:} false; then : 7353 $as_echo_n "(cached) " >&6 7354 else 7355 7356 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7357 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wignored-qualifiers" 7358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7359 /* end confdefs.h. */ 7360 7361 int 7362 main () 7363 { 7364 7365 ; 7366 return 0; 7367 } 7368 _ACEOF 7369 if ac_fn_c_try_link "$LINENO"; then : 7370 gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=yes 7371 else 7372 gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=no 7373 fi 7374 rm -f core conftest.err conftest.$ac_build_objext \ 7375 conftest$ac_build_exeext conftest.$ac_ext 7376 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7377 7378 fi 7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&5 7380 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&6; } 7381 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" = xyes; then : 7382 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wignored-qualifiers" 7383 fi 7384 7385 7386 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7388 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7389 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7390 $as_echo_n "(cached) " >&6 7391 else 7392 7393 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7394 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7396 /* end confdefs.h. */ 7397 7398 int 7399 main () 7400 { 7401 7402 ; 7403 return 0; 7404 } 7405 _ACEOF 7406 if ac_fn_c_try_link "$LINENO"; then : 7407 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7408 else 7409 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7410 fi 7411 rm -f core conftest.err conftest.$ac_build_objext \ 7412 conftest$ac_build_exeext conftest.$ac_ext 7413 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7414 7415 fi 7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7417 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7418 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7419 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7420 else 7421 gl_build_unknown_warnings_are_errors= 7422 fi 7423 7424 7425 fi 7426 7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wimplicit-fallthrough=5" >&5 7428 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wimplicit-fallthrough=5... " >&6; } 7429 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5+:} false; then : 7430 $as_echo_n "(cached) " >&6 7431 else 7432 7433 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7434 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wimplicit-fallthrough=5" 7435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7436 /* end confdefs.h. */ 7437 7438 int 7439 main () 7440 { 7441 7442 ; 7443 return 0; 7444 } 7445 _ACEOF 7446 if ac_fn_c_try_link "$LINENO"; then : 7447 gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5=yes 7448 else 7449 gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5=no 7450 fi 7451 rm -f core conftest.err conftest.$ac_build_objext \ 7452 conftest$ac_build_exeext conftest.$ac_ext 7453 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7454 7455 fi 7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5" >&5 7457 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5" >&6; } 7458 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5" = xyes; then : 7459 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wimplicit-fallthrough=5" 7460 fi 7461 7462 7463 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7465 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7466 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7467 $as_echo_n "(cached) " >&6 7468 else 7469 7470 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7471 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7473 /* end confdefs.h. */ 7474 7475 int 7476 main () 7477 { 7478 7479 ; 7480 return 0; 7481 } 7482 _ACEOF 7483 if ac_fn_c_try_link "$LINENO"; then : 7484 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7485 else 7486 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7487 fi 7488 rm -f core conftest.err conftest.$ac_build_objext \ 7489 conftest$ac_build_exeext conftest.$ac_ext 7490 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7491 7492 fi 7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7494 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7495 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7496 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7497 else 7498 gl_build_unknown_warnings_are_errors= 7499 fi 7500 7501 7502 fi 7503 7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Winit-self" >&5 7505 $as_echo_n "checking whether $CC_FOR_BUILD handles -Winit-self... " >&6; } 7506 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self+:} false; then : 7507 $as_echo_n "(cached) " >&6 7508 else 7509 7510 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7511 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Winit-self" 7512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7513 /* end confdefs.h. */ 7514 7515 int 7516 main () 7517 { 7518 7519 ; 7520 return 0; 7521 } 7522 _ACEOF 7523 if ac_fn_c_try_link "$LINENO"; then : 7524 gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=yes 7525 else 7526 gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=no 7527 fi 7528 rm -f core conftest.err conftest.$ac_build_objext \ 7529 conftest$ac_build_exeext conftest.$ac_ext 7530 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7531 7532 fi 7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&5 7534 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&6; } 7535 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" = xyes; then : 7536 as_fn_append WARN_CFLAGS_FOR_BUILD " -Winit-self" 7537 fi 7538 7539 7540 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7542 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7543 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7544 $as_echo_n "(cached) " >&6 7545 else 7546 7547 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7548 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7550 /* end confdefs.h. */ 7551 7552 int 7553 main () 7554 { 7555 7556 ; 7557 return 0; 7558 } 7559 _ACEOF 7560 if ac_fn_c_try_link "$LINENO"; then : 7561 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7562 else 7563 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7564 fi 7565 rm -f core conftest.err conftest.$ac_build_objext \ 7566 conftest$ac_build_exeext conftest.$ac_ext 7567 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7568 7569 fi 7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7571 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7572 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7573 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7574 else 7575 gl_build_unknown_warnings_are_errors= 7576 fi 7577 7578 7579 fi 7580 7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Winitializer-overrides" >&5 7582 $as_echo_n "checking whether $CC_FOR_BUILD handles -Winitializer-overrides... " >&6; } 7583 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides+:} false; then : 7584 $as_echo_n "(cached) " >&6 7585 else 7586 7587 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7588 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Winitializer-overrides" 7589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7590 /* end confdefs.h. */ 7591 7592 int 7593 main () 7594 { 7595 7596 ; 7597 return 0; 7598 } 7599 _ACEOF 7600 if ac_fn_c_try_link "$LINENO"; then : 7601 gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides=yes 7602 else 7603 gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides=no 7604 fi 7605 rm -f core conftest.err conftest.$ac_build_objext \ 7606 conftest$ac_build_exeext conftest.$ac_ext 7607 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7608 7609 fi 7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides" >&5 7611 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides" >&6; } 7612 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides" = xyes; then : 7613 as_fn_append WARN_CFLAGS_FOR_BUILD " -Winitializer-overrides" 7614 fi 7615 7616 7617 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7619 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7620 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7621 $as_echo_n "(cached) " >&6 7622 else 7623 7624 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7625 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7627 /* end confdefs.h. */ 7628 7629 int 7630 main () 7631 { 7632 7633 ; 7634 return 0; 7635 } 7636 _ACEOF 7637 if ac_fn_c_try_link "$LINENO"; then : 7638 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7639 else 7640 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7641 fi 7642 rm -f core conftest.err conftest.$ac_build_objext \ 7643 conftest$ac_build_exeext conftest.$ac_ext 7644 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7645 7646 fi 7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7648 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7649 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7650 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7651 else 7652 gl_build_unknown_warnings_are_errors= 7653 fi 7654 7655 7656 fi 7657 7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wlogical-op" >&5 7659 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wlogical-op... " >&6; } 7660 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op+:} false; then : 7661 $as_echo_n "(cached) " >&6 7662 else 7663 7664 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7665 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wlogical-op" 7666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7667 /* end confdefs.h. */ 7668 7669 int 7670 main () 7671 { 7672 7673 ; 7674 return 0; 7675 } 7676 _ACEOF 7677 if ac_fn_c_try_link "$LINENO"; then : 7678 gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=yes 7679 else 7680 gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=no 7681 fi 7682 rm -f core conftest.err conftest.$ac_build_objext \ 7683 conftest$ac_build_exeext conftest.$ac_ext 7684 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7685 7686 fi 7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&5 7688 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&6; } 7689 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" = xyes; then : 7690 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wlogical-op" 7691 fi 7692 7693 7694 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7696 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7697 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7698 $as_echo_n "(cached) " >&6 7699 else 7700 7701 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7702 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7704 /* end confdefs.h. */ 7705 7706 int 7707 main () 7708 { 7709 7710 ; 7711 return 0; 7712 } 7713 _ACEOF 7714 if ac_fn_c_try_link "$LINENO"; then : 7715 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7716 else 7717 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7718 fi 7719 rm -f core conftest.err conftest.$ac_build_objext \ 7720 conftest$ac_build_exeext conftest.$ac_ext 7721 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7722 7723 fi 7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7725 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7726 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7727 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7728 else 7729 gl_build_unknown_warnings_are_errors= 7730 fi 7731 7732 7733 fi 7734 7735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type" >&5 7736 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type... " >&6; } 7737 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type+:} false; then : 7738 $as_echo_n "(cached) " >&6 7739 else 7740 7741 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7742 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wmissing-parameter-type" 7743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7744 /* end confdefs.h. */ 7745 7746 int 7747 main () 7748 { 7749 7750 ; 7751 return 0; 7752 } 7753 _ACEOF 7754 if ac_fn_c_try_link "$LINENO"; then : 7755 gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=yes 7756 else 7757 gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=no 7758 fi 7759 rm -f core conftest.err conftest.$ac_build_objext \ 7760 conftest$ac_build_exeext conftest.$ac_ext 7761 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7762 7763 fi 7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&5 7765 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&6; } 7766 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" = xyes; then : 7767 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wmissing-parameter-type" 7768 fi 7769 7770 7771 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7773 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7774 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7775 $as_echo_n "(cached) " >&6 7776 else 7777 7778 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7779 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7781 /* end confdefs.h. */ 7782 7783 int 7784 main () 7785 { 7786 7787 ; 7788 return 0; 7789 } 7790 _ACEOF 7791 if ac_fn_c_try_link "$LINENO"; then : 7792 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7793 else 7794 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7795 fi 7796 rm -f core conftest.err conftest.$ac_build_objext \ 7797 conftest$ac_build_exeext conftest.$ac_ext 7798 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7799 7800 fi 7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7802 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7803 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7804 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7805 else 7806 gl_build_unknown_warnings_are_errors= 7807 fi 7808 7809 7810 fi 7811 7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wnested-externs" >&5 7813 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wnested-externs... " >&6; } 7814 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs+:} false; then : 7815 $as_echo_n "(cached) " >&6 7816 else 7817 7818 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7819 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wnested-externs" 7820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7821 /* end confdefs.h. */ 7822 7823 int 7824 main () 7825 { 7826 7827 ; 7828 return 0; 7829 } 7830 _ACEOF 7831 if ac_fn_c_try_link "$LINENO"; then : 7832 gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=yes 7833 else 7834 gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=no 7835 fi 7836 rm -f core conftest.err conftest.$ac_build_objext \ 7837 conftest$ac_build_exeext conftest.$ac_ext 7838 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7839 7840 fi 7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&5 7842 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&6; } 7843 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" = xyes; then : 7844 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wnested-externs" 7845 fi 7846 7847 7848 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7850 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7851 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7852 $as_echo_n "(cached) " >&6 7853 else 7854 7855 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7856 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7858 /* end confdefs.h. */ 7859 7860 int 7861 main () 7862 { 7863 7864 ; 7865 return 0; 7866 } 7867 _ACEOF 7868 if ac_fn_c_try_link "$LINENO"; then : 7869 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7870 else 7871 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7872 fi 7873 rm -f core conftest.err conftest.$ac_build_objext \ 7874 conftest$ac_build_exeext conftest.$ac_ext 7875 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7876 7877 fi 7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7879 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7880 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7881 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7882 else 7883 gl_build_unknown_warnings_are_errors= 7884 fi 7885 7886 7887 fi 7888 7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-declaration" >&5 7890 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-declaration... " >&6; } 7891 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration+:} false; then : 7892 $as_echo_n "(cached) " >&6 7893 else 7894 7895 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7896 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-declaration" 7897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7898 /* end confdefs.h. */ 7899 7900 int 7901 main () 7902 { 7903 7904 ; 7905 return 0; 7906 } 7907 _ACEOF 7908 if ac_fn_c_try_link "$LINENO"; then : 7909 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=yes 7910 else 7911 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=no 7912 fi 7913 rm -f core conftest.err conftest.$ac_build_objext \ 7914 conftest$ac_build_exeext conftest.$ac_ext 7915 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7916 7917 fi 7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&5 7919 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&6; } 7920 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" = xyes; then : 7921 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-declaration" 7922 fi 7923 7924 7925 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7927 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7928 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7929 $as_echo_n "(cached) " >&6 7930 else 7931 7932 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7933 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7935 /* end confdefs.h. */ 7936 7937 int 7938 main () 7939 { 7940 7941 ; 7942 return 0; 7943 } 7944 _ACEOF 7945 if ac_fn_c_try_link "$LINENO"; then : 7946 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7947 else 7948 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7949 fi 7950 rm -f core conftest.err conftest.$ac_build_objext \ 7951 conftest$ac_build_exeext conftest.$ac_ext 7952 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7953 7954 fi 7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7956 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7957 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7958 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7959 else 7960 gl_build_unknown_warnings_are_errors= 7961 fi 7962 7963 7964 fi 7965 7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-definition" >&5 7967 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-definition... " >&6; } 7968 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition+:} false; then : 7969 $as_echo_n "(cached) " >&6 7970 else 7971 7972 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7973 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-definition" 7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7975 /* end confdefs.h. */ 7976 7977 int 7978 main () 7979 { 7980 7981 ; 7982 return 0; 7983 } 7984 _ACEOF 7985 if ac_fn_c_try_link "$LINENO"; then : 7986 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=yes 7987 else 7988 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=no 7989 fi 7990 rm -f core conftest.err conftest.$ac_build_objext \ 7991 conftest$ac_build_exeext conftest.$ac_ext 7992 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7993 7994 fi 7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&5 7996 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&6; } 7997 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" = xyes; then : 7998 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-definition" 7999 fi 8000 8001 8002 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 8004 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 8005 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 8006 $as_echo_n "(cached) " >&6 8007 else 8008 8009 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 8010 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 8011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8012 /* end confdefs.h. */ 8013 8014 int 8015 main () 8016 { 8017 8018 ; 8019 return 0; 8020 } 8021 _ACEOF 8022 if ac_fn_c_try_link "$LINENO"; then : 8023 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 8024 else 8025 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 8026 fi 8027 rm -f core conftest.err conftest.$ac_build_objext \ 8028 conftest$ac_build_exeext conftest.$ac_ext 8029 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 8030 8031 fi 8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 8033 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 8034 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 8035 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 8036 else 8037 gl_build_unknown_warnings_are_errors= 8038 fi 8039 8040 8041 fi 8042 8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Woverride-init" >&5 8044 $as_echo_n "checking whether $CC_FOR_BUILD handles -Woverride-init... " >&6; } 8045 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init+:} false; then : 8046 $as_echo_n "(cached) " >&6 8047 else 8048 8049 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 8050 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Woverride-init" 8051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8052 /* end confdefs.h. */ 8053 8054 int 8055 main () 8056 { 8057 8058 ; 8059 return 0; 8060 } 8061 _ACEOF 8062 if ac_fn_c_try_link "$LINENO"; then : 8063 gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init=yes 8064 else 8065 gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init=no 8066 fi 8067 rm -f core conftest.err conftest.$ac_build_objext \ 8068 conftest$ac_build_exeext conftest.$ac_ext 8069 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 8070 8071 fi 8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init" >&5 8073 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init" >&6; } 8074 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init" = xyes; then : 8075 as_fn_append WARN_CFLAGS_FOR_BUILD " -Woverride-init" 8076 fi 8077 8078 8079 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 8081 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 8082 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 8083 $as_echo_n "(cached) " >&6 8084 else 8085 8086 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 8087 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 8088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8089 /* end confdefs.h. */ 8090 8091 int 8092 main () 8093 { 8094 8095 ; 8096 return 0; 8097 } 8098 _ACEOF 8099 if ac_fn_c_try_link "$LINENO"; then : 8100 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 8101 else 8102 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 8103 fi 8104 rm -f core conftest.err conftest.$ac_build_objext \ 8105 conftest$ac_build_exeext conftest.$ac_ext 8106 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 8107 8108 fi 8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 8110 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 8111 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 8112 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 8113 else 8114 gl_build_unknown_warnings_are_errors= 8115 fi 8116 8117 8118 fi 8119 8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wsign-compare" >&5 8121 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wsign-compare... " >&6; } 8122 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare+:} false; then : 8123 $as_echo_n "(cached) " >&6 8124 else 8125 8126 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 8127 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wsign-compare" 8128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8129 /* end confdefs.h. */ 8130 8131 int 8132 main () 8133 { 8134 8135 ; 8136 return 0; 8137 } 8138 _ACEOF 8139 if ac_fn_c_try_link "$LINENO"; then : 8140 gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=yes 8141 else 8142 gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=no 8143 fi 8144 rm -f core conftest.err conftest.$ac_build_objext \ 8145 conftest$ac_build_exeext conftest.$ac_ext 8146 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 8147 8148 fi 8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&5 8150 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&6; } 8151 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" = xyes; then : 8152 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wsign-compare" 8153 fi 8154 8155 8156 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 8158 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 8159 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 8160 $as_echo_n "(cached) " >&6 8161 else 8162 8163 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 8164 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 8165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8166 /* end confdefs.h. */ 8167 8168 int 8169 main () 8170 { 8171 8172 ; 8173 return 0; 8174 } 8175 _ACEOF 8176 if ac_fn_c_try_link "$LINENO"; then : 8177 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 8178 else 8179 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 8180 fi 8181 rm -f core conftest.err conftest.$ac_build_objext \ 8182 conftest$ac_build_exeext conftest.$ac_ext 8183 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 8184 8185 fi 8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 8187 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 8188 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 8189 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 8190 else 8191 gl_build_unknown_warnings_are_errors= 8192 fi 8193 8194 8195 fi 8196 8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wtype-limits" >&5 8198 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wtype-limits... " >&6; } 8199 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits+:} false; then : 8200 $as_echo_n "(cached) " >&6 8201 else 8202 8203 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 8204 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wtype-limits" 8205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8206 /* end confdefs.h. */ 8207 8208 int 8209 main () 8210 { 8211 8212 ; 8213 return 0; 8214 } 8215 _ACEOF 8216 if ac_fn_c_try_link "$LINENO"; then : 8217 gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=yes 8218 else 8219 gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=no 8220 fi 8221 rm -f core conftest.err conftest.$ac_build_objext \ 8222 conftest$ac_build_exeext conftest.$ac_ext 8223 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 8224 8225 fi 8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&5 8227 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&6; } 8228 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" = xyes; then : 8229 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wtype-limits" 8230 fi 8231 8232 8233 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 8235 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 8236 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 8237 $as_echo_n "(cached) " >&6 8238 else 8239 8240 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 8241 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8243 /* end confdefs.h. */ 8244 8245 int 8246 main () 8247 { 8248 8249 ; 8250 return 0; 8251 } 8252 _ACEOF 8253 if ac_fn_c_try_link "$LINENO"; then : 8254 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 8255 else 8256 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 8257 fi 8258 rm -f core conftest.err conftest.$ac_build_objext \ 8259 conftest$ac_build_exeext conftest.$ac_ext 8260 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 8261 8262 fi 8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 8264 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 8265 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 8266 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 8267 else 8268 gl_build_unknown_warnings_are_errors= 8269 fi 8270 8271 8272 fi 8273 8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wwrite-strings" >&5 8275 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wwrite-strings... " >&6; } 8276 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings+:} false; then : 8277 $as_echo_n "(cached) " >&6 8278 else 8279 8280 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 8281 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wwrite-strings" 8282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8283 /* end confdefs.h. */ 8284 8285 int 8286 main () 8287 { 8288 8289 ; 8290 return 0; 8291 } 8292 _ACEOF 8293 if ac_fn_c_try_link "$LINENO"; then : 8294 gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=yes 8295 else 8296 gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=no 8297 fi 8298 rm -f core conftest.err conftest.$ac_build_objext \ 8299 conftest$ac_build_exeext conftest.$ac_ext 8300 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 8301 8302 fi 8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&5 8304 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&6; } 8305 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" = xyes; then : 8306 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wwrite-strings" 8307 fi 8308 8309 8310 # Check whether --enable-gcc-Werror was given. 8311 if test "${enable_gcc_Werror+set}" = set; then : 8312 enableval=$enable_gcc_Werror; case $enableval in 8313 yes) if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 8315 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 8316 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 8317 $as_echo_n "(cached) " >&6 8318 else 8319 8320 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 8321 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 8322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8323 /* end confdefs.h. */ 8324 8325 int 8326 main () 8327 { 8328 8329 ; 8330 return 0; 8331 } 8332 _ACEOF 8333 if ac_fn_c_try_link "$LINENO"; then : 8334 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 8335 else 8336 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 8337 fi 8338 rm -f core conftest.err conftest.$ac_build_objext \ 8339 conftest$ac_build_exeext conftest.$ac_ext 8340 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 8341 8342 fi 8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 8344 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 8345 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 8346 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 8347 else 8348 gl_build_unknown_warnings_are_errors= 8349 fi 8350 8351 8352 fi 8353 8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror" >&5 8355 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror... " >&6; } 8356 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror+:} false; then : 8357 $as_echo_n "(cached) " >&6 8358 else 8359 8360 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 8361 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror" 8362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8363 /* end confdefs.h. */ 8364 8365 int 8366 main () 8367 { 8368 8369 ; 8370 return 0; 8371 } 8372 _ACEOF 8373 if ac_fn_c_try_link "$LINENO"; then : 8374 gl_cv_warn_CFLAGS_FOR_BUILD__Werror=yes 8375 else 8376 gl_cv_warn_CFLAGS_FOR_BUILD__Werror=no 8377 fi 8378 rm -f core conftest.err conftest.$ac_build_objext \ 8379 conftest$ac_build_exeext conftest.$ac_ext 8380 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 8381 8382 fi 8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&5 8384 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&6; } 8385 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" = xyes; then : 8386 as_fn_append WARN_CFLAGS_FOR_BUILD " -Werror" 8387 fi 8388 8389 ;; 8390 no) ;; 8391 *) as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;; 8392 esac 8393 8394 fi 8395 8396 8397 8398 8399 if test -n "${st_saved_cross_compiling+set}"; then : 8400 cross_compiling="${st_saved_cross_compiling}"; unset st_saved_cross_compiling 8401 fi 8402 8403 if test -n "${st_saved_ac_tool_prefix+set}"; then : 8404 ac_tool_prefix="${st_saved_ac_tool_prefix}"; unset st_saved_ac_tool_prefix 8405 fi 8406 8407 if test -n "${st_saved_ac_link+set}"; then : 8408 ac_link="${st_saved_ac_link}"; unset st_saved_ac_link 8409 fi 8410 8411 if test -n "${st_saved_ac_cv_c_decl_report+set}"; then : 8412 ac_cv_c_decl_report="${st_saved_ac_cv_c_decl_report}"; unset st_saved_ac_cv_c_decl_report 8413 fi 8414 8415 if test -n "${st_saved_ac_cv_c_compiler_gnu+set}"; then : 8416 ac_cv_c_compiler_gnu="${st_saved_ac_cv_c_compiler_gnu}"; unset st_saved_ac_cv_c_compiler_gnu 8417 fi 8418 8419 if test -n "${st_saved_ac_cpp+set}"; then : 8420 ac_cpp="${st_saved_ac_cpp}"; unset st_saved_ac_cpp 8421 fi 8422 8423 if test -n "${st_saved_ac_compiler_gnu+set}"; then : 8424 ac_compiler_gnu="${st_saved_ac_compiler_gnu}"; unset st_saved_ac_compiler_gnu 8425 fi 8426 8427 if test -n "${st_saved_ac_compile+set}"; then : 8428 ac_compile="${st_saved_ac_compile}"; unset st_saved_ac_compile 8429 fi 8430 8431 if test -n "${st_saved_ac_c_werror_flag+set}"; then : 8432 ac_c_werror_flag="${st_saved_ac_c_werror_flag}"; unset st_saved_ac_c_werror_flag 8433 fi 8434 8435 if test -n "${st_saved_ac_c_preproc_warn_flag+set}"; then : 8436 ac_c_preproc_warn_flag="${st_saved_ac_c_preproc_warn_flag}"; unset st_saved_ac_c_preproc_warn_flag 8437 fi 8438 8439 if test -n "${st_saved_ac_c_decl_warn_flag+set}"; then : 8440 ac_c_decl_warn_flag="${st_saved_ac_c_decl_warn_flag}"; unset st_saved_ac_c_decl_warn_flag 8441 fi 8442 8443 8444 8445 BUILD_EXEEXT=$ac_build_exeext 8446 BUILD_OBJEXT=$ac_build_objext 8447 8448 8449 if test -n "$ac_tool_prefix"; then 8450 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 8451 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8453 $as_echo_n "checking for $ac_word... " >&6; } 8454 if ${ac_cv_prog_RANLIB+:} false; then : 8455 $as_echo_n "(cached) " >&6 8456 else 8457 if test -n "$RANLIB"; then 8458 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 8459 else 8460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8461 for as_dir in $PATH 8462 do 8463 IFS=$as_save_IFS 8464 test -z "$as_dir" && as_dir=. 8465 for ac_exec_ext in '' $ac_executable_extensions; do 8466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8467 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 8468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8469 break 2 8470 fi 8471 done 8472 done 8473 IFS=$as_save_IFS 8474 8475 fi 8476 fi 8477 RANLIB=$ac_cv_prog_RANLIB 8478 if test -n "$RANLIB"; then 8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 8480 $as_echo "$RANLIB" >&6; } 8481 else 8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8483 $as_echo "no" >&6; } 8484 fi 8485 8486 8487 fi 8488 if test -z "$ac_cv_prog_RANLIB"; then 8489 ac_ct_RANLIB=$RANLIB 8490 # Extract the first word of "ranlib", so it can be a program name with args. 8491 set dummy ranlib; ac_word=$2 8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8493 $as_echo_n "checking for $ac_word... " >&6; } 8494 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 8495 $as_echo_n "(cached) " >&6 8496 else 8497 if test -n "$ac_ct_RANLIB"; then 8498 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 8499 else 8500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8501 for as_dir in $PATH 8502 do 8503 IFS=$as_save_IFS 8504 test -z "$as_dir" && as_dir=. 8505 for ac_exec_ext in '' $ac_executable_extensions; do 8506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8507 ac_cv_prog_ac_ct_RANLIB="ranlib" 8508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8509 break 2 8510 fi 8511 done 8512 done 8513 IFS=$as_save_IFS 8514 8515 fi 8516 fi 8517 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 8518 if test -n "$ac_ct_RANLIB"; then 8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 8520 $as_echo "$ac_ct_RANLIB" >&6; } 8521 else 8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8523 $as_echo "no" >&6; } 8524 fi 8525 8526 if test "x$ac_ct_RANLIB" = x; then 8527 RANLIB=":" 8528 else 8529 case $cross_compiling:$ac_tool_warned in 8530 yes:) 8531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8533 ac_tool_warned=yes ;; 8534 esac 8535 RANLIB=$ac_ct_RANLIB 8536 fi 8537 else 8538 RANLIB="$ac_cv_prog_RANLIB" 8539 fi 8540 8541 8542 8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 8544 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 8545 if ${ac_cv_path_GREP+:} false; then : 8546 $as_echo_n "(cached) " >&6 8547 else 8548 if test -z "$GREP"; then 8549 ac_path_GREP_found=false 8550 # Loop through the user's path and test for each of PROGNAME-LIST 8551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8552 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 8553 do 8554 IFS=$as_save_IFS 8555 test -z "$as_dir" && as_dir=. 8556 for ac_prog in grep ggrep; do 8557 for ac_exec_ext in '' $ac_executable_extensions; do 8558 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 8559 as_fn_executable_p "$ac_path_GREP" || continue 8560 # Check for GNU ac_path_GREP and select it if it is found. 8561 # Check for GNU $ac_path_GREP 8562 case `"$ac_path_GREP" --version 2>&1` in 8563 *GNU*) 8564 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 8565 *) 8566 ac_count=0 8567 $as_echo_n 0123456789 >"conftest.in" 8568 while : 8569 do 8570 cat "conftest.in" "conftest.in" >"conftest.tmp" 8571 mv "conftest.tmp" "conftest.in" 8572 cp "conftest.in" "conftest.nl" 8573 $as_echo 'GREP' >> "conftest.nl" 8574 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 8575 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 8576 as_fn_arith $ac_count + 1 && ac_count=$as_val 8577 if test $ac_count -gt ${ac_path_GREP_max-0}; then 8578 # Best one so far, save it but keep looking for a better one 8579 ac_cv_path_GREP="$ac_path_GREP" 8580 ac_path_GREP_max=$ac_count 8581 fi 8582 # 10*(2^10) chars as input seems more than enough 8583 test $ac_count -gt 10 && break 8584 done 8585 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 8586 esac 8587 8588 $ac_path_GREP_found && break 3 8589 done 8590 done 8591 done 8592 IFS=$as_save_IFS 8593 if test -z "$ac_cv_path_GREP"; then 8594 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 8595 fi 8596 else 8597 ac_cv_path_GREP=$GREP 8598 fi 8599 8600 fi 8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 8602 $as_echo "$ac_cv_path_GREP" >&6; } 8603 GREP="$ac_cv_path_GREP" 8604 8605 8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 8607 $as_echo_n "checking for egrep... " >&6; } 8608 if ${ac_cv_path_EGREP+:} false; then : 8609 $as_echo_n "(cached) " >&6 8610 else 8611 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 8612 then ac_cv_path_EGREP="$GREP -E" 8613 else 8614 if test -z "$EGREP"; then 8615 ac_path_EGREP_found=false 8616 # Loop through the user's path and test for each of PROGNAME-LIST 8617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8618 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 8619 do 8620 IFS=$as_save_IFS 8621 test -z "$as_dir" && as_dir=. 8622 for ac_prog in egrep; do 8623 for ac_exec_ext in '' $ac_executable_extensions; do 8624 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 8625 as_fn_executable_p "$ac_path_EGREP" || continue 8626 # Check for GNU ac_path_EGREP and select it if it is found. 8627 # Check for GNU $ac_path_EGREP 8628 case `"$ac_path_EGREP" --version 2>&1` in 8629 *GNU*) 8630 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 8631 *) 8632 ac_count=0 8633 $as_echo_n 0123456789 >"conftest.in" 8634 while : 8635 do 8636 cat "conftest.in" "conftest.in" >"conftest.tmp" 8637 mv "conftest.tmp" "conftest.in" 8638 cp "conftest.in" "conftest.nl" 8639 $as_echo 'EGREP' >> "conftest.nl" 8640 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 8641 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 8642 as_fn_arith $ac_count + 1 && ac_count=$as_val 8643 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 8644 # Best one so far, save it but keep looking for a better one 8645 ac_cv_path_EGREP="$ac_path_EGREP" 8646 ac_path_EGREP_max=$ac_count 8647 fi 8648 # 10*(2^10) chars as input seems more than enough 8649 test $ac_count -gt 10 && break 8650 done 8651 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 8652 esac 8653 8654 $ac_path_EGREP_found && break 3 8655 done 8656 done 8657 done 8658 IFS=$as_save_IFS 8659 if test -z "$ac_cv_path_EGREP"; then 8660 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 8661 fi 8662 else 8663 ac_cv_path_EGREP=$EGREP 8664 fi 8665 8666 fi 8667 fi 8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 8669 $as_echo "$ac_cv_path_EGREP" >&6; } 8670 EGREP="$ac_cv_path_EGREP" 8671 8672 8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8674 $as_echo_n "checking for ANSI C header files... " >&6; } 8675 if ${ac_cv_header_stdc+:} false; then : 8676 $as_echo_n "(cached) " >&6 8677 else 8678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8679 /* end confdefs.h. */ 8680 #include <stdlib.h> 8681 #include <stdarg.h> 8682 #include <string.h> 8683 #include <float.h> 8684 8685 int 8686 main () 8687 { 8688 8689 ; 8690 return 0; 8691 } 8692 _ACEOF 8693 if ac_fn_c_try_compile "$LINENO"; then : 8694 ac_cv_header_stdc=yes 8695 else 8696 ac_cv_header_stdc=no 8697 fi 8698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8699 8700 if test $ac_cv_header_stdc = yes; then 8701 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8703 /* end confdefs.h. */ 8704 #include <string.h> 8705 8706 _ACEOF 8707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8708 $EGREP "memchr" >/dev/null 2>&1; then : 8709 8710 else 8711 ac_cv_header_stdc=no 8712 fi 8713 rm -f conftest* 8714 8715 fi 8716 8717 if test $ac_cv_header_stdc = yes; then 8718 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8720 /* end confdefs.h. */ 8721 #include <stdlib.h> 8722 8723 _ACEOF 8724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8725 $EGREP "free" >/dev/null 2>&1; then : 8726 8727 else 8728 ac_cv_header_stdc=no 8729 fi 8730 rm -f conftest* 8731 8732 fi 8733 8734 if test $ac_cv_header_stdc = yes; then 8735 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8736 if test "$cross_compiling" = yes; then : 8737 : 8738 else 8739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8740 /* end confdefs.h. */ 8741 #include <ctype.h> 8742 #include <stdlib.h> 8743 #if ((' ' & 0x0FF) == 0x020) 8744 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8745 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8746 #else 8747 # define ISLOWER(c) \ 8748 (('a' <= (c) && (c) <= 'i') \ 8749 || ('j' <= (c) && (c) <= 'r') \ 8750 || ('s' <= (c) && (c) <= 'z')) 8751 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8752 #endif 8753 8754 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8755 int 8756 main () 8757 { 8758 int i; 8759 for (i = 0; i < 256; i++) 8760 if (XOR (islower (i), ISLOWER (i)) 8761 || toupper (i) != TOUPPER (i)) 8762 return 2; 8763 return 0; 8764 } 8765 _ACEOF 8766 if ac_fn_c_try_run "$LINENO"; then : 8767 8768 else 8769 ac_cv_header_stdc=no 8770 fi 8771 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8772 conftest.$ac_objext conftest.beam conftest.$ac_ext 8773 fi 8774 8775 fi 8776 fi 8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8778 $as_echo "$ac_cv_header_stdc" >&6; } 8779 if test $ac_cv_header_stdc = yes; then 8780 8781 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 8782 8783 fi 8784 8785 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 8786 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8787 inttypes.h stdint.h unistd.h 8788 do : 8789 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8790 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8791 " 8792 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8793 cat >>confdefs.h <<_ACEOF 8794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8795 _ACEOF 8796 8797 fi 8798 8799 done 8800 8801 8802 8803 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 8804 if test "x$ac_cv_header_minix_config_h" = xyes; then : 8805 MINIX=yes 8806 else 8807 MINIX= 8808 fi 8809 8810 8811 if test "$MINIX" = yes; then 8812 8813 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 8814 8815 8816 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 8817 8818 8819 $as_echo "#define _MINIX 1" >>confdefs.h 8820 8821 fi 8822 8823 8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 8825 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 8826 if ${ac_cv_safe_to_define___extensions__+:} false; then : 8827 $as_echo_n "(cached) " >&6 8828 else 8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8830 /* end confdefs.h. */ 8831 8832 # define __EXTENSIONS__ 1 8833 $ac_includes_default 8834 int 8835 main () 8836 { 8837 8838 ; 8839 return 0; 8840 } 8841 _ACEOF 8842 if ac_fn_c_try_compile "$LINENO"; then : 8843 ac_cv_safe_to_define___extensions__=yes 8844 else 8845 ac_cv_safe_to_define___extensions__=no 8846 fi 8847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8848 fi 8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 8850 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 8851 test $ac_cv_safe_to_define___extensions__ = yes && 8852 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 8853 8854 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 8855 8856 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 8857 8858 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 8859 8860 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 8861 8862 8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 8864 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 8865 if ${ac_cv_path_SED+:} false; then : 8866 $as_echo_n "(cached) " >&6 8867 else 8868 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 8869 for ac_i in 1 2 3 4 5 6 7; do 8870 ac_script="$ac_script$as_nl$ac_script" 8871 done 8872 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8873 { ac_script=; unset ac_script;} 8874 if test -z "$SED"; then 8875 ac_path_SED_found=false 8876 # Loop through the user's path and test for each of PROGNAME-LIST 8877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8878 for as_dir in $PATH 8879 do 8880 IFS=$as_save_IFS 8881 test -z "$as_dir" && as_dir=. 8882 for ac_prog in sed gsed; do 8883 for ac_exec_ext in '' $ac_executable_extensions; do 8884 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8885 as_fn_executable_p "$ac_path_SED" || continue 8886 # Check for GNU ac_path_SED and select it if it is found. 8887 # Check for GNU $ac_path_SED 8888 case `"$ac_path_SED" --version 2>&1` in 8889 *GNU*) 8890 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 8891 *) 8892 ac_count=0 8893 $as_echo_n 0123456789 >"conftest.in" 8894 while : 8895 do 8896 cat "conftest.in" "conftest.in" >"conftest.tmp" 8897 mv "conftest.tmp" "conftest.in" 8898 cp "conftest.in" "conftest.nl" 8899 $as_echo '' >> "conftest.nl" 8900 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 8901 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 8902 as_fn_arith $ac_count + 1 && ac_count=$as_val 8903 if test $ac_count -gt ${ac_path_SED_max-0}; then 8904 # Best one so far, save it but keep looking for a better one 8905 ac_cv_path_SED="$ac_path_SED" 8906 ac_path_SED_max=$ac_count 8907 fi 8908 # 10*(2^10) chars as input seems more than enough 8909 test $ac_count -gt 10 && break 8910 done 8911 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 8912 esac 8913 8914 $ac_path_SED_found && break 3 8915 done 8916 done 8917 done 8918 IFS=$as_save_IFS 8919 if test -z "$ac_cv_path_SED"; then 8920 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 8921 fi 8922 else 8923 ac_cv_path_SED=$SED 8924 fi 8925 8926 fi 8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 8928 $as_echo "$ac_cv_path_SED" >&6; } 8929 SED="$ac_cv_path_SED" 8930 rm -f conftest.sed 8931 8932 8933 8934 8935 # allow to override gcov location 8936 8937 # Check whether --with-gcov was given. 8938 if test "${with_gcov+set}" = set; then : 8939 withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov 8940 else 8941 _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov 8942 fi 8943 8944 8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5 8946 $as_echo_n "checking whether to build with code coverage support... " >&6; } 8947 # Check whether --enable-code-coverage was given. 8948 if test "${enable_code_coverage+set}" = set; then : 8949 enableval=$enable_code_coverage; 8950 else 8951 enable_code_coverage=no 8952 fi 8953 8954 8955 if test x$enable_code_coverage = xyes; then 8956 CODE_COVERAGE_ENABLED_TRUE= 8957 CODE_COVERAGE_ENABLED_FALSE='#' 8958 else 8959 CODE_COVERAGE_ENABLED_TRUE='#' 8960 CODE_COVERAGE_ENABLED_FALSE= 8961 fi 8962 8963 CODE_COVERAGE_ENABLED=$enable_code_coverage 8964 8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5 8966 $as_echo "$enable_code_coverage" >&6; } 8967 8968 if test "$enable_code_coverage" = "yes" ; then : 8969 8970 # check for gcov 8971 if test -n "$ac_tool_prefix"; then 8972 # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. 8973 set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8975 $as_echo_n "checking for $ac_word... " >&6; } 8976 if ${ac_cv_prog_GCOV+:} false; then : 8977 $as_echo_n "(cached) " >&6 8978 else 8979 if test -n "$GCOV"; then 8980 ac_cv_prog_GCOV="$GCOV" # Let the user override the test. 8981 else 8982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8983 for as_dir in $PATH 8984 do 8985 IFS=$as_save_IFS 8986 test -z "$as_dir" && as_dir=. 8987 for ac_exec_ext in '' $ac_executable_extensions; do 8988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8989 ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH" 8990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8991 break 2 8992 fi 8993 done 8994 done 8995 IFS=$as_save_IFS 8996 8997 fi 8998 fi 8999 GCOV=$ac_cv_prog_GCOV 9000 if test -n "$GCOV"; then 9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 9002 $as_echo "$GCOV" >&6; } 9003 else 9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9005 $as_echo "no" >&6; } 9006 fi 9007 9008 9009 fi 9010 if test -z "$ac_cv_prog_GCOV"; then 9011 ac_ct_GCOV=$GCOV 9012 # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. 9013 set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9015 $as_echo_n "checking for $ac_word... " >&6; } 9016 if ${ac_cv_prog_ac_ct_GCOV+:} false; then : 9017 $as_echo_n "(cached) " >&6 9018 else 9019 if test -n "$ac_ct_GCOV"; then 9020 ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test. 9021 else 9022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9023 for as_dir in $PATH 9024 do 9025 IFS=$as_save_IFS 9026 test -z "$as_dir" && as_dir=. 9027 for ac_exec_ext in '' $ac_executable_extensions; do 9028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9029 ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH" 9030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9031 break 2 9032 fi 9033 done 9034 done 9035 IFS=$as_save_IFS 9036 9037 fi 9038 fi 9039 ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV 9040 if test -n "$ac_ct_GCOV"; then 9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5 9042 $as_echo "$ac_ct_GCOV" >&6; } 9043 else 9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9045 $as_echo "no" >&6; } 9046 fi 9047 9048 if test "x$ac_ct_GCOV" = x; then 9049 GCOV=":" 9050 else 9051 case $cross_compiling:$ac_tool_warned in 9052 yes:) 9053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9055 ac_tool_warned=yes ;; 9056 esac 9057 GCOV=$ac_ct_GCOV 9058 fi 9059 else 9060 GCOV="$ac_cv_prog_GCOV" 9061 fi 9062 9063 if test "X$GCOV" = "X:"; then : 9064 as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5 9065 fi 9066 9067 9068 if test "$GCC" = "no" ; then : 9069 9070 as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5 9071 9072 fi 9073 9074 # Extract the first word of "lcov", so it can be a program name with args. 9075 set dummy lcov; ac_word=$2 9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9077 $as_echo_n "checking for $ac_word... " >&6; } 9078 if ${ac_cv_prog_LCOV+:} false; then : 9079 $as_echo_n "(cached) " >&6 9080 else 9081 if test -n "$LCOV"; then 9082 ac_cv_prog_LCOV="$LCOV" # Let the user override the test. 9083 else 9084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9085 for as_dir in $PATH 9086 do 9087 IFS=$as_save_IFS 9088 test -z "$as_dir" && as_dir=. 9089 for ac_exec_ext in '' $ac_executable_extensions; do 9090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9091 ac_cv_prog_LCOV="lcov" 9092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9093 break 2 9094 fi 9095 done 9096 done 9097 IFS=$as_save_IFS 9098 9099 fi 9100 fi 9101 LCOV=$ac_cv_prog_LCOV 9102 if test -n "$LCOV"; then 9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 9104 $as_echo "$LCOV" >&6; } 9105 else 9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9107 $as_echo "no" >&6; } 9108 fi 9109 9110 9111 # Extract the first word of "genhtml", so it can be a program name with args. 9112 set dummy genhtml; ac_word=$2 9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9114 $as_echo_n "checking for $ac_word... " >&6; } 9115 if ${ac_cv_prog_GENHTML+:} false; then : 9116 $as_echo_n "(cached) " >&6 9117 else 9118 if test -n "$GENHTML"; then 9119 ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test. 9120 else 9121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9122 for as_dir in $PATH 9123 do 9124 IFS=$as_save_IFS 9125 test -z "$as_dir" && as_dir=. 9126 for ac_exec_ext in '' $ac_executable_extensions; do 9127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9128 ac_cv_prog_GENHTML="genhtml" 9129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9130 break 2 9131 fi 9132 done 9133 done 9134 IFS=$as_save_IFS 9135 9136 fi 9137 fi 9138 GENHTML=$ac_cv_prog_GENHTML 9139 if test -n "$GENHTML"; then 9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5 9141 $as_echo "$GENHTML" >&6; } 9142 else 9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9144 $as_echo "no" >&6; } 9145 fi 9146 9147 9148 9149 if test -z "$LCOV" ; then : 9150 9151 as_fn_error $? "To enable code coverage reporting you must have lcov installed" "$LINENO" 5 9152 9153 fi 9154 9155 if test -z "$GENHTML" ; then : 9156 9157 as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5 9158 9159 fi 9160 9161 CODE_COVERAGE_CPPFLAGS="-DENABLE_COVERAGE_GCOV -DNDEBUG" 9162 CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" 9163 CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" 9164 CODE_COVERAGE_LIBS="-lgcov" 9165 CODE_COVERAGE_LDFLAGS="$CODE_COVERAGE_LIBS" 9166 9167 9168 9169 9170 9171 9172 9173 CODE_COVERAGE_RULES_CHECK=' 9174 -$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check 9175 $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture 9176 ' 9177 CODE_COVERAGE_RULES_CAPTURE=' 9178 $(code_coverage_v_lcov_cap)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(call code_coverage_sanitize,$(PACKAGE_NAME)-$(PACKAGE_VERSION))" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_OPTIONS) 9179 $(code_coverage_v_lcov_ign)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_RMOPTS) 9180 -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp 9181 $(code_coverage_v_genhtml)LANG=C $(GENHTML) $(code_coverage_quiet) $(addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY)) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS) 9182 @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html" 9183 ' 9184 CODE_COVERAGE_RULES_CLEAN=' 9185 clean: code-coverage-clean 9186 distclean: code-coverage-clean 9187 code-coverage-clean: 9188 -$(LCOV) --directory $(top_builddir) -z 9189 -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY) 9190 -find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete 9191 ' 9192 9193 else 9194 9195 CODE_COVERAGE_RULES_CHECK=' 9196 @echo "Need to reconfigure with --enable-code-coverage" 9197 ' 9198 CODE_COVERAGE_RULES_CAPTURE="$CODE_COVERAGE_RULES_CHECK" 9199 CODE_COVERAGE_RULES_CLEAN='' 9200 9201 fi 9202 9203 CODE_COVERAGE_RULES=' 9204 # Code coverage 9205 # 9206 # Optional: 9207 # - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting. 9208 # Multiple directories may be specified, separated by whitespace. 9209 # (Default: $(top_builddir)) 9210 # - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated 9211 # by lcov for code coverage. (Default: 9212 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info) 9213 # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage 9214 # reports to be created. (Default: 9215 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) 9216 # - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage, 9217 # set to 0 to disable it and leave empty to stay with the default. 9218 # (Default: empty) 9219 # - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov 9220 # instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) 9221 # - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov 9222 # instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) 9223 # - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov 9224 # - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the 9225 # collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) 9226 # - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov 9227 # instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) 9228 # - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering 9229 # lcov instance. (Default: empty) 9230 # - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov 9231 # instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) 9232 # - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the 9233 # genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) 9234 # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml 9235 # instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) 9236 # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore 9237 # 9238 # The generated report will be titled using the $(PACKAGE_NAME) and 9239 # $(PACKAGE_VERSION). In order to add the current git hash to the title, 9240 # use the git-version-gen script, available online. 9241 9242 # Optional variables 9243 CODE_COVERAGE_DIRECTORY ?= $(top_builddir) 9244 CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info 9245 CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage 9246 CODE_COVERAGE_BRANCH_COVERAGE ?= 9247 CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ 9248 --rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) 9249 CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) 9250 CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" 9251 CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) 9252 CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) 9253 CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?= 9254 CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) 9255 CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\ 9256 $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ 9257 --rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) 9258 CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) 9259 CODE_COVERAGE_IGNORE_PATTERN ?= 9260 9261 code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V)) 9262 code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY)) 9263 code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\ 9264 $(CODE_COVERAGE_OUTPUT_FILE); 9265 code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V)) 9266 code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY)) 9267 code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\ 9268 $(CODE_COVERAGE_IGNORE_PATTERN); 9269 code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V)) 9270 code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY)) 9271 code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY); 9272 code_coverage_quiet = $(code_coverage_quiet_$(V)) 9273 code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY)) 9274 code_coverage_quiet_0 = --quiet 9275 9276 # sanitizes the test-name: replaces with underscores: dashes and dots 9277 code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1))) 9278 9279 # Use recursive makes in order to ignore errors during check 9280 check-code-coverage:'"$CODE_COVERAGE_RULES_CHECK"' 9281 9282 # Capture code coverage data 9283 code-coverage-capture: code-coverage-capture-hook'"$CODE_COVERAGE_RULES_CAPTURE"' 9284 9285 # Hook rule executed before code-coverage-capture, overridable by the user 9286 code-coverage-capture-hook: 9287 9288 '"$CODE_COVERAGE_RULES_CLEAN"' 9289 9290 GITIGNOREFILES ?= 9291 GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY) 9292 9293 A''M_DISTCHECK_CONFIGURE_FLAGS ?= 9294 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage 9295 9296 .PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean 9297 ' 9298 9299 9300 9301 9302 9303 9304 $as_echo "#define COPYRIGHT_YEAR \"2018\"" >>confdefs.h 9305 9306 COPYRIGHT_YEAR=2018 9307 9308 9309 9310 $as_echo "#define MANPAGE_DATE \"2018-07-07\"" >>confdefs.h 9311 9312 MANPAGE_DATE=2018-07-07 9313 9314 9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported architecture" >&5 9316 $as_echo_n "checking for supported architecture... " >&6; } 9317 arch_m32= 9318 arch_mx32= 9319 cc_flags_m32=-m32 9320 cc_flags_mx32=-mx32 9321 case "$host_cpu" in 9322 aarch64*) 9323 arch=aarch64 9324 arch_m32=arm 9325 9326 $as_echo "#define AARCH64 1" >>confdefs.h 9327 9328 ;; 9329 alpha*) 9330 arch=alpha 9331 9332 $as_echo "#define ALPHA 1" >>confdefs.h 9333 9334 ;; 9335 arc*) 9336 arch=arc 9337 9338 $as_echo "#define ARC 1" >>confdefs.h 9339 9340 ;; 9341 arm*) 9342 arch=arm 9343 9344 $as_echo "#define ARM 1" >>confdefs.h 9345 9346 ;; 9347 avr32*) 9348 arch=avr32 9349 9350 $as_echo "#define AVR32 1" >>confdefs.h 9351 9352 ;; 9353 bfin) 9354 arch=bfin 9355 9356 $as_echo "#define BFIN 1" >>confdefs.h 9357 9358 ;; 9359 hppa*|parisc*) 9360 arch=hppa 9361 9362 $as_echo "#define HPPA 1" >>confdefs.h 9363 9364 ;; 9365 i[3456]86|pentium) 9366 arch=i386 9367 9368 $as_echo "#define I386 1" >>confdefs.h 9369 9370 ;; 9371 ia64) 9372 arch=ia64 9373 9374 $as_echo "#define IA64 1" >>confdefs.h 9375 9376 ;; 9377 m68k) 9378 arch=m68k 9379 9380 $as_echo "#define M68K 1" >>confdefs.h 9381 9382 ;; 9383 metag*) 9384 arch=metag 9385 9386 $as_echo "#define METAG 1" >>confdefs.h 9387 9388 ;; 9389 microblaze*) 9390 arch=microblaze 9391 9392 $as_echo "#define MICROBLAZE 1" >>confdefs.h 9393 9394 ;; 9395 mips*) 9396 arch=mips 9397 9398 $as_echo "#define MIPS 1" >>confdefs.h 9399 9400 ;; 9401 nios2*) 9402 arch=nios2 9403 9404 $as_echo "#define NIOS2 1" >>confdefs.h 9405 9406 ;; 9407 or1k*) 9408 arch=or1k 9409 9410 $as_echo "#define OR1K 1" >>confdefs.h 9411 9412 ;; 9413 powerpc*) 9414 9415 $as_echo "#define POWERPC 1" >>confdefs.h 9416 9417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9418 /* end confdefs.h. */ 9419 #ifndef __LP64__ 9420 # error 32 bit 9421 #endif 9422 int 9423 main () 9424 { 9425 9426 ; 9427 return 0; 9428 } 9429 _ACEOF 9430 if ac_fn_c_try_compile "$LINENO"; then : 9431 arch=powerpc64 9432 else 9433 arch=powerpc 9434 fi 9435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9436 if test "$arch" = "powerpc64"; then 9437 arch_m32=powerpc 9438 9439 $as_echo "#define POWERPC64 1" >>confdefs.h 9440 9441 fi 9442 ;; 9443 riscv*) 9444 arch=riscv 9445 9446 $as_echo "#define RISCV 1" >>confdefs.h 9447 9448 ;; 9449 s390) 9450 arch=s390 9451 9452 $as_echo "#define S390 1" >>confdefs.h 9453 9454 ;; 9455 s390x) 9456 arch=s390x 9457 arch_m32=s390 9458 cc_flags_m32=-m31 9459 9460 $as_echo "#define S390X 1" >>confdefs.h 9461 9462 ;; 9463 sh64*) 9464 arch=sh64 9465 9466 $as_echo "#define SH64 1" >>confdefs.h 9467 9468 ;; 9469 sh*) 9470 arch=sh 9471 9472 $as_echo "#define SH 1" >>confdefs.h 9473 9474 ;; 9475 sparc64*) 9476 arch=sparc64 9477 arch_m32=sparc 9478 9479 $as_echo "#define SPARC64 1" >>confdefs.h 9480 9481 ;; 9482 sparc*) 9483 arch=sparc 9484 9485 $as_echo "#define SPARC 1" >>confdefs.h 9486 9487 ;; 9488 tile*) 9489 arch=tile 9490 9491 $as_echo "#define TILE 1" >>confdefs.h 9492 9493 ;; 9494 x86?64*) 9495 arch_m32=i386 9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9497 /* end confdefs.h. */ 9498 #ifndef __ILP32__ 9499 # error not x32 9500 #endif 9501 int 9502 main () 9503 { 9504 9505 ; 9506 return 0; 9507 } 9508 _ACEOF 9509 if ac_fn_c_try_compile "$LINENO"; then : 9510 arch=x32 9511 else 9512 arch=x86_64 9513 fi 9514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9515 if test "$arch" = "x86_64"; then 9516 arch_mx32=x32 9517 9518 $as_echo "#define X86_64 1" >>confdefs.h 9519 9520 else 9521 9522 $as_echo "#define X32 1" >>confdefs.h 9523 9524 fi 9525 ;; 9526 xtensa*) 9527 arch=xtensa 9528 9529 $as_echo "#define XTENSA 1" >>confdefs.h 9530 9531 ;; 9532 *) 9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: NO!" >&5 9534 $as_echo "NO!" >&6; } 9535 as_fn_error $? "architecture $host_cpu is not supported by strace" "$LINENO" 5 9536 ;; 9537 esac 9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arch" >&5 9539 $as_echo "$arch" >&6; } 9540 9541 arch_native=$arch 9542 9543 test -n "$arch_m32" || 9544 arch_m32=$arch 9545 test -n "$arch_mx32" || 9546 arch_mx32=$arch 9547 9548 9549 9550 9551 9552 9553 9554 MIPS_ABI= 9555 if test "$arch" = mips; then 9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _MIPS_SIM" >&5 9557 $as_echo_n "checking for _MIPS_SIM... " >&6; } 9558 if ${st_cv__MIPS_SIM+:} false; then : 9559 $as_echo_n "(cached) " >&6 9560 else 9561 if ac_fn_c_compute_int "$LINENO" "_MIPS_SIM" "st_cv__MIPS_SIM" ""; then : 9562 9563 else 9564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9566 as_fn_error $? "_MIPS_SIM cannot be determined 9567 See \`config.log' for more details" "$LINENO" 5; } 9568 fi 9569 9570 fi 9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv__MIPS_SIM" >&5 9572 $as_echo "$st_cv__MIPS_SIM" >&6; } 9573 9574 # requires GCC >= 3.4 9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MIPS ABI" >&5 9576 $as_echo_n "checking for MIPS ABI... " >&6; } 9577 if ${st_cv_mips_abi+:} false; then : 9578 $as_echo_n "(cached) " >&6 9579 else 9580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9581 /* end confdefs.h. */ 9582 9583 int 9584 main () 9585 { 9586 int i[_MIPS_SIM == _ABIO32 ? 1 : - 1]; 9587 ; 9588 return 0; 9589 } 9590 _ACEOF 9591 if ac_fn_c_try_compile "$LINENO"; then : 9592 st_cv_mips_abi=o32 9593 else 9594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9595 /* end confdefs.h. */ 9596 9597 int 9598 main () 9599 { 9600 int i[_MIPS_SIM == _ABIN32 ? 1 : - 1]; 9601 ; 9602 return 0; 9603 } 9604 _ACEOF 9605 if ac_fn_c_try_compile "$LINENO"; then : 9606 st_cv_mips_abi=n32 9607 else 9608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9609 /* end confdefs.h. */ 9610 9611 int 9612 main () 9613 { 9614 int i[_MIPS_SIM == _ABI64 ? 1 : - 1]; 9615 ; 9616 return 0; 9617 } 9618 _ACEOF 9619 if ac_fn_c_try_compile "$LINENO"; then : 9620 st_cv_mips_abi=n64 9621 else 9622 st_cv_mips_abi=unknown 9623 fi 9624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9625 fi 9626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9627 fi 9628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9629 fi 9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mips_abi" >&5 9631 $as_echo "$st_cv_mips_abi" >&6; } 9632 9633 case "$st_cv_mips_abi" in 9634 o32) 9635 $as_echo "#define LINUX_MIPSO32 1" >>confdefs.h 9636 ;; 9637 n32) 9638 $as_echo "#define LINUX_MIPSN32 1" >>confdefs.h 9639 ;; 9640 n64) 9641 $as_echo "#define LINUX_MIPSN64 1" >>confdefs.h 9642 ;; 9643 *) as_fn_error $? "Unsupported _MIPS_SIM" "$LINENO" 5;; 9644 esac 9645 MIPS_ABI="$st_cv_mips_abi" 9646 fi 9647 9648 9649 # Check whether --enable-arm-oabi was given. 9650 if test "${enable_arm_oabi+set}" = set; then : 9651 enableval=$enable_arm_oabi; 9652 else 9653 enable_arm_oabi=no 9654 fi 9655 9656 case "$enable_arm_oabi" in 9657 yes) enable_arm_oabi=1 ;; 9658 no) enable_arm_oabi=0 ;; 9659 *) as_fn_error $? "bad value $enable_arm_oabi for arm-oabi option" "$LINENO" 5 ;; 9660 esac 9661 9662 cat >>confdefs.h <<_ACEOF 9663 #define ENABLE_ARM_OABI $enable_arm_oabi 9664 _ACEOF 9665 9666 9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9668 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 9669 if ${ac_cv_c_bigendian+:} false; then : 9670 $as_echo_n "(cached) " >&6 9671 else 9672 ac_cv_c_bigendian=unknown 9673 # See if we're dealing with a universal compiler. 9674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9675 /* end confdefs.h. */ 9676 #ifndef __APPLE_CC__ 9677 not a universal capable compiler 9678 #endif 9679 typedef int dummy; 9680 9681 _ACEOF 9682 if ac_fn_c_try_compile "$LINENO"; then : 9683 9684 # Check for potential -arch flags. It is not universal unless 9685 # there are at least two -arch flags with different values. 9686 ac_arch= 9687 ac_prev= 9688 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 9689 if test -n "$ac_prev"; then 9690 case $ac_word in 9691 i?86 | x86_64 | ppc | ppc64) 9692 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 9693 ac_arch=$ac_word 9694 else 9695 ac_cv_c_bigendian=universal 9696 break 9697 fi 9698 ;; 9699 esac 9700 ac_prev= 9701 elif test "x$ac_word" = "x-arch"; then 9702 ac_prev=arch 9703 fi 9704 done 9705 fi 9706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9707 if test $ac_cv_c_bigendian = unknown; then 9708 # See if sys/param.h defines the BYTE_ORDER macro. 9709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9710 /* end confdefs.h. */ 9711 #include <sys/types.h> 9712 #include <sys/param.h> 9713 9714 int 9715 main () 9716 { 9717 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 9718 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 9719 && LITTLE_ENDIAN) 9720 bogus endian macros 9721 #endif 9722 9723 ; 9724 return 0; 9725 } 9726 _ACEOF 9727 if ac_fn_c_try_compile "$LINENO"; then : 9728 # It does; now see whether it defined to BIG_ENDIAN or not. 9729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9730 /* end confdefs.h. */ 9731 #include <sys/types.h> 9732 #include <sys/param.h> 9733 9734 int 9735 main () 9736 { 9737 #if BYTE_ORDER != BIG_ENDIAN 9738 not big endian 9739 #endif 9740 9741 ; 9742 return 0; 9743 } 9744 _ACEOF 9745 if ac_fn_c_try_compile "$LINENO"; then : 9746 ac_cv_c_bigendian=yes 9747 else 9748 ac_cv_c_bigendian=no 9749 fi 9750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9751 fi 9752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9753 fi 9754 if test $ac_cv_c_bigendian = unknown; then 9755 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 9756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9757 /* end confdefs.h. */ 9758 #include <limits.h> 9759 9760 int 9761 main () 9762 { 9763 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 9764 bogus endian macros 9765 #endif 9766 9767 ; 9768 return 0; 9769 } 9770 _ACEOF 9771 if ac_fn_c_try_compile "$LINENO"; then : 9772 # It does; now see whether it defined to _BIG_ENDIAN or not. 9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9774 /* end confdefs.h. */ 9775 #include <limits.h> 9776 9777 int 9778 main () 9779 { 9780 #ifndef _BIG_ENDIAN 9781 not big endian 9782 #endif 9783 9784 ; 9785 return 0; 9786 } 9787 _ACEOF 9788 if ac_fn_c_try_compile "$LINENO"; then : 9789 ac_cv_c_bigendian=yes 9790 else 9791 ac_cv_c_bigendian=no 9792 fi 9793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9794 fi 9795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9796 fi 9797 if test $ac_cv_c_bigendian = unknown; then 9798 # Compile a test program. 9799 if test "$cross_compiling" = yes; then : 9800 # Try to guess by grepping values from an object file. 9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9802 /* end confdefs.h. */ 9803 short int ascii_mm[] = 9804 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 9805 short int ascii_ii[] = 9806 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 9807 int use_ascii (int i) { 9808 return ascii_mm[i] + ascii_ii[i]; 9809 } 9810 short int ebcdic_ii[] = 9811 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 9812 short int ebcdic_mm[] = 9813 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 9814 int use_ebcdic (int i) { 9815 return ebcdic_mm[i] + ebcdic_ii[i]; 9816 } 9817 extern int foo; 9818 9819 int 9820 main () 9821 { 9822 return use_ascii (foo) == use_ebcdic (foo); 9823 ; 9824 return 0; 9825 } 9826 _ACEOF 9827 if ac_fn_c_try_compile "$LINENO"; then : 9828 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9829 ac_cv_c_bigendian=yes 9830 fi 9831 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 9832 if test "$ac_cv_c_bigendian" = unknown; then 9833 ac_cv_c_bigendian=no 9834 else 9835 # finding both strings is unlikely to happen, but who knows? 9836 ac_cv_c_bigendian=unknown 9837 fi 9838 fi 9839 fi 9840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9841 else 9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9843 /* end confdefs.h. */ 9844 $ac_includes_default 9845 int 9846 main () 9847 { 9848 9849 /* Are we little or big endian? From Harbison&Steele. */ 9850 union 9851 { 9852 long int l; 9853 char c[sizeof (long int)]; 9854 } u; 9855 u.l = 1; 9856 return u.c[sizeof (long int) - 1] == 1; 9857 9858 ; 9859 return 0; 9860 } 9861 _ACEOF 9862 if ac_fn_c_try_run "$LINENO"; then : 9863 ac_cv_c_bigendian=no 9864 else 9865 ac_cv_c_bigendian=yes 9866 fi 9867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9868 conftest.$ac_objext conftest.beam conftest.$ac_ext 9869 fi 9870 9871 fi 9872 fi 9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9874 $as_echo "$ac_cv_c_bigendian" >&6; } 9875 case $ac_cv_c_bigendian in #( 9876 yes) 9877 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9878 ;; #( 9879 no) 9880 ;; #( 9881 universal) 9882 9883 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9884 9885 ;; #( 9886 *) 9887 as_fn_error $? "unknown endianness 9888 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9889 esac 9890 9891 9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof syntax and keyword spelling" >&5 9893 $as_echo_n "checking for typeof syntax and keyword spelling... " >&6; } 9894 if ${ac_cv_c_typeof+:} false; then : 9895 $as_echo_n "(cached) " >&6 9896 else 9897 ac_cv_c_typeof=no 9898 for ac_kw in typeof __typeof__ no; do 9899 test $ac_kw = no && break 9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9901 /* end confdefs.h. */ 9902 9903 int 9904 main () 9905 { 9906 9907 int value; 9908 typedef struct { 9909 char a [1 9910 + ! (($ac_kw (value)) 9911 (($ac_kw (value)) 0 < ($ac_kw (value)) -1 9912 ? ($ac_kw (value)) - 1 9913 : ~ (~ ($ac_kw (value)) 0 9914 << sizeof ($ac_kw (value)))))]; } 9915 ac__typeof_type_; 9916 return 9917 (! ((void) ((ac__typeof_type_ *) 0), 0)); 9918 9919 ; 9920 return 0; 9921 } 9922 _ACEOF 9923 if ac_fn_c_try_compile "$LINENO"; then : 9924 ac_cv_c_typeof=$ac_kw 9925 fi 9926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9927 test $ac_cv_c_typeof != no && break 9928 done 9929 fi 9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_typeof" >&5 9931 $as_echo "$ac_cv_c_typeof" >&6; } 9932 if test $ac_cv_c_typeof != no; then 9933 9934 $as_echo "#define HAVE_TYPEOF 1" >>confdefs.h 9935 9936 if test $ac_cv_c_typeof != typeof; then 9937 9938 cat >>confdefs.h <<_ACEOF 9939 #define typeof $ac_cv_c_typeof 9940 _ACEOF 9941 9942 fi 9943 fi 9944 9945 9946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 9947 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } 9948 if ${ac_cv_type_uid_t+:} false; then : 9949 $as_echo_n "(cached) " >&6 9950 else 9951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9952 /* end confdefs.h. */ 9953 #include <sys/types.h> 9954 9955 _ACEOF 9956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9957 $EGREP "uid_t" >/dev/null 2>&1; then : 9958 ac_cv_type_uid_t=yes 9959 else 9960 ac_cv_type_uid_t=no 9961 fi 9962 rm -f conftest* 9963 9964 fi 9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 9966 $as_echo "$ac_cv_type_uid_t" >&6; } 9967 if test $ac_cv_type_uid_t = no; then 9968 9969 $as_echo "#define uid_t int" >>confdefs.h 9970 9971 9972 $as_echo "#define gid_t int" >>confdefs.h 9973 9974 fi 9975 9976 9977 for ac_func in accept4 be64toh fallocate fanotify_mark fopen64 fork fputs_unlocked fstatat ftruncate futimens iconv_open if_indextoname open64 prctl preadv process_vm_readv pwritev readahead signalfd stpcpy strerror strndup strsignal sync_file_range utimensat 9978 do : 9979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9981 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 9982 cat >>confdefs.h <<_ACEOF 9983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9984 _ACEOF 9985 9986 fi 9987 done 9988 9989 9990 ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h> 9991 " 9992 if test "x$ac_cv_type_sig_atomic_t" = xyes; then : 9993 9994 cat >>confdefs.h <<_ACEOF 9995 #define HAVE_SIG_ATOMIC_T 1 9996 _ACEOF 9997 9998 9999 fi 10000 ac_fn_c_check_type "$LINENO" "struct sigcontext" "ac_cv_type_struct_sigcontext" "#include <signal.h> 10001 " 10002 if test "x$ac_cv_type_struct_sigcontext" = xyes; then : 10003 10004 cat >>confdefs.h <<_ACEOF 10005 #define HAVE_STRUCT_SIGCONTEXT 1 10006 _ACEOF 10007 10008 10009 fi 10010 10011 10012 ac_fn_c_check_type "$LINENO" "struct mmsghdr" "ac_cv_type_struct_mmsghdr" "#include <sys/socket.h> 10013 " 10014 if test "x$ac_cv_type_struct_mmsghdr" = xyes; then : 10015 10016 cat >>confdefs.h <<_ACEOF 10017 #define HAVE_STRUCT_MMSGHDR 1 10018 _ACEOF 10019 10020 10021 fi 10022 10023 10024 ac_fn_c_check_type "$LINENO" "__kernel_long_t" "ac_cv_type___kernel_long_t" "#include <asm/posix_types.h> 10025 " 10026 if test "x$ac_cv_type___kernel_long_t" = xyes; then : 10027 10028 cat >>confdefs.h <<_ACEOF 10029 #define HAVE___KERNEL_LONG_T 1 10030 _ACEOF 10031 10032 10033 fi 10034 ac_fn_c_check_type "$LINENO" "__kernel_ulong_t" "ac_cv_type___kernel_ulong_t" "#include <asm/posix_types.h> 10035 " 10036 if test "x$ac_cv_type___kernel_ulong_t" = xyes; then : 10037 10038 cat >>confdefs.h <<_ACEOF 10039 #define HAVE___KERNEL_ULONG_T 1 10040 _ACEOF 10041 10042 10043 fi 10044 10045 10046 ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 10047 #include <asm/stat.h> 10048 " 10049 if test "x$ac_cv_type_struct_stat64" = xyes; then : 10050 10051 cat >>confdefs.h <<_ACEOF 10052 #define HAVE_STRUCT_STAT64 1 10053 _ACEOF 10054 10055 10056 fi 10057 ac_fn_c_check_type "$LINENO" "struct __old_kernel_stat" "ac_cv_type_struct___old_kernel_stat" "#include <sys/types.h> 10058 #include <asm/stat.h> 10059 " 10060 if test "x$ac_cv_type_struct___old_kernel_stat" = xyes; then : 10061 10062 cat >>confdefs.h <<_ACEOF 10063 #define HAVE_STRUCT___OLD_KERNEL_STAT 1 10064 _ACEOF 10065 10066 10067 fi 10068 10069 10070 ac_fn_c_check_type "$LINENO" "struct user_desc" "ac_cv_type_struct_user_desc" "#include <asm/ldt.h> 10071 " 10072 if test "x$ac_cv_type_struct_user_desc" = xyes; then : 10073 10074 cat >>confdefs.h <<_ACEOF 10075 #define HAVE_STRUCT_USER_DESC 1 10076 _ACEOF 10077 10078 ac_fn_c_check_member "$LINENO" "struct user_desc" "lm" "ac_cv_member_struct_user_desc_lm" "#include <asm/ldt.h> 10079 " 10080 if test "x$ac_cv_member_struct_user_desc_lm" = xyes; then : 10081 10082 cat >>confdefs.h <<_ACEOF 10083 #define HAVE_STRUCT_USER_DESC_LM 1 10084 _ACEOF 10085 10086 10087 fi 10088 10089 fi 10090 10091 10092 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h> 10093 #include <asm/stat.h> 10094 " 10095 if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 10096 10097 cat >>confdefs.h <<_ACEOF 10098 #define HAVE_STRUCT_STAT_ST_MTIME_NSEC 1 10099 _ACEOF 10100 10101 10102 fi 10103 ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h> 10104 #include <asm/stat.h> 10105 " 10106 if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 10107 10108 cat >>confdefs.h <<_ACEOF 10109 #define HAVE_STRUCT_STAT64_ST_MTIME_NSEC 1 10110 _ACEOF 10111 10112 10113 fi 10114 10115 10116 ac_fn_c_check_type "$LINENO" "struct pt_all_user_regs" "ac_cv_type_struct_pt_all_user_regs" "#include <sys/ptrace.h> 10117 " 10118 if test "x$ac_cv_type_struct_pt_all_user_regs" = xyes; then : 10119 10120 cat >>confdefs.h <<_ACEOF 10121 #define HAVE_STRUCT_PT_ALL_USER_REGS 1 10122 _ACEOF 10123 10124 10125 fi 10126 ac_fn_c_check_type "$LINENO" "struct ia64_fpreg" "ac_cv_type_struct_ia64_fpreg" "#include <sys/ptrace.h> 10127 " 10128 if test "x$ac_cv_type_struct_ia64_fpreg" = xyes; then : 10129 10130 cat >>confdefs.h <<_ACEOF 10131 #define HAVE_STRUCT_IA64_FPREG 1 10132 _ACEOF 10133 10134 10135 fi 10136 ac_fn_c_check_type "$LINENO" "struct ptrace_peeksiginfo_args" "ac_cv_type_struct_ptrace_peeksiginfo_args" "#include <sys/ptrace.h> 10137 " 10138 if test "x$ac_cv_type_struct_ptrace_peeksiginfo_args" = xyes; then : 10139 10140 cat >>confdefs.h <<_ACEOF 10141 #define HAVE_STRUCT_PTRACE_PEEKSIGINFO_ARGS 1 10142 _ACEOF 10143 10144 10145 fi 10146 10147 10148 # For kernels that do not have v3.10-rc1~201^2~11 10149 ac_fn_c_check_type "$LINENO" "s390_compat_regs" "ac_cv_type_s390_compat_regs" "#include <asm/ptrace.h> 10150 " 10151 if test "x$ac_cv_type_s390_compat_regs" = xyes; then : 10152 10153 cat >>confdefs.h <<_ACEOF 10154 #define HAVE_S390_COMPAT_REGS 1 10155 _ACEOF 10156 10157 10158 fi 10159 10160 10161 ac_fn_c_check_type "$LINENO" "struct flock" "ac_cv_type_struct_flock" "#include <sys/types.h> 10162 #include <linux/fcntl.h> 10163 " 10164 if test "x$ac_cv_type_struct_flock" = xyes; then : 10165 10166 cat >>confdefs.h <<_ACEOF 10167 #define HAVE_STRUCT_FLOCK 1 10168 _ACEOF 10169 10170 10171 fi 10172 ac_fn_c_check_type "$LINENO" "struct flock64" "ac_cv_type_struct_flock64" "#include <sys/types.h> 10173 #include <linux/fcntl.h> 10174 " 10175 if test "x$ac_cv_type_struct_flock64" = xyes; then : 10176 10177 cat >>confdefs.h <<_ACEOF 10178 #define HAVE_STRUCT_FLOCK64 1 10179 _ACEOF 10180 10181 10182 fi 10183 ac_fn_c_check_type "$LINENO" "struct __kernel_flock" "ac_cv_type_struct___kernel_flock" "#include <sys/types.h> 10184 #include <linux/fcntl.h> 10185 " 10186 if test "x$ac_cv_type_struct___kernel_flock" = xyes; then : 10187 10188 cat >>confdefs.h <<_ACEOF 10189 #define HAVE_STRUCT___KERNEL_FLOCK 1 10190 _ACEOF 10191 10192 10193 fi 10194 ac_fn_c_check_type "$LINENO" "struct __kernel_flock64" "ac_cv_type_struct___kernel_flock64" "#include <sys/types.h> 10195 #include <linux/fcntl.h> 10196 " 10197 if test "x$ac_cv_type_struct___kernel_flock64" = xyes; then : 10198 10199 cat >>confdefs.h <<_ACEOF 10200 #define HAVE_STRUCT___KERNEL_FLOCK64 1 10201 _ACEOF 10202 10203 10204 fi 10205 ac_fn_c_check_type "$LINENO" "struct f_owner_ex" "ac_cv_type_struct_f_owner_ex" "#include <sys/types.h> 10206 #include <linux/fcntl.h> 10207 " 10208 if test "x$ac_cv_type_struct_f_owner_ex" = xyes; then : 10209 10210 cat >>confdefs.h <<_ACEOF 10211 #define HAVE_STRUCT_F_OWNER_EX 1 10212 _ACEOF 10213 10214 10215 fi 10216 ac_fn_c_check_type "$LINENO" "struct __kernel_f_owner_ex" "ac_cv_type_struct___kernel_f_owner_ex" "#include <sys/types.h> 10217 #include <linux/fcntl.h> 10218 " 10219 if test "x$ac_cv_type_struct___kernel_f_owner_ex" = xyes; then : 10220 10221 cat >>confdefs.h <<_ACEOF 10222 #define HAVE_STRUCT___KERNEL_F_OWNER_EX 1 10223 _ACEOF 10224 10225 10226 fi 10227 10228 10229 ac_fn_c_check_type "$LINENO" "struct crypto_report_aead" "ac_cv_type_struct_crypto_report_aead" "#include <linux/cryptouser.h> 10230 " 10231 if test "x$ac_cv_type_struct_crypto_report_aead" = xyes; then : 10232 10233 cat >>confdefs.h <<_ACEOF 10234 #define HAVE_STRUCT_CRYPTO_REPORT_AEAD 1 10235 _ACEOF 10236 10237 10238 fi 10239 ac_fn_c_check_type "$LINENO" "struct crypto_report_blkcipher" "ac_cv_type_struct_crypto_report_blkcipher" "#include <linux/cryptouser.h> 10240 " 10241 if test "x$ac_cv_type_struct_crypto_report_blkcipher" = xyes; then : 10242 10243 cat >>confdefs.h <<_ACEOF 10244 #define HAVE_STRUCT_CRYPTO_REPORT_BLKCIPHER 1 10245 _ACEOF 10246 10247 10248 fi 10249 ac_fn_c_check_type "$LINENO" "struct crypto_report_cipher" "ac_cv_type_struct_crypto_report_cipher" "#include <linux/cryptouser.h> 10250 " 10251 if test "x$ac_cv_type_struct_crypto_report_cipher" = xyes; then : 10252 10253 cat >>confdefs.h <<_ACEOF 10254 #define HAVE_STRUCT_CRYPTO_REPORT_CIPHER 1 10255 _ACEOF 10256 10257 10258 fi 10259 ac_fn_c_check_type "$LINENO" "struct crypto_report_hash" "ac_cv_type_struct_crypto_report_hash" "#include <linux/cryptouser.h> 10260 " 10261 if test "x$ac_cv_type_struct_crypto_report_hash" = xyes; then : 10262 10263 cat >>confdefs.h <<_ACEOF 10264 #define HAVE_STRUCT_CRYPTO_REPORT_HASH 1 10265 _ACEOF 10266 10267 10268 fi 10269 ac_fn_c_check_type "$LINENO" "struct crypto_report_rng" "ac_cv_type_struct_crypto_report_rng" "#include <linux/cryptouser.h> 10270 " 10271 if test "x$ac_cv_type_struct_crypto_report_rng" = xyes; then : 10272 10273 cat >>confdefs.h <<_ACEOF 10274 #define HAVE_STRUCT_CRYPTO_REPORT_RNG 1 10275 _ACEOF 10276 10277 10278 fi 10279 10280 10281 ac_fn_c_check_type "$LINENO" "struct kcmp_epoll_slot" "ac_cv_type_struct_kcmp_epoll_slot" "#include <linux/kcmp.h> 10282 " 10283 if test "x$ac_cv_type_struct_kcmp_epoll_slot" = xyes; then : 10284 10285 cat >>confdefs.h <<_ACEOF 10286 #define HAVE_STRUCT_KCMP_EPOLL_SLOT 1 10287 _ACEOF 10288 10289 10290 fi 10291 10292 10293 ac_fn_c_check_type "$LINENO" "struct keyctl_kdf_params" "ac_cv_type_struct_keyctl_kdf_params" "#include <linux/keyctl.h> 10294 " 10295 if test "x$ac_cv_type_struct_keyctl_kdf_params" = xyes; then : 10296 10297 cat >>confdefs.h <<_ACEOF 10298 #define HAVE_STRUCT_KEYCTL_KDF_PARAMS 1 10299 _ACEOF 10300 10301 10302 fi 10303 10304 10305 ac_fn_c_check_member "$LINENO" "struct timex" "tai" "ac_cv_member_struct_timex_tai" "#include <sys/timex.h> 10306 " 10307 if test "x$ac_cv_member_struct_timex_tai" = xyes; then : 10308 10309 cat >>confdefs.h <<_ACEOF 10310 #define HAVE_STRUCT_TIMEX_TAI 1 10311 _ACEOF 10312 10313 10314 fi 10315 10316 10317 ac_fn_c_check_member "$LINENO" "struct utsname" "domainname" "ac_cv_member_struct_utsname_domainname" "#include <sys/utsname.h> 10318 " 10319 if test "x$ac_cv_member_struct_utsname_domainname" = xyes; then : 10320 10321 cat >>confdefs.h <<_ACEOF 10322 #define HAVE_STRUCT_UTSNAME_DOMAINNAME 1 10323 _ACEOF 10324 10325 10326 fi 10327 10328 10329 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_syscall" "ac_cv_member_siginfo_t_si_syscall" "#include <signal.h> 10330 " 10331 if test "x$ac_cv_member_siginfo_t_si_syscall" = xyes; then : 10332 10333 cat >>confdefs.h <<_ACEOF 10334 #define HAVE_SIGINFO_T_SI_SYSCALL 1 10335 _ACEOF 10336 10337 10338 fi 10339 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_timerid" "ac_cv_member_siginfo_t_si_timerid" "#include <signal.h> 10340 " 10341 if test "x$ac_cv_member_siginfo_t_si_timerid" = xyes; then : 10342 10343 cat >>confdefs.h <<_ACEOF 10344 #define HAVE_SIGINFO_T_SI_TIMERID 1 10345 _ACEOF 10346 10347 10348 fi 10349 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_overrun" "ac_cv_member_siginfo_t_si_overrun" "#include <signal.h> 10350 " 10351 if test "x$ac_cv_member_siginfo_t_si_overrun" = xyes; then : 10352 10353 cat >>confdefs.h <<_ACEOF 10354 #define HAVE_SIGINFO_T_SI_OVERRUN 1 10355 _ACEOF 10356 10357 10358 fi 10359 10360 10361 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "precise_ip" "ac_cv_member_struct_perf_event_attr_precise_ip" "#include <linux/perf_event.h> 10362 " 10363 if test "x$ac_cv_member_struct_perf_event_attr_precise_ip" = xyes; then : 10364 10365 cat >>confdefs.h <<_ACEOF 10366 #define HAVE_STRUCT_PERF_EVENT_ATTR_PRECISE_IP 1 10367 _ACEOF 10368 10369 10370 fi 10371 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "mmap_data" "ac_cv_member_struct_perf_event_attr_mmap_data" "#include <linux/perf_event.h> 10372 " 10373 if test "x$ac_cv_member_struct_perf_event_attr_mmap_data" = xyes; then : 10374 10375 cat >>confdefs.h <<_ACEOF 10376 #define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP_DATA 1 10377 _ACEOF 10378 10379 10380 fi 10381 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_id_all" "ac_cv_member_struct_perf_event_attr_sample_id_all" "#include <linux/perf_event.h> 10382 " 10383 if test "x$ac_cv_member_struct_perf_event_attr_sample_id_all" = xyes; then : 10384 10385 cat >>confdefs.h <<_ACEOF 10386 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_ID_ALL 1 10387 _ACEOF 10388 10389 10390 fi 10391 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_host" "ac_cv_member_struct_perf_event_attr_exclude_host" "#include <linux/perf_event.h> 10392 " 10393 if test "x$ac_cv_member_struct_perf_event_attr_exclude_host" = xyes; then : 10394 10395 cat >>confdefs.h <<_ACEOF 10396 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_HOST 1 10397 _ACEOF 10398 10399 10400 fi 10401 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_guest" "ac_cv_member_struct_perf_event_attr_exclude_guest" "#include <linux/perf_event.h> 10402 " 10403 if test "x$ac_cv_member_struct_perf_event_attr_exclude_guest" = xyes; then : 10404 10405 cat >>confdefs.h <<_ACEOF 10406 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_GUEST 1 10407 _ACEOF 10408 10409 10410 fi 10411 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_callchain_kernel" "ac_cv_member_struct_perf_event_attr_exclude_callchain_kernel" "#include <linux/perf_event.h> 10412 " 10413 if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_kernel" = xyes; then : 10414 10415 cat >>confdefs.h <<_ACEOF 10416 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_KERNEL 1 10417 _ACEOF 10418 10419 10420 fi 10421 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_callchain_user" "ac_cv_member_struct_perf_event_attr_exclude_callchain_user" "#include <linux/perf_event.h> 10422 " 10423 if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_user" = xyes; then : 10424 10425 cat >>confdefs.h <<_ACEOF 10426 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_USER 1 10427 _ACEOF 10428 10429 10430 fi 10431 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "mmap2" "ac_cv_member_struct_perf_event_attr_mmap2" "#include <linux/perf_event.h> 10432 " 10433 if test "x$ac_cv_member_struct_perf_event_attr_mmap2" = xyes; then : 10434 10435 cat >>confdefs.h <<_ACEOF 10436 #define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP2 1 10437 _ACEOF 10438 10439 10440 fi 10441 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "comm_exec" "ac_cv_member_struct_perf_event_attr_comm_exec" "#include <linux/perf_event.h> 10442 " 10443 if test "x$ac_cv_member_struct_perf_event_attr_comm_exec" = xyes; then : 10444 10445 cat >>confdefs.h <<_ACEOF 10446 #define HAVE_STRUCT_PERF_EVENT_ATTR_COMM_EXEC 1 10447 _ACEOF 10448 10449 10450 fi 10451 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "use_clockid" "ac_cv_member_struct_perf_event_attr_use_clockid" "#include <linux/perf_event.h> 10452 " 10453 if test "x$ac_cv_member_struct_perf_event_attr_use_clockid" = xyes; then : 10454 10455 cat >>confdefs.h <<_ACEOF 10456 #define HAVE_STRUCT_PERF_EVENT_ATTR_USE_CLOCKID 1 10457 _ACEOF 10458 10459 10460 fi 10461 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "context_switch" "ac_cv_member_struct_perf_event_attr_context_switch" "#include <linux/perf_event.h> 10462 " 10463 if test "x$ac_cv_member_struct_perf_event_attr_context_switch" = xyes; then : 10464 10465 cat >>confdefs.h <<_ACEOF 10466 #define HAVE_STRUCT_PERF_EVENT_ATTR_CONTEXT_SWITCH 1 10467 _ACEOF 10468 10469 10470 fi 10471 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "write_backward" "ac_cv_member_struct_perf_event_attr_write_backward" "#include <linux/perf_event.h> 10472 " 10473 if test "x$ac_cv_member_struct_perf_event_attr_write_backward" = xyes; then : 10474 10475 cat >>confdefs.h <<_ACEOF 10476 #define HAVE_STRUCT_PERF_EVENT_ATTR_WRITE_BACKWARD 1 10477 _ACEOF 10478 10479 10480 fi 10481 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "namespaces" "ac_cv_member_struct_perf_event_attr_namespaces" "#include <linux/perf_event.h> 10482 " 10483 if test "x$ac_cv_member_struct_perf_event_attr_namespaces" = xyes; then : 10484 10485 cat >>confdefs.h <<_ACEOF 10486 #define HAVE_STRUCT_PERF_EVENT_ATTR_NAMESPACES 1 10487 _ACEOF 10488 10489 10490 fi 10491 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "bp_type" "ac_cv_member_struct_perf_event_attr_bp_type" "#include <linux/perf_event.h> 10492 " 10493 if test "x$ac_cv_member_struct_perf_event_attr_bp_type" = xyes; then : 10494 10495 cat >>confdefs.h <<_ACEOF 10496 #define HAVE_STRUCT_PERF_EVENT_ATTR_BP_TYPE 1 10497 _ACEOF 10498 10499 10500 fi 10501 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config1" "ac_cv_member_struct_perf_event_attr_config1" "#include <linux/perf_event.h> 10502 " 10503 if test "x$ac_cv_member_struct_perf_event_attr_config1" = xyes; then : 10504 10505 cat >>confdefs.h <<_ACEOF 10506 #define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG1 1 10507 _ACEOF 10508 10509 10510 fi 10511 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config2" "ac_cv_member_struct_perf_event_attr_config2" "#include <linux/perf_event.h> 10512 " 10513 if test "x$ac_cv_member_struct_perf_event_attr_config2" = xyes; then : 10514 10515 cat >>confdefs.h <<_ACEOF 10516 #define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG2 1 10517 _ACEOF 10518 10519 10520 fi 10521 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "branch_sample_type" "ac_cv_member_struct_perf_event_attr_branch_sample_type" "#include <linux/perf_event.h> 10522 " 10523 if test "x$ac_cv_member_struct_perf_event_attr_branch_sample_type" = xyes; then : 10524 10525 cat >>confdefs.h <<_ACEOF 10526 #define HAVE_STRUCT_PERF_EVENT_ATTR_BRANCH_SAMPLE_TYPE 1 10527 _ACEOF 10528 10529 10530 fi 10531 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_regs_user" "ac_cv_member_struct_perf_event_attr_sample_regs_user" "#include <linux/perf_event.h> 10532 " 10533 if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_user" = xyes; then : 10534 10535 cat >>confdefs.h <<_ACEOF 10536 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_USER 1 10537 _ACEOF 10538 10539 10540 fi 10541 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_stack_user" "ac_cv_member_struct_perf_event_attr_sample_stack_user" "#include <linux/perf_event.h> 10542 " 10543 if test "x$ac_cv_member_struct_perf_event_attr_sample_stack_user" = xyes; then : 10544 10545 cat >>confdefs.h <<_ACEOF 10546 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_STACK_USER 1 10547 _ACEOF 10548 10549 10550 fi 10551 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_regs_intr" "ac_cv_member_struct_perf_event_attr_sample_regs_intr" "#include <linux/perf_event.h> 10552 " 10553 if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_intr" = xyes; then : 10554 10555 cat >>confdefs.h <<_ACEOF 10556 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_INTR 1 10557 _ACEOF 10558 10559 10560 fi 10561 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "aux_watermark" "ac_cv_member_struct_perf_event_attr_aux_watermark" "#include <linux/perf_event.h> 10562 " 10563 if test "x$ac_cv_member_struct_perf_event_attr_aux_watermark" = xyes; then : 10564 10565 cat >>confdefs.h <<_ACEOF 10566 #define HAVE_STRUCT_PERF_EVENT_ATTR_AUX_WATERMARK 1 10567 _ACEOF 10568 10569 10570 fi 10571 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_max_stack" "ac_cv_member_struct_perf_event_attr_sample_max_stack" "#include <linux/perf_event.h> 10572 " 10573 if test "x$ac_cv_member_struct_perf_event_attr_sample_max_stack" = xyes; then : 10574 10575 cat >>confdefs.h <<_ACEOF 10576 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_MAX_STACK 1 10577 _ACEOF 10578 10579 10580 fi 10581 10582 10583 for ac_header in asm/cachectl.h asm/guarded_storage.h asm/sysmips.h elf.h iconv.h inttypes.h linux/bsg.h linux/cryptouser.h linux/dm-ioctl.h linux/dqblk_xfs.h linux/falloc.h linux/fib_rules.h linux/fiemap.h linux/genetlink.h linux/hiddev.h linux/if_addr.h linux/if_link.h linux/ip_vs.h linux/ipc.h linux/kcmp.h linux/kvm.h linux/memfd.h linux/mmtimer.h linux/msg.h linux/neighbour.h linux/netfilter/ipset/ip_set.h linux/netfilter/nf_tables.h linux/netfilter/nf_tables_compat.h linux/netfilter/nfnetlink.h linux/netfilter/nfnetlink_acct.h linux/netfilter/nfnetlink_conntrack.h linux/netfilter/nfnetlink_cthelper.h linux/netfilter/nfnetlink_cttimeout.h linux/netfilter/nfnetlink_log.h linux/netfilter/nfnetlink_queue.h linux/nsfs.h linux/perf_event.h linux/quota.h linux/seccomp.h linux/securebits.h linux/sem.h linux/shm.h linux/userfaultfd.h linux/utsname.h mqueue.h netinet/sctp.h netipx/ipx.h paths.h scsi/sg.h stropts.h sys/conf.h sys/eventfd.h sys/fanotify.h sys/ipc.h sys/msg.h sys/quota.h sys/sem.h sys/shm.h sys/signalfd.h sys/xattr.h ustat.h 10584 do : 10585 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10586 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 10587 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 10588 cat >>confdefs.h <<_ACEOF 10589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10590 _ACEOF 10591 10592 fi 10593 10594 done 10595 10596 10597 for ac_header in asm/sigcontext.h 10598 do : 10599 ac_fn_c_check_header_compile "$LINENO" "asm/sigcontext.h" "ac_cv_header_asm_sigcontext_h" "#include <signal.h> 10600 " 10601 if test "x$ac_cv_header_asm_sigcontext_h" = xyes; then : 10602 cat >>confdefs.h <<_ACEOF 10603 #define HAVE_ASM_SIGCONTEXT_H 1 10604 _ACEOF 10605 10606 fi 10607 10608 done 10609 10610 10611 for ac_header in netinet/tcp.h netinet/udp.h 10612 do : 10613 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10614 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h> 10615 " 10616 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 10617 cat >>confdefs.h <<_ACEOF 10618 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10619 _ACEOF 10620 10621 fi 10622 10623 done 10624 10625 10626 for ac_header in linux/mqueue.h 10627 do : 10628 ac_fn_c_check_header_compile "$LINENO" "linux/mqueue.h" "ac_cv_header_linux_mqueue_h" "#include <linux/types.h> 10629 " 10630 if test "x$ac_cv_header_linux_mqueue_h" = xyes; then : 10631 cat >>confdefs.h <<_ACEOF 10632 #define HAVE_LINUX_MQUEUE_H 1 10633 _ACEOF 10634 10635 fi 10636 10637 done 10638 10639 10640 for ac_header in linux/netfilter/xt_osf.h 10641 do : 10642 ac_fn_c_check_header_compile "$LINENO" "linux/netfilter/xt_osf.h" "ac_cv_header_linux_netfilter_xt_osf_h" "#include <linux/ip.h> 10643 #include <linux/tcp.h> 10644 " 10645 if test "x$ac_cv_header_linux_netfilter_xt_osf_h" = xyes; then : 10646 cat >>confdefs.h <<_ACEOF 10647 #define HAVE_LINUX_NETFILTER_XT_OSF_H 1 10648 _ACEOF 10649 10650 fi 10651 10652 done 10653 10654 10655 for ac_header in linux/netfilter_arp/arp_tables.h linux/netfilter_bridge/ebtables.h linux/netfilter_ipv4/ip_tables.h linux/netfilter_ipv6/ip6_tables.h 10656 do : 10657 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10658 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h> 10659 #include <net/if.h> 10660 " 10661 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 10662 cat >>confdefs.h <<_ACEOF 10663 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10664 _ACEOF 10665 10666 fi 10667 10668 done 10669 10670 10671 for ac_header in linux/input.h 10672 do : 10673 ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default" 10674 if test "x$ac_cv_header_linux_input_h" = xyes; then : 10675 cat >>confdefs.h <<_ACEOF 10676 #define HAVE_LINUX_INPUT_H 1 10677 _ACEOF 10678 10679 ac_fn_c_check_member "$LINENO" "struct input_absinfo" "resolution" "ac_cv_member_struct_input_absinfo_resolution" "#include <linux/input.h> 10680 " 10681 if test "x$ac_cv_member_struct_input_absinfo_resolution" = xyes; then : 10682 10683 cat >>confdefs.h <<_ACEOF 10684 #define HAVE_STRUCT_INPUT_ABSINFO_RESOLUTION 1 10685 _ACEOF 10686 10687 10688 fi 10689 10690 10691 fi 10692 10693 done 10694 10695 10696 for ac_header in linux/bpf.h 10697 do : 10698 ac_fn_c_check_header_mongrel "$LINENO" "linux/bpf.h" "ac_cv_header_linux_bpf_h" "$ac_includes_default" 10699 if test "x$ac_cv_header_linux_bpf_h" = xyes; then : 10700 cat >>confdefs.h <<_ACEOF 10701 #define HAVE_LINUX_BPF_H 1 10702 _ACEOF 10703 10704 ac_fn_c_check_type "$LINENO" "struct bpf_insn" "ac_cv_type_struct_bpf_insn" "#include <linux/bpf.h> 10705 " 10706 if test "x$ac_cv_type_struct_bpf_insn" = xyes; then : 10707 10708 cat >>confdefs.h <<_ACEOF 10709 #define HAVE_STRUCT_BPF_INSN 1 10710 _ACEOF 10711 10712 10713 fi 10714 ac_fn_c_check_type "$LINENO" "struct bpf_map_info" "ac_cv_type_struct_bpf_map_info" "#include <linux/bpf.h> 10715 " 10716 if test "x$ac_cv_type_struct_bpf_map_info" = xyes; then : 10717 10718 cat >>confdefs.h <<_ACEOF 10719 #define HAVE_STRUCT_BPF_MAP_INFO 1 10720 _ACEOF 10721 10722 10723 fi 10724 ac_fn_c_check_type "$LINENO" "struct bpf_prog_info" "ac_cv_type_struct_bpf_prog_info" "#include <linux/bpf.h> 10725 " 10726 if test "x$ac_cv_type_struct_bpf_prog_info" = xyes; then : 10727 10728 cat >>confdefs.h <<_ACEOF 10729 #define HAVE_STRUCT_BPF_PROG_INFO 1 10730 _ACEOF 10731 10732 10733 fi 10734 10735 ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "id" "ac_cv_member_struct_bpf_map_info_id" "#include <linux/bpf.h> 10736 " 10737 if test "x$ac_cv_member_struct_bpf_map_info_id" = xyes; then : 10738 10739 cat >>confdefs.h <<_ACEOF 10740 #define HAVE_STRUCT_BPF_MAP_INFO_ID 1 10741 _ACEOF 10742 10743 10744 fi 10745 ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "ifindex" "ac_cv_member_struct_bpf_map_info_ifindex" "#include <linux/bpf.h> 10746 " 10747 if test "x$ac_cv_member_struct_bpf_map_info_ifindex" = xyes; then : 10748 10749 cat >>confdefs.h <<_ACEOF 10750 #define HAVE_STRUCT_BPF_MAP_INFO_IFINDEX 1 10751 _ACEOF 10752 10753 10754 fi 10755 ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "key_size" "ac_cv_member_struct_bpf_map_info_key_size" "#include <linux/bpf.h> 10756 " 10757 if test "x$ac_cv_member_struct_bpf_map_info_key_size" = xyes; then : 10758 10759 cat >>confdefs.h <<_ACEOF 10760 #define HAVE_STRUCT_BPF_MAP_INFO_KEY_SIZE 1 10761 _ACEOF 10762 10763 10764 fi 10765 ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "map_flags" "ac_cv_member_struct_bpf_map_info_map_flags" "#include <linux/bpf.h> 10766 " 10767 if test "x$ac_cv_member_struct_bpf_map_info_map_flags" = xyes; then : 10768 10769 cat >>confdefs.h <<_ACEOF 10770 #define HAVE_STRUCT_BPF_MAP_INFO_MAP_FLAGS 1 10771 _ACEOF 10772 10773 10774 fi 10775 ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "max_entries" "ac_cv_member_struct_bpf_map_info_max_entries" "#include <linux/bpf.h> 10776 " 10777 if test "x$ac_cv_member_struct_bpf_map_info_max_entries" = xyes; then : 10778 10779 cat >>confdefs.h <<_ACEOF 10780 #define HAVE_STRUCT_BPF_MAP_INFO_MAX_ENTRIES 1 10781 _ACEOF 10782 10783 10784 fi 10785 ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "name" "ac_cv_member_struct_bpf_map_info_name" "#include <linux/bpf.h> 10786 " 10787 if test "x$ac_cv_member_struct_bpf_map_info_name" = xyes; then : 10788 10789 cat >>confdefs.h <<_ACEOF 10790 #define HAVE_STRUCT_BPF_MAP_INFO_NAME 1 10791 _ACEOF 10792 10793 10794 fi 10795 ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "type" "ac_cv_member_struct_bpf_map_info_type" "#include <linux/bpf.h> 10796 " 10797 if test "x$ac_cv_member_struct_bpf_map_info_type" = xyes; then : 10798 10799 cat >>confdefs.h <<_ACEOF 10800 #define HAVE_STRUCT_BPF_MAP_INFO_TYPE 1 10801 _ACEOF 10802 10803 10804 fi 10805 ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "value_size" "ac_cv_member_struct_bpf_map_info_value_size" "#include <linux/bpf.h> 10806 " 10807 if test "x$ac_cv_member_struct_bpf_map_info_value_size" = xyes; then : 10808 10809 cat >>confdefs.h <<_ACEOF 10810 #define HAVE_STRUCT_BPF_MAP_INFO_VALUE_SIZE 1 10811 _ACEOF 10812 10813 10814 fi 10815 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "created_by_uid" "ac_cv_member_struct_bpf_prog_info_created_by_uid" "#include <linux/bpf.h> 10816 " 10817 if test "x$ac_cv_member_struct_bpf_prog_info_created_by_uid" = xyes; then : 10818 10819 cat >>confdefs.h <<_ACEOF 10820 #define HAVE_STRUCT_BPF_PROG_INFO_CREATED_BY_UID 1 10821 _ACEOF 10822 10823 10824 fi 10825 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "id" "ac_cv_member_struct_bpf_prog_info_id" "#include <linux/bpf.h> 10826 " 10827 if test "x$ac_cv_member_struct_bpf_prog_info_id" = xyes; then : 10828 10829 cat >>confdefs.h <<_ACEOF 10830 #define HAVE_STRUCT_BPF_PROG_INFO_ID 1 10831 _ACEOF 10832 10833 10834 fi 10835 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "ifindex" "ac_cv_member_struct_bpf_prog_info_ifindex" "#include <linux/bpf.h> 10836 " 10837 if test "x$ac_cv_member_struct_bpf_prog_info_ifindex" = xyes; then : 10838 10839 cat >>confdefs.h <<_ACEOF 10840 #define HAVE_STRUCT_BPF_PROG_INFO_IFINDEX 1 10841 _ACEOF 10842 10843 10844 fi 10845 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_prog_insns" "ac_cv_member_struct_bpf_prog_info_jited_prog_insns" "#include <linux/bpf.h> 10846 " 10847 if test "x$ac_cv_member_struct_bpf_prog_info_jited_prog_insns" = xyes; then : 10848 10849 cat >>confdefs.h <<_ACEOF 10850 #define HAVE_STRUCT_BPF_PROG_INFO_JITED_PROG_INSNS 1 10851 _ACEOF 10852 10853 10854 fi 10855 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_prog_len" "ac_cv_member_struct_bpf_prog_info_jited_prog_len" "#include <linux/bpf.h> 10856 " 10857 if test "x$ac_cv_member_struct_bpf_prog_info_jited_prog_len" = xyes; then : 10858 10859 cat >>confdefs.h <<_ACEOF 10860 #define HAVE_STRUCT_BPF_PROG_INFO_JITED_PROG_LEN 1 10861 _ACEOF 10862 10863 10864 fi 10865 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "load_time" "ac_cv_member_struct_bpf_prog_info_load_time" "#include <linux/bpf.h> 10866 " 10867 if test "x$ac_cv_member_struct_bpf_prog_info_load_time" = xyes; then : 10868 10869 cat >>confdefs.h <<_ACEOF 10870 #define HAVE_STRUCT_BPF_PROG_INFO_LOAD_TIME 1 10871 _ACEOF 10872 10873 10874 fi 10875 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "map_ids" "ac_cv_member_struct_bpf_prog_info_map_ids" "#include <linux/bpf.h> 10876 " 10877 if test "x$ac_cv_member_struct_bpf_prog_info_map_ids" = xyes; then : 10878 10879 cat >>confdefs.h <<_ACEOF 10880 #define HAVE_STRUCT_BPF_PROG_INFO_MAP_IDS 1 10881 _ACEOF 10882 10883 10884 fi 10885 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "name" "ac_cv_member_struct_bpf_prog_info_name" "#include <linux/bpf.h> 10886 " 10887 if test "x$ac_cv_member_struct_bpf_prog_info_name" = xyes; then : 10888 10889 cat >>confdefs.h <<_ACEOF 10890 #define HAVE_STRUCT_BPF_PROG_INFO_NAME 1 10891 _ACEOF 10892 10893 10894 fi 10895 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_map_ids" "ac_cv_member_struct_bpf_prog_info_nr_map_ids" "#include <linux/bpf.h> 10896 " 10897 if test "x$ac_cv_member_struct_bpf_prog_info_nr_map_ids" = xyes; then : 10898 10899 cat >>confdefs.h <<_ACEOF 10900 #define HAVE_STRUCT_BPF_PROG_INFO_NR_MAP_IDS 1 10901 _ACEOF 10902 10903 10904 fi 10905 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "tag" "ac_cv_member_struct_bpf_prog_info_tag" "#include <linux/bpf.h> 10906 " 10907 if test "x$ac_cv_member_struct_bpf_prog_info_tag" = xyes; then : 10908 10909 cat >>confdefs.h <<_ACEOF 10910 #define HAVE_STRUCT_BPF_PROG_INFO_TAG 1 10911 _ACEOF 10912 10913 10914 fi 10915 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "type" "ac_cv_member_struct_bpf_prog_info_type" "#include <linux/bpf.h> 10916 " 10917 if test "x$ac_cv_member_struct_bpf_prog_info_type" = xyes; then : 10918 10919 cat >>confdefs.h <<_ACEOF 10920 #define HAVE_STRUCT_BPF_PROG_INFO_TYPE 1 10921 _ACEOF 10922 10923 10924 fi 10925 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "xlated_prog_insns" "ac_cv_member_struct_bpf_prog_info_xlated_prog_insns" "#include <linux/bpf.h> 10926 " 10927 if test "x$ac_cv_member_struct_bpf_prog_info_xlated_prog_insns" = xyes; then : 10928 10929 cat >>confdefs.h <<_ACEOF 10930 #define HAVE_STRUCT_BPF_PROG_INFO_XLATED_PROG_INSNS 1 10931 _ACEOF 10932 10933 10934 fi 10935 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "xlated_prog_len" "ac_cv_member_struct_bpf_prog_info_xlated_prog_len" "#include <linux/bpf.h> 10936 " 10937 if test "x$ac_cv_member_struct_bpf_prog_info_xlated_prog_len" = xyes; then : 10938 10939 cat >>confdefs.h <<_ACEOF 10940 #define HAVE_STRUCT_BPF_PROG_INFO_XLATED_PROG_LEN 1 10941 _ACEOF 10942 10943 10944 fi 10945 ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_bpf_fd" "ac_cv_member_union_bpf_attr_attach_bpf_fd" "#include <linux/bpf.h> 10946 " 10947 if test "x$ac_cv_member_union_bpf_attr_attach_bpf_fd" = xyes; then : 10948 10949 cat >>confdefs.h <<_ACEOF 10950 #define HAVE_UNION_BPF_ATTR_ATTACH_BPF_FD 1 10951 _ACEOF 10952 10953 10954 fi 10955 ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_flags" "ac_cv_member_union_bpf_attr_attach_flags" "#include <linux/bpf.h> 10956 " 10957 if test "x$ac_cv_member_union_bpf_attr_attach_flags" = xyes; then : 10958 10959 cat >>confdefs.h <<_ACEOF 10960 #define HAVE_UNION_BPF_ATTR_ATTACH_FLAGS 1 10961 _ACEOF 10962 10963 10964 fi 10965 ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_type" "ac_cv_member_union_bpf_attr_attach_type" "#include <linux/bpf.h> 10966 " 10967 if test "x$ac_cv_member_union_bpf_attr_attach_type" = xyes; then : 10968 10969 cat >>confdefs.h <<_ACEOF 10970 #define HAVE_UNION_BPF_ATTR_ATTACH_TYPE 1 10971 _ACEOF 10972 10973 10974 fi 10975 ac_fn_c_check_member "$LINENO" "union bpf_attr" "bpf_fd" "ac_cv_member_union_bpf_attr_bpf_fd" "#include <linux/bpf.h> 10976 " 10977 if test "x$ac_cv_member_union_bpf_attr_bpf_fd" = xyes; then : 10978 10979 cat >>confdefs.h <<_ACEOF 10980 #define HAVE_UNION_BPF_ATTR_BPF_FD 1 10981 _ACEOF 10982 10983 10984 fi 10985 ac_fn_c_check_member "$LINENO" "union bpf_attr" "dummy" "ac_cv_member_union_bpf_attr_dummy" "#include <linux/bpf.h> 10986 " 10987 if test "x$ac_cv_member_union_bpf_attr_dummy" = xyes; then : 10988 10989 cat >>confdefs.h <<_ACEOF 10990 #define HAVE_UNION_BPF_ATTR_DUMMY 1 10991 _ACEOF 10992 10993 10994 fi 10995 ac_fn_c_check_member "$LINENO" "union bpf_attr" "expected_attach_type" "ac_cv_member_union_bpf_attr_expected_attach_type" "#include <linux/bpf.h> 10996 " 10997 if test "x$ac_cv_member_union_bpf_attr_expected_attach_type" = xyes; then : 10998 10999 cat >>confdefs.h <<_ACEOF 11000 #define HAVE_UNION_BPF_ATTR_EXPECTED_ATTACH_TYPE 1 11001 _ACEOF 11002 11003 11004 fi 11005 ac_fn_c_check_member "$LINENO" "union bpf_attr" "file_flags" "ac_cv_member_union_bpf_attr_file_flags" "#include <linux/bpf.h> 11006 " 11007 if test "x$ac_cv_member_union_bpf_attr_file_flags" = xyes; then : 11008 11009 cat >>confdefs.h <<_ACEOF 11010 #define HAVE_UNION_BPF_ATTR_FILE_FLAGS 1 11011 _ACEOF 11012 11013 11014 fi 11015 ac_fn_c_check_member "$LINENO" "union bpf_attr" "flags" "ac_cv_member_union_bpf_attr_flags" "#include <linux/bpf.h> 11016 " 11017 if test "x$ac_cv_member_union_bpf_attr_flags" = xyes; then : 11018 11019 cat >>confdefs.h <<_ACEOF 11020 #define HAVE_UNION_BPF_ATTR_FLAGS 1 11021 _ACEOF 11022 11023 11024 fi 11025 ac_fn_c_check_member "$LINENO" "union bpf_attr" "info.bpf_fd" "ac_cv_member_union_bpf_attr_info_bpf_fd" "#include <linux/bpf.h> 11026 " 11027 if test "x$ac_cv_member_union_bpf_attr_info_bpf_fd" = xyes; then : 11028 11029 cat >>confdefs.h <<_ACEOF 11030 #define HAVE_UNION_BPF_ATTR_INFO_BPF_FD 1 11031 _ACEOF 11032 11033 11034 fi 11035 ac_fn_c_check_member "$LINENO" "union bpf_attr" "info.info" "ac_cv_member_union_bpf_attr_info_info" "#include <linux/bpf.h> 11036 " 11037 if test "x$ac_cv_member_union_bpf_attr_info_info" = xyes; then : 11038 11039 cat >>confdefs.h <<_ACEOF 11040 #define HAVE_UNION_BPF_ATTR_INFO_INFO 1 11041 _ACEOF 11042 11043 11044 fi 11045 ac_fn_c_check_member "$LINENO" "union bpf_attr" "info.info_len" "ac_cv_member_union_bpf_attr_info_info_len" "#include <linux/bpf.h> 11046 " 11047 if test "x$ac_cv_member_union_bpf_attr_info_info_len" = xyes; then : 11048 11049 cat >>confdefs.h <<_ACEOF 11050 #define HAVE_UNION_BPF_ATTR_INFO_INFO_LEN 1 11051 _ACEOF 11052 11053 11054 fi 11055 ac_fn_c_check_member "$LINENO" "union bpf_attr" "inner_map_fd" "ac_cv_member_union_bpf_attr_inner_map_fd" "#include <linux/bpf.h> 11056 " 11057 if test "x$ac_cv_member_union_bpf_attr_inner_map_fd" = xyes; then : 11058 11059 cat >>confdefs.h <<_ACEOF 11060 #define HAVE_UNION_BPF_ATTR_INNER_MAP_FD 1 11061 _ACEOF 11062 11063 11064 fi 11065 ac_fn_c_check_member "$LINENO" "union bpf_attr" "insn_cnt" "ac_cv_member_union_bpf_attr_insn_cnt" "#include <linux/bpf.h> 11066 " 11067 if test "x$ac_cv_member_union_bpf_attr_insn_cnt" = xyes; then : 11068 11069 cat >>confdefs.h <<_ACEOF 11070 #define HAVE_UNION_BPF_ATTR_INSN_CNT 1 11071 _ACEOF 11072 11073 11074 fi 11075 ac_fn_c_check_member "$LINENO" "union bpf_attr" "insns" "ac_cv_member_union_bpf_attr_insns" "#include <linux/bpf.h> 11076 " 11077 if test "x$ac_cv_member_union_bpf_attr_insns" = xyes; then : 11078 11079 cat >>confdefs.h <<_ACEOF 11080 #define HAVE_UNION_BPF_ATTR_INSNS 1 11081 _ACEOF 11082 11083 11084 fi 11085 ac_fn_c_check_member "$LINENO" "union bpf_attr" "kern_version" "ac_cv_member_union_bpf_attr_kern_version" "#include <linux/bpf.h> 11086 " 11087 if test "x$ac_cv_member_union_bpf_attr_kern_version" = xyes; then : 11088 11089 cat >>confdefs.h <<_ACEOF 11090 #define HAVE_UNION_BPF_ATTR_KERN_VERSION 1 11091 _ACEOF 11092 11093 11094 fi 11095 ac_fn_c_check_member "$LINENO" "union bpf_attr" "key" "ac_cv_member_union_bpf_attr_key" "#include <linux/bpf.h> 11096 " 11097 if test "x$ac_cv_member_union_bpf_attr_key" = xyes; then : 11098 11099 cat >>confdefs.h <<_ACEOF 11100 #define HAVE_UNION_BPF_ATTR_KEY 1 11101 _ACEOF 11102 11103 11104 fi 11105 ac_fn_c_check_member "$LINENO" "union bpf_attr" "key_size" "ac_cv_member_union_bpf_attr_key_size" "#include <linux/bpf.h> 11106 " 11107 if test "x$ac_cv_member_union_bpf_attr_key_size" = xyes; then : 11108 11109 cat >>confdefs.h <<_ACEOF 11110 #define HAVE_UNION_BPF_ATTR_KEY_SIZE 1 11111 _ACEOF 11112 11113 11114 fi 11115 ac_fn_c_check_member "$LINENO" "union bpf_attr" "license" "ac_cv_member_union_bpf_attr_license" "#include <linux/bpf.h> 11116 " 11117 if test "x$ac_cv_member_union_bpf_attr_license" = xyes; then : 11118 11119 cat >>confdefs.h <<_ACEOF 11120 #define HAVE_UNION_BPF_ATTR_LICENSE 1 11121 _ACEOF 11122 11123 11124 fi 11125 ac_fn_c_check_member "$LINENO" "union bpf_attr" "log_buf" "ac_cv_member_union_bpf_attr_log_buf" "#include <linux/bpf.h> 11126 " 11127 if test "x$ac_cv_member_union_bpf_attr_log_buf" = xyes; then : 11128 11129 cat >>confdefs.h <<_ACEOF 11130 #define HAVE_UNION_BPF_ATTR_LOG_BUF 1 11131 _ACEOF 11132 11133 11134 fi 11135 ac_fn_c_check_member "$LINENO" "union bpf_attr" "log_level" "ac_cv_member_union_bpf_attr_log_level" "#include <linux/bpf.h> 11136 " 11137 if test "x$ac_cv_member_union_bpf_attr_log_level" = xyes; then : 11138 11139 cat >>confdefs.h <<_ACEOF 11140 #define HAVE_UNION_BPF_ATTR_LOG_LEVEL 1 11141 _ACEOF 11142 11143 11144 fi 11145 ac_fn_c_check_member "$LINENO" "union bpf_attr" "log_size" "ac_cv_member_union_bpf_attr_log_size" "#include <linux/bpf.h> 11146 " 11147 if test "x$ac_cv_member_union_bpf_attr_log_size" = xyes; then : 11148 11149 cat >>confdefs.h <<_ACEOF 11150 #define HAVE_UNION_BPF_ATTR_LOG_SIZE 1 11151 _ACEOF 11152 11153 11154 fi 11155 ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_fd" "ac_cv_member_union_bpf_attr_map_fd" "#include <linux/bpf.h> 11156 " 11157 if test "x$ac_cv_member_union_bpf_attr_map_fd" = xyes; then : 11158 11159 cat >>confdefs.h <<_ACEOF 11160 #define HAVE_UNION_BPF_ATTR_MAP_FD 1 11161 _ACEOF 11162 11163 11164 fi 11165 ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_flags" "ac_cv_member_union_bpf_attr_map_flags" "#include <linux/bpf.h> 11166 " 11167 if test "x$ac_cv_member_union_bpf_attr_map_flags" = xyes; then : 11168 11169 cat >>confdefs.h <<_ACEOF 11170 #define HAVE_UNION_BPF_ATTR_MAP_FLAGS 1 11171 _ACEOF 11172 11173 11174 fi 11175 ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_id" "ac_cv_member_union_bpf_attr_map_id" "#include <linux/bpf.h> 11176 " 11177 if test "x$ac_cv_member_union_bpf_attr_map_id" = xyes; then : 11178 11179 cat >>confdefs.h <<_ACEOF 11180 #define HAVE_UNION_BPF_ATTR_MAP_ID 1 11181 _ACEOF 11182 11183 11184 fi 11185 ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_ifindex" "ac_cv_member_union_bpf_attr_map_ifindex" "#include <linux/bpf.h> 11186 " 11187 if test "x$ac_cv_member_union_bpf_attr_map_ifindex" = xyes; then : 11188 11189 cat >>confdefs.h <<_ACEOF 11190 #define HAVE_UNION_BPF_ATTR_MAP_IFINDEX 1 11191 _ACEOF 11192 11193 11194 fi 11195 ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_name" "ac_cv_member_union_bpf_attr_map_name" "#include <linux/bpf.h> 11196 " 11197 if test "x$ac_cv_member_union_bpf_attr_map_name" = xyes; then : 11198 11199 cat >>confdefs.h <<_ACEOF 11200 #define HAVE_UNION_BPF_ATTR_MAP_NAME 1 11201 _ACEOF 11202 11203 11204 fi 11205 ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_type" "ac_cv_member_union_bpf_attr_map_type" "#include <linux/bpf.h> 11206 " 11207 if test "x$ac_cv_member_union_bpf_attr_map_type" = xyes; then : 11208 11209 cat >>confdefs.h <<_ACEOF 11210 #define HAVE_UNION_BPF_ATTR_MAP_TYPE 1 11211 _ACEOF 11212 11213 11214 fi 11215 ac_fn_c_check_member "$LINENO" "union bpf_attr" "max_entries" "ac_cv_member_union_bpf_attr_max_entries" "#include <linux/bpf.h> 11216 " 11217 if test "x$ac_cv_member_union_bpf_attr_max_entries" = xyes; then : 11218 11219 cat >>confdefs.h <<_ACEOF 11220 #define HAVE_UNION_BPF_ATTR_MAX_ENTRIES 1 11221 _ACEOF 11222 11223 11224 fi 11225 ac_fn_c_check_member "$LINENO" "union bpf_attr" "next_id" "ac_cv_member_union_bpf_attr_next_id" "#include <linux/bpf.h> 11226 " 11227 if test "x$ac_cv_member_union_bpf_attr_next_id" = xyes; then : 11228 11229 cat >>confdefs.h <<_ACEOF 11230 #define HAVE_UNION_BPF_ATTR_NEXT_ID 1 11231 _ACEOF 11232 11233 11234 fi 11235 ac_fn_c_check_member "$LINENO" "union bpf_attr" "next_key" "ac_cv_member_union_bpf_attr_next_key" "#include <linux/bpf.h> 11236 " 11237 if test "x$ac_cv_member_union_bpf_attr_next_key" = xyes; then : 11238 11239 cat >>confdefs.h <<_ACEOF 11240 #define HAVE_UNION_BPF_ATTR_NEXT_KEY 1 11241 _ACEOF 11242 11243 11244 fi 11245 ac_fn_c_check_member "$LINENO" "union bpf_attr" "numa_node" "ac_cv_member_union_bpf_attr_numa_node" "#include <linux/bpf.h> 11246 " 11247 if test "x$ac_cv_member_union_bpf_attr_numa_node" = xyes; then : 11248 11249 cat >>confdefs.h <<_ACEOF 11250 #define HAVE_UNION_BPF_ATTR_NUMA_NODE 1 11251 _ACEOF 11252 11253 11254 fi 11255 ac_fn_c_check_member "$LINENO" "union bpf_attr" "open_flags" "ac_cv_member_union_bpf_attr_open_flags" "#include <linux/bpf.h> 11256 " 11257 if test "x$ac_cv_member_union_bpf_attr_open_flags" = xyes; then : 11258 11259 cat >>confdefs.h <<_ACEOF 11260 #define HAVE_UNION_BPF_ATTR_OPEN_FLAGS 1 11261 _ACEOF 11262 11263 11264 fi 11265 ac_fn_c_check_member "$LINENO" "union bpf_attr" "pathname" "ac_cv_member_union_bpf_attr_pathname" "#include <linux/bpf.h> 11266 " 11267 if test "x$ac_cv_member_union_bpf_attr_pathname" = xyes; then : 11268 11269 cat >>confdefs.h <<_ACEOF 11270 #define HAVE_UNION_BPF_ATTR_PATHNAME 1 11271 _ACEOF 11272 11273 11274 fi 11275 ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_flags" "ac_cv_member_union_bpf_attr_prog_flags" "#include <linux/bpf.h> 11276 " 11277 if test "x$ac_cv_member_union_bpf_attr_prog_flags" = xyes; then : 11278 11279 cat >>confdefs.h <<_ACEOF 11280 #define HAVE_UNION_BPF_ATTR_PROG_FLAGS 1 11281 _ACEOF 11282 11283 11284 fi 11285 ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_id" "ac_cv_member_union_bpf_attr_prog_id" "#include <linux/bpf.h> 11286 " 11287 if test "x$ac_cv_member_union_bpf_attr_prog_id" = xyes; then : 11288 11289 cat >>confdefs.h <<_ACEOF 11290 #define HAVE_UNION_BPF_ATTR_PROG_ID 1 11291 _ACEOF 11292 11293 11294 fi 11295 ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_ifindex" "ac_cv_member_union_bpf_attr_prog_ifindex" "#include <linux/bpf.h> 11296 " 11297 if test "x$ac_cv_member_union_bpf_attr_prog_ifindex" = xyes; then : 11298 11299 cat >>confdefs.h <<_ACEOF 11300 #define HAVE_UNION_BPF_ATTR_PROG_IFINDEX 1 11301 _ACEOF 11302 11303 11304 fi 11305 ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_name" "ac_cv_member_union_bpf_attr_prog_name" "#include <linux/bpf.h> 11306 " 11307 if test "x$ac_cv_member_union_bpf_attr_prog_name" = xyes; then : 11308 11309 cat >>confdefs.h <<_ACEOF 11310 #define HAVE_UNION_BPF_ATTR_PROG_NAME 1 11311 _ACEOF 11312 11313 11314 fi 11315 ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_type" "ac_cv_member_union_bpf_attr_prog_type" "#include <linux/bpf.h> 11316 " 11317 if test "x$ac_cv_member_union_bpf_attr_prog_type" = xyes; then : 11318 11319 cat >>confdefs.h <<_ACEOF 11320 #define HAVE_UNION_BPF_ATTR_PROG_TYPE 1 11321 _ACEOF 11322 11323 11324 fi 11325 ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.attach_flags" "ac_cv_member_union_bpf_attr_query_attach_flags" "#include <linux/bpf.h> 11326 " 11327 if test "x$ac_cv_member_union_bpf_attr_query_attach_flags" = xyes; then : 11328 11329 cat >>confdefs.h <<_ACEOF 11330 #define HAVE_UNION_BPF_ATTR_QUERY_ATTACH_FLAGS 1 11331 _ACEOF 11332 11333 11334 fi 11335 ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.attach_type" "ac_cv_member_union_bpf_attr_query_attach_type" "#include <linux/bpf.h> 11336 " 11337 if test "x$ac_cv_member_union_bpf_attr_query_attach_type" = xyes; then : 11338 11339 cat >>confdefs.h <<_ACEOF 11340 #define HAVE_UNION_BPF_ATTR_QUERY_ATTACH_TYPE 1 11341 _ACEOF 11342 11343 11344 fi 11345 ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.prog_cnt" "ac_cv_member_union_bpf_attr_query_prog_cnt" "#include <linux/bpf.h> 11346 " 11347 if test "x$ac_cv_member_union_bpf_attr_query_prog_cnt" = xyes; then : 11348 11349 cat >>confdefs.h <<_ACEOF 11350 #define HAVE_UNION_BPF_ATTR_QUERY_PROG_CNT 1 11351 _ACEOF 11352 11353 11354 fi 11355 ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.prog_ids" "ac_cv_member_union_bpf_attr_query_prog_ids" "#include <linux/bpf.h> 11356 " 11357 if test "x$ac_cv_member_union_bpf_attr_query_prog_ids" = xyes; then : 11358 11359 cat >>confdefs.h <<_ACEOF 11360 #define HAVE_UNION_BPF_ATTR_QUERY_PROG_IDS 1 11361 _ACEOF 11362 11363 11364 fi 11365 ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.query_flags" "ac_cv_member_union_bpf_attr_query_query_flags" "#include <linux/bpf.h> 11366 " 11367 if test "x$ac_cv_member_union_bpf_attr_query_query_flags" = xyes; then : 11368 11369 cat >>confdefs.h <<_ACEOF 11370 #define HAVE_UNION_BPF_ATTR_QUERY_QUERY_FLAGS 1 11371 _ACEOF 11372 11373 11374 fi 11375 ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.target_fd" "ac_cv_member_union_bpf_attr_query_target_fd" "#include <linux/bpf.h> 11376 " 11377 if test "x$ac_cv_member_union_bpf_attr_query_target_fd" = xyes; then : 11378 11379 cat >>confdefs.h <<_ACEOF 11380 #define HAVE_UNION_BPF_ATTR_QUERY_TARGET_FD 1 11381 _ACEOF 11382 11383 11384 fi 11385 ac_fn_c_check_member "$LINENO" "union bpf_attr" "raw_tracepoint.name" "ac_cv_member_union_bpf_attr_raw_tracepoint_name" "#include <linux/bpf.h> 11386 " 11387 if test "x$ac_cv_member_union_bpf_attr_raw_tracepoint_name" = xyes; then : 11388 11389 cat >>confdefs.h <<_ACEOF 11390 #define HAVE_UNION_BPF_ATTR_RAW_TRACEPOINT_NAME 1 11391 _ACEOF 11392 11393 11394 fi 11395 ac_fn_c_check_member "$LINENO" "union bpf_attr" "raw_tracepoint.prog_fd" "ac_cv_member_union_bpf_attr_raw_tracepoint_prog_fd" "#include <linux/bpf.h> 11396 " 11397 if test "x$ac_cv_member_union_bpf_attr_raw_tracepoint_prog_fd" = xyes; then : 11398 11399 cat >>confdefs.h <<_ACEOF 11400 #define HAVE_UNION_BPF_ATTR_RAW_TRACEPOINT_PROG_FD 1 11401 _ACEOF 11402 11403 11404 fi 11405 ac_fn_c_check_member "$LINENO" "union bpf_attr" "start_id" "ac_cv_member_union_bpf_attr_start_id" "#include <linux/bpf.h> 11406 " 11407 if test "x$ac_cv_member_union_bpf_attr_start_id" = xyes; then : 11408 11409 cat >>confdefs.h <<_ACEOF 11410 #define HAVE_UNION_BPF_ATTR_START_ID 1 11411 _ACEOF 11412 11413 11414 fi 11415 ac_fn_c_check_member "$LINENO" "union bpf_attr" "target_fd" "ac_cv_member_union_bpf_attr_target_fd" "#include <linux/bpf.h> 11416 " 11417 if test "x$ac_cv_member_union_bpf_attr_target_fd" = xyes; then : 11418 11419 cat >>confdefs.h <<_ACEOF 11420 #define HAVE_UNION_BPF_ATTR_TARGET_FD 1 11421 _ACEOF 11422 11423 11424 fi 11425 ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.data_in" "ac_cv_member_union_bpf_attr_test_data_in" "#include <linux/bpf.h> 11426 " 11427 if test "x$ac_cv_member_union_bpf_attr_test_data_in" = xyes; then : 11428 11429 cat >>confdefs.h <<_ACEOF 11430 #define HAVE_UNION_BPF_ATTR_TEST_DATA_IN 1 11431 _ACEOF 11432 11433 11434 fi 11435 ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.data_out" "ac_cv_member_union_bpf_attr_test_data_out" "#include <linux/bpf.h> 11436 " 11437 if test "x$ac_cv_member_union_bpf_attr_test_data_out" = xyes; then : 11438 11439 cat >>confdefs.h <<_ACEOF 11440 #define HAVE_UNION_BPF_ATTR_TEST_DATA_OUT 1 11441 _ACEOF 11442 11443 11444 fi 11445 ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.data_size_in" "ac_cv_member_union_bpf_attr_test_data_size_in" "#include <linux/bpf.h> 11446 " 11447 if test "x$ac_cv_member_union_bpf_attr_test_data_size_in" = xyes; then : 11448 11449 cat >>confdefs.h <<_ACEOF 11450 #define HAVE_UNION_BPF_ATTR_TEST_DATA_SIZE_IN 1 11451 _ACEOF 11452 11453 11454 fi 11455 ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.data_size_out" "ac_cv_member_union_bpf_attr_test_data_size_out" "#include <linux/bpf.h> 11456 " 11457 if test "x$ac_cv_member_union_bpf_attr_test_data_size_out" = xyes; then : 11458 11459 cat >>confdefs.h <<_ACEOF 11460 #define HAVE_UNION_BPF_ATTR_TEST_DATA_SIZE_OUT 1 11461 _ACEOF 11462 11463 11464 fi 11465 ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.duration" "ac_cv_member_union_bpf_attr_test_duration" "#include <linux/bpf.h> 11466 " 11467 if test "x$ac_cv_member_union_bpf_attr_test_duration" = xyes; then : 11468 11469 cat >>confdefs.h <<_ACEOF 11470 #define HAVE_UNION_BPF_ATTR_TEST_DURATION 1 11471 _ACEOF 11472 11473 11474 fi 11475 ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.prog_fd" "ac_cv_member_union_bpf_attr_test_prog_fd" "#include <linux/bpf.h> 11476 " 11477 if test "x$ac_cv_member_union_bpf_attr_test_prog_fd" = xyes; then : 11478 11479 cat >>confdefs.h <<_ACEOF 11480 #define HAVE_UNION_BPF_ATTR_TEST_PROG_FD 1 11481 _ACEOF 11482 11483 11484 fi 11485 ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.repeat" "ac_cv_member_union_bpf_attr_test_repeat" "#include <linux/bpf.h> 11486 " 11487 if test "x$ac_cv_member_union_bpf_attr_test_repeat" = xyes; then : 11488 11489 cat >>confdefs.h <<_ACEOF 11490 #define HAVE_UNION_BPF_ATTR_TEST_REPEAT 1 11491 _ACEOF 11492 11493 11494 fi 11495 ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.retval" "ac_cv_member_union_bpf_attr_test_retval" "#include <linux/bpf.h> 11496 " 11497 if test "x$ac_cv_member_union_bpf_attr_test_retval" = xyes; then : 11498 11499 cat >>confdefs.h <<_ACEOF 11500 #define HAVE_UNION_BPF_ATTR_TEST_RETVAL 1 11501 _ACEOF 11502 11503 11504 fi 11505 ac_fn_c_check_member "$LINENO" "union bpf_attr" "value" "ac_cv_member_union_bpf_attr_value" "#include <linux/bpf.h> 11506 " 11507 if test "x$ac_cv_member_union_bpf_attr_value" = xyes; then : 11508 11509 cat >>confdefs.h <<_ACEOF 11510 #define HAVE_UNION_BPF_ATTR_VALUE 1 11511 _ACEOF 11512 11513 11514 fi 11515 ac_fn_c_check_member "$LINENO" "union bpf_attr" "value_size" "ac_cv_member_union_bpf_attr_value_size" "#include <linux/bpf.h> 11516 " 11517 if test "x$ac_cv_member_union_bpf_attr_value_size" = xyes; then : 11518 11519 cat >>confdefs.h <<_ACEOF 11520 #define HAVE_UNION_BPF_ATTR_VALUE_SIZE 1 11521 _ACEOF 11522 11523 11524 fi 11525 ac_fn_c_check_member "$LINENO" "union bpf_attr" "dummy" "ac_cv_member_union_bpf_attr_dummy" "#include <linux/bpf.h> 11526 " 11527 if test "x$ac_cv_member_union_bpf_attr_dummy" = xyes; then : 11528 11529 cat >>confdefs.h <<_ACEOF 11530 #define HAVE_UNION_BPF_ATTR_DUMMY 1 11531 _ACEOF 11532 11533 11534 fi 11535 11536 11537 11538 fi 11539 11540 done 11541 11542 11543 for ac_header in bluetooth/bluetooth.h 11544 do : 11545 ac_fn_c_check_header_mongrel "$LINENO" "bluetooth/bluetooth.h" "ac_cv_header_bluetooth_bluetooth_h" "$ac_includes_default" 11546 if test "x$ac_cv_header_bluetooth_bluetooth_h" = xyes; then : 11547 cat >>confdefs.h <<_ACEOF 11548 #define HAVE_BLUETOOTH_BLUETOOTH_H 1 11549 _ACEOF 11550 11551 ac_fn_c_check_member "$LINENO" "struct sockaddr_l2" "l2_bdaddr_type" "ac_cv_member_struct_sockaddr_l2_l2_bdaddr_type" "#include <bluetooth/bluetooth.h> 11552 #include <bluetooth/l2cap.h> 11553 " 11554 if test "x$ac_cv_member_struct_sockaddr_l2_l2_bdaddr_type" = xyes; then : 11555 11556 cat >>confdefs.h <<_ACEOF 11557 #define HAVE_STRUCT_SOCKADDR_L2_L2_BDADDR_TYPE 1 11558 _ACEOF 11559 11560 11561 fi 11562 11563 11564 fi 11565 11566 done 11567 11568 11569 ac_fn_c_check_type "$LINENO" "struct br_mdb_entry" "ac_cv_type_struct_br_mdb_entry" "#include <linux/if_bridge.h> 11570 " 11571 if test "x$ac_cv_type_struct_br_mdb_entry" = xyes; then : 11572 11573 cat >>confdefs.h <<_ACEOF 11574 #define HAVE_STRUCT_BR_MDB_ENTRY 1 11575 _ACEOF 11576 11577 11578 fi 11579 ac_fn_c_check_type "$LINENO" "struct br_port_msg" "ac_cv_type_struct_br_port_msg" "#include <linux/if_bridge.h> 11580 " 11581 if test "x$ac_cv_type_struct_br_port_msg" = xyes; then : 11582 11583 cat >>confdefs.h <<_ACEOF 11584 #define HAVE_STRUCT_BR_PORT_MSG 1 11585 _ACEOF 11586 11587 11588 fi 11589 11590 ac_fn_c_check_member "$LINENO" "struct br_mdb_entry" "flags" "ac_cv_member_struct_br_mdb_entry_flags" "#include <linux/if_bridge.h> 11591 " 11592 if test "x$ac_cv_member_struct_br_mdb_entry_flags" = xyes; then : 11593 11594 cat >>confdefs.h <<_ACEOF 11595 #define HAVE_STRUCT_BR_MDB_ENTRY_FLAGS 1 11596 _ACEOF 11597 11598 11599 fi 11600 ac_fn_c_check_member "$LINENO" "struct br_mdb_entry" "vid" "ac_cv_member_struct_br_mdb_entry_vid" "#include <linux/if_bridge.h> 11601 " 11602 if test "x$ac_cv_member_struct_br_mdb_entry_vid" = xyes; then : 11603 11604 cat >>confdefs.h <<_ACEOF 11605 #define HAVE_STRUCT_BR_MDB_ENTRY_VID 1 11606 _ACEOF 11607 11608 11609 fi 11610 11611 11612 ac_fn_c_check_type "$LINENO" "struct dcbmsg" "ac_cv_type_struct_dcbmsg" "#include <linux/dcbnl.h> 11613 " 11614 if test "x$ac_cv_type_struct_dcbmsg" = xyes; then : 11615 11616 cat >>confdefs.h <<_ACEOF 11617 #define HAVE_STRUCT_DCBMSG 1 11618 _ACEOF 11619 11620 11621 fi 11622 11623 ac_fn_c_check_type "$LINENO" "struct ifaddrlblmsg" "ac_cv_type_struct_ifaddrlblmsg" "#include <linux/if_addrlabel.h> 11624 " 11625 if test "x$ac_cv_type_struct_ifaddrlblmsg" = xyes; then : 11626 11627 cat >>confdefs.h <<_ACEOF 11628 #define HAVE_STRUCT_IFADDRLBLMSG 1 11629 _ACEOF 11630 11631 11632 fi 11633 11634 ac_fn_c_check_type "$LINENO" "struct netconfmsg" "ac_cv_type_struct_netconfmsg" "#include <linux/netconf.h> 11635 " 11636 if test "x$ac_cv_type_struct_netconfmsg" = xyes; then : 11637 11638 cat >>confdefs.h <<_ACEOF 11639 #define HAVE_STRUCT_NETCONFMSG 1 11640 _ACEOF 11641 11642 11643 fi 11644 11645 11646 ac_fn_c_check_type "$LINENO" "struct rta_mfc_stats" "ac_cv_type_struct_rta_mfc_stats" "#include <sys/socket.h> 11647 #include <linux/rtnetlink.h> 11648 " 11649 if test "x$ac_cv_type_struct_rta_mfc_stats" = xyes; then : 11650 11651 cat >>confdefs.h <<_ACEOF 11652 #define HAVE_STRUCT_RTA_MFC_STATS 1 11653 _ACEOF 11654 11655 11656 fi 11657 ac_fn_c_check_type "$LINENO" "struct rtvia" "ac_cv_type_struct_rtvia" "#include <sys/socket.h> 11658 #include <linux/rtnetlink.h> 11659 " 11660 if test "x$ac_cv_type_struct_rtvia" = xyes; then : 11661 11662 cat >>confdefs.h <<_ACEOF 11663 #define HAVE_STRUCT_RTVIA 1 11664 _ACEOF 11665 11666 11667 fi 11668 11669 11670 ac_fn_c_check_member "$LINENO" "struct ndt_stats" "ndts_table_fulls" "ac_cv_member_struct_ndt_stats_ndts_table_fulls" "#include <linux/neighbour.h> 11671 " 11672 if test "x$ac_cv_member_struct_ndt_stats_ndts_table_fulls" = xyes; then : 11673 11674 cat >>confdefs.h <<_ACEOF 11675 #define HAVE_STRUCT_NDT_STATS_NDTS_TABLE_FULLS 1 11676 _ACEOF 11677 11678 11679 fi 11680 11681 ac_fn_c_check_type "$LINENO" "struct ndt_config" "ac_cv_type_struct_ndt_config" "#include <linux/neighbour.h> 11682 " 11683 if test "x$ac_cv_type_struct_ndt_config" = xyes; then : 11684 11685 cat >>confdefs.h <<_ACEOF 11686 #define HAVE_STRUCT_NDT_CONFIG 1 11687 _ACEOF 11688 11689 11690 fi 11691 ac_fn_c_check_type "$LINENO" "struct ndt_stats" "ac_cv_type_struct_ndt_stats" "#include <linux/neighbour.h> 11692 " 11693 if test "x$ac_cv_type_struct_ndt_stats" = xyes; then : 11694 11695 cat >>confdefs.h <<_ACEOF 11696 #define HAVE_STRUCT_NDT_STATS 1 11697 _ACEOF 11698 11699 11700 fi 11701 11702 11703 ac_fn_c_check_type "$LINENO" "struct ifla_bridge_id" "ac_cv_type_struct_ifla_bridge_id" "#include <sys/socket.h> 11704 #include <linux/rtnetlink.h> 11705 " 11706 if test "x$ac_cv_type_struct_ifla_bridge_id" = xyes; then : 11707 11708 cat >>confdefs.h <<_ACEOF 11709 #define HAVE_STRUCT_IFLA_BRIDGE_ID 1 11710 _ACEOF 11711 11712 11713 fi 11714 ac_fn_c_check_type "$LINENO" "struct ifla_cacheinfo" "ac_cv_type_struct_ifla_cacheinfo" "#include <sys/socket.h> 11715 #include <linux/rtnetlink.h> 11716 " 11717 if test "x$ac_cv_type_struct_ifla_cacheinfo" = xyes; then : 11718 11719 cat >>confdefs.h <<_ACEOF 11720 #define HAVE_STRUCT_IFLA_CACHEINFO 1 11721 _ACEOF 11722 11723 11724 fi 11725 ac_fn_c_check_type "$LINENO" "struct ifla_port_vsi" "ac_cv_type_struct_ifla_port_vsi" "#include <sys/socket.h> 11726 #include <linux/rtnetlink.h> 11727 " 11728 if test "x$ac_cv_type_struct_ifla_port_vsi" = xyes; then : 11729 11730 cat >>confdefs.h <<_ACEOF 11731 #define HAVE_STRUCT_IFLA_PORT_VSI 1 11732 _ACEOF 11733 11734 11735 fi 11736 ac_fn_c_check_type "$LINENO" "struct rtnl_link_stats64" "ac_cv_type_struct_rtnl_link_stats64" "#include <sys/socket.h> 11737 #include <linux/rtnetlink.h> 11738 " 11739 if test "x$ac_cv_type_struct_rtnl_link_stats64" = xyes; then : 11740 11741 cat >>confdefs.h <<_ACEOF 11742 #define HAVE_STRUCT_RTNL_LINK_STATS64 1 11743 _ACEOF 11744 11745 11746 fi 11747 11748 ac_fn_c_check_member "$LINENO" "struct rtnl_link_stats" "rx_nohandler" "ac_cv_member_struct_rtnl_link_stats_rx_nohandler" "#include <sys/socket.h> 11749 #include <linux/rtnetlink.h> 11750 " 11751 if test "x$ac_cv_member_struct_rtnl_link_stats_rx_nohandler" = xyes; then : 11752 11753 cat >>confdefs.h <<_ACEOF 11754 #define HAVE_STRUCT_RTNL_LINK_STATS_RX_NOHANDLER 1 11755 _ACEOF 11756 11757 11758 fi 11759 ac_fn_c_check_member "$LINENO" "struct rtnl_link_stats64" "rx_nohandler" "ac_cv_member_struct_rtnl_link_stats64_rx_nohandler" "#include <sys/socket.h> 11760 #include <linux/rtnetlink.h> 11761 " 11762 if test "x$ac_cv_member_struct_rtnl_link_stats64_rx_nohandler" = xyes; then : 11763 11764 cat >>confdefs.h <<_ACEOF 11765 #define HAVE_STRUCT_RTNL_LINK_STATS64_RX_NOHANDLER 1 11766 _ACEOF 11767 11768 11769 fi 11770 11771 ac_fn_c_check_decl "$LINENO" "IFLA_PORT_SELF" "ac_cv_have_decl_IFLA_PORT_SELF" "#include <sys/socket.h> 11772 #include <linux/rtnetlink.h> 11773 " 11774 if test "x$ac_cv_have_decl_IFLA_PORT_SELF" = xyes; then : 11775 ac_have_decl=1 11776 else 11777 ac_have_decl=0 11778 fi 11779 11780 cat >>confdefs.h <<_ACEOF 11781 #define HAVE_DECL_IFLA_PORT_SELF $ac_have_decl 11782 _ACEOF 11783 ac_fn_c_check_decl "$LINENO" "IFLA_PROTINFO" "ac_cv_have_decl_IFLA_PROTINFO" "#include <sys/socket.h> 11784 #include <linux/rtnetlink.h> 11785 " 11786 if test "x$ac_cv_have_decl_IFLA_PROTINFO" = xyes; then : 11787 ac_have_decl=1 11788 else 11789 ac_have_decl=0 11790 fi 11791 11792 cat >>confdefs.h <<_ACEOF 11793 #define HAVE_DECL_IFLA_PROTINFO $ac_have_decl 11794 _ACEOF 11795 ac_fn_c_check_decl "$LINENO" "IFLA_AF_SPEC" "ac_cv_have_decl_IFLA_AF_SPEC" "#include <sys/socket.h> 11796 #include <linux/rtnetlink.h> 11797 " 11798 if test "x$ac_cv_have_decl_IFLA_AF_SPEC" = xyes; then : 11799 ac_have_decl=1 11800 else 11801 ac_have_decl=0 11802 fi 11803 11804 cat >>confdefs.h <<_ACEOF 11805 #define HAVE_DECL_IFLA_AF_SPEC $ac_have_decl 11806 _ACEOF 11807 ac_fn_c_check_decl "$LINENO" "IFLA_XDP" "ac_cv_have_decl_IFLA_XDP" "#include <sys/socket.h> 11808 #include <linux/rtnetlink.h> 11809 " 11810 if test "x$ac_cv_have_decl_IFLA_XDP" = xyes; then : 11811 ac_have_decl=1 11812 else 11813 ac_have_decl=0 11814 fi 11815 11816 cat >>confdefs.h <<_ACEOF 11817 #define HAVE_DECL_IFLA_XDP $ac_have_decl 11818 _ACEOF 11819 11820 11821 ac_fn_c_check_type "$LINENO" "struct gnet_stats_basic" "ac_cv_type_struct_gnet_stats_basic" "#include <linux/gen_stats.h> 11822 " 11823 if test "x$ac_cv_type_struct_gnet_stats_basic" = xyes; then : 11824 11825 cat >>confdefs.h <<_ACEOF 11826 #define HAVE_STRUCT_GNET_STATS_BASIC 1 11827 _ACEOF 11828 11829 11830 fi 11831 ac_fn_c_check_type "$LINENO" "struct gnet_stats_queue" "ac_cv_type_struct_gnet_stats_queue" "#include <linux/gen_stats.h> 11832 " 11833 if test "x$ac_cv_type_struct_gnet_stats_queue" = xyes; then : 11834 11835 cat >>confdefs.h <<_ACEOF 11836 #define HAVE_STRUCT_GNET_STATS_QUEUE 1 11837 _ACEOF 11838 11839 11840 fi 11841 ac_fn_c_check_type "$LINENO" "struct gnet_stats_rate_est" "ac_cv_type_struct_gnet_stats_rate_est" "#include <linux/gen_stats.h> 11842 " 11843 if test "x$ac_cv_type_struct_gnet_stats_rate_est" = xyes; then : 11844 11845 cat >>confdefs.h <<_ACEOF 11846 #define HAVE_STRUCT_GNET_STATS_RATE_EST 1 11847 _ACEOF 11848 11849 11850 fi 11851 ac_fn_c_check_type "$LINENO" "struct gnet_stats_rate_est64" "ac_cv_type_struct_gnet_stats_rate_est64" "#include <linux/gen_stats.h> 11852 " 11853 if test "x$ac_cv_type_struct_gnet_stats_rate_est64" = xyes; then : 11854 11855 cat >>confdefs.h <<_ACEOF 11856 #define HAVE_STRUCT_GNET_STATS_RATE_EST64 1 11857 _ACEOF 11858 11859 11860 fi 11861 11862 11863 ac_fn_c_check_type "$LINENO" "struct tc_sizespec" "ac_cv_type_struct_tc_sizespec" "#include <linux/types.h> 11864 #include <linux/pkt_sched.h> 11865 " 11866 if test "x$ac_cv_type_struct_tc_sizespec" = xyes; then : 11867 11868 cat >>confdefs.h <<_ACEOF 11869 #define HAVE_STRUCT_TC_SIZESPEC 1 11870 _ACEOF 11871 11872 11873 fi 11874 11875 ac_fn_c_check_decl "$LINENO" "TCA_STAB_DATA" "ac_cv_have_decl_TCA_STAB_DATA" "#include <linux/types.h> 11876 #include <linux/pkt_sched.h> 11877 " 11878 if test "x$ac_cv_have_decl_TCA_STAB_DATA" = xyes; then : 11879 ac_have_decl=1 11880 else 11881 ac_have_decl=0 11882 fi 11883 11884 cat >>confdefs.h <<_ACEOF 11885 #define HAVE_DECL_TCA_STAB_DATA $ac_have_decl 11886 _ACEOF 11887 11888 11889 ac_fn_c_check_type "$LINENO" "struct fib_rule_uid_range" "ac_cv_type_struct_fib_rule_uid_range" "#include <linux/fib_rules.h> 11890 " 11891 if test "x$ac_cv_type_struct_fib_rule_uid_range" = xyes; then : 11892 11893 cat >>confdefs.h <<_ACEOF 11894 #define HAVE_STRUCT_FIB_RULE_UID_RANGE 1 11895 _ACEOF 11896 11897 11898 fi 11899 ac_fn_c_check_type "$LINENO" "struct fib_rule_port_range" "ac_cv_type_struct_fib_rule_port_range" "#include <linux/fib_rules.h> 11900 " 11901 if test "x$ac_cv_type_struct_fib_rule_port_range" = xyes; then : 11902 11903 cat >>confdefs.h <<_ACEOF 11904 #define HAVE_STRUCT_FIB_RULE_PORT_RANGE 1 11905 _ACEOF 11906 11907 11908 fi 11909 11910 11911 ac_fn_c_check_type "$LINENO" "struct statfs" "ac_cv_type_struct_statfs" "#include <linux/types.h> 11912 #include <asm/statfs.h> 11913 " 11914 if test "x$ac_cv_type_struct_statfs" = xyes; then : 11915 11916 cat >>confdefs.h <<_ACEOF 11917 #define HAVE_STRUCT_STATFS 1 11918 _ACEOF 11919 11920 11921 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <linux/types.h> 11922 #include <asm/statfs.h> 11923 " 11924 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then : 11925 11926 cat >>confdefs.h <<_ACEOF 11927 #define HAVE_STRUCT_STATFS_F_FRSIZE 1 11928 _ACEOF 11929 11930 11931 fi 11932 ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "#include <linux/types.h> 11933 #include <asm/statfs.h> 11934 " 11935 if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then : 11936 11937 cat >>confdefs.h <<_ACEOF 11938 #define HAVE_STRUCT_STATFS_F_FLAGS 1 11939 _ACEOF 11940 11941 11942 fi 11943 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.val" "ac_cv_member_struct_statfs_f_fsid_val" "#include <linux/types.h> 11944 #include <asm/statfs.h> 11945 " 11946 if test "x$ac_cv_member_struct_statfs_f_fsid_val" = xyes; then : 11947 11948 cat >>confdefs.h <<_ACEOF 11949 #define HAVE_STRUCT_STATFS_F_FSID_VAL 1 11950 _ACEOF 11951 11952 11953 fi 11954 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.__val" "ac_cv_member_struct_statfs_f_fsid___val" "#include <linux/types.h> 11955 #include <asm/statfs.h> 11956 " 11957 if test "x$ac_cv_member_struct_statfs_f_fsid___val" = xyes; then : 11958 11959 cat >>confdefs.h <<_ACEOF 11960 #define HAVE_STRUCT_STATFS_F_FSID___VAL 1 11961 _ACEOF 11962 11963 11964 fi 11965 11966 11967 fi 11968 11969 11970 ac_fn_c_check_type "$LINENO" "struct statfs64" "ac_cv_type_struct_statfs64" "#include <linux/types.h> 11971 #include <asm/statfs.h> 11972 " 11973 if test "x$ac_cv_type_struct_statfs64" = xyes; then : 11974 11975 cat >>confdefs.h <<_ACEOF 11976 #define HAVE_STRUCT_STATFS64 1 11977 _ACEOF 11978 11979 11980 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_frsize" "ac_cv_member_struct_statfs64_f_frsize" "#include <linux/types.h> 11981 #include <asm/statfs.h> 11982 " 11983 if test "x$ac_cv_member_struct_statfs64_f_frsize" = xyes; then : 11984 11985 cat >>confdefs.h <<_ACEOF 11986 #define HAVE_STRUCT_STATFS64_F_FRSIZE 1 11987 _ACEOF 11988 11989 11990 fi 11991 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_flags" "ac_cv_member_struct_statfs64_f_flags" "#include <linux/types.h> 11992 #include <asm/statfs.h> 11993 " 11994 if test "x$ac_cv_member_struct_statfs64_f_flags" = xyes; then : 11995 11996 cat >>confdefs.h <<_ACEOF 11997 #define HAVE_STRUCT_STATFS64_F_FLAGS 1 11998 _ACEOF 11999 12000 12001 fi 12002 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.val" "ac_cv_member_struct_statfs64_f_fsid_val" "#include <linux/types.h> 12003 #include <asm/statfs.h> 12004 " 12005 if test "x$ac_cv_member_struct_statfs64_f_fsid_val" = xyes; then : 12006 12007 cat >>confdefs.h <<_ACEOF 12008 #define HAVE_STRUCT_STATFS64_F_FSID_VAL 1 12009 _ACEOF 12010 12011 12012 fi 12013 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.__val" "ac_cv_member_struct_statfs64_f_fsid___val" "#include <linux/types.h> 12014 #include <asm/statfs.h> 12015 " 12016 if test "x$ac_cv_member_struct_statfs64_f_fsid___val" = xyes; then : 12017 12018 cat >>confdefs.h <<_ACEOF 12019 #define HAVE_STRUCT_STATFS64_F_FSID___VAL 1 12020 _ACEOF 12021 12022 12023 fi 12024 12025 12026 fi 12027 12028 12029 ac_fn_c_check_type "$LINENO" "struct blk_user_trace_setup" "ac_cv_type_struct_blk_user_trace_setup" "#include <linux/blktrace_api.h> 12030 " 12031 if test "x$ac_cv_type_struct_blk_user_trace_setup" = xyes; then : 12032 12033 cat >>confdefs.h <<_ACEOF 12034 #define HAVE_STRUCT_BLK_USER_TRACE_SETUP 1 12035 _ACEOF 12036 12037 12038 fi 12039 12040 12041 ac_fn_c_check_type "$LINENO" "struct mtd_write_req" "ac_cv_type_struct_mtd_write_req" "#include <mtd/mtd-abi.h> 12042 " 12043 if test "x$ac_cv_type_struct_mtd_write_req" = xyes; then : 12044 12045 cat >>confdefs.h <<_ACEOF 12046 #define HAVE_STRUCT_MTD_WRITE_REQ 1 12047 _ACEOF 12048 12049 12050 fi 12051 12052 12053 ac_fn_c_check_member "$LINENO" "struct ubi_attach_req" "max_beb_per1024" "ac_cv_member_struct_ubi_attach_req_max_beb_per1024" "#include <mtd/ubi-user.h> 12054 " 12055 if test "x$ac_cv_member_struct_ubi_attach_req_max_beb_per1024" = xyes; then : 12056 12057 cat >>confdefs.h <<_ACEOF 12058 #define HAVE_STRUCT_UBI_ATTACH_REQ_MAX_BEB_PER1024 1 12059 _ACEOF 12060 12061 12062 fi 12063 12064 12065 ac_fn_c_check_type "$LINENO" "struct ptp_sys_offset" "ac_cv_type_struct_ptp_sys_offset" "#include <linux/ptp_clock.h> 12066 " 12067 if test "x$ac_cv_type_struct_ptp_sys_offset" = xyes; then : 12068 12069 cat >>confdefs.h <<_ACEOF 12070 #define HAVE_STRUCT_PTP_SYS_OFFSET 1 12071 _ACEOF 12072 12073 12074 fi 12075 12076 12077 ac_fn_c_check_type "$LINENO" "struct kvm_cpuid2" "ac_cv_type_struct_kvm_cpuid2" "#include <linux/kvm.h> 12078 " 12079 if test "x$ac_cv_type_struct_kvm_cpuid2" = xyes; then : 12080 12081 cat >>confdefs.h <<_ACEOF 12082 #define HAVE_STRUCT_KVM_CPUID2 1 12083 _ACEOF 12084 12085 12086 fi 12087 ac_fn_c_check_type "$LINENO" "struct kvm_regs" "ac_cv_type_struct_kvm_regs" "#include <linux/kvm.h> 12088 " 12089 if test "x$ac_cv_type_struct_kvm_regs" = xyes; then : 12090 12091 cat >>confdefs.h <<_ACEOF 12092 #define HAVE_STRUCT_KVM_REGS 1 12093 _ACEOF 12094 12095 12096 fi 12097 ac_fn_c_check_type "$LINENO" "struct kvm_sregs" "ac_cv_type_struct_kvm_sregs" "#include <linux/kvm.h> 12098 " 12099 if test "x$ac_cv_type_struct_kvm_sregs" = xyes; then : 12100 12101 cat >>confdefs.h <<_ACEOF 12102 #define HAVE_STRUCT_KVM_SREGS 1 12103 _ACEOF 12104 12105 12106 fi 12107 ac_fn_c_check_type "$LINENO" "struct kvm_userspace_memory_region" "ac_cv_type_struct_kvm_userspace_memory_region" "#include <linux/kvm.h> 12108 " 12109 if test "x$ac_cv_type_struct_kvm_userspace_memory_region" = xyes; then : 12110 12111 cat >>confdefs.h <<_ACEOF 12112 #define HAVE_STRUCT_KVM_USERSPACE_MEMORY_REGION 1 12113 _ACEOF 12114 12115 12116 fi 12117 12118 12119 saved_CPPFLAGS="$CPPFLAGS" 12120 12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <linux/signal.h> can be used along with <signal.h>" >&5 12122 $as_echo_n "checking whether <linux/signal.h> can be used along with <signal.h>... " >&6; } 12123 if ${st_cv_linux_signal+:} false; then : 12124 $as_echo_n "(cached) " >&6 12125 else 12126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12127 /* end confdefs.h. */ 12128 12129 #include <signal.h> 12130 #include <linux/signal.h> 12131 _ACEOF 12132 if ac_fn_c_try_compile "$LINENO"; then : 12133 st_cv_linux_signal=yes 12134 else 12135 st_cv_linux_signal=no 12136 fi 12137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12138 fi 12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_linux_signal" >&5 12140 $as_echo "$st_cv_linux_signal" >&6; } 12141 if test "x$st_cv_linux_signal" = xno; then 12142 mkdir -p linux/linux 12143 cp $srcdir/linux/signal.h.in linux/linux/signal.h 12144 CPPFLAGS="$CPPFLAGS -Ilinux" 12145 fi 12146 12147 ac_fn_c_check_type "$LINENO" "struct __aio_sigset" "ac_cv_type_struct___aio_sigset" "#include <linux/aio_abi.h> 12148 " 12149 if test "x$ac_cv_type_struct___aio_sigset" = xyes; then : 12150 12151 cat >>confdefs.h <<_ACEOF 12152 #define HAVE_STRUCT___AIO_SIGSET 1 12153 _ACEOF 12154 12155 12156 fi 12157 12158 12159 CPPFLAGS="$saved_CPPFLAGS" 12160 12161 for ac_header in linux/btrfs.h 12162 do : 12163 ac_fn_c_check_header_mongrel "$LINENO" "linux/btrfs.h" "ac_cv_header_linux_btrfs_h" "$ac_includes_default" 12164 if test "x$ac_cv_header_linux_btrfs_h" = xyes; then : 12165 cat >>confdefs.h <<_ACEOF 12166 #define HAVE_LINUX_BTRFS_H 1 12167 _ACEOF 12168 12169 ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_feature_flags" "compat_flags" "ac_cv_member_struct_btrfs_ioctl_feature_flags_compat_flags" " #include <stdio.h> 12170 #include <linux/btrfs.h> 12171 " 12172 if test "x$ac_cv_member_struct_btrfs_ioctl_feature_flags_compat_flags" = xyes; then : 12173 12174 cat >>confdefs.h <<_ACEOF 12175 #define HAVE_STRUCT_BTRFS_IOCTL_FEATURE_FLAGS_COMPAT_FLAGS 1 12176 _ACEOF 12177 12178 12179 fi 12180 ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_fs_info_args" "nodesize" "ac_cv_member_struct_btrfs_ioctl_fs_info_args_nodesize" " #include <stdio.h> 12181 #include <linux/btrfs.h> 12182 " 12183 if test "x$ac_cv_member_struct_btrfs_ioctl_fs_info_args_nodesize" = xyes; then : 12184 12185 cat >>confdefs.h <<_ACEOF 12186 #define HAVE_STRUCT_BTRFS_IOCTL_FS_INFO_ARGS_NODESIZE 1 12187 _ACEOF 12188 12189 12190 fi 12191 ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_defrag_range_args" "start" "ac_cv_member_struct_btrfs_ioctl_defrag_range_args_start" " #include <stdio.h> 12192 #include <linux/btrfs.h> 12193 " 12194 if test "x$ac_cv_member_struct_btrfs_ioctl_defrag_range_args_start" = xyes; then : 12195 12196 cat >>confdefs.h <<_ACEOF 12197 #define HAVE_STRUCT_BTRFS_IOCTL_DEFRAG_RANGE_ARGS_START 1 12198 _ACEOF 12199 12200 12201 fi 12202 ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_search_args_v2" "buf_size" "ac_cv_member_struct_btrfs_ioctl_search_args_v2_buf_size" " #include <stdio.h> 12203 #include <linux/btrfs.h> 12204 " 12205 if test "x$ac_cv_member_struct_btrfs_ioctl_search_args_v2_buf_size" = xyes; then : 12206 12207 cat >>confdefs.h <<_ACEOF 12208 #define HAVE_STRUCT_BTRFS_IOCTL_SEARCH_ARGS_V2_BUF_SIZE 1 12209 _ACEOF 12210 12211 12212 fi 12213 ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_logical_ino_args" "flags" "ac_cv_member_struct_btrfs_ioctl_logical_ino_args_flags" " #include <stdio.h> 12214 #include <linux/btrfs.h> 12215 " 12216 if test "x$ac_cv_member_struct_btrfs_ioctl_logical_ino_args_flags" = xyes; then : 12217 12218 cat >>confdefs.h <<_ACEOF 12219 #define HAVE_STRUCT_BTRFS_IOCTL_LOGICAL_INO_ARGS_FLAGS 1 12220 _ACEOF 12221 12222 12223 fi 12224 12225 ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_NONE" "ac_cv_have_decl_BTRFS_COMPRESS_NONE" " #include <stdio.h> 12226 #include <linux/btrfs.h> 12227 " 12228 if test "x$ac_cv_have_decl_BTRFS_COMPRESS_NONE" = xyes; then : 12229 ac_have_decl=1 12230 else 12231 ac_have_decl=0 12232 fi 12233 12234 cat >>confdefs.h <<_ACEOF 12235 #define HAVE_DECL_BTRFS_COMPRESS_NONE $ac_have_decl 12236 _ACEOF 12237 ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_ZLIB" "ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" " #include <stdio.h> 12238 #include <linux/btrfs.h> 12239 " 12240 if test "x$ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" = xyes; then : 12241 ac_have_decl=1 12242 else 12243 ac_have_decl=0 12244 fi 12245 12246 cat >>confdefs.h <<_ACEOF 12247 #define HAVE_DECL_BTRFS_COMPRESS_ZLIB $ac_have_decl 12248 _ACEOF 12249 ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_LZO" "ac_cv_have_decl_BTRFS_COMPRESS_LZO" " #include <stdio.h> 12250 #include <linux/btrfs.h> 12251 " 12252 if test "x$ac_cv_have_decl_BTRFS_COMPRESS_LZO" = xyes; then : 12253 ac_have_decl=1 12254 else 12255 ac_have_decl=0 12256 fi 12257 12258 cat >>confdefs.h <<_ACEOF 12259 #define HAVE_DECL_BTRFS_COMPRESS_LZO $ac_have_decl 12260 _ACEOF 12261 12262 fi 12263 12264 done 12265 12266 12267 ac_fn_c_check_decl "$LINENO" "sys_errlist" "ac_cv_have_decl_sys_errlist" "$ac_includes_default" 12268 if test "x$ac_cv_have_decl_sys_errlist" = xyes; then : 12269 ac_have_decl=1 12270 else 12271 ac_have_decl=0 12272 fi 12273 12274 cat >>confdefs.h <<_ACEOF 12275 #define HAVE_DECL_SYS_ERRLIST $ac_have_decl 12276 _ACEOF 12277 12278 ac_fn_c_check_decl "$LINENO" "PTRACE_PEEKUSER" "ac_cv_have_decl_PTRACE_PEEKUSER" "#include <sys/ptrace.h> 12279 " 12280 if test "x$ac_cv_have_decl_PTRACE_PEEKUSER" = xyes; then : 12281 ac_have_decl=1 12282 else 12283 ac_have_decl=0 12284 fi 12285 12286 cat >>confdefs.h <<_ACEOF 12287 #define HAVE_DECL_PTRACE_PEEKUSER $ac_have_decl 12288 _ACEOF 12289 ac_fn_c_check_decl "$LINENO" "PTRACE_POKEUSER" "ac_cv_have_decl_PTRACE_POKEUSER" "#include <sys/ptrace.h> 12290 " 12291 if test "x$ac_cv_have_decl_PTRACE_POKEUSER" = xyes; then : 12292 ac_have_decl=1 12293 else 12294 ac_have_decl=0 12295 fi 12296 12297 cat >>confdefs.h <<_ACEOF 12298 #define HAVE_DECL_PTRACE_POKEUSER $ac_have_decl 12299 _ACEOF 12300 12301 12302 ac_fn_c_check_decl "$LINENO" "P_PID" "ac_cv_have_decl_P_PID" "#include <sys/wait.h> 12303 " 12304 if test "x$ac_cv_have_decl_P_PID" = xyes; then : 12305 ac_have_decl=1 12306 else 12307 ac_have_decl=0 12308 fi 12309 12310 cat >>confdefs.h <<_ACEOF 12311 #define HAVE_DECL_P_PID $ac_have_decl 12312 _ACEOF 12313 ac_fn_c_check_decl "$LINENO" "P_PPID" "ac_cv_have_decl_P_PPID" "#include <sys/wait.h> 12314 " 12315 if test "x$ac_cv_have_decl_P_PPID" = xyes; then : 12316 ac_have_decl=1 12317 else 12318 ac_have_decl=0 12319 fi 12320 12321 cat >>confdefs.h <<_ACEOF 12322 #define HAVE_DECL_P_PPID $ac_have_decl 12323 _ACEOF 12324 ac_fn_c_check_decl "$LINENO" "P_PGID" "ac_cv_have_decl_P_PGID" "#include <sys/wait.h> 12325 " 12326 if test "x$ac_cv_have_decl_P_PGID" = xyes; then : 12327 ac_have_decl=1 12328 else 12329 ac_have_decl=0 12330 fi 12331 12332 cat >>confdefs.h <<_ACEOF 12333 #define HAVE_DECL_P_PGID $ac_have_decl 12334 _ACEOF 12335 ac_fn_c_check_decl "$LINENO" "P_SID" "ac_cv_have_decl_P_SID" "#include <sys/wait.h> 12336 " 12337 if test "x$ac_cv_have_decl_P_SID" = xyes; then : 12338 ac_have_decl=1 12339 else 12340 ac_have_decl=0 12341 fi 12342 12343 cat >>confdefs.h <<_ACEOF 12344 #define HAVE_DECL_P_SID $ac_have_decl 12345 _ACEOF 12346 ac_fn_c_check_decl "$LINENO" "P_CID" "ac_cv_have_decl_P_CID" "#include <sys/wait.h> 12347 " 12348 if test "x$ac_cv_have_decl_P_CID" = xyes; then : 12349 ac_have_decl=1 12350 else 12351 ac_have_decl=0 12352 fi 12353 12354 cat >>confdefs.h <<_ACEOF 12355 #define HAVE_DECL_P_CID $ac_have_decl 12356 _ACEOF 12357 ac_fn_c_check_decl "$LINENO" "P_UID" "ac_cv_have_decl_P_UID" "#include <sys/wait.h> 12358 " 12359 if test "x$ac_cv_have_decl_P_UID" = xyes; then : 12360 ac_have_decl=1 12361 else 12362 ac_have_decl=0 12363 fi 12364 12365 cat >>confdefs.h <<_ACEOF 12366 #define HAVE_DECL_P_UID $ac_have_decl 12367 _ACEOF 12368 ac_fn_c_check_decl "$LINENO" "P_GID" "ac_cv_have_decl_P_GID" "#include <sys/wait.h> 12369 " 12370 if test "x$ac_cv_have_decl_P_GID" = xyes; then : 12371 ac_have_decl=1 12372 else 12373 ac_have_decl=0 12374 fi 12375 12376 cat >>confdefs.h <<_ACEOF 12377 #define HAVE_DECL_P_GID $ac_have_decl 12378 _ACEOF 12379 ac_fn_c_check_decl "$LINENO" "P_ALL" "ac_cv_have_decl_P_ALL" "#include <sys/wait.h> 12380 " 12381 if test "x$ac_cv_have_decl_P_ALL" = xyes; then : 12382 ac_have_decl=1 12383 else 12384 ac_have_decl=0 12385 fi 12386 12387 cat >>confdefs.h <<_ACEOF 12388 #define HAVE_DECL_P_ALL $ac_have_decl 12389 _ACEOF 12390 ac_fn_c_check_decl "$LINENO" "P_LWPID" "ac_cv_have_decl_P_LWPID" "#include <sys/wait.h> 12391 " 12392 if test "x$ac_cv_have_decl_P_LWPID" = xyes; then : 12393 ac_have_decl=1 12394 else 12395 ac_have_decl=0 12396 fi 12397 12398 cat >>confdefs.h <<_ACEOF 12399 #define HAVE_DECL_P_LWPID $ac_have_decl 12400 _ACEOF 12401 12402 12403 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_READ_ONLY" "ac_cv_have_decl_LO_FLAGS_READ_ONLY" "#include <linux/loop.h> 12404 " 12405 if test "x$ac_cv_have_decl_LO_FLAGS_READ_ONLY" = xyes; then : 12406 ac_have_decl=1 12407 else 12408 ac_have_decl=0 12409 fi 12410 12411 cat >>confdefs.h <<_ACEOF 12412 #define HAVE_DECL_LO_FLAGS_READ_ONLY $ac_have_decl 12413 _ACEOF 12414 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_USE_AOPS" "ac_cv_have_decl_LO_FLAGS_USE_AOPS" "#include <linux/loop.h> 12415 " 12416 if test "x$ac_cv_have_decl_LO_FLAGS_USE_AOPS" = xyes; then : 12417 ac_have_decl=1 12418 else 12419 ac_have_decl=0 12420 fi 12421 12422 cat >>confdefs.h <<_ACEOF 12423 #define HAVE_DECL_LO_FLAGS_USE_AOPS $ac_have_decl 12424 _ACEOF 12425 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_AUTOCLEAR" "ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" "#include <linux/loop.h> 12426 " 12427 if test "x$ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" = xyes; then : 12428 ac_have_decl=1 12429 else 12430 ac_have_decl=0 12431 fi 12432 12433 cat >>confdefs.h <<_ACEOF 12434 #define HAVE_DECL_LO_FLAGS_AUTOCLEAR $ac_have_decl 12435 _ACEOF 12436 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_PARTSCAN" "ac_cv_have_decl_LO_FLAGS_PARTSCAN" "#include <linux/loop.h> 12437 " 12438 if test "x$ac_cv_have_decl_LO_FLAGS_PARTSCAN" = xyes; then : 12439 ac_have_decl=1 12440 else 12441 ac_have_decl=0 12442 fi 12443 12444 cat >>confdefs.h <<_ACEOF 12445 #define HAVE_DECL_LO_FLAGS_PARTSCAN $ac_have_decl 12446 _ACEOF 12447 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_DIRECT_IO" "ac_cv_have_decl_LO_FLAGS_DIRECT_IO" "#include <linux/loop.h> 12448 " 12449 if test "x$ac_cv_have_decl_LO_FLAGS_DIRECT_IO" = xyes; then : 12450 ac_have_decl=1 12451 else 12452 ac_have_decl=0 12453 fi 12454 12455 cat >>confdefs.h <<_ACEOF 12456 #define HAVE_DECL_LO_FLAGS_DIRECT_IO $ac_have_decl 12457 _ACEOF 12458 12459 12460 ac_fn_c_check_decl "$LINENO" "CTL_PROC" "ac_cv_have_decl_CTL_PROC" "#include <sys/types.h> 12461 #include <linux/sysctl.h> 12462 " 12463 if test "x$ac_cv_have_decl_CTL_PROC" = xyes; then : 12464 ac_have_decl=1 12465 else 12466 ac_have_decl=0 12467 fi 12468 12469 cat >>confdefs.h <<_ACEOF 12470 #define HAVE_DECL_CTL_PROC $ac_have_decl 12471 _ACEOF 12472 ac_fn_c_check_decl "$LINENO" "CTL_ARLAN" "ac_cv_have_decl_CTL_ARLAN" "#include <sys/types.h> 12473 #include <linux/sysctl.h> 12474 " 12475 if test "x$ac_cv_have_decl_CTL_ARLAN" = xyes; then : 12476 ac_have_decl=1 12477 else 12478 ac_have_decl=0 12479 fi 12480 12481 cat >>confdefs.h <<_ACEOF 12482 #define HAVE_DECL_CTL_ARLAN $ac_have_decl 12483 _ACEOF 12484 ac_fn_c_check_decl "$LINENO" "CTL_S390DBF" "ac_cv_have_decl_CTL_S390DBF" "#include <sys/types.h> 12485 #include <linux/sysctl.h> 12486 " 12487 if test "x$ac_cv_have_decl_CTL_S390DBF" = xyes; then : 12488 ac_have_decl=1 12489 else 12490 ac_have_decl=0 12491 fi 12492 12493 cat >>confdefs.h <<_ACEOF 12494 #define HAVE_DECL_CTL_S390DBF $ac_have_decl 12495 _ACEOF 12496 ac_fn_c_check_decl "$LINENO" "CTL_SUNRPC" "ac_cv_have_decl_CTL_SUNRPC" "#include <sys/types.h> 12497 #include <linux/sysctl.h> 12498 " 12499 if test "x$ac_cv_have_decl_CTL_SUNRPC" = xyes; then : 12500 ac_have_decl=1 12501 else 12502 ac_have_decl=0 12503 fi 12504 12505 cat >>confdefs.h <<_ACEOF 12506 #define HAVE_DECL_CTL_SUNRPC $ac_have_decl 12507 _ACEOF 12508 ac_fn_c_check_decl "$LINENO" "CTL_PM" "ac_cv_have_decl_CTL_PM" "#include <sys/types.h> 12509 #include <linux/sysctl.h> 12510 " 12511 if test "x$ac_cv_have_decl_CTL_PM" = xyes; then : 12512 ac_have_decl=1 12513 else 12514 ac_have_decl=0 12515 fi 12516 12517 cat >>confdefs.h <<_ACEOF 12518 #define HAVE_DECL_CTL_PM $ac_have_decl 12519 _ACEOF 12520 ac_fn_c_check_decl "$LINENO" "CTL_FRV" "ac_cv_have_decl_CTL_FRV" "#include <sys/types.h> 12521 #include <linux/sysctl.h> 12522 " 12523 if test "x$ac_cv_have_decl_CTL_FRV" = xyes; then : 12524 ac_have_decl=1 12525 else 12526 ac_have_decl=0 12527 fi 12528 12529 cat >>confdefs.h <<_ACEOF 12530 #define HAVE_DECL_CTL_FRV $ac_have_decl 12531 _ACEOF 12532 ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT" "#include <sys/types.h> 12533 #include <linux/sysctl.h> 12534 " 12535 if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT" = xyes; then : 12536 ac_have_decl=1 12537 else 12538 ac_have_decl=0 12539 fi 12540 12541 cat >>confdefs.h <<_ACEOF 12542 #define HAVE_DECL_KERN_PRINTK_RATELIMIT $ac_have_decl 12543 _ACEOF 12544 ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT_BURST" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" "#include <sys/types.h> 12545 #include <linux/sysctl.h> 12546 " 12547 if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" = xyes; then : 12548 ac_have_decl=1 12549 else 12550 ac_have_decl=0 12551 fi 12552 12553 cat >>confdefs.h <<_ACEOF 12554 #define HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST $ac_have_decl 12555 _ACEOF 12556 ac_fn_c_check_decl "$LINENO" "KERN_PTY" "ac_cv_have_decl_KERN_PTY" "#include <sys/types.h> 12557 #include <linux/sysctl.h> 12558 " 12559 if test "x$ac_cv_have_decl_KERN_PTY" = xyes; then : 12560 ac_have_decl=1 12561 else 12562 ac_have_decl=0 12563 fi 12564 12565 cat >>confdefs.h <<_ACEOF 12566 #define HAVE_DECL_KERN_PTY $ac_have_decl 12567 _ACEOF 12568 ac_fn_c_check_decl "$LINENO" "KERN_NGROUPS_MAX" "ac_cv_have_decl_KERN_NGROUPS_MAX" "#include <sys/types.h> 12569 #include <linux/sysctl.h> 12570 " 12571 if test "x$ac_cv_have_decl_KERN_NGROUPS_MAX" = xyes; then : 12572 ac_have_decl=1 12573 else 12574 ac_have_decl=0 12575 fi 12576 12577 cat >>confdefs.h <<_ACEOF 12578 #define HAVE_DECL_KERN_NGROUPS_MAX $ac_have_decl 12579 _ACEOF 12580 ac_fn_c_check_decl "$LINENO" "KERN_SPARC_SCONS_PWROFF" "ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" "#include <sys/types.h> 12581 #include <linux/sysctl.h> 12582 " 12583 if test "x$ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" = xyes; then : 12584 ac_have_decl=1 12585 else 12586 ac_have_decl=0 12587 fi 12588 12589 cat >>confdefs.h <<_ACEOF 12590 #define HAVE_DECL_KERN_SPARC_SCONS_PWROFF $ac_have_decl 12591 _ACEOF 12592 ac_fn_c_check_decl "$LINENO" "KERN_HZ_TIMER" "ac_cv_have_decl_KERN_HZ_TIMER" "#include <sys/types.h> 12593 #include <linux/sysctl.h> 12594 " 12595 if test "x$ac_cv_have_decl_KERN_HZ_TIMER" = xyes; then : 12596 ac_have_decl=1 12597 else 12598 ac_have_decl=0 12599 fi 12600 12601 cat >>confdefs.h <<_ACEOF 12602 #define HAVE_DECL_KERN_HZ_TIMER $ac_have_decl 12603 _ACEOF 12604 ac_fn_c_check_decl "$LINENO" "KERN_UNKNOWN_NMI_PANIC" "ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" "#include <sys/types.h> 12605 #include <linux/sysctl.h> 12606 " 12607 if test "x$ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" = xyes; then : 12608 ac_have_decl=1 12609 else 12610 ac_have_decl=0 12611 fi 12612 12613 cat >>confdefs.h <<_ACEOF 12614 #define HAVE_DECL_KERN_UNKNOWN_NMI_PANIC $ac_have_decl 12615 _ACEOF 12616 ac_fn_c_check_decl "$LINENO" "KERN_BOOTLOADER_TYPE" "ac_cv_have_decl_KERN_BOOTLOADER_TYPE" "#include <sys/types.h> 12617 #include <linux/sysctl.h> 12618 " 12619 if test "x$ac_cv_have_decl_KERN_BOOTLOADER_TYPE" = xyes; then : 12620 ac_have_decl=1 12621 else 12622 ac_have_decl=0 12623 fi 12624 12625 cat >>confdefs.h <<_ACEOF 12626 #define HAVE_DECL_KERN_BOOTLOADER_TYPE $ac_have_decl 12627 _ACEOF 12628 ac_fn_c_check_decl "$LINENO" "KERN_RANDOMIZE" "ac_cv_have_decl_KERN_RANDOMIZE" "#include <sys/types.h> 12629 #include <linux/sysctl.h> 12630 " 12631 if test "x$ac_cv_have_decl_KERN_RANDOMIZE" = xyes; then : 12632 ac_have_decl=1 12633 else 12634 ac_have_decl=0 12635 fi 12636 12637 cat >>confdefs.h <<_ACEOF 12638 #define HAVE_DECL_KERN_RANDOMIZE $ac_have_decl 12639 _ACEOF 12640 ac_fn_c_check_decl "$LINENO" "KERN_SETUID_DUMPABLE" "ac_cv_have_decl_KERN_SETUID_DUMPABLE" "#include <sys/types.h> 12641 #include <linux/sysctl.h> 12642 " 12643 if test "x$ac_cv_have_decl_KERN_SETUID_DUMPABLE" = xyes; then : 12644 ac_have_decl=1 12645 else 12646 ac_have_decl=0 12647 fi 12648 12649 cat >>confdefs.h <<_ACEOF 12650 #define HAVE_DECL_KERN_SETUID_DUMPABLE $ac_have_decl 12651 _ACEOF 12652 ac_fn_c_check_decl "$LINENO" "KERN_SPIN_RETRY" "ac_cv_have_decl_KERN_SPIN_RETRY" "#include <sys/types.h> 12653 #include <linux/sysctl.h> 12654 " 12655 if test "x$ac_cv_have_decl_KERN_SPIN_RETRY" = xyes; then : 12656 ac_have_decl=1 12657 else 12658 ac_have_decl=0 12659 fi 12660 12661 cat >>confdefs.h <<_ACEOF 12662 #define HAVE_DECL_KERN_SPIN_RETRY $ac_have_decl 12663 _ACEOF 12664 ac_fn_c_check_decl "$LINENO" "KERN_ACPI_VIDEO_FLAGS" "ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" "#include <sys/types.h> 12665 #include <linux/sysctl.h> 12666 " 12667 if test "x$ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" = xyes; then : 12668 ac_have_decl=1 12669 else 12670 ac_have_decl=0 12671 fi 12672 12673 cat >>confdefs.h <<_ACEOF 12674 #define HAVE_DECL_KERN_ACPI_VIDEO_FLAGS $ac_have_decl 12675 _ACEOF 12676 ac_fn_c_check_decl "$LINENO" "KERN_IA64_UNALIGNED" "ac_cv_have_decl_KERN_IA64_UNALIGNED" "#include <sys/types.h> 12677 #include <linux/sysctl.h> 12678 " 12679 if test "x$ac_cv_have_decl_KERN_IA64_UNALIGNED" = xyes; then : 12680 ac_have_decl=1 12681 else 12682 ac_have_decl=0 12683 fi 12684 12685 cat >>confdefs.h <<_ACEOF 12686 #define HAVE_DECL_KERN_IA64_UNALIGNED $ac_have_decl 12687 _ACEOF 12688 ac_fn_c_check_decl "$LINENO" "KERN_COMPAT_LOG" "ac_cv_have_decl_KERN_COMPAT_LOG" "#include <sys/types.h> 12689 #include <linux/sysctl.h> 12690 " 12691 if test "x$ac_cv_have_decl_KERN_COMPAT_LOG" = xyes; then : 12692 ac_have_decl=1 12693 else 12694 ac_have_decl=0 12695 fi 12696 12697 cat >>confdefs.h <<_ACEOF 12698 #define HAVE_DECL_KERN_COMPAT_LOG $ac_have_decl 12699 _ACEOF 12700 ac_fn_c_check_decl "$LINENO" "KERN_MAX_LOCK_DEPTH" "ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" "#include <sys/types.h> 12701 #include <linux/sysctl.h> 12702 " 12703 if test "x$ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" = xyes; then : 12704 ac_have_decl=1 12705 else 12706 ac_have_decl=0 12707 fi 12708 12709 cat >>confdefs.h <<_ACEOF 12710 #define HAVE_DECL_KERN_MAX_LOCK_DEPTH $ac_have_decl 12711 _ACEOF 12712 ac_fn_c_check_decl "$LINENO" "KERN_NMI_WATCHDOG" "ac_cv_have_decl_KERN_NMI_WATCHDOG" "#include <sys/types.h> 12713 #include <linux/sysctl.h> 12714 " 12715 if test "x$ac_cv_have_decl_KERN_NMI_WATCHDOG" = xyes; then : 12716 ac_have_decl=1 12717 else 12718 ac_have_decl=0 12719 fi 12720 12721 cat >>confdefs.h <<_ACEOF 12722 #define HAVE_DECL_KERN_NMI_WATCHDOG $ac_have_decl 12723 _ACEOF 12724 ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_NMI" "ac_cv_have_decl_KERN_PANIC_ON_NMI" "#include <sys/types.h> 12725 #include <linux/sysctl.h> 12726 " 12727 if test "x$ac_cv_have_decl_KERN_PANIC_ON_NMI" = xyes; then : 12728 ac_have_decl=1 12729 else 12730 ac_have_decl=0 12731 fi 12732 12733 cat >>confdefs.h <<_ACEOF 12734 #define HAVE_DECL_KERN_PANIC_ON_NMI $ac_have_decl 12735 _ACEOF 12736 ac_fn_c_check_decl "$LINENO" "NET_LLC" "ac_cv_have_decl_NET_LLC" "#include <sys/types.h> 12737 #include <linux/sysctl.h> 12738 " 12739 if test "x$ac_cv_have_decl_NET_LLC" = xyes; then : 12740 ac_have_decl=1 12741 else 12742 ac_have_decl=0 12743 fi 12744 12745 cat >>confdefs.h <<_ACEOF 12746 #define HAVE_DECL_NET_LLC $ac_have_decl 12747 _ACEOF 12748 ac_fn_c_check_decl "$LINENO" "NET_NETFILTER" "ac_cv_have_decl_NET_NETFILTER" "#include <sys/types.h> 12749 #include <linux/sysctl.h> 12750 " 12751 if test "x$ac_cv_have_decl_NET_NETFILTER" = xyes; then : 12752 ac_have_decl=1 12753 else 12754 ac_have_decl=0 12755 fi 12756 12757 cat >>confdefs.h <<_ACEOF 12758 #define HAVE_DECL_NET_NETFILTER $ac_have_decl 12759 _ACEOF 12760 ac_fn_c_check_decl "$LINENO" "NET_DCCP" "ac_cv_have_decl_NET_DCCP" "#include <sys/types.h> 12761 #include <linux/sysctl.h> 12762 " 12763 if test "x$ac_cv_have_decl_NET_DCCP" = xyes; then : 12764 ac_have_decl=1 12765 else 12766 ac_have_decl=0 12767 fi 12768 12769 cat >>confdefs.h <<_ACEOF 12770 #define HAVE_DECL_NET_DCCP $ac_have_decl 12771 _ACEOF 12772 ac_fn_c_check_decl "$LINENO" "NET_IRDA" "ac_cv_have_decl_NET_IRDA" "#include <sys/types.h> 12773 #include <linux/sysctl.h> 12774 " 12775 if test "x$ac_cv_have_decl_NET_IRDA" = xyes; then : 12776 ac_have_decl=1 12777 else 12778 ac_have_decl=0 12779 fi 12780 12781 cat >>confdefs.h <<_ACEOF 12782 #define HAVE_DECL_NET_IRDA $ac_have_decl 12783 _ACEOF 12784 ac_fn_c_check_decl "$LINENO" "NET_CORE_DESTROY_DELAY" "ac_cv_have_decl_NET_CORE_DESTROY_DELAY" "#include <sys/types.h> 12785 #include <linux/sysctl.h> 12786 " 12787 if test "x$ac_cv_have_decl_NET_CORE_DESTROY_DELAY" = xyes; then : 12788 ac_have_decl=1 12789 else 12790 ac_have_decl=0 12791 fi 12792 12793 cat >>confdefs.h <<_ACEOF 12794 #define HAVE_DECL_NET_CORE_DESTROY_DELAY $ac_have_decl 12795 _ACEOF 12796 ac_fn_c_check_decl "$LINENO" "NET_CORE_BUDGET" "ac_cv_have_decl_NET_CORE_BUDGET" "#include <sys/types.h> 12797 #include <linux/sysctl.h> 12798 " 12799 if test "x$ac_cv_have_decl_NET_CORE_BUDGET" = xyes; then : 12800 ac_have_decl=1 12801 else 12802 ac_have_decl=0 12803 fi 12804 12805 cat >>confdefs.h <<_ACEOF 12806 #define HAVE_DECL_NET_CORE_BUDGET $ac_have_decl 12807 _ACEOF 12808 ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_ETIME" "ac_cv_have_decl_NET_CORE_AEVENT_ETIME" "#include <sys/types.h> 12809 #include <linux/sysctl.h> 12810 " 12811 if test "x$ac_cv_have_decl_NET_CORE_AEVENT_ETIME" = xyes; then : 12812 ac_have_decl=1 12813 else 12814 ac_have_decl=0 12815 fi 12816 12817 cat >>confdefs.h <<_ACEOF 12818 #define HAVE_DECL_NET_CORE_AEVENT_ETIME $ac_have_decl 12819 _ACEOF 12820 ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_RSEQTH" "ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" "#include <sys/types.h> 12821 #include <linux/sysctl.h> 12822 " 12823 if test "x$ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" = xyes; then : 12824 ac_have_decl=1 12825 else 12826 ac_have_decl=0 12827 fi 12828 12829 cat >>confdefs.h <<_ACEOF 12830 #define HAVE_DECL_NET_CORE_AEVENT_RSEQTH $ac_have_decl 12831 _ACEOF 12832 ac_fn_c_check_decl "$LINENO" "NET_CORE_WARNINGS" "ac_cv_have_decl_NET_CORE_WARNINGS" "#include <sys/types.h> 12833 #include <linux/sysctl.h> 12834 " 12835 if test "x$ac_cv_have_decl_NET_CORE_WARNINGS" = xyes; then : 12836 ac_have_decl=1 12837 else 12838 ac_have_decl=0 12839 fi 12840 12841 cat >>confdefs.h <<_ACEOF 12842 #define HAVE_DECL_NET_CORE_WARNINGS $ac_have_decl 12843 _ACEOF 12844 ac_fn_c_check_decl "$LINENO" "NET_IPV4_IGMP_MAX_MSF" "ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" "#include <sys/types.h> 12845 #include <linux/sysctl.h> 12846 " 12847 if test "x$ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" = xyes; then : 12848 ac_have_decl=1 12849 else 12850 ac_have_decl=0 12851 fi 12852 12853 cat >>confdefs.h <<_ACEOF 12854 #define HAVE_DECL_NET_IPV4_IGMP_MAX_MSF $ac_have_decl 12855 _ACEOF 12856 ac_fn_c_check_decl "$LINENO" "NET_TCP_NO_METRICS_SAVE" "ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" "#include <sys/types.h> 12857 #include <linux/sysctl.h> 12858 " 12859 if test "x$ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" = xyes; then : 12860 ac_have_decl=1 12861 else 12862 ac_have_decl=0 12863 fi 12864 12865 cat >>confdefs.h <<_ACEOF 12866 #define HAVE_DECL_NET_TCP_NO_METRICS_SAVE $ac_have_decl 12867 _ACEOF 12868 ac_fn_c_check_decl "$LINENO" "NET_TCP_DEFAULT_WIN_SCALE" "ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" "#include <sys/types.h> 12869 #include <linux/sysctl.h> 12870 " 12871 if test "x$ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" = xyes; then : 12872 ac_have_decl=1 12873 else 12874 ac_have_decl=0 12875 fi 12876 12877 cat >>confdefs.h <<_ACEOF 12878 #define HAVE_DECL_NET_TCP_DEFAULT_WIN_SCALE $ac_have_decl 12879 _ACEOF 12880 ac_fn_c_check_decl "$LINENO" "NET_TCP_MODERATE_RCVBUF" "ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" "#include <sys/types.h> 12881 #include <linux/sysctl.h> 12882 " 12883 if test "x$ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" = xyes; then : 12884 ac_have_decl=1 12885 else 12886 ac_have_decl=0 12887 fi 12888 12889 cat >>confdefs.h <<_ACEOF 12890 #define HAVE_DECL_NET_TCP_MODERATE_RCVBUF $ac_have_decl 12891 _ACEOF 12892 ac_fn_c_check_decl "$LINENO" "NET_TCP_TSO_WIN_DIVISOR" "ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" "#include <sys/types.h> 12893 #include <linux/sysctl.h> 12894 " 12895 if test "x$ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" = xyes; then : 12896 ac_have_decl=1 12897 else 12898 ac_have_decl=0 12899 fi 12900 12901 cat >>confdefs.h <<_ACEOF 12902 #define HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR $ac_have_decl 12903 _ACEOF 12904 ac_fn_c_check_decl "$LINENO" "NET_TCP_BIC_BETA" "ac_cv_have_decl_NET_TCP_BIC_BETA" "#include <sys/types.h> 12905 #include <linux/sysctl.h> 12906 " 12907 if test "x$ac_cv_have_decl_NET_TCP_BIC_BETA" = xyes; then : 12908 ac_have_decl=1 12909 else 12910 ac_have_decl=0 12911 fi 12912 12913 cat >>confdefs.h <<_ACEOF 12914 #define HAVE_DECL_NET_TCP_BIC_BETA $ac_have_decl 12915 _ACEOF 12916 ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" "ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" "#include <sys/types.h> 12917 #include <linux/sysctl.h> 12918 " 12919 if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" = xyes; then : 12920 ac_have_decl=1 12921 else 12922 ac_have_decl=0 12923 fi 12924 12925 cat >>confdefs.h <<_ACEOF 12926 #define HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR $ac_have_decl 12927 _ACEOF 12928 ac_fn_c_check_decl "$LINENO" "NET_TCP_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_CONG_CONTROL" "#include <sys/types.h> 12929 #include <linux/sysctl.h> 12930 " 12931 if test "x$ac_cv_have_decl_NET_TCP_CONG_CONTROL" = xyes; then : 12932 ac_have_decl=1 12933 else 12934 ac_have_decl=0 12935 fi 12936 12937 cat >>confdefs.h <<_ACEOF 12938 #define HAVE_DECL_NET_TCP_CONG_CONTROL $ac_have_decl 12939 _ACEOF 12940 ac_fn_c_check_decl "$LINENO" "NET_TCP_ABC" "ac_cv_have_decl_NET_TCP_ABC" "#include <sys/types.h> 12941 #include <linux/sysctl.h> 12942 " 12943 if test "x$ac_cv_have_decl_NET_TCP_ABC" = xyes; then : 12944 ac_have_decl=1 12945 else 12946 ac_have_decl=0 12947 fi 12948 12949 cat >>confdefs.h <<_ACEOF 12950 #define HAVE_DECL_NET_TCP_ABC $ac_have_decl 12951 _ACEOF 12952 ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_MAX_DIST" "ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" "#include <sys/types.h> 12953 #include <linux/sysctl.h> 12954 " 12955 if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" = xyes; then : 12956 ac_have_decl=1 12957 else 12958 ac_have_decl=0 12959 fi 12960 12961 cat >>confdefs.h <<_ACEOF 12962 #define HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST $ac_have_decl 12963 _ACEOF 12964 ac_fn_c_check_decl "$LINENO" "NET_TCP_MTU_PROBING" "ac_cv_have_decl_NET_TCP_MTU_PROBING" "#include <sys/types.h> 12965 #include <linux/sysctl.h> 12966 " 12967 if test "x$ac_cv_have_decl_NET_TCP_MTU_PROBING" = xyes; then : 12968 ac_have_decl=1 12969 else 12970 ac_have_decl=0 12971 fi 12972 12973 cat >>confdefs.h <<_ACEOF 12974 #define HAVE_DECL_NET_TCP_MTU_PROBING $ac_have_decl 12975 _ACEOF 12976 ac_fn_c_check_decl "$LINENO" "NET_TCP_BASE_MSS" "ac_cv_have_decl_NET_TCP_BASE_MSS" "#include <sys/types.h> 12977 #include <linux/sysctl.h> 12978 " 12979 if test "x$ac_cv_have_decl_NET_TCP_BASE_MSS" = xyes; then : 12980 ac_have_decl=1 12981 else 12982 ac_have_decl=0 12983 fi 12984 12985 cat >>confdefs.h <<_ACEOF 12986 #define HAVE_DECL_NET_TCP_BASE_MSS $ac_have_decl 12987 _ACEOF 12988 ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" "ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" "#include <sys/types.h> 12989 #include <linux/sysctl.h> 12990 " 12991 if test "x$ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" = xyes; then : 12992 ac_have_decl=1 12993 else 12994 ac_have_decl=0 12995 fi 12996 12997 cat >>confdefs.h <<_ACEOF 12998 #define HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS $ac_have_decl 12999 _ACEOF 13000 ac_fn_c_check_decl "$LINENO" "NET_TCP_DMA_COPYBREAK" "ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" "#include <sys/types.h> 13001 #include <linux/sysctl.h> 13002 " 13003 if test "x$ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" = xyes; then : 13004 ac_have_decl=1 13005 else 13006 ac_have_decl=0 13007 fi 13008 13009 cat >>confdefs.h <<_ACEOF 13010 #define HAVE_DECL_NET_TCP_DMA_COPYBREAK $ac_have_decl 13011 _ACEOF 13012 ac_fn_c_check_decl "$LINENO" "NET_TCP_SLOW_START_AFTER_IDLE" "ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" "#include <sys/types.h> 13013 #include <linux/sysctl.h> 13014 " 13015 if test "x$ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" = xyes; then : 13016 ac_have_decl=1 13017 else 13018 ac_have_decl=0 13019 fi 13020 13021 cat >>confdefs.h <<_ACEOF 13022 #define HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE $ac_have_decl 13023 _ACEOF 13024 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_ENABLE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" "#include <sys/types.h> 13025 #include <linux/sysctl.h> 13026 " 13027 if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" = xyes; then : 13028 ac_have_decl=1 13029 else 13030 ac_have_decl=0 13031 fi 13032 13033 cat >>confdefs.h <<_ACEOF 13034 #define HAVE_DECL_NET_CIPSOV4_CACHE_ENABLE $ac_have_decl 13035 _ACEOF 13036 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_BUCKET_SIZE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" "#include <sys/types.h> 13037 #include <linux/sysctl.h> 13038 " 13039 if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" = xyes; then : 13040 ac_have_decl=1 13041 else 13042 ac_have_decl=0 13043 fi 13044 13045 cat >>confdefs.h <<_ACEOF 13046 #define HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE $ac_have_decl 13047 _ACEOF 13048 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_OPTFMT" "ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" "#include <sys/types.h> 13049 #include <linux/sysctl.h> 13050 " 13051 if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" = xyes; then : 13052 ac_have_decl=1 13053 else 13054 ac_have_decl=0 13055 fi 13056 13057 cat >>confdefs.h <<_ACEOF 13058 #define HAVE_DECL_NET_CIPSOV4_RBM_OPTFMT $ac_have_decl 13059 _ACEOF 13060 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_STRICTVALID" "ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" "#include <sys/types.h> 13061 #include <linux/sysctl.h> 13062 " 13063 if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" = xyes; then : 13064 ac_have_decl=1 13065 else 13066 ac_have_decl=0 13067 fi 13068 13069 cat >>confdefs.h <<_ACEOF 13070 #define HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID $ac_have_decl 13071 _ACEOF 13072 ac_fn_c_check_decl "$LINENO" "NET_TCP_AVAIL_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" "#include <sys/types.h> 13073 #include <linux/sysctl.h> 13074 " 13075 if test "x$ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" = xyes; then : 13076 ac_have_decl=1 13077 else 13078 ac_have_decl=0 13079 fi 13080 13081 cat >>confdefs.h <<_ACEOF 13082 #define HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL $ac_have_decl 13083 _ACEOF 13084 ac_fn_c_check_decl "$LINENO" "NET_TCP_ALLOWED_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" "#include <sys/types.h> 13085 #include <linux/sysctl.h> 13086 " 13087 if test "x$ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" = xyes; then : 13088 ac_have_decl=1 13089 else 13090 ac_have_decl=0 13091 fi 13092 13093 cat >>confdefs.h <<_ACEOF 13094 #define HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL $ac_have_decl 13095 _ACEOF 13096 ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_SSTHRESH" "ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" "#include <sys/types.h> 13097 #include <linux/sysctl.h> 13098 " 13099 if test "x$ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" = xyes; then : 13100 ac_have_decl=1 13101 else 13102 ac_have_decl=0 13103 fi 13104 13105 cat >>confdefs.h <<_ACEOF 13106 #define HAVE_DECL_NET_TCP_MAX_SSTHRESH $ac_have_decl 13107 _ACEOF 13108 ac_fn_c_check_decl "$LINENO" "NET_TCP_FRTO_RESPONSE" "ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" "#include <sys/types.h> 13109 #include <linux/sysctl.h> 13110 " 13111 if test "x$ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" = xyes; then : 13112 ac_have_decl=1 13113 else 13114 ac_have_decl=0 13115 fi 13116 13117 cat >>confdefs.h <<_ACEOF 13118 #define HAVE_DECL_NET_TCP_FRTO_RESPONSE $ac_have_decl 13119 _ACEOF 13120 ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" "#include <sys/types.h> 13121 #include <linux/sysctl.h> 13122 " 13123 if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then : 13124 ac_have_decl=1 13125 else 13126 ac_have_decl=0 13127 fi 13128 13129 cat >>confdefs.h <<_ACEOF 13130 #define HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl 13131 _ACEOF 13132 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_FORCE_IGMP_VERSION" "ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" "#include <sys/types.h> 13133 #include <linux/sysctl.h> 13134 " 13135 if test "x$ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" = xyes; then : 13136 ac_have_decl=1 13137 else 13138 ac_have_decl=0 13139 fi 13140 13141 cat >>confdefs.h <<_ACEOF 13142 #define HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION $ac_have_decl 13143 _ACEOF 13144 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ANNOUNCE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" "#include <sys/types.h> 13145 #include <linux/sysctl.h> 13146 " 13147 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" = xyes; then : 13148 ac_have_decl=1 13149 else 13150 ac_have_decl=0 13151 fi 13152 13153 cat >>confdefs.h <<_ACEOF 13154 #define HAVE_DECL_NET_IPV4_CONF_ARP_ANNOUNCE $ac_have_decl 13155 _ACEOF 13156 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_IGNORE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" "#include <sys/types.h> 13157 #include <linux/sysctl.h> 13158 " 13159 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" = xyes; then : 13160 ac_have_decl=1 13161 else 13162 ac_have_decl=0 13163 fi 13164 13165 cat >>confdefs.h <<_ACEOF 13166 #define HAVE_DECL_NET_IPV4_CONF_ARP_IGNORE $ac_have_decl 13167 _ACEOF 13168 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_PROMOTE_SECONDARIES" "ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" "#include <sys/types.h> 13169 #include <linux/sysctl.h> 13170 " 13171 if test "x$ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" = xyes; then : 13172 ac_have_decl=1 13173 else 13174 ac_have_decl=0 13175 fi 13176 13177 cat >>confdefs.h <<_ACEOF 13178 #define HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES $ac_have_decl 13179 _ACEOF 13180 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ACCEPT" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" "#include <sys/types.h> 13181 #include <linux/sysctl.h> 13182 " 13183 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" = xyes; then : 13184 ac_have_decl=1 13185 else 13186 ac_have_decl=0 13187 fi 13188 13189 cat >>confdefs.h <<_ACEOF 13190 #define HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT $ac_have_decl 13191 _ACEOF 13192 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_NOTIFY" "ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" "#include <sys/types.h> 13193 #include <linux/sysctl.h> 13194 " 13195 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" = xyes; then : 13196 ac_have_decl=1 13197 else 13198 ac_have_decl=0 13199 fi 13200 13201 cat >>confdefs.h <<_ACEOF 13202 #define HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY $ac_have_decl 13203 _ACEOF 13204 ac_fn_c_check_decl "$LINENO" "NET_IPV6_MLD_MAX_MSF" "ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" "#include <sys/types.h> 13205 #include <linux/sysctl.h> 13206 " 13207 if test "x$ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" = xyes; then : 13208 ac_have_decl=1 13209 else 13210 ac_have_decl=0 13211 fi 13212 13213 cat >>confdefs.h <<_ACEOF 13214 #define HAVE_DECL_NET_IPV6_MLD_MAX_MSF $ac_have_decl 13215 _ACEOF 13216 ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" "#include <sys/types.h> 13217 #include <linux/sysctl.h> 13218 " 13219 if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then : 13220 ac_have_decl=1 13221 else 13222 ac_have_decl=0 13223 fi 13224 13225 cat >>confdefs.h <<_ACEOF 13226 #define HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl 13227 _ACEOF 13228 ac_fn_c_check_decl "$LINENO" "VM_MAX_MAP_COUNT" "ac_cv_have_decl_VM_MAX_MAP_COUNT" "#include <sys/types.h> 13229 #include <linux/sysctl.h> 13230 " 13231 if test "x$ac_cv_have_decl_VM_MAX_MAP_COUNT" = xyes; then : 13232 ac_have_decl=1 13233 else 13234 ac_have_decl=0 13235 fi 13236 13237 cat >>confdefs.h <<_ACEOF 13238 #define HAVE_DECL_VM_MAX_MAP_COUNT $ac_have_decl 13239 _ACEOF 13240 ac_fn_c_check_decl "$LINENO" "VM_LAPTOP_MODE" "ac_cv_have_decl_VM_LAPTOP_MODE" "#include <sys/types.h> 13241 #include <linux/sysctl.h> 13242 " 13243 if test "x$ac_cv_have_decl_VM_LAPTOP_MODE" = xyes; then : 13244 ac_have_decl=1 13245 else 13246 ac_have_decl=0 13247 fi 13248 13249 cat >>confdefs.h <<_ACEOF 13250 #define HAVE_DECL_VM_LAPTOP_MODE $ac_have_decl 13251 _ACEOF 13252 ac_fn_c_check_decl "$LINENO" "VM_BLOCK_DUMP" "ac_cv_have_decl_VM_BLOCK_DUMP" "#include <sys/types.h> 13253 #include <linux/sysctl.h> 13254 " 13255 if test "x$ac_cv_have_decl_VM_BLOCK_DUMP" = xyes; then : 13256 ac_have_decl=1 13257 else 13258 ac_have_decl=0 13259 fi 13260 13261 cat >>confdefs.h <<_ACEOF 13262 #define HAVE_DECL_VM_BLOCK_DUMP $ac_have_decl 13263 _ACEOF 13264 ac_fn_c_check_decl "$LINENO" "VM_HUGETLB_GROUP" "ac_cv_have_decl_VM_HUGETLB_GROUP" "#include <sys/types.h> 13265 #include <linux/sysctl.h> 13266 " 13267 if test "x$ac_cv_have_decl_VM_HUGETLB_GROUP" = xyes; then : 13268 ac_have_decl=1 13269 else 13270 ac_have_decl=0 13271 fi 13272 13273 cat >>confdefs.h <<_ACEOF 13274 #define HAVE_DECL_VM_HUGETLB_GROUP $ac_have_decl 13275 _ACEOF 13276 ac_fn_c_check_decl "$LINENO" "VM_VFS_CACHE_PRESSURE" "ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" "#include <sys/types.h> 13277 #include <linux/sysctl.h> 13278 " 13279 if test "x$ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" = xyes; then : 13280 ac_have_decl=1 13281 else 13282 ac_have_decl=0 13283 fi 13284 13285 cat >>confdefs.h <<_ACEOF 13286 #define HAVE_DECL_VM_VFS_CACHE_PRESSURE $ac_have_decl 13287 _ACEOF 13288 ac_fn_c_check_decl "$LINENO" "VM_LEGACY_VA_LAYOUT" "ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" "#include <sys/types.h> 13289 #include <linux/sysctl.h> 13290 " 13291 if test "x$ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" = xyes; then : 13292 ac_have_decl=1 13293 else 13294 ac_have_decl=0 13295 fi 13296 13297 cat >>confdefs.h <<_ACEOF 13298 #define HAVE_DECL_VM_LEGACY_VA_LAYOUT $ac_have_decl 13299 _ACEOF 13300 ac_fn_c_check_decl "$LINENO" "VM_SWAP_TOKEN_TIMEOUT" "ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" "#include <sys/types.h> 13301 #include <linux/sysctl.h> 13302 " 13303 if test "x$ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" = xyes; then : 13304 ac_have_decl=1 13305 else 13306 ac_have_decl=0 13307 fi 13308 13309 cat >>confdefs.h <<_ACEOF 13310 #define HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT $ac_have_decl 13311 _ACEOF 13312 13313 13314 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_ANY" "ac_cv_have_decl_V4L2_FIELD_ANY" "#include <sys/time.h> 13315 #include <linux/ioctl.h> 13316 #include <linux/types.h> 13317 #include <linux/videodev2.h> 13318 " 13319 if test "x$ac_cv_have_decl_V4L2_FIELD_ANY" = xyes; then : 13320 ac_have_decl=1 13321 else 13322 ac_have_decl=0 13323 fi 13324 13325 cat >>confdefs.h <<_ACEOF 13326 #define HAVE_DECL_V4L2_FIELD_ANY $ac_have_decl 13327 _ACEOF 13328 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_NONE" "ac_cv_have_decl_V4L2_FIELD_NONE" "#include <sys/time.h> 13329 #include <linux/ioctl.h> 13330 #include <linux/types.h> 13331 #include <linux/videodev2.h> 13332 " 13333 if test "x$ac_cv_have_decl_V4L2_FIELD_NONE" = xyes; then : 13334 ac_have_decl=1 13335 else 13336 ac_have_decl=0 13337 fi 13338 13339 cat >>confdefs.h <<_ACEOF 13340 #define HAVE_DECL_V4L2_FIELD_NONE $ac_have_decl 13341 _ACEOF 13342 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_TOP" "ac_cv_have_decl_V4L2_FIELD_TOP" "#include <sys/time.h> 13343 #include <linux/ioctl.h> 13344 #include <linux/types.h> 13345 #include <linux/videodev2.h> 13346 " 13347 if test "x$ac_cv_have_decl_V4L2_FIELD_TOP" = xyes; then : 13348 ac_have_decl=1 13349 else 13350 ac_have_decl=0 13351 fi 13352 13353 cat >>confdefs.h <<_ACEOF 13354 #define HAVE_DECL_V4L2_FIELD_TOP $ac_have_decl 13355 _ACEOF 13356 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_BOTTOM" "ac_cv_have_decl_V4L2_FIELD_BOTTOM" "#include <sys/time.h> 13357 #include <linux/ioctl.h> 13358 #include <linux/types.h> 13359 #include <linux/videodev2.h> 13360 " 13361 if test "x$ac_cv_have_decl_V4L2_FIELD_BOTTOM" = xyes; then : 13362 ac_have_decl=1 13363 else 13364 ac_have_decl=0 13365 fi 13366 13367 cat >>confdefs.h <<_ACEOF 13368 #define HAVE_DECL_V4L2_FIELD_BOTTOM $ac_have_decl 13369 _ACEOF 13370 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED" "ac_cv_have_decl_V4L2_FIELD_INTERLACED" "#include <sys/time.h> 13371 #include <linux/ioctl.h> 13372 #include <linux/types.h> 13373 #include <linux/videodev2.h> 13374 " 13375 if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED" = xyes; then : 13376 ac_have_decl=1 13377 else 13378 ac_have_decl=0 13379 fi 13380 13381 cat >>confdefs.h <<_ACEOF 13382 #define HAVE_DECL_V4L2_FIELD_INTERLACED $ac_have_decl 13383 _ACEOF 13384 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_SEQ_TB" "ac_cv_have_decl_V4L2_FIELD_SEQ_TB" "#include <sys/time.h> 13385 #include <linux/ioctl.h> 13386 #include <linux/types.h> 13387 #include <linux/videodev2.h> 13388 " 13389 if test "x$ac_cv_have_decl_V4L2_FIELD_SEQ_TB" = xyes; then : 13390 ac_have_decl=1 13391 else 13392 ac_have_decl=0 13393 fi 13394 13395 cat >>confdefs.h <<_ACEOF 13396 #define HAVE_DECL_V4L2_FIELD_SEQ_TB $ac_have_decl 13397 _ACEOF 13398 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_SEQ_BT" "ac_cv_have_decl_V4L2_FIELD_SEQ_BT" "#include <sys/time.h> 13399 #include <linux/ioctl.h> 13400 #include <linux/types.h> 13401 #include <linux/videodev2.h> 13402 " 13403 if test "x$ac_cv_have_decl_V4L2_FIELD_SEQ_BT" = xyes; then : 13404 ac_have_decl=1 13405 else 13406 ac_have_decl=0 13407 fi 13408 13409 cat >>confdefs.h <<_ACEOF 13410 #define HAVE_DECL_V4L2_FIELD_SEQ_BT $ac_have_decl 13411 _ACEOF 13412 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_ALTERNATE" "ac_cv_have_decl_V4L2_FIELD_ALTERNATE" "#include <sys/time.h> 13413 #include <linux/ioctl.h> 13414 #include <linux/types.h> 13415 #include <linux/videodev2.h> 13416 " 13417 if test "x$ac_cv_have_decl_V4L2_FIELD_ALTERNATE" = xyes; then : 13418 ac_have_decl=1 13419 else 13420 ac_have_decl=0 13421 fi 13422 13423 cat >>confdefs.h <<_ACEOF 13424 #define HAVE_DECL_V4L2_FIELD_ALTERNATE $ac_have_decl 13425 _ACEOF 13426 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED_TB" "ac_cv_have_decl_V4L2_FIELD_INTERLACED_TB" "#include <sys/time.h> 13427 #include <linux/ioctl.h> 13428 #include <linux/types.h> 13429 #include <linux/videodev2.h> 13430 " 13431 if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED_TB" = xyes; then : 13432 ac_have_decl=1 13433 else 13434 ac_have_decl=0 13435 fi 13436 13437 cat >>confdefs.h <<_ACEOF 13438 #define HAVE_DECL_V4L2_FIELD_INTERLACED_TB $ac_have_decl 13439 _ACEOF 13440 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED_BT" "ac_cv_have_decl_V4L2_FIELD_INTERLACED_BT" "#include <sys/time.h> 13441 #include <linux/ioctl.h> 13442 #include <linux/types.h> 13443 #include <linux/videodev2.h> 13444 " 13445 if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED_BT" = xyes; then : 13446 ac_have_decl=1 13447 else 13448 ac_have_decl=0 13449 fi 13450 13451 cat >>confdefs.h <<_ACEOF 13452 #define HAVE_DECL_V4L2_FIELD_INTERLACED_BT $ac_have_decl 13453 _ACEOF 13454 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" "#include <sys/time.h> 13455 #include <linux/ioctl.h> 13456 #include <linux/types.h> 13457 #include <linux/videodev2.h> 13458 " 13459 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" = xyes; then : 13460 ac_have_decl=1 13461 else 13462 ac_have_decl=0 13463 fi 13464 13465 cat >>confdefs.h <<_ACEOF 13466 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE $ac_have_decl 13467 _ACEOF 13468 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" "#include <sys/time.h> 13469 #include <linux/ioctl.h> 13470 #include <linux/types.h> 13471 #include <linux/videodev2.h> 13472 " 13473 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" = xyes; then : 13474 ac_have_decl=1 13475 else 13476 ac_have_decl=0 13477 fi 13478 13479 cat >>confdefs.h <<_ACEOF 13480 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE $ac_have_decl 13481 _ACEOF 13482 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" "#include <sys/time.h> 13483 #include <linux/ioctl.h> 13484 #include <linux/types.h> 13485 #include <linux/videodev2.h> 13486 " 13487 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" = xyes; then : 13488 ac_have_decl=1 13489 else 13490 ac_have_decl=0 13491 fi 13492 13493 cat >>confdefs.h <<_ACEOF 13494 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT $ac_have_decl 13495 _ACEOF 13496 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" "#include <sys/time.h> 13497 #include <linux/ioctl.h> 13498 #include <linux/types.h> 13499 #include <linux/videodev2.h> 13500 " 13501 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" = xyes; then : 13502 ac_have_decl=1 13503 else 13504 ac_have_decl=0 13505 fi 13506 13507 cat >>confdefs.h <<_ACEOF 13508 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE $ac_have_decl 13509 _ACEOF 13510 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OVERLAY" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" "#include <sys/time.h> 13511 #include <linux/ioctl.h> 13512 #include <linux/types.h> 13513 #include <linux/videodev2.h> 13514 " 13515 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" = xyes; then : 13516 ac_have_decl=1 13517 else 13518 ac_have_decl=0 13519 fi 13520 13521 cat >>confdefs.h <<_ACEOF 13522 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OVERLAY $ac_have_decl 13523 _ACEOF 13524 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VBI_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" "#include <sys/time.h> 13525 #include <linux/ioctl.h> 13526 #include <linux/types.h> 13527 #include <linux/videodev2.h> 13528 " 13529 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" = xyes; then : 13530 ac_have_decl=1 13531 else 13532 ac_have_decl=0 13533 fi 13534 13535 cat >>confdefs.h <<_ACEOF 13536 #define HAVE_DECL_V4L2_BUF_TYPE_VBI_CAPTURE $ac_have_decl 13537 _ACEOF 13538 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VBI_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" "#include <sys/time.h> 13539 #include <linux/ioctl.h> 13540 #include <linux/types.h> 13541 #include <linux/videodev2.h> 13542 " 13543 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" = xyes; then : 13544 ac_have_decl=1 13545 else 13546 ac_have_decl=0 13547 fi 13548 13549 cat >>confdefs.h <<_ACEOF 13550 #define HAVE_DECL_V4L2_BUF_TYPE_VBI_OUTPUT $ac_have_decl 13551 _ACEOF 13552 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" "#include <sys/time.h> 13553 #include <linux/ioctl.h> 13554 #include <linux/types.h> 13555 #include <linux/videodev2.h> 13556 " 13557 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" = xyes; then : 13558 ac_have_decl=1 13559 else 13560 ac_have_decl=0 13561 fi 13562 13563 cat >>confdefs.h <<_ACEOF 13564 #define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE $ac_have_decl 13565 _ACEOF 13566 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" "#include <sys/time.h> 13567 #include <linux/ioctl.h> 13568 #include <linux/types.h> 13569 #include <linux/videodev2.h> 13570 " 13571 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" = xyes; then : 13572 ac_have_decl=1 13573 else 13574 ac_have_decl=0 13575 fi 13576 13577 cat >>confdefs.h <<_ACEOF 13578 #define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT $ac_have_decl 13579 _ACEOF 13580 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" "#include <sys/time.h> 13581 #include <linux/ioctl.h> 13582 #include <linux/types.h> 13583 #include <linux/videodev2.h> 13584 " 13585 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" = xyes; then : 13586 ac_have_decl=1 13587 else 13588 ac_have_decl=0 13589 fi 13590 13591 cat >>confdefs.h <<_ACEOF 13592 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY $ac_have_decl 13593 _ACEOF 13594 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SDR_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_SDR_CAPTURE" "#include <sys/time.h> 13595 #include <linux/ioctl.h> 13596 #include <linux/types.h> 13597 #include <linux/videodev2.h> 13598 " 13599 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SDR_CAPTURE" = xyes; then : 13600 ac_have_decl=1 13601 else 13602 ac_have_decl=0 13603 fi 13604 13605 cat >>confdefs.h <<_ACEOF 13606 #define HAVE_DECL_V4L2_BUF_TYPE_SDR_CAPTURE $ac_have_decl 13607 _ACEOF 13608 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SDR_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_SDR_OUTPUT" "#include <sys/time.h> 13609 #include <linux/ioctl.h> 13610 #include <linux/types.h> 13611 #include <linux/videodev2.h> 13612 " 13613 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SDR_OUTPUT" = xyes; then : 13614 ac_have_decl=1 13615 else 13616 ac_have_decl=0 13617 fi 13618 13619 cat >>confdefs.h <<_ACEOF 13620 #define HAVE_DECL_V4L2_BUF_TYPE_SDR_OUTPUT $ac_have_decl 13621 _ACEOF 13622 ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_RADIO" "ac_cv_have_decl_V4L2_TUNER_RADIO" "#include <sys/time.h> 13623 #include <linux/ioctl.h> 13624 #include <linux/types.h> 13625 #include <linux/videodev2.h> 13626 " 13627 if test "x$ac_cv_have_decl_V4L2_TUNER_RADIO" = xyes; then : 13628 ac_have_decl=1 13629 else 13630 ac_have_decl=0 13631 fi 13632 13633 cat >>confdefs.h <<_ACEOF 13634 #define HAVE_DECL_V4L2_TUNER_RADIO $ac_have_decl 13635 _ACEOF 13636 ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_ANALOG_TV" "ac_cv_have_decl_V4L2_TUNER_ANALOG_TV" "#include <sys/time.h> 13637 #include <linux/ioctl.h> 13638 #include <linux/types.h> 13639 #include <linux/videodev2.h> 13640 " 13641 if test "x$ac_cv_have_decl_V4L2_TUNER_ANALOG_TV" = xyes; then : 13642 ac_have_decl=1 13643 else 13644 ac_have_decl=0 13645 fi 13646 13647 cat >>confdefs.h <<_ACEOF 13648 #define HAVE_DECL_V4L2_TUNER_ANALOG_TV $ac_have_decl 13649 _ACEOF 13650 ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_DIGITAL_TV" "ac_cv_have_decl_V4L2_TUNER_DIGITAL_TV" "#include <sys/time.h> 13651 #include <linux/ioctl.h> 13652 #include <linux/types.h> 13653 #include <linux/videodev2.h> 13654 " 13655 if test "x$ac_cv_have_decl_V4L2_TUNER_DIGITAL_TV" = xyes; then : 13656 ac_have_decl=1 13657 else 13658 ac_have_decl=0 13659 fi 13660 13661 cat >>confdefs.h <<_ACEOF 13662 #define HAVE_DECL_V4L2_TUNER_DIGITAL_TV $ac_have_decl 13663 _ACEOF 13664 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_MMAP" "ac_cv_have_decl_V4L2_MEMORY_MMAP" "#include <sys/time.h> 13665 #include <linux/ioctl.h> 13666 #include <linux/types.h> 13667 #include <linux/videodev2.h> 13668 " 13669 if test "x$ac_cv_have_decl_V4L2_MEMORY_MMAP" = xyes; then : 13670 ac_have_decl=1 13671 else 13672 ac_have_decl=0 13673 fi 13674 13675 cat >>confdefs.h <<_ACEOF 13676 #define HAVE_DECL_V4L2_MEMORY_MMAP $ac_have_decl 13677 _ACEOF 13678 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_USERPTR" "ac_cv_have_decl_V4L2_MEMORY_USERPTR" "#include <sys/time.h> 13679 #include <linux/ioctl.h> 13680 #include <linux/types.h> 13681 #include <linux/videodev2.h> 13682 " 13683 if test "x$ac_cv_have_decl_V4L2_MEMORY_USERPTR" = xyes; then : 13684 ac_have_decl=1 13685 else 13686 ac_have_decl=0 13687 fi 13688 13689 cat >>confdefs.h <<_ACEOF 13690 #define HAVE_DECL_V4L2_MEMORY_USERPTR $ac_have_decl 13691 _ACEOF 13692 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_OVERLAY" "ac_cv_have_decl_V4L2_MEMORY_OVERLAY" "#include <sys/time.h> 13693 #include <linux/ioctl.h> 13694 #include <linux/types.h> 13695 #include <linux/videodev2.h> 13696 " 13697 if test "x$ac_cv_have_decl_V4L2_MEMORY_OVERLAY" = xyes; then : 13698 ac_have_decl=1 13699 else 13700 ac_have_decl=0 13701 fi 13702 13703 cat >>confdefs.h <<_ACEOF 13704 #define HAVE_DECL_V4L2_MEMORY_OVERLAY $ac_have_decl 13705 _ACEOF 13706 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_DMABUF" "ac_cv_have_decl_V4L2_MEMORY_DMABUF" "#include <sys/time.h> 13707 #include <linux/ioctl.h> 13708 #include <linux/types.h> 13709 #include <linux/videodev2.h> 13710 " 13711 if test "x$ac_cv_have_decl_V4L2_MEMORY_DMABUF" = xyes; then : 13712 ac_have_decl=1 13713 else 13714 ac_have_decl=0 13715 fi 13716 13717 cat >>confdefs.h <<_ACEOF 13718 #define HAVE_DECL_V4L2_MEMORY_DMABUF $ac_have_decl 13719 _ACEOF 13720 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SMPTE170M" "ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" "#include <sys/time.h> 13721 #include <linux/ioctl.h> 13722 #include <linux/types.h> 13723 #include <linux/videodev2.h> 13724 " 13725 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" = xyes; then : 13726 ac_have_decl=1 13727 else 13728 ac_have_decl=0 13729 fi 13730 13731 cat >>confdefs.h <<_ACEOF 13732 #define HAVE_DECL_V4L2_COLORSPACE_SMPTE170M $ac_have_decl 13733 _ACEOF 13734 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SMPTE240M" "ac_cv_have_decl_V4L2_COLORSPACE_SMPTE240M" "#include <sys/time.h> 13735 #include <linux/ioctl.h> 13736 #include <linux/types.h> 13737 #include <linux/videodev2.h> 13738 " 13739 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE240M" = xyes; then : 13740 ac_have_decl=1 13741 else 13742 ac_have_decl=0 13743 fi 13744 13745 cat >>confdefs.h <<_ACEOF 13746 #define HAVE_DECL_V4L2_COLORSPACE_SMPTE240M $ac_have_decl 13747 _ACEOF 13748 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_REC709" "ac_cv_have_decl_V4L2_COLORSPACE_REC709" "#include <sys/time.h> 13749 #include <linux/ioctl.h> 13750 #include <linux/types.h> 13751 #include <linux/videodev2.h> 13752 " 13753 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_REC709" = xyes; then : 13754 ac_have_decl=1 13755 else 13756 ac_have_decl=0 13757 fi 13758 13759 cat >>confdefs.h <<_ACEOF 13760 #define HAVE_DECL_V4L2_COLORSPACE_REC709 $ac_have_decl 13761 _ACEOF 13762 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_BT878" "ac_cv_have_decl_V4L2_COLORSPACE_BT878" "#include <sys/time.h> 13763 #include <linux/ioctl.h> 13764 #include <linux/types.h> 13765 #include <linux/videodev2.h> 13766 " 13767 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_BT878" = xyes; then : 13768 ac_have_decl=1 13769 else 13770 ac_have_decl=0 13771 fi 13772 13773 cat >>confdefs.h <<_ACEOF 13774 #define HAVE_DECL_V4L2_COLORSPACE_BT878 $ac_have_decl 13775 _ACEOF 13776 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_470_SYSTEM_M" "ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_M" "#include <sys/time.h> 13777 #include <linux/ioctl.h> 13778 #include <linux/types.h> 13779 #include <linux/videodev2.h> 13780 " 13781 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_M" = xyes; then : 13782 ac_have_decl=1 13783 else 13784 ac_have_decl=0 13785 fi 13786 13787 cat >>confdefs.h <<_ACEOF 13788 #define HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_M $ac_have_decl 13789 _ACEOF 13790 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_470_SYSTEM_BG" "ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_BG" "#include <sys/time.h> 13791 #include <linux/ioctl.h> 13792 #include <linux/types.h> 13793 #include <linux/videodev2.h> 13794 " 13795 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_BG" = xyes; then : 13796 ac_have_decl=1 13797 else 13798 ac_have_decl=0 13799 fi 13800 13801 cat >>confdefs.h <<_ACEOF 13802 #define HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_BG $ac_have_decl 13803 _ACEOF 13804 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_JPEG" "ac_cv_have_decl_V4L2_COLORSPACE_JPEG" "#include <sys/time.h> 13805 #include <linux/ioctl.h> 13806 #include <linux/types.h> 13807 #include <linux/videodev2.h> 13808 " 13809 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_JPEG" = xyes; then : 13810 ac_have_decl=1 13811 else 13812 ac_have_decl=0 13813 fi 13814 13815 cat >>confdefs.h <<_ACEOF 13816 #define HAVE_DECL_V4L2_COLORSPACE_JPEG $ac_have_decl 13817 _ACEOF 13818 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SRGB" "ac_cv_have_decl_V4L2_COLORSPACE_SRGB" "#include <sys/time.h> 13819 #include <linux/ioctl.h> 13820 #include <linux/types.h> 13821 #include <linux/videodev2.h> 13822 " 13823 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SRGB" = xyes; then : 13824 ac_have_decl=1 13825 else 13826 ac_have_decl=0 13827 fi 13828 13829 cat >>confdefs.h <<_ACEOF 13830 #define HAVE_DECL_V4L2_COLORSPACE_SRGB $ac_have_decl 13831 _ACEOF 13832 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_UNSET" "ac_cv_have_decl_V4L2_PRIORITY_UNSET" "#include <sys/time.h> 13833 #include <linux/ioctl.h> 13834 #include <linux/types.h> 13835 #include <linux/videodev2.h> 13836 " 13837 if test "x$ac_cv_have_decl_V4L2_PRIORITY_UNSET" = xyes; then : 13838 ac_have_decl=1 13839 else 13840 ac_have_decl=0 13841 fi 13842 13843 cat >>confdefs.h <<_ACEOF 13844 #define HAVE_DECL_V4L2_PRIORITY_UNSET $ac_have_decl 13845 _ACEOF 13846 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_BACKGROUND" "ac_cv_have_decl_V4L2_PRIORITY_BACKGROUND" "#include <sys/time.h> 13847 #include <linux/ioctl.h> 13848 #include <linux/types.h> 13849 #include <linux/videodev2.h> 13850 " 13851 if test "x$ac_cv_have_decl_V4L2_PRIORITY_BACKGROUND" = xyes; then : 13852 ac_have_decl=1 13853 else 13854 ac_have_decl=0 13855 fi 13856 13857 cat >>confdefs.h <<_ACEOF 13858 #define HAVE_DECL_V4L2_PRIORITY_BACKGROUND $ac_have_decl 13859 _ACEOF 13860 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_INTERACTIVE" "ac_cv_have_decl_V4L2_PRIORITY_INTERACTIVE" "#include <sys/time.h> 13861 #include <linux/ioctl.h> 13862 #include <linux/types.h> 13863 #include <linux/videodev2.h> 13864 " 13865 if test "x$ac_cv_have_decl_V4L2_PRIORITY_INTERACTIVE" = xyes; then : 13866 ac_have_decl=1 13867 else 13868 ac_have_decl=0 13869 fi 13870 13871 cat >>confdefs.h <<_ACEOF 13872 #define HAVE_DECL_V4L2_PRIORITY_INTERACTIVE $ac_have_decl 13873 _ACEOF 13874 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_RECORD" "ac_cv_have_decl_V4L2_PRIORITY_RECORD" "#include <sys/time.h> 13875 #include <linux/ioctl.h> 13876 #include <linux/types.h> 13877 #include <linux/videodev2.h> 13878 " 13879 if test "x$ac_cv_have_decl_V4L2_PRIORITY_RECORD" = xyes; then : 13880 ac_have_decl=1 13881 else 13882 ac_have_decl=0 13883 fi 13884 13885 cat >>confdefs.h <<_ACEOF 13886 #define HAVE_DECL_V4L2_PRIORITY_RECORD $ac_have_decl 13887 _ACEOF 13888 ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_DISCRETE" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_DISCRETE" "#include <sys/time.h> 13889 #include <linux/ioctl.h> 13890 #include <linux/types.h> 13891 #include <linux/videodev2.h> 13892 " 13893 if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_DISCRETE" = xyes; then : 13894 ac_have_decl=1 13895 else 13896 ac_have_decl=0 13897 fi 13898 13899 cat >>confdefs.h <<_ACEOF 13900 #define HAVE_DECL_V4L2_FRMSIZE_TYPE_DISCRETE $ac_have_decl 13901 _ACEOF 13902 ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_CONTINUOUS" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_CONTINUOUS" "#include <sys/time.h> 13903 #include <linux/ioctl.h> 13904 #include <linux/types.h> 13905 #include <linux/videodev2.h> 13906 " 13907 if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_CONTINUOUS" = xyes; then : 13908 ac_have_decl=1 13909 else 13910 ac_have_decl=0 13911 fi 13912 13913 cat >>confdefs.h <<_ACEOF 13914 #define HAVE_DECL_V4L2_FRMSIZE_TYPE_CONTINUOUS $ac_have_decl 13915 _ACEOF 13916 ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_STEPWISE" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_STEPWISE" "#include <sys/time.h> 13917 #include <linux/ioctl.h> 13918 #include <linux/types.h> 13919 #include <linux/videodev2.h> 13920 " 13921 if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_STEPWISE" = xyes; then : 13922 ac_have_decl=1 13923 else 13924 ac_have_decl=0 13925 fi 13926 13927 cat >>confdefs.h <<_ACEOF 13928 #define HAVE_DECL_V4L2_FRMSIZE_TYPE_STEPWISE $ac_have_decl 13929 _ACEOF 13930 ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_DISCRETE" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_DISCRETE" "#include <sys/time.h> 13931 #include <linux/ioctl.h> 13932 #include <linux/types.h> 13933 #include <linux/videodev2.h> 13934 " 13935 if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_DISCRETE" = xyes; then : 13936 ac_have_decl=1 13937 else 13938 ac_have_decl=0 13939 fi 13940 13941 cat >>confdefs.h <<_ACEOF 13942 #define HAVE_DECL_V4L2_FRMIVAL_TYPE_DISCRETE $ac_have_decl 13943 _ACEOF 13944 ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_CONTINUOUS" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_CONTINUOUS" "#include <sys/time.h> 13945 #include <linux/ioctl.h> 13946 #include <linux/types.h> 13947 #include <linux/videodev2.h> 13948 " 13949 if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_CONTINUOUS" = xyes; then : 13950 ac_have_decl=1 13951 else 13952 ac_have_decl=0 13953 fi 13954 13955 cat >>confdefs.h <<_ACEOF 13956 #define HAVE_DECL_V4L2_FRMIVAL_TYPE_CONTINUOUS $ac_have_decl 13957 _ACEOF 13958 ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_STEPWISE" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_STEPWISE" "#include <sys/time.h> 13959 #include <linux/ioctl.h> 13960 #include <linux/types.h> 13961 #include <linux/videodev2.h> 13962 " 13963 if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_STEPWISE" = xyes; then : 13964 ac_have_decl=1 13965 else 13966 ac_have_decl=0 13967 fi 13968 13969 cat >>confdefs.h <<_ACEOF 13970 #define HAVE_DECL_V4L2_FRMIVAL_TYPE_STEPWISE $ac_have_decl 13971 _ACEOF 13972 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER" "#include <sys/time.h> 13973 #include <linux/ioctl.h> 13974 #include <linux/types.h> 13975 #include <linux/videodev2.h> 13976 " 13977 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER" = xyes; then : 13978 ac_have_decl=1 13979 else 13980 ac_have_decl=0 13981 fi 13982 13983 cat >>confdefs.h <<_ACEOF 13984 #define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER $ac_have_decl 13985 _ACEOF 13986 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BOOLEAN" "ac_cv_have_decl_V4L2_CTRL_TYPE_BOOLEAN" "#include <sys/time.h> 13987 #include <linux/ioctl.h> 13988 #include <linux/types.h> 13989 #include <linux/videodev2.h> 13990 " 13991 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BOOLEAN" = xyes; then : 13992 ac_have_decl=1 13993 else 13994 ac_have_decl=0 13995 fi 13996 13997 cat >>confdefs.h <<_ACEOF 13998 #define HAVE_DECL_V4L2_CTRL_TYPE_BOOLEAN $ac_have_decl 13999 _ACEOF 14000 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_MENU" "ac_cv_have_decl_V4L2_CTRL_TYPE_MENU" "#include <sys/time.h> 14001 #include <linux/ioctl.h> 14002 #include <linux/types.h> 14003 #include <linux/videodev2.h> 14004 " 14005 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_MENU" = xyes; then : 14006 ac_have_decl=1 14007 else 14008 ac_have_decl=0 14009 fi 14010 14011 cat >>confdefs.h <<_ACEOF 14012 #define HAVE_DECL_V4L2_CTRL_TYPE_MENU $ac_have_decl 14013 _ACEOF 14014 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BUTTON" "ac_cv_have_decl_V4L2_CTRL_TYPE_BUTTON" "#include <sys/time.h> 14015 #include <linux/ioctl.h> 14016 #include <linux/types.h> 14017 #include <linux/videodev2.h> 14018 " 14019 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BUTTON" = xyes; then : 14020 ac_have_decl=1 14021 else 14022 ac_have_decl=0 14023 fi 14024 14025 cat >>confdefs.h <<_ACEOF 14026 #define HAVE_DECL_V4L2_CTRL_TYPE_BUTTON $ac_have_decl 14027 _ACEOF 14028 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER64" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER64" "#include <sys/time.h> 14029 #include <linux/ioctl.h> 14030 #include <linux/types.h> 14031 #include <linux/videodev2.h> 14032 " 14033 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER64" = xyes; then : 14034 ac_have_decl=1 14035 else 14036 ac_have_decl=0 14037 fi 14038 14039 cat >>confdefs.h <<_ACEOF 14040 #define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER64 $ac_have_decl 14041 _ACEOF 14042 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_CTRL_CLASS" "ac_cv_have_decl_V4L2_CTRL_TYPE_CTRL_CLASS" "#include <sys/time.h> 14043 #include <linux/ioctl.h> 14044 #include <linux/types.h> 14045 #include <linux/videodev2.h> 14046 " 14047 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_CTRL_CLASS" = xyes; then : 14048 ac_have_decl=1 14049 else 14050 ac_have_decl=0 14051 fi 14052 14053 cat >>confdefs.h <<_ACEOF 14054 #define HAVE_DECL_V4L2_CTRL_TYPE_CTRL_CLASS $ac_have_decl 14055 _ACEOF 14056 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_STRING" "ac_cv_have_decl_V4L2_CTRL_TYPE_STRING" "#include <sys/time.h> 14057 #include <linux/ioctl.h> 14058 #include <linux/types.h> 14059 #include <linux/videodev2.h> 14060 " 14061 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_STRING" = xyes; then : 14062 ac_have_decl=1 14063 else 14064 ac_have_decl=0 14065 fi 14066 14067 cat >>confdefs.h <<_ACEOF 14068 #define HAVE_DECL_V4L2_CTRL_TYPE_STRING $ac_have_decl 14069 _ACEOF 14070 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BITMASK" "ac_cv_have_decl_V4L2_CTRL_TYPE_BITMASK" "#include <sys/time.h> 14071 #include <linux/ioctl.h> 14072 #include <linux/types.h> 14073 #include <linux/videodev2.h> 14074 " 14075 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BITMASK" = xyes; then : 14076 ac_have_decl=1 14077 else 14078 ac_have_decl=0 14079 fi 14080 14081 cat >>confdefs.h <<_ACEOF 14082 #define HAVE_DECL_V4L2_CTRL_TYPE_BITMASK $ac_have_decl 14083 _ACEOF 14084 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER_MENU" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER_MENU" "#include <sys/time.h> 14085 #include <linux/ioctl.h> 14086 #include <linux/types.h> 14087 #include <linux/videodev2.h> 14088 " 14089 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER_MENU" = xyes; then : 14090 ac_have_decl=1 14091 else 14092 ac_have_decl=0 14093 fi 14094 14095 cat >>confdefs.h <<_ACEOF 14096 #define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER_MENU $ac_have_decl 14097 _ACEOF 14098 14099 14100 ac_fn_c_check_member "$LINENO" "struct v4l2_window" "global_alpha" "ac_cv_member_struct_v4l2_window_global_alpha" "#include <sys/time.h> 14101 #include <linux/ioctl.h> 14102 #include <linux/types.h> 14103 #include <linux/videodev2.h> 14104 " 14105 if test "x$ac_cv_member_struct_v4l2_window_global_alpha" = xyes; then : 14106 14107 cat >>confdefs.h <<_ACEOF 14108 #define HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA 1 14109 _ACEOF 14110 14111 14112 fi 14113 ac_fn_c_check_member "$LINENO" "struct v4l2_sdr_format" "buffersize" "ac_cv_member_struct_v4l2_sdr_format_buffersize" "#include <sys/time.h> 14114 #include <linux/ioctl.h> 14115 #include <linux/types.h> 14116 #include <linux/videodev2.h> 14117 " 14118 if test "x$ac_cv_member_struct_v4l2_sdr_format_buffersize" = xyes; then : 14119 14120 cat >>confdefs.h <<_ACEOF 14121 #define HAVE_STRUCT_V4L2_SDR_FORMAT_BUFFERSIZE 1 14122 _ACEOF 14123 14124 14125 fi 14126 14127 14128 # The cast to long int works around a bug in the HP C Compiler 14129 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14130 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14131 # This bug is HP SR number 8606223364. 14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 14133 $as_echo_n "checking size of long... " >&6; } 14134 if ${ac_cv_sizeof_long+:} false; then : 14135 $as_echo_n "(cached) " >&6 14136 else 14137 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 14138 14139 else 14140 if test "$ac_cv_type_long" = yes; then 14141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14143 as_fn_error 77 "cannot compute sizeof (long) 14144 See \`config.log' for more details" "$LINENO" 5; } 14145 else 14146 ac_cv_sizeof_long=0 14147 fi 14148 fi 14149 14150 fi 14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 14152 $as_echo "$ac_cv_sizeof_long" >&6; } 14153 14154 14155 14156 cat >>confdefs.h <<_ACEOF 14157 #define SIZEOF_LONG $ac_cv_sizeof_long 14158 _ACEOF 14159 14160 14161 SIZEOF_LONG="$ac_cv_sizeof_long" 14162 14163 # The cast to long int works around a bug in the HP C Compiler 14164 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14165 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14166 # This bug is HP SR number 8606223364. 14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 14168 $as_echo_n "checking size of long long... " >&6; } 14169 if ${ac_cv_sizeof_long_long+:} false; then : 14170 $as_echo_n "(cached) " >&6 14171 else 14172 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 14173 14174 else 14175 if test "$ac_cv_type_long_long" = yes; then 14176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14178 as_fn_error 77 "cannot compute sizeof (long long) 14179 See \`config.log' for more details" "$LINENO" 5; } 14180 else 14181 ac_cv_sizeof_long_long=0 14182 fi 14183 fi 14184 14185 fi 14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 14187 $as_echo "$ac_cv_sizeof_long_long" >&6; } 14188 14189 14190 14191 cat >>confdefs.h <<_ACEOF 14192 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long 14193 _ACEOF 14194 14195 14196 # The cast to long int works around a bug in the HP C Compiler 14197 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14198 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14199 # This bug is HP SR number 8606223364. 14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 14201 $as_echo_n "checking size of off_t... " >&6; } 14202 if ${ac_cv_sizeof_off_t+:} false; then : 14203 $as_echo_n "(cached) " >&6 14204 else 14205 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "#include <sys/types.h> 14206 "; then : 14207 14208 else 14209 if test "$ac_cv_type_off_t" = yes; then 14210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14212 as_fn_error 77 "cannot compute sizeof (off_t) 14213 See \`config.log' for more details" "$LINENO" 5; } 14214 else 14215 ac_cv_sizeof_off_t=0 14216 fi 14217 fi 14218 14219 fi 14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 14221 $as_echo "$ac_cv_sizeof_off_t" >&6; } 14222 14223 14224 14225 cat >>confdefs.h <<_ACEOF 14226 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t 14227 _ACEOF 14228 14229 14230 # The cast to long int works around a bug in the HP C Compiler 14231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14233 # This bug is HP SR number 8606223364. 14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of kernel_long_t" >&5 14235 $as_echo_n "checking size of kernel_long_t... " >&6; } 14236 if ${ac_cv_sizeof_kernel_long_t+:} false; then : 14237 $as_echo_n "(cached) " >&6 14238 else 14239 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (kernel_long_t))" "ac_cv_sizeof_kernel_long_t" "#include \"$srcdir/kernel_types.h\" 14240 "; then : 14241 14242 else 14243 if test "$ac_cv_type_kernel_long_t" = yes; then 14244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14246 as_fn_error 77 "cannot compute sizeof (kernel_long_t) 14247 See \`config.log' for more details" "$LINENO" 5; } 14248 else 14249 ac_cv_sizeof_kernel_long_t=0 14250 fi 14251 fi 14252 14253 fi 14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_kernel_long_t" >&5 14255 $as_echo "$ac_cv_sizeof_kernel_long_t" >&6; } 14256 14257 14258 14259 cat >>confdefs.h <<_ACEOF 14260 #define SIZEOF_KERNEL_LONG_T $ac_cv_sizeof_kernel_long_t 14261 _ACEOF 14262 14263 14264 SIZEOF_KERNEL_LONG_T="$ac_cv_sizeof_kernel_long_t" 14265 14266 # The cast to long int works around a bug in the HP C Compiler 14267 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14268 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14269 # This bug is HP SR number 8606223364. 14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct i64_i32" >&5 14271 $as_echo_n "checking size of struct i64_i32... " >&6; } 14272 if ${ac_cv_sizeof_struct_i64_i32+:} false; then : 14273 $as_echo_n "(cached) " >&6 14274 else 14275 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (struct i64_i32))" "ac_cv_sizeof_struct_i64_i32" "struct i64_i32 {long long i64; int i32;}; 14276 "; then : 14277 14278 else 14279 if test "$ac_cv_type_struct_i64_i32" = yes; then 14280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14282 as_fn_error 77 "cannot compute sizeof (struct i64_i32) 14283 See \`config.log' for more details" "$LINENO" 5; } 14284 else 14285 ac_cv_sizeof_struct_i64_i32=0 14286 fi 14287 fi 14288 14289 fi 14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_i64_i32" >&5 14291 $as_echo "$ac_cv_sizeof_struct_i64_i32" >&6; } 14292 14293 14294 14295 cat >>confdefs.h <<_ACEOF 14296 #define SIZEOF_STRUCT_I64_I32 $ac_cv_sizeof_struct_i64_i32 14297 _ACEOF 14298 14299 14300 14301 14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGRTMIN" >&5 14303 $as_echo_n "checking for SIGRTMIN... " >&6; } 14304 if ${st_cv_SIGRTMIN+:} false; then : 14305 $as_echo_n "(cached) " >&6 14306 else 14307 st_cv_SIGRTMIN="$(echo SIGRTMIN | 14308 $CPP $CPPFLAGS -P -imacros asm/signal.h - | 14309 grep '^[0-9]')" 14310 test -n "$st_cv_SIGRTMIN" || st_cv_SIGRTMIN=no 14311 fi 14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_SIGRTMIN" >&5 14313 $as_echo "$st_cv_SIGRTMIN" >&6; } 14314 if test "x$st_cv_SIGRTMIN" != xno; then 14315 14316 cat >>confdefs.h <<_ACEOF 14317 #define ASM_SIGRTMIN $st_cv_SIGRTMIN 14318 _ACEOF 14319 14320 fi 14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SA_RESTORER" >&5 14322 $as_echo_n "checking for SA_RESTORER... " >&6; } 14323 if ${st_cv_SA_RESTORER+:} false; then : 14324 $as_echo_n "(cached) " >&6 14325 else 14326 st_cv_SA_RESTORER="$(echo SA_RESTORER | 14327 $CPP $CPPFLAGS -P -imacros asm/signal.h - | 14328 grep ^0x)" 14329 test -n "$st_cv_SA_RESTORER" || st_cv_SA_RESTORER=no 14330 fi 14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_SA_RESTORER" >&5 14332 $as_echo "$st_cv_SA_RESTORER" >&6; } 14333 if test "x$st_cv_SA_RESTORER" != xno; then 14334 14335 cat >>confdefs.h <<_ACEOF 14336 #define ASM_SA_RESTORER $st_cv_SA_RESTORER 14337 _ACEOF 14338 14339 fi 14340 14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5 14342 $as_echo_n "checking for __builtin_popcount... " >&6; } 14343 if ${st_cv_have___builtin_popcount+:} false; then : 14344 $as_echo_n "(cached) " >&6 14345 else 14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14347 /* end confdefs.h. */ 14348 14349 int 14350 main () 14351 { 14352 __builtin_popcount(0) 14353 ; 14354 return 0; 14355 } 14356 _ACEOF 14357 if ac_fn_c_try_link "$LINENO"; then : 14358 st_cv_have___builtin_popcount=yes 14359 else 14360 st_cv_have___builtin_popcount=no 14361 fi 14362 rm -f core conftest.err conftest.$ac_objext \ 14363 conftest$ac_exeext conftest.$ac_ext 14364 fi 14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have___builtin_popcount" >&5 14366 $as_echo "$st_cv_have___builtin_popcount" >&6; } 14367 if test "x$st_cv_have___builtin_popcount" = xyes; then 14368 14369 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h 14370 14371 fi 14372 14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for program_invocation_name" >&5 14374 $as_echo_n "checking for program_invocation_name... " >&6; } 14375 if ${st_cv_have_program_invocation_name+:} false; then : 14376 $as_echo_n "(cached) " >&6 14377 else 14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14379 /* end confdefs.h. */ 14380 #include <errno.h> 14381 int 14382 main () 14383 { 14384 return !*program_invocation_name 14385 ; 14386 return 0; 14387 } 14388 _ACEOF 14389 if ac_fn_c_try_link "$LINENO"; then : 14390 st_cv_have_program_invocation_name=yes 14391 else 14392 st_cv_have_program_invocation_name=no 14393 fi 14394 rm -f core conftest.err conftest.$ac_objext \ 14395 conftest$ac_exeext conftest.$ac_ext 14396 fi 14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have_program_invocation_name" >&5 14398 $as_echo "$st_cv_have_program_invocation_name" >&6; } 14399 if test "x$st_cv_have_program_invocation_name" = xyes; then 14400 14401 $as_echo "#define HAVE_PROGRAM_INVOCATION_NAME 1" >>confdefs.h 14402 14403 fi 14404 14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for static_assert" >&5 14406 $as_echo_n "checking for static_assert... " >&6; } 14407 if ${st_cv_have_static_assert+:} false; then : 14408 $as_echo_n "(cached) " >&6 14409 else 14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14411 /* end confdefs.h. */ 14412 #include <assert.h> 14413 int 14414 main () 14415 { 14416 static_assert(1,"") 14417 14418 ; 14419 return 0; 14420 } 14421 14422 _ACEOF 14423 if ac_fn_c_try_link "$LINENO"; then : 14424 st_cv_have_static_assert=yes 14425 else 14426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14427 /* end confdefs.h. */ 14428 14429 int 14430 main () 14431 { 14432 _Static_assert(1,"") 14433 14434 ; 14435 return 0; 14436 } 14437 14438 _ACEOF 14439 if ac_fn_c_try_link "$LINENO"; then : 14440 st_cv_have_static_assert=_Static_assert 14441 else 14442 st_cv_have_static_assert=no 14443 14444 fi 14445 rm -f core conftest.err conftest.$ac_objext \ 14446 conftest$ac_exeext conftest.$ac_ext 14447 14448 14449 fi 14450 rm -f core conftest.err conftest.$ac_objext \ 14451 conftest$ac_exeext conftest.$ac_ext 14452 14453 14454 fi 14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have_static_assert" >&5 14456 $as_echo "$st_cv_have_static_assert" >&6; } 14457 case "x$st_cv_have_static_assert" in 14458 xyes) 14459 14460 $as_echo "#define HAVE_STATIC_ASSERT 1" >>confdefs.h 14461 14462 ;; 14463 x_Static_assert) 14464 14465 $as_echo "#define HAVE__STATIC_ASSERT 1" >>confdefs.h 14466 14467 ;; 14468 esac 14469 14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5 14471 $as_echo_n "checking for dladdr in -ldl... " >&6; } 14472 if ${ac_cv_lib_dl_dladdr+:} false; then : 14473 $as_echo_n "(cached) " >&6 14474 else 14475 ac_check_lib_save_LIBS=$LIBS 14476 LIBS="-ldl $LIBS" 14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14478 /* end confdefs.h. */ 14479 14480 /* Override any GCC internal prototype to avoid an error. 14481 Use char because int might match the return type of a GCC 14482 builtin and then its argument prototype would still apply. */ 14483 #ifdef __cplusplus 14484 extern "C" 14485 #endif 14486 char dladdr (); 14487 int 14488 main () 14489 { 14490 return dladdr (); 14491 ; 14492 return 0; 14493 } 14494 _ACEOF 14495 if ac_fn_c_try_link "$LINENO"; then : 14496 ac_cv_lib_dl_dladdr=yes 14497 else 14498 ac_cv_lib_dl_dladdr=no 14499 fi 14500 rm -f core conftest.err conftest.$ac_objext \ 14501 conftest$ac_exeext conftest.$ac_ext 14502 LIBS=$ac_check_lib_save_LIBS 14503 fi 14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5 14505 $as_echo "$ac_cv_lib_dl_dladdr" >&6; } 14506 if test "x$ac_cv_lib_dl_dladdr" = xyes; then : 14507 dl_LIBS='-ldl' 14508 else 14509 dl_LIBS= 14510 fi 14511 14512 if test "x$ac_cv_lib_dl_dladdr" = xyes; then 14513 14514 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h 14515 14516 fi 14517 14518 14519 saved_LIBS="$LIBS" 14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5 14521 $as_echo_n "checking for library containing timer_create... " >&6; } 14522 if ${ac_cv_search_timer_create+:} false; then : 14523 $as_echo_n "(cached) " >&6 14524 else 14525 ac_func_search_save_LIBS=$LIBS 14526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14527 /* end confdefs.h. */ 14528 14529 /* Override any GCC internal prototype to avoid an error. 14530 Use char because int might match the return type of a GCC 14531 builtin and then its argument prototype would still apply. */ 14532 #ifdef __cplusplus 14533 extern "C" 14534 #endif 14535 char timer_create (); 14536 int 14537 main () 14538 { 14539 return timer_create (); 14540 ; 14541 return 0; 14542 } 14543 _ACEOF 14544 for ac_lib in '' rt; do 14545 if test -z "$ac_lib"; then 14546 ac_res="none required" 14547 else 14548 ac_res=-l$ac_lib 14549 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14550 fi 14551 if ac_fn_c_try_link "$LINENO"; then : 14552 ac_cv_search_timer_create=$ac_res 14553 fi 14554 rm -f core conftest.err conftest.$ac_objext \ 14555 conftest$ac_exeext 14556 if ${ac_cv_search_timer_create+:} false; then : 14557 break 14558 fi 14559 done 14560 if ${ac_cv_search_timer_create+:} false; then : 14561 14562 else 14563 ac_cv_search_timer_create=no 14564 fi 14565 rm conftest.$ac_ext 14566 LIBS=$ac_func_search_save_LIBS 14567 fi 14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_create" >&5 14569 $as_echo "$ac_cv_search_timer_create" >&6; } 14570 ac_res=$ac_cv_search_timer_create 14571 if test "$ac_res" != no; then : 14572 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 14573 14574 fi 14575 14576 LIBS="$saved_LIBS" 14577 case "$ac_cv_search_timer_create" in 14578 no) { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14580 as_fn_error $? "failed to find timer_create 14581 See \`config.log' for more details" "$LINENO" 5; } ;; 14582 -l*) timer_LIBS="$ac_cv_search_timer_create" ;; 14583 *) timer_LIBS= ;; 14584 esac 14585 14586 14587 saved_LIBS="$LIBS" 14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 14589 $as_echo_n "checking for library containing clock_gettime... " >&6; } 14590 if ${ac_cv_search_clock_gettime+:} false; then : 14591 $as_echo_n "(cached) " >&6 14592 else 14593 ac_func_search_save_LIBS=$LIBS 14594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14595 /* end confdefs.h. */ 14596 14597 /* Override any GCC internal prototype to avoid an error. 14598 Use char because int might match the return type of a GCC 14599 builtin and then its argument prototype would still apply. */ 14600 #ifdef __cplusplus 14601 extern "C" 14602 #endif 14603 char clock_gettime (); 14604 int 14605 main () 14606 { 14607 return clock_gettime (); 14608 ; 14609 return 0; 14610 } 14611 _ACEOF 14612 for ac_lib in '' rt; do 14613 if test -z "$ac_lib"; then 14614 ac_res="none required" 14615 else 14616 ac_res=-l$ac_lib 14617 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14618 fi 14619 if ac_fn_c_try_link "$LINENO"; then : 14620 ac_cv_search_clock_gettime=$ac_res 14621 fi 14622 rm -f core conftest.err conftest.$ac_objext \ 14623 conftest$ac_exeext 14624 if ${ac_cv_search_clock_gettime+:} false; then : 14625 break 14626 fi 14627 done 14628 if ${ac_cv_search_clock_gettime+:} false; then : 14629 14630 else 14631 ac_cv_search_clock_gettime=no 14632 fi 14633 rm conftest.$ac_ext 14634 LIBS=$ac_func_search_save_LIBS 14635 fi 14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 14637 $as_echo "$ac_cv_search_clock_gettime" >&6; } 14638 ac_res=$ac_cv_search_clock_gettime 14639 if test "$ac_res" != no; then : 14640 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 14641 14642 fi 14643 14644 LIBS="$saved_LIBS" 14645 case "$ac_cv_search_clock_gettime" in 14646 no) { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14648 as_fn_error $? "failed to find clock_gettime 14649 See \`config.log' for more details" "$LINENO" 5; } ;; 14650 -l*) clock_LIBS="$ac_cv_search_clock_gettime" ;; 14651 *) clock_LIBS= ;; 14652 esac 14653 14654 14655 saved_LIBS="$LIBS" 14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mq_open" >&5 14657 $as_echo_n "checking for library containing mq_open... " >&6; } 14658 if ${ac_cv_search_mq_open+:} false; then : 14659 $as_echo_n "(cached) " >&6 14660 else 14661 ac_func_search_save_LIBS=$LIBS 14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14663 /* end confdefs.h. */ 14664 14665 /* Override any GCC internal prototype to avoid an error. 14666 Use char because int might match the return type of a GCC 14667 builtin and then its argument prototype would still apply. */ 14668 #ifdef __cplusplus 14669 extern "C" 14670 #endif 14671 char mq_open (); 14672 int 14673 main () 14674 { 14675 return mq_open (); 14676 ; 14677 return 0; 14678 } 14679 _ACEOF 14680 for ac_lib in '' rt; do 14681 if test -z "$ac_lib"; then 14682 ac_res="none required" 14683 else 14684 ac_res=-l$ac_lib 14685 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14686 fi 14687 if ac_fn_c_try_link "$LINENO"; then : 14688 ac_cv_search_mq_open=$ac_res 14689 fi 14690 rm -f core conftest.err conftest.$ac_objext \ 14691 conftest$ac_exeext 14692 if ${ac_cv_search_mq_open+:} false; then : 14693 break 14694 fi 14695 done 14696 if ${ac_cv_search_mq_open+:} false; then : 14697 14698 else 14699 ac_cv_search_mq_open=no 14700 fi 14701 rm conftest.$ac_ext 14702 LIBS=$ac_func_search_save_LIBS 14703 fi 14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mq_open" >&5 14705 $as_echo "$ac_cv_search_mq_open" >&6; } 14706 ac_res=$ac_cv_search_mq_open 14707 if test "$ac_res" != no; then : 14708 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 14709 14710 fi 14711 14712 LIBS="$saved_LIBS" 14713 case "$ac_cv_search_mq_open" in 14714 -l*) mq_LIBS="$ac_cv_search_mq_open" ;; 14715 *) mq_LIBS= ;; 14716 esac 14717 14718 14719 # Extract the first word of "perl", so it can be a program name with args. 14720 set dummy perl; ac_word=$2 14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14722 $as_echo_n "checking for $ac_word... " >&6; } 14723 if ${ac_cv_path_PERL+:} false; then : 14724 $as_echo_n "(cached) " >&6 14725 else 14726 case $PERL in 14727 [\\/]* | ?:[\\/]*) 14728 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 14729 ;; 14730 *) 14731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14732 for as_dir in $PATH 14733 do 14734 IFS=$as_save_IFS 14735 test -z "$as_dir" && as_dir=. 14736 for ac_exec_ext in '' $ac_executable_extensions; do 14737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14738 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 14739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14740 break 2 14741 fi 14742 done 14743 done 14744 IFS=$as_save_IFS 14745 14746 ;; 14747 esac 14748 fi 14749 PERL=$ac_cv_path_PERL 14750 if test -n "$PERL"; then 14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 14752 $as_echo "$PERL" >&6; } 14753 else 14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14755 $as_echo "no" >&6; } 14756 fi 14757 14758 14759 14760 if test -n "$ac_tool_prefix"; then 14761 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args. 14762 set dummy ${ac_tool_prefix}readelf; ac_word=$2 14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14764 $as_echo_n "checking for $ac_word... " >&6; } 14765 if ${ac_cv_prog_READELF+:} false; then : 14766 $as_echo_n "(cached) " >&6 14767 else 14768 if test -n "$READELF"; then 14769 ac_cv_prog_READELF="$READELF" # Let the user override the test. 14770 else 14771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14772 for as_dir in $PATH 14773 do 14774 IFS=$as_save_IFS 14775 test -z "$as_dir" && as_dir=. 14776 for ac_exec_ext in '' $ac_executable_extensions; do 14777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14778 ac_cv_prog_READELF="${ac_tool_prefix}readelf" 14779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14780 break 2 14781 fi 14782 done 14783 done 14784 IFS=$as_save_IFS 14785 14786 fi 14787 fi 14788 READELF=$ac_cv_prog_READELF 14789 if test -n "$READELF"; then 14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5 14791 $as_echo "$READELF" >&6; } 14792 else 14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14794 $as_echo "no" >&6; } 14795 fi 14796 14797 14798 fi 14799 if test -z "$ac_cv_prog_READELF"; then 14800 ac_ct_READELF=$READELF 14801 # Extract the first word of "readelf", so it can be a program name with args. 14802 set dummy readelf; ac_word=$2 14803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14804 $as_echo_n "checking for $ac_word... " >&6; } 14805 if ${ac_cv_prog_ac_ct_READELF+:} false; then : 14806 $as_echo_n "(cached) " >&6 14807 else 14808 if test -n "$ac_ct_READELF"; then 14809 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test. 14810 else 14811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14812 for as_dir in $PATH 14813 do 14814 IFS=$as_save_IFS 14815 test -z "$as_dir" && as_dir=. 14816 for ac_exec_ext in '' $ac_executable_extensions; do 14817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14818 ac_cv_prog_ac_ct_READELF="readelf" 14819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14820 break 2 14821 fi 14822 done 14823 done 14824 IFS=$as_save_IFS 14825 14826 fi 14827 fi 14828 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF 14829 if test -n "$ac_ct_READELF"; then 14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5 14831 $as_echo "$ac_ct_READELF" >&6; } 14832 else 14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14834 $as_echo "no" >&6; } 14835 fi 14836 14837 if test "x$ac_ct_READELF" = x; then 14838 READELF="" 14839 else 14840 case $cross_compiling:$ac_tool_warned in 14841 yes:) 14842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14844 ac_tool_warned=yes ;; 14845 esac 14846 READELF=$ac_ct_READELF 14847 fi 14848 else 14849 READELF="$ac_cv_prog_READELF" 14850 fi 14851 14852 14853 14854 # Check whether --enable-stacktrace was given. 14855 if test "${enable_stacktrace+set}" = set; then : 14856 enableval=$enable_stacktrace; case "$enableval" in 14857 yes|no|check) enable_stacktrace="$enableval" ;; 14858 *) as_fn_error $? "bad value $enableval for enable-stacktrace option. 14859 Valid options are: yes, no, check." "$LINENO" 5 14860 ;; 14861 esac 14862 else 14863 enable_stacktrace=check 14864 fi 14865 14866 14867 use_unwinder= 14868 14869 if test x"$enable_stacktrace" != xno; then : 14870 14871 : ${libdw_CPPFLAGS=} 14872 : ${libdw_CFLAGS=} 14873 : ${libdw_LDFLAGS=} 14874 : ${libdw_LIBS=} 14875 14876 14877 # Check whether --with-libdw was given. 14878 if test "${with_libdw+set}" = set; then : 14879 withval=$with_libdw; case "${withval}" in 14880 yes|no|check) ;; 14881 *) libdw_CPPFLAGS="-I${withval}/include" 14882 libdw_LDFLAGS="-L${withval}/lib" 14883 with_libdw=yes ;; 14884 esac 14885 14886 else 14887 with_libdw=check 14888 14889 fi 14890 14891 14892 14893 14894 14895 # Check whether --with-libunwind was given. 14896 if test "${with_libunwind+set}" = set; then : 14897 withval=$with_libunwind; case "${withval}" in 14898 yes|no|check) ;; 14899 *) with_libunwind=yes 14900 libunwind_CPPFLAGS="-I${withval}/include" 14901 libunwind_LDFLAGS="-L${withval}/lib" ;; 14902 esac 14903 else 14904 with_libunwind=check 14905 14906 fi 14907 14908 14909 14910 if test "x$with_libdw" = xyes && test "x$with_libunwind" = xyes; then : 14911 as_fn_error $? "--with-libdw=yes and --with-libunwind=yes are mutually exclusive" "$LINENO" 5 14912 elif test "x$with_libdw" = xyes; then : 14913 with_libunwind=no 14914 elif test "x$with_libunwind" = xyes; then : 14915 with_libdw=no 14916 14917 fi 14918 if test "x$use_unwinder" = x; then : 14919 14920 have_libdw= 14921 14922 if test "x$with_libdw" != xno && test "x$use_unwinder" = x; then : 14923 saved_CPPFLAGS="$CPPFLAGS" 14924 saved_CFLAGS="$CFLAGS" 14925 CPPFLAGS="$CPPFLAGS $libdw_CPPFLAGS" 14926 CFLAGS="$CFLAGS $libdw_CFLAGS" 14927 14928 for ac_header in elfutils/libdwfl.h 14929 do : 14930 ac_fn_c_check_header_mongrel "$LINENO" "elfutils/libdwfl.h" "ac_cv_header_elfutils_libdwfl_h" "$ac_includes_default" 14931 if test "x$ac_cv_header_elfutils_libdwfl_h" = xyes; then : 14932 cat >>confdefs.h <<_ACEOF 14933 #define HAVE_ELFUTILS_LIBDWFL_H 1 14934 _ACEOF 14935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwfl_linux_proc_attach in -ldw" >&5 14936 $as_echo_n "checking for dwfl_linux_proc_attach in -ldw... " >&6; } 14937 if ${ac_cv_lib_dw_dwfl_linux_proc_attach+:} false; then : 14938 $as_echo_n "(cached) " >&6 14939 else 14940 ac_check_lib_save_LIBS=$LIBS 14941 LIBS="-ldw $libdw_LDFLAGS $libdw_LIBS 14942 $LIBS" 14943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14944 /* end confdefs.h. */ 14945 14946 /* Override any GCC internal prototype to avoid an error. 14947 Use char because int might match the return type of a GCC 14948 builtin and then its argument prototype would still apply. */ 14949 #ifdef __cplusplus 14950 extern "C" 14951 #endif 14952 char dwfl_linux_proc_attach (); 14953 int 14954 main () 14955 { 14956 return dwfl_linux_proc_attach (); 14957 ; 14958 return 0; 14959 } 14960 _ACEOF 14961 if ac_fn_c_try_link "$LINENO"; then : 14962 ac_cv_lib_dw_dwfl_linux_proc_attach=yes 14963 else 14964 ac_cv_lib_dw_dwfl_linux_proc_attach=no 14965 fi 14966 rm -f core conftest.err conftest.$ac_objext \ 14967 conftest$ac_exeext conftest.$ac_ext 14968 LIBS=$ac_check_lib_save_LIBS 14969 fi 14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwfl_linux_proc_attach" >&5 14971 $as_echo "$ac_cv_lib_dw_dwfl_linux_proc_attach" >&6; } 14972 if test "x$ac_cv_lib_dw_dwfl_linux_proc_attach" = xyes; then : 14973 libdw_LIBS="-ldw $libdw_LIBS" 14974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elfutils version" >&5 14975 $as_echo_n "checking for elfutils version... " >&6; } 14976 if ${st_cv_ELFUTILS_VERSION+:} false; then : 14977 $as_echo_n "(cached) " >&6 14978 else 14979 st_cv_ELFUTILS_VERSION="$(echo _ELFUTILS_VERSION | 14980 $CPP $CPPFLAGS -P -imacros elfutils/version.h - | 14981 grep '^[0-9]')" 14982 test -n "$st_cv_ELFUTILS_VERSION" || 14983 st_cv_ELFUTILS_VERSION=0 14984 14985 14986 fi 14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_ELFUTILS_VERSION" >&5 14988 $as_echo "$st_cv_ELFUTILS_VERSION" >&6; } 14989 if test "$st_cv_ELFUTILS_VERSION" -ge 164; then : 14990 have_libdw=yes 14991 else 14992 if test "x$with_libdw" = xyes; then : 14993 as_fn_error $? "elfutils version >= 164 is required for stack tracing support" "$LINENO" 5 14994 else 14995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: elfutils version >= 164 is required for stack tracing support" >&5 14996 $as_echo "$as_me: WARNING: elfutils version >= 164 is required for stack tracing support" >&2;} 14997 14998 fi 14999 15000 15001 fi 15002 15003 else 15004 if test "x$with_libdw" = xyes; then : 15005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15007 as_fn_error $? "failed to find dwfl_linux_proc_attach in libdw 15008 See \`config.log' for more details" "$LINENO" 5; } 15009 fi 15010 15011 fi 15012 15013 15014 else 15015 if test "x$with_libdw" = xyes; then : 15016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15018 as_fn_error $? "failed to find elfutils/libdwfl.h 15019 See \`config.log' for more details" "$LINENO" 5; } 15020 15021 fi 15022 15023 15024 fi 15025 15026 done 15027 15028 15029 CFLAGS="$saved_CFLAGS" 15030 CPPFLAGS="$saved_CPPFLAGS" 15031 15032 15033 fi 15034 15035 if test "x$have_libdw" = xyes; then : 15036 use_unwinder=libdw 15037 15038 $as_echo "#define USE_LIBDW 1" >>confdefs.h 15039 15040 15041 15042 15043 15044 15045 15046 fi 15047 15048 15049 fi 15050 if test "x$use_unwinder" = x; then : 15051 15052 libunwind_CPPFLAGS= 15053 libunwind_LDFLAGS= 15054 libunwind_LIBS= 15055 15056 if test "x$with_libunwind" != xno && test "x$use_unwinder" = x; then : 15057 saved_CPPFLAGS="$CPPFLAGS" 15058 CPPFLAGS="$CPPFLAGS $libunwind_CPPFLAGS" 15059 15060 for ac_header in libunwind-ptrace.h 15061 do : 15062 ac_fn_c_check_header_mongrel "$LINENO" "libunwind-ptrace.h" "ac_cv_header_libunwind_ptrace_h" "$ac_includes_default" 15063 if test "x$ac_cv_header_libunwind_ptrace_h" = xyes; then : 15064 cat >>confdefs.h <<_ACEOF 15065 #define HAVE_LIBUNWIND_PTRACE_H 1 15066 _ACEOF 15067 saved_LDFLAGS="$LDFLAGS" 15068 LDFLAGS="$LDFLAGS $libunwind_LDFLAGS" 15069 15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lunwind" >&5 15071 $as_echo_n "checking for backtrace in -lunwind... " >&6; } 15072 if ${ac_cv_lib_unwind_backtrace+:} false; then : 15073 $as_echo_n "(cached) " >&6 15074 else 15075 ac_check_lib_save_LIBS=$LIBS 15076 LIBS="-lunwind $libunwind_LIBS 15077 $LIBS" 15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15079 /* end confdefs.h. */ 15080 15081 /* Override any GCC internal prototype to avoid an error. 15082 Use char because int might match the return type of a GCC 15083 builtin and then its argument prototype would still apply. */ 15084 #ifdef __cplusplus 15085 extern "C" 15086 #endif 15087 char backtrace (); 15088 int 15089 main () 15090 { 15091 return backtrace (); 15092 ; 15093 return 0; 15094 } 15095 _ACEOF 15096 if ac_fn_c_try_link "$LINENO"; then : 15097 ac_cv_lib_unwind_backtrace=yes 15098 else 15099 ac_cv_lib_unwind_backtrace=no 15100 fi 15101 rm -f core conftest.err conftest.$ac_objext \ 15102 conftest$ac_exeext conftest.$ac_ext 15103 LIBS=$ac_check_lib_save_LIBS 15104 fi 15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_backtrace" >&5 15106 $as_echo "$ac_cv_lib_unwind_backtrace" >&6; } 15107 if test "x$ac_cv_lib_unwind_backtrace" = xyes; then : 15108 libunwind_LIBS="-lunwind $libunwind_LIBS" 15109 15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_create_addr_space in libunwind-generic" >&5 15111 $as_echo_n "checking for unw_create_addr_space in libunwind-generic... " >&6; } 15112 saved_LIBS="$LIBS" 15113 LIBS="-lunwind-generic $libunwind_LIBS $LIBS" 15114 15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15116 /* end confdefs.h. */ 15117 #include <libunwind-ptrace.h> 15118 int 15119 main () 15120 { 15121 return !unw_create_addr_space(0, 0) 15122 ; 15123 return 0; 15124 } 15125 15126 _ACEOF 15127 if ac_fn_c_try_link "$LINENO"; then : 15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15129 $as_echo "yes" >&6; } 15130 libunwind_LIBS="-lunwind-generic $libunwind_LIBS" 15131 15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _UPT_create in -lunwind-ptrace" >&5 15133 $as_echo_n "checking for _UPT_create in -lunwind-ptrace... " >&6; } 15134 if ${ac_cv_lib_unwind_ptrace__UPT_create+:} false; then : 15135 $as_echo_n "(cached) " >&6 15136 else 15137 ac_check_lib_save_LIBS=$LIBS 15138 LIBS="-lunwind-ptrace $libunwind_LIBS 15139 $LIBS" 15140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15141 /* end confdefs.h. */ 15142 15143 /* Override any GCC internal prototype to avoid an error. 15144 Use char because int might match the return type of a GCC 15145 builtin and then its argument prototype would still apply. */ 15146 #ifdef __cplusplus 15147 extern "C" 15148 #endif 15149 char _UPT_create (); 15150 int 15151 main () 15152 { 15153 return _UPT_create (); 15154 ; 15155 return 0; 15156 } 15157 _ACEOF 15158 if ac_fn_c_try_link "$LINENO"; then : 15159 ac_cv_lib_unwind_ptrace__UPT_create=yes 15160 else 15161 ac_cv_lib_unwind_ptrace__UPT_create=no 15162 fi 15163 rm -f core conftest.err conftest.$ac_objext \ 15164 conftest$ac_exeext conftest.$ac_ext 15165 LIBS=$ac_check_lib_save_LIBS 15166 fi 15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_ptrace__UPT_create" >&5 15168 $as_echo "$ac_cv_lib_unwind_ptrace__UPT_create" >&6; } 15169 if test "x$ac_cv_lib_unwind_ptrace__UPT_create" = xyes; then : 15170 libunwind_LIBS="-lunwind-ptrace $libunwind_LIBS" 15171 use_unwinder=libunwind 15172 15173 else 15174 if test "x$with_libunwind" != xcheck; then 15175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15177 as_fn_error $? "failed to find _UPT_create in libunwind-ptrace 15178 See \`config.log' for more details" "$LINENO" 5; } 15179 fi 15180 15181 fi 15182 15183 15184 else 15185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15186 $as_echo "no" >&6; } 15187 if test "x$with_libunwind" != xcheck; then 15188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15190 as_fn_error $? "failed to find unw_create_addr_space in libunwind-generic 15191 See \`config.log' for more details" "$LINENO" 5; } 15192 fi 15193 15194 15195 fi 15196 rm -f core conftest.err conftest.$ac_objext \ 15197 conftest$ac_exeext conftest.$ac_ext 15198 15199 LIBS="$saved_LIBS" 15200 15201 else 15202 if test "x$with_libunwind" != xcheck; then 15203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15205 as_fn_error $? "failed to find libunwind 15206 See \`config.log' for more details" "$LINENO" 5; } 15207 fi 15208 15209 fi 15210 15211 15212 LDFLAGS="$saved_LDFLAGS" 15213 15214 else 15215 if test "x$with_libunwind" != xcheck; then 15216 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15218 as_fn_error $? "failed to find libunwind-ptrace.h 15219 See \`config.log' for more details" "$LINENO" 5; } 15220 fi 15221 15222 15223 fi 15224 15225 done 15226 15227 15228 CPPFLAGS="$saved_CPPFLAGS" 15229 15230 15231 fi 15232 15233 if test "x$use_unwinder" = xlibunwind; then 15234 15235 $as_echo "#define USE_LIBUNWIND 1" >>confdefs.h 15236 15237 15238 15239 15240 fi 15241 15242 15243 fi 15244 if test x"$enable_stacktrace$use_unwinder" = xyes; then : 15245 as_fn_error $? "stack tracing support requires an unwinder" "$LINENO" 5 15246 15247 fi 15248 15249 15250 fi 15251 15252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable stack tracing support" >&5 15253 $as_echo_n "checking whether to enable stack tracing support... " >&6; } 15254 if test "x$use_unwinder" != x; then 15255 ENABLE_STACKTRACE_TRUE= 15256 ENABLE_STACKTRACE_FALSE='#' 15257 else 15258 ENABLE_STACKTRACE_TRUE='#' 15259 ENABLE_STACKTRACE_FALSE= 15260 fi 15261 15262 if test "x$use_unwinder" = xlibdw; then 15263 USE_LIBDW_TRUE= 15264 USE_LIBDW_FALSE='#' 15265 else 15266 USE_LIBDW_TRUE='#' 15267 USE_LIBDW_FALSE= 15268 fi 15269 15270 if test "x$use_unwinder" = xlibunwind; then 15271 USE_LIBUNWIND_TRUE= 15272 USE_LIBUNWIND_FALSE='#' 15273 else 15274 USE_LIBUNWIND_TRUE='#' 15275 USE_LIBUNWIND_FALSE= 15276 fi 15277 15278 15279 use_libiberty= 15280 if test "x$use_unwinder" != x; then : 15281 15282 $as_echo "#define ENABLE_STACKTRACE 1" >>confdefs.h 15283 15284 15285 cat >>confdefs.h <<_ACEOF 15286 #define USE_UNWINDER "$use_unwinder" 15287 _ACEOF 15288 15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, using $use_unwinder" >&5 15290 $as_echo "yes, using $use_unwinder" >&6; } 15291 15292 15293 # Check whether --with-libiberty was given. 15294 if test "${with_libiberty+set}" = set; then : 15295 withval=$with_libiberty; case "${withval}" in 15296 yes|no|check) ;; 15297 *) with_libiberty=yes 15298 libiberty_CPPFLAGS="-I${withval}/include" 15299 libiberty_LDFLAGS="-L${withval}/lib" ;; 15300 esac 15301 else 15302 with_libiberty=check 15303 15304 fi 15305 15306 15307 libiberty_CPPFLAGS= 15308 libiberty_LDFLAGS= 15309 libiberty_LIBS= 15310 use_libiberty=no 15311 15312 if test "x$with_libiberty" != xno; then : 15313 saved_CPPFLAGS="$CPPFLAGS" 15314 CPPFLAGS="$CPPFLAGS $libiberty_CPPFLAGS" 15315 for ac_header in demangle.h libiberty/demangle.h 15316 do : 15317 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 15318 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 15319 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 15320 cat >>confdefs.h <<_ACEOF 15321 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15322 _ACEOF 15323 saved_LDFLAGS="$LDFLAGS" 15324 LDFLAGS="$LDFLAGS $libiberty_LDFLAGS" 15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cplus_demangle in -liberty" >&5 15326 $as_echo_n "checking for cplus_demangle in -liberty... " >&6; } 15327 if ${ac_cv_lib_iberty_cplus_demangle+:} false; then : 15328 $as_echo_n "(cached) " >&6 15329 else 15330 ac_check_lib_save_LIBS=$LIBS 15331 LIBS="-liberty $LIBS" 15332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15333 /* end confdefs.h. */ 15334 15335 /* Override any GCC internal prototype to avoid an error. 15336 Use char because int might match the return type of a GCC 15337 builtin and then its argument prototype would still apply. */ 15338 #ifdef __cplusplus 15339 extern "C" 15340 #endif 15341 char cplus_demangle (); 15342 int 15343 main () 15344 { 15345 return cplus_demangle (); 15346 ; 15347 return 0; 15348 } 15349 _ACEOF 15350 if ac_fn_c_try_link "$LINENO"; then : 15351 ac_cv_lib_iberty_cplus_demangle=yes 15352 else 15353 ac_cv_lib_iberty_cplus_demangle=no 15354 fi 15355 rm -f core conftest.err conftest.$ac_objext \ 15356 conftest$ac_exeext conftest.$ac_ext 15357 LIBS=$ac_check_lib_save_LIBS 15358 fi 15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iberty_cplus_demangle" >&5 15360 $as_echo "$ac_cv_lib_iberty_cplus_demangle" >&6; } 15361 if test "x$ac_cv_lib_iberty_cplus_demangle" = xyes; then : 15362 libiberty_LIBS="-liberty" 15363 use_libiberty=yes 15364 15365 else 15366 if test "x$with_libiberty" != xcheck; then 15367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15369 as_fn_error $? "failed to find cplus_demangle in libiberty 15370 See \`config.log' for more details" "$LINENO" 5; } 15371 fi 15372 15373 15374 fi 15375 15376 LDFLAGS="$saved_LDFLAGS" 15377 15378 else 15379 if test "x$with_libiberty" != xcheck; then 15380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15382 as_fn_error $? "failed to find demangle.h 15383 See \`config.log' for more details" "$LINENO" 5; } 15384 fi 15385 15386 15387 fi 15388 15389 done 15390 15391 CPPFLAGS="$saved_CPPFLAGS" 15392 15393 15394 fi 15395 15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable symbols demangling in stack trace" >&5 15397 $as_echo_n "checking whether to enable symbols demangling in stack trace... " >&6; } 15398 if test "x$use_libiberty" = xyes; then 15399 15400 $as_echo "#define USE_DEMANGLE 1" >>confdefs.h 15401 15402 15403 15404 15405 fi 15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_libiberty" >&5 15407 $as_echo "$use_libiberty" >&6; } 15408 15409 15410 else 15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15412 $as_echo "no" >&6; } 15413 fi 15414 15415 if test "x$use_libiberty" = xyes; then 15416 USE_DEMANGLE_TRUE= 15417 USE_DEMANGLE_FALSE='#' 15418 else 15419 USE_DEMANGLE_TRUE='#' 15420 USE_DEMANGLE_FALSE= 15421 fi 15422 15423 15424 15425 15426 if test "$arch" = mips && test "$no_create" != yes; then 15427 mkdir -p linux/mips 15428 if $srcdir/linux/mips/genstub.sh linux/mips; then 15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Generated MIPS syscallent stubs" >&5 15430 $as_echo "Generated MIPS syscallent stubs" >&6; } 15431 else 15432 as_fn_error $? "Failed to generate syscallent stubs" "$LINENO" 5 15433 fi 15434 fi 15435 15436 # Check whether --enable-mpers was given. 15437 if test "${enable_mpers+set}" = set; then : 15438 enableval=$enable_mpers; case "$enableval" in 15439 yes|no|check|m32|mx32) enable_mpers="$enableval" ;; 15440 *) as_fn_error $? "bad value $enableval for enable-mpers option. 15441 Valid options are: yes, no, check, m32, mx32." "$LINENO" 5 15442 ;; 15443 esac 15444 else 15445 enable_mpers=yes 15446 fi 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 case "$arch" in 15461 aarch64|powerpc64|riscv|s390x|sparc64|tile|x32|x86_64) 15462 case "$enable_mpers" in 15463 yes|check|m32) 15464 15465 15466 15467 15468 for ac_header in gnu/stubs-32.h 15469 do : 15470 ac_fn_c_check_header_mongrel "$LINENO" "gnu/stubs-32.h" "ac_cv_header_gnu_stubs_32_h" "$ac_includes_default" 15471 if test "x$ac_cv_header_gnu_stubs_32_h" = xyes; then : 15472 cat >>confdefs.h <<_ACEOF 15473 #define HAVE_GNU_STUBS_32_H 1 15474 _ACEOF 15475 IFLAG= 15476 else 15477 mkdir -p gnu 15478 : > gnu/stubs-32.h 15479 { $as_echo "$as_me:${as_lineno-$LINENO}: Created empty gnu/stubs-32.h" >&5 15480 $as_echo "$as_me: Created empty gnu/stubs-32.h" >&6;} 15481 IFLAG=-I. 15482 fi 15483 15484 done 15485 15486 15487 saved_CFLAGS="$CFLAGS" 15488 CFLAGS="$CFLAGS $cc_flags_m32 $IFLAG" 15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m32 personality compile support" >&5 15490 $as_echo_n "checking for m32 personality compile support... " >&6; } 15491 if ${st_cv_m32_cc+:} false; then : 15492 $as_echo_n "(cached) " >&6 15493 else 15494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15495 /* end confdefs.h. */ 15496 #include <stdint.h> 15497 int main(){return 0;} 15498 _ACEOF 15499 if ac_fn_c_try_compile "$LINENO"; then : 15500 st_cv_m32_cc=yes 15501 else 15502 st_cv_m32_cc=no 15503 fi 15504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15505 fi 15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_cc" >&5 15507 $as_echo "$st_cv_m32_cc" >&6; } 15508 if test $st_cv_m32_cc = yes; then 15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m32 personality runtime support" >&5 15510 $as_echo_n "checking for m32 personality runtime support... " >&6; } 15511 if ${st_cv_m32_runtime+:} false; then : 15512 $as_echo_n "(cached) " >&6 15513 else 15514 if test "$cross_compiling" = yes; then : 15515 st_cv_m32_runtime=no 15516 else 15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15518 /* end confdefs.h. */ 15519 #include <stdint.h> 15520 int main(){return 0;} 15521 _ACEOF 15522 if ac_fn_c_try_run "$LINENO"; then : 15523 st_cv_m32_runtime=yes 15524 else 15525 st_cv_m32_runtime=no 15526 fi 15527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 15528 conftest.$ac_objext conftest.beam conftest.$ac_ext 15529 fi 15530 15531 fi 15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_runtime" >&5 15533 $as_echo "$st_cv_m32_runtime" >&6; } 15534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mpers.sh m32 $cc_flags_m32 works" >&5 15535 $as_echo_n "checking whether mpers.sh m32 $cc_flags_m32 works... " >&6; } 15536 if ${st_cv_m32_mpers+:} false; then : 15537 $as_echo_n "(cached) " >&6 15538 else 15539 if READELF="$READELF" \ 15540 CC="$CC" CPP="$CPP" CPPFLAGS="$CPPFLAGS $IFLAG" \ 15541 $srcdir/mpers_test.sh m32 $cc_flags_m32; then 15542 st_cv_m32_mpers=yes 15543 else 15544 st_cv_m32_mpers=no 15545 fi 15546 fi 15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_mpers" >&5 15548 $as_echo "$st_cv_m32_mpers" >&6; } 15549 if test $st_cv_m32_mpers = yes; then 15550 15551 $as_echo "#define HAVE_M32_MPERS 1" >>confdefs.h 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 if test -n "${ac_cv_type_struct_stat+set}"; then : 15562 saved_ac_cv_type_struct_stat="${ac_cv_type_struct_stat}"; unset ac_cv_type_struct_stat 15563 fi 15564 if test -n "${ac_cv_m32_type_struct_stat+set}"; then : 15565 ac_cv_type_struct_stat="${ac_cv_m32_type_struct_stat}" 15566 fi 15567 15568 15569 15570 15571 15572 15573 ac_fn_c_check_type "$LINENO" "struct stat" "ac_cv_type_struct_stat" "#include <sys/types.h> 15574 #include <asm/stat.h> 15575 " 15576 if test "x$ac_cv_type_struct_stat" = xyes; then : 15577 15578 $as_echo "#define HAVE_M32_STRUCT_STAT 1" >>confdefs.h 15579 15580 fi 15581 15582 15583 15584 15585 15586 15587 15588 if test -n "${ac_cv_type_struct_stat+set}"; then : 15589 ac_cv_m32_type_struct_stat="${ac_cv_type_struct_stat}" 15590 fi 15591 if test -n "${saved_ac_cv_type_struct_stat+set}"; then : 15592 ac_cv_type_struct_stat="${saved_ac_cv_type_struct_stat}"; unset saved_ac_cv_type_struct_stat 15593 fi 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 15608 saved_ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}"; unset ac_cv_member_struct_stat_st_mtime_nsec 15609 fi 15610 if test -n "${ac_cv_m32_member_struct_stat_st_mtime_nsec+set}"; then : 15611 ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_m32_member_struct_stat_st_mtime_nsec}" 15612 fi 15613 15614 15615 15616 15617 15618 15619 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h> 15620 #include <asm/stat.h> 15621 " 15622 if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 15623 15624 $as_echo "#define HAVE_M32_STRUCT_STAT_ST_MTIME_NSEC 1" >>confdefs.h 15625 15626 fi 15627 15628 15629 15630 15631 15632 15633 15634 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 15635 ac_cv_m32_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}" 15636 fi 15637 if test -n "${saved_ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 15638 ac_cv_member_struct_stat_st_mtime_nsec="${saved_ac_cv_member_struct_stat_st_mtime_nsec}"; unset saved_ac_cv_member_struct_stat_st_mtime_nsec 15639 fi 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 if test -n "${ac_cv_type_struct_stat64+set}"; then : 15657 saved_ac_cv_type_struct_stat64="${ac_cv_type_struct_stat64}"; unset ac_cv_type_struct_stat64 15658 fi 15659 if test -n "${ac_cv_m32_type_struct_stat64+set}"; then : 15660 ac_cv_type_struct_stat64="${ac_cv_m32_type_struct_stat64}" 15661 fi 15662 15663 15664 15665 15666 15667 15668 ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 15669 #include <asm/stat.h> 15670 " 15671 if test "x$ac_cv_type_struct_stat64" = xyes; then : 15672 15673 $as_echo "#define HAVE_M32_STRUCT_STAT64 1" >>confdefs.h 15674 15675 fi 15676 15677 15678 15679 15680 15681 15682 15683 if test -n "${ac_cv_type_struct_stat64+set}"; then : 15684 ac_cv_m32_type_struct_stat64="${ac_cv_type_struct_stat64}" 15685 fi 15686 if test -n "${saved_ac_cv_type_struct_stat64+set}"; then : 15687 ac_cv_type_struct_stat64="${saved_ac_cv_type_struct_stat64}"; unset saved_ac_cv_type_struct_stat64 15688 fi 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 15703 saved_ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}"; unset ac_cv_member_struct_stat64_st_mtime_nsec 15704 fi 15705 if test -n "${ac_cv_m32_member_struct_stat64_st_mtime_nsec+set}"; then : 15706 ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_m32_member_struct_stat64_st_mtime_nsec}" 15707 fi 15708 15709 15710 15711 15712 15713 15714 ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h> 15715 #include <asm/stat.h> 15716 " 15717 if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 15718 15719 $as_echo "#define HAVE_M32_STRUCT_STAT64_ST_MTIME_NSEC 1" >>confdefs.h 15720 15721 fi 15722 15723 15724 15725 15726 15727 15728 15729 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 15730 ac_cv_m32_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}" 15731 fi 15732 if test -n "${saved_ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 15733 ac_cv_member_struct_stat64_st_mtime_nsec="${saved_ac_cv_member_struct_stat64_st_mtime_nsec}"; unset saved_ac_cv_member_struct_stat64_st_mtime_nsec 15734 fi 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 if test $st_cv_m32_runtime = yes; then 15745 15746 15747 15748 15749 15750 15751 15752 if test -n "${ac_cv_sizeof_long+set}"; then : 15753 saved_ac_cv_sizeof_long="${ac_cv_sizeof_long}"; unset ac_cv_sizeof_long 15754 fi 15755 if test -n "${ac_cv_m32_sizeof_long+set}"; then : 15756 ac_cv_sizeof_long="${ac_cv_m32_sizeof_long}" 15757 fi 15758 15759 15760 15761 15762 15763 15764 # The cast to long int works around a bug in the HP C Compiler 15765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 15766 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15767 # This bug is HP SR number 8606223364. 15768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 15769 $as_echo_n "checking size of long... " >&6; } 15770 if ${ac_cv_sizeof_long+:} false; then : 15771 $as_echo_n "(cached) " >&6 15772 else 15773 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 15774 15775 else 15776 if test "$ac_cv_type_long" = yes; then 15777 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15779 as_fn_error 77 "cannot compute sizeof (long) 15780 See \`config.log' for more details" "$LINENO" 5; } 15781 else 15782 ac_cv_sizeof_long=0 15783 fi 15784 fi 15785 15786 fi 15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 15788 $as_echo "$ac_cv_sizeof_long" >&6; } 15789 15790 15791 15792 cat >>confdefs.h <<_ACEOF 15793 #define M32_SIZEOF_LONG $ac_cv_sizeof_long 15794 _ACEOF 15795 15796 15797 15798 15799 15800 15801 15802 15803 if test -n "${ac_cv_sizeof_long+set}"; then : 15804 ac_cv_m32_sizeof_long="${ac_cv_sizeof_long}" 15805 fi 15806 if test -n "${saved_ac_cv_sizeof_long+set}"; then : 15807 ac_cv_sizeof_long="${saved_ac_cv_sizeof_long}"; unset saved_ac_cv_sizeof_long 15808 fi 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 if test -n "${ac_cv_sizeof_kernel_long_t+set}"; then : 15825 saved_ac_cv_sizeof_kernel_long_t="${ac_cv_sizeof_kernel_long_t}"; unset ac_cv_sizeof_kernel_long_t 15826 fi 15827 if test -n "${ac_cv_m32_sizeof_kernel_long_t+set}"; then : 15828 ac_cv_sizeof_kernel_long_t="${ac_cv_m32_sizeof_kernel_long_t}" 15829 fi 15830 15831 15832 15833 15834 15835 15836 # The cast to long int works around a bug in the HP C Compiler 15837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 15838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15839 # This bug is HP SR number 8606223364. 15840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of kernel_long_t" >&5 15841 $as_echo_n "checking size of kernel_long_t... " >&6; } 15842 if ${ac_cv_sizeof_kernel_long_t+:} false; then : 15843 $as_echo_n "(cached) " >&6 15844 else 15845 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (kernel_long_t))" "ac_cv_sizeof_kernel_long_t" "#include \"$srcdir/kernel_types.h\" 15846 "; then : 15847 15848 else 15849 if test "$ac_cv_type_kernel_long_t" = yes; then 15850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15852 as_fn_error 77 "cannot compute sizeof (kernel_long_t) 15853 See \`config.log' for more details" "$LINENO" 5; } 15854 else 15855 ac_cv_sizeof_kernel_long_t=0 15856 fi 15857 fi 15858 15859 fi 15860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_kernel_long_t" >&5 15861 $as_echo "$ac_cv_sizeof_kernel_long_t" >&6; } 15862 15863 15864 15865 cat >>confdefs.h <<_ACEOF 15866 #define M32_SIZEOF_KERNEL_LONG_T $ac_cv_sizeof_kernel_long_t 15867 _ACEOF 15868 15869 15870 15871 15872 15873 15874 15875 15876 if test -n "${ac_cv_sizeof_kernel_long_t+set}"; then : 15877 ac_cv_m32_sizeof_kernel_long_t="${ac_cv_sizeof_kernel_long_t}" 15878 fi 15879 if test -n "${saved_ac_cv_sizeof_kernel_long_t+set}"; then : 15880 ac_cv_sizeof_kernel_long_t="${saved_ac_cv_sizeof_kernel_long_t}"; unset saved_ac_cv_sizeof_kernel_long_t 15881 fi 15882 15883 15884 15885 15886 15887 15888 15889 fi 15890 fi 15891 fi 15892 CFLAGS="$saved_CFLAGS" 15893 ;; 15894 15895 *) # case "$enable_mpers" 15896 st_cv_m32_runtime=no 15897 st_cv_m32_mpers=no 15898 ;; 15899 esac 15900 15901 test "$st_cv_m32_mpers" = yes || 15902 st_cv_m32_mpers=no 15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable m32 personality support" >&5 15904 $as_echo_n "checking whether to enable m32 personality support... " >&6; } 15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_mpers" >&5 15906 $as_echo "$st_cv_m32_mpers" >&6; } 15907 15908 case "$enable_mpers,$st_cv_m32_mpers" in 15909 yes,no|m32,no) 15910 as_fn_error $? "Cannot enable m32 personality support" "$LINENO" 5 15911 ;; 15912 esac 15913 ;; 15914 15915 *) # case "$arch" 15916 st_cv_m32_runtime=no 15917 st_cv_m32_mpers=no 15918 ;; 15919 esac 15920 15921 if test "$st_cv_m32_mpers$st_cv_m32_runtime" = yesyes; then 15922 HAVE_M32_RUNTIME_TRUE= 15923 HAVE_M32_RUNTIME_FALSE='#' 15924 else 15925 HAVE_M32_RUNTIME_TRUE='#' 15926 HAVE_M32_RUNTIME_FALSE= 15927 fi 15928 15929 if test "$st_cv_m32_mpers" = yes; then 15930 HAVE_M32_MPERS_TRUE= 15931 HAVE_M32_MPERS_FALSE='#' 15932 else 15933 HAVE_M32_MPERS_TRUE='#' 15934 HAVE_M32_MPERS_FALSE= 15935 fi 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 case "$arch" in 15960 x86_64) 15961 case "$enable_mpers" in 15962 yes|check|mx32) 15963 15964 15965 15966 15967 for ac_header in gnu/stubs-x32.h 15968 do : 15969 ac_fn_c_check_header_mongrel "$LINENO" "gnu/stubs-x32.h" "ac_cv_header_gnu_stubs_x32_h" "$ac_includes_default" 15970 if test "x$ac_cv_header_gnu_stubs_x32_h" = xyes; then : 15971 cat >>confdefs.h <<_ACEOF 15972 #define HAVE_GNU_STUBS_X32_H 1 15973 _ACEOF 15974 IFLAG= 15975 else 15976 mkdir -p gnu 15977 : > gnu/stubs-x32.h 15978 { $as_echo "$as_me:${as_lineno-$LINENO}: Created empty gnu/stubs-x32.h" >&5 15979 $as_echo "$as_me: Created empty gnu/stubs-x32.h" >&6;} 15980 IFLAG=-I. 15981 fi 15982 15983 done 15984 15985 15986 saved_CFLAGS="$CFLAGS" 15987 CFLAGS="$CFLAGS $cc_flags_mx32 $IFLAG" 15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mx32 personality compile support" >&5 15989 $as_echo_n "checking for mx32 personality compile support... " >&6; } 15990 if ${st_cv_mx32_cc+:} false; then : 15991 $as_echo_n "(cached) " >&6 15992 else 15993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15994 /* end confdefs.h. */ 15995 #include <stdint.h> 15996 int main(){return 0;} 15997 _ACEOF 15998 if ac_fn_c_try_compile "$LINENO"; then : 15999 st_cv_mx32_cc=yes 16000 else 16001 st_cv_mx32_cc=no 16002 fi 16003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16004 fi 16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_cc" >&5 16006 $as_echo "$st_cv_mx32_cc" >&6; } 16007 if test $st_cv_mx32_cc = yes; then 16008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mx32 personality runtime support" >&5 16009 $as_echo_n "checking for mx32 personality runtime support... " >&6; } 16010 if ${st_cv_mx32_runtime+:} false; then : 16011 $as_echo_n "(cached) " >&6 16012 else 16013 if test "$cross_compiling" = yes; then : 16014 st_cv_mx32_runtime=no 16015 else 16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16017 /* end confdefs.h. */ 16018 #include <stdint.h> 16019 int main(){return 0;} 16020 _ACEOF 16021 if ac_fn_c_try_run "$LINENO"; then : 16022 st_cv_mx32_runtime=yes 16023 else 16024 st_cv_mx32_runtime=no 16025 fi 16026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 16027 conftest.$ac_objext conftest.beam conftest.$ac_ext 16028 fi 16029 16030 fi 16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_runtime" >&5 16032 $as_echo "$st_cv_mx32_runtime" >&6; } 16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mpers.sh mx32 $cc_flags_mx32 works" >&5 16034 $as_echo_n "checking whether mpers.sh mx32 $cc_flags_mx32 works... " >&6; } 16035 if ${st_cv_mx32_mpers+:} false; then : 16036 $as_echo_n "(cached) " >&6 16037 else 16038 if READELF="$READELF" \ 16039 CC="$CC" CPP="$CPP" CPPFLAGS="$CPPFLAGS $IFLAG" \ 16040 $srcdir/mpers_test.sh mx32 $cc_flags_mx32; then 16041 st_cv_mx32_mpers=yes 16042 else 16043 st_cv_mx32_mpers=no 16044 fi 16045 fi 16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_mpers" >&5 16047 $as_echo "$st_cv_mx32_mpers" >&6; } 16048 if test $st_cv_mx32_mpers = yes; then 16049 16050 $as_echo "#define HAVE_MX32_MPERS 1" >>confdefs.h 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 if test -n "${ac_cv_type_struct_stat+set}"; then : 16061 saved_ac_cv_type_struct_stat="${ac_cv_type_struct_stat}"; unset ac_cv_type_struct_stat 16062 fi 16063 if test -n "${ac_cv_mx32_type_struct_stat+set}"; then : 16064 ac_cv_type_struct_stat="${ac_cv_mx32_type_struct_stat}" 16065 fi 16066 16067 16068 16069 16070 16071 16072 ac_fn_c_check_type "$LINENO" "struct stat" "ac_cv_type_struct_stat" "#include <sys/types.h> 16073 #include <asm/stat.h> 16074 " 16075 if test "x$ac_cv_type_struct_stat" = xyes; then : 16076 16077 $as_echo "#define HAVE_MX32_STRUCT_STAT 1" >>confdefs.h 16078 16079 fi 16080 16081 16082 16083 16084 16085 16086 16087 if test -n "${ac_cv_type_struct_stat+set}"; then : 16088 ac_cv_mx32_type_struct_stat="${ac_cv_type_struct_stat}" 16089 fi 16090 if test -n "${saved_ac_cv_type_struct_stat+set}"; then : 16091 ac_cv_type_struct_stat="${saved_ac_cv_type_struct_stat}"; unset saved_ac_cv_type_struct_stat 16092 fi 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 16107 saved_ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}"; unset ac_cv_member_struct_stat_st_mtime_nsec 16108 fi 16109 if test -n "${ac_cv_mx32_member_struct_stat_st_mtime_nsec+set}"; then : 16110 ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_mx32_member_struct_stat_st_mtime_nsec}" 16111 fi 16112 16113 16114 16115 16116 16117 16118 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h> 16119 #include <asm/stat.h> 16120 " 16121 if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 16122 16123 $as_echo "#define HAVE_MX32_STRUCT_STAT_ST_MTIME_NSEC 1" >>confdefs.h 16124 16125 fi 16126 16127 16128 16129 16130 16131 16132 16133 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 16134 ac_cv_mx32_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}" 16135 fi 16136 if test -n "${saved_ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 16137 ac_cv_member_struct_stat_st_mtime_nsec="${saved_ac_cv_member_struct_stat_st_mtime_nsec}"; unset saved_ac_cv_member_struct_stat_st_mtime_nsec 16138 fi 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 if test -n "${ac_cv_type_struct_stat64+set}"; then : 16156 saved_ac_cv_type_struct_stat64="${ac_cv_type_struct_stat64}"; unset ac_cv_type_struct_stat64 16157 fi 16158 if test -n "${ac_cv_mx32_type_struct_stat64+set}"; then : 16159 ac_cv_type_struct_stat64="${ac_cv_mx32_type_struct_stat64}" 16160 fi 16161 16162 16163 16164 16165 16166 16167 ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 16168 #include <asm/stat.h> 16169 " 16170 if test "x$ac_cv_type_struct_stat64" = xyes; then : 16171 16172 $as_echo "#define HAVE_MX32_STRUCT_STAT64 1" >>confdefs.h 16173 16174 fi 16175 16176 16177 16178 16179 16180 16181 16182 if test -n "${ac_cv_type_struct_stat64+set}"; then : 16183 ac_cv_mx32_type_struct_stat64="${ac_cv_type_struct_stat64}" 16184 fi 16185 if test -n "${saved_ac_cv_type_struct_stat64+set}"; then : 16186 ac_cv_type_struct_stat64="${saved_ac_cv_type_struct_stat64}"; unset saved_ac_cv_type_struct_stat64 16187 fi 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 16202 saved_ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}"; unset ac_cv_member_struct_stat64_st_mtime_nsec 16203 fi 16204 if test -n "${ac_cv_mx32_member_struct_stat64_st_mtime_nsec+set}"; then : 16205 ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_mx32_member_struct_stat64_st_mtime_nsec}" 16206 fi 16207 16208 16209 16210 16211 16212 16213 ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h> 16214 #include <asm/stat.h> 16215 " 16216 if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 16217 16218 $as_echo "#define HAVE_MX32_STRUCT_STAT64_ST_MTIME_NSEC 1" >>confdefs.h 16219 16220 fi 16221 16222 16223 16224 16225 16226 16227 16228 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 16229 ac_cv_mx32_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}" 16230 fi 16231 if test -n "${saved_ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 16232 ac_cv_member_struct_stat64_st_mtime_nsec="${saved_ac_cv_member_struct_stat64_st_mtime_nsec}"; unset saved_ac_cv_member_struct_stat64_st_mtime_nsec 16233 fi 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 if test $st_cv_mx32_runtime = yes; then 16244 16245 16246 16247 16248 16249 16250 16251 if test -n "${ac_cv_sizeof_long+set}"; then : 16252 saved_ac_cv_sizeof_long="${ac_cv_sizeof_long}"; unset ac_cv_sizeof_long 16253 fi 16254 if test -n "${ac_cv_mx32_sizeof_long+set}"; then : 16255 ac_cv_sizeof_long="${ac_cv_mx32_sizeof_long}" 16256 fi 16257 16258 16259 16260 16261 16262 16263 # The cast to long int works around a bug in the HP C Compiler 16264 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 16265 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16266 # This bug is HP SR number 8606223364. 16267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 16268 $as_echo_n "checking size of long... " >&6; } 16269 if ${ac_cv_sizeof_long+:} false; then : 16270 $as_echo_n "(cached) " >&6 16271 else 16272 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 16273 16274 else 16275 if test "$ac_cv_type_long" = yes; then 16276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16278 as_fn_error 77 "cannot compute sizeof (long) 16279 See \`config.log' for more details" "$LINENO" 5; } 16280 else 16281 ac_cv_sizeof_long=0 16282 fi 16283 fi 16284 16285 fi 16286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 16287 $as_echo "$ac_cv_sizeof_long" >&6; } 16288 16289 16290 16291 cat >>confdefs.h <<_ACEOF 16292 #define MX32_SIZEOF_LONG $ac_cv_sizeof_long 16293 _ACEOF 16294 16295 16296 16297 16298 16299 16300 16301 16302 if test -n "${ac_cv_sizeof_long+set}"; then : 16303 ac_cv_mx32_sizeof_long="${ac_cv_sizeof_long}" 16304 fi 16305 if test -n "${saved_ac_cv_sizeof_long+set}"; then : 16306 ac_cv_sizeof_long="${saved_ac_cv_sizeof_long}"; unset saved_ac_cv_sizeof_long 16307 fi 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 if test -n "${ac_cv_sizeof_kernel_long_t+set}"; then : 16324 saved_ac_cv_sizeof_kernel_long_t="${ac_cv_sizeof_kernel_long_t}"; unset ac_cv_sizeof_kernel_long_t 16325 fi 16326 if test -n "${ac_cv_mx32_sizeof_kernel_long_t+set}"; then : 16327 ac_cv_sizeof_kernel_long_t="${ac_cv_mx32_sizeof_kernel_long_t}" 16328 fi 16329 16330 16331 16332 16333 16334 16335 # The cast to long int works around a bug in the HP C Compiler 16336 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 16337 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 16338 # This bug is HP SR number 8606223364. 16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of kernel_long_t" >&5 16340 $as_echo_n "checking size of kernel_long_t... " >&6; } 16341 if ${ac_cv_sizeof_kernel_long_t+:} false; then : 16342 $as_echo_n "(cached) " >&6 16343 else 16344 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (kernel_long_t))" "ac_cv_sizeof_kernel_long_t" "#include \"$srcdir/kernel_types.h\" 16345 "; then : 16346 16347 else 16348 if test "$ac_cv_type_kernel_long_t" = yes; then 16349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16351 as_fn_error 77 "cannot compute sizeof (kernel_long_t) 16352 See \`config.log' for more details" "$LINENO" 5; } 16353 else 16354 ac_cv_sizeof_kernel_long_t=0 16355 fi 16356 fi 16357 16358 fi 16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_kernel_long_t" >&5 16360 $as_echo "$ac_cv_sizeof_kernel_long_t" >&6; } 16361 16362 16363 16364 cat >>confdefs.h <<_ACEOF 16365 #define MX32_SIZEOF_KERNEL_LONG_T $ac_cv_sizeof_kernel_long_t 16366 _ACEOF 16367 16368 16369 16370 16371 16372 16373 16374 16375 if test -n "${ac_cv_sizeof_kernel_long_t+set}"; then : 16376 ac_cv_mx32_sizeof_kernel_long_t="${ac_cv_sizeof_kernel_long_t}" 16377 fi 16378 if test -n "${saved_ac_cv_sizeof_kernel_long_t+set}"; then : 16379 ac_cv_sizeof_kernel_long_t="${saved_ac_cv_sizeof_kernel_long_t}"; unset saved_ac_cv_sizeof_kernel_long_t 16380 fi 16381 16382 16383 16384 16385 16386 16387 16388 fi 16389 fi 16390 fi 16391 CFLAGS="$saved_CFLAGS" 16392 ;; 16393 16394 *) # case "$enable_mpers" 16395 st_cv_mx32_runtime=no 16396 st_cv_mx32_mpers=no 16397 ;; 16398 esac 16399 16400 test "$st_cv_mx32_mpers" = yes || 16401 st_cv_mx32_mpers=no 16402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable mx32 personality support" >&5 16403 $as_echo_n "checking whether to enable mx32 personality support... " >&6; } 16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_mpers" >&5 16405 $as_echo "$st_cv_mx32_mpers" >&6; } 16406 16407 case "$enable_mpers,$st_cv_mx32_mpers" in 16408 yes,no|mx32,no) 16409 as_fn_error $? "Cannot enable mx32 personality support" "$LINENO" 5 16410 ;; 16411 esac 16412 ;; 16413 16414 *) # case "$arch" 16415 st_cv_mx32_runtime=no 16416 st_cv_mx32_mpers=no 16417 ;; 16418 esac 16419 16420 if test "$st_cv_mx32_mpers$st_cv_mx32_runtime" = yesyes; then 16421 HAVE_MX32_RUNTIME_TRUE= 16422 HAVE_MX32_RUNTIME_FALSE='#' 16423 else 16424 HAVE_MX32_RUNTIME_TRUE='#' 16425 HAVE_MX32_RUNTIME_FALSE= 16426 fi 16427 16428 if test "$st_cv_mx32_mpers" = yes; then 16429 HAVE_MX32_MPERS_TRUE= 16430 HAVE_MX32_MPERS_FALSE='#' 16431 else 16432 HAVE_MX32_MPERS_TRUE='#' 16433 HAVE_MX32_MPERS_FALSE= 16434 fi 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 # Check whether --enable-valgrind was given. 16453 if test "${enable_valgrind+set}" = set; then : 16454 enableval=$enable_valgrind; enable_valgrind=$enableval 16455 else 16456 enable_valgrind= 16457 fi 16458 16459 16460 if test "$enable_valgrind" != "no"; then : 16461 16462 # Check for Valgrind. 16463 # Extract the first word of "valgrind", so it can be a program name with args. 16464 set dummy valgrind; ac_word=$2 16465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16466 $as_echo_n "checking for $ac_word... " >&6; } 16467 if ${ac_cv_prog_VALGRIND+:} false; then : 16468 $as_echo_n "(cached) " >&6 16469 else 16470 if test -n "$VALGRIND"; then 16471 ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test. 16472 else 16473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16474 for as_dir in $PATH 16475 do 16476 IFS=$as_save_IFS 16477 test -z "$as_dir" && as_dir=. 16478 for ac_exec_ext in '' $ac_executable_extensions; do 16479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16480 ac_cv_prog_VALGRIND="valgrind" 16481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16482 break 2 16483 fi 16484 done 16485 done 16486 IFS=$as_save_IFS 16487 16488 fi 16489 fi 16490 VALGRIND=$ac_cv_prog_VALGRIND 16491 if test -n "$VALGRIND"; then 16492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5 16493 $as_echo "$VALGRIND" >&6; } 16494 else 16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16496 $as_echo "no" >&6; } 16497 fi 16498 16499 16500 if test "$VALGRIND" = ""; then : 16501 16502 if test "$enable_valgrind" = "yes"; then : 16503 16504 as_fn_error $? "Could not find valgrind; either install it or reconfigure with --disable-valgrind" "$LINENO" 5 16505 16506 else 16507 16508 enable_valgrind=no 16509 16510 fi 16511 16512 else 16513 16514 enable_valgrind=yes 16515 16516 fi 16517 16518 fi 16519 16520 if test "$enable_valgrind" = "yes"; then 16521 VALGRIND_ENABLED_TRUE= 16522 VALGRIND_ENABLED_FALSE='#' 16523 else 16524 VALGRIND_ENABLED_TRUE='#' 16525 VALGRIND_ENABLED_FALSE= 16526 fi 16527 16528 VALGRIND_ENABLED=$enable_valgrind 16529 16530 16531 16532 # Check for Valgrind tools we care about. 16533 valgrind_enabled_tools= 16534 16535 # Check whether --enable-valgrind-memcheck was given. 16536 if test "${enable_valgrind_memcheck+set}" = set; then : 16537 enableval=$enable_valgrind_memcheck; enable_valgrind_memcheck=$enableval 16538 else 16539 enable_valgrind_memcheck= 16540 fi 16541 16542 if test "$enable_valgrind" = "no"; then : 16543 16544 enable_valgrind_memcheck=no 16545 elif test "$enable_valgrind_memcheck" != "no"; then : 16546 16547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool memcheck" >&5 16548 $as_echo_n "checking for Valgrind tool memcheck... " >&6; } 16549 if ${ax_cv_valgrind_tool_memcheck+:} false; then : 16550 $as_echo_n "(cached) " >&6 16551 else 16552 16553 ax_cv_valgrind_tool_memcheck=no 16554 16555 if `$VALGRIND --tool=memcheck --help >/dev/null 2>&1`; then : 16556 16557 ax_cv_valgrind_tool_memcheck=yes 16558 16559 fi 16560 16561 fi 16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_memcheck" >&5 16563 $as_echo "$ax_cv_valgrind_tool_memcheck" >&6; } 16564 if test "$ax_cv_valgrind_tool_memcheck" = "no"; then : 16565 16566 if test "$enable_valgrind_memcheck" = "yes"; then : 16567 16568 as_fn_error $? "Valgrind does not support memcheck; reconfigure with --disable-valgrind-memcheck" "$LINENO" 5 16569 16570 else 16571 16572 enable_valgrind_memcheck=no 16573 16574 fi 16575 16576 else 16577 16578 enable_valgrind_memcheck=yes 16579 16580 fi 16581 16582 fi 16583 if test "$enable_valgrind_memcheck" = "yes"; then : 16584 16585 valgrind_enabled_tools="$valgrind_enabled_tools memcheck" 16586 16587 fi 16588 ENABLE_VALGRIND_memcheck=$enable_valgrind_memcheck 16589 16590 16591 16592 # Check whether --enable-valgrind-helgrind was given. 16593 if test "${enable_valgrind_helgrind+set}" = set; then : 16594 enableval=$enable_valgrind_helgrind; enable_valgrind_helgrind=$enableval 16595 else 16596 enable_valgrind_helgrind= 16597 fi 16598 16599 if test "$enable_valgrind" = "no"; then : 16600 16601 enable_valgrind_helgrind=no 16602 elif test "$enable_valgrind_helgrind" != "no"; then : 16603 16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool helgrind" >&5 16605 $as_echo_n "checking for Valgrind tool helgrind... " >&6; } 16606 if ${ax_cv_valgrind_tool_helgrind+:} false; then : 16607 $as_echo_n "(cached) " >&6 16608 else 16609 16610 ax_cv_valgrind_tool_helgrind=no 16611 16612 if `$VALGRIND --tool=helgrind --help >/dev/null 2>&1`; then : 16613 16614 ax_cv_valgrind_tool_helgrind=yes 16615 16616 fi 16617 16618 fi 16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_helgrind" >&5 16620 $as_echo "$ax_cv_valgrind_tool_helgrind" >&6; } 16621 if test "$ax_cv_valgrind_tool_helgrind" = "no"; then : 16622 16623 if test "$enable_valgrind_helgrind" = "yes"; then : 16624 16625 as_fn_error $? "Valgrind does not support helgrind; reconfigure with --disable-valgrind-helgrind" "$LINENO" 5 16626 16627 else 16628 16629 enable_valgrind_helgrind=no 16630 16631 fi 16632 16633 else 16634 16635 enable_valgrind_helgrind=yes 16636 16637 fi 16638 16639 fi 16640 if test "$enable_valgrind_helgrind" = "yes"; then : 16641 16642 valgrind_enabled_tools="$valgrind_enabled_tools helgrind" 16643 16644 fi 16645 ENABLE_VALGRIND_helgrind=$enable_valgrind_helgrind 16646 16647 16648 16649 # Check whether --enable-valgrind-drd was given. 16650 if test "${enable_valgrind_drd+set}" = set; then : 16651 enableval=$enable_valgrind_drd; enable_valgrind_drd=$enableval 16652 else 16653 enable_valgrind_drd= 16654 fi 16655 16656 if test "$enable_valgrind" = "no"; then : 16657 16658 enable_valgrind_drd=no 16659 elif test "$enable_valgrind_drd" != "no"; then : 16660 16661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool drd" >&5 16662 $as_echo_n "checking for Valgrind tool drd... " >&6; } 16663 if ${ax_cv_valgrind_tool_drd+:} false; then : 16664 $as_echo_n "(cached) " >&6 16665 else 16666 16667 ax_cv_valgrind_tool_drd=no 16668 16669 if `$VALGRIND --tool=drd --help >/dev/null 2>&1`; then : 16670 16671 ax_cv_valgrind_tool_drd=yes 16672 16673 fi 16674 16675 fi 16676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_drd" >&5 16677 $as_echo "$ax_cv_valgrind_tool_drd" >&6; } 16678 if test "$ax_cv_valgrind_tool_drd" = "no"; then : 16679 16680 if test "$enable_valgrind_drd" = "yes"; then : 16681 16682 as_fn_error $? "Valgrind does not support drd; reconfigure with --disable-valgrind-drd" "$LINENO" 5 16683 16684 else 16685 16686 enable_valgrind_drd=no 16687 16688 fi 16689 16690 else 16691 16692 enable_valgrind_drd=yes 16693 16694 fi 16695 16696 fi 16697 if test "$enable_valgrind_drd" = "yes"; then : 16698 16699 valgrind_enabled_tools="$valgrind_enabled_tools drd" 16700 16701 fi 16702 ENABLE_VALGRIND_drd=$enable_valgrind_drd 16703 16704 16705 16706 # Check whether --enable-valgrind-sgcheck was given. 16707 if test "${enable_valgrind_sgcheck+set}" = set; then : 16708 enableval=$enable_valgrind_sgcheck; enable_valgrind_sgcheck=$enableval 16709 else 16710 enable_valgrind_sgcheck= 16711 fi 16712 16713 if test "$enable_valgrind" = "no"; then : 16714 16715 enable_valgrind_sgcheck=no 16716 elif test "$enable_valgrind_sgcheck" = "yes"; then : 16717 16718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool sgcheck" >&5 16719 $as_echo_n "checking for Valgrind tool sgcheck... " >&6; } 16720 if ${ax_cv_valgrind_tool_sgcheck+:} false; then : 16721 $as_echo_n "(cached) " >&6 16722 else 16723 16724 ax_cv_valgrind_tool_sgcheck=no 16725 16726 if `$VALGRIND --tool=exp-sgcheck --help >/dev/null 2>&1`; then : 16727 16728 ax_cv_valgrind_tool_sgcheck=yes 16729 16730 fi 16731 16732 fi 16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_sgcheck" >&5 16734 $as_echo "$ax_cv_valgrind_tool_sgcheck" >&6; } 16735 if test "$ax_cv_valgrind_tool_sgcheck" = "no"; then : 16736 16737 if test "$enable_valgrind_sgcheck" = "yes"; then : 16738 16739 as_fn_error $? "Valgrind does not support sgcheck; reconfigure with --disable-valgrind-sgcheck" "$LINENO" 5 16740 16741 else 16742 16743 enable_valgrind_sgcheck=no 16744 16745 fi 16746 16747 else 16748 16749 enable_valgrind_sgcheck=yes 16750 16751 fi 16752 16753 fi 16754 if test "$enable_valgrind_sgcheck" = "yes"; then : 16755 16756 valgrind_enabled_tools="$valgrind_enabled_tools sgcheck" 16757 16758 fi 16759 ENABLE_VALGRIND_sgcheck=$enable_valgrind_sgcheck 16760 16761 16762 16763 valgrind_tools="memcheck helgrind drd sgcheck" 16764 16765 valgrind_enabled_tools=$valgrind_enabled_tools 16766 16767 16768 VALGRIND_CHECK_RULES=' 16769 # Valgrind check 16770 # 16771 # Optional: 16772 # - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions 16773 # files to load. (Default: empty) 16774 # - VALGRIND_FLAGS: General flags to pass to all Valgrind tools. 16775 # (Default: --num-callers=30) 16776 # - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of: 16777 # memcheck, helgrind, drd, sgcheck). (Default: various) 16778 16779 # Optional variables 16780 VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES)) 16781 VALGRIND_FLAGS ?= --num-callers=30 16782 VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no 16783 VALGRIND_helgrind_FLAGS ?= --history-level=approx 16784 VALGRIND_drd_FLAGS ?= 16785 VALGRIND_sgcheck_FLAGS ?= 16786 16787 # Internal use 16788 valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools))) 16789 16790 valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS) 16791 valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS) 16792 valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS) 16793 valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS) 16794 16795 valgrind_quiet = $(valgrind_quiet_$(V)) 16796 valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY)) 16797 valgrind_quiet_0 = --quiet 16798 valgrind_v_use = $(valgrind_v_use_$(V)) 16799 valgrind_v_use_ = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY)) 16800 valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%,%,$''@):; 16801 16802 # Support running with and without libtool. 16803 ifneq ($(LIBTOOL),) 16804 valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute 16805 else 16806 valgrind_lt = 16807 endif 16808 16809 # Use recursive makes in order to ignore errors during check 16810 check-valgrind: 16811 ifeq ($(VALGRIND_ENABLED),yes) 16812 $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \ 16813 $(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool)) 16814 else 16815 @echo "Need to reconfigure with --enable-valgrind" 16816 endif 16817 16818 # Valgrind running 16819 VALGRIND_TESTS_ENVIRONMENT = \ 16820 $(TESTS_ENVIRONMENT) \ 16821 env VALGRIND=$(VALGRIND) \ 16822 G_SLICE=always-malloc,debug-blocks \ 16823 G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly 16824 16825 VALGRIND_LOG_COMPILER = \ 16826 $(valgrind_lt) \ 16827 $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS) 16828 16829 define valgrind_tool_rule 16830 check-valgrind-$(1): $$(BUILT_SOURCES) 16831 ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes) 16832 $$(valgrind_v_use)$$(MAKE) $$(AM_MAKEFLAGS) check-am \ 16833 TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \ 16834 LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \ 16835 LOG_FLAGS="$$(valgrind_$(1)_flags)" \ 16836 TEST_SUITE_LOG=test-suite-$(1).log 16837 else ifeq ($$(VALGRIND_ENABLED),yes) 16838 @echo "Need to reconfigure with --enable-valgrind-$(1)" 16839 else 16840 @echo "Need to reconfigure with --enable-valgrind" 16841 endif 16842 endef 16843 16844 $(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool)))) 16845 16846 A''M_DISTCHECK_CONFIGURE_FLAGS ?= 16847 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind 16848 16849 MOSTLYCLEANFILES ?= 16850 MOSTLYCLEANFILES += $(valgrind_log_files) 16851 16852 .PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools)) 16853 ' 16854 16855 16856 16857 16858 16859 ac_config_files="$ac_config_files Makefile tests/Makefile tests-m32/Makefile tests-mx32/Makefile strace.1 strace-log-merge.1 strace.spec debian/changelog" 16860 16861 cat >confcache <<\_ACEOF 16862 # This file is a shell script that caches the results of configure 16863 # tests run on this system so they can be shared between configure 16864 # scripts and configure runs, see configure's option --config-cache. 16865 # It is not useful on other systems. If it contains results you don't 16866 # want to keep, you may remove or edit it. 16867 # 16868 # config.status only pays attention to the cache file if you give it 16869 # the --recheck option to rerun configure. 16870 # 16871 # `ac_cv_env_foo' variables (set or unset) will be overridden when 16872 # loading this file, other *unset* `ac_cv_foo' will be assigned the 16873 # following values. 16874 16875 _ACEOF 16876 16877 # The following way of writing the cache mishandles newlines in values, 16878 # but we know of no workaround that is simple, portable, and efficient. 16879 # So, we kill variables containing newlines. 16880 # Ultrix sh set writes to stderr and can't be redirected directly, 16881 # and sets the high bit in the cache file unless we assign to the vars. 16882 ( 16883 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 16884 eval ac_val=\$$ac_var 16885 case $ac_val in #( 16886 *${as_nl}*) 16887 case $ac_var in #( 16888 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16889 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16890 esac 16891 case $ac_var in #( 16892 _ | IFS | as_nl) ;; #( 16893 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16894 *) { eval $ac_var=; unset $ac_var;} ;; 16895 esac ;; 16896 esac 16897 done 16898 16899 (set) 2>&1 | 16900 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16901 *${as_nl}ac_space=\ *) 16902 # `set' does not quote correctly, so add quotes: double-quote 16903 # substitution turns \\\\ into \\, and sed turns \\ into \. 16904 sed -n \ 16905 "s/'/'\\\\''/g; 16906 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 16907 ;; #( 16908 *) 16909 # `set' quotes correctly as required by POSIX, so do not add quotes. 16910 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16911 ;; 16912 esac | 16913 sort 16914 ) | 16915 sed ' 16916 /^ac_cv_env_/b end 16917 t clear 16918 :clear 16919 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 16920 t end 16921 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16922 :end' >>confcache 16923 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16924 if test -w "$cache_file"; then 16925 if test "x$cache_file" != "x/dev/null"; then 16926 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16927 $as_echo "$as_me: updating cache $cache_file" >&6;} 16928 if test ! -f "$cache_file" || test -h "$cache_file"; then 16929 cat confcache >"$cache_file" 16930 else 16931 case $cache_file in #( 16932 */* | ?:*) 16933 mv -f confcache "$cache_file"$$ && 16934 mv -f "$cache_file"$$ "$cache_file" ;; #( 16935 *) 16936 mv -f confcache "$cache_file" ;; 16937 esac 16938 fi 16939 fi 16940 else 16941 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16942 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16943 fi 16944 fi 16945 rm -f confcache 16946 16947 test "x$prefix" = xNONE && prefix=$ac_default_prefix 16948 # Let make expand exec_prefix. 16949 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 16950 16951 DEFS=-DHAVE_CONFIG_H 16952 16953 ac_libobjs= 16954 ac_ltlibobjs= 16955 U= 16956 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16957 # 1. Remove the extension, and $U if already installed. 16958 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16959 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16960 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16961 # will be set to the directory where LIBOBJS objects are built. 16962 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 16963 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16964 done 16965 LIBOBJS=$ac_libobjs 16966 16967 LTLIBOBJS=$ac_ltlibobjs 16968 16969 16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 16971 $as_echo_n "checking that generated files are newer than configure... " >&6; } 16972 if test -n "$am_sleep_pid"; then 16973 # Hide warnings about reused PIDs. 16974 wait $am_sleep_pid 2>/dev/null 16975 fi 16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 16977 $as_echo "done" >&6; } 16978 if test -n "$EXEEXT"; then 16979 am__EXEEXT_TRUE= 16980 am__EXEEXT_FALSE='#' 16981 else 16982 am__EXEEXT_TRUE='#' 16983 am__EXEEXT_FALSE= 16984 fi 16985 16986 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 16987 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 16988 Usually this means the macro was only invoked conditionally." "$LINENO" 5 16989 fi 16990 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16991 as_fn_error $? "conditional \"AMDEP\" was never defined. 16992 Usually this means the macro was only invoked conditionally." "$LINENO" 5 16993 fi 16994 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16995 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16996 Usually this means the macro was only invoked conditionally." "$LINENO" 5 16997 fi 16998 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16999 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 17000 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17001 fi 17002 if test -z "${CODE_COVERAGE_ENABLED_TRUE}" && test -z "${CODE_COVERAGE_ENABLED_FALSE}"; then 17003 as_fn_error $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined. 17004 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17005 fi 17006 17007 if test -z "${ENABLE_STACKTRACE_TRUE}" && test -z "${ENABLE_STACKTRACE_FALSE}"; then 17008 as_fn_error $? "conditional \"ENABLE_STACKTRACE\" was never defined. 17009 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17010 fi 17011 if test -z "${USE_LIBDW_TRUE}" && test -z "${USE_LIBDW_FALSE}"; then 17012 as_fn_error $? "conditional \"USE_LIBDW\" was never defined. 17013 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17014 fi 17015 if test -z "${USE_LIBUNWIND_TRUE}" && test -z "${USE_LIBUNWIND_FALSE}"; then 17016 as_fn_error $? "conditional \"USE_LIBUNWIND\" was never defined. 17017 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17018 fi 17019 if test -z "${USE_DEMANGLE_TRUE}" && test -z "${USE_DEMANGLE_FALSE}"; then 17020 as_fn_error $? "conditional \"USE_DEMANGLE\" was never defined. 17021 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17022 fi 17023 if test -z "${HAVE_M32_RUNTIME_TRUE}" && test -z "${HAVE_M32_RUNTIME_FALSE}"; then 17024 as_fn_error $? "conditional \"HAVE_M32_RUNTIME\" was never defined. 17025 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17026 fi 17027 if test -z "${HAVE_M32_MPERS_TRUE}" && test -z "${HAVE_M32_MPERS_FALSE}"; then 17028 as_fn_error $? "conditional \"HAVE_M32_MPERS\" was never defined. 17029 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17030 fi 17031 if test -z "${HAVE_MX32_RUNTIME_TRUE}" && test -z "${HAVE_MX32_RUNTIME_FALSE}"; then 17032 as_fn_error $? "conditional \"HAVE_MX32_RUNTIME\" was never defined. 17033 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17034 fi 17035 if test -z "${HAVE_MX32_MPERS_TRUE}" && test -z "${HAVE_MX32_MPERS_FALSE}"; then 17036 as_fn_error $? "conditional \"HAVE_MX32_MPERS\" was never defined. 17037 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17038 fi 17039 if test -z "${VALGRIND_ENABLED_TRUE}" && test -z "${VALGRIND_ENABLED_FALSE}"; then 17040 as_fn_error $? "conditional \"VALGRIND_ENABLED\" was never defined. 17041 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17042 fi 17043 17044 : "${CONFIG_STATUS=./config.status}" 17045 ac_write_fail=0 17046 ac_clean_files_save=$ac_clean_files 17047 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17048 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 17049 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 17050 as_write_fail=0 17051 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 17052 #! $SHELL 17053 # Generated by $as_me. 17054 # Run this file to recreate the current configuration. 17055 # Compiler output produced by configure, useful for debugging 17056 # configure, is in config.log if it exists. 17057 17058 debug=false 17059 ac_cs_recheck=false 17060 ac_cs_silent=false 17061 17062 SHELL=\${CONFIG_SHELL-$SHELL} 17063 export SHELL 17064 _ASEOF 17065 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 17066 ## -------------------- ## 17067 ## M4sh Initialization. ## 17068 ## -------------------- ## 17069 17070 # Be more Bourne compatible 17071 DUALCASE=1; export DUALCASE # for MKS sh 17072 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 17073 emulate sh 17074 NULLCMD=: 17075 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17076 # is contrary to our usage. Disable this feature. 17077 alias -g '${1+"$@"}'='"$@"' 17078 setopt NO_GLOB_SUBST 17079 else 17080 case `(set -o) 2>/dev/null` in #( 17081 *posix*) : 17082 set -o posix ;; #( 17083 *) : 17084 ;; 17085 esac 17086 fi 17087 17088 17089 as_nl=' 17090 ' 17091 export as_nl 17092 # Printing a long string crashes Solaris 7 /usr/bin/printf. 17093 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 17094 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 17095 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 17096 # Prefer a ksh shell builtin over an external printf program on Solaris, 17097 # but without wasting forks for bash or zsh. 17098 if test -z "$BASH_VERSION$ZSH_VERSION" \ 17099 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 17100 as_echo='print -r --' 17101 as_echo_n='print -rn --' 17102 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 17103 as_echo='printf %s\n' 17104 as_echo_n='printf %s' 17105 else 17106 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 17107 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 17108 as_echo_n='/usr/ucb/echo -n' 17109 else 17110 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 17111 as_echo_n_body='eval 17112 arg=$1; 17113 case $arg in #( 17114 *"$as_nl"*) 17115 expr "X$arg" : "X\\(.*\\)$as_nl"; 17116 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 17117 esac; 17118 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 17119 ' 17120 export as_echo_n_body 17121 as_echo_n='sh -c $as_echo_n_body as_echo' 17122 fi 17123 export as_echo_body 17124 as_echo='sh -c $as_echo_body as_echo' 17125 fi 17126 17127 # The user is always right. 17128 if test "${PATH_SEPARATOR+set}" != set; then 17129 PATH_SEPARATOR=: 17130 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 17131 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 17132 PATH_SEPARATOR=';' 17133 } 17134 fi 17135 17136 17137 # IFS 17138 # We need space, tab and new line, in precisely that order. Quoting is 17139 # there to prevent editors from complaining about space-tab. 17140 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 17141 # splitting by setting IFS to empty value.) 17142 IFS=" "" $as_nl" 17143 17144 # Find who we are. Look in the path if we contain no directory separator. 17145 as_myself= 17146 case $0 in #(( 17147 *[\\/]* ) as_myself=$0 ;; 17148 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17149 for as_dir in $PATH 17150 do 17151 IFS=$as_save_IFS 17152 test -z "$as_dir" && as_dir=. 17153 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 17154 done 17155 IFS=$as_save_IFS 17156 17157 ;; 17158 esac 17159 # We did not find ourselves, most probably we were run as `sh COMMAND' 17160 # in which case we are not to be found in the path. 17161 if test "x$as_myself" = x; then 17162 as_myself=$0 17163 fi 17164 if test ! -f "$as_myself"; then 17165 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 17166 exit 1 17167 fi 17168 17169 # Unset variables that we do not need and which cause bugs (e.g. in 17170 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 17171 # suppresses any "Segmentation fault" message there. '((' could 17172 # trigger a bug in pdksh 5.2.14. 17173 for as_var in BASH_ENV ENV MAIL MAILPATH 17174 do eval test x\${$as_var+set} = xset \ 17175 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 17176 done 17177 PS1='$ ' 17178 PS2='> ' 17179 PS4='+ ' 17180 17181 # NLS nuisances. 17182 LC_ALL=C 17183 export LC_ALL 17184 LANGUAGE=C 17185 export LANGUAGE 17186 17187 # CDPATH. 17188 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17189 17190 17191 # as_fn_error STATUS ERROR [LINENO LOG_FD] 17192 # ---------------------------------------- 17193 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 17194 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 17195 # script with STATUS, using 1 if that was 0. 17196 as_fn_error () 17197 { 17198 as_status=$1; test $as_status -eq 0 && as_status=1 17199 if test "$4"; then 17200 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17201 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 17202 fi 17203 $as_echo "$as_me: error: $2" >&2 17204 as_fn_exit $as_status 17205 } # as_fn_error 17206 17207 17208 # as_fn_set_status STATUS 17209 # ----------------------- 17210 # Set $? to STATUS, without forking. 17211 as_fn_set_status () 17212 { 17213 return $1 17214 } # as_fn_set_status 17215 17216 # as_fn_exit STATUS 17217 # ----------------- 17218 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 17219 as_fn_exit () 17220 { 17221 set +e 17222 as_fn_set_status $1 17223 exit $1 17224 } # as_fn_exit 17225 17226 # as_fn_unset VAR 17227 # --------------- 17228 # Portably unset VAR. 17229 as_fn_unset () 17230 { 17231 { eval $1=; unset $1;} 17232 } 17233 as_unset=as_fn_unset 17234 # as_fn_append VAR VALUE 17235 # ---------------------- 17236 # Append the text in VALUE to the end of the definition contained in VAR. Take 17237 # advantage of any shell optimizations that allow amortized linear growth over 17238 # repeated appends, instead of the typical quadratic growth present in naive 17239 # implementations. 17240 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 17241 eval 'as_fn_append () 17242 { 17243 eval $1+=\$2 17244 }' 17245 else 17246 as_fn_append () 17247 { 17248 eval $1=\$$1\$2 17249 } 17250 fi # as_fn_append 17251 17252 # as_fn_arith ARG... 17253 # ------------------ 17254 # Perform arithmetic evaluation on the ARGs, and store the result in the 17255 # global $as_val. Take advantage of shells that can avoid forks. The arguments 17256 # must be portable across $(()) and expr. 17257 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 17258 eval 'as_fn_arith () 17259 { 17260 as_val=$(( $* )) 17261 }' 17262 else 17263 as_fn_arith () 17264 { 17265 as_val=`expr "$@" || test $? -eq 1` 17266 } 17267 fi # as_fn_arith 17268 17269 17270 if expr a : '\(a\)' >/dev/null 2>&1 && 17271 test "X`expr 00001 : '.*\(...\)'`" = X001; then 17272 as_expr=expr 17273 else 17274 as_expr=false 17275 fi 17276 17277 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 17278 as_basename=basename 17279 else 17280 as_basename=false 17281 fi 17282 17283 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 17284 as_dirname=dirname 17285 else 17286 as_dirname=false 17287 fi 17288 17289 as_me=`$as_basename -- "$0" || 17290 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 17291 X"$0" : 'X\(//\)$' \| \ 17292 X"$0" : 'X\(/\)' \| . 2>/dev/null || 17293 $as_echo X/"$0" | 17294 sed '/^.*\/\([^/][^/]*\)\/*$/{ 17295 s//\1/ 17296 q 17297 } 17298 /^X\/\(\/\/\)$/{ 17299 s//\1/ 17300 q 17301 } 17302 /^X\/\(\/\).*/{ 17303 s//\1/ 17304 q 17305 } 17306 s/.*/./; q'` 17307 17308 # Avoid depending upon Character Ranges. 17309 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 17310 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 17311 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 17312 as_cr_digits='0123456789' 17313 as_cr_alnum=$as_cr_Letters$as_cr_digits 17314 17315 ECHO_C= ECHO_N= ECHO_T= 17316 case `echo -n x` in #((((( 17317 -n*) 17318 case `echo 'xy\c'` in 17319 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 17320 xy) ECHO_C='\c';; 17321 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 17322 ECHO_T=' ';; 17323 esac;; 17324 *) 17325 ECHO_N='-n';; 17326 esac 17327 17328 rm -f conf$$ conf$$.exe conf$$.file 17329 if test -d conf$$.dir; then 17330 rm -f conf$$.dir/conf$$.file 17331 else 17332 rm -f conf$$.dir 17333 mkdir conf$$.dir 2>/dev/null 17334 fi 17335 if (echo >conf$$.file) 2>/dev/null; then 17336 if ln -s conf$$.file conf$$ 2>/dev/null; then 17337 as_ln_s='ln -s' 17338 # ... but there are two gotchas: 17339 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 17340 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 17341 # In both cases, we have to default to `cp -pR'. 17342 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 17343 as_ln_s='cp -pR' 17344 elif ln conf$$.file conf$$ 2>/dev/null; then 17345 as_ln_s=ln 17346 else 17347 as_ln_s='cp -pR' 17348 fi 17349 else 17350 as_ln_s='cp -pR' 17351 fi 17352 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 17353 rmdir conf$$.dir 2>/dev/null 17354 17355 17356 # as_fn_mkdir_p 17357 # ------------- 17358 # Create "$as_dir" as a directory, including parents if necessary. 17359 as_fn_mkdir_p () 17360 { 17361 17362 case $as_dir in #( 17363 -*) as_dir=./$as_dir;; 17364 esac 17365 test -d "$as_dir" || eval $as_mkdir_p || { 17366 as_dirs= 17367 while :; do 17368 case $as_dir in #( 17369 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 17370 *) as_qdir=$as_dir;; 17371 esac 17372 as_dirs="'$as_qdir' $as_dirs" 17373 as_dir=`$as_dirname -- "$as_dir" || 17374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17375 X"$as_dir" : 'X\(//\)[^/]' \| \ 17376 X"$as_dir" : 'X\(//\)$' \| \ 17377 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17378 $as_echo X"$as_dir" | 17379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17380 s//\1/ 17381 q 17382 } 17383 /^X\(\/\/\)[^/].*/{ 17384 s//\1/ 17385 q 17386 } 17387 /^X\(\/\/\)$/{ 17388 s//\1/ 17389 q 17390 } 17391 /^X\(\/\).*/{ 17392 s//\1/ 17393 q 17394 } 17395 s/.*/./; q'` 17396 test -d "$as_dir" && break 17397 done 17398 test -z "$as_dirs" || eval "mkdir $as_dirs" 17399 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 17400 17401 17402 } # as_fn_mkdir_p 17403 if mkdir -p . 2>/dev/null; then 17404 as_mkdir_p='mkdir -p "$as_dir"' 17405 else 17406 test -d ./-p && rmdir ./-p 17407 as_mkdir_p=false 17408 fi 17409 17410 17411 # as_fn_executable_p FILE 17412 # ----------------------- 17413 # Test if FILE is an executable regular file. 17414 as_fn_executable_p () 17415 { 17416 test -f "$1" && test -x "$1" 17417 } # as_fn_executable_p 17418 as_test_x='test -x' 17419 as_executable_p=as_fn_executable_p 17420 17421 # Sed expression to map a string onto a valid CPP name. 17422 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17423 17424 # Sed expression to map a string onto a valid variable name. 17425 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17426 17427 17428 exec 6>&1 17429 ## ----------------------------------- ## 17430 ## Main body of $CONFIG_STATUS script. ## 17431 ## ----------------------------------- ## 17432 _ASEOF 17433 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17434 17435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17436 # Save the log message, to keep $0 and so on meaningful, and to 17437 # report actual input values of CONFIG_FILES etc. instead of their 17438 # values after options handling. 17439 ac_log=" 17440 This file was extended by strace $as_me 4.25, which was 17441 generated by GNU Autoconf 2.69. Invocation command line was 17442 17443 CONFIG_FILES = $CONFIG_FILES 17444 CONFIG_HEADERS = $CONFIG_HEADERS 17445 CONFIG_LINKS = $CONFIG_LINKS 17446 CONFIG_COMMANDS = $CONFIG_COMMANDS 17447 $ $0 $@ 17448 17449 on `(hostname || uname -n) 2>/dev/null | sed 1q` 17450 " 17451 17452 _ACEOF 17453 17454 case $ac_config_files in *" 17455 "*) set x $ac_config_files; shift; ac_config_files=$*;; 17456 esac 17457 17458 case $ac_config_headers in *" 17459 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17460 esac 17461 17462 17463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17464 # Files that config.status was made for. 17465 config_files="$ac_config_files" 17466 config_headers="$ac_config_headers" 17467 config_commands="$ac_config_commands" 17468 17469 _ACEOF 17470 17471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17472 ac_cs_usage="\ 17473 \`$as_me' instantiates files and other configuration actions 17474 from templates according to the current configuration. Unless the files 17475 and actions are specified as TAGs, all are instantiated by default. 17476 17477 Usage: $0 [OPTION]... [TAG]... 17478 17479 -h, --help print this help, then exit 17480 -V, --version print version number and configuration settings, then exit 17481 --config print configuration, then exit 17482 -q, --quiet, --silent 17483 do not print progress messages 17484 -d, --debug don't remove temporary files 17485 --recheck update $as_me by reconfiguring in the same conditions 17486 --file=FILE[:TEMPLATE] 17487 instantiate the configuration file FILE 17488 --header=FILE[:TEMPLATE] 17489 instantiate the configuration header FILE 17490 17491 Configuration files: 17492 $config_files 17493 17494 Configuration headers: 17495 $config_headers 17496 17497 Configuration commands: 17498 $config_commands 17499 17500 Report bugs to <strace-devel@lists.strace.io>. 17501 strace home page: <https://strace.io>." 17502 17503 _ACEOF 17504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17505 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17506 ac_cs_version="\\ 17507 strace config.status 4.25 17508 configured by $0, generated by GNU Autoconf 2.69, 17509 with options \\"\$ac_cs_config\\" 17510 17511 Copyright (C) Free Software Foundation, Inc. 17512 This config.status script is free software; the Free Software Foundation 17513 gives unlimited permission to copy, distribute and modify it." 17514 17515 ac_pwd='$ac_pwd' 17516 srcdir='$srcdir' 17517 INSTALL='$INSTALL' 17518 MKDIR_P='$MKDIR_P' 17519 AWK='$AWK' 17520 test -n "\$AWK" || AWK=awk 17521 _ACEOF 17522 17523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17524 # The default lists apply if the user does not specify any file. 17525 ac_need_defaults=: 17526 while test $# != 0 17527 do 17528 case $1 in 17529 --*=?*) 17530 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17531 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17532 ac_shift=: 17533 ;; 17534 --*=) 17535 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17536 ac_optarg= 17537 ac_shift=: 17538 ;; 17539 *) 17540 ac_option=$1 17541 ac_optarg=$2 17542 ac_shift=shift 17543 ;; 17544 esac 17545 17546 case $ac_option in 17547 # Handling of the options. 17548 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17549 ac_cs_recheck=: ;; 17550 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17551 $as_echo "$ac_cs_version"; exit ;; 17552 --config | --confi | --conf | --con | --co | --c ) 17553 $as_echo "$ac_cs_config"; exit ;; 17554 --debug | --debu | --deb | --de | --d | -d ) 17555 debug=: ;; 17556 --file | --fil | --fi | --f ) 17557 $ac_shift 17558 case $ac_optarg in 17559 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17560 '') as_fn_error $? "missing file argument" ;; 17561 esac 17562 as_fn_append CONFIG_FILES " '$ac_optarg'" 17563 ac_need_defaults=false;; 17564 --header | --heade | --head | --hea ) 17565 $ac_shift 17566 case $ac_optarg in 17567 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17568 esac 17569 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17570 ac_need_defaults=false;; 17571 --he | --h) 17572 # Conflict between --help and --header 17573 as_fn_error $? "ambiguous option: \`$1' 17574 Try \`$0 --help' for more information.";; 17575 --help | --hel | -h ) 17576 $as_echo "$ac_cs_usage"; exit ;; 17577 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17578 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17579 ac_cs_silent=: ;; 17580 17581 # This is an error. 17582 -*) as_fn_error $? "unrecognized option: \`$1' 17583 Try \`$0 --help' for more information." ;; 17584 17585 *) as_fn_append ac_config_targets " $1" 17586 ac_need_defaults=false ;; 17587 17588 esac 17589 shift 17590 done 17591 17592 ac_configure_extra_args= 17593 17594 if $ac_cs_silent; then 17595 exec 6>/dev/null 17596 ac_configure_extra_args="$ac_configure_extra_args --silent" 17597 fi 17598 17599 _ACEOF 17600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17601 if \$ac_cs_recheck; then 17602 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17603 shift 17604 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17605 CONFIG_SHELL='$SHELL' 17606 export CONFIG_SHELL 17607 exec "\$@" 17608 fi 17609 17610 _ACEOF 17611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17612 exec 5>>config.log 17613 { 17614 echo 17615 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17616 ## Running $as_me. ## 17617 _ASBOX 17618 $as_echo "$ac_log" 17619 } >&5 17620 17621 _ACEOF 17622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17623 # 17624 # INIT-COMMANDS 17625 # 17626 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 17627 17628 _ACEOF 17629 17630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17631 17632 # Handling of arguments. 17633 for ac_config_target in $ac_config_targets 17634 do 17635 case $ac_config_target in 17636 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 17637 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 17638 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17639 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 17640 "tests-m32/Makefile") CONFIG_FILES="$CONFIG_FILES tests-m32/Makefile" ;; 17641 "tests-mx32/Makefile") CONFIG_FILES="$CONFIG_FILES tests-mx32/Makefile" ;; 17642 "strace.1") CONFIG_FILES="$CONFIG_FILES strace.1" ;; 17643 "strace-log-merge.1") CONFIG_FILES="$CONFIG_FILES strace-log-merge.1" ;; 17644 "strace.spec") CONFIG_FILES="$CONFIG_FILES strace.spec" ;; 17645 "debian/changelog") CONFIG_FILES="$CONFIG_FILES debian/changelog" ;; 17646 17647 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17648 esac 17649 done 17650 17651 17652 # If the user did not use the arguments to specify the items to instantiate, 17653 # then the envvar interface is used. Set only those that are not. 17654 # We use the long form for the default assignment because of an extremely 17655 # bizarre bug on SunOS 4.1.3. 17656 if $ac_need_defaults; then 17657 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 17658 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 17659 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 17660 fi 17661 17662 # Have a temporary directory for convenience. Make it in the build tree 17663 # simply because there is no reason against having it here, and in addition, 17664 # creating and moving files from /tmp can sometimes cause problems. 17665 # Hook for its removal unless debugging. 17666 # Note that there is a small window in which the directory will not be cleaned: 17667 # after its creation but before its name has been assigned to `$tmp'. 17668 $debug || 17669 { 17670 tmp= ac_tmp= 17671 trap 'exit_status=$? 17672 : "${ac_tmp:=$tmp}" 17673 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17674 ' 0 17675 trap 'as_fn_exit 1' 1 2 13 15 17676 } 17677 # Create a (secure) tmp directory for tmp files. 17678 17679 { 17680 tmp=`(umask 077 && mktemp -d "./confXXXXXX")` && 17681 test -n "$tmp" && test -d "$tmp" 17682 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 17683 ac_tmp=$tmp 17684 17685 # Set up the scripts for CONFIG_FILES section. 17686 # No need to generate them if there are no CONFIG_FILES. 17687 # This happens for instance with `./config.status config.h'. 17688 if test -n "$CONFIG_FILES"; then 17689 17690 17691 ac_cr=`echo X | tr X '\015'` 17692 # On cygwin, bash can eat \r inside `` if the user requested igncr. 17693 # But we know of no other shell where ac_cr would be empty at this 17694 # point, so we can use a bashism as a fallback. 17695 if test "x$ac_cr" = x; then 17696 eval ac_cr=\$\'\\r\' 17697 fi 17698 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17699 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 17700 ac_cs_awk_cr='\\r' 17701 else 17702 ac_cs_awk_cr=$ac_cr 17703 fi 17704 17705 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 17706 _ACEOF 17707 17708 17709 { 17710 echo "cat >conf$$subs.awk <<_ACEOF" && 17711 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17712 echo "_ACEOF" 17713 } >conf$$subs.sh || 17714 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17715 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17716 ac_delim='%!_!# ' 17717 for ac_last_try in false false false false false :; do 17718 . ./conf$$subs.sh || 17719 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17720 17721 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17722 if test $ac_delim_n = $ac_delim_num; then 17723 break 17724 elif $ac_last_try; then 17725 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17726 else 17727 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17728 fi 17729 done 17730 rm -f conf$$subs.sh 17731 17732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17733 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17734 _ACEOF 17735 sed -n ' 17736 h 17737 s/^/S["/; s/!.*/"]=/ 17738 p 17739 g 17740 s/^[^!]*!// 17741 :repl 17742 t repl 17743 s/'"$ac_delim"'$// 17744 t delim 17745 :nl 17746 h 17747 s/\(.\{148\}\)..*/\1/ 17748 t more1 17749 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 17750 p 17751 n 17752 b repl 17753 :more1 17754 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17755 p 17756 g 17757 s/.\{148\}// 17758 t nl 17759 :delim 17760 h 17761 s/\(.\{148\}\)..*/\1/ 17762 t more2 17763 s/["\\]/\\&/g; s/^/"/; s/$/"/ 17764 p 17765 b 17766 :more2 17767 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17768 p 17769 g 17770 s/.\{148\}// 17771 t delim 17772 ' <conf$$subs.awk | sed ' 17773 /^[^""]/{ 17774 N 17775 s/\n// 17776 } 17777 ' >>$CONFIG_STATUS || ac_write_fail=1 17778 rm -f conf$$subs.awk 17779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17780 _ACAWK 17781 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17782 for (key in S) S_is_set[key] = 1 17783 FS = "" 17784 17785 } 17786 { 17787 line = $ 0 17788 nfields = split(line, field, "@") 17789 substed = 0 17790 len = length(field[1]) 17791 for (i = 2; i < nfields; i++) { 17792 key = field[i] 17793 keylen = length(key) 17794 if (S_is_set[key]) { 17795 value = S[key] 17796 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 17797 len += length(value) + length(field[++i]) 17798 substed = 1 17799 } else 17800 len += 1 + keylen 17801 } 17802 17803 print line 17804 } 17805 17806 _ACAWK 17807 _ACEOF 17808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17809 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17810 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17811 else 17812 cat 17813 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 17814 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17815 _ACEOF 17816 17817 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17818 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17819 # trailing colons and then remove the whole line if VPATH becomes empty 17820 # (actually we leave an empty line to preserve line numbers). 17821 if test "x$srcdir" = x.; then 17822 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 17823 h 17824 s/// 17825 s/^/:/ 17826 s/[ ]*$/:/ 17827 s/:\$(srcdir):/:/g 17828 s/:\${srcdir}:/:/g 17829 s/:@srcdir@:/:/g 17830 s/^:*// 17831 s/:*$// 17832 x 17833 s/\(=[ ]*\).*/\1/ 17834 G 17835 s/\n// 17836 s/^[^=]*=[ ]*$// 17837 }' 17838 fi 17839 17840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17841 fi # test -n "$CONFIG_FILES" 17842 17843 # Set up the scripts for CONFIG_HEADERS section. 17844 # No need to generate them if there are no CONFIG_HEADERS. 17845 # This happens for instance with `./config.status Makefile'. 17846 if test -n "$CONFIG_HEADERS"; then 17847 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 17848 BEGIN { 17849 _ACEOF 17850 17851 # Transform confdefs.h into an awk script `defines.awk', embedded as 17852 # here-document in config.status, that substitutes the proper values into 17853 # config.h.in to produce config.h. 17854 17855 # Create a delimiter string that does not exist in confdefs.h, to ease 17856 # handling of long lines. 17857 ac_delim='%!_!# ' 17858 for ac_last_try in false false :; do 17859 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 17860 if test -z "$ac_tt"; then 17861 break 17862 elif $ac_last_try; then 17863 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17864 else 17865 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17866 fi 17867 done 17868 17869 # For the awk script, D is an array of macro values keyed by name, 17870 # likewise P contains macro parameters if any. Preserve backslash 17871 # newline sequences. 17872 17873 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 17874 sed -n ' 17875 s/.\{148\}/&'"$ac_delim"'/g 17876 t rset 17877 :rset 17878 s/^[ ]*#[ ]*define[ ][ ]*/ / 17879 t def 17880 d 17881 :def 17882 s/\\$// 17883 t bsnl 17884 s/["\\]/\\&/g 17885 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17886 D["\1"]=" \3"/p 17887 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 17888 d 17889 :bsnl 17890 s/["\\]/\\&/g 17891 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17892 D["\1"]=" \3\\\\\\n"\\/p 17893 t cont 17894 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 17895 t cont 17896 d 17897 :cont 17898 n 17899 s/.\{148\}/&'"$ac_delim"'/g 17900 t clear 17901 :clear 17902 s/\\$// 17903 t bsnlc 17904 s/["\\]/\\&/g; s/^/"/; s/$/"/p 17905 d 17906 :bsnlc 17907 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 17908 b cont 17909 ' <confdefs.h | sed ' 17910 s/'"$ac_delim"'/"\\\ 17911 "/g' >>$CONFIG_STATUS || ac_write_fail=1 17912 17913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17914 for (key in D) D_is_set[key] = 1 17915 FS = "" 17916 } 17917 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 17918 line = \$ 0 17919 split(line, arg, " ") 17920 if (arg[1] == "#") { 17921 defundef = arg[2] 17922 mac1 = arg[3] 17923 } else { 17924 defundef = substr(arg[1], 2) 17925 mac1 = arg[2] 17926 } 17927 split(mac1, mac2, "(") #) 17928 macro = mac2[1] 17929 prefix = substr(line, 1, index(line, defundef) - 1) 17930 if (D_is_set[macro]) { 17931 # Preserve the white space surrounding the "#". 17932 print prefix "define", macro P[macro] D[macro] 17933 next 17934 } else { 17935 # Replace #undef with comments. This is necessary, for example, 17936 # in the case of _POSIX_SOURCE, which is predefined and required 17937 # on some systems where configure will not decide to define it. 17938 if (defundef == "undef") { 17939 print "/*", prefix defundef, macro, "*/" 17940 next 17941 } 17942 } 17943 } 17944 { print } 17945 _ACAWK 17946 _ACEOF 17947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17948 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17949 fi # test -n "$CONFIG_HEADERS" 17950 17951 17952 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 17953 shift 17954 for ac_tag 17955 do 17956 case $ac_tag in 17957 :[FHLC]) ac_mode=$ac_tag; continue;; 17958 esac 17959 case $ac_mode$ac_tag in 17960 :[FHL]*:*);; 17961 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17962 :[FH]-) ac_tag=-:-;; 17963 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17964 esac 17965 ac_save_IFS=$IFS 17966 IFS=: 17967 set x $ac_tag 17968 IFS=$ac_save_IFS 17969 shift 17970 ac_file=$1 17971 shift 17972 17973 case $ac_mode in 17974 :L) ac_source=$1;; 17975 :[FH]) 17976 ac_file_inputs= 17977 for ac_f 17978 do 17979 case $ac_f in 17980 -) ac_f="$ac_tmp/stdin";; 17981 *) # Look for the file first in the build tree, then in the source tree 17982 # (if the path is not absolute). The absolute path cannot be DOS-style, 17983 # because $ac_f cannot contain `:'. 17984 test -f "$ac_f" || 17985 case $ac_f in 17986 [\\/$]*) false;; 17987 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17988 esac || 17989 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17990 esac 17991 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17992 as_fn_append ac_file_inputs " '$ac_f'" 17993 done 17994 17995 # Let's still pretend it is `configure' which instantiates (i.e., don't 17996 # use $as_me), people would be surprised to read: 17997 # /* config.h. Generated by config.status. */ 17998 configure_input='Generated from '` 17999 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 18000 `' by configure.' 18001 if test x"$ac_file" != x-; then 18002 configure_input="$ac_file. $configure_input" 18003 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 18004 $as_echo "$as_me: creating $ac_file" >&6;} 18005 fi 18006 # Neutralize special characters interpreted by sed in replacement strings. 18007 case $configure_input in #( 18008 *\&* | *\|* | *\\* ) 18009 ac_sed_conf_input=`$as_echo "$configure_input" | 18010 sed 's/[\\\\&|]/\\\\&/g'`;; #( 18011 *) ac_sed_conf_input=$configure_input;; 18012 esac 18013 18014 case $ac_tag in 18015 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 18016 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 18017 esac 18018 ;; 18019 esac 18020 18021 ac_dir=`$as_dirname -- "$ac_file" || 18022 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18023 X"$ac_file" : 'X\(//\)[^/]' \| \ 18024 X"$ac_file" : 'X\(//\)$' \| \ 18025 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 18026 $as_echo X"$ac_file" | 18027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18028 s//\1/ 18029 q 18030 } 18031 /^X\(\/\/\)[^/].*/{ 18032 s//\1/ 18033 q 18034 } 18035 /^X\(\/\/\)$/{ 18036 s//\1/ 18037 q 18038 } 18039 /^X\(\/\).*/{ 18040 s//\1/ 18041 q 18042 } 18043 s/.*/./; q'` 18044 as_dir="$ac_dir"; as_fn_mkdir_p 18045 ac_builddir=. 18046 18047 case "$ac_dir" in 18048 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18049 *) 18050 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18051 # A ".." for each directory in $ac_dir_suffix. 18052 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18053 case $ac_top_builddir_sub in 18054 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 18055 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 18056 esac ;; 18057 esac 18058 ac_abs_top_builddir=$ac_pwd 18059 ac_abs_builddir=$ac_pwd$ac_dir_suffix 18060 # for backward compatibility: 18061 ac_top_builddir=$ac_top_build_prefix 18062 18063 case $srcdir in 18064 .) # We are building in place. 18065 ac_srcdir=. 18066 ac_top_srcdir=$ac_top_builddir_sub 18067 ac_abs_top_srcdir=$ac_pwd ;; 18068 [\\/]* | ?:[\\/]* ) # Absolute name. 18069 ac_srcdir=$srcdir$ac_dir_suffix; 18070 ac_top_srcdir=$srcdir 18071 ac_abs_top_srcdir=$srcdir ;; 18072 *) # Relative name. 18073 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 18074 ac_top_srcdir=$ac_top_build_prefix$srcdir 18075 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 18076 esac 18077 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 18078 18079 18080 case $ac_mode in 18081 :F) 18082 # 18083 # CONFIG_FILE 18084 # 18085 18086 case $INSTALL in 18087 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18088 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 18089 esac 18090 ac_MKDIR_P=$MKDIR_P 18091 case $MKDIR_P in 18092 [\\/$]* | ?:[\\/]* ) ;; 18093 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 18094 esac 18095 _ACEOF 18096 18097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18098 # If the template does not know about datarootdir, expand it. 18099 # FIXME: This hack should be removed a few years after 2.60. 18100 ac_datarootdir_hack=; ac_datarootdir_seen= 18101 ac_sed_dataroot=' 18102 /datarootdir/ { 18103 p 18104 q 18105 } 18106 /@datadir@/p 18107 /@docdir@/p 18108 /@infodir@/p 18109 /@localedir@/p 18110 /@mandir@/p' 18111 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 18112 *datarootdir*) ac_datarootdir_seen=yes;; 18113 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 18114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 18115 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 18116 _ACEOF 18117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18118 ac_datarootdir_hack=' 18119 s&@datadir@&$datadir&g 18120 s&@docdir@&$docdir&g 18121 s&@infodir@&$infodir&g 18122 s&@localedir@&$localedir&g 18123 s&@mandir@&$mandir&g 18124 s&\\\${datarootdir}&$datarootdir&g' ;; 18125 esac 18126 _ACEOF 18127 18128 # Neutralize VPATH when `$srcdir' = `.'. 18129 # Shell code in configure.ac might set extrasub. 18130 # FIXME: do we really want to maintain this feature? 18131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18132 ac_sed_extra="$ac_vpsub 18133 $extrasub 18134 _ACEOF 18135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18136 :t 18137 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18138 s|@configure_input@|$ac_sed_conf_input|;t t 18139 s&@top_builddir@&$ac_top_builddir_sub&;t t 18140 s&@top_build_prefix@&$ac_top_build_prefix&;t t 18141 s&@srcdir@&$ac_srcdir&;t t 18142 s&@abs_srcdir@&$ac_abs_srcdir&;t t 18143 s&@top_srcdir@&$ac_top_srcdir&;t t 18144 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18145 s&@builddir@&$ac_builddir&;t t 18146 s&@abs_builddir@&$ac_abs_builddir&;t t 18147 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18148 s&@INSTALL@&$ac_INSTALL&;t t 18149 s&@MKDIR_P@&$ac_MKDIR_P&;t t 18150 $ac_datarootdir_hack 18151 " 18152 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18153 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18154 18155 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18156 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18157 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18158 "$ac_tmp/out"`; test -z "$ac_out"; } && 18159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18160 which seems to be undefined. Please make sure it is defined" >&5 18161 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18162 which seems to be undefined. Please make sure it is defined" >&2;} 18163 18164 rm -f "$ac_tmp/stdin" 18165 case $ac_file in 18166 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18167 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18168 esac \ 18169 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18170 ;; 18171 :H) 18172 # 18173 # CONFIG_HEADER 18174 # 18175 if test x"$ac_file" != x-; then 18176 { 18177 $as_echo "/* $configure_input */" \ 18178 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18179 } >"$ac_tmp/config.h" \ 18180 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18181 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18182 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18183 $as_echo "$as_me: $ac_file is unchanged" >&6;} 18184 else 18185 rm -f "$ac_file" 18186 mv "$ac_tmp/config.h" "$ac_file" \ 18187 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18188 fi 18189 else 18190 $as_echo "/* $configure_input */" \ 18191 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18192 || as_fn_error $? "could not create -" "$LINENO" 5 18193 fi 18194 # Compute "$ac_file"'s index in $config_headers. 18195 _am_arg="$ac_file" 18196 _am_stamp_count=1 18197 for _am_header in $config_headers :; do 18198 case $_am_header in 18199 $_am_arg | $_am_arg:* ) 18200 break ;; 18201 * ) 18202 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18203 esac 18204 done 18205 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18206 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18207 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18208 X"$_am_arg" : 'X\(//\)$' \| \ 18209 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18210 $as_echo X"$_am_arg" | 18211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18212 s//\1/ 18213 q 18214 } 18215 /^X\(\/\/\)[^/].*/{ 18216 s//\1/ 18217 q 18218 } 18219 /^X\(\/\/\)$/{ 18220 s//\1/ 18221 q 18222 } 18223 /^X\(\/\).*/{ 18224 s//\1/ 18225 q 18226 } 18227 s/.*/./; q'`/stamp-h$_am_stamp_count 18228 ;; 18229 18230 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18231 $as_echo "$as_me: executing $ac_file commands" >&6;} 18232 ;; 18233 esac 18234 18235 18236 case $ac_file$ac_mode in 18237 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18238 # Older Autoconf quotes --file arguments for eval, but not when files 18239 # are listed without --file. Let's play safe and only enable the eval 18240 # if we detect the quoting. 18241 case $CONFIG_FILES in 18242 *\'*) eval set x "$CONFIG_FILES" ;; 18243 *) set x $CONFIG_FILES ;; 18244 esac 18245 shift 18246 for mf 18247 do 18248 # Strip MF so we end up with the name of the file. 18249 mf=`echo "$mf" | sed -e 's/:.*$//'` 18250 # Check whether this is an Automake generated Makefile or not. 18251 # We used to match only the files named 'Makefile.in', but 18252 # some people rename them; so instead we look at the file content. 18253 # Grep'ing the first line is not enough: some people post-process 18254 # each Makefile.in and add a new line on top of each file to say so. 18255 # Grep'ing the whole file is not good either: AIX grep has a line 18256 # limit of 2048, but all sed's we know have understand at least 4000. 18257 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 18258 dirpart=`$as_dirname -- "$mf" || 18259 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18260 X"$mf" : 'X\(//\)[^/]' \| \ 18261 X"$mf" : 'X\(//\)$' \| \ 18262 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 18263 $as_echo X"$mf" | 18264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18265 s//\1/ 18266 q 18267 } 18268 /^X\(\/\/\)[^/].*/{ 18269 s//\1/ 18270 q 18271 } 18272 /^X\(\/\/\)$/{ 18273 s//\1/ 18274 q 18275 } 18276 /^X\(\/\).*/{ 18277 s//\1/ 18278 q 18279 } 18280 s/.*/./; q'` 18281 else 18282 continue 18283 fi 18284 # Extract the definition of DEPDIR, am__include, and am__quote 18285 # from the Makefile without running 'make'. 18286 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 18287 test -z "$DEPDIR" && continue 18288 am__include=`sed -n 's/^am__include = //p' < "$mf"` 18289 test -z "$am__include" && continue 18290 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 18291 # Find all dependency output files, they are included files with 18292 # $(DEPDIR) in their names. We invoke sed twice because it is the 18293 # simplest approach to changing $(DEPDIR) to its actual value in the 18294 # expansion. 18295 for file in `sed -n " 18296 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 18297 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 18298 # Make sure the directory exists. 18299 test -f "$dirpart/$file" && continue 18300 fdir=`$as_dirname -- "$file" || 18301 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18302 X"$file" : 'X\(//\)[^/]' \| \ 18303 X"$file" : 'X\(//\)$' \| \ 18304 X"$file" : 'X\(/\)' \| . 2>/dev/null || 18305 $as_echo X"$file" | 18306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18307 s//\1/ 18308 q 18309 } 18310 /^X\(\/\/\)[^/].*/{ 18311 s//\1/ 18312 q 18313 } 18314 /^X\(\/\/\)$/{ 18315 s//\1/ 18316 q 18317 } 18318 /^X\(\/\).*/{ 18319 s//\1/ 18320 q 18321 } 18322 s/.*/./; q'` 18323 as_dir=$dirpart/$fdir; as_fn_mkdir_p 18324 # echo "creating $dirpart/$file" 18325 echo '# dummy' > "$dirpart/$file" 18326 done 18327 done 18328 } 18329 ;; 18330 18331 esac 18332 done # for ac_tag 18333 18334 18335 as_fn_exit 0 18336 _ACEOF 18337 ac_clean_files=$ac_clean_files_save 18338 18339 test $ac_write_fail = 0 || 18340 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18341 18342 18343 # configure is writing to config.log, and then calls config.status. 18344 # config.status does its own redirection, appending to config.log. 18345 # Unfortunately, on DOS this fails, as config.log is still kept open 18346 # by configure, so config.status won't be able to write to it; its 18347 # output is simply discarded. So we exec the FD to /dev/null, 18348 # effectively closing config.log, so it can be properly (re)opened and 18349 # appended to by config.status. When coming back to configure, we 18350 # need to make the FD available again. 18351 if test "$no_create" != yes; then 18352 ac_cs_success=: 18353 ac_config_status_args= 18354 test "$silent" = yes && 18355 ac_config_status_args="$ac_config_status_args --quiet" 18356 exec 5>/dev/null 18357 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18358 exec 5>>config.log 18359 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18360 # would make configure fail if this is the last instruction. 18361 $ac_cs_success || as_fn_exit 1 18362 fi 18363 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18365 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18366 fi 18367 18368