1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for strace 4.21. 4 # 5 # Report bugs to <strace-devel (at] lists.sourceforge.net>. 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.sourceforge.net 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.21' 586 PACKAGE_STRING='strace 4.21' 587 PACKAGE_BUGREPORT='strace-devel (at] lists.sourceforge.net' 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 libunwind_CPPFLAGS 658 libunwind_LDFLAGS 659 libunwind_LIBS 660 READELF 661 PERL 662 dl_LIBS 663 SIZEOF_KERNEL_LONG_T 664 SIZEOF_LONG 665 MIPS_ABI 666 arch_native 667 cc_flags_mx32 668 cc_flags_m32 669 arch_mx32 670 arch_m32 671 arch 672 MANPAGE_DATE 673 COPYRIGHT_YEAR 674 CODE_COVERAGE_RULES 675 CODE_COVERAGE_LDFLAGS 676 CODE_COVERAGE_LIBS 677 CODE_COVERAGE_CXXFLAGS 678 CODE_COVERAGE_CFLAGS 679 CODE_COVERAGE_CPPFLAGS 680 GENHTML 681 LCOV 682 GCOV 683 CODE_COVERAGE_ENABLED 684 CODE_COVERAGE_ENABLED_FALSE 685 CODE_COVERAGE_ENABLED_TRUE 686 SED 687 EGREP 688 GREP 689 RANLIB 690 WARN_CFLAGS_FOR_BUILD 691 LDFLAGS_FOR_BUILD 692 CPPFLAGS_FOR_BUILD 693 CFLAGS_FOR_BUILD 694 BUILD_OBJEXT 695 BUILD_EXEEXT 696 CPP_FOR_BUILD 697 ac_ct_CC_FOR_BUILD 698 CC_FOR_BUILD 699 WARN_CFLAGS 700 CPP 701 am__fastdepCC_FALSE 702 am__fastdepCC_TRUE 703 CCDEPMODE 704 am__nodep 705 AMDEPBACKSLASH 706 AMDEP_FALSE 707 AMDEP_TRUE 708 am__quote 709 am__include 710 DEPDIR 711 OBJEXT 712 EXEEXT 713 ac_ct_CC 714 CPPFLAGS 715 LDFLAGS 716 CFLAGS 717 CC 718 DEB_CHANGELOGTIME 719 RPM_CHANGELOGTIME 720 host_os 721 host_vendor 722 host_cpu 723 host 724 build_os 725 build_vendor 726 build_cpu 727 build 728 MAINT 729 MAINTAINER_MODE_FALSE 730 MAINTAINER_MODE_TRUE 731 AM_BACKSLASH 732 AM_DEFAULT_VERBOSITY 733 AM_DEFAULT_V 734 AM_V 735 am__untar 736 am__tar 737 AMTAR 738 am__leading_dot 739 SET_MAKE 740 AWK 741 mkdir_p 742 MKDIR_P 743 INSTALL_STRIP_PROGRAM 744 STRIP 745 install_sh 746 MAKEINFO 747 AUTOHEADER 748 AUTOMAKE 749 AUTOCONF 750 ACLOCAL 751 VERSION 752 PACKAGE 753 CYGPATH_W 754 am__isrc 755 INSTALL_DATA 756 INSTALL_SCRIPT 757 INSTALL_PROGRAM 758 target_alias 759 host_alias 760 build_alias 761 LIBS 762 ECHO_T 763 ECHO_N 764 ECHO_C 765 DEFS 766 mandir 767 localedir 768 libdir 769 psdir 770 pdfdir 771 dvidir 772 htmldir 773 infodir 774 docdir 775 oldincludedir 776 includedir 777 localstatedir 778 sharedstatedir 779 sysconfdir 780 datadir 781 datarootdir 782 libexecdir 783 sbindir 784 bindir 785 program_transform_name 786 prefix 787 exec_prefix 788 PACKAGE_URL 789 PACKAGE_BUGREPORT 790 PACKAGE_STRING 791 PACKAGE_VERSION 792 PACKAGE_TARNAME 793 PACKAGE_NAME 794 PATH_SEPARATOR 795 SHELL' 796 ac_subst_files='' 797 ac_user_opts=' 798 enable_option_checking 799 enable_silent_rules 800 enable_maintainer_mode 801 enable_dependency_tracking 802 enable_gcc_Werror 803 with_gcov 804 enable_code_coverage 805 enable_arm_oabi 806 with_libunwind 807 with_libiberty 808 enable_mpers 809 enable_valgrind 810 enable_valgrind_memcheck 811 enable_valgrind_helgrind 812 enable_valgrind_drd 813 enable_valgrind_sgcheck 814 ' 815 ac_precious_vars='build_alias 816 host_alias 817 target_alias 818 CC 819 CFLAGS 820 LDFLAGS 821 LIBS 822 CPPFLAGS 823 CPP' 824 825 826 # Initialize some variables set by options. 827 ac_init_help= 828 ac_init_version=false 829 ac_unrecognized_opts= 830 ac_unrecognized_sep= 831 # The variables have the same names as the options, with 832 # dashes changed to underlines. 833 cache_file=/dev/null 834 exec_prefix=NONE 835 no_create= 836 no_recursion= 837 prefix=NONE 838 program_prefix=NONE 839 program_suffix=NONE 840 program_transform_name=s,x,x, 841 silent= 842 site= 843 srcdir= 844 verbose= 845 x_includes=NONE 846 x_libraries=NONE 847 848 # Installation directory options. 849 # These are left unexpanded so users can "make install exec_prefix=/foo" 850 # and all the variables that are supposed to be based on exec_prefix 851 # by default will actually change. 852 # Use braces instead of parens because sh, perl, etc. also accept them. 853 # (The list follows the same order as the GNU Coding Standards.) 854 bindir='${exec_prefix}/bin' 855 sbindir='${exec_prefix}/sbin' 856 libexecdir='${exec_prefix}/libexec' 857 datarootdir='${prefix}/share' 858 datadir='${datarootdir}' 859 sysconfdir='${prefix}/etc' 860 sharedstatedir='${prefix}/com' 861 localstatedir='${prefix}/var' 862 includedir='${prefix}/include' 863 oldincludedir='/usr/include' 864 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 865 infodir='${datarootdir}/info' 866 htmldir='${docdir}' 867 dvidir='${docdir}' 868 pdfdir='${docdir}' 869 psdir='${docdir}' 870 libdir='${exec_prefix}/lib' 871 localedir='${datarootdir}/locale' 872 mandir='${datarootdir}/man' 873 874 ac_prev= 875 ac_dashdash= 876 for ac_option 877 do 878 # If the previous option needs an argument, assign it. 879 if test -n "$ac_prev"; then 880 eval $ac_prev=\$ac_option 881 ac_prev= 882 continue 883 fi 884 885 case $ac_option in 886 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 887 *=) ac_optarg= ;; 888 *) ac_optarg=yes ;; 889 esac 890 891 # Accept the important Cygnus configure options, so we can diagnose typos. 892 893 case $ac_dashdash$ac_option in 894 --) 895 ac_dashdash=yes ;; 896 897 -bindir | --bindir | --bindi | --bind | --bin | --bi) 898 ac_prev=bindir ;; 899 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 900 bindir=$ac_optarg ;; 901 902 -build | --build | --buil | --bui | --bu) 903 ac_prev=build_alias ;; 904 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 905 build_alias=$ac_optarg ;; 906 907 -cache-file | --cache-file | --cache-fil | --cache-fi \ 908 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 909 ac_prev=cache_file ;; 910 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 911 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 912 cache_file=$ac_optarg ;; 913 914 --config-cache | -C) 915 cache_file=config.cache ;; 916 917 -datadir | --datadir | --datadi | --datad) 918 ac_prev=datadir ;; 919 -datadir=* | --datadir=* | --datadi=* | --datad=*) 920 datadir=$ac_optarg ;; 921 922 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 923 | --dataroo | --dataro | --datar) 924 ac_prev=datarootdir ;; 925 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 926 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 927 datarootdir=$ac_optarg ;; 928 929 -disable-* | --disable-*) 930 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 931 # Reject names that are not valid shell variable names. 932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 933 as_fn_error $? "invalid feature name: $ac_useropt" 934 ac_useropt_orig=$ac_useropt 935 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 936 case $ac_user_opts in 937 *" 938 "enable_$ac_useropt" 939 "*) ;; 940 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 941 ac_unrecognized_sep=', ';; 942 esac 943 eval enable_$ac_useropt=no ;; 944 945 -docdir | --docdir | --docdi | --doc | --do) 946 ac_prev=docdir ;; 947 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 948 docdir=$ac_optarg ;; 949 950 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 951 ac_prev=dvidir ;; 952 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 953 dvidir=$ac_optarg ;; 954 955 -enable-* | --enable-*) 956 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 957 # Reject names that are not valid shell variable names. 958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 959 as_fn_error $? "invalid feature name: $ac_useropt" 960 ac_useropt_orig=$ac_useropt 961 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 962 case $ac_user_opts in 963 *" 964 "enable_$ac_useropt" 965 "*) ;; 966 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 967 ac_unrecognized_sep=', ';; 968 esac 969 eval enable_$ac_useropt=\$ac_optarg ;; 970 971 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 972 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 973 | --exec | --exe | --ex) 974 ac_prev=exec_prefix ;; 975 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 976 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 977 | --exec=* | --exe=* | --ex=*) 978 exec_prefix=$ac_optarg ;; 979 980 -gas | --gas | --ga | --g) 981 # Obsolete; use --with-gas. 982 with_gas=yes ;; 983 984 -help | --help | --hel | --he | -h) 985 ac_init_help=long ;; 986 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 987 ac_init_help=recursive ;; 988 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 989 ac_init_help=short ;; 990 991 -host | --host | --hos | --ho) 992 ac_prev=host_alias ;; 993 -host=* | --host=* | --hos=* | --ho=*) 994 host_alias=$ac_optarg ;; 995 996 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 997 ac_prev=htmldir ;; 998 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 999 | --ht=*) 1000 htmldir=$ac_optarg ;; 1001 1002 -includedir | --includedir | --includedi | --included | --include \ 1003 | --includ | --inclu | --incl | --inc) 1004 ac_prev=includedir ;; 1005 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1006 | --includ=* | --inclu=* | --incl=* | --inc=*) 1007 includedir=$ac_optarg ;; 1008 1009 -infodir | --infodir | --infodi | --infod | --info | --inf) 1010 ac_prev=infodir ;; 1011 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1012 infodir=$ac_optarg ;; 1013 1014 -libdir | --libdir | --libdi | --libd) 1015 ac_prev=libdir ;; 1016 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1017 libdir=$ac_optarg ;; 1018 1019 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1020 | --libexe | --libex | --libe) 1021 ac_prev=libexecdir ;; 1022 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1023 | --libexe=* | --libex=* | --libe=*) 1024 libexecdir=$ac_optarg ;; 1025 1026 -localedir | --localedir | --localedi | --localed | --locale) 1027 ac_prev=localedir ;; 1028 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1029 localedir=$ac_optarg ;; 1030 1031 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1032 | --localstate | --localstat | --localsta | --localst | --locals) 1033 ac_prev=localstatedir ;; 1034 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1035 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1036 localstatedir=$ac_optarg ;; 1037 1038 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1039 ac_prev=mandir ;; 1040 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1041 mandir=$ac_optarg ;; 1042 1043 -nfp | --nfp | --nf) 1044 # Obsolete; use --without-fp. 1045 with_fp=no ;; 1046 1047 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1048 | --no-cr | --no-c | -n) 1049 no_create=yes ;; 1050 1051 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1052 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1053 no_recursion=yes ;; 1054 1055 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1056 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1057 | --oldin | --oldi | --old | --ol | --o) 1058 ac_prev=oldincludedir ;; 1059 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1060 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1061 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1062 oldincludedir=$ac_optarg ;; 1063 1064 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1065 ac_prev=prefix ;; 1066 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1067 prefix=$ac_optarg ;; 1068 1069 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1070 | --program-pre | --program-pr | --program-p) 1071 ac_prev=program_prefix ;; 1072 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1073 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1074 program_prefix=$ac_optarg ;; 1075 1076 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1077 | --program-suf | --program-su | --program-s) 1078 ac_prev=program_suffix ;; 1079 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1080 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1081 program_suffix=$ac_optarg ;; 1082 1083 -program-transform-name | --program-transform-name \ 1084 | --program-transform-nam | --program-transform-na \ 1085 | --program-transform-n | --program-transform- \ 1086 | --program-transform | --program-transfor \ 1087 | --program-transfo | --program-transf \ 1088 | --program-trans | --program-tran \ 1089 | --progr-tra | --program-tr | --program-t) 1090 ac_prev=program_transform_name ;; 1091 -program-transform-name=* | --program-transform-name=* \ 1092 | --program-transform-nam=* | --program-transform-na=* \ 1093 | --program-transform-n=* | --program-transform-=* \ 1094 | --program-transform=* | --program-transfor=* \ 1095 | --program-transfo=* | --program-transf=* \ 1096 | --program-trans=* | --program-tran=* \ 1097 | --progr-tra=* | --program-tr=* | --program-t=*) 1098 program_transform_name=$ac_optarg ;; 1099 1100 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1101 ac_prev=pdfdir ;; 1102 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1103 pdfdir=$ac_optarg ;; 1104 1105 -psdir | --psdir | --psdi | --psd | --ps) 1106 ac_prev=psdir ;; 1107 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1108 psdir=$ac_optarg ;; 1109 1110 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1111 | -silent | --silent | --silen | --sile | --sil) 1112 silent=yes ;; 1113 1114 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1115 ac_prev=sbindir ;; 1116 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1117 | --sbi=* | --sb=*) 1118 sbindir=$ac_optarg ;; 1119 1120 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1121 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1122 | --sharedst | --shareds | --shared | --share | --shar \ 1123 | --sha | --sh) 1124 ac_prev=sharedstatedir ;; 1125 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1126 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1127 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1128 | --sha=* | --sh=*) 1129 sharedstatedir=$ac_optarg ;; 1130 1131 -site | --site | --sit) 1132 ac_prev=site ;; 1133 -site=* | --site=* | --sit=*) 1134 site=$ac_optarg ;; 1135 1136 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1137 ac_prev=srcdir ;; 1138 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1139 srcdir=$ac_optarg ;; 1140 1141 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1142 | --syscon | --sysco | --sysc | --sys | --sy) 1143 ac_prev=sysconfdir ;; 1144 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1145 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1146 sysconfdir=$ac_optarg ;; 1147 1148 -target | --target | --targe | --targ | --tar | --ta | --t) 1149 ac_prev=target_alias ;; 1150 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1151 target_alias=$ac_optarg ;; 1152 1153 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1154 verbose=yes ;; 1155 1156 -version | --version | --versio | --versi | --vers | -V) 1157 ac_init_version=: ;; 1158 1159 -with-* | --with-*) 1160 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1161 # Reject names that are not valid shell variable names. 1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1163 as_fn_error $? "invalid package name: $ac_useropt" 1164 ac_useropt_orig=$ac_useropt 1165 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1166 case $ac_user_opts in 1167 *" 1168 "with_$ac_useropt" 1169 "*) ;; 1170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1171 ac_unrecognized_sep=', ';; 1172 esac 1173 eval with_$ac_useropt=\$ac_optarg ;; 1174 1175 -without-* | --without-*) 1176 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1177 # Reject names that are not valid shell variable names. 1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1179 as_fn_error $? "invalid package name: $ac_useropt" 1180 ac_useropt_orig=$ac_useropt 1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1182 case $ac_user_opts in 1183 *" 1184 "with_$ac_useropt" 1185 "*) ;; 1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1187 ac_unrecognized_sep=', ';; 1188 esac 1189 eval with_$ac_useropt=no ;; 1190 1191 --x) 1192 # Obsolete; use --with-x. 1193 with_x=yes ;; 1194 1195 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1196 | --x-incl | --x-inc | --x-in | --x-i) 1197 ac_prev=x_includes ;; 1198 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1199 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1200 x_includes=$ac_optarg ;; 1201 1202 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1203 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1204 ac_prev=x_libraries ;; 1205 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1206 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1207 x_libraries=$ac_optarg ;; 1208 1209 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1210 Try \`$0 --help' for more information" 1211 ;; 1212 1213 *=*) 1214 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1215 # Reject names that are not valid shell variable names. 1216 case $ac_envvar in #( 1217 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1218 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1219 esac 1220 eval $ac_envvar=\$ac_optarg 1221 export $ac_envvar ;; 1222 1223 *) 1224 # FIXME: should be removed in autoconf 3.0. 1225 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1226 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1227 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1228 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1229 ;; 1230 1231 esac 1232 done 1233 1234 if test -n "$ac_prev"; then 1235 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1236 as_fn_error $? "missing argument to $ac_option" 1237 fi 1238 1239 if test -n "$ac_unrecognized_opts"; then 1240 case $enable_option_checking in 1241 no) ;; 1242 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1243 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1244 esac 1245 fi 1246 1247 # Check all directory arguments for consistency. 1248 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1249 datadir sysconfdir sharedstatedir localstatedir includedir \ 1250 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1251 libdir localedir mandir 1252 do 1253 eval ac_val=\$$ac_var 1254 # Remove trailing slashes. 1255 case $ac_val in 1256 */ ) 1257 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1258 eval $ac_var=\$ac_val;; 1259 esac 1260 # Be sure to have absolute directory names. 1261 case $ac_val in 1262 [\\/$]* | ?:[\\/]* ) continue;; 1263 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1264 esac 1265 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1266 done 1267 1268 # There might be people who depend on the old broken behavior: `$host' 1269 # used to hold the argument of --host etc. 1270 # FIXME: To remove some day. 1271 build=$build_alias 1272 host=$host_alias 1273 target=$target_alias 1274 1275 # FIXME: To remove some day. 1276 if test "x$host_alias" != x; then 1277 if test "x$build_alias" = x; then 1278 cross_compiling=maybe 1279 elif test "x$build_alias" != "x$host_alias"; then 1280 cross_compiling=yes 1281 fi 1282 fi 1283 1284 ac_tool_prefix= 1285 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1286 1287 test "$silent" = yes && exec 6>/dev/null 1288 1289 1290 ac_pwd=`pwd` && test -n "$ac_pwd" && 1291 ac_ls_di=`ls -di .` && 1292 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1293 as_fn_error $? "working directory cannot be determined" 1294 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1295 as_fn_error $? "pwd does not report name of working directory" 1296 1297 1298 # Find the source files, if location was not specified. 1299 if test -z "$srcdir"; then 1300 ac_srcdir_defaulted=yes 1301 # Try the directory containing this script, then the parent directory. 1302 ac_confdir=`$as_dirname -- "$as_myself" || 1303 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1304 X"$as_myself" : 'X\(//\)[^/]' \| \ 1305 X"$as_myself" : 'X\(//\)$' \| \ 1306 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1307 $as_echo X"$as_myself" | 1308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1309 s//\1/ 1310 q 1311 } 1312 /^X\(\/\/\)[^/].*/{ 1313 s//\1/ 1314 q 1315 } 1316 /^X\(\/\/\)$/{ 1317 s//\1/ 1318 q 1319 } 1320 /^X\(\/\).*/{ 1321 s//\1/ 1322 q 1323 } 1324 s/.*/./; q'` 1325 srcdir=$ac_confdir 1326 if test ! -r "$srcdir/$ac_unique_file"; then 1327 srcdir=.. 1328 fi 1329 else 1330 ac_srcdir_defaulted=no 1331 fi 1332 if test ! -r "$srcdir/$ac_unique_file"; then 1333 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1334 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1335 fi 1336 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1337 ac_abs_confdir=`( 1338 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1339 pwd)` 1340 # When building in place, set srcdir=. 1341 if test "$ac_abs_confdir" = "$ac_pwd"; then 1342 srcdir=. 1343 fi 1344 # Remove unnecessary trailing slashes from srcdir. 1345 # Double slashes in file names in object file debugging info 1346 # mess up M-x gdb in Emacs. 1347 case $srcdir in 1348 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1349 esac 1350 for ac_var in $ac_precious_vars; do 1351 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1352 eval ac_env_${ac_var}_value=\$${ac_var} 1353 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1354 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1355 done 1356 1357 # 1358 # Report the --help message. 1359 # 1360 if test "$ac_init_help" = "long"; then 1361 # Omit some internal or obsolete options to make the list less imposing. 1362 # This message is too long to be a string in the A/UX 3.1 sh. 1363 cat <<_ACEOF 1364 \`configure' configures strace 4.21 to adapt to many kinds of systems. 1365 1366 Usage: $0 [OPTION]... [VAR=VALUE]... 1367 1368 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1369 VAR=VALUE. See below for descriptions of some of the useful variables. 1370 1371 Defaults for the options are specified in brackets. 1372 1373 Configuration: 1374 -h, --help display this help and exit 1375 --help=short display options specific to this package 1376 --help=recursive display the short help of all the included packages 1377 -V, --version display version information and exit 1378 -q, --quiet, --silent do not print \`checking ...' messages 1379 --cache-file=FILE cache test results in FILE [disabled] 1380 -C, --config-cache alias for \`--cache-file=config.cache' 1381 -n, --no-create do not create output files 1382 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1383 1384 Installation directories: 1385 --prefix=PREFIX install architecture-independent files in PREFIX 1386 [$ac_default_prefix] 1387 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1388 [PREFIX] 1389 1390 By default, \`make install' will install all the files in 1391 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1392 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1393 for instance \`--prefix=\$HOME'. 1394 1395 For better control, use the options below. 1396 1397 Fine tuning of the installation directories: 1398 --bindir=DIR user executables [EPREFIX/bin] 1399 --sbindir=DIR system admin executables [EPREFIX/sbin] 1400 --libexecdir=DIR program executables [EPREFIX/libexec] 1401 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1402 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1403 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1404 --libdir=DIR object code libraries [EPREFIX/lib] 1405 --includedir=DIR C header files [PREFIX/include] 1406 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1407 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1408 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1409 --infodir=DIR info documentation [DATAROOTDIR/info] 1410 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1411 --mandir=DIR man documentation [DATAROOTDIR/man] 1412 --docdir=DIR documentation root [DATAROOTDIR/doc/strace] 1413 --htmldir=DIR html documentation [DOCDIR] 1414 --dvidir=DIR dvi documentation [DOCDIR] 1415 --pdfdir=DIR pdf documentation [DOCDIR] 1416 --psdir=DIR ps documentation [DOCDIR] 1417 _ACEOF 1418 1419 cat <<\_ACEOF 1420 1421 Program names: 1422 --program-prefix=PREFIX prepend PREFIX to installed program names 1423 --program-suffix=SUFFIX append SUFFIX to installed program names 1424 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1425 1426 System types: 1427 --build=BUILD configure for building on BUILD [guessed] 1428 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1429 _ACEOF 1430 fi 1431 1432 if test -n "$ac_init_help"; then 1433 case $ac_init_help in 1434 short | recursive ) echo "Configuration of strace 4.21:";; 1435 esac 1436 cat <<\_ACEOF 1437 1438 Optional Features: 1439 --disable-option-checking ignore unrecognized --enable/--with options 1440 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1441 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1442 --enable-silent-rules less verbose build output (undo: "make V=1") 1443 --disable-silent-rules verbose build output (undo: "make V=0") 1444 --enable-maintainer-mode 1445 enable make rules and dependencies not useful (and 1446 sometimes confusing) to the casual installer 1447 --enable-dependency-tracking 1448 do not reject slow dependency extractors 1449 --disable-dependency-tracking 1450 speeds up one-time build 1451 --enable-gcc-Werror turn on gcc's -Werror option 1452 --enable-code-coverage Whether to enable code coverage support 1453 --enable-arm-oabi enable OABI support on ARM EABI 1454 --enable-mpers=yes|no|check|m32|mx32 1455 whether to enable multiple personalities support 1456 required for proper decoding of structures used by 1457 tracees with personalities that differ from the 1458 personality of strace, default is yes. 1459 --enable-valgrind Whether to enable Valgrind on the unit tests 1460 --disable-valgrind-memcheck 1461 Whether to skip memcheck during the Valgrind tests 1462 --disable-valgrind-helgrind 1463 Whether to skip helgrind during the Valgrind tests 1464 --disable-valgrind-drd Whether to skip drd during the Valgrind tests 1465 --enable-valgrind-sgcheck 1466 Whether to use sgcheck during the Valgrind tests 1467 1468 Optional Packages: 1469 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1470 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1471 --with-gcov=GCOV use given GCOV for coverage (GCOV=gcov). 1472 --with-libunwind use libunwind to implement stack tracing support 1473 --with-libiberty use libiberty to demangle symbols in stack trace 1474 1475 Some influential environment variables: 1476 CC C compiler command 1477 CFLAGS C compiler flags 1478 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1479 nonstandard directory <lib dir> 1480 LIBS libraries to pass to the linker, e.g. -l<library> 1481 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1482 you have headers in a nonstandard directory <include dir> 1483 CPP C preprocessor 1484 1485 Use these variables to override the choices made by `configure' or to help 1486 it to find libraries and programs with nonstandard names/locations. 1487 1488 Report bugs to <strace-devel (at] lists.sourceforge.net>. 1489 strace home page: <https://strace.io>. 1490 _ACEOF 1491 ac_status=$? 1492 fi 1493 1494 if test "$ac_init_help" = "recursive"; then 1495 # If there are subdirs, report their specific --help. 1496 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1497 test -d "$ac_dir" || 1498 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1499 continue 1500 ac_builddir=. 1501 1502 case "$ac_dir" in 1503 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1504 *) 1505 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1506 # A ".." for each directory in $ac_dir_suffix. 1507 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1508 case $ac_top_builddir_sub in 1509 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1510 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1511 esac ;; 1512 esac 1513 ac_abs_top_builddir=$ac_pwd 1514 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1515 # for backward compatibility: 1516 ac_top_builddir=$ac_top_build_prefix 1517 1518 case $srcdir in 1519 .) # We are building in place. 1520 ac_srcdir=. 1521 ac_top_srcdir=$ac_top_builddir_sub 1522 ac_abs_top_srcdir=$ac_pwd ;; 1523 [\\/]* | ?:[\\/]* ) # Absolute name. 1524 ac_srcdir=$srcdir$ac_dir_suffix; 1525 ac_top_srcdir=$srcdir 1526 ac_abs_top_srcdir=$srcdir ;; 1527 *) # Relative name. 1528 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1529 ac_top_srcdir=$ac_top_build_prefix$srcdir 1530 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1531 esac 1532 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1533 1534 cd "$ac_dir" || { ac_status=$?; continue; } 1535 # Check for guested configure. 1536 if test -f "$ac_srcdir/configure.gnu"; then 1537 echo && 1538 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1539 elif test -f "$ac_srcdir/configure"; then 1540 echo && 1541 $SHELL "$ac_srcdir/configure" --help=recursive 1542 else 1543 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1544 fi || ac_status=$? 1545 cd "$ac_pwd" || { ac_status=$?; break; } 1546 done 1547 fi 1548 1549 test -n "$ac_init_help" && exit $ac_status 1550 if $ac_init_version; then 1551 cat <<\_ACEOF 1552 strace configure 4.21 1553 generated by GNU Autoconf 2.69 1554 1555 Copyright (C) 2012 Free Software Foundation, Inc. 1556 This configure script is free software; the Free Software Foundation 1557 gives unlimited permission to copy, distribute and modify it. 1558 1559 Copyright (c) 1999-2018 The strace developers. 1560 _ACEOF 1561 exit 1562 fi 1563 1564 ## ------------------------ ## 1565 ## Autoconf initialization. ## 1566 ## ------------------------ ## 1567 1568 # ac_fn_c_try_compile LINENO 1569 # -------------------------- 1570 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1571 ac_fn_c_try_compile () 1572 { 1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1574 rm -f conftest.$ac_objext 1575 if { { ac_try="$ac_compile" 1576 case "(($ac_try" in 1577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1578 *) ac_try_echo=$ac_try;; 1579 esac 1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1581 $as_echo "$ac_try_echo"; } >&5 1582 (eval "$ac_compile") 2>conftest.err 1583 ac_status=$? 1584 if test -s conftest.err; then 1585 grep -v '^ *+' conftest.err >conftest.er1 1586 cat conftest.er1 >&5 1587 mv -f conftest.er1 conftest.err 1588 fi 1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1590 test $ac_status = 0; } && { 1591 test -z "$ac_c_werror_flag" || 1592 test ! -s conftest.err 1593 } && test -s conftest.$ac_objext; then : 1594 ac_retval=0 1595 else 1596 $as_echo "$as_me: failed program was:" >&5 1597 sed 's/^/| /' conftest.$ac_ext >&5 1598 1599 ac_retval=1 1600 fi 1601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1602 as_fn_set_status $ac_retval 1603 1604 } # ac_fn_c_try_compile 1605 1606 # ac_fn_c_try_cpp LINENO 1607 # ---------------------- 1608 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1609 ac_fn_c_try_cpp () 1610 { 1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1612 if { { ac_try="$ac_cpp conftest.$ac_ext" 1613 case "(($ac_try" in 1614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1615 *) ac_try_echo=$ac_try;; 1616 esac 1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1618 $as_echo "$ac_try_echo"; } >&5 1619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1620 ac_status=$? 1621 if test -s conftest.err; then 1622 grep -v '^ *+' conftest.err >conftest.er1 1623 cat conftest.er1 >&5 1624 mv -f conftest.er1 conftest.err 1625 fi 1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1627 test $ac_status = 0; } > conftest.i && { 1628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1629 test ! -s conftest.err 1630 }; then : 1631 ac_retval=0 1632 else 1633 $as_echo "$as_me: failed program was:" >&5 1634 sed 's/^/| /' conftest.$ac_ext >&5 1635 1636 ac_retval=1 1637 fi 1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1639 as_fn_set_status $ac_retval 1640 1641 } # ac_fn_c_try_cpp 1642 1643 # ac_fn_c_try_link LINENO 1644 # ----------------------- 1645 # Try to link conftest.$ac_ext, and return whether this succeeded. 1646 ac_fn_c_try_link () 1647 { 1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1649 rm -f conftest.$ac_objext conftest$ac_exeext 1650 if { { ac_try="$ac_link" 1651 case "(($ac_try" in 1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1653 *) ac_try_echo=$ac_try;; 1654 esac 1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1656 $as_echo "$ac_try_echo"; } >&5 1657 (eval "$ac_link") 2>conftest.err 1658 ac_status=$? 1659 if test -s conftest.err; then 1660 grep -v '^ *+' conftest.err >conftest.er1 1661 cat conftest.er1 >&5 1662 mv -f conftest.er1 conftest.err 1663 fi 1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1665 test $ac_status = 0; } && { 1666 test -z "$ac_c_werror_flag" || 1667 test ! -s conftest.err 1668 } && test -s conftest$ac_exeext && { 1669 test "$cross_compiling" = yes || 1670 test -x conftest$ac_exeext 1671 }; then : 1672 ac_retval=0 1673 else 1674 $as_echo "$as_me: failed program was:" >&5 1675 sed 's/^/| /' conftest.$ac_ext >&5 1676 1677 ac_retval=1 1678 fi 1679 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1680 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1681 # interfere with the next link command; also delete a directory that is 1682 # left behind by Apple's compiler. We do this before executing the actions. 1683 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1685 as_fn_set_status $ac_retval 1686 1687 } # ac_fn_c_try_link 1688 1689 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1690 # ------------------------------------------------------- 1691 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1692 # the include files in INCLUDES and setting the cache variable VAR 1693 # accordingly. 1694 ac_fn_c_check_header_mongrel () 1695 { 1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1697 if eval \${$3+:} false; then : 1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1699 $as_echo_n "checking for $2... " >&6; } 1700 if eval \${$3+:} false; then : 1701 $as_echo_n "(cached) " >&6 1702 fi 1703 eval ac_res=\$$3 1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1705 $as_echo "$ac_res" >&6; } 1706 else 1707 # Is the header compilable? 1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1709 $as_echo_n "checking $2 usability... " >&6; } 1710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1711 /* end confdefs.h. */ 1712 $4 1713 #include <$2> 1714 _ACEOF 1715 if ac_fn_c_try_compile "$LINENO"; then : 1716 ac_header_compiler=yes 1717 else 1718 ac_header_compiler=no 1719 fi 1720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1722 $as_echo "$ac_header_compiler" >&6; } 1723 1724 # Is the header present? 1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1726 $as_echo_n "checking $2 presence... " >&6; } 1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1728 /* end confdefs.h. */ 1729 #include <$2> 1730 _ACEOF 1731 if ac_fn_c_try_cpp "$LINENO"; then : 1732 ac_header_preproc=yes 1733 else 1734 ac_header_preproc=no 1735 fi 1736 rm -f conftest.err conftest.i conftest.$ac_ext 1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1738 $as_echo "$ac_header_preproc" >&6; } 1739 1740 # So? What about this header? 1741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1742 yes:no: ) 1743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1744 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1747 ;; 1748 no:yes:* ) 1749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1750 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1752 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1754 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1756 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1758 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1759 ( $as_echo "## ------------------------------------------------- ## 1760 ## Report this to strace-devel (at] lists.sourceforge.net ## 1761 ## ------------------------------------------------- ##" 1762 ) | sed "s/^/$as_me: WARNING: /" >&2 1763 ;; 1764 esac 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1766 $as_echo_n "checking for $2... " >&6; } 1767 if eval \${$3+:} false; then : 1768 $as_echo_n "(cached) " >&6 1769 else 1770 eval "$3=\$ac_header_compiler" 1771 fi 1772 eval ac_res=\$$3 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1774 $as_echo "$ac_res" >&6; } 1775 fi 1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1777 1778 } # ac_fn_c_check_header_mongrel 1779 1780 # ac_fn_c_try_run LINENO 1781 # ---------------------- 1782 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1783 # that executables *can* be run. 1784 ac_fn_c_try_run () 1785 { 1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1787 if { { ac_try="$ac_link" 1788 case "(($ac_try" in 1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1790 *) ac_try_echo=$ac_try;; 1791 esac 1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1793 $as_echo "$ac_try_echo"; } >&5 1794 (eval "$ac_link") 2>&5 1795 ac_status=$? 1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1797 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1798 { { case "(($ac_try" in 1799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1800 *) ac_try_echo=$ac_try;; 1801 esac 1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1803 $as_echo "$ac_try_echo"; } >&5 1804 (eval "$ac_try") 2>&5 1805 ac_status=$? 1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1807 test $ac_status = 0; }; }; then : 1808 ac_retval=0 1809 else 1810 $as_echo "$as_me: program exited with status $ac_status" >&5 1811 $as_echo "$as_me: failed program was:" >&5 1812 sed 's/^/| /' conftest.$ac_ext >&5 1813 1814 ac_retval=$ac_status 1815 fi 1816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1818 as_fn_set_status $ac_retval 1819 1820 } # ac_fn_c_try_run 1821 1822 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1823 # ------------------------------------------------------- 1824 # Tests whether HEADER exists and can be compiled using the include files in 1825 # INCLUDES, setting the cache variable VAR accordingly. 1826 ac_fn_c_check_header_compile () 1827 { 1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1830 $as_echo_n "checking for $2... " >&6; } 1831 if eval \${$3+:} false; then : 1832 $as_echo_n "(cached) " >&6 1833 else 1834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1835 /* end confdefs.h. */ 1836 $4 1837 #include <$2> 1838 _ACEOF 1839 if ac_fn_c_try_compile "$LINENO"; then : 1840 eval "$3=yes" 1841 else 1842 eval "$3=no" 1843 fi 1844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1845 fi 1846 eval ac_res=\$$3 1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1848 $as_echo "$ac_res" >&6; } 1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1850 1851 } # ac_fn_c_check_header_compile 1852 1853 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1854 # -------------------------------------------- 1855 # Tries to find the compile-time value of EXPR in a program that includes 1856 # INCLUDES, setting VAR accordingly. Returns whether the value could be 1857 # computed 1858 ac_fn_c_compute_int () 1859 { 1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1861 if test "$cross_compiling" = yes; then 1862 # Depending upon the size, compute the lo and hi bounds. 1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1864 /* end confdefs.h. */ 1865 $4 1866 int 1867 main () 1868 { 1869 static int test_array [1 - 2 * !(($2) >= 0)]; 1870 test_array [0] = 0; 1871 return test_array [0]; 1872 1873 ; 1874 return 0; 1875 } 1876 _ACEOF 1877 if ac_fn_c_try_compile "$LINENO"; then : 1878 ac_lo=0 ac_mid=0 1879 while :; do 1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1881 /* end confdefs.h. */ 1882 $4 1883 int 1884 main () 1885 { 1886 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1887 test_array [0] = 0; 1888 return test_array [0]; 1889 1890 ; 1891 return 0; 1892 } 1893 _ACEOF 1894 if ac_fn_c_try_compile "$LINENO"; then : 1895 ac_hi=$ac_mid; break 1896 else 1897 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1898 if test $ac_lo -le $ac_mid; then 1899 ac_lo= ac_hi= 1900 break 1901 fi 1902 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1903 fi 1904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1905 done 1906 else 1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1908 /* end confdefs.h. */ 1909 $4 1910 int 1911 main () 1912 { 1913 static int test_array [1 - 2 * !(($2) < 0)]; 1914 test_array [0] = 0; 1915 return test_array [0]; 1916 1917 ; 1918 return 0; 1919 } 1920 _ACEOF 1921 if ac_fn_c_try_compile "$LINENO"; then : 1922 ac_hi=-1 ac_mid=-1 1923 while :; do 1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1925 /* end confdefs.h. */ 1926 $4 1927 int 1928 main () 1929 { 1930 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1931 test_array [0] = 0; 1932 return test_array [0]; 1933 1934 ; 1935 return 0; 1936 } 1937 _ACEOF 1938 if ac_fn_c_try_compile "$LINENO"; then : 1939 ac_lo=$ac_mid; break 1940 else 1941 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1942 if test $ac_mid -le $ac_hi; then 1943 ac_lo= ac_hi= 1944 break 1945 fi 1946 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1947 fi 1948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1949 done 1950 else 1951 ac_lo= ac_hi= 1952 fi 1953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1954 fi 1955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1956 # Binary search between lo and hi bounds. 1957 while test "x$ac_lo" != "x$ac_hi"; do 1958 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1960 /* end confdefs.h. */ 1961 $4 1962 int 1963 main () 1964 { 1965 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1966 test_array [0] = 0; 1967 return test_array [0]; 1968 1969 ; 1970 return 0; 1971 } 1972 _ACEOF 1973 if ac_fn_c_try_compile "$LINENO"; then : 1974 ac_hi=$ac_mid 1975 else 1976 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1977 fi 1978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1979 done 1980 case $ac_lo in #(( 1981 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1982 '') ac_retval=1 ;; 1983 esac 1984 else 1985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1986 /* end confdefs.h. */ 1987 $4 1988 static long int longval () { return $2; } 1989 static unsigned long int ulongval () { return $2; } 1990 #include <stdio.h> 1991 #include <stdlib.h> 1992 int 1993 main () 1994 { 1995 1996 FILE *f = fopen ("conftest.val", "w"); 1997 if (! f) 1998 return 1; 1999 if (($2) < 0) 2000 { 2001 long int i = longval (); 2002 if (i != ($2)) 2003 return 1; 2004 fprintf (f, "%ld", i); 2005 } 2006 else 2007 { 2008 unsigned long int i = ulongval (); 2009 if (i != ($2)) 2010 return 1; 2011 fprintf (f, "%lu", i); 2012 } 2013 /* Do not output a trailing newline, as this causes \r\n confusion 2014 on some platforms. */ 2015 return ferror (f) || fclose (f) != 0; 2016 2017 ; 2018 return 0; 2019 } 2020 _ACEOF 2021 if ac_fn_c_try_run "$LINENO"; then : 2022 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2023 else 2024 ac_retval=1 2025 fi 2026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2027 conftest.$ac_objext conftest.beam conftest.$ac_ext 2028 rm -f conftest.val 2029 2030 fi 2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2032 as_fn_set_status $ac_retval 2033 2034 } # ac_fn_c_compute_int 2035 2036 # ac_fn_c_check_func LINENO FUNC VAR 2037 # ---------------------------------- 2038 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2039 ac_fn_c_check_func () 2040 { 2041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2043 $as_echo_n "checking for $2... " >&6; } 2044 if eval \${$3+:} false; then : 2045 $as_echo_n "(cached) " >&6 2046 else 2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2048 /* end confdefs.h. */ 2049 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2050 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2051 #define $2 innocuous_$2 2052 2053 /* Tell GNU C headers to include stubs. */ 2054 #define __need_GNU_STUBS_H 2055 2056 /* System header to define __stub macros and hopefully few prototypes, 2057 which can conflict with char $2 (); below. 2058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2059 <limits.h> exists even on freestanding compilers. */ 2060 2061 #ifdef __STDC__ 2062 # include <limits.h> 2063 #else 2064 # include <assert.h> 2065 #endif 2066 2067 #undef $2 2068 2069 /* Override any GCC internal prototype to avoid an error. 2070 Use char because int might match the return type of a GCC 2071 builtin and then its argument prototype would still apply. */ 2072 #ifdef __cplusplus 2073 extern "C" 2074 #endif 2075 char $2 (); 2076 /* The GNU C library defines this for functions which it implements 2077 to always fail with ENOSYS. Some functions are actually named 2078 something starting with __ and the normal name is an alias. */ 2079 #if defined __stub_$2 || defined __stub___$2 2080 choke me 2081 #endif 2082 2083 int 2084 main () 2085 { 2086 return $2 (); 2087 ; 2088 return 0; 2089 } 2090 _ACEOF 2091 if ac_fn_c_try_link "$LINENO"; then : 2092 eval "$3=yes" 2093 else 2094 if test "$GCC" = yes; then 2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2096 /* end confdefs.h. */ 2097 #undef $2 2098 /* Declare this function with the same prototype as __builtin_$2. 2099 This removes a warning about conflicting types for built-in function $2 */ 2100 __typeof__(__builtin_$2) $2; 2101 __typeof__(__builtin_$2) *f = $2; 2102 2103 int 2104 main () 2105 { 2106 return f != $2; 2107 ; 2108 return 0; 2109 } 2110 _ACEOF 2111 if ac_fn_c_try_link "$LINENO"; then : 2112 eval "$3=yes" 2113 else 2114 eval "$3=no" 2115 fi 2116 rm -f core conftest.err conftest.$ac_objext \ 2117 conftest$ac_exeext conftest.$ac_ext 2118 else 2119 eval "$3=no" 2120 fi 2121 fi 2122 rm -f core conftest.err conftest.$ac_objext \ 2123 conftest$ac_exeext conftest.$ac_ext 2124 fi 2125 eval ac_res=\$$3 2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2127 $as_echo "$ac_res" >&6; } 2128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2129 2130 } # ac_fn_c_check_func 2131 2132 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2133 # ------------------------------------------- 2134 # Tests whether TYPE exists after having included INCLUDES, setting cache 2135 # variable VAR accordingly. 2136 ac_fn_c_check_type () 2137 { 2138 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2140 $as_echo_n "checking for $2... " >&6; } 2141 if eval \${$3+:} false; then : 2142 $as_echo_n "(cached) " >&6 2143 else 2144 eval "$3=no" 2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2146 /* end confdefs.h. */ 2147 $4 2148 int 2149 main () 2150 { 2151 if (sizeof ($2)) 2152 return 0; 2153 ; 2154 return 0; 2155 } 2156 _ACEOF 2157 if ac_fn_c_try_compile "$LINENO"; then : 2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2159 /* end confdefs.h. */ 2160 $4 2161 int 2162 main () 2163 { 2164 if (sizeof (($2))) 2165 return 0; 2166 ; 2167 return 0; 2168 } 2169 _ACEOF 2170 if ac_fn_c_try_compile "$LINENO"; then : 2171 2172 else 2173 eval "$3=yes" 2174 fi 2175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2176 fi 2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2178 fi 2179 eval ac_res=\$$3 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2181 $as_echo "$ac_res" >&6; } 2182 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2183 2184 } # ac_fn_c_check_type 2185 2186 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2187 # ---------------------------------------------------- 2188 # Tries to find if the field MEMBER exists in type AGGR, after including 2189 # INCLUDES, setting cache variable VAR accordingly. 2190 ac_fn_c_check_member () 2191 { 2192 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2194 $as_echo_n "checking for $2.$3... " >&6; } 2195 if eval \${$4+:} false; then : 2196 $as_echo_n "(cached) " >&6 2197 else 2198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2199 /* end confdefs.h. */ 2200 $5 2201 int 2202 main () 2203 { 2204 static $2 ac_aggr; 2205 if (ac_aggr.$3) 2206 return 0; 2207 ; 2208 return 0; 2209 } 2210 _ACEOF 2211 if ac_fn_c_try_compile "$LINENO"; then : 2212 eval "$4=yes" 2213 else 2214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2215 /* end confdefs.h. */ 2216 $5 2217 int 2218 main () 2219 { 2220 static $2 ac_aggr; 2221 if (sizeof ac_aggr.$3) 2222 return 0; 2223 ; 2224 return 0; 2225 } 2226 _ACEOF 2227 if ac_fn_c_try_compile "$LINENO"; then : 2228 eval "$4=yes" 2229 else 2230 eval "$4=no" 2231 fi 2232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2233 fi 2234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2235 fi 2236 eval ac_res=\$$4 2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2238 $as_echo "$ac_res" >&6; } 2239 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2240 2241 } # ac_fn_c_check_member 2242 2243 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2244 # --------------------------------------------- 2245 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2246 # accordingly. 2247 ac_fn_c_check_decl () 2248 { 2249 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2250 as_decl_name=`echo $2|sed 's/ *(.*//'` 2251 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2253 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2254 if eval \${$3+:} false; then : 2255 $as_echo_n "(cached) " >&6 2256 else 2257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2258 /* end confdefs.h. */ 2259 $4 2260 int 2261 main () 2262 { 2263 #ifndef $as_decl_name 2264 #ifdef __cplusplus 2265 (void) $as_decl_use; 2266 #else 2267 (void) $as_decl_name; 2268 #endif 2269 #endif 2270 2271 ; 2272 return 0; 2273 } 2274 _ACEOF 2275 if ac_fn_c_try_compile "$LINENO"; then : 2276 eval "$3=yes" 2277 else 2278 eval "$3=no" 2279 fi 2280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2281 fi 2282 eval ac_res=\$$3 2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2284 $as_echo "$ac_res" >&6; } 2285 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2286 2287 } # ac_fn_c_check_decl 2288 cat >config.log <<_ACEOF 2289 This file contains any messages produced by compilers while 2290 running configure, to aid debugging if configure makes a mistake. 2291 2292 It was created by strace $as_me 4.21, which was 2293 generated by GNU Autoconf 2.69. Invocation command line was 2294 2295 $ $0 $@ 2296 2297 _ACEOF 2298 exec 5>>config.log 2299 { 2300 cat <<_ASUNAME 2301 ## --------- ## 2302 ## Platform. ## 2303 ## --------- ## 2304 2305 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2306 uname -m = `(uname -m) 2>/dev/null || echo unknown` 2307 uname -r = `(uname -r) 2>/dev/null || echo unknown` 2308 uname -s = `(uname -s) 2>/dev/null || echo unknown` 2309 uname -v = `(uname -v) 2>/dev/null || echo unknown` 2310 2311 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2312 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2313 2314 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2315 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2316 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2317 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2318 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2319 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2320 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2321 2322 _ASUNAME 2323 2324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2325 for as_dir in $PATH 2326 do 2327 IFS=$as_save_IFS 2328 test -z "$as_dir" && as_dir=. 2329 $as_echo "PATH: $as_dir" 2330 done 2331 IFS=$as_save_IFS 2332 2333 } >&5 2334 2335 cat >&5 <<_ACEOF 2336 2337 2338 ## ----------- ## 2339 ## Core tests. ## 2340 ## ----------- ## 2341 2342 _ACEOF 2343 2344 2345 # Keep a trace of the command line. 2346 # Strip out --no-create and --no-recursion so they do not pile up. 2347 # Strip out --silent because we don't want to record it for future runs. 2348 # Also quote any args containing shell meta-characters. 2349 # Make two passes to allow for proper duplicate-argument suppression. 2350 ac_configure_args= 2351 ac_configure_args0= 2352 ac_configure_args1= 2353 ac_must_keep_next=false 2354 for ac_pass in 1 2 2355 do 2356 for ac_arg 2357 do 2358 case $ac_arg in 2359 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2361 | -silent | --silent | --silen | --sile | --sil) 2362 continue ;; 2363 *\'*) 2364 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2365 esac 2366 case $ac_pass in 2367 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2368 2) 2369 as_fn_append ac_configure_args1 " '$ac_arg'" 2370 if test $ac_must_keep_next = true; then 2371 ac_must_keep_next=false # Got value, back to normal. 2372 else 2373 case $ac_arg in 2374 *=* | --config-cache | -C | -disable-* | --disable-* \ 2375 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2376 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2377 | -with-* | --with-* | -without-* | --without-* | --x) 2378 case "$ac_configure_args0 " in 2379 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2380 esac 2381 ;; 2382 -* ) ac_must_keep_next=true ;; 2383 esac 2384 fi 2385 as_fn_append ac_configure_args " '$ac_arg'" 2386 ;; 2387 esac 2388 done 2389 done 2390 { ac_configure_args0=; unset ac_configure_args0;} 2391 { ac_configure_args1=; unset ac_configure_args1;} 2392 2393 # When interrupted or exit'd, cleanup temporary files, and complete 2394 # config.log. We remove comments because anyway the quotes in there 2395 # would cause problems or look ugly. 2396 # WARNING: Use '\'' to represent an apostrophe within the trap. 2397 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2398 trap 'exit_status=$? 2399 # Sanitize IFS. 2400 IFS=" "" $as_nl" 2401 # Save into config.log some information that might help in debugging. 2402 { 2403 echo 2404 2405 $as_echo "## ---------------- ## 2406 ## Cache variables. ## 2407 ## ---------------- ##" 2408 echo 2409 # The following way of writing the cache mishandles newlines in values, 2410 ( 2411 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2412 eval ac_val=\$$ac_var 2413 case $ac_val in #( 2414 *${as_nl}*) 2415 case $ac_var in #( 2416 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2417 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2418 esac 2419 case $ac_var in #( 2420 _ | IFS | as_nl) ;; #( 2421 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2422 *) { eval $ac_var=; unset $ac_var;} ;; 2423 esac ;; 2424 esac 2425 done 2426 (set) 2>&1 | 2427 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2428 *${as_nl}ac_space=\ *) 2429 sed -n \ 2430 "s/'\''/'\''\\\\'\'''\''/g; 2431 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2432 ;; #( 2433 *) 2434 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2435 ;; 2436 esac | 2437 sort 2438 ) 2439 echo 2440 2441 $as_echo "## ----------------- ## 2442 ## Output variables. ## 2443 ## ----------------- ##" 2444 echo 2445 for ac_var in $ac_subst_vars 2446 do 2447 eval ac_val=\$$ac_var 2448 case $ac_val in 2449 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2450 esac 2451 $as_echo "$ac_var='\''$ac_val'\''" 2452 done | sort 2453 echo 2454 2455 if test -n "$ac_subst_files"; then 2456 $as_echo "## ------------------- ## 2457 ## File substitutions. ## 2458 ## ------------------- ##" 2459 echo 2460 for ac_var in $ac_subst_files 2461 do 2462 eval ac_val=\$$ac_var 2463 case $ac_val in 2464 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2465 esac 2466 $as_echo "$ac_var='\''$ac_val'\''" 2467 done | sort 2468 echo 2469 fi 2470 2471 if test -s confdefs.h; then 2472 $as_echo "## ----------- ## 2473 ## confdefs.h. ## 2474 ## ----------- ##" 2475 echo 2476 cat confdefs.h 2477 echo 2478 fi 2479 test "$ac_signal" != 0 && 2480 $as_echo "$as_me: caught signal $ac_signal" 2481 $as_echo "$as_me: exit $exit_status" 2482 } >&5 2483 rm -f core *.core core.conftest.* && 2484 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2485 exit $exit_status 2486 ' 0 2487 for ac_signal in 1 2 13 15; do 2488 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2489 done 2490 ac_signal=0 2491 2492 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2493 rm -f -r conftest* confdefs.h 2494 2495 $as_echo "/* confdefs.h */" > confdefs.h 2496 2497 # Predefined preprocessor variables. 2498 2499 cat >>confdefs.h <<_ACEOF 2500 #define PACKAGE_NAME "$PACKAGE_NAME" 2501 _ACEOF 2502 2503 cat >>confdefs.h <<_ACEOF 2504 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2505 _ACEOF 2506 2507 cat >>confdefs.h <<_ACEOF 2508 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2509 _ACEOF 2510 2511 cat >>confdefs.h <<_ACEOF 2512 #define PACKAGE_STRING "$PACKAGE_STRING" 2513 _ACEOF 2514 2515 cat >>confdefs.h <<_ACEOF 2516 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2517 _ACEOF 2518 2519 cat >>confdefs.h <<_ACEOF 2520 #define PACKAGE_URL "$PACKAGE_URL" 2521 _ACEOF 2522 2523 2524 # Let the site file select an alternate cache file if it wants to. 2525 # Prefer an explicitly selected file to automatically selected ones. 2526 ac_site_file1=NONE 2527 ac_site_file2=NONE 2528 if test -n "$CONFIG_SITE"; then 2529 # We do not want a PATH search for config.site. 2530 case $CONFIG_SITE in #(( 2531 -*) ac_site_file1=./$CONFIG_SITE;; 2532 */*) ac_site_file1=$CONFIG_SITE;; 2533 *) ac_site_file1=./$CONFIG_SITE;; 2534 esac 2535 elif test "x$prefix" != xNONE; then 2536 ac_site_file1=$prefix/share/config.site 2537 ac_site_file2=$prefix/etc/config.site 2538 else 2539 ac_site_file1=$ac_default_prefix/share/config.site 2540 ac_site_file2=$ac_default_prefix/etc/config.site 2541 fi 2542 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2543 do 2544 test "x$ac_site_file" = xNONE && continue 2545 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2546 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2547 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2548 sed 's/^/| /' "$ac_site_file" >&5 2549 . "$ac_site_file" \ 2550 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2552 as_fn_error $? "failed to load site script $ac_site_file 2553 See \`config.log' for more details" "$LINENO" 5; } 2554 fi 2555 done 2556 2557 if test -r "$cache_file"; then 2558 # Some versions of bash will fail to source /dev/null (special files 2559 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2560 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2561 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2562 $as_echo "$as_me: loading cache $cache_file" >&6;} 2563 case $cache_file in 2564 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2565 *) . "./$cache_file";; 2566 esac 2567 fi 2568 else 2569 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2570 $as_echo "$as_me: creating cache $cache_file" >&6;} 2571 >$cache_file 2572 fi 2573 2574 # Check that the precious variables saved in the cache have kept the same 2575 # value. 2576 ac_cache_corrupted=false 2577 for ac_var in $ac_precious_vars; do 2578 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2579 eval ac_new_set=\$ac_env_${ac_var}_set 2580 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2581 eval ac_new_val=\$ac_env_${ac_var}_value 2582 case $ac_old_set,$ac_new_set in 2583 set,) 2584 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2585 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2586 ac_cache_corrupted=: ;; 2587 ,set) 2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2589 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2590 ac_cache_corrupted=: ;; 2591 ,);; 2592 *) 2593 if test "x$ac_old_val" != "x$ac_new_val"; then 2594 # differences in whitespace do not lead to failure. 2595 ac_old_val_w=`echo x $ac_old_val` 2596 ac_new_val_w=`echo x $ac_new_val` 2597 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2599 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2600 ac_cache_corrupted=: 2601 else 2602 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2603 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2604 eval $ac_var=\$ac_old_val 2605 fi 2606 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2607 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2608 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2609 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2610 fi;; 2611 esac 2612 # Pass precious variables to config.status. 2613 if test "$ac_new_set" = set; then 2614 case $ac_new_val in 2615 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2616 *) ac_arg=$ac_var=$ac_new_val ;; 2617 esac 2618 case " $ac_configure_args " in 2619 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2620 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2621 esac 2622 fi 2623 done 2624 if $ac_cache_corrupted; then 2625 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2628 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2629 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2630 fi 2631 ## -------------------- ## 2632 ## Main body of script. ## 2633 ## -------------------- ## 2634 2635 ac_ext=c 2636 ac_cpp='$CPP $CPPFLAGS' 2637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2639 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2640 2641 2642 2643 2644 2645 2646 ac_aux_dir= 2647 for ac_dir in . "$srcdir"/.; do 2648 if test -f "$ac_dir/install-sh"; then 2649 ac_aux_dir=$ac_dir 2650 ac_install_sh="$ac_aux_dir/install-sh -c" 2651 break 2652 elif test -f "$ac_dir/install.sh"; then 2653 ac_aux_dir=$ac_dir 2654 ac_install_sh="$ac_aux_dir/install.sh -c" 2655 break 2656 elif test -f "$ac_dir/shtool"; then 2657 ac_aux_dir=$ac_dir 2658 ac_install_sh="$ac_aux_dir/shtool install -c" 2659 break 2660 fi 2661 done 2662 if test -z "$ac_aux_dir"; then 2663 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 2664 fi 2665 2666 # These three variables are undocumented and unsupported, 2667 # and are intended to be withdrawn in a future Autoconf release. 2668 # They can cause serious problems if a builder's source tree is in a directory 2669 # whose full name contains unusual characters. 2670 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2671 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2672 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2673 2674 2675 ac_config_headers="$ac_config_headers config.h" 2676 2677 am__api_version='1.14' 2678 2679 # Find a good install program. We prefer a C program (faster), 2680 # so one script is as good as another. But avoid the broken or 2681 # incompatible versions: 2682 # SysV /etc/install, /usr/sbin/install 2683 # SunOS /usr/etc/install 2684 # IRIX /sbin/install 2685 # AIX /bin/install 2686 # AmigaOS /C/install, which installs bootblocks on floppy discs 2687 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2688 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2689 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2690 # OS/2's system install, which has a completely different semantic 2691 # ./install, which can be erroneously created by make from ./install.sh. 2692 # Reject install programs that cannot install multiple files. 2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2694 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2695 if test -z "$INSTALL"; then 2696 if ${ac_cv_path_install+:} false; then : 2697 $as_echo_n "(cached) " >&6 2698 else 2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2700 for as_dir in $PATH 2701 do 2702 IFS=$as_save_IFS 2703 test -z "$as_dir" && as_dir=. 2704 # Account for people who put trailing slashes in PATH elements. 2705 case $as_dir/ in #(( 2706 ./ | .// | /[cC]/* | \ 2707 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2708 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2709 /usr/ucb/* ) ;; 2710 *) 2711 # OSF1 and SCO ODT 3.0 have their own names for install. 2712 # Don't use installbsd from OSF since it installs stuff as root 2713 # by default. 2714 for ac_prog in ginstall scoinst install; do 2715 for ac_exec_ext in '' $ac_executable_extensions; do 2716 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2717 if test $ac_prog = install && 2718 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2719 # AIX install. It has an incompatible calling convention. 2720 : 2721 elif test $ac_prog = install && 2722 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2723 # program-specific install script used by HP pwplus--don't use. 2724 : 2725 else 2726 rm -rf conftest.one conftest.two conftest.dir 2727 echo one > conftest.one 2728 echo two > conftest.two 2729 mkdir conftest.dir 2730 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2731 test -s conftest.one && test -s conftest.two && 2732 test -s conftest.dir/conftest.one && 2733 test -s conftest.dir/conftest.two 2734 then 2735 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2736 break 3 2737 fi 2738 fi 2739 fi 2740 done 2741 done 2742 ;; 2743 esac 2744 2745 done 2746 IFS=$as_save_IFS 2747 2748 rm -rf conftest.one conftest.two conftest.dir 2749 2750 fi 2751 if test "${ac_cv_path_install+set}" = set; then 2752 INSTALL=$ac_cv_path_install 2753 else 2754 # As a last resort, use the slow shell script. Don't cache a 2755 # value for INSTALL within a source directory, because that will 2756 # break other packages using the cache if that directory is 2757 # removed, or if the value is a relative name. 2758 INSTALL=$ac_install_sh 2759 fi 2760 fi 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2762 $as_echo "$INSTALL" >&6; } 2763 2764 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2765 # It thinks the first close brace ends the variable substitution. 2766 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2767 2768 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2769 2770 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2771 2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2773 $as_echo_n "checking whether build environment is sane... " >&6; } 2774 # Reject unsafe characters in $srcdir or the absolute working directory 2775 # name. Accept space and tab only in the latter. 2776 am_lf=' 2777 ' 2778 case `pwd` in 2779 *[\\\"\#\$\&\'\`$am_lf]*) 2780 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2781 esac 2782 case $srcdir in 2783 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2784 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2785 esac 2786 2787 # Do 'set' in a subshell so we don't clobber the current shell's 2788 # arguments. Must try -L first in case configure is actually a 2789 # symlink; some systems play weird games with the mod time of symlinks 2790 # (eg FreeBSD returns the mod time of the symlink's containing 2791 # directory). 2792 if ( 2793 am_has_slept=no 2794 for am_try in 1 2; do 2795 echo "timestamp, slept: $am_has_slept" > conftest.file 2796 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2797 if test "$*" = "X"; then 2798 # -L didn't work. 2799 set X `ls -t "$srcdir/configure" conftest.file` 2800 fi 2801 if test "$*" != "X $srcdir/configure conftest.file" \ 2802 && test "$*" != "X conftest.file $srcdir/configure"; then 2803 2804 # If neither matched, then we have a broken ls. This can happen 2805 # if, for instance, CONFIG_SHELL is bash and it inherits a 2806 # broken ls alias from the environment. This has actually 2807 # happened. Such a system could not be considered "sane". 2808 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2809 alias in your environment" "$LINENO" 5 2810 fi 2811 if test "$2" = conftest.file || test $am_try -eq 2; then 2812 break 2813 fi 2814 # Just in case. 2815 sleep 1 2816 am_has_slept=yes 2817 done 2818 test "$2" = conftest.file 2819 ) 2820 then 2821 # Ok. 2822 : 2823 else 2824 as_fn_error $? "newly created file is older than distributed files! 2825 Check your system clock" "$LINENO" 5 2826 fi 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2828 $as_echo "yes" >&6; } 2829 # If we didn't sleep, we still need to ensure time stamps of config.status and 2830 # generated files are strictly newer. 2831 am_sleep_pid= 2832 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2833 ( sleep 1 ) & 2834 am_sleep_pid=$! 2835 fi 2836 2837 rm -f conftest.file 2838 2839 test "$program_prefix" != NONE && 2840 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2841 # Use a double $ so make ignores it. 2842 test "$program_suffix" != NONE && 2843 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2844 # Double any \ or $. 2845 # By default was `s,x,x', remove it if useless. 2846 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2847 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2848 2849 # expand $ac_aux_dir to an absolute path 2850 am_aux_dir=`cd $ac_aux_dir && pwd` 2851 2852 if test x"${MISSING+set}" != xset; then 2853 case $am_aux_dir in 2854 *\ * | *\ *) 2855 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2856 *) 2857 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2858 esac 2859 fi 2860 # Use eval to expand $SHELL 2861 if eval "$MISSING --is-lightweight"; then 2862 am_missing_run="$MISSING " 2863 else 2864 am_missing_run= 2865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2866 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2867 fi 2868 2869 if test x"${install_sh}" != xset; then 2870 case $am_aux_dir in 2871 *\ * | *\ *) 2872 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2873 *) 2874 install_sh="\${SHELL} $am_aux_dir/install-sh" 2875 esac 2876 fi 2877 2878 # Installed binaries are usually stripped using 'strip' when the user 2879 # run "make install-strip". However 'strip' might not be the right 2880 # tool to use in cross-compilation environments, therefore Automake 2881 # will honor the 'STRIP' environment variable to overrule this program. 2882 if test "$cross_compiling" != no; then 2883 if test -n "$ac_tool_prefix"; then 2884 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2885 set dummy ${ac_tool_prefix}strip; ac_word=$2 2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2887 $as_echo_n "checking for $ac_word... " >&6; } 2888 if ${ac_cv_prog_STRIP+:} false; then : 2889 $as_echo_n "(cached) " >&6 2890 else 2891 if test -n "$STRIP"; then 2892 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2893 else 2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2895 for as_dir in $PATH 2896 do 2897 IFS=$as_save_IFS 2898 test -z "$as_dir" && as_dir=. 2899 for ac_exec_ext in '' $ac_executable_extensions; do 2900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2901 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2903 break 2 2904 fi 2905 done 2906 done 2907 IFS=$as_save_IFS 2908 2909 fi 2910 fi 2911 STRIP=$ac_cv_prog_STRIP 2912 if test -n "$STRIP"; then 2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2914 $as_echo "$STRIP" >&6; } 2915 else 2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2917 $as_echo "no" >&6; } 2918 fi 2919 2920 2921 fi 2922 if test -z "$ac_cv_prog_STRIP"; then 2923 ac_ct_STRIP=$STRIP 2924 # Extract the first word of "strip", so it can be a program name with args. 2925 set dummy strip; ac_word=$2 2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2927 $as_echo_n "checking for $ac_word... " >&6; } 2928 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2929 $as_echo_n "(cached) " >&6 2930 else 2931 if test -n "$ac_ct_STRIP"; then 2932 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2933 else 2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2935 for as_dir in $PATH 2936 do 2937 IFS=$as_save_IFS 2938 test -z "$as_dir" && as_dir=. 2939 for ac_exec_ext in '' $ac_executable_extensions; do 2940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2941 ac_cv_prog_ac_ct_STRIP="strip" 2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2943 break 2 2944 fi 2945 done 2946 done 2947 IFS=$as_save_IFS 2948 2949 fi 2950 fi 2951 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2952 if test -n "$ac_ct_STRIP"; then 2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2954 $as_echo "$ac_ct_STRIP" >&6; } 2955 else 2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2957 $as_echo "no" >&6; } 2958 fi 2959 2960 if test "x$ac_ct_STRIP" = x; then 2961 STRIP=":" 2962 else 2963 case $cross_compiling:$ac_tool_warned in 2964 yes:) 2965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2967 ac_tool_warned=yes ;; 2968 esac 2969 STRIP=$ac_ct_STRIP 2970 fi 2971 else 2972 STRIP="$ac_cv_prog_STRIP" 2973 fi 2974 2975 fi 2976 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2977 2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2979 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2980 if test -z "$MKDIR_P"; then 2981 if ${ac_cv_path_mkdir+:} false; then : 2982 $as_echo_n "(cached) " >&6 2983 else 2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2985 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2986 do 2987 IFS=$as_save_IFS 2988 test -z "$as_dir" && as_dir=. 2989 for ac_prog in mkdir gmkdir; do 2990 for ac_exec_ext in '' $ac_executable_extensions; do 2991 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2992 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2993 'mkdir (GNU coreutils) '* | \ 2994 'mkdir (coreutils) '* | \ 2995 'mkdir (fileutils) '4.1*) 2996 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2997 break 3;; 2998 esac 2999 done 3000 done 3001 done 3002 IFS=$as_save_IFS 3003 3004 fi 3005 3006 test -d ./--version && rmdir ./--version 3007 if test "${ac_cv_path_mkdir+set}" = set; then 3008 MKDIR_P="$ac_cv_path_mkdir -p" 3009 else 3010 # As a last resort, use the slow shell script. Don't cache a 3011 # value for MKDIR_P within a source directory, because that will 3012 # break other packages using the cache if that directory is 3013 # removed, or if the value is a relative name. 3014 MKDIR_P="$ac_install_sh -d" 3015 fi 3016 fi 3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3018 $as_echo "$MKDIR_P" >&6; } 3019 3020 for ac_prog in gawk mawk nawk awk 3021 do 3022 # Extract the first word of "$ac_prog", so it can be a program name with args. 3023 set dummy $ac_prog; ac_word=$2 3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3025 $as_echo_n "checking for $ac_word... " >&6; } 3026 if ${ac_cv_prog_AWK+:} false; then : 3027 $as_echo_n "(cached) " >&6 3028 else 3029 if test -n "$AWK"; then 3030 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3031 else 3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3033 for as_dir in $PATH 3034 do 3035 IFS=$as_save_IFS 3036 test -z "$as_dir" && as_dir=. 3037 for ac_exec_ext in '' $ac_executable_extensions; do 3038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3039 ac_cv_prog_AWK="$ac_prog" 3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3041 break 2 3042 fi 3043 done 3044 done 3045 IFS=$as_save_IFS 3046 3047 fi 3048 fi 3049 AWK=$ac_cv_prog_AWK 3050 if test -n "$AWK"; then 3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3052 $as_echo "$AWK" >&6; } 3053 else 3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3055 $as_echo "no" >&6; } 3056 fi 3057 3058 3059 test -n "$AWK" && break 3060 done 3061 3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3063 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3064 set x ${MAKE-make} 3065 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3066 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3067 $as_echo_n "(cached) " >&6 3068 else 3069 cat >conftest.make <<\_ACEOF 3070 SHELL = /bin/sh 3071 all: 3072 @echo '@@@%%%=$(MAKE)=@@@%%%' 3073 _ACEOF 3074 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3075 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3076 *@@@%%%=?*=@@@%%%*) 3077 eval ac_cv_prog_make_${ac_make}_set=yes;; 3078 *) 3079 eval ac_cv_prog_make_${ac_make}_set=no;; 3080 esac 3081 rm -f conftest.make 3082 fi 3083 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3085 $as_echo "yes" >&6; } 3086 SET_MAKE= 3087 else 3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3089 $as_echo "no" >&6; } 3090 SET_MAKE="MAKE=${MAKE-make}" 3091 fi 3092 3093 rm -rf .tst 2>/dev/null 3094 mkdir .tst 2>/dev/null 3095 if test -d .tst; then 3096 am__leading_dot=. 3097 else 3098 am__leading_dot=_ 3099 fi 3100 rmdir .tst 2>/dev/null 3101 3102 # Check whether --enable-silent-rules was given. 3103 if test "${enable_silent_rules+set}" = set; then : 3104 enableval=$enable_silent_rules; 3105 fi 3106 3107 case $enable_silent_rules in # ((( 3108 yes) AM_DEFAULT_VERBOSITY=0;; 3109 no) AM_DEFAULT_VERBOSITY=1;; 3110 *) AM_DEFAULT_VERBOSITY=1;; 3111 esac 3112 am_make=${MAKE-make} 3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3114 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3115 if ${am_cv_make_support_nested_variables+:} false; then : 3116 $as_echo_n "(cached) " >&6 3117 else 3118 if $as_echo 'TRUE=$(BAR$(V)) 3119 BAR0=false 3120 BAR1=true 3121 V=1 3122 am__doit: 3123 @$(TRUE) 3124 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3125 am_cv_make_support_nested_variables=yes 3126 else 3127 am_cv_make_support_nested_variables=no 3128 fi 3129 fi 3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3131 $as_echo "$am_cv_make_support_nested_variables" >&6; } 3132 if test $am_cv_make_support_nested_variables = yes; then 3133 AM_V='$(V)' 3134 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3135 else 3136 AM_V=$AM_DEFAULT_VERBOSITY 3137 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3138 fi 3139 AM_BACKSLASH='\' 3140 3141 if test "`cd $srcdir && pwd`" != "`pwd`"; then 3142 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3143 # is not polluted with repeated "-I." 3144 am__isrc=' -I$(srcdir)' 3145 # test to see if srcdir already configured 3146 if test -f $srcdir/config.status; then 3147 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3148 fi 3149 fi 3150 3151 # test whether we have cygpath 3152 if test -z "$CYGPATH_W"; then 3153 if (cygpath --version) >/dev/null 2>/dev/null; then 3154 CYGPATH_W='cygpath -w' 3155 else 3156 CYGPATH_W=echo 3157 fi 3158 fi 3159 3160 3161 # Define the identity of the package. 3162 PACKAGE='strace' 3163 VERSION='4.21' 3164 3165 3166 cat >>confdefs.h <<_ACEOF 3167 #define PACKAGE "$PACKAGE" 3168 _ACEOF 3169 3170 3171 cat >>confdefs.h <<_ACEOF 3172 #define VERSION "$VERSION" 3173 _ACEOF 3174 3175 # Some tools Automake needs. 3176 3177 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3178 3179 3180 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3181 3182 3183 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3184 3185 3186 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3187 3188 3189 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3190 3191 # For better backward compatibility. To be removed once Automake 1.9.x 3192 # dies out for good. For more background, see: 3193 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3194 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3195 mkdir_p='$(MKDIR_P)' 3196 3197 # We need awk for the "check" target. The system "awk" is bad on 3198 # some platforms. 3199 # Always define AMTAR for backward compatibility. Yes, it's still used 3200 # in the wild :-( We should find a proper way to deprecate it ... 3201 AMTAR='$${TAR-tar}' 3202 3203 3204 # We'll loop over all known methods to create a tar archive until one works. 3205 _am_tools='gnutar pax cpio none' 3206 3207 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3208 3209 3210 3211 3212 3213 3214 # POSIX will say in a future version that running "rm -f" with no argument 3215 # is OK; and we want to be able to make that assumption in our Makefile 3216 # recipes. So use an aggressive probe to check that the usage we want is 3217 # actually supported "in the wild" to an acceptable degree. 3218 # See automake bug#10828. 3219 # To make any issue more visible, cause the running configure to be aborted 3220 # by default if the 'rm' program in use doesn't match our expectations; the 3221 # user can still override this though. 3222 if rm -f && rm -fr && rm -rf; then : OK; else 3223 cat >&2 <<'END' 3224 Oops! 3225 3226 Your 'rm' program seems unable to run without file operands specified 3227 on the command line, even when the '-f' option is present. This is contrary 3228 to the behaviour of most rm programs out there, and not conforming with 3229 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3230 3231 Please tell bug-automake@gnu.org about your system, including the value 3232 of your $PATH and any error possibly output before this message. This 3233 can help us improve future automake versions. 3234 3235 END 3236 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3237 echo 'Configuration will proceed anyway, since you have set the' >&2 3238 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3239 echo >&2 3240 else 3241 cat >&2 <<'END' 3242 Aborting the configuration process, to ensure you take notice of the issue. 3243 3244 You can download and install GNU coreutils to get an 'rm' implementation 3245 that behaves properly: <http://www.gnu.org/software/coreutils/>. 3246 3247 If you want to complete the configuration process using your problematic 3248 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3249 to "yes", and re-run configure. 3250 3251 END 3252 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3253 fi 3254 fi 3255 3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3257 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3258 # Check whether --enable-maintainer-mode was given. 3259 if test "${enable_maintainer_mode+set}" = set; then : 3260 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3261 else 3262 USE_MAINTAINER_MODE=no 3263 fi 3264 3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3266 $as_echo "$USE_MAINTAINER_MODE" >&6; } 3267 if test $USE_MAINTAINER_MODE = yes; then 3268 MAINTAINER_MODE_TRUE= 3269 MAINTAINER_MODE_FALSE='#' 3270 else 3271 MAINTAINER_MODE_TRUE='#' 3272 MAINTAINER_MODE_FALSE= 3273 fi 3274 3275 MAINT=$MAINTAINER_MODE_TRUE 3276 3277 3278 # Make sure we can run config.sub. 3279 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3280 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3281 3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3283 $as_echo_n "checking build system type... " >&6; } 3284 if ${ac_cv_build+:} false; then : 3285 $as_echo_n "(cached) " >&6 3286 else 3287 ac_build_alias=$build_alias 3288 test "x$ac_build_alias" = x && 3289 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3290 test "x$ac_build_alias" = x && 3291 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3292 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3293 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3294 3295 fi 3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3297 $as_echo "$ac_cv_build" >&6; } 3298 case $ac_cv_build in 3299 *-*-*) ;; 3300 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3301 esac 3302 build=$ac_cv_build 3303 ac_save_IFS=$IFS; IFS='-' 3304 set x $ac_cv_build 3305 shift 3306 build_cpu=$1 3307 build_vendor=$2 3308 shift; shift 3309 # Remember, the first character of IFS is used to create $*, 3310 # except with old shells: 3311 build_os=$* 3312 IFS=$ac_save_IFS 3313 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3314 3315 3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3317 $as_echo_n "checking host system type... " >&6; } 3318 if ${ac_cv_host+:} false; then : 3319 $as_echo_n "(cached) " >&6 3320 else 3321 if test "x$host_alias" = x; then 3322 ac_cv_host=$ac_cv_build 3323 else 3324 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3325 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3326 fi 3327 3328 fi 3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3330 $as_echo "$ac_cv_host" >&6; } 3331 case $ac_cv_host in 3332 *-*-*) ;; 3333 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3334 esac 3335 host=$ac_cv_host 3336 ac_save_IFS=$IFS; IFS='-' 3337 set x $ac_cv_host 3338 shift 3339 host_cpu=$1 3340 host_vendor=$2 3341 shift; shift 3342 # Remember, the first character of IFS is used to create $*, 3343 # except with old shells: 3344 host_os=$* 3345 IFS=$ac_save_IFS 3346 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3347 3348 3349 3350 RPM_CHANGELOGTIME="$(LC_TIME=C date '+%a %b %d %Y')" 3351 3352 DEB_CHANGELOGTIME="$(LC_TIME=C date -R)" 3353 3354 3355 ac_ext=c 3356 ac_cpp='$CPP $CPPFLAGS' 3357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3359 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3360 if test -n "$ac_tool_prefix"; then 3361 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3362 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3364 $as_echo_n "checking for $ac_word... " >&6; } 3365 if ${ac_cv_prog_CC+:} false; then : 3366 $as_echo_n "(cached) " >&6 3367 else 3368 if test -n "$CC"; then 3369 ac_cv_prog_CC="$CC" # Let the user override the test. 3370 else 3371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3372 for as_dir in $PATH 3373 do 3374 IFS=$as_save_IFS 3375 test -z "$as_dir" && as_dir=. 3376 for ac_exec_ext in '' $ac_executable_extensions; do 3377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3378 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3380 break 2 3381 fi 3382 done 3383 done 3384 IFS=$as_save_IFS 3385 3386 fi 3387 fi 3388 CC=$ac_cv_prog_CC 3389 if test -n "$CC"; then 3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3391 $as_echo "$CC" >&6; } 3392 else 3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3394 $as_echo "no" >&6; } 3395 fi 3396 3397 3398 fi 3399 if test -z "$ac_cv_prog_CC"; then 3400 ac_ct_CC=$CC 3401 # Extract the first word of "gcc", so it can be a program name with args. 3402 set dummy gcc; ac_word=$2 3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3404 $as_echo_n "checking for $ac_word... " >&6; } 3405 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3406 $as_echo_n "(cached) " >&6 3407 else 3408 if test -n "$ac_ct_CC"; then 3409 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3410 else 3411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3412 for as_dir in $PATH 3413 do 3414 IFS=$as_save_IFS 3415 test -z "$as_dir" && as_dir=. 3416 for ac_exec_ext in '' $ac_executable_extensions; do 3417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3418 ac_cv_prog_ac_ct_CC="gcc" 3419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3420 break 2 3421 fi 3422 done 3423 done 3424 IFS=$as_save_IFS 3425 3426 fi 3427 fi 3428 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3429 if test -n "$ac_ct_CC"; then 3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3431 $as_echo "$ac_ct_CC" >&6; } 3432 else 3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3434 $as_echo "no" >&6; } 3435 fi 3436 3437 if test "x$ac_ct_CC" = x; then 3438 CC="" 3439 else 3440 case $cross_compiling:$ac_tool_warned in 3441 yes:) 3442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3444 ac_tool_warned=yes ;; 3445 esac 3446 CC=$ac_ct_CC 3447 fi 3448 else 3449 CC="$ac_cv_prog_CC" 3450 fi 3451 3452 if test -z "$CC"; then 3453 if test -n "$ac_tool_prefix"; then 3454 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3455 set dummy ${ac_tool_prefix}cc; ac_word=$2 3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3457 $as_echo_n "checking for $ac_word... " >&6; } 3458 if ${ac_cv_prog_CC+:} false; then : 3459 $as_echo_n "(cached) " >&6 3460 else 3461 if test -n "$CC"; then 3462 ac_cv_prog_CC="$CC" # Let the user override the test. 3463 else 3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3465 for as_dir in $PATH 3466 do 3467 IFS=$as_save_IFS 3468 test -z "$as_dir" && as_dir=. 3469 for ac_exec_ext in '' $ac_executable_extensions; do 3470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3471 ac_cv_prog_CC="${ac_tool_prefix}cc" 3472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3473 break 2 3474 fi 3475 done 3476 done 3477 IFS=$as_save_IFS 3478 3479 fi 3480 fi 3481 CC=$ac_cv_prog_CC 3482 if test -n "$CC"; then 3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3484 $as_echo "$CC" >&6; } 3485 else 3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3487 $as_echo "no" >&6; } 3488 fi 3489 3490 3491 fi 3492 fi 3493 if test -z "$CC"; then 3494 # Extract the first word of "cc", so it can be a program name with args. 3495 set dummy cc; ac_word=$2 3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3497 $as_echo_n "checking for $ac_word... " >&6; } 3498 if ${ac_cv_prog_CC+:} false; then : 3499 $as_echo_n "(cached) " >&6 3500 else 3501 if test -n "$CC"; then 3502 ac_cv_prog_CC="$CC" # Let the user override the test. 3503 else 3504 ac_prog_rejected=no 3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3506 for as_dir in $PATH 3507 do 3508 IFS=$as_save_IFS 3509 test -z "$as_dir" && as_dir=. 3510 for ac_exec_ext in '' $ac_executable_extensions; do 3511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3512 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3513 ac_prog_rejected=yes 3514 continue 3515 fi 3516 ac_cv_prog_CC="cc" 3517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3518 break 2 3519 fi 3520 done 3521 done 3522 IFS=$as_save_IFS 3523 3524 if test $ac_prog_rejected = yes; then 3525 # We found a bogon in the path, so make sure we never use it. 3526 set dummy $ac_cv_prog_CC 3527 shift 3528 if test $# != 0; then 3529 # We chose a different compiler from the bogus one. 3530 # However, it has the same basename, so the bogon will be chosen 3531 # first if we set CC to just the basename; use the full file name. 3532 shift 3533 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3534 fi 3535 fi 3536 fi 3537 fi 3538 CC=$ac_cv_prog_CC 3539 if test -n "$CC"; then 3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3541 $as_echo "$CC" >&6; } 3542 else 3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3544 $as_echo "no" >&6; } 3545 fi 3546 3547 3548 fi 3549 if test -z "$CC"; then 3550 if test -n "$ac_tool_prefix"; then 3551 for ac_prog in cl.exe 3552 do 3553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3554 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3556 $as_echo_n "checking for $ac_word... " >&6; } 3557 if ${ac_cv_prog_CC+:} false; then : 3558 $as_echo_n "(cached) " >&6 3559 else 3560 if test -n "$CC"; then 3561 ac_cv_prog_CC="$CC" # Let the user override the test. 3562 else 3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3564 for as_dir in $PATH 3565 do 3566 IFS=$as_save_IFS 3567 test -z "$as_dir" && as_dir=. 3568 for ac_exec_ext in '' $ac_executable_extensions; do 3569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3570 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3572 break 2 3573 fi 3574 done 3575 done 3576 IFS=$as_save_IFS 3577 3578 fi 3579 fi 3580 CC=$ac_cv_prog_CC 3581 if test -n "$CC"; then 3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3583 $as_echo "$CC" >&6; } 3584 else 3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3586 $as_echo "no" >&6; } 3587 fi 3588 3589 3590 test -n "$CC" && break 3591 done 3592 fi 3593 if test -z "$CC"; then 3594 ac_ct_CC=$CC 3595 for ac_prog in cl.exe 3596 do 3597 # Extract the first word of "$ac_prog", so it can be a program name with args. 3598 set dummy $ac_prog; ac_word=$2 3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3600 $as_echo_n "checking for $ac_word... " >&6; } 3601 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3602 $as_echo_n "(cached) " >&6 3603 else 3604 if test -n "$ac_ct_CC"; then 3605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3606 else 3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3608 for as_dir in $PATH 3609 do 3610 IFS=$as_save_IFS 3611 test -z "$as_dir" && as_dir=. 3612 for ac_exec_ext in '' $ac_executable_extensions; do 3613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3614 ac_cv_prog_ac_ct_CC="$ac_prog" 3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3616 break 2 3617 fi 3618 done 3619 done 3620 IFS=$as_save_IFS 3621 3622 fi 3623 fi 3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3625 if test -n "$ac_ct_CC"; then 3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3627 $as_echo "$ac_ct_CC" >&6; } 3628 else 3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3630 $as_echo "no" >&6; } 3631 fi 3632 3633 3634 test -n "$ac_ct_CC" && break 3635 done 3636 3637 if test "x$ac_ct_CC" = x; then 3638 CC="" 3639 else 3640 case $cross_compiling:$ac_tool_warned in 3641 yes:) 3642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3644 ac_tool_warned=yes ;; 3645 esac 3646 CC=$ac_ct_CC 3647 fi 3648 fi 3649 3650 fi 3651 3652 3653 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3655 as_fn_error $? "no acceptable C compiler found in \$PATH 3656 See \`config.log' for more details" "$LINENO" 5; } 3657 3658 # Provide some information about the compiler. 3659 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3660 set X $ac_compile 3661 ac_compiler=$2 3662 for ac_option in --version -v -V -qversion; do 3663 { { ac_try="$ac_compiler $ac_option >&5" 3664 case "(($ac_try" in 3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3666 *) ac_try_echo=$ac_try;; 3667 esac 3668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3669 $as_echo "$ac_try_echo"; } >&5 3670 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3671 ac_status=$? 3672 if test -s conftest.err; then 3673 sed '10a\ 3674 ... rest of stderr output deleted ... 3675 10q' conftest.err >conftest.er1 3676 cat conftest.er1 >&5 3677 fi 3678 rm -f conftest.er1 conftest.err 3679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3680 test $ac_status = 0; } 3681 done 3682 3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3684 /* end confdefs.h. */ 3685 3686 int 3687 main () 3688 { 3689 3690 ; 3691 return 0; 3692 } 3693 _ACEOF 3694 ac_clean_files_save=$ac_clean_files 3695 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3696 # Try to create an executable without -o first, disregard a.out. 3697 # It will help us diagnose broken compilers, and finding out an intuition 3698 # of exeext. 3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3700 $as_echo_n "checking whether the C compiler works... " >&6; } 3701 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3702 3703 # The possible output files: 3704 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3705 3706 ac_rmfiles= 3707 for ac_file in $ac_files 3708 do 3709 case $ac_file in 3710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3711 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3712 esac 3713 done 3714 rm -f $ac_rmfiles 3715 3716 if { { ac_try="$ac_link_default" 3717 case "(($ac_try" in 3718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3719 *) ac_try_echo=$ac_try;; 3720 esac 3721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3722 $as_echo "$ac_try_echo"; } >&5 3723 (eval "$ac_link_default") 2>&5 3724 ac_status=$? 3725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3726 test $ac_status = 0; }; then : 3727 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3728 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3729 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3730 # so that the user can short-circuit this test for compilers unknown to 3731 # Autoconf. 3732 for ac_file in $ac_files '' 3733 do 3734 test -f "$ac_file" || continue 3735 case $ac_file in 3736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3737 ;; 3738 [ab].out ) 3739 # We found the default executable, but exeext='' is most 3740 # certainly right. 3741 break;; 3742 *.* ) 3743 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3744 then :; else 3745 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3746 fi 3747 # We set ac_cv_exeext here because the later test for it is not 3748 # safe: cross compilers may not add the suffix if given an `-o' 3749 # argument, so we may need to know it at that point already. 3750 # Even if this section looks crufty: it has the advantage of 3751 # actually working. 3752 break;; 3753 * ) 3754 break;; 3755 esac 3756 done 3757 test "$ac_cv_exeext" = no && ac_cv_exeext= 3758 3759 else 3760 ac_file='' 3761 fi 3762 if test -z "$ac_file"; then : 3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3764 $as_echo "no" >&6; } 3765 $as_echo "$as_me: failed program was:" >&5 3766 sed 's/^/| /' conftest.$ac_ext >&5 3767 3768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3770 as_fn_error 77 "C compiler cannot create executables 3771 See \`config.log' for more details" "$LINENO" 5; } 3772 else 3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3774 $as_echo "yes" >&6; } 3775 fi 3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3777 $as_echo_n "checking for C compiler default output file name... " >&6; } 3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3779 $as_echo "$ac_file" >&6; } 3780 ac_exeext=$ac_cv_exeext 3781 3782 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3783 ac_clean_files=$ac_clean_files_save 3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3785 $as_echo_n "checking for suffix of executables... " >&6; } 3786 if { { ac_try="$ac_link" 3787 case "(($ac_try" in 3788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3789 *) ac_try_echo=$ac_try;; 3790 esac 3791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3792 $as_echo "$ac_try_echo"; } >&5 3793 (eval "$ac_link") 2>&5 3794 ac_status=$? 3795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3796 test $ac_status = 0; }; then : 3797 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3798 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3799 # work properly (i.e., refer to `conftest.exe'), while it won't with 3800 # `rm'. 3801 for ac_file in conftest.exe conftest conftest.*; do 3802 test -f "$ac_file" || continue 3803 case $ac_file in 3804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3805 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3806 break;; 3807 * ) break;; 3808 esac 3809 done 3810 else 3811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3813 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3814 See \`config.log' for more details" "$LINENO" 5; } 3815 fi 3816 rm -f conftest conftest$ac_cv_exeext 3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3818 $as_echo "$ac_cv_exeext" >&6; } 3819 3820 rm -f conftest.$ac_ext 3821 EXEEXT=$ac_cv_exeext 3822 ac_exeext=$EXEEXT 3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3824 /* end confdefs.h. */ 3825 #include <stdio.h> 3826 int 3827 main () 3828 { 3829 FILE *f = fopen ("conftest.out", "w"); 3830 return ferror (f) || fclose (f) != 0; 3831 3832 ; 3833 return 0; 3834 } 3835 _ACEOF 3836 ac_clean_files="$ac_clean_files conftest.out" 3837 # Check that the compiler produces executables we can run. If not, either 3838 # the compiler is broken, or we cross compile. 3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3840 $as_echo_n "checking whether we are cross compiling... " >&6; } 3841 if test "$cross_compiling" != yes; then 3842 { { ac_try="$ac_link" 3843 case "(($ac_try" in 3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3845 *) ac_try_echo=$ac_try;; 3846 esac 3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3848 $as_echo "$ac_try_echo"; } >&5 3849 (eval "$ac_link") 2>&5 3850 ac_status=$? 3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3852 test $ac_status = 0; } 3853 if { ac_try='./conftest$ac_cv_exeext' 3854 { { case "(($ac_try" in 3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3856 *) ac_try_echo=$ac_try;; 3857 esac 3858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3859 $as_echo "$ac_try_echo"; } >&5 3860 (eval "$ac_try") 2>&5 3861 ac_status=$? 3862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3863 test $ac_status = 0; }; }; then 3864 cross_compiling=no 3865 else 3866 if test "$cross_compiling" = maybe; then 3867 cross_compiling=yes 3868 else 3869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3871 as_fn_error $? "cannot run C compiled programs. 3872 If you meant to cross compile, use \`--host'. 3873 See \`config.log' for more details" "$LINENO" 5; } 3874 fi 3875 fi 3876 fi 3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3878 $as_echo "$cross_compiling" >&6; } 3879 3880 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3881 ac_clean_files=$ac_clean_files_save 3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3883 $as_echo_n "checking for suffix of object files... " >&6; } 3884 if ${ac_cv_objext+:} false; then : 3885 $as_echo_n "(cached) " >&6 3886 else 3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3888 /* end confdefs.h. */ 3889 3890 int 3891 main () 3892 { 3893 3894 ; 3895 return 0; 3896 } 3897 _ACEOF 3898 rm -f conftest.o conftest.obj 3899 if { { ac_try="$ac_compile" 3900 case "(($ac_try" in 3901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3902 *) ac_try_echo=$ac_try;; 3903 esac 3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3905 $as_echo "$ac_try_echo"; } >&5 3906 (eval "$ac_compile") 2>&5 3907 ac_status=$? 3908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3909 test $ac_status = 0; }; then : 3910 for ac_file in conftest.o conftest.obj conftest.*; do 3911 test -f "$ac_file" || continue; 3912 case $ac_file in 3913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3914 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3915 break;; 3916 esac 3917 done 3918 else 3919 $as_echo "$as_me: failed program was:" >&5 3920 sed 's/^/| /' conftest.$ac_ext >&5 3921 3922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3924 as_fn_error $? "cannot compute suffix of object files: cannot compile 3925 See \`config.log' for more details" "$LINENO" 5; } 3926 fi 3927 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3928 fi 3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3930 $as_echo "$ac_cv_objext" >&6; } 3931 OBJEXT=$ac_cv_objext 3932 ac_objext=$OBJEXT 3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3934 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3935 if ${ac_cv_c_compiler_gnu+:} false; then : 3936 $as_echo_n "(cached) " >&6 3937 else 3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3939 /* end confdefs.h. */ 3940 3941 int 3942 main () 3943 { 3944 #ifndef __GNUC__ 3945 choke me 3946 #endif 3947 3948 ; 3949 return 0; 3950 } 3951 _ACEOF 3952 if ac_fn_c_try_compile "$LINENO"; then : 3953 ac_compiler_gnu=yes 3954 else 3955 ac_compiler_gnu=no 3956 fi 3957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3958 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3959 3960 fi 3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3962 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3963 if test $ac_compiler_gnu = yes; then 3964 GCC=yes 3965 else 3966 GCC= 3967 fi 3968 ac_test_CFLAGS=${CFLAGS+set} 3969 ac_save_CFLAGS=$CFLAGS 3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3971 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3972 if ${ac_cv_prog_cc_g+:} false; then : 3973 $as_echo_n "(cached) " >&6 3974 else 3975 ac_save_c_werror_flag=$ac_c_werror_flag 3976 ac_c_werror_flag=yes 3977 ac_cv_prog_cc_g=no 3978 CFLAGS="-g" 3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3980 /* end confdefs.h. */ 3981 3982 int 3983 main () 3984 { 3985 3986 ; 3987 return 0; 3988 } 3989 _ACEOF 3990 if ac_fn_c_try_compile "$LINENO"; then : 3991 ac_cv_prog_cc_g=yes 3992 else 3993 CFLAGS="" 3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3995 /* end confdefs.h. */ 3996 3997 int 3998 main () 3999 { 4000 4001 ; 4002 return 0; 4003 } 4004 _ACEOF 4005 if ac_fn_c_try_compile "$LINENO"; then : 4006 4007 else 4008 ac_c_werror_flag=$ac_save_c_werror_flag 4009 CFLAGS="-g" 4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4011 /* end confdefs.h. */ 4012 4013 int 4014 main () 4015 { 4016 4017 ; 4018 return 0; 4019 } 4020 _ACEOF 4021 if ac_fn_c_try_compile "$LINENO"; then : 4022 ac_cv_prog_cc_g=yes 4023 fi 4024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4025 fi 4026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4027 fi 4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4029 ac_c_werror_flag=$ac_save_c_werror_flag 4030 fi 4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4032 $as_echo "$ac_cv_prog_cc_g" >&6; } 4033 if test "$ac_test_CFLAGS" = set; then 4034 CFLAGS=$ac_save_CFLAGS 4035 elif test $ac_cv_prog_cc_g = yes; then 4036 if test "$GCC" = yes; then 4037 CFLAGS="-g -O2" 4038 else 4039 CFLAGS="-g" 4040 fi 4041 else 4042 if test "$GCC" = yes; then 4043 CFLAGS="-O2" 4044 else 4045 CFLAGS= 4046 fi 4047 fi 4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4049 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4050 if ${ac_cv_prog_cc_c89+:} false; then : 4051 $as_echo_n "(cached) " >&6 4052 else 4053 ac_cv_prog_cc_c89=no 4054 ac_save_CC=$CC 4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4056 /* end confdefs.h. */ 4057 #include <stdarg.h> 4058 #include <stdio.h> 4059 struct stat; 4060 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4061 struct buf { int x; }; 4062 FILE * (*rcsopen) (struct buf *, struct stat *, int); 4063 static char *e (p, i) 4064 char **p; 4065 int i; 4066 { 4067 return p[i]; 4068 } 4069 static char *f (char * (*g) (char **, int), char **p, ...) 4070 { 4071 char *s; 4072 va_list v; 4073 va_start (v,p); 4074 s = g (p, va_arg (v,int)); 4075 va_end (v); 4076 return s; 4077 } 4078 4079 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4080 function prototypes and stuff, but not '\xHH' hex character constants. 4081 These don't provoke an error unfortunately, instead are silently treated 4082 as 'x'. The following induces an error, until -std is added to get 4083 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4084 array size at least. It's necessary to write '\x00'==0 to get something 4085 that's true only with -std. */ 4086 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4087 4088 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4089 inside strings and character constants. */ 4090 #define FOO(x) 'x' 4091 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4092 4093 int test (int i, double x); 4094 struct s1 {int (*f) (int a);}; 4095 struct s2 {int (*f) (double a);}; 4096 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4097 int argc; 4098 char **argv; 4099 int 4100 main () 4101 { 4102 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4103 ; 4104 return 0; 4105 } 4106 _ACEOF 4107 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4108 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4109 do 4110 CC="$ac_save_CC $ac_arg" 4111 if ac_fn_c_try_compile "$LINENO"; then : 4112 ac_cv_prog_cc_c89=$ac_arg 4113 fi 4114 rm -f core conftest.err conftest.$ac_objext 4115 test "x$ac_cv_prog_cc_c89" != "xno" && break 4116 done 4117 rm -f conftest.$ac_ext 4118 CC=$ac_save_CC 4119 4120 fi 4121 # AC_CACHE_VAL 4122 case "x$ac_cv_prog_cc_c89" in 4123 x) 4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4125 $as_echo "none needed" >&6; } ;; 4126 xno) 4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4128 $as_echo "unsupported" >&6; } ;; 4129 *) 4130 CC="$CC $ac_cv_prog_cc_c89" 4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4132 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4133 esac 4134 if test "x$ac_cv_prog_cc_c89" != xno; then : 4135 4136 fi 4137 4138 ac_ext=c 4139 ac_cpp='$CPP $CPPFLAGS' 4140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4142 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4143 4144 ac_ext=c 4145 ac_cpp='$CPP $CPPFLAGS' 4146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4148 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4150 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4151 if ${am_cv_prog_cc_c_o+:} false; then : 4152 $as_echo_n "(cached) " >&6 4153 else 4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4155 /* end confdefs.h. */ 4156 4157 int 4158 main () 4159 { 4160 4161 ; 4162 return 0; 4163 } 4164 _ACEOF 4165 # Make sure it works both with $CC and with simple cc. 4166 # Following AC_PROG_CC_C_O, we do the test twice because some 4167 # compilers refuse to overwrite an existing .o file with -o, 4168 # though they will create one. 4169 am_cv_prog_cc_c_o=yes 4170 for am_i in 1 2; do 4171 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4172 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4173 ac_status=$? 4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4175 (exit $ac_status); } \ 4176 && test -f conftest2.$ac_objext; then 4177 : OK 4178 else 4179 am_cv_prog_cc_c_o=no 4180 break 4181 fi 4182 done 4183 rm -f core conftest* 4184 unset am_i 4185 fi 4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4187 $as_echo "$am_cv_prog_cc_c_o" >&6; } 4188 if test "$am_cv_prog_cc_c_o" != yes; then 4189 # Losing compiler, so override with the script. 4190 # FIXME: It is wrong to rewrite CC. 4191 # But if we don't then we get into trouble of one sort or another. 4192 # A longer-term fix would be to have automake use am__CC in this case, 4193 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4194 CC="$am_aux_dir/compile $CC" 4195 fi 4196 ac_ext=c 4197 ac_cpp='$CPP $CPPFLAGS' 4198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4200 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4201 4202 DEPDIR="${am__leading_dot}deps" 4203 4204 ac_config_commands="$ac_config_commands depfiles" 4205 4206 4207 am_make=${MAKE-make} 4208 cat > confinc << 'END' 4209 am__doit: 4210 @echo this is the am__doit target 4211 .PHONY: am__doit 4212 END 4213 # If we don't find an include directive, just comment out the code. 4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4215 $as_echo_n "checking for style of include used by $am_make... " >&6; } 4216 am__include="#" 4217 am__quote= 4218 _am_result=none 4219 # First try GNU make style include. 4220 echo "include confinc" > confmf 4221 # Ignore all kinds of additional output from 'make'. 4222 case `$am_make -s -f confmf 2> /dev/null` in #( 4223 *the\ am__doit\ target*) 4224 am__include=include 4225 am__quote= 4226 _am_result=GNU 4227 ;; 4228 esac 4229 # Now try BSD make style include. 4230 if test "$am__include" = "#"; then 4231 echo '.include "confinc"' > confmf 4232 case `$am_make -s -f confmf 2> /dev/null` in #( 4233 *the\ am__doit\ target*) 4234 am__include=.include 4235 am__quote="\"" 4236 _am_result=BSD 4237 ;; 4238 esac 4239 fi 4240 4241 4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4243 $as_echo "$_am_result" >&6; } 4244 rm -f confinc confmf 4245 4246 # Check whether --enable-dependency-tracking was given. 4247 if test "${enable_dependency_tracking+set}" = set; then : 4248 enableval=$enable_dependency_tracking; 4249 fi 4250 4251 if test "x$enable_dependency_tracking" != xno; then 4252 am_depcomp="$ac_aux_dir/depcomp" 4253 AMDEPBACKSLASH='\' 4254 am__nodep='_no' 4255 fi 4256 if test "x$enable_dependency_tracking" != xno; then 4257 AMDEP_TRUE= 4258 AMDEP_FALSE='#' 4259 else 4260 AMDEP_TRUE='#' 4261 AMDEP_FALSE= 4262 fi 4263 4264 4265 4266 depcc="$CC" am_compiler_list= 4267 4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4269 $as_echo_n "checking dependency style of $depcc... " >&6; } 4270 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4271 $as_echo_n "(cached) " >&6 4272 else 4273 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4274 # We make a subdir and do the tests there. Otherwise we can end up 4275 # making bogus files that we don't know about and never remove. For 4276 # instance it was reported that on HP-UX the gcc test will end up 4277 # making a dummy file named 'D' -- because '-MD' means "put the output 4278 # in D". 4279 rm -rf conftest.dir 4280 mkdir conftest.dir 4281 # Copy depcomp to subdir because otherwise we won't find it if we're 4282 # using a relative directory. 4283 cp "$am_depcomp" conftest.dir 4284 cd conftest.dir 4285 # We will build objects and dependencies in a subdirectory because 4286 # it helps to detect inapplicable dependency modes. For instance 4287 # both Tru64's cc and ICC support -MD to output dependencies as a 4288 # side effect of compilation, but ICC will put the dependencies in 4289 # the current directory while Tru64 will put them in the object 4290 # directory. 4291 mkdir sub 4292 4293 am_cv_CC_dependencies_compiler_type=none 4294 if test "$am_compiler_list" = ""; then 4295 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4296 fi 4297 am__universal=false 4298 case " $depcc " in #( 4299 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4300 esac 4301 4302 for depmode in $am_compiler_list; do 4303 # Setup a source with many dependencies, because some compilers 4304 # like to wrap large dependency lists on column 80 (with \), and 4305 # we should not choose a depcomp mode which is confused by this. 4306 # 4307 # We need to recreate these files for each test, as the compiler may 4308 # overwrite some of them when testing with obscure command lines. 4309 # This happens at least with the AIX C compiler. 4310 : > sub/conftest.c 4311 for i in 1 2 3 4 5 6; do 4312 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4313 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4314 # Solaris 10 /bin/sh. 4315 echo '/* dummy */' > sub/conftst$i.h 4316 done 4317 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4318 4319 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4320 # mode. It turns out that the SunPro C++ compiler does not properly 4321 # handle '-M -o', and we need to detect this. Also, some Intel 4322 # versions had trouble with output in subdirs. 4323 am__obj=sub/conftest.${OBJEXT-o} 4324 am__minus_obj="-o $am__obj" 4325 case $depmode in 4326 gcc) 4327 # This depmode causes a compiler race in universal mode. 4328 test "$am__universal" = false || continue 4329 ;; 4330 nosideeffect) 4331 # After this tag, mechanisms are not by side-effect, so they'll 4332 # only be used when explicitly requested. 4333 if test "x$enable_dependency_tracking" = xyes; then 4334 continue 4335 else 4336 break 4337 fi 4338 ;; 4339 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4340 # This compiler won't grok '-c -o', but also, the minuso test has 4341 # not run yet. These depmodes are late enough in the game, and 4342 # so weak that their functioning should not be impacted. 4343 am__obj=conftest.${OBJEXT-o} 4344 am__minus_obj= 4345 ;; 4346 none) break ;; 4347 esac 4348 if depmode=$depmode \ 4349 source=sub/conftest.c object=$am__obj \ 4350 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4351 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4352 >/dev/null 2>conftest.err && 4353 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4354 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4355 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4356 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4357 # icc doesn't choke on unknown options, it will just issue warnings 4358 # or remarks (even with -Werror). So we grep stderr for any message 4359 # that says an option was ignored or not supported. 4360 # When given -MP, icc 7.0 and 7.1 complain thusly: 4361 # icc: Command line warning: ignoring option '-M'; no argument required 4362 # The diagnosis changed in icc 8.0: 4363 # icc: Command line remark: option '-MP' not supported 4364 if (grep 'ignoring option' conftest.err || 4365 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4366 am_cv_CC_dependencies_compiler_type=$depmode 4367 break 4368 fi 4369 fi 4370 done 4371 4372 cd .. 4373 rm -rf conftest.dir 4374 else 4375 am_cv_CC_dependencies_compiler_type=none 4376 fi 4377 4378 fi 4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4380 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4381 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4382 4383 if 4384 test "x$enable_dependency_tracking" != xno \ 4385 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4386 am__fastdepCC_TRUE= 4387 am__fastdepCC_FALSE='#' 4388 else 4389 am__fastdepCC_TRUE='#' 4390 am__fastdepCC_FALSE= 4391 fi 4392 4393 4394 case $ac_cv_prog_cc_stdc in #( 4395 no) : 4396 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( 4397 *) : 4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 4399 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4400 if ${ac_cv_prog_cc_c99+:} false; then : 4401 $as_echo_n "(cached) " >&6 4402 else 4403 ac_cv_prog_cc_c99=no 4404 ac_save_CC=$CC 4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4406 /* end confdefs.h. */ 4407 #include <stdarg.h> 4408 #include <stdbool.h> 4409 #include <stdlib.h> 4410 #include <wchar.h> 4411 #include <stdio.h> 4412 4413 // Check varargs macros. These examples are taken from C99 6.10.3.5. 4414 #define debug(...) fprintf (stderr, __VA_ARGS__) 4415 #define showlist(...) puts (#__VA_ARGS__) 4416 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4417 static void 4418 test_varargs_macros (void) 4419 { 4420 int x = 1234; 4421 int y = 5678; 4422 debug ("Flag"); 4423 debug ("X = %d\n", x); 4424 showlist (The first, second, and third items.); 4425 report (x>y, "x is %d but y is %d", x, y); 4426 } 4427 4428 // Check long long types. 4429 #define BIG64 18446744073709551615ull 4430 #define BIG32 4294967295ul 4431 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4432 #if !BIG_OK 4433 your preprocessor is broken; 4434 #endif 4435 #if BIG_OK 4436 #else 4437 your preprocessor is broken; 4438 #endif 4439 static long long int bignum = -9223372036854775807LL; 4440 static unsigned long long int ubignum = BIG64; 4441 4442 struct incomplete_array 4443 { 4444 int datasize; 4445 double data[]; 4446 }; 4447 4448 struct named_init { 4449 int number; 4450 const wchar_t *name; 4451 double average; 4452 }; 4453 4454 typedef const char *ccp; 4455 4456 static inline int 4457 test_restrict (ccp restrict text) 4458 { 4459 // See if C++-style comments work. 4460 // Iterate through items via the restricted pointer. 4461 // Also check for declarations in for loops. 4462 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4463 continue; 4464 return 0; 4465 } 4466 4467 // Check varargs and va_copy. 4468 static void 4469 test_varargs (const char *format, ...) 4470 { 4471 va_list args; 4472 va_start (args, format); 4473 va_list args_copy; 4474 va_copy (args_copy, args); 4475 4476 const char *str; 4477 int number; 4478 float fnumber; 4479 4480 while (*format) 4481 { 4482 switch (*format++) 4483 { 4484 case 's': // string 4485 str = va_arg (args_copy, const char *); 4486 break; 4487 case 'd': // int 4488 number = va_arg (args_copy, int); 4489 break; 4490 case 'f': // float 4491 fnumber = va_arg (args_copy, double); 4492 break; 4493 default: 4494 break; 4495 } 4496 } 4497 va_end (args_copy); 4498 va_end (args); 4499 } 4500 4501 int 4502 main () 4503 { 4504 4505 // Check bool. 4506 _Bool success = false; 4507 4508 // Check restrict. 4509 if (test_restrict ("String literal") == 0) 4510 success = true; 4511 char *restrict newvar = "Another string"; 4512 4513 // Check varargs. 4514 test_varargs ("s, d' f .", "string", 65, 34.234); 4515 test_varargs_macros (); 4516 4517 // Check flexible array members. 4518 struct incomplete_array *ia = 4519 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4520 ia->datasize = 10; 4521 for (int i = 0; i < ia->datasize; ++i) 4522 ia->data[i] = i * 1.234; 4523 4524 // Check named initializers. 4525 struct named_init ni = { 4526 .number = 34, 4527 .name = L"Test wide string", 4528 .average = 543.34343, 4529 }; 4530 4531 ni.number = 58; 4532 4533 int dynamic_array[ni.number]; 4534 dynamic_array[ni.number - 1] = 543; 4535 4536 // work around unused variable warnings 4537 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4538 || dynamic_array[ni.number - 1] != 543); 4539 4540 ; 4541 return 0; 4542 } 4543 _ACEOF 4544 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 4545 do 4546 CC="$ac_save_CC $ac_arg" 4547 if ac_fn_c_try_compile "$LINENO"; then : 4548 ac_cv_prog_cc_c99=$ac_arg 4549 fi 4550 rm -f core conftest.err conftest.$ac_objext 4551 test "x$ac_cv_prog_cc_c99" != "xno" && break 4552 done 4553 rm -f conftest.$ac_ext 4554 CC=$ac_save_CC 4555 4556 fi 4557 # AC_CACHE_VAL 4558 case "x$ac_cv_prog_cc_c99" in 4559 x) 4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4561 $as_echo "none needed" >&6; } ;; 4562 xno) 4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4564 $as_echo "unsupported" >&6; } ;; 4565 *) 4566 CC="$CC $ac_cv_prog_cc_c99" 4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4568 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4569 esac 4570 if test "x$ac_cv_prog_cc_c99" != xno; then : 4571 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4572 else 4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4574 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4575 if ${ac_cv_prog_cc_c89+:} false; then : 4576 $as_echo_n "(cached) " >&6 4577 else 4578 ac_cv_prog_cc_c89=no 4579 ac_save_CC=$CC 4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4581 /* end confdefs.h. */ 4582 #include <stdarg.h> 4583 #include <stdio.h> 4584 struct stat; 4585 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4586 struct buf { int x; }; 4587 FILE * (*rcsopen) (struct buf *, struct stat *, int); 4588 static char *e (p, i) 4589 char **p; 4590 int i; 4591 { 4592 return p[i]; 4593 } 4594 static char *f (char * (*g) (char **, int), char **p, ...) 4595 { 4596 char *s; 4597 va_list v; 4598 va_start (v,p); 4599 s = g (p, va_arg (v,int)); 4600 va_end (v); 4601 return s; 4602 } 4603 4604 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4605 function prototypes and stuff, but not '\xHH' hex character constants. 4606 These don't provoke an error unfortunately, instead are silently treated 4607 as 'x'. The following induces an error, until -std is added to get 4608 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4609 array size at least. It's necessary to write '\x00'==0 to get something 4610 that's true only with -std. */ 4611 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4612 4613 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4614 inside strings and character constants. */ 4615 #define FOO(x) 'x' 4616 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4617 4618 int test (int i, double x); 4619 struct s1 {int (*f) (int a);}; 4620 struct s2 {int (*f) (double a);}; 4621 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4622 int argc; 4623 char **argv; 4624 int 4625 main () 4626 { 4627 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4628 ; 4629 return 0; 4630 } 4631 _ACEOF 4632 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4633 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4634 do 4635 CC="$ac_save_CC $ac_arg" 4636 if ac_fn_c_try_compile "$LINENO"; then : 4637 ac_cv_prog_cc_c89=$ac_arg 4638 fi 4639 rm -f core conftest.err conftest.$ac_objext 4640 test "x$ac_cv_prog_cc_c89" != "xno" && break 4641 done 4642 rm -f conftest.$ac_ext 4643 CC=$ac_save_CC 4644 4645 fi 4646 # AC_CACHE_VAL 4647 case "x$ac_cv_prog_cc_c89" in 4648 x) 4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4650 $as_echo "none needed" >&6; } ;; 4651 xno) 4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4653 $as_echo "unsupported" >&6; } ;; 4654 *) 4655 CC="$CC $ac_cv_prog_cc_c89" 4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4657 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4658 esac 4659 if test "x$ac_cv_prog_cc_c89" != xno; then : 4660 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4661 else 4662 ac_cv_prog_cc_stdc=no 4663 fi 4664 4665 fi 4666 ;; 4667 esac 4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 4669 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } 4670 if ${ac_cv_prog_cc_stdc+:} false; then : 4671 $as_echo_n "(cached) " >&6 4672 fi 4673 4674 case $ac_cv_prog_cc_stdc in #( 4675 no) : 4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4677 $as_echo "unsupported" >&6; } ;; #( 4678 '') : 4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4680 $as_echo "none needed" >&6; } ;; #( 4681 *) : 4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 4683 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; 4684 esac 4685 4686 ac_ext=c 4687 ac_cpp='$CPP $CPPFLAGS' 4688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4690 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4692 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4693 # On Suns, sometimes $CPP names a directory. 4694 if test -n "$CPP" && test -d "$CPP"; then 4695 CPP= 4696 fi 4697 if test -z "$CPP"; then 4698 if ${ac_cv_prog_CPP+:} false; then : 4699 $as_echo_n "(cached) " >&6 4700 else 4701 # Double quotes because CPP needs to be expanded 4702 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4703 do 4704 ac_preproc_ok=false 4705 for ac_c_preproc_warn_flag in '' yes 4706 do 4707 # Use a header file that comes with gcc, so configuring glibc 4708 # with a fresh cross-compiler works. 4709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4710 # <limits.h> exists even on freestanding compilers. 4711 # On the NeXT, cc -E runs the code through the compiler's parser, 4712 # not just through cpp. "Syntax error" is here to catch this case. 4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4714 /* end confdefs.h. */ 4715 #ifdef __STDC__ 4716 # include <limits.h> 4717 #else 4718 # include <assert.h> 4719 #endif 4720 Syntax error 4721 _ACEOF 4722 if ac_fn_c_try_cpp "$LINENO"; then : 4723 4724 else 4725 # Broken: fails on valid input. 4726 continue 4727 fi 4728 rm -f conftest.err conftest.i conftest.$ac_ext 4729 4730 # OK, works on sane cases. Now check whether nonexistent headers 4731 # can be detected and how. 4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4733 /* end confdefs.h. */ 4734 #include <ac_nonexistent.h> 4735 _ACEOF 4736 if ac_fn_c_try_cpp "$LINENO"; then : 4737 # Broken: success on invalid input. 4738 continue 4739 else 4740 # Passes both tests. 4741 ac_preproc_ok=: 4742 break 4743 fi 4744 rm -f conftest.err conftest.i conftest.$ac_ext 4745 4746 done 4747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4748 rm -f conftest.i conftest.err conftest.$ac_ext 4749 if $ac_preproc_ok; then : 4750 break 4751 fi 4752 4753 done 4754 ac_cv_prog_CPP=$CPP 4755 4756 fi 4757 CPP=$ac_cv_prog_CPP 4758 else 4759 ac_cv_prog_CPP=$CPP 4760 fi 4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4762 $as_echo "$CPP" >&6; } 4763 ac_preproc_ok=false 4764 for ac_c_preproc_warn_flag in '' yes 4765 do 4766 # Use a header file that comes with gcc, so configuring glibc 4767 # with a fresh cross-compiler works. 4768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4769 # <limits.h> exists even on freestanding compilers. 4770 # On the NeXT, cc -E runs the code through the compiler's parser, 4771 # not just through cpp. "Syntax error" is here to catch this case. 4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4773 /* end confdefs.h. */ 4774 #ifdef __STDC__ 4775 # include <limits.h> 4776 #else 4777 # include <assert.h> 4778 #endif 4779 Syntax error 4780 _ACEOF 4781 if ac_fn_c_try_cpp "$LINENO"; then : 4782 4783 else 4784 # Broken: fails on valid input. 4785 continue 4786 fi 4787 rm -f conftest.err conftest.i conftest.$ac_ext 4788 4789 # OK, works on sane cases. Now check whether nonexistent headers 4790 # can be detected and how. 4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4792 /* end confdefs.h. */ 4793 #include <ac_nonexistent.h> 4794 _ACEOF 4795 if ac_fn_c_try_cpp "$LINENO"; then : 4796 # Broken: success on invalid input. 4797 continue 4798 else 4799 # Passes both tests. 4800 ac_preproc_ok=: 4801 break 4802 fi 4803 rm -f conftest.err conftest.i conftest.$ac_ext 4804 4805 done 4806 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4807 rm -f conftest.i conftest.err conftest.$ac_ext 4808 if $ac_preproc_ok; then : 4809 4810 else 4811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4813 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4814 See \`config.log' for more details" "$LINENO" 5; } 4815 fi 4816 4817 ac_ext=c 4818 ac_cpp='$CPP $CPPFLAGS' 4819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4821 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4822 4823 4824 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4826 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4827 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4828 $as_echo_n "(cached) " >&6 4829 else 4830 4831 gl_save_compiler_FLAGS="$CFLAGS" 4832 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4834 /* end confdefs.h. */ 4835 4836 int 4837 main () 4838 { 4839 4840 ; 4841 return 0; 4842 } 4843 _ACEOF 4844 if ac_fn_c_try_link "$LINENO"; then : 4845 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4846 else 4847 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4848 fi 4849 rm -f core conftest.err conftest.$ac_objext \ 4850 conftest$ac_exeext conftest.$ac_ext 4851 CFLAGS="$gl_save_compiler_FLAGS" 4852 4853 fi 4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4855 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4856 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4857 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4858 else 4859 gl_unknown_warnings_are_errors= 4860 fi 4861 4862 4863 fi 4864 4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wall" >&5 4866 $as_echo_n "checking whether $CC handles -Wall... " >&6; } 4867 if ${gl_cv_warn_CFLAGS__Wall+:} false; then : 4868 $as_echo_n "(cached) " >&6 4869 else 4870 4871 gl_save_compiler_FLAGS="$CFLAGS" 4872 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wall" 4873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4874 /* end confdefs.h. */ 4875 4876 int 4877 main () 4878 { 4879 4880 ; 4881 return 0; 4882 } 4883 _ACEOF 4884 if ac_fn_c_try_link "$LINENO"; then : 4885 gl_cv_warn_CFLAGS__Wall=yes 4886 else 4887 gl_cv_warn_CFLAGS__Wall=no 4888 fi 4889 rm -f core conftest.err conftest.$ac_objext \ 4890 conftest$ac_exeext conftest.$ac_ext 4891 CFLAGS="$gl_save_compiler_FLAGS" 4892 4893 fi 4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wall" >&5 4895 $as_echo "$gl_cv_warn_CFLAGS__Wall" >&6; } 4896 if test "x$gl_cv_warn_CFLAGS__Wall" = xyes; then : 4897 as_fn_append WARN_CFLAGS " -Wall" 4898 fi 4899 4900 4901 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4903 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4904 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4905 $as_echo_n "(cached) " >&6 4906 else 4907 4908 gl_save_compiler_FLAGS="$CFLAGS" 4909 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4911 /* end confdefs.h. */ 4912 4913 int 4914 main () 4915 { 4916 4917 ; 4918 return 0; 4919 } 4920 _ACEOF 4921 if ac_fn_c_try_link "$LINENO"; then : 4922 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4923 else 4924 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4925 fi 4926 rm -f core conftest.err conftest.$ac_objext \ 4927 conftest$ac_exeext conftest.$ac_ext 4928 CFLAGS="$gl_save_compiler_FLAGS" 4929 4930 fi 4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4932 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4933 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4934 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4935 else 4936 gl_unknown_warnings_are_errors= 4937 fi 4938 4939 4940 fi 4941 4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wempty-body" >&5 4943 $as_echo_n "checking whether $CC handles -Wempty-body... " >&6; } 4944 if ${gl_cv_warn_CFLAGS__Wempty_body+:} false; then : 4945 $as_echo_n "(cached) " >&6 4946 else 4947 4948 gl_save_compiler_FLAGS="$CFLAGS" 4949 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wempty-body" 4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4951 /* end confdefs.h. */ 4952 4953 int 4954 main () 4955 { 4956 4957 ; 4958 return 0; 4959 } 4960 _ACEOF 4961 if ac_fn_c_try_link "$LINENO"; then : 4962 gl_cv_warn_CFLAGS__Wempty_body=yes 4963 else 4964 gl_cv_warn_CFLAGS__Wempty_body=no 4965 fi 4966 rm -f core conftest.err conftest.$ac_objext \ 4967 conftest$ac_exeext conftest.$ac_ext 4968 CFLAGS="$gl_save_compiler_FLAGS" 4969 4970 fi 4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wempty_body" >&5 4972 $as_echo "$gl_cv_warn_CFLAGS__Wempty_body" >&6; } 4973 if test "x$gl_cv_warn_CFLAGS__Wempty_body" = xyes; then : 4974 as_fn_append WARN_CFLAGS " -Wempty-body" 4975 fi 4976 4977 4978 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4980 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4981 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4982 $as_echo_n "(cached) " >&6 4983 else 4984 4985 gl_save_compiler_FLAGS="$CFLAGS" 4986 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4988 /* end confdefs.h. */ 4989 4990 int 4991 main () 4992 { 4993 4994 ; 4995 return 0; 4996 } 4997 _ACEOF 4998 if ac_fn_c_try_link "$LINENO"; then : 4999 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5000 else 5001 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5002 fi 5003 rm -f core conftest.err conftest.$ac_objext \ 5004 conftest$ac_exeext conftest.$ac_ext 5005 CFLAGS="$gl_save_compiler_FLAGS" 5006 5007 fi 5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5009 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5010 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5011 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5012 else 5013 gl_unknown_warnings_are_errors= 5014 fi 5015 5016 5017 fi 5018 5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wformat-security" >&5 5020 $as_echo_n "checking whether $CC handles -Wformat-security... " >&6; } 5021 if ${gl_cv_warn_CFLAGS__Wformat_security+:} false; then : 5022 $as_echo_n "(cached) " >&6 5023 else 5024 5025 gl_save_compiler_FLAGS="$CFLAGS" 5026 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-security" 5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5028 /* end confdefs.h. */ 5029 5030 int 5031 main () 5032 { 5033 5034 ; 5035 return 0; 5036 } 5037 _ACEOF 5038 if ac_fn_c_try_link "$LINENO"; then : 5039 gl_cv_warn_CFLAGS__Wformat_security=yes 5040 else 5041 gl_cv_warn_CFLAGS__Wformat_security=no 5042 fi 5043 rm -f core conftest.err conftest.$ac_objext \ 5044 conftest$ac_exeext conftest.$ac_ext 5045 CFLAGS="$gl_save_compiler_FLAGS" 5046 5047 fi 5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wformat_security" >&5 5049 $as_echo "$gl_cv_warn_CFLAGS__Wformat_security" >&6; } 5050 if test "x$gl_cv_warn_CFLAGS__Wformat_security" = xyes; then : 5051 as_fn_append WARN_CFLAGS " -Wformat-security" 5052 fi 5053 5054 5055 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5057 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5058 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5059 $as_echo_n "(cached) " >&6 5060 else 5061 5062 gl_save_compiler_FLAGS="$CFLAGS" 5063 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5065 /* end confdefs.h. */ 5066 5067 int 5068 main () 5069 { 5070 5071 ; 5072 return 0; 5073 } 5074 _ACEOF 5075 if ac_fn_c_try_link "$LINENO"; then : 5076 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5077 else 5078 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5079 fi 5080 rm -f core conftest.err conftest.$ac_objext \ 5081 conftest$ac_exeext conftest.$ac_ext 5082 CFLAGS="$gl_save_compiler_FLAGS" 5083 5084 fi 5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5086 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5087 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5088 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5089 else 5090 gl_unknown_warnings_are_errors= 5091 fi 5092 5093 5094 fi 5095 5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wignored-qualifiers" >&5 5097 $as_echo_n "checking whether $CC handles -Wignored-qualifiers... " >&6; } 5098 if ${gl_cv_warn_CFLAGS__Wignored_qualifiers+:} false; then : 5099 $as_echo_n "(cached) " >&6 5100 else 5101 5102 gl_save_compiler_FLAGS="$CFLAGS" 5103 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wignored-qualifiers" 5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5105 /* end confdefs.h. */ 5106 5107 int 5108 main () 5109 { 5110 5111 ; 5112 return 0; 5113 } 5114 _ACEOF 5115 if ac_fn_c_try_link "$LINENO"; then : 5116 gl_cv_warn_CFLAGS__Wignored_qualifiers=yes 5117 else 5118 gl_cv_warn_CFLAGS__Wignored_qualifiers=no 5119 fi 5120 rm -f core conftest.err conftest.$ac_objext \ 5121 conftest$ac_exeext conftest.$ac_ext 5122 CFLAGS="$gl_save_compiler_FLAGS" 5123 5124 fi 5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wignored_qualifiers" >&5 5126 $as_echo "$gl_cv_warn_CFLAGS__Wignored_qualifiers" >&6; } 5127 if test "x$gl_cv_warn_CFLAGS__Wignored_qualifiers" = xyes; then : 5128 as_fn_append WARN_CFLAGS " -Wignored-qualifiers" 5129 fi 5130 5131 5132 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5134 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5135 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5136 $as_echo_n "(cached) " >&6 5137 else 5138 5139 gl_save_compiler_FLAGS="$CFLAGS" 5140 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5142 /* end confdefs.h. */ 5143 5144 int 5145 main () 5146 { 5147 5148 ; 5149 return 0; 5150 } 5151 _ACEOF 5152 if ac_fn_c_try_link "$LINENO"; then : 5153 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5154 else 5155 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5156 fi 5157 rm -f core conftest.err conftest.$ac_objext \ 5158 conftest$ac_exeext conftest.$ac_ext 5159 CFLAGS="$gl_save_compiler_FLAGS" 5160 5161 fi 5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5163 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5164 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5165 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5166 else 5167 gl_unknown_warnings_are_errors= 5168 fi 5169 5170 5171 fi 5172 5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Winit-self" >&5 5174 $as_echo_n "checking whether $CC handles -Winit-self... " >&6; } 5175 if ${gl_cv_warn_CFLAGS__Winit_self+:} false; then : 5176 $as_echo_n "(cached) " >&6 5177 else 5178 5179 gl_save_compiler_FLAGS="$CFLAGS" 5180 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Winit-self" 5181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5182 /* end confdefs.h. */ 5183 5184 int 5185 main () 5186 { 5187 5188 ; 5189 return 0; 5190 } 5191 _ACEOF 5192 if ac_fn_c_try_link "$LINENO"; then : 5193 gl_cv_warn_CFLAGS__Winit_self=yes 5194 else 5195 gl_cv_warn_CFLAGS__Winit_self=no 5196 fi 5197 rm -f core conftest.err conftest.$ac_objext \ 5198 conftest$ac_exeext conftest.$ac_ext 5199 CFLAGS="$gl_save_compiler_FLAGS" 5200 5201 fi 5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Winit_self" >&5 5203 $as_echo "$gl_cv_warn_CFLAGS__Winit_self" >&6; } 5204 if test "x$gl_cv_warn_CFLAGS__Winit_self" = xyes; then : 5205 as_fn_append WARN_CFLAGS " -Winit-self" 5206 fi 5207 5208 5209 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5211 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5212 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5213 $as_echo_n "(cached) " >&6 5214 else 5215 5216 gl_save_compiler_FLAGS="$CFLAGS" 5217 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5219 /* end confdefs.h. */ 5220 5221 int 5222 main () 5223 { 5224 5225 ; 5226 return 0; 5227 } 5228 _ACEOF 5229 if ac_fn_c_try_link "$LINENO"; then : 5230 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5231 else 5232 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5233 fi 5234 rm -f core conftest.err conftest.$ac_objext \ 5235 conftest$ac_exeext conftest.$ac_ext 5236 CFLAGS="$gl_save_compiler_FLAGS" 5237 5238 fi 5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5240 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5241 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5242 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5243 else 5244 gl_unknown_warnings_are_errors= 5245 fi 5246 5247 5248 fi 5249 5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wlogical-op" >&5 5251 $as_echo_n "checking whether $CC handles -Wlogical-op... " >&6; } 5252 if ${gl_cv_warn_CFLAGS__Wlogical_op+:} false; then : 5253 $as_echo_n "(cached) " >&6 5254 else 5255 5256 gl_save_compiler_FLAGS="$CFLAGS" 5257 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wlogical-op" 5258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5259 /* end confdefs.h. */ 5260 5261 int 5262 main () 5263 { 5264 5265 ; 5266 return 0; 5267 } 5268 _ACEOF 5269 if ac_fn_c_try_link "$LINENO"; then : 5270 gl_cv_warn_CFLAGS__Wlogical_op=yes 5271 else 5272 gl_cv_warn_CFLAGS__Wlogical_op=no 5273 fi 5274 rm -f core conftest.err conftest.$ac_objext \ 5275 conftest$ac_exeext conftest.$ac_ext 5276 CFLAGS="$gl_save_compiler_FLAGS" 5277 5278 fi 5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wlogical_op" >&5 5280 $as_echo "$gl_cv_warn_CFLAGS__Wlogical_op" >&6; } 5281 if test "x$gl_cv_warn_CFLAGS__Wlogical_op" = xyes; then : 5282 as_fn_append WARN_CFLAGS " -Wlogical-op" 5283 fi 5284 5285 5286 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5288 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5289 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5290 $as_echo_n "(cached) " >&6 5291 else 5292 5293 gl_save_compiler_FLAGS="$CFLAGS" 5294 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5296 /* end confdefs.h. */ 5297 5298 int 5299 main () 5300 { 5301 5302 ; 5303 return 0; 5304 } 5305 _ACEOF 5306 if ac_fn_c_try_link "$LINENO"; then : 5307 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5308 else 5309 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5310 fi 5311 rm -f core conftest.err conftest.$ac_objext \ 5312 conftest$ac_exeext conftest.$ac_ext 5313 CFLAGS="$gl_save_compiler_FLAGS" 5314 5315 fi 5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5317 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5318 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5319 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5320 else 5321 gl_unknown_warnings_are_errors= 5322 fi 5323 5324 5325 fi 5326 5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wmissing-parameter-type" >&5 5328 $as_echo_n "checking whether $CC handles -Wmissing-parameter-type... " >&6; } 5329 if ${gl_cv_warn_CFLAGS__Wmissing_parameter_type+:} false; then : 5330 $as_echo_n "(cached) " >&6 5331 else 5332 5333 gl_save_compiler_FLAGS="$CFLAGS" 5334 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-parameter-type" 5335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5336 /* end confdefs.h. */ 5337 5338 int 5339 main () 5340 { 5341 5342 ; 5343 return 0; 5344 } 5345 _ACEOF 5346 if ac_fn_c_try_link "$LINENO"; then : 5347 gl_cv_warn_CFLAGS__Wmissing_parameter_type=yes 5348 else 5349 gl_cv_warn_CFLAGS__Wmissing_parameter_type=no 5350 fi 5351 rm -f core conftest.err conftest.$ac_objext \ 5352 conftest$ac_exeext conftest.$ac_ext 5353 CFLAGS="$gl_save_compiler_FLAGS" 5354 5355 fi 5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&5 5357 $as_echo "$gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&6; } 5358 if test "x$gl_cv_warn_CFLAGS__Wmissing_parameter_type" = xyes; then : 5359 as_fn_append WARN_CFLAGS " -Wmissing-parameter-type" 5360 fi 5361 5362 5363 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5365 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5366 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5367 $as_echo_n "(cached) " >&6 5368 else 5369 5370 gl_save_compiler_FLAGS="$CFLAGS" 5371 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5373 /* end confdefs.h. */ 5374 5375 int 5376 main () 5377 { 5378 5379 ; 5380 return 0; 5381 } 5382 _ACEOF 5383 if ac_fn_c_try_link "$LINENO"; then : 5384 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5385 else 5386 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5387 fi 5388 rm -f core conftest.err conftest.$ac_objext \ 5389 conftest$ac_exeext conftest.$ac_ext 5390 CFLAGS="$gl_save_compiler_FLAGS" 5391 5392 fi 5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5394 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5395 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5396 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5397 else 5398 gl_unknown_warnings_are_errors= 5399 fi 5400 5401 5402 fi 5403 5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wnested-externs" >&5 5405 $as_echo_n "checking whether $CC handles -Wnested-externs... " >&6; } 5406 if ${gl_cv_warn_CFLAGS__Wnested_externs+:} false; then : 5407 $as_echo_n "(cached) " >&6 5408 else 5409 5410 gl_save_compiler_FLAGS="$CFLAGS" 5411 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wnested-externs" 5412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5413 /* end confdefs.h. */ 5414 5415 int 5416 main () 5417 { 5418 5419 ; 5420 return 0; 5421 } 5422 _ACEOF 5423 if ac_fn_c_try_link "$LINENO"; then : 5424 gl_cv_warn_CFLAGS__Wnested_externs=yes 5425 else 5426 gl_cv_warn_CFLAGS__Wnested_externs=no 5427 fi 5428 rm -f core conftest.err conftest.$ac_objext \ 5429 conftest$ac_exeext conftest.$ac_ext 5430 CFLAGS="$gl_save_compiler_FLAGS" 5431 5432 fi 5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wnested_externs" >&5 5434 $as_echo "$gl_cv_warn_CFLAGS__Wnested_externs" >&6; } 5435 if test "x$gl_cv_warn_CFLAGS__Wnested_externs" = xyes; then : 5436 as_fn_append WARN_CFLAGS " -Wnested-externs" 5437 fi 5438 5439 5440 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5442 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5443 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5444 $as_echo_n "(cached) " >&6 5445 else 5446 5447 gl_save_compiler_FLAGS="$CFLAGS" 5448 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5450 /* end confdefs.h. */ 5451 5452 int 5453 main () 5454 { 5455 5456 ; 5457 return 0; 5458 } 5459 _ACEOF 5460 if ac_fn_c_try_link "$LINENO"; then : 5461 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5462 else 5463 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5464 fi 5465 rm -f core conftest.err conftest.$ac_objext \ 5466 conftest$ac_exeext conftest.$ac_ext 5467 CFLAGS="$gl_save_compiler_FLAGS" 5468 5469 fi 5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5471 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5472 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5473 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5474 else 5475 gl_unknown_warnings_are_errors= 5476 fi 5477 5478 5479 fi 5480 5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-declaration" >&5 5482 $as_echo_n "checking whether $CC handles -Wold-style-declaration... " >&6; } 5483 if ${gl_cv_warn_CFLAGS__Wold_style_declaration+:} false; then : 5484 $as_echo_n "(cached) " >&6 5485 else 5486 5487 gl_save_compiler_FLAGS="$CFLAGS" 5488 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-declaration" 5489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5490 /* end confdefs.h. */ 5491 5492 int 5493 main () 5494 { 5495 5496 ; 5497 return 0; 5498 } 5499 _ACEOF 5500 if ac_fn_c_try_link "$LINENO"; then : 5501 gl_cv_warn_CFLAGS__Wold_style_declaration=yes 5502 else 5503 gl_cv_warn_CFLAGS__Wold_style_declaration=no 5504 fi 5505 rm -f core conftest.err conftest.$ac_objext \ 5506 conftest$ac_exeext conftest.$ac_ext 5507 CFLAGS="$gl_save_compiler_FLAGS" 5508 5509 fi 5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_declaration" >&5 5511 $as_echo "$gl_cv_warn_CFLAGS__Wold_style_declaration" >&6; } 5512 if test "x$gl_cv_warn_CFLAGS__Wold_style_declaration" = xyes; then : 5513 as_fn_append WARN_CFLAGS " -Wold-style-declaration" 5514 fi 5515 5516 5517 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5519 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5520 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5521 $as_echo_n "(cached) " >&6 5522 else 5523 5524 gl_save_compiler_FLAGS="$CFLAGS" 5525 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5527 /* end confdefs.h. */ 5528 5529 int 5530 main () 5531 { 5532 5533 ; 5534 return 0; 5535 } 5536 _ACEOF 5537 if ac_fn_c_try_link "$LINENO"; then : 5538 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5539 else 5540 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5541 fi 5542 rm -f core conftest.err conftest.$ac_objext \ 5543 conftest$ac_exeext conftest.$ac_ext 5544 CFLAGS="$gl_save_compiler_FLAGS" 5545 5546 fi 5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5548 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5549 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5550 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5551 else 5552 gl_unknown_warnings_are_errors= 5553 fi 5554 5555 5556 fi 5557 5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-definition" >&5 5559 $as_echo_n "checking whether $CC handles -Wold-style-definition... " >&6; } 5560 if ${gl_cv_warn_CFLAGS__Wold_style_definition+:} false; then : 5561 $as_echo_n "(cached) " >&6 5562 else 5563 5564 gl_save_compiler_FLAGS="$CFLAGS" 5565 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-definition" 5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5567 /* end confdefs.h. */ 5568 5569 int 5570 main () 5571 { 5572 5573 ; 5574 return 0; 5575 } 5576 _ACEOF 5577 if ac_fn_c_try_link "$LINENO"; then : 5578 gl_cv_warn_CFLAGS__Wold_style_definition=yes 5579 else 5580 gl_cv_warn_CFLAGS__Wold_style_definition=no 5581 fi 5582 rm -f core conftest.err conftest.$ac_objext \ 5583 conftest$ac_exeext conftest.$ac_ext 5584 CFLAGS="$gl_save_compiler_FLAGS" 5585 5586 fi 5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_definition" >&5 5588 $as_echo "$gl_cv_warn_CFLAGS__Wold_style_definition" >&6; } 5589 if test "x$gl_cv_warn_CFLAGS__Wold_style_definition" = xyes; then : 5590 as_fn_append WARN_CFLAGS " -Wold-style-definition" 5591 fi 5592 5593 5594 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5596 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5597 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5598 $as_echo_n "(cached) " >&6 5599 else 5600 5601 gl_save_compiler_FLAGS="$CFLAGS" 5602 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5604 /* end confdefs.h. */ 5605 5606 int 5607 main () 5608 { 5609 5610 ; 5611 return 0; 5612 } 5613 _ACEOF 5614 if ac_fn_c_try_link "$LINENO"; then : 5615 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5616 else 5617 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5618 fi 5619 rm -f core conftest.err conftest.$ac_objext \ 5620 conftest$ac_exeext conftest.$ac_ext 5621 CFLAGS="$gl_save_compiler_FLAGS" 5622 5623 fi 5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5625 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5626 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5627 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5628 else 5629 gl_unknown_warnings_are_errors= 5630 fi 5631 5632 5633 fi 5634 5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wsign-compare" >&5 5636 $as_echo_n "checking whether $CC handles -Wsign-compare... " >&6; } 5637 if ${gl_cv_warn_CFLAGS__Wsign_compare+:} false; then : 5638 $as_echo_n "(cached) " >&6 5639 else 5640 5641 gl_save_compiler_FLAGS="$CFLAGS" 5642 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsign-compare" 5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5644 /* end confdefs.h. */ 5645 5646 int 5647 main () 5648 { 5649 5650 ; 5651 return 0; 5652 } 5653 _ACEOF 5654 if ac_fn_c_try_link "$LINENO"; then : 5655 gl_cv_warn_CFLAGS__Wsign_compare=yes 5656 else 5657 gl_cv_warn_CFLAGS__Wsign_compare=no 5658 fi 5659 rm -f core conftest.err conftest.$ac_objext \ 5660 conftest$ac_exeext conftest.$ac_ext 5661 CFLAGS="$gl_save_compiler_FLAGS" 5662 5663 fi 5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wsign_compare" >&5 5665 $as_echo "$gl_cv_warn_CFLAGS__Wsign_compare" >&6; } 5666 if test "x$gl_cv_warn_CFLAGS__Wsign_compare" = xyes; then : 5667 as_fn_append WARN_CFLAGS " -Wsign-compare" 5668 fi 5669 5670 5671 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5673 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5674 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5675 $as_echo_n "(cached) " >&6 5676 else 5677 5678 gl_save_compiler_FLAGS="$CFLAGS" 5679 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5681 /* end confdefs.h. */ 5682 5683 int 5684 main () 5685 { 5686 5687 ; 5688 return 0; 5689 } 5690 _ACEOF 5691 if ac_fn_c_try_link "$LINENO"; then : 5692 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5693 else 5694 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5695 fi 5696 rm -f core conftest.err conftest.$ac_objext \ 5697 conftest$ac_exeext conftest.$ac_ext 5698 CFLAGS="$gl_save_compiler_FLAGS" 5699 5700 fi 5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5702 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5703 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5704 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5705 else 5706 gl_unknown_warnings_are_errors= 5707 fi 5708 5709 5710 fi 5711 5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wtype-limits" >&5 5713 $as_echo_n "checking whether $CC handles -Wtype-limits... " >&6; } 5714 if ${gl_cv_warn_CFLAGS__Wtype_limits+:} false; then : 5715 $as_echo_n "(cached) " >&6 5716 else 5717 5718 gl_save_compiler_FLAGS="$CFLAGS" 5719 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wtype-limits" 5720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5721 /* end confdefs.h. */ 5722 5723 int 5724 main () 5725 { 5726 5727 ; 5728 return 0; 5729 } 5730 _ACEOF 5731 if ac_fn_c_try_link "$LINENO"; then : 5732 gl_cv_warn_CFLAGS__Wtype_limits=yes 5733 else 5734 gl_cv_warn_CFLAGS__Wtype_limits=no 5735 fi 5736 rm -f core conftest.err conftest.$ac_objext \ 5737 conftest$ac_exeext conftest.$ac_ext 5738 CFLAGS="$gl_save_compiler_FLAGS" 5739 5740 fi 5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wtype_limits" >&5 5742 $as_echo "$gl_cv_warn_CFLAGS__Wtype_limits" >&6; } 5743 if test "x$gl_cv_warn_CFLAGS__Wtype_limits" = xyes; then : 5744 as_fn_append WARN_CFLAGS " -Wtype-limits" 5745 fi 5746 5747 5748 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5750 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5751 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5752 $as_echo_n "(cached) " >&6 5753 else 5754 5755 gl_save_compiler_FLAGS="$CFLAGS" 5756 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5758 /* end confdefs.h. */ 5759 5760 int 5761 main () 5762 { 5763 5764 ; 5765 return 0; 5766 } 5767 _ACEOF 5768 if ac_fn_c_try_link "$LINENO"; then : 5769 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5770 else 5771 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5772 fi 5773 rm -f core conftest.err conftest.$ac_objext \ 5774 conftest$ac_exeext conftest.$ac_ext 5775 CFLAGS="$gl_save_compiler_FLAGS" 5776 5777 fi 5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5779 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5780 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5781 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5782 else 5783 gl_unknown_warnings_are_errors= 5784 fi 5785 5786 5787 fi 5788 5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wwrite-strings" >&5 5790 $as_echo_n "checking whether $CC handles -Wwrite-strings... " >&6; } 5791 if ${gl_cv_warn_CFLAGS__Wwrite_strings+:} false; then : 5792 $as_echo_n "(cached) " >&6 5793 else 5794 5795 gl_save_compiler_FLAGS="$CFLAGS" 5796 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wwrite-strings" 5797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5798 /* end confdefs.h. */ 5799 5800 int 5801 main () 5802 { 5803 5804 ; 5805 return 0; 5806 } 5807 _ACEOF 5808 if ac_fn_c_try_link "$LINENO"; then : 5809 gl_cv_warn_CFLAGS__Wwrite_strings=yes 5810 else 5811 gl_cv_warn_CFLAGS__Wwrite_strings=no 5812 fi 5813 rm -f core conftest.err conftest.$ac_objext \ 5814 conftest$ac_exeext conftest.$ac_ext 5815 CFLAGS="$gl_save_compiler_FLAGS" 5816 5817 fi 5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wwrite_strings" >&5 5819 $as_echo "$gl_cv_warn_CFLAGS__Wwrite_strings" >&6; } 5820 if test "x$gl_cv_warn_CFLAGS__Wwrite_strings" = xyes; then : 5821 as_fn_append WARN_CFLAGS " -Wwrite-strings" 5822 fi 5823 5824 5825 # Check whether --enable-gcc-Werror was given. 5826 if test "${enable_gcc_Werror+set}" = set; then : 5827 enableval=$enable_gcc_Werror; case $enableval in 5828 yes) if test x${gl_unknown_warnings_are_errors+set} = x; then : 5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5830 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5831 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5832 $as_echo_n "(cached) " >&6 5833 else 5834 5835 gl_save_compiler_FLAGS="$CFLAGS" 5836 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5838 /* end confdefs.h. */ 5839 5840 int 5841 main () 5842 { 5843 5844 ; 5845 return 0; 5846 } 5847 _ACEOF 5848 if ac_fn_c_try_link "$LINENO"; then : 5849 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5850 else 5851 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5852 fi 5853 rm -f core conftest.err conftest.$ac_objext \ 5854 conftest$ac_exeext conftest.$ac_ext 5855 CFLAGS="$gl_save_compiler_FLAGS" 5856 5857 fi 5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5859 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5860 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5861 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5862 else 5863 gl_unknown_warnings_are_errors= 5864 fi 5865 5866 5867 fi 5868 5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror" >&5 5870 $as_echo_n "checking whether $CC handles -Werror... " >&6; } 5871 if ${gl_cv_warn_CFLAGS__Werror+:} false; then : 5872 $as_echo_n "(cached) " >&6 5873 else 5874 5875 gl_save_compiler_FLAGS="$CFLAGS" 5876 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror" 5877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5878 /* end confdefs.h. */ 5879 5880 int 5881 main () 5882 { 5883 5884 ; 5885 return 0; 5886 } 5887 _ACEOF 5888 if ac_fn_c_try_link "$LINENO"; then : 5889 gl_cv_warn_CFLAGS__Werror=yes 5890 else 5891 gl_cv_warn_CFLAGS__Werror=no 5892 fi 5893 rm -f core conftest.err conftest.$ac_objext \ 5894 conftest$ac_exeext conftest.$ac_ext 5895 CFLAGS="$gl_save_compiler_FLAGS" 5896 5897 fi 5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror" >&5 5899 $as_echo "$gl_cv_warn_CFLAGS__Werror" >&6; } 5900 if test "x$gl_cv_warn_CFLAGS__Werror" = xyes; then : 5901 as_fn_append WARN_CFLAGS " -Werror" 5902 fi 5903 5904 ;; 5905 no) ;; 5906 *) as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;; 5907 esac 5908 5909 fi 5910 5911 5912 5913 5914 5915 5916 if test -n "${ac_c_decl_warn_flag+set}"; then : 5917 st_saved_ac_c_decl_warn_flag="${ac_c_decl_warn_flag}"; unset ac_c_decl_warn_flag 5918 fi 5919 5920 if test -n "${ac_c_preproc_warn_flag+set}"; then : 5921 st_saved_ac_c_preproc_warn_flag="${ac_c_preproc_warn_flag}"; unset ac_c_preproc_warn_flag 5922 fi 5923 5924 if test -n "${ac_c_werror_flag+set}"; then : 5925 st_saved_ac_c_werror_flag="${ac_c_werror_flag}"; unset ac_c_werror_flag 5926 fi 5927 5928 if test -n "${ac_compile+set}"; then : 5929 st_saved_ac_compile="${ac_compile}"; unset ac_compile 5930 fi 5931 5932 if test -n "${ac_compiler_gnu+set}"; then : 5933 st_saved_ac_compiler_gnu="${ac_compiler_gnu}"; unset ac_compiler_gnu 5934 fi 5935 5936 if test -n "${ac_cpp+set}"; then : 5937 st_saved_ac_cpp="${ac_cpp}"; unset ac_cpp 5938 fi 5939 5940 if test -n "${ac_cv_c_compiler_gnu+set}"; then : 5941 st_saved_ac_cv_c_compiler_gnu="${ac_cv_c_compiler_gnu}"; unset ac_cv_c_compiler_gnu 5942 fi 5943 5944 if test -n "${ac_cv_c_decl_report+set}"; then : 5945 st_saved_ac_cv_c_decl_report="${ac_cv_c_decl_report}"; unset ac_cv_c_decl_report 5946 fi 5947 5948 if test -n "${ac_link+set}"; then : 5949 st_saved_ac_link="${ac_link}"; unset ac_link 5950 fi 5951 5952 if test -n "${ac_tool_prefix+set}"; then : 5953 st_saved_ac_tool_prefix="${ac_tool_prefix}"; unset ac_tool_prefix 5954 fi 5955 5956 if test -n "${cross_compiling+set}"; then : 5957 st_saved_cross_compiling="${cross_compiling}"; unset cross_compiling 5958 fi 5959 5960 cross_compiling=no 5961 5962 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for a C compiler that generates native executables" >&5 5963 $as_echo "$as_me: looking for a C compiler that generates native executables" >&6;} 5964 ac_ext=c 5965 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 5966 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 5967 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 5968 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5969 if test -n "$ac_tool_prefix"; then 5970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5971 set dummy ${ac_tool_prefix}gcc; ac_word=$2 5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5973 $as_echo_n "checking for $ac_word... " >&6; } 5974 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5975 $as_echo_n "(cached) " >&6 5976 else 5977 if test -n "$CC_FOR_BUILD"; then 5978 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5979 else 5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5981 for as_dir in $PATH 5982 do 5983 IFS=$as_save_IFS 5984 test -z "$as_dir" && as_dir=. 5985 for ac_exec_ext in '' $ac_executable_extensions; do 5986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5987 ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}gcc" 5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5989 break 2 5990 fi 5991 done 5992 done 5993 IFS=$as_save_IFS 5994 5995 fi 5996 fi 5997 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5998 if test -n "$CC_FOR_BUILD"; then 5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 6000 $as_echo "$CC_FOR_BUILD" >&6; } 6001 else 6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6003 $as_echo "no" >&6; } 6004 fi 6005 6006 6007 fi 6008 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then 6009 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD 6010 # Extract the first word of "gcc", so it can be a program name with args. 6011 set dummy gcc; ac_word=$2 6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6013 $as_echo_n "checking for $ac_word... " >&6; } 6014 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then : 6015 $as_echo_n "(cached) " >&6 6016 else 6017 if test -n "$ac_ct_CC_FOR_BUILD"; then 6018 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test. 6019 else 6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6021 for as_dir in $PATH 6022 do 6023 IFS=$as_save_IFS 6024 test -z "$as_dir" && as_dir=. 6025 for ac_exec_ext in '' $ac_executable_extensions; do 6026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6027 ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc" 6028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6029 break 2 6030 fi 6031 done 6032 done 6033 IFS=$as_save_IFS 6034 6035 fi 6036 fi 6037 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD 6038 if test -n "$ac_ct_CC_FOR_BUILD"; then 6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 6040 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; } 6041 else 6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6043 $as_echo "no" >&6; } 6044 fi 6045 6046 if test "x$ac_ct_CC_FOR_BUILD" = x; then 6047 CC_FOR_BUILD="" 6048 else 6049 case $cross_compiling:$ac_tool_warned in 6050 yes:) 6051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5 6052 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;} 6053 ac_tool_warned=yes ;; 6054 esac 6055 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD 6056 fi 6057 else 6058 CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD" 6059 fi 6060 6061 if test -z "$CC_FOR_BUILD"; then 6062 if test -n "$ac_tool_prefix"; then 6063 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6064 set dummy ${ac_tool_prefix}cc; ac_word=$2 6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6066 $as_echo_n "checking for $ac_word... " >&6; } 6067 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 6068 $as_echo_n "(cached) " >&6 6069 else 6070 if test -n "$CC_FOR_BUILD"; then 6071 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 6072 else 6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6074 for as_dir in $PATH 6075 do 6076 IFS=$as_save_IFS 6077 test -z "$as_dir" && as_dir=. 6078 for ac_exec_ext in '' $ac_executable_extensions; do 6079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6080 ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}cc" 6081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6082 break 2 6083 fi 6084 done 6085 done 6086 IFS=$as_save_IFS 6087 6088 fi 6089 fi 6090 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 6091 if test -n "$CC_FOR_BUILD"; then 6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 6093 $as_echo "$CC_FOR_BUILD" >&6; } 6094 else 6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6096 $as_echo "no" >&6; } 6097 fi 6098 6099 6100 fi 6101 fi 6102 if test -z "$CC_FOR_BUILD"; then 6103 # Extract the first word of "cc", so it can be a program name with args. 6104 set dummy cc; ac_word=$2 6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6106 $as_echo_n "checking for $ac_word... " >&6; } 6107 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 6108 $as_echo_n "(cached) " >&6 6109 else 6110 if test -n "$CC_FOR_BUILD"; then 6111 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 6112 else 6113 ac_prog_rejected=no 6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6115 for as_dir in $PATH 6116 do 6117 IFS=$as_save_IFS 6118 test -z "$as_dir" && as_dir=. 6119 for ac_exec_ext in '' $ac_executable_extensions; do 6120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6121 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 6122 ac_prog_rejected=yes 6123 continue 6124 fi 6125 ac_cv_prog_CC_FOR_BUILD="cc" 6126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6127 break 2 6128 fi 6129 done 6130 done 6131 IFS=$as_save_IFS 6132 6133 if test $ac_prog_rejected = yes; then 6134 # We found a bogon in the path, so make sure we never use it. 6135 set dummy $ac_cv_prog_CC_FOR_BUILD 6136 shift 6137 if test $# != 0; then 6138 # We chose a different compiler from the bogus one. 6139 # However, it has the same basename, so the bogon will be chosen 6140 # first if we set CC_FOR_BUILD to just the basename; use the full file name. 6141 shift 6142 ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@" 6143 fi 6144 fi 6145 fi 6146 fi 6147 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 6148 if test -n "$CC_FOR_BUILD"; then 6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 6150 $as_echo "$CC_FOR_BUILD" >&6; } 6151 else 6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6153 $as_echo "no" >&6; } 6154 fi 6155 6156 6157 fi 6158 if test -z "$CC_FOR_BUILD"; then 6159 if test -n "$ac_tool_prefix"; then 6160 for ac_prog in cl.exe 6161 do 6162 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6163 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6165 $as_echo_n "checking for $ac_word... " >&6; } 6166 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 6167 $as_echo_n "(cached) " >&6 6168 else 6169 if test -n "$CC_FOR_BUILD"; then 6170 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 6171 else 6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6173 for as_dir in $PATH 6174 do 6175 IFS=$as_save_IFS 6176 test -z "$as_dir" && as_dir=. 6177 for ac_exec_ext in '' $ac_executable_extensions; do 6178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6179 ac_cv_prog_CC_FOR_BUILD="$ac_tool_prefix$ac_prog" 6180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6181 break 2 6182 fi 6183 done 6184 done 6185 IFS=$as_save_IFS 6186 6187 fi 6188 fi 6189 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 6190 if test -n "$CC_FOR_BUILD"; then 6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 6192 $as_echo "$CC_FOR_BUILD" >&6; } 6193 else 6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6195 $as_echo "no" >&6; } 6196 fi 6197 6198 6199 test -n "$CC_FOR_BUILD" && break 6200 done 6201 fi 6202 if test -z "$CC_FOR_BUILD"; then 6203 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD 6204 for ac_prog in cl.exe 6205 do 6206 # Extract the first word of "$ac_prog", so it can be a program name with args. 6207 set dummy $ac_prog; ac_word=$2 6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6209 $as_echo_n "checking for $ac_word... " >&6; } 6210 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then : 6211 $as_echo_n "(cached) " >&6 6212 else 6213 if test -n "$ac_ct_CC_FOR_BUILD"; then 6214 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test. 6215 else 6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6217 for as_dir in $PATH 6218 do 6219 IFS=$as_save_IFS 6220 test -z "$as_dir" && as_dir=. 6221 for ac_exec_ext in '' $ac_executable_extensions; do 6222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6223 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog" 6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6225 break 2 6226 fi 6227 done 6228 done 6229 IFS=$as_save_IFS 6230 6231 fi 6232 fi 6233 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD 6234 if test -n "$ac_ct_CC_FOR_BUILD"; then 6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 6236 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; } 6237 else 6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6239 $as_echo "no" >&6; } 6240 fi 6241 6242 6243 test -n "$ac_ct_CC_FOR_BUILD" && break 6244 done 6245 6246 if test "x$ac_ct_CC_FOR_BUILD" = x; then 6247 CC_FOR_BUILD="" 6248 else 6249 case $cross_compiling:$ac_tool_warned in 6250 yes:) 6251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5 6252 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;} 6253 ac_tool_warned=yes ;; 6254 esac 6255 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD 6256 fi 6257 fi 6258 6259 fi 6260 6261 6262 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6264 as_fn_error $? "no acceptable C compiler found in \$PATH 6265 See \`config.log' for more details" "$LINENO" 5; } 6266 6267 # Provide some information about the compiler. 6268 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 6269 set X $ac_compile 6270 ac_compiler=$2 6271 for ac_option in --version -v -V -qversion; do 6272 { { ac_try="$ac_compiler $ac_option >&5" 6273 case "(($ac_try" in 6274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6275 *) ac_try_echo=$ac_try;; 6276 esac 6277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6278 $as_echo "$ac_try_echo"; } >&5 6279 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 6280 ac_status=$? 6281 if test -s conftest.err; then 6282 sed '10a\ 6283 ... rest of stderr output deleted ... 6284 10q' conftest.err >conftest.er1 6285 cat conftest.er1 >&5 6286 fi 6287 rm -f conftest.er1 conftest.err 6288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6289 test $ac_status = 0; } 6290 done 6291 6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 6293 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 6294 if ${ac_cv_c_compiler_gnu+:} false; then : 6295 $as_echo_n "(cached) " >&6 6296 else 6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6298 /* end confdefs.h. */ 6299 6300 int 6301 main () 6302 { 6303 #ifndef __GNUC__ 6304 choke me 6305 #endif 6306 6307 ; 6308 return 0; 6309 } 6310 _ACEOF 6311 if ac_fn_c_try_compile "$LINENO"; then : 6312 ac_compiler_gnu=yes 6313 else 6314 ac_compiler_gnu=no 6315 fi 6316 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6317 ac_cv_c_compiler_gnu=$ac_compiler_gnu 6318 6319 fi 6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 6321 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 6322 if test $ac_compiler_gnu = yes; then 6323 GCC=yes 6324 else 6325 GCC= 6326 fi 6327 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set} 6328 ac_save_CFLAGS=$CFLAGS_FOR_BUILD 6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5 6330 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; } 6331 if ${ac_cv_build_prog_cc_g+:} false; then : 6332 $as_echo_n "(cached) " >&6 6333 else 6334 ac_save_c_werror_flag=$ac_c_werror_flag 6335 ac_c_werror_flag=yes 6336 ac_cv_build_prog_cc_g=no 6337 CFLAGS_FOR_BUILD="-g" 6338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6339 /* end confdefs.h. */ 6340 6341 int 6342 main () 6343 { 6344 6345 ; 6346 return 0; 6347 } 6348 _ACEOF 6349 if ac_fn_c_try_compile "$LINENO"; then : 6350 ac_cv_build_prog_cc_g=yes 6351 else 6352 CFLAGS_FOR_BUILD="" 6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6354 /* end confdefs.h. */ 6355 6356 int 6357 main () 6358 { 6359 6360 ; 6361 return 0; 6362 } 6363 _ACEOF 6364 if ac_fn_c_try_compile "$LINENO"; then : 6365 6366 else 6367 ac_c_werror_flag=$ac_save_c_werror_flag 6368 CFLAGS_FOR_BUILD="-g" 6369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6370 /* end confdefs.h. */ 6371 6372 int 6373 main () 6374 { 6375 6376 ; 6377 return 0; 6378 } 6379 _ACEOF 6380 if ac_fn_c_try_compile "$LINENO"; then : 6381 ac_cv_build_prog_cc_g=yes 6382 fi 6383 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6384 fi 6385 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6386 fi 6387 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6388 ac_c_werror_flag=$ac_save_c_werror_flag 6389 fi 6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5 6391 $as_echo "$ac_cv_build_prog_cc_g" >&6; } 6392 if test "$ac_test_CFLAGS" = set; then 6393 CFLAGS_FOR_BUILD=$ac_save_CFLAGS 6394 elif test $ac_cv_build_prog_cc_g = yes; then 6395 if test "$GCC" = yes; then 6396 CFLAGS_FOR_BUILD="-g -O2" 6397 else 6398 CFLAGS_FOR_BUILD="-g" 6399 fi 6400 else 6401 if test "$GCC" = yes; then 6402 CFLAGS_FOR_BUILD="-O2" 6403 else 6404 CFLAGS_FOR_BUILD= 6405 fi 6406 fi 6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5 6408 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; } 6409 if ${ac_cv_build_prog_cc_c89+:} false; then : 6410 $as_echo_n "(cached) " >&6 6411 else 6412 ac_cv_build_prog_cc_c89=no 6413 ac_save_CC=$CC_FOR_BUILD 6414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6415 /* end confdefs.h. */ 6416 #include <stdarg.h> 6417 #include <stdio.h> 6418 struct stat; 6419 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 6420 struct buf { int x; }; 6421 FILE * (*rcsopen) (struct buf *, struct stat *, int); 6422 static char *e (p, i) 6423 char **p; 6424 int i; 6425 { 6426 return p[i]; 6427 } 6428 static char *f (char * (*g) (char **, int), char **p, ...) 6429 { 6430 char *s; 6431 va_list v; 6432 va_start (v,p); 6433 s = g (p, va_arg (v,int)); 6434 va_end (v); 6435 return s; 6436 } 6437 6438 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 6439 function prototypes and stuff, but not '\xHH' hex character constants. 6440 These don't provoke an error unfortunately, instead are silently treated 6441 as 'x'. The following induces an error, until -std is added to get 6442 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 6443 array size at least. It's necessary to write '\x00'==0 to get something 6444 that's true only with -std. */ 6445 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 6446 6447 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 6448 inside strings and character constants. */ 6449 #define FOO(x) 'x' 6450 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 6451 6452 int test (int i, double x); 6453 struct s1 {int (*f) (int a);}; 6454 struct s2 {int (*f) (double a);}; 6455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 6456 int argc; 6457 char **argv; 6458 int 6459 main () 6460 { 6461 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 6462 ; 6463 return 0; 6464 } 6465 _ACEOF 6466 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 6467 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 6468 do 6469 CC_FOR_BUILD="$ac_save_CC $ac_arg" 6470 if ac_fn_c_try_compile "$LINENO"; then : 6471 ac_cv_build_prog_cc_c89=$ac_arg 6472 fi 6473 rm -f core conftest.err conftest.$ac_build_objext 6474 test "x$ac_cv_build_prog_cc_c89" != "xno" && break 6475 done 6476 rm -f conftest.$ac_ext 6477 CC_FOR_BUILD=$ac_save_CC 6478 6479 fi 6480 # AC_CACHE_VAL 6481 case "x$ac_cv_build_prog_cc_c89" in 6482 x) 6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 6484 $as_echo "none needed" >&6; } ;; 6485 xno) 6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 6487 $as_echo "unsupported" >&6; } ;; 6488 *) 6489 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c89" 6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c89" >&5 6491 $as_echo "$ac_cv_build_prog_cc_c89" >&6; } ;; 6492 esac 6493 if test "x$ac_cv_build_prog_cc_c89" != xno; then : 6494 6495 fi 6496 6497 ac_ext=c 6498 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6499 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6500 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6501 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6502 6503 ac_ext=c 6504 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6505 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6506 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6507 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5 6509 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; } 6510 if ${am_cv_build_prog_cc_c_o+:} false; then : 6511 $as_echo_n "(cached) " >&6 6512 else 6513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6514 /* end confdefs.h. */ 6515 6516 int 6517 main () 6518 { 6519 6520 ; 6521 return 0; 6522 } 6523 _ACEOF 6524 # Make sure it works both with $CC and with simple cc. 6525 # Following AC_PROG_CC_C_O, we do the test twice because some 6526 # compilers refuse to overwrite an existing .o file with -o, 6527 # though they will create one. 6528 am_cv_build_prog_cc_c_o=yes 6529 for am_i in 1 2; do 6530 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5 6531 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5 6532 ac_status=$? 6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6534 (exit $ac_status); } \ 6535 && test -f conftest2.$ac_build_objext; then 6536 : OK 6537 else 6538 am_cv_build_prog_cc_c_o=no 6539 break 6540 fi 6541 done 6542 rm -f core conftest* 6543 unset am_i 6544 fi 6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_prog_cc_c_o" >&5 6546 $as_echo "$am_cv_build_prog_cc_c_o" >&6; } 6547 if test "$am_cv_build_prog_cc_c_o" != yes; then 6548 # Losing compiler, so override with the script. 6549 # FIXME: It is wrong to rewrite CC. 6550 # But if we don't then we get into trouble of one sort or another. 6551 # A longer-term fix would be to have automake use am__CC in this case, 6552 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 6553 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD" 6554 fi 6555 ac_ext=c 6556 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6557 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6558 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6559 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6560 6561 6562 depcc="$CC_FOR_BUILD" am_compiler_list= 6563 6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 6565 $as_echo_n "checking dependency style of $depcc... " >&6; } 6566 if ${am_cv_build_CC_dependencies_compiler_type+:} false; then : 6567 $as_echo_n "(cached) " >&6 6568 else 6569 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6570 # We make a subdir and do the tests there. Otherwise we can end up 6571 # making bogus files that we don't know about and never remove. For 6572 # instance it was reported that on HP-UX the gcc test will end up 6573 # making a dummy file named 'D' -- because '-MD' means "put the output 6574 # in D". 6575 rm -rf conftest.dir 6576 mkdir conftest.dir 6577 # Copy depcomp to subdir because otherwise we won't find it if we're 6578 # using a relative directory. 6579 cp "$am_depcomp" conftest.dir 6580 cd conftest.dir 6581 # We will build objects and dependencies in a subdirectory because 6582 # it helps to detect inapplicable dependency modes. For instance 6583 # both Tru64's cc and ICC support -MD to output dependencies as a 6584 # side effect of compilation, but ICC will put the dependencies in 6585 # the current directory while Tru64 will put them in the object 6586 # directory. 6587 mkdir sub 6588 6589 am_cv_build_CC_dependencies_compiler_type=none 6590 if test "$am_compiler_list" = ""; then 6591 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6592 fi 6593 am__universal=false 6594 case " $depcc " in #( 6595 *\ -arch\ *\ -arch\ *) am__universal=true ;; 6596 esac 6597 6598 for depmode in $am_compiler_list; do 6599 # Setup a source with many dependencies, because some compilers 6600 # like to wrap large dependency lists on column 80 (with \), and 6601 # we should not choose a depcomp mode which is confused by this. 6602 # 6603 # We need to recreate these files for each test, as the compiler may 6604 # overwrite some of them when testing with obscure command lines. 6605 # This happens at least with the AIX C compiler. 6606 : > sub/conftest.c 6607 for i in 1 2 3 4 5 6; do 6608 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6609 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 6610 # Solaris 10 /bin/sh. 6611 echo '/* dummy */' > sub/conftst$i.h 6612 done 6613 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6614 6615 # We check with '-c' and '-o' for the sake of the "dashmstdout" 6616 # mode. It turns out that the SunPro C++ compiler does not properly 6617 # handle '-M -o', and we need to detect this. Also, some Intel 6618 # versions had trouble with output in subdirs. 6619 am__obj=sub/conftest.${OBJEXT-o} 6620 am__minus_obj="-o $am__obj" 6621 case $depmode in 6622 gcc) 6623 # This depmode causes a compiler race in universal mode. 6624 test "$am__universal" = false || continue 6625 ;; 6626 nosideeffect) 6627 # After this tag, mechanisms are not by side-effect, so they'll 6628 # only be used when explicitly requested. 6629 if test "x$enable_dependency_tracking" = xyes; then 6630 continue 6631 else 6632 break 6633 fi 6634 ;; 6635 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 6636 # This compiler won't grok '-c -o', but also, the minuso test has 6637 # not run yet. These depmodes are late enough in the game, and 6638 # so weak that their functioning should not be impacted. 6639 am__obj=conftest.${OBJEXT-o} 6640 am__minus_obj= 6641 ;; 6642 none) break ;; 6643 esac 6644 if depmode=$depmode \ 6645 source=sub/conftest.c object=$am__obj \ 6646 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6647 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6648 >/dev/null 2>conftest.err && 6649 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 6650 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6651 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6652 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6653 # icc doesn't choke on unknown options, it will just issue warnings 6654 # or remarks (even with -Werror). So we grep stderr for any message 6655 # that says an option was ignored or not supported. 6656 # When given -MP, icc 7.0 and 7.1 complain thusly: 6657 # icc: Command line warning: ignoring option '-M'; no argument required 6658 # The diagnosis changed in icc 8.0: 6659 # icc: Command line remark: option '-MP' not supported 6660 if (grep 'ignoring option' conftest.err || 6661 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6662 am_cv_build_CC_dependencies_compiler_type=$depmode 6663 break 6664 fi 6665 fi 6666 done 6667 6668 cd .. 6669 rm -rf conftest.dir 6670 else 6671 am_cv_build_CC_dependencies_compiler_type=none 6672 fi 6673 6674 fi 6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_CC_dependencies_compiler_type" >&5 6676 $as_echo "$am_cv_build_CC_dependencies_compiler_type" >&6; } 6677 CCDEPMODE=depmode=$am_cv_build_CC_dependencies_compiler_type 6678 6679 if 6680 test "x$enable_dependency_tracking" != xno \ 6681 && test "$am_cv_build_CC_dependencies_compiler_type" = gcc3; then 6682 am__fastdepCC_TRUE= 6683 am__fastdepCC_FALSE='#' 6684 else 6685 am__fastdepCC_TRUE='#' 6686 am__fastdepCC_FALSE= 6687 fi 6688 6689 6690 ac_ext=c 6691 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6692 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6693 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6694 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6696 $as_echo_n "checking how to run the C preprocessor... " >&6; } 6697 # On Suns, sometimes $CPP names a directory. 6698 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then 6699 CPP_FOR_BUILD= 6700 fi 6701 if test -z "$CPP_FOR_BUILD"; then 6702 if ${ac_cv_build_prog_CPP+:} false; then : 6703 $as_echo_n "(cached) " >&6 6704 else 6705 # Double quotes because CPP needs to be expanded 6706 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp" 6707 do 6708 ac_preproc_ok=false 6709 for ac_c_preproc_warn_flag in '' yes 6710 do 6711 # Use a header file that comes with gcc, so configuring glibc 6712 # with a fresh cross-compiler works. 6713 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6714 # <limits.h> exists even on freestanding compilers. 6715 # On the NeXT, cc -E runs the code through the compiler's parser, 6716 # not just through cpp. "Syntax error" is here to catch this case. 6717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6718 /* end confdefs.h. */ 6719 #ifdef __STDC__ 6720 # include <limits.h> 6721 #else 6722 # include <assert.h> 6723 #endif 6724 Syntax error 6725 _ACEOF 6726 if ac_fn_c_try_cpp "$LINENO"; then : 6727 6728 else 6729 # Broken: fails on valid input. 6730 continue 6731 fi 6732 rm -f conftest.err conftest.i conftest.$ac_ext 6733 6734 # OK, works on sane cases. Now check whether nonexistent headers 6735 # can be detected and how. 6736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6737 /* end confdefs.h. */ 6738 #include <ac_nonexistent.h> 6739 _ACEOF 6740 if ac_fn_c_try_cpp "$LINENO"; then : 6741 # Broken: success on invalid input. 6742 continue 6743 else 6744 # Passes both tests. 6745 ac_preproc_ok=: 6746 break 6747 fi 6748 rm -f conftest.err conftest.i conftest.$ac_ext 6749 6750 done 6751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6752 rm -f conftest.i conftest.err conftest.$ac_ext 6753 if $ac_preproc_ok; then : 6754 break 6755 fi 6756 6757 done 6758 ac_cv_build_prog_CPP=$CPP_FOR_BUILD 6759 6760 fi 6761 CPP_FOR_BUILD=$ac_cv_build_prog_CPP 6762 else 6763 ac_cv_build_prog_CPP=$CPP_FOR_BUILD 6764 fi 6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5 6766 $as_echo "$CPP_FOR_BUILD" >&6; } 6767 ac_preproc_ok=false 6768 for ac_c_preproc_warn_flag in '' yes 6769 do 6770 # Use a header file that comes with gcc, so configuring glibc 6771 # with a fresh cross-compiler works. 6772 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6773 # <limits.h> exists even on freestanding compilers. 6774 # On the NeXT, cc -E runs the code through the compiler's parser, 6775 # not just through cpp. "Syntax error" is here to catch this case. 6776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6777 /* end confdefs.h. */ 6778 #ifdef __STDC__ 6779 # include <limits.h> 6780 #else 6781 # include <assert.h> 6782 #endif 6783 Syntax error 6784 _ACEOF 6785 if ac_fn_c_try_cpp "$LINENO"; then : 6786 6787 else 6788 # Broken: fails on valid input. 6789 continue 6790 fi 6791 rm -f conftest.err conftest.i conftest.$ac_ext 6792 6793 # OK, works on sane cases. Now check whether nonexistent headers 6794 # can be detected and how. 6795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6796 /* end confdefs.h. */ 6797 #include <ac_nonexistent.h> 6798 _ACEOF 6799 if ac_fn_c_try_cpp "$LINENO"; then : 6800 # Broken: success on invalid input. 6801 continue 6802 else 6803 # Passes both tests. 6804 ac_preproc_ok=: 6805 break 6806 fi 6807 rm -f conftest.err conftest.i conftest.$ac_ext 6808 6809 done 6810 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6811 rm -f conftest.i conftest.err conftest.$ac_ext 6812 if $ac_preproc_ok; then : 6813 6814 else 6815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6817 as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check 6818 See \`config.log' for more details" "$LINENO" 5; } 6819 fi 6820 6821 ac_ext=c 6822 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6823 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6824 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6825 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6826 6827 6828 6829 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6831 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6832 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6833 $as_echo_n "(cached) " >&6 6834 else 6835 6836 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6837 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6839 /* end confdefs.h. */ 6840 6841 int 6842 main () 6843 { 6844 6845 ; 6846 return 0; 6847 } 6848 _ACEOF 6849 if ac_fn_c_try_link "$LINENO"; then : 6850 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6851 else 6852 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6853 fi 6854 rm -f core conftest.err conftest.$ac_build_objext \ 6855 conftest$ac_build_exeext conftest.$ac_ext 6856 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6857 6858 fi 6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6860 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6861 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6862 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6863 else 6864 gl_build_unknown_warnings_are_errors= 6865 fi 6866 6867 6868 fi 6869 6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wall" >&5 6871 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wall... " >&6; } 6872 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wall+:} false; then : 6873 $as_echo_n "(cached) " >&6 6874 else 6875 6876 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6877 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wall" 6878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6879 /* end confdefs.h. */ 6880 6881 int 6882 main () 6883 { 6884 6885 ; 6886 return 0; 6887 } 6888 _ACEOF 6889 if ac_fn_c_try_link "$LINENO"; then : 6890 gl_cv_warn_CFLAGS_FOR_BUILD__Wall=yes 6891 else 6892 gl_cv_warn_CFLAGS_FOR_BUILD__Wall=no 6893 fi 6894 rm -f core conftest.err conftest.$ac_build_objext \ 6895 conftest$ac_build_exeext conftest.$ac_ext 6896 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6897 6898 fi 6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&5 6900 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&6; } 6901 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" = xyes; then : 6902 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wall" 6903 fi 6904 6905 6906 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6908 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6909 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6910 $as_echo_n "(cached) " >&6 6911 else 6912 6913 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6914 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6916 /* end confdefs.h. */ 6917 6918 int 6919 main () 6920 { 6921 6922 ; 6923 return 0; 6924 } 6925 _ACEOF 6926 if ac_fn_c_try_link "$LINENO"; then : 6927 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6928 else 6929 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6930 fi 6931 rm -f core conftest.err conftest.$ac_build_objext \ 6932 conftest$ac_build_exeext conftest.$ac_ext 6933 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6934 6935 fi 6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6937 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6938 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6939 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6940 else 6941 gl_build_unknown_warnings_are_errors= 6942 fi 6943 6944 6945 fi 6946 6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wempty-body" >&5 6948 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wempty-body... " >&6; } 6949 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body+:} false; then : 6950 $as_echo_n "(cached) " >&6 6951 else 6952 6953 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6954 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wempty-body" 6955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6956 /* end confdefs.h. */ 6957 6958 int 6959 main () 6960 { 6961 6962 ; 6963 return 0; 6964 } 6965 _ACEOF 6966 if ac_fn_c_try_link "$LINENO"; then : 6967 gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=yes 6968 else 6969 gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=no 6970 fi 6971 rm -f core conftest.err conftest.$ac_build_objext \ 6972 conftest$ac_build_exeext conftest.$ac_ext 6973 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6974 6975 fi 6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&5 6977 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&6; } 6978 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" = xyes; then : 6979 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wempty-body" 6980 fi 6981 6982 6983 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6985 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6986 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6987 $as_echo_n "(cached) " >&6 6988 else 6989 6990 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6991 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6993 /* end confdefs.h. */ 6994 6995 int 6996 main () 6997 { 6998 6999 ; 7000 return 0; 7001 } 7002 _ACEOF 7003 if ac_fn_c_try_link "$LINENO"; then : 7004 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7005 else 7006 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7007 fi 7008 rm -f core conftest.err conftest.$ac_build_objext \ 7009 conftest$ac_build_exeext conftest.$ac_ext 7010 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7011 7012 fi 7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7014 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7015 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7016 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7017 else 7018 gl_build_unknown_warnings_are_errors= 7019 fi 7020 7021 7022 fi 7023 7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wformat-security" >&5 7025 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wformat-security... " >&6; } 7026 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security+:} false; then : 7027 $as_echo_n "(cached) " >&6 7028 else 7029 7030 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7031 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wformat-security" 7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7033 /* end confdefs.h. */ 7034 7035 int 7036 main () 7037 { 7038 7039 ; 7040 return 0; 7041 } 7042 _ACEOF 7043 if ac_fn_c_try_link "$LINENO"; then : 7044 gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=yes 7045 else 7046 gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=no 7047 fi 7048 rm -f core conftest.err conftest.$ac_build_objext \ 7049 conftest$ac_build_exeext conftest.$ac_ext 7050 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7051 7052 fi 7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&5 7054 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&6; } 7055 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" = xyes; then : 7056 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wformat-security" 7057 fi 7058 7059 7060 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7062 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7063 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7064 $as_echo_n "(cached) " >&6 7065 else 7066 7067 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7068 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7070 /* end confdefs.h. */ 7071 7072 int 7073 main () 7074 { 7075 7076 ; 7077 return 0; 7078 } 7079 _ACEOF 7080 if ac_fn_c_try_link "$LINENO"; then : 7081 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7082 else 7083 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7084 fi 7085 rm -f core conftest.err conftest.$ac_build_objext \ 7086 conftest$ac_build_exeext conftest.$ac_ext 7087 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7088 7089 fi 7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7091 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7092 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7093 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7094 else 7095 gl_build_unknown_warnings_are_errors= 7096 fi 7097 7098 7099 fi 7100 7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wignored-qualifiers" >&5 7102 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wignored-qualifiers... " >&6; } 7103 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers+:} false; then : 7104 $as_echo_n "(cached) " >&6 7105 else 7106 7107 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7108 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wignored-qualifiers" 7109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7110 /* end confdefs.h. */ 7111 7112 int 7113 main () 7114 { 7115 7116 ; 7117 return 0; 7118 } 7119 _ACEOF 7120 if ac_fn_c_try_link "$LINENO"; then : 7121 gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=yes 7122 else 7123 gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=no 7124 fi 7125 rm -f core conftest.err conftest.$ac_build_objext \ 7126 conftest$ac_build_exeext conftest.$ac_ext 7127 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7128 7129 fi 7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&5 7131 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&6; } 7132 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" = xyes; then : 7133 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wignored-qualifiers" 7134 fi 7135 7136 7137 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7139 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7140 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7141 $as_echo_n "(cached) " >&6 7142 else 7143 7144 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7145 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7147 /* end confdefs.h. */ 7148 7149 int 7150 main () 7151 { 7152 7153 ; 7154 return 0; 7155 } 7156 _ACEOF 7157 if ac_fn_c_try_link "$LINENO"; then : 7158 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7159 else 7160 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7161 fi 7162 rm -f core conftest.err conftest.$ac_build_objext \ 7163 conftest$ac_build_exeext conftest.$ac_ext 7164 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7165 7166 fi 7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7168 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7169 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7170 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7171 else 7172 gl_build_unknown_warnings_are_errors= 7173 fi 7174 7175 7176 fi 7177 7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Winit-self" >&5 7179 $as_echo_n "checking whether $CC_FOR_BUILD handles -Winit-self... " >&6; } 7180 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self+:} false; then : 7181 $as_echo_n "(cached) " >&6 7182 else 7183 7184 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7185 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Winit-self" 7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7187 /* end confdefs.h. */ 7188 7189 int 7190 main () 7191 { 7192 7193 ; 7194 return 0; 7195 } 7196 _ACEOF 7197 if ac_fn_c_try_link "$LINENO"; then : 7198 gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=yes 7199 else 7200 gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=no 7201 fi 7202 rm -f core conftest.err conftest.$ac_build_objext \ 7203 conftest$ac_build_exeext conftest.$ac_ext 7204 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7205 7206 fi 7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&5 7208 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&6; } 7209 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" = xyes; then : 7210 as_fn_append WARN_CFLAGS_FOR_BUILD " -Winit-self" 7211 fi 7212 7213 7214 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7216 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7217 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7218 $as_echo_n "(cached) " >&6 7219 else 7220 7221 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7222 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7224 /* end confdefs.h. */ 7225 7226 int 7227 main () 7228 { 7229 7230 ; 7231 return 0; 7232 } 7233 _ACEOF 7234 if ac_fn_c_try_link "$LINENO"; then : 7235 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7236 else 7237 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7238 fi 7239 rm -f core conftest.err conftest.$ac_build_objext \ 7240 conftest$ac_build_exeext conftest.$ac_ext 7241 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7242 7243 fi 7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7245 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7246 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7247 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7248 else 7249 gl_build_unknown_warnings_are_errors= 7250 fi 7251 7252 7253 fi 7254 7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wlogical-op" >&5 7256 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wlogical-op... " >&6; } 7257 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op+:} false; then : 7258 $as_echo_n "(cached) " >&6 7259 else 7260 7261 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7262 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wlogical-op" 7263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7264 /* end confdefs.h. */ 7265 7266 int 7267 main () 7268 { 7269 7270 ; 7271 return 0; 7272 } 7273 _ACEOF 7274 if ac_fn_c_try_link "$LINENO"; then : 7275 gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=yes 7276 else 7277 gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=no 7278 fi 7279 rm -f core conftest.err conftest.$ac_build_objext \ 7280 conftest$ac_build_exeext conftest.$ac_ext 7281 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7282 7283 fi 7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&5 7285 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&6; } 7286 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" = xyes; then : 7287 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wlogical-op" 7288 fi 7289 7290 7291 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7293 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7294 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7295 $as_echo_n "(cached) " >&6 7296 else 7297 7298 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7299 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7301 /* end confdefs.h. */ 7302 7303 int 7304 main () 7305 { 7306 7307 ; 7308 return 0; 7309 } 7310 _ACEOF 7311 if ac_fn_c_try_link "$LINENO"; then : 7312 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7313 else 7314 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7315 fi 7316 rm -f core conftest.err conftest.$ac_build_objext \ 7317 conftest$ac_build_exeext conftest.$ac_ext 7318 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7319 7320 fi 7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7322 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7323 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7324 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7325 else 7326 gl_build_unknown_warnings_are_errors= 7327 fi 7328 7329 7330 fi 7331 7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type" >&5 7333 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type... " >&6; } 7334 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type+:} false; then : 7335 $as_echo_n "(cached) " >&6 7336 else 7337 7338 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7339 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wmissing-parameter-type" 7340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7341 /* end confdefs.h. */ 7342 7343 int 7344 main () 7345 { 7346 7347 ; 7348 return 0; 7349 } 7350 _ACEOF 7351 if ac_fn_c_try_link "$LINENO"; then : 7352 gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=yes 7353 else 7354 gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=no 7355 fi 7356 rm -f core conftest.err conftest.$ac_build_objext \ 7357 conftest$ac_build_exeext conftest.$ac_ext 7358 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7359 7360 fi 7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&5 7362 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&6; } 7363 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" = xyes; then : 7364 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wmissing-parameter-type" 7365 fi 7366 7367 7368 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7370 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7371 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7372 $as_echo_n "(cached) " >&6 7373 else 7374 7375 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7376 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7378 /* end confdefs.h. */ 7379 7380 int 7381 main () 7382 { 7383 7384 ; 7385 return 0; 7386 } 7387 _ACEOF 7388 if ac_fn_c_try_link "$LINENO"; then : 7389 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7390 else 7391 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7392 fi 7393 rm -f core conftest.err conftest.$ac_build_objext \ 7394 conftest$ac_build_exeext conftest.$ac_ext 7395 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7396 7397 fi 7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7399 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7400 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7401 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7402 else 7403 gl_build_unknown_warnings_are_errors= 7404 fi 7405 7406 7407 fi 7408 7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wnested-externs" >&5 7410 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wnested-externs... " >&6; } 7411 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs+:} false; then : 7412 $as_echo_n "(cached) " >&6 7413 else 7414 7415 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7416 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wnested-externs" 7417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7418 /* end confdefs.h. */ 7419 7420 int 7421 main () 7422 { 7423 7424 ; 7425 return 0; 7426 } 7427 _ACEOF 7428 if ac_fn_c_try_link "$LINENO"; then : 7429 gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=yes 7430 else 7431 gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=no 7432 fi 7433 rm -f core conftest.err conftest.$ac_build_objext \ 7434 conftest$ac_build_exeext conftest.$ac_ext 7435 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7436 7437 fi 7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&5 7439 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&6; } 7440 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" = xyes; then : 7441 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wnested-externs" 7442 fi 7443 7444 7445 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7447 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7448 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7449 $as_echo_n "(cached) " >&6 7450 else 7451 7452 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7453 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7455 /* end confdefs.h. */ 7456 7457 int 7458 main () 7459 { 7460 7461 ; 7462 return 0; 7463 } 7464 _ACEOF 7465 if ac_fn_c_try_link "$LINENO"; then : 7466 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7467 else 7468 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7469 fi 7470 rm -f core conftest.err conftest.$ac_build_objext \ 7471 conftest$ac_build_exeext conftest.$ac_ext 7472 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7473 7474 fi 7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7476 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7477 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7478 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7479 else 7480 gl_build_unknown_warnings_are_errors= 7481 fi 7482 7483 7484 fi 7485 7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-declaration" >&5 7487 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-declaration... " >&6; } 7488 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration+:} false; then : 7489 $as_echo_n "(cached) " >&6 7490 else 7491 7492 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7493 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-declaration" 7494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7495 /* end confdefs.h. */ 7496 7497 int 7498 main () 7499 { 7500 7501 ; 7502 return 0; 7503 } 7504 _ACEOF 7505 if ac_fn_c_try_link "$LINENO"; then : 7506 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=yes 7507 else 7508 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=no 7509 fi 7510 rm -f core conftest.err conftest.$ac_build_objext \ 7511 conftest$ac_build_exeext conftest.$ac_ext 7512 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7513 7514 fi 7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&5 7516 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&6; } 7517 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" = xyes; then : 7518 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-declaration" 7519 fi 7520 7521 7522 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7524 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7525 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7526 $as_echo_n "(cached) " >&6 7527 else 7528 7529 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7530 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7532 /* end confdefs.h. */ 7533 7534 int 7535 main () 7536 { 7537 7538 ; 7539 return 0; 7540 } 7541 _ACEOF 7542 if ac_fn_c_try_link "$LINENO"; then : 7543 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7544 else 7545 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7546 fi 7547 rm -f core conftest.err conftest.$ac_build_objext \ 7548 conftest$ac_build_exeext conftest.$ac_ext 7549 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7550 7551 fi 7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7553 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7554 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7555 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7556 else 7557 gl_build_unknown_warnings_are_errors= 7558 fi 7559 7560 7561 fi 7562 7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-definition" >&5 7564 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-definition... " >&6; } 7565 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition+:} false; then : 7566 $as_echo_n "(cached) " >&6 7567 else 7568 7569 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7570 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-definition" 7571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7572 /* end confdefs.h. */ 7573 7574 int 7575 main () 7576 { 7577 7578 ; 7579 return 0; 7580 } 7581 _ACEOF 7582 if ac_fn_c_try_link "$LINENO"; then : 7583 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=yes 7584 else 7585 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=no 7586 fi 7587 rm -f core conftest.err conftest.$ac_build_objext \ 7588 conftest$ac_build_exeext conftest.$ac_ext 7589 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7590 7591 fi 7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&5 7593 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&6; } 7594 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" = xyes; then : 7595 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-definition" 7596 fi 7597 7598 7599 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7601 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7602 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7603 $as_echo_n "(cached) " >&6 7604 else 7605 7606 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7607 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7609 /* end confdefs.h. */ 7610 7611 int 7612 main () 7613 { 7614 7615 ; 7616 return 0; 7617 } 7618 _ACEOF 7619 if ac_fn_c_try_link "$LINENO"; then : 7620 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7621 else 7622 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7623 fi 7624 rm -f core conftest.err conftest.$ac_build_objext \ 7625 conftest$ac_build_exeext conftest.$ac_ext 7626 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7627 7628 fi 7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7630 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7631 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7632 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7633 else 7634 gl_build_unknown_warnings_are_errors= 7635 fi 7636 7637 7638 fi 7639 7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wsign-compare" >&5 7641 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wsign-compare... " >&6; } 7642 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare+:} false; then : 7643 $as_echo_n "(cached) " >&6 7644 else 7645 7646 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7647 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wsign-compare" 7648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7649 /* end confdefs.h. */ 7650 7651 int 7652 main () 7653 { 7654 7655 ; 7656 return 0; 7657 } 7658 _ACEOF 7659 if ac_fn_c_try_link "$LINENO"; then : 7660 gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=yes 7661 else 7662 gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=no 7663 fi 7664 rm -f core conftest.err conftest.$ac_build_objext \ 7665 conftest$ac_build_exeext conftest.$ac_ext 7666 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7667 7668 fi 7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&5 7670 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&6; } 7671 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" = xyes; then : 7672 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wsign-compare" 7673 fi 7674 7675 7676 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7678 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7679 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7680 $as_echo_n "(cached) " >&6 7681 else 7682 7683 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7684 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7686 /* end confdefs.h. */ 7687 7688 int 7689 main () 7690 { 7691 7692 ; 7693 return 0; 7694 } 7695 _ACEOF 7696 if ac_fn_c_try_link "$LINENO"; then : 7697 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7698 else 7699 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7700 fi 7701 rm -f core conftest.err conftest.$ac_build_objext \ 7702 conftest$ac_build_exeext conftest.$ac_ext 7703 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7704 7705 fi 7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7707 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7708 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7709 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7710 else 7711 gl_build_unknown_warnings_are_errors= 7712 fi 7713 7714 7715 fi 7716 7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wtype-limits" >&5 7718 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wtype-limits... " >&6; } 7719 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits+:} false; then : 7720 $as_echo_n "(cached) " >&6 7721 else 7722 7723 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7724 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wtype-limits" 7725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7726 /* end confdefs.h. */ 7727 7728 int 7729 main () 7730 { 7731 7732 ; 7733 return 0; 7734 } 7735 _ACEOF 7736 if ac_fn_c_try_link "$LINENO"; then : 7737 gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=yes 7738 else 7739 gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=no 7740 fi 7741 rm -f core conftest.err conftest.$ac_build_objext \ 7742 conftest$ac_build_exeext conftest.$ac_ext 7743 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7744 7745 fi 7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&5 7747 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&6; } 7748 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" = xyes; then : 7749 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wtype-limits" 7750 fi 7751 7752 7753 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7755 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7756 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7757 $as_echo_n "(cached) " >&6 7758 else 7759 7760 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7761 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7763 /* end confdefs.h. */ 7764 7765 int 7766 main () 7767 { 7768 7769 ; 7770 return 0; 7771 } 7772 _ACEOF 7773 if ac_fn_c_try_link "$LINENO"; then : 7774 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7775 else 7776 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7777 fi 7778 rm -f core conftest.err conftest.$ac_build_objext \ 7779 conftest$ac_build_exeext conftest.$ac_ext 7780 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7781 7782 fi 7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7784 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7785 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7786 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7787 else 7788 gl_build_unknown_warnings_are_errors= 7789 fi 7790 7791 7792 fi 7793 7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wwrite-strings" >&5 7795 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wwrite-strings... " >&6; } 7796 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings+:} false; then : 7797 $as_echo_n "(cached) " >&6 7798 else 7799 7800 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7801 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wwrite-strings" 7802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7803 /* end confdefs.h. */ 7804 7805 int 7806 main () 7807 { 7808 7809 ; 7810 return 0; 7811 } 7812 _ACEOF 7813 if ac_fn_c_try_link "$LINENO"; then : 7814 gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=yes 7815 else 7816 gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=no 7817 fi 7818 rm -f core conftest.err conftest.$ac_build_objext \ 7819 conftest$ac_build_exeext conftest.$ac_ext 7820 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7821 7822 fi 7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&5 7824 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&6; } 7825 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" = xyes; then : 7826 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wwrite-strings" 7827 fi 7828 7829 7830 # Check whether --enable-gcc-Werror was given. 7831 if test "${enable_gcc_Werror+set}" = set; then : 7832 enableval=$enable_gcc_Werror; case $enableval in 7833 yes) if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7835 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7836 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7837 $as_echo_n "(cached) " >&6 7838 else 7839 7840 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7841 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7843 /* end confdefs.h. */ 7844 7845 int 7846 main () 7847 { 7848 7849 ; 7850 return 0; 7851 } 7852 _ACEOF 7853 if ac_fn_c_try_link "$LINENO"; then : 7854 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7855 else 7856 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7857 fi 7858 rm -f core conftest.err conftest.$ac_build_objext \ 7859 conftest$ac_build_exeext conftest.$ac_ext 7860 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7861 7862 fi 7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7864 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7865 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7866 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7867 else 7868 gl_build_unknown_warnings_are_errors= 7869 fi 7870 7871 7872 fi 7873 7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror" >&5 7875 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror... " >&6; } 7876 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror+:} false; then : 7877 $as_echo_n "(cached) " >&6 7878 else 7879 7880 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7881 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror" 7882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7883 /* end confdefs.h. */ 7884 7885 int 7886 main () 7887 { 7888 7889 ; 7890 return 0; 7891 } 7892 _ACEOF 7893 if ac_fn_c_try_link "$LINENO"; then : 7894 gl_cv_warn_CFLAGS_FOR_BUILD__Werror=yes 7895 else 7896 gl_cv_warn_CFLAGS_FOR_BUILD__Werror=no 7897 fi 7898 rm -f core conftest.err conftest.$ac_build_objext \ 7899 conftest$ac_build_exeext conftest.$ac_ext 7900 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7901 7902 fi 7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&5 7904 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&6; } 7905 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" = xyes; then : 7906 as_fn_append WARN_CFLAGS_FOR_BUILD " -Werror" 7907 fi 7908 7909 ;; 7910 no) ;; 7911 *) as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;; 7912 esac 7913 7914 fi 7915 7916 7917 7918 7919 if test -n "${st_saved_cross_compiling+set}"; then : 7920 cross_compiling="${st_saved_cross_compiling}"; unset st_saved_cross_compiling 7921 fi 7922 7923 if test -n "${st_saved_ac_tool_prefix+set}"; then : 7924 ac_tool_prefix="${st_saved_ac_tool_prefix}"; unset st_saved_ac_tool_prefix 7925 fi 7926 7927 if test -n "${st_saved_ac_link+set}"; then : 7928 ac_link="${st_saved_ac_link}"; unset st_saved_ac_link 7929 fi 7930 7931 if test -n "${st_saved_ac_cv_c_decl_report+set}"; then : 7932 ac_cv_c_decl_report="${st_saved_ac_cv_c_decl_report}"; unset st_saved_ac_cv_c_decl_report 7933 fi 7934 7935 if test -n "${st_saved_ac_cv_c_compiler_gnu+set}"; then : 7936 ac_cv_c_compiler_gnu="${st_saved_ac_cv_c_compiler_gnu}"; unset st_saved_ac_cv_c_compiler_gnu 7937 fi 7938 7939 if test -n "${st_saved_ac_cpp+set}"; then : 7940 ac_cpp="${st_saved_ac_cpp}"; unset st_saved_ac_cpp 7941 fi 7942 7943 if test -n "${st_saved_ac_compiler_gnu+set}"; then : 7944 ac_compiler_gnu="${st_saved_ac_compiler_gnu}"; unset st_saved_ac_compiler_gnu 7945 fi 7946 7947 if test -n "${st_saved_ac_compile+set}"; then : 7948 ac_compile="${st_saved_ac_compile}"; unset st_saved_ac_compile 7949 fi 7950 7951 if test -n "${st_saved_ac_c_werror_flag+set}"; then : 7952 ac_c_werror_flag="${st_saved_ac_c_werror_flag}"; unset st_saved_ac_c_werror_flag 7953 fi 7954 7955 if test -n "${st_saved_ac_c_preproc_warn_flag+set}"; then : 7956 ac_c_preproc_warn_flag="${st_saved_ac_c_preproc_warn_flag}"; unset st_saved_ac_c_preproc_warn_flag 7957 fi 7958 7959 if test -n "${st_saved_ac_c_decl_warn_flag+set}"; then : 7960 ac_c_decl_warn_flag="${st_saved_ac_c_decl_warn_flag}"; unset st_saved_ac_c_decl_warn_flag 7961 fi 7962 7963 7964 7965 BUILD_EXEEXT=$ac_build_exeext 7966 BUILD_OBJEXT=$ac_build_objext 7967 7968 7969 if test -n "$ac_tool_prefix"; then 7970 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7971 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7973 $as_echo_n "checking for $ac_word... " >&6; } 7974 if ${ac_cv_prog_RANLIB+:} false; then : 7975 $as_echo_n "(cached) " >&6 7976 else 7977 if test -n "$RANLIB"; then 7978 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7979 else 7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7981 for as_dir in $PATH 7982 do 7983 IFS=$as_save_IFS 7984 test -z "$as_dir" && as_dir=. 7985 for ac_exec_ext in '' $ac_executable_extensions; do 7986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7987 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7989 break 2 7990 fi 7991 done 7992 done 7993 IFS=$as_save_IFS 7994 7995 fi 7996 fi 7997 RANLIB=$ac_cv_prog_RANLIB 7998 if test -n "$RANLIB"; then 7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 8000 $as_echo "$RANLIB" >&6; } 8001 else 8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8003 $as_echo "no" >&6; } 8004 fi 8005 8006 8007 fi 8008 if test -z "$ac_cv_prog_RANLIB"; then 8009 ac_ct_RANLIB=$RANLIB 8010 # Extract the first word of "ranlib", so it can be a program name with args. 8011 set dummy ranlib; ac_word=$2 8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8013 $as_echo_n "checking for $ac_word... " >&6; } 8014 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 8015 $as_echo_n "(cached) " >&6 8016 else 8017 if test -n "$ac_ct_RANLIB"; then 8018 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 8019 else 8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8021 for as_dir in $PATH 8022 do 8023 IFS=$as_save_IFS 8024 test -z "$as_dir" && as_dir=. 8025 for ac_exec_ext in '' $ac_executable_extensions; do 8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8027 ac_cv_prog_ac_ct_RANLIB="ranlib" 8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8029 break 2 8030 fi 8031 done 8032 done 8033 IFS=$as_save_IFS 8034 8035 fi 8036 fi 8037 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 8038 if test -n "$ac_ct_RANLIB"; then 8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 8040 $as_echo "$ac_ct_RANLIB" >&6; } 8041 else 8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8043 $as_echo "no" >&6; } 8044 fi 8045 8046 if test "x$ac_ct_RANLIB" = x; then 8047 RANLIB=":" 8048 else 8049 case $cross_compiling:$ac_tool_warned in 8050 yes:) 8051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8053 ac_tool_warned=yes ;; 8054 esac 8055 RANLIB=$ac_ct_RANLIB 8056 fi 8057 else 8058 RANLIB="$ac_cv_prog_RANLIB" 8059 fi 8060 8061 8062 8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 8064 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 8065 if ${ac_cv_path_GREP+:} false; then : 8066 $as_echo_n "(cached) " >&6 8067 else 8068 if test -z "$GREP"; then 8069 ac_path_GREP_found=false 8070 # Loop through the user's path and test for each of PROGNAME-LIST 8071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8072 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 8073 do 8074 IFS=$as_save_IFS 8075 test -z "$as_dir" && as_dir=. 8076 for ac_prog in grep ggrep; do 8077 for ac_exec_ext in '' $ac_executable_extensions; do 8078 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 8079 as_fn_executable_p "$ac_path_GREP" || continue 8080 # Check for GNU ac_path_GREP and select it if it is found. 8081 # Check for GNU $ac_path_GREP 8082 case `"$ac_path_GREP" --version 2>&1` in 8083 *GNU*) 8084 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 8085 *) 8086 ac_count=0 8087 $as_echo_n 0123456789 >"conftest.in" 8088 while : 8089 do 8090 cat "conftest.in" "conftest.in" >"conftest.tmp" 8091 mv "conftest.tmp" "conftest.in" 8092 cp "conftest.in" "conftest.nl" 8093 $as_echo 'GREP' >> "conftest.nl" 8094 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 8095 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 8096 as_fn_arith $ac_count + 1 && ac_count=$as_val 8097 if test $ac_count -gt ${ac_path_GREP_max-0}; then 8098 # Best one so far, save it but keep looking for a better one 8099 ac_cv_path_GREP="$ac_path_GREP" 8100 ac_path_GREP_max=$ac_count 8101 fi 8102 # 10*(2^10) chars as input seems more than enough 8103 test $ac_count -gt 10 && break 8104 done 8105 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 8106 esac 8107 8108 $ac_path_GREP_found && break 3 8109 done 8110 done 8111 done 8112 IFS=$as_save_IFS 8113 if test -z "$ac_cv_path_GREP"; then 8114 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 8115 fi 8116 else 8117 ac_cv_path_GREP=$GREP 8118 fi 8119 8120 fi 8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 8122 $as_echo "$ac_cv_path_GREP" >&6; } 8123 GREP="$ac_cv_path_GREP" 8124 8125 8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 8127 $as_echo_n "checking for egrep... " >&6; } 8128 if ${ac_cv_path_EGREP+:} false; then : 8129 $as_echo_n "(cached) " >&6 8130 else 8131 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 8132 then ac_cv_path_EGREP="$GREP -E" 8133 else 8134 if test -z "$EGREP"; then 8135 ac_path_EGREP_found=false 8136 # Loop through the user's path and test for each of PROGNAME-LIST 8137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8138 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 8139 do 8140 IFS=$as_save_IFS 8141 test -z "$as_dir" && as_dir=. 8142 for ac_prog in egrep; do 8143 for ac_exec_ext in '' $ac_executable_extensions; do 8144 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 8145 as_fn_executable_p "$ac_path_EGREP" || continue 8146 # Check for GNU ac_path_EGREP and select it if it is found. 8147 # Check for GNU $ac_path_EGREP 8148 case `"$ac_path_EGREP" --version 2>&1` in 8149 *GNU*) 8150 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 8151 *) 8152 ac_count=0 8153 $as_echo_n 0123456789 >"conftest.in" 8154 while : 8155 do 8156 cat "conftest.in" "conftest.in" >"conftest.tmp" 8157 mv "conftest.tmp" "conftest.in" 8158 cp "conftest.in" "conftest.nl" 8159 $as_echo 'EGREP' >> "conftest.nl" 8160 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 8161 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 8162 as_fn_arith $ac_count + 1 && ac_count=$as_val 8163 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 8164 # Best one so far, save it but keep looking for a better one 8165 ac_cv_path_EGREP="$ac_path_EGREP" 8166 ac_path_EGREP_max=$ac_count 8167 fi 8168 # 10*(2^10) chars as input seems more than enough 8169 test $ac_count -gt 10 && break 8170 done 8171 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 8172 esac 8173 8174 $ac_path_EGREP_found && break 3 8175 done 8176 done 8177 done 8178 IFS=$as_save_IFS 8179 if test -z "$ac_cv_path_EGREP"; then 8180 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 8181 fi 8182 else 8183 ac_cv_path_EGREP=$EGREP 8184 fi 8185 8186 fi 8187 fi 8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 8189 $as_echo "$ac_cv_path_EGREP" >&6; } 8190 EGREP="$ac_cv_path_EGREP" 8191 8192 8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8194 $as_echo_n "checking for ANSI C header files... " >&6; } 8195 if ${ac_cv_header_stdc+:} false; then : 8196 $as_echo_n "(cached) " >&6 8197 else 8198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8199 /* end confdefs.h. */ 8200 #include <stdlib.h> 8201 #include <stdarg.h> 8202 #include <string.h> 8203 #include <float.h> 8204 8205 int 8206 main () 8207 { 8208 8209 ; 8210 return 0; 8211 } 8212 _ACEOF 8213 if ac_fn_c_try_compile "$LINENO"; then : 8214 ac_cv_header_stdc=yes 8215 else 8216 ac_cv_header_stdc=no 8217 fi 8218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8219 8220 if test $ac_cv_header_stdc = yes; then 8221 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8223 /* end confdefs.h. */ 8224 #include <string.h> 8225 8226 _ACEOF 8227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8228 $EGREP "memchr" >/dev/null 2>&1; then : 8229 8230 else 8231 ac_cv_header_stdc=no 8232 fi 8233 rm -f conftest* 8234 8235 fi 8236 8237 if test $ac_cv_header_stdc = yes; then 8238 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8240 /* end confdefs.h. */ 8241 #include <stdlib.h> 8242 8243 _ACEOF 8244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8245 $EGREP "free" >/dev/null 2>&1; then : 8246 8247 else 8248 ac_cv_header_stdc=no 8249 fi 8250 rm -f conftest* 8251 8252 fi 8253 8254 if test $ac_cv_header_stdc = yes; then 8255 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8256 if test "$cross_compiling" = yes; then : 8257 : 8258 else 8259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8260 /* end confdefs.h. */ 8261 #include <ctype.h> 8262 #include <stdlib.h> 8263 #if ((' ' & 0x0FF) == 0x020) 8264 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8265 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8266 #else 8267 # define ISLOWER(c) \ 8268 (('a' <= (c) && (c) <= 'i') \ 8269 || ('j' <= (c) && (c) <= 'r') \ 8270 || ('s' <= (c) && (c) <= 'z')) 8271 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8272 #endif 8273 8274 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8275 int 8276 main () 8277 { 8278 int i; 8279 for (i = 0; i < 256; i++) 8280 if (XOR (islower (i), ISLOWER (i)) 8281 || toupper (i) != TOUPPER (i)) 8282 return 2; 8283 return 0; 8284 } 8285 _ACEOF 8286 if ac_fn_c_try_run "$LINENO"; then : 8287 8288 else 8289 ac_cv_header_stdc=no 8290 fi 8291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8292 conftest.$ac_objext conftest.beam conftest.$ac_ext 8293 fi 8294 8295 fi 8296 fi 8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8298 $as_echo "$ac_cv_header_stdc" >&6; } 8299 if test $ac_cv_header_stdc = yes; then 8300 8301 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 8302 8303 fi 8304 8305 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 8306 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8307 inttypes.h stdint.h unistd.h 8308 do : 8309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8310 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8311 " 8312 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8313 cat >>confdefs.h <<_ACEOF 8314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8315 _ACEOF 8316 8317 fi 8318 8319 done 8320 8321 8322 8323 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 8324 if test "x$ac_cv_header_minix_config_h" = xyes; then : 8325 MINIX=yes 8326 else 8327 MINIX= 8328 fi 8329 8330 8331 if test "$MINIX" = yes; then 8332 8333 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 8334 8335 8336 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 8337 8338 8339 $as_echo "#define _MINIX 1" >>confdefs.h 8340 8341 fi 8342 8343 8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 8345 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 8346 if ${ac_cv_safe_to_define___extensions__+:} false; then : 8347 $as_echo_n "(cached) " >&6 8348 else 8349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8350 /* end confdefs.h. */ 8351 8352 # define __EXTENSIONS__ 1 8353 $ac_includes_default 8354 int 8355 main () 8356 { 8357 8358 ; 8359 return 0; 8360 } 8361 _ACEOF 8362 if ac_fn_c_try_compile "$LINENO"; then : 8363 ac_cv_safe_to_define___extensions__=yes 8364 else 8365 ac_cv_safe_to_define___extensions__=no 8366 fi 8367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8368 fi 8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 8370 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 8371 test $ac_cv_safe_to_define___extensions__ = yes && 8372 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 8373 8374 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 8375 8376 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 8377 8378 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 8379 8380 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 8381 8382 8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 8384 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 8385 if ${ac_cv_path_SED+:} false; then : 8386 $as_echo_n "(cached) " >&6 8387 else 8388 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 8389 for ac_i in 1 2 3 4 5 6 7; do 8390 ac_script="$ac_script$as_nl$ac_script" 8391 done 8392 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8393 { ac_script=; unset ac_script;} 8394 if test -z "$SED"; then 8395 ac_path_SED_found=false 8396 # Loop through the user's path and test for each of PROGNAME-LIST 8397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8398 for as_dir in $PATH 8399 do 8400 IFS=$as_save_IFS 8401 test -z "$as_dir" && as_dir=. 8402 for ac_prog in sed gsed; do 8403 for ac_exec_ext in '' $ac_executable_extensions; do 8404 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8405 as_fn_executable_p "$ac_path_SED" || continue 8406 # Check for GNU ac_path_SED and select it if it is found. 8407 # Check for GNU $ac_path_SED 8408 case `"$ac_path_SED" --version 2>&1` in 8409 *GNU*) 8410 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 8411 *) 8412 ac_count=0 8413 $as_echo_n 0123456789 >"conftest.in" 8414 while : 8415 do 8416 cat "conftest.in" "conftest.in" >"conftest.tmp" 8417 mv "conftest.tmp" "conftest.in" 8418 cp "conftest.in" "conftest.nl" 8419 $as_echo '' >> "conftest.nl" 8420 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 8421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 8422 as_fn_arith $ac_count + 1 && ac_count=$as_val 8423 if test $ac_count -gt ${ac_path_SED_max-0}; then 8424 # Best one so far, save it but keep looking for a better one 8425 ac_cv_path_SED="$ac_path_SED" 8426 ac_path_SED_max=$ac_count 8427 fi 8428 # 10*(2^10) chars as input seems more than enough 8429 test $ac_count -gt 10 && break 8430 done 8431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 8432 esac 8433 8434 $ac_path_SED_found && break 3 8435 done 8436 done 8437 done 8438 IFS=$as_save_IFS 8439 if test -z "$ac_cv_path_SED"; then 8440 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 8441 fi 8442 else 8443 ac_cv_path_SED=$SED 8444 fi 8445 8446 fi 8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 8448 $as_echo "$ac_cv_path_SED" >&6; } 8449 SED="$ac_cv_path_SED" 8450 rm -f conftest.sed 8451 8452 8453 8454 8455 # allow to override gcov location 8456 8457 # Check whether --with-gcov was given. 8458 if test "${with_gcov+set}" = set; then : 8459 withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov 8460 else 8461 _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov 8462 fi 8463 8464 8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5 8466 $as_echo_n "checking whether to build with code coverage support... " >&6; } 8467 # Check whether --enable-code-coverage was given. 8468 if test "${enable_code_coverage+set}" = set; then : 8469 enableval=$enable_code_coverage; 8470 else 8471 enable_code_coverage=no 8472 fi 8473 8474 8475 if test x$enable_code_coverage = xyes; then 8476 CODE_COVERAGE_ENABLED_TRUE= 8477 CODE_COVERAGE_ENABLED_FALSE='#' 8478 else 8479 CODE_COVERAGE_ENABLED_TRUE='#' 8480 CODE_COVERAGE_ENABLED_FALSE= 8481 fi 8482 8483 CODE_COVERAGE_ENABLED=$enable_code_coverage 8484 8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5 8486 $as_echo "$enable_code_coverage" >&6; } 8487 8488 if test "$enable_code_coverage" = "yes" ; then : 8489 8490 # check for gcov 8491 if test -n "$ac_tool_prefix"; then 8492 # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. 8493 set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8495 $as_echo_n "checking for $ac_word... " >&6; } 8496 if ${ac_cv_prog_GCOV+:} false; then : 8497 $as_echo_n "(cached) " >&6 8498 else 8499 if test -n "$GCOV"; then 8500 ac_cv_prog_GCOV="$GCOV" # Let the user override the test. 8501 else 8502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8503 for as_dir in $PATH 8504 do 8505 IFS=$as_save_IFS 8506 test -z "$as_dir" && as_dir=. 8507 for ac_exec_ext in '' $ac_executable_extensions; do 8508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8509 ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH" 8510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8511 break 2 8512 fi 8513 done 8514 done 8515 IFS=$as_save_IFS 8516 8517 fi 8518 fi 8519 GCOV=$ac_cv_prog_GCOV 8520 if test -n "$GCOV"; then 8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 8522 $as_echo "$GCOV" >&6; } 8523 else 8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8525 $as_echo "no" >&6; } 8526 fi 8527 8528 8529 fi 8530 if test -z "$ac_cv_prog_GCOV"; then 8531 ac_ct_GCOV=$GCOV 8532 # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. 8533 set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8535 $as_echo_n "checking for $ac_word... " >&6; } 8536 if ${ac_cv_prog_ac_ct_GCOV+:} false; then : 8537 $as_echo_n "(cached) " >&6 8538 else 8539 if test -n "$ac_ct_GCOV"; then 8540 ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test. 8541 else 8542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8543 for as_dir in $PATH 8544 do 8545 IFS=$as_save_IFS 8546 test -z "$as_dir" && as_dir=. 8547 for ac_exec_ext in '' $ac_executable_extensions; do 8548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8549 ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH" 8550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8551 break 2 8552 fi 8553 done 8554 done 8555 IFS=$as_save_IFS 8556 8557 fi 8558 fi 8559 ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV 8560 if test -n "$ac_ct_GCOV"; then 8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5 8562 $as_echo "$ac_ct_GCOV" >&6; } 8563 else 8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8565 $as_echo "no" >&6; } 8566 fi 8567 8568 if test "x$ac_ct_GCOV" = x; then 8569 GCOV=":" 8570 else 8571 case $cross_compiling:$ac_tool_warned in 8572 yes:) 8573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8575 ac_tool_warned=yes ;; 8576 esac 8577 GCOV=$ac_ct_GCOV 8578 fi 8579 else 8580 GCOV="$ac_cv_prog_GCOV" 8581 fi 8582 8583 if test "X$GCOV" = "X:"; then : 8584 as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5 8585 fi 8586 8587 8588 if test "$GCC" = "no" ; then : 8589 8590 as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5 8591 8592 fi 8593 8594 # Extract the first word of "lcov", so it can be a program name with args. 8595 set dummy lcov; ac_word=$2 8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8597 $as_echo_n "checking for $ac_word... " >&6; } 8598 if ${ac_cv_prog_LCOV+:} false; then : 8599 $as_echo_n "(cached) " >&6 8600 else 8601 if test -n "$LCOV"; then 8602 ac_cv_prog_LCOV="$LCOV" # Let the user override the test. 8603 else 8604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8605 for as_dir in $PATH 8606 do 8607 IFS=$as_save_IFS 8608 test -z "$as_dir" && as_dir=. 8609 for ac_exec_ext in '' $ac_executable_extensions; do 8610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8611 ac_cv_prog_LCOV="lcov" 8612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8613 break 2 8614 fi 8615 done 8616 done 8617 IFS=$as_save_IFS 8618 8619 fi 8620 fi 8621 LCOV=$ac_cv_prog_LCOV 8622 if test -n "$LCOV"; then 8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 8624 $as_echo "$LCOV" >&6; } 8625 else 8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8627 $as_echo "no" >&6; } 8628 fi 8629 8630 8631 # Extract the first word of "genhtml", so it can be a program name with args. 8632 set dummy genhtml; ac_word=$2 8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8634 $as_echo_n "checking for $ac_word... " >&6; } 8635 if ${ac_cv_prog_GENHTML+:} false; then : 8636 $as_echo_n "(cached) " >&6 8637 else 8638 if test -n "$GENHTML"; then 8639 ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test. 8640 else 8641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8642 for as_dir in $PATH 8643 do 8644 IFS=$as_save_IFS 8645 test -z "$as_dir" && as_dir=. 8646 for ac_exec_ext in '' $ac_executable_extensions; do 8647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8648 ac_cv_prog_GENHTML="genhtml" 8649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8650 break 2 8651 fi 8652 done 8653 done 8654 IFS=$as_save_IFS 8655 8656 fi 8657 fi 8658 GENHTML=$ac_cv_prog_GENHTML 8659 if test -n "$GENHTML"; then 8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5 8661 $as_echo "$GENHTML" >&6; } 8662 else 8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8664 $as_echo "no" >&6; } 8665 fi 8666 8667 8668 8669 if test -z "$LCOV" ; then : 8670 8671 as_fn_error $? "To enable code coverage reporting you must have lcov installed" "$LINENO" 5 8672 8673 fi 8674 8675 if test -z "$GENHTML" ; then : 8676 8677 as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5 8678 8679 fi 8680 8681 CODE_COVERAGE_CPPFLAGS="-DENABLE_COVERAGE_GCOV -DNDEBUG" 8682 CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" 8683 CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" 8684 CODE_COVERAGE_LIBS="-lgcov" 8685 CODE_COVERAGE_LDFLAGS="$CODE_COVERAGE_LIBS" 8686 8687 8688 8689 8690 8691 8692 8693 CODE_COVERAGE_RULES_CHECK=' 8694 -$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check 8695 $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture 8696 ' 8697 CODE_COVERAGE_RULES_CAPTURE=' 8698 $(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) 8699 $(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) 8700 -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp 8701 $(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) 8702 @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html" 8703 ' 8704 CODE_COVERAGE_RULES_CLEAN=' 8705 clean: code-coverage-clean 8706 distclean: code-coverage-clean 8707 code-coverage-clean: 8708 -$(LCOV) --directory $(top_builddir) -z 8709 -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY) 8710 -find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete 8711 ' 8712 8713 else 8714 8715 CODE_COVERAGE_RULES_CHECK=' 8716 @echo "Need to reconfigure with --enable-code-coverage" 8717 ' 8718 CODE_COVERAGE_RULES_CAPTURE="$CODE_COVERAGE_RULES_CHECK" 8719 CODE_COVERAGE_RULES_CLEAN='' 8720 8721 fi 8722 8723 CODE_COVERAGE_RULES=' 8724 # Code coverage 8725 # 8726 # Optional: 8727 # - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting. 8728 # Multiple directories may be specified, separated by whitespace. 8729 # (Default: $(top_builddir)) 8730 # - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated 8731 # by lcov for code coverage. (Default: 8732 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info) 8733 # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage 8734 # reports to be created. (Default: 8735 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) 8736 # - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage, 8737 # set to 0 to disable it and leave empty to stay with the default. 8738 # (Default: empty) 8739 # - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov 8740 # instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) 8741 # - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov 8742 # instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) 8743 # - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov 8744 # - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the 8745 # collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) 8746 # - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov 8747 # instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) 8748 # - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering 8749 # lcov instance. (Default: empty) 8750 # - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov 8751 # instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) 8752 # - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the 8753 # genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) 8754 # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml 8755 # instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) 8756 # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore 8757 # 8758 # The generated report will be titled using the $(PACKAGE_NAME) and 8759 # $(PACKAGE_VERSION). In order to add the current git hash to the title, 8760 # use the git-version-gen script, available online. 8761 8762 # Optional variables 8763 CODE_COVERAGE_DIRECTORY ?= $(top_builddir) 8764 CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info 8765 CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage 8766 CODE_COVERAGE_BRANCH_COVERAGE ?= 8767 CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ 8768 --rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) 8769 CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) 8770 CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" 8771 CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) 8772 CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) 8773 CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?= 8774 CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) 8775 CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\ 8776 $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ 8777 --rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) 8778 CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) 8779 CODE_COVERAGE_IGNORE_PATTERN ?= 8780 8781 code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V)) 8782 code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY)) 8783 code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\ 8784 $(CODE_COVERAGE_OUTPUT_FILE); 8785 code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V)) 8786 code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY)) 8787 code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\ 8788 $(CODE_COVERAGE_IGNORE_PATTERN); 8789 code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V)) 8790 code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY)) 8791 code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY); 8792 code_coverage_quiet = $(code_coverage_quiet_$(V)) 8793 code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY)) 8794 code_coverage_quiet_0 = --quiet 8795 8796 # sanitizes the test-name: replaces with underscores: dashes and dots 8797 code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1))) 8798 8799 # Use recursive makes in order to ignore errors during check 8800 check-code-coverage:'"$CODE_COVERAGE_RULES_CHECK"' 8801 8802 # Capture code coverage data 8803 code-coverage-capture: code-coverage-capture-hook'"$CODE_COVERAGE_RULES_CAPTURE"' 8804 8805 # Hook rule executed before code-coverage-capture, overridable by the user 8806 code-coverage-capture-hook: 8807 8808 '"$CODE_COVERAGE_RULES_CLEAN"' 8809 8810 GITIGNOREFILES ?= 8811 GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY) 8812 8813 A''M_DISTCHECK_CONFIGURE_FLAGS ?= 8814 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage 8815 8816 .PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean 8817 ' 8818 8819 8820 8821 8822 8823 8824 $as_echo "#define COPYRIGHT_YEAR \"2018\"" >>confdefs.h 8825 8826 COPYRIGHT_YEAR=2018 8827 8828 8829 8830 $as_echo "#define MANPAGE_DATE \"2018-02-11\"" >>confdefs.h 8831 8832 MANPAGE_DATE=2018-02-11 8833 8834 8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported architecture" >&5 8836 $as_echo_n "checking for supported architecture... " >&6; } 8837 arch_m32= 8838 arch_mx32= 8839 cc_flags_m32=-m32 8840 cc_flags_mx32=-mx32 8841 case "$host_cpu" in 8842 aarch64*) 8843 arch=aarch64 8844 arch_m32=arm 8845 8846 $as_echo "#define AARCH64 1" >>confdefs.h 8847 8848 ;; 8849 alpha*) 8850 arch=alpha 8851 8852 $as_echo "#define ALPHA 1" >>confdefs.h 8853 8854 ;; 8855 arc*) 8856 arch=arc 8857 8858 $as_echo "#define ARC 1" >>confdefs.h 8859 8860 ;; 8861 arm*) 8862 arch=arm 8863 8864 $as_echo "#define ARM 1" >>confdefs.h 8865 8866 ;; 8867 avr32*) 8868 arch=avr32 8869 8870 $as_echo "#define AVR32 1" >>confdefs.h 8871 8872 ;; 8873 bfin) 8874 arch=bfin 8875 8876 $as_echo "#define BFIN 1" >>confdefs.h 8877 8878 ;; 8879 hppa*|parisc*) 8880 arch=hppa 8881 8882 $as_echo "#define HPPA 1" >>confdefs.h 8883 8884 ;; 8885 i[3456]86|pentium) 8886 arch=i386 8887 8888 $as_echo "#define I386 1" >>confdefs.h 8889 8890 ;; 8891 ia64) 8892 arch=ia64 8893 8894 $as_echo "#define IA64 1" >>confdefs.h 8895 8896 ;; 8897 m68k) 8898 arch=m68k 8899 8900 $as_echo "#define M68K 1" >>confdefs.h 8901 8902 ;; 8903 metag*) 8904 arch=metag 8905 8906 $as_echo "#define METAG 1" >>confdefs.h 8907 8908 ;; 8909 microblaze*) 8910 arch=microblaze 8911 8912 $as_echo "#define MICROBLAZE 1" >>confdefs.h 8913 8914 ;; 8915 mips*) 8916 arch=mips 8917 8918 $as_echo "#define MIPS 1" >>confdefs.h 8919 8920 ;; 8921 nios2*) 8922 arch=nios2 8923 8924 $as_echo "#define NIOS2 1" >>confdefs.h 8925 8926 ;; 8927 or1k*) 8928 arch=or1k 8929 8930 $as_echo "#define OR1K 1" >>confdefs.h 8931 8932 ;; 8933 powerpc*) 8934 8935 $as_echo "#define POWERPC 1" >>confdefs.h 8936 8937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8938 /* end confdefs.h. */ 8939 #ifndef __LP64__ 8940 # error 32 bit 8941 #endif 8942 int 8943 main () 8944 { 8945 8946 ; 8947 return 0; 8948 } 8949 _ACEOF 8950 if ac_fn_c_try_compile "$LINENO"; then : 8951 arch=powerpc64 8952 else 8953 arch=powerpc 8954 fi 8955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8956 if test "$arch" = "powerpc64"; then 8957 arch_m32=powerpc 8958 8959 $as_echo "#define POWERPC64 1" >>confdefs.h 8960 8961 fi 8962 ;; 8963 riscv*) 8964 arch=riscv 8965 8966 $as_echo "#define RISCV 1" >>confdefs.h 8967 8968 ;; 8969 s390) 8970 arch=s390 8971 8972 $as_echo "#define S390 1" >>confdefs.h 8973 8974 ;; 8975 s390x) 8976 arch=s390x 8977 arch_m32=s390 8978 cc_flags_m32=-m31 8979 8980 $as_echo "#define S390X 1" >>confdefs.h 8981 8982 ;; 8983 sh64*) 8984 arch=sh64 8985 8986 $as_echo "#define SH64 1" >>confdefs.h 8987 8988 ;; 8989 sh*) 8990 arch=sh 8991 8992 $as_echo "#define SH 1" >>confdefs.h 8993 8994 ;; 8995 sparc64*) 8996 arch=sparc64 8997 arch_m32=sparc 8998 8999 $as_echo "#define SPARC64 1" >>confdefs.h 9000 9001 ;; 9002 sparc*) 9003 arch=sparc 9004 9005 $as_echo "#define SPARC 1" >>confdefs.h 9006 9007 ;; 9008 tile*) 9009 arch=tile 9010 9011 $as_echo "#define TILE 1" >>confdefs.h 9012 9013 ;; 9014 x86?64*) 9015 arch_m32=i386 9016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9017 /* end confdefs.h. */ 9018 #ifndef __ILP32__ 9019 # error not x32 9020 #endif 9021 int 9022 main () 9023 { 9024 9025 ; 9026 return 0; 9027 } 9028 _ACEOF 9029 if ac_fn_c_try_compile "$LINENO"; then : 9030 arch=x32 9031 else 9032 arch=x86_64 9033 fi 9034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9035 if test "$arch" = "x86_64"; then 9036 arch_mx32=x32 9037 9038 $as_echo "#define X86_64 1" >>confdefs.h 9039 9040 else 9041 9042 $as_echo "#define X32 1" >>confdefs.h 9043 9044 fi 9045 ;; 9046 xtensa*) 9047 arch=xtensa 9048 9049 $as_echo "#define XTENSA 1" >>confdefs.h 9050 9051 ;; 9052 *) 9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: NO!" >&5 9054 $as_echo "NO!" >&6; } 9055 as_fn_error $? "architecture $host_cpu is not supported by strace" "$LINENO" 5 9056 ;; 9057 esac 9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arch" >&5 9059 $as_echo "$arch" >&6; } 9060 9061 arch_native=$arch 9062 9063 test -n "$arch_m32" || 9064 arch_m32=$arch 9065 test -n "$arch_mx32" || 9066 arch_mx32=$arch 9067 9068 9069 9070 9071 9072 9073 9074 MIPS_ABI= 9075 if test "$arch" = mips; then 9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _MIPS_SIM" >&5 9077 $as_echo_n "checking for _MIPS_SIM... " >&6; } 9078 if ${st_cv__MIPS_SIM+:} false; then : 9079 $as_echo_n "(cached) " >&6 9080 else 9081 if ac_fn_c_compute_int "$LINENO" "_MIPS_SIM" "st_cv__MIPS_SIM" ""; then : 9082 9083 else 9084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9086 as_fn_error $? "_MIPS_SIM cannot be determined 9087 See \`config.log' for more details" "$LINENO" 5; } 9088 fi 9089 9090 fi 9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv__MIPS_SIM" >&5 9092 $as_echo "$st_cv__MIPS_SIM" >&6; } 9093 9094 # requires GCC >= 3.4 9095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MIPS ABI" >&5 9096 $as_echo_n "checking for MIPS ABI... " >&6; } 9097 if ${st_cv_mips_abi+:} false; then : 9098 $as_echo_n "(cached) " >&6 9099 else 9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9101 /* end confdefs.h. */ 9102 9103 int 9104 main () 9105 { 9106 int i[_MIPS_SIM == _ABIO32 ? 1 : - 1]; 9107 ; 9108 return 0; 9109 } 9110 _ACEOF 9111 if ac_fn_c_try_compile "$LINENO"; then : 9112 st_cv_mips_abi=o32 9113 else 9114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9115 /* end confdefs.h. */ 9116 9117 int 9118 main () 9119 { 9120 int i[_MIPS_SIM == _ABIN32 ? 1 : - 1]; 9121 ; 9122 return 0; 9123 } 9124 _ACEOF 9125 if ac_fn_c_try_compile "$LINENO"; then : 9126 st_cv_mips_abi=n32 9127 else 9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9129 /* end confdefs.h. */ 9130 9131 int 9132 main () 9133 { 9134 int i[_MIPS_SIM == _ABI64 ? 1 : - 1]; 9135 ; 9136 return 0; 9137 } 9138 _ACEOF 9139 if ac_fn_c_try_compile "$LINENO"; then : 9140 st_cv_mips_abi=n64 9141 else 9142 st_cv_mips_abi=unknown 9143 fi 9144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9145 fi 9146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9147 fi 9148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9149 fi 9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mips_abi" >&5 9151 $as_echo "$st_cv_mips_abi" >&6; } 9152 9153 case "$st_cv_mips_abi" in 9154 o32) 9155 $as_echo "#define LINUX_MIPSO32 1" >>confdefs.h 9156 ;; 9157 n32) 9158 $as_echo "#define LINUX_MIPSN32 1" >>confdefs.h 9159 ;; 9160 n64) 9161 $as_echo "#define LINUX_MIPSN64 1" >>confdefs.h 9162 ;; 9163 *) as_fn_error $? "Unsupported _MIPS_SIM" "$LINENO" 5;; 9164 esac 9165 MIPS_ABI="$st_cv_mips_abi" 9166 fi 9167 9168 9169 # Check whether --enable-arm-oabi was given. 9170 if test "${enable_arm_oabi+set}" = set; then : 9171 enableval=$enable_arm_oabi; 9172 else 9173 enable_arm_oabi=no 9174 fi 9175 9176 case "$enable_arm_oabi" in 9177 yes) enable_arm_oabi=1 ;; 9178 no) enable_arm_oabi=0 ;; 9179 *) as_fn_error $? "bad value $enable_arm_oabi for arm-oabi option" "$LINENO" 5 ;; 9180 esac 9181 9182 cat >>confdefs.h <<_ACEOF 9183 #define ENABLE_ARM_OABI $enable_arm_oabi 9184 _ACEOF 9185 9186 9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9188 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 9189 if ${ac_cv_c_bigendian+:} false; then : 9190 $as_echo_n "(cached) " >&6 9191 else 9192 ac_cv_c_bigendian=unknown 9193 # See if we're dealing with a universal compiler. 9194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9195 /* end confdefs.h. */ 9196 #ifndef __APPLE_CC__ 9197 not a universal capable compiler 9198 #endif 9199 typedef int dummy; 9200 9201 _ACEOF 9202 if ac_fn_c_try_compile "$LINENO"; then : 9203 9204 # Check for potential -arch flags. It is not universal unless 9205 # there are at least two -arch flags with different values. 9206 ac_arch= 9207 ac_prev= 9208 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 9209 if test -n "$ac_prev"; then 9210 case $ac_word in 9211 i?86 | x86_64 | ppc | ppc64) 9212 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 9213 ac_arch=$ac_word 9214 else 9215 ac_cv_c_bigendian=universal 9216 break 9217 fi 9218 ;; 9219 esac 9220 ac_prev= 9221 elif test "x$ac_word" = "x-arch"; then 9222 ac_prev=arch 9223 fi 9224 done 9225 fi 9226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9227 if test $ac_cv_c_bigendian = unknown; then 9228 # See if sys/param.h defines the BYTE_ORDER macro. 9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9230 /* end confdefs.h. */ 9231 #include <sys/types.h> 9232 #include <sys/param.h> 9233 9234 int 9235 main () 9236 { 9237 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 9238 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 9239 && LITTLE_ENDIAN) 9240 bogus endian macros 9241 #endif 9242 9243 ; 9244 return 0; 9245 } 9246 _ACEOF 9247 if ac_fn_c_try_compile "$LINENO"; then : 9248 # It does; now see whether it defined to BIG_ENDIAN or not. 9249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9250 /* end confdefs.h. */ 9251 #include <sys/types.h> 9252 #include <sys/param.h> 9253 9254 int 9255 main () 9256 { 9257 #if BYTE_ORDER != BIG_ENDIAN 9258 not big endian 9259 #endif 9260 9261 ; 9262 return 0; 9263 } 9264 _ACEOF 9265 if ac_fn_c_try_compile "$LINENO"; then : 9266 ac_cv_c_bigendian=yes 9267 else 9268 ac_cv_c_bigendian=no 9269 fi 9270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9271 fi 9272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9273 fi 9274 if test $ac_cv_c_bigendian = unknown; then 9275 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 9276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9277 /* end confdefs.h. */ 9278 #include <limits.h> 9279 9280 int 9281 main () 9282 { 9283 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 9284 bogus endian macros 9285 #endif 9286 9287 ; 9288 return 0; 9289 } 9290 _ACEOF 9291 if ac_fn_c_try_compile "$LINENO"; then : 9292 # It does; now see whether it defined to _BIG_ENDIAN or not. 9293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9294 /* end confdefs.h. */ 9295 #include <limits.h> 9296 9297 int 9298 main () 9299 { 9300 #ifndef _BIG_ENDIAN 9301 not big endian 9302 #endif 9303 9304 ; 9305 return 0; 9306 } 9307 _ACEOF 9308 if ac_fn_c_try_compile "$LINENO"; then : 9309 ac_cv_c_bigendian=yes 9310 else 9311 ac_cv_c_bigendian=no 9312 fi 9313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9314 fi 9315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9316 fi 9317 if test $ac_cv_c_bigendian = unknown; then 9318 # Compile a test program. 9319 if test "$cross_compiling" = yes; then : 9320 # Try to guess by grepping values from an object file. 9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9322 /* end confdefs.h. */ 9323 short int ascii_mm[] = 9324 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 9325 short int ascii_ii[] = 9326 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 9327 int use_ascii (int i) { 9328 return ascii_mm[i] + ascii_ii[i]; 9329 } 9330 short int ebcdic_ii[] = 9331 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 9332 short int ebcdic_mm[] = 9333 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 9334 int use_ebcdic (int i) { 9335 return ebcdic_mm[i] + ebcdic_ii[i]; 9336 } 9337 extern int foo; 9338 9339 int 9340 main () 9341 { 9342 return use_ascii (foo) == use_ebcdic (foo); 9343 ; 9344 return 0; 9345 } 9346 _ACEOF 9347 if ac_fn_c_try_compile "$LINENO"; then : 9348 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9349 ac_cv_c_bigendian=yes 9350 fi 9351 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 9352 if test "$ac_cv_c_bigendian" = unknown; then 9353 ac_cv_c_bigendian=no 9354 else 9355 # finding both strings is unlikely to happen, but who knows? 9356 ac_cv_c_bigendian=unknown 9357 fi 9358 fi 9359 fi 9360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9361 else 9362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9363 /* end confdefs.h. */ 9364 $ac_includes_default 9365 int 9366 main () 9367 { 9368 9369 /* Are we little or big endian? From Harbison&Steele. */ 9370 union 9371 { 9372 long int l; 9373 char c[sizeof (long int)]; 9374 } u; 9375 u.l = 1; 9376 return u.c[sizeof (long int) - 1] == 1; 9377 9378 ; 9379 return 0; 9380 } 9381 _ACEOF 9382 if ac_fn_c_try_run "$LINENO"; then : 9383 ac_cv_c_bigendian=no 9384 else 9385 ac_cv_c_bigendian=yes 9386 fi 9387 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9388 conftest.$ac_objext conftest.beam conftest.$ac_ext 9389 fi 9390 9391 fi 9392 fi 9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9394 $as_echo "$ac_cv_c_bigendian" >&6; } 9395 case $ac_cv_c_bigendian in #( 9396 yes) 9397 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9398 ;; #( 9399 no) 9400 ;; #( 9401 universal) 9402 9403 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9404 9405 ;; #( 9406 *) 9407 as_fn_error $? "unknown endianness 9408 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9409 esac 9410 9411 9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof syntax and keyword spelling" >&5 9413 $as_echo_n "checking for typeof syntax and keyword spelling... " >&6; } 9414 if ${ac_cv_c_typeof+:} false; then : 9415 $as_echo_n "(cached) " >&6 9416 else 9417 ac_cv_c_typeof=no 9418 for ac_kw in typeof __typeof__ no; do 9419 test $ac_kw = no && break 9420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9421 /* end confdefs.h. */ 9422 9423 int 9424 main () 9425 { 9426 9427 int value; 9428 typedef struct { 9429 char a [1 9430 + ! (($ac_kw (value)) 9431 (($ac_kw (value)) 0 < ($ac_kw (value)) -1 9432 ? ($ac_kw (value)) - 1 9433 : ~ (~ ($ac_kw (value)) 0 9434 << sizeof ($ac_kw (value)))))]; } 9435 ac__typeof_type_; 9436 return 9437 (! ((void) ((ac__typeof_type_ *) 0), 0)); 9438 9439 ; 9440 return 0; 9441 } 9442 _ACEOF 9443 if ac_fn_c_try_compile "$LINENO"; then : 9444 ac_cv_c_typeof=$ac_kw 9445 fi 9446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9447 test $ac_cv_c_typeof != no && break 9448 done 9449 fi 9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_typeof" >&5 9451 $as_echo "$ac_cv_c_typeof" >&6; } 9452 if test $ac_cv_c_typeof != no; then 9453 9454 $as_echo "#define HAVE_TYPEOF 1" >>confdefs.h 9455 9456 if test $ac_cv_c_typeof != typeof; then 9457 9458 cat >>confdefs.h <<_ACEOF 9459 #define typeof $ac_cv_c_typeof 9460 _ACEOF 9461 9462 fi 9463 fi 9464 9465 9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 9467 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } 9468 if ${ac_cv_type_uid_t+:} false; then : 9469 $as_echo_n "(cached) " >&6 9470 else 9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9472 /* end confdefs.h. */ 9473 #include <sys/types.h> 9474 9475 _ACEOF 9476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9477 $EGREP "uid_t" >/dev/null 2>&1; then : 9478 ac_cv_type_uid_t=yes 9479 else 9480 ac_cv_type_uid_t=no 9481 fi 9482 rm -f conftest* 9483 9484 fi 9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 9486 $as_echo "$ac_cv_type_uid_t" >&6; } 9487 if test $ac_cv_type_uid_t = no; then 9488 9489 $as_echo "#define uid_t int" >>confdefs.h 9490 9491 9492 $as_echo "#define gid_t int" >>confdefs.h 9493 9494 fi 9495 9496 9497 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 9498 do : 9499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9501 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 9502 cat >>confdefs.h <<_ACEOF 9503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9504 _ACEOF 9505 9506 fi 9507 done 9508 9509 9510 ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h> 9511 " 9512 if test "x$ac_cv_type_sig_atomic_t" = xyes; then : 9513 9514 cat >>confdefs.h <<_ACEOF 9515 #define HAVE_SIG_ATOMIC_T 1 9516 _ACEOF 9517 9518 9519 fi 9520 ac_fn_c_check_type "$LINENO" "struct sigcontext" "ac_cv_type_struct_sigcontext" "#include <signal.h> 9521 " 9522 if test "x$ac_cv_type_struct_sigcontext" = xyes; then : 9523 9524 cat >>confdefs.h <<_ACEOF 9525 #define HAVE_STRUCT_SIGCONTEXT 1 9526 _ACEOF 9527 9528 9529 fi 9530 9531 9532 ac_fn_c_check_type "$LINENO" "struct mmsghdr" "ac_cv_type_struct_mmsghdr" "#include <sys/socket.h> 9533 " 9534 if test "x$ac_cv_type_struct_mmsghdr" = xyes; then : 9535 9536 cat >>confdefs.h <<_ACEOF 9537 #define HAVE_STRUCT_MMSGHDR 1 9538 _ACEOF 9539 9540 9541 fi 9542 9543 9544 ac_fn_c_check_type "$LINENO" "__kernel_long_t" "ac_cv_type___kernel_long_t" "#include <asm/posix_types.h> 9545 " 9546 if test "x$ac_cv_type___kernel_long_t" = xyes; then : 9547 9548 cat >>confdefs.h <<_ACEOF 9549 #define HAVE___KERNEL_LONG_T 1 9550 _ACEOF 9551 9552 9553 fi 9554 ac_fn_c_check_type "$LINENO" "__kernel_ulong_t" "ac_cv_type___kernel_ulong_t" "#include <asm/posix_types.h> 9555 " 9556 if test "x$ac_cv_type___kernel_ulong_t" = xyes; then : 9557 9558 cat >>confdefs.h <<_ACEOF 9559 #define HAVE___KERNEL_ULONG_T 1 9560 _ACEOF 9561 9562 9563 fi 9564 9565 9566 ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 9567 #include <asm/stat.h> 9568 " 9569 if test "x$ac_cv_type_struct_stat64" = xyes; then : 9570 9571 cat >>confdefs.h <<_ACEOF 9572 #define HAVE_STRUCT_STAT64 1 9573 _ACEOF 9574 9575 9576 fi 9577 ac_fn_c_check_type "$LINENO" "struct __old_kernel_stat" "ac_cv_type_struct___old_kernel_stat" "#include <sys/types.h> 9578 #include <asm/stat.h> 9579 " 9580 if test "x$ac_cv_type_struct___old_kernel_stat" = xyes; then : 9581 9582 cat >>confdefs.h <<_ACEOF 9583 #define HAVE_STRUCT___OLD_KERNEL_STAT 1 9584 _ACEOF 9585 9586 9587 fi 9588 9589 9590 ac_fn_c_check_type "$LINENO" "struct user_desc" "ac_cv_type_struct_user_desc" "#include <asm/ldt.h> 9591 " 9592 if test "x$ac_cv_type_struct_user_desc" = xyes; then : 9593 9594 cat >>confdefs.h <<_ACEOF 9595 #define HAVE_STRUCT_USER_DESC 1 9596 _ACEOF 9597 9598 ac_fn_c_check_member "$LINENO" "struct user_desc" "lm" "ac_cv_member_struct_user_desc_lm" "#include <asm/ldt.h> 9599 " 9600 if test "x$ac_cv_member_struct_user_desc_lm" = xyes; then : 9601 9602 cat >>confdefs.h <<_ACEOF 9603 #define HAVE_STRUCT_USER_DESC_LM 1 9604 _ACEOF 9605 9606 9607 fi 9608 9609 fi 9610 9611 9612 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h> 9613 #include <asm/stat.h> 9614 " 9615 if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 9616 9617 cat >>confdefs.h <<_ACEOF 9618 #define HAVE_STRUCT_STAT_ST_MTIME_NSEC 1 9619 _ACEOF 9620 9621 9622 fi 9623 ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h> 9624 #include <asm/stat.h> 9625 " 9626 if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 9627 9628 cat >>confdefs.h <<_ACEOF 9629 #define HAVE_STRUCT_STAT64_ST_MTIME_NSEC 1 9630 _ACEOF 9631 9632 9633 fi 9634 9635 9636 ac_fn_c_check_type "$LINENO" "struct pt_all_user_regs" "ac_cv_type_struct_pt_all_user_regs" "#include <sys/ptrace.h> 9637 " 9638 if test "x$ac_cv_type_struct_pt_all_user_regs" = xyes; then : 9639 9640 cat >>confdefs.h <<_ACEOF 9641 #define HAVE_STRUCT_PT_ALL_USER_REGS 1 9642 _ACEOF 9643 9644 9645 fi 9646 ac_fn_c_check_type "$LINENO" "struct ia64_fpreg" "ac_cv_type_struct_ia64_fpreg" "#include <sys/ptrace.h> 9647 " 9648 if test "x$ac_cv_type_struct_ia64_fpreg" = xyes; then : 9649 9650 cat >>confdefs.h <<_ACEOF 9651 #define HAVE_STRUCT_IA64_FPREG 1 9652 _ACEOF 9653 9654 9655 fi 9656 ac_fn_c_check_type "$LINENO" "struct ptrace_peeksiginfo_args" "ac_cv_type_struct_ptrace_peeksiginfo_args" "#include <sys/ptrace.h> 9657 " 9658 if test "x$ac_cv_type_struct_ptrace_peeksiginfo_args" = xyes; then : 9659 9660 cat >>confdefs.h <<_ACEOF 9661 #define HAVE_STRUCT_PTRACE_PEEKSIGINFO_ARGS 1 9662 _ACEOF 9663 9664 9665 fi 9666 9667 9668 ac_fn_c_check_type "$LINENO" "struct flock" "ac_cv_type_struct_flock" "#include <sys/types.h> 9669 #include <linux/fcntl.h> 9670 " 9671 if test "x$ac_cv_type_struct_flock" = xyes; then : 9672 9673 cat >>confdefs.h <<_ACEOF 9674 #define HAVE_STRUCT_FLOCK 1 9675 _ACEOF 9676 9677 9678 fi 9679 ac_fn_c_check_type "$LINENO" "struct flock64" "ac_cv_type_struct_flock64" "#include <sys/types.h> 9680 #include <linux/fcntl.h> 9681 " 9682 if test "x$ac_cv_type_struct_flock64" = xyes; then : 9683 9684 cat >>confdefs.h <<_ACEOF 9685 #define HAVE_STRUCT_FLOCK64 1 9686 _ACEOF 9687 9688 9689 fi 9690 ac_fn_c_check_type "$LINENO" "struct __kernel_flock" "ac_cv_type_struct___kernel_flock" "#include <sys/types.h> 9691 #include <linux/fcntl.h> 9692 " 9693 if test "x$ac_cv_type_struct___kernel_flock" = xyes; then : 9694 9695 cat >>confdefs.h <<_ACEOF 9696 #define HAVE_STRUCT___KERNEL_FLOCK 1 9697 _ACEOF 9698 9699 9700 fi 9701 ac_fn_c_check_type "$LINENO" "struct __kernel_flock64" "ac_cv_type_struct___kernel_flock64" "#include <sys/types.h> 9702 #include <linux/fcntl.h> 9703 " 9704 if test "x$ac_cv_type_struct___kernel_flock64" = xyes; then : 9705 9706 cat >>confdefs.h <<_ACEOF 9707 #define HAVE_STRUCT___KERNEL_FLOCK64 1 9708 _ACEOF 9709 9710 9711 fi 9712 9713 9714 ac_fn_c_check_type "$LINENO" "struct crypto_report_aead" "ac_cv_type_struct_crypto_report_aead" "#include <linux/cryptouser.h> 9715 " 9716 if test "x$ac_cv_type_struct_crypto_report_aead" = xyes; then : 9717 9718 cat >>confdefs.h <<_ACEOF 9719 #define HAVE_STRUCT_CRYPTO_REPORT_AEAD 1 9720 _ACEOF 9721 9722 9723 fi 9724 ac_fn_c_check_type "$LINENO" "struct crypto_report_blkcipher" "ac_cv_type_struct_crypto_report_blkcipher" "#include <linux/cryptouser.h> 9725 " 9726 if test "x$ac_cv_type_struct_crypto_report_blkcipher" = xyes; then : 9727 9728 cat >>confdefs.h <<_ACEOF 9729 #define HAVE_STRUCT_CRYPTO_REPORT_BLKCIPHER 1 9730 _ACEOF 9731 9732 9733 fi 9734 ac_fn_c_check_type "$LINENO" "struct crypto_report_cipher" "ac_cv_type_struct_crypto_report_cipher" "#include <linux/cryptouser.h> 9735 " 9736 if test "x$ac_cv_type_struct_crypto_report_cipher" = xyes; then : 9737 9738 cat >>confdefs.h <<_ACEOF 9739 #define HAVE_STRUCT_CRYPTO_REPORT_CIPHER 1 9740 _ACEOF 9741 9742 9743 fi 9744 ac_fn_c_check_type "$LINENO" "struct crypto_report_hash" "ac_cv_type_struct_crypto_report_hash" "#include <linux/cryptouser.h> 9745 " 9746 if test "x$ac_cv_type_struct_crypto_report_hash" = xyes; then : 9747 9748 cat >>confdefs.h <<_ACEOF 9749 #define HAVE_STRUCT_CRYPTO_REPORT_HASH 1 9750 _ACEOF 9751 9752 9753 fi 9754 ac_fn_c_check_type "$LINENO" "struct crypto_report_rng" "ac_cv_type_struct_crypto_report_rng" "#include <linux/cryptouser.h> 9755 " 9756 if test "x$ac_cv_type_struct_crypto_report_rng" = xyes; then : 9757 9758 cat >>confdefs.h <<_ACEOF 9759 #define HAVE_STRUCT_CRYPTO_REPORT_RNG 1 9760 _ACEOF 9761 9762 9763 fi 9764 9765 9766 ac_fn_c_check_type "$LINENO" "struct kcmp_epoll_slot" "ac_cv_type_struct_kcmp_epoll_slot" "#include <linux/kcmp.h> 9767 " 9768 if test "x$ac_cv_type_struct_kcmp_epoll_slot" = xyes; then : 9769 9770 cat >>confdefs.h <<_ACEOF 9771 #define HAVE_STRUCT_KCMP_EPOLL_SLOT 1 9772 _ACEOF 9773 9774 9775 fi 9776 9777 9778 ac_fn_c_check_type "$LINENO" "struct keyctl_kdf_params" "ac_cv_type_struct_keyctl_kdf_params" "#include <linux/keyctl.h> 9779 " 9780 if test "x$ac_cv_type_struct_keyctl_kdf_params" = xyes; then : 9781 9782 cat >>confdefs.h <<_ACEOF 9783 #define HAVE_STRUCT_KEYCTL_KDF_PARAMS 1 9784 _ACEOF 9785 9786 9787 fi 9788 9789 9790 ac_fn_c_check_member "$LINENO" "struct timex" "tai" "ac_cv_member_struct_timex_tai" "#include <sys/timex.h> 9791 " 9792 if test "x$ac_cv_member_struct_timex_tai" = xyes; then : 9793 9794 cat >>confdefs.h <<_ACEOF 9795 #define HAVE_STRUCT_TIMEX_TAI 1 9796 _ACEOF 9797 9798 9799 fi 9800 9801 9802 ac_fn_c_check_member "$LINENO" "struct utsname" "domainname" "ac_cv_member_struct_utsname_domainname" "#include <sys/utsname.h> 9803 " 9804 if test "x$ac_cv_member_struct_utsname_domainname" = xyes; then : 9805 9806 cat >>confdefs.h <<_ACEOF 9807 #define HAVE_STRUCT_UTSNAME_DOMAINNAME 1 9808 _ACEOF 9809 9810 9811 fi 9812 9813 9814 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_syscall" "ac_cv_member_siginfo_t_si_syscall" "#include <signal.h> 9815 " 9816 if test "x$ac_cv_member_siginfo_t_si_syscall" = xyes; then : 9817 9818 cat >>confdefs.h <<_ACEOF 9819 #define HAVE_SIGINFO_T_SI_SYSCALL 1 9820 _ACEOF 9821 9822 9823 fi 9824 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_timerid" "ac_cv_member_siginfo_t_si_timerid" "#include <signal.h> 9825 " 9826 if test "x$ac_cv_member_siginfo_t_si_timerid" = xyes; then : 9827 9828 cat >>confdefs.h <<_ACEOF 9829 #define HAVE_SIGINFO_T_SI_TIMERID 1 9830 _ACEOF 9831 9832 9833 fi 9834 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_overrun" "ac_cv_member_siginfo_t_si_overrun" "#include <signal.h> 9835 " 9836 if test "x$ac_cv_member_siginfo_t_si_overrun" = xyes; then : 9837 9838 cat >>confdefs.h <<_ACEOF 9839 #define HAVE_SIGINFO_T_SI_OVERRUN 1 9840 _ACEOF 9841 9842 9843 fi 9844 9845 9846 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> 9847 " 9848 if test "x$ac_cv_member_struct_perf_event_attr_precise_ip" = xyes; then : 9849 9850 cat >>confdefs.h <<_ACEOF 9851 #define HAVE_STRUCT_PERF_EVENT_ATTR_PRECISE_IP 1 9852 _ACEOF 9853 9854 9855 fi 9856 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> 9857 " 9858 if test "x$ac_cv_member_struct_perf_event_attr_mmap_data" = xyes; then : 9859 9860 cat >>confdefs.h <<_ACEOF 9861 #define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP_DATA 1 9862 _ACEOF 9863 9864 9865 fi 9866 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> 9867 " 9868 if test "x$ac_cv_member_struct_perf_event_attr_sample_id_all" = xyes; then : 9869 9870 cat >>confdefs.h <<_ACEOF 9871 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_ID_ALL 1 9872 _ACEOF 9873 9874 9875 fi 9876 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> 9877 " 9878 if test "x$ac_cv_member_struct_perf_event_attr_exclude_host" = xyes; then : 9879 9880 cat >>confdefs.h <<_ACEOF 9881 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_HOST 1 9882 _ACEOF 9883 9884 9885 fi 9886 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> 9887 " 9888 if test "x$ac_cv_member_struct_perf_event_attr_exclude_guest" = xyes; then : 9889 9890 cat >>confdefs.h <<_ACEOF 9891 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_GUEST 1 9892 _ACEOF 9893 9894 9895 fi 9896 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> 9897 " 9898 if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_kernel" = xyes; then : 9899 9900 cat >>confdefs.h <<_ACEOF 9901 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_KERNEL 1 9902 _ACEOF 9903 9904 9905 fi 9906 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> 9907 " 9908 if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_user" = xyes; then : 9909 9910 cat >>confdefs.h <<_ACEOF 9911 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_USER 1 9912 _ACEOF 9913 9914 9915 fi 9916 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "mmap2" "ac_cv_member_struct_perf_event_attr_mmap2" "#include <linux/perf_event.h> 9917 " 9918 if test "x$ac_cv_member_struct_perf_event_attr_mmap2" = xyes; then : 9919 9920 cat >>confdefs.h <<_ACEOF 9921 #define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP2 1 9922 _ACEOF 9923 9924 9925 fi 9926 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> 9927 " 9928 if test "x$ac_cv_member_struct_perf_event_attr_comm_exec" = xyes; then : 9929 9930 cat >>confdefs.h <<_ACEOF 9931 #define HAVE_STRUCT_PERF_EVENT_ATTR_COMM_EXEC 1 9932 _ACEOF 9933 9934 9935 fi 9936 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> 9937 " 9938 if test "x$ac_cv_member_struct_perf_event_attr_use_clockid" = xyes; then : 9939 9940 cat >>confdefs.h <<_ACEOF 9941 #define HAVE_STRUCT_PERF_EVENT_ATTR_USE_CLOCKID 1 9942 _ACEOF 9943 9944 9945 fi 9946 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> 9947 " 9948 if test "x$ac_cv_member_struct_perf_event_attr_context_switch" = xyes; then : 9949 9950 cat >>confdefs.h <<_ACEOF 9951 #define HAVE_STRUCT_PERF_EVENT_ATTR_CONTEXT_SWITCH 1 9952 _ACEOF 9953 9954 9955 fi 9956 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> 9957 " 9958 if test "x$ac_cv_member_struct_perf_event_attr_write_backward" = xyes; then : 9959 9960 cat >>confdefs.h <<_ACEOF 9961 #define HAVE_STRUCT_PERF_EVENT_ATTR_WRITE_BACKWARD 1 9962 _ACEOF 9963 9964 9965 fi 9966 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "namespaces" "ac_cv_member_struct_perf_event_attr_namespaces" "#include <linux/perf_event.h> 9967 " 9968 if test "x$ac_cv_member_struct_perf_event_attr_namespaces" = xyes; then : 9969 9970 cat >>confdefs.h <<_ACEOF 9971 #define HAVE_STRUCT_PERF_EVENT_ATTR_NAMESPACES 1 9972 _ACEOF 9973 9974 9975 fi 9976 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> 9977 " 9978 if test "x$ac_cv_member_struct_perf_event_attr_bp_type" = xyes; then : 9979 9980 cat >>confdefs.h <<_ACEOF 9981 #define HAVE_STRUCT_PERF_EVENT_ATTR_BP_TYPE 1 9982 _ACEOF 9983 9984 9985 fi 9986 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config1" "ac_cv_member_struct_perf_event_attr_config1" "#include <linux/perf_event.h> 9987 " 9988 if test "x$ac_cv_member_struct_perf_event_attr_config1" = xyes; then : 9989 9990 cat >>confdefs.h <<_ACEOF 9991 #define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG1 1 9992 _ACEOF 9993 9994 9995 fi 9996 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config2" "ac_cv_member_struct_perf_event_attr_config2" "#include <linux/perf_event.h> 9997 " 9998 if test "x$ac_cv_member_struct_perf_event_attr_config2" = xyes; then : 9999 10000 cat >>confdefs.h <<_ACEOF 10001 #define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG2 1 10002 _ACEOF 10003 10004 10005 fi 10006 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> 10007 " 10008 if test "x$ac_cv_member_struct_perf_event_attr_branch_sample_type" = xyes; then : 10009 10010 cat >>confdefs.h <<_ACEOF 10011 #define HAVE_STRUCT_PERF_EVENT_ATTR_BRANCH_SAMPLE_TYPE 1 10012 _ACEOF 10013 10014 10015 fi 10016 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> 10017 " 10018 if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_user" = xyes; then : 10019 10020 cat >>confdefs.h <<_ACEOF 10021 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_USER 1 10022 _ACEOF 10023 10024 10025 fi 10026 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> 10027 " 10028 if test "x$ac_cv_member_struct_perf_event_attr_sample_stack_user" = xyes; then : 10029 10030 cat >>confdefs.h <<_ACEOF 10031 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_STACK_USER 1 10032 _ACEOF 10033 10034 10035 fi 10036 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> 10037 " 10038 if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_intr" = xyes; then : 10039 10040 cat >>confdefs.h <<_ACEOF 10041 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_INTR 1 10042 _ACEOF 10043 10044 10045 fi 10046 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> 10047 " 10048 if test "x$ac_cv_member_struct_perf_event_attr_aux_watermark" = xyes; then : 10049 10050 cat >>confdefs.h <<_ACEOF 10051 #define HAVE_STRUCT_PERF_EVENT_ATTR_AUX_WATERMARK 1 10052 _ACEOF 10053 10054 10055 fi 10056 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> 10057 " 10058 if test "x$ac_cv_member_struct_perf_event_attr_sample_max_stack" = xyes; then : 10059 10060 cat >>confdefs.h <<_ACEOF 10061 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_MAX_STACK 1 10062 _ACEOF 10063 10064 10065 fi 10066 10067 10068 for ac_header in asm/cachectl.h asm/guarded_storage.h asm/sysmips.h bluetooth/bluetooth.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/reg.h sys/sem.h sys/shm.h sys/signalfd.h sys/xattr.h ustat.h 10069 do : 10070 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10071 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 10072 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 10073 cat >>confdefs.h <<_ACEOF 10074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10075 _ACEOF 10076 10077 fi 10078 10079 done 10080 10081 10082 for ac_header in asm/sigcontext.h 10083 do : 10084 ac_fn_c_check_header_compile "$LINENO" "asm/sigcontext.h" "ac_cv_header_asm_sigcontext_h" "#include <signal.h> 10085 " 10086 if test "x$ac_cv_header_asm_sigcontext_h" = xyes; then : 10087 cat >>confdefs.h <<_ACEOF 10088 #define HAVE_ASM_SIGCONTEXT_H 1 10089 _ACEOF 10090 10091 fi 10092 10093 done 10094 10095 10096 for ac_header in netinet/tcp.h netinet/udp.h 10097 do : 10098 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10099 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h> 10100 " 10101 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 10102 cat >>confdefs.h <<_ACEOF 10103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10104 _ACEOF 10105 10106 fi 10107 10108 done 10109 10110 10111 for ac_header in linux/mqueue.h 10112 do : 10113 ac_fn_c_check_header_compile "$LINENO" "linux/mqueue.h" "ac_cv_header_linux_mqueue_h" "#include <linux/types.h> 10114 " 10115 if test "x$ac_cv_header_linux_mqueue_h" = xyes; then : 10116 cat >>confdefs.h <<_ACEOF 10117 #define HAVE_LINUX_MQUEUE_H 1 10118 _ACEOF 10119 10120 fi 10121 10122 done 10123 10124 10125 for ac_header in linux/netfilter/xt_osf.h 10126 do : 10127 ac_fn_c_check_header_compile "$LINENO" "linux/netfilter/xt_osf.h" "ac_cv_header_linux_netfilter_xt_osf_h" "#include <linux/ip.h> 10128 #include <linux/tcp.h> 10129 " 10130 if test "x$ac_cv_header_linux_netfilter_xt_osf_h" = xyes; then : 10131 cat >>confdefs.h <<_ACEOF 10132 #define HAVE_LINUX_NETFILTER_XT_OSF_H 1 10133 _ACEOF 10134 10135 fi 10136 10137 done 10138 10139 10140 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 10141 do : 10142 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10143 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h> 10144 #include <net/if.h> 10145 " 10146 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 10147 cat >>confdefs.h <<_ACEOF 10148 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10149 _ACEOF 10150 10151 fi 10152 10153 done 10154 10155 10156 for ac_header in linux/input.h 10157 do : 10158 ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default" 10159 if test "x$ac_cv_header_linux_input_h" = xyes; then : 10160 cat >>confdefs.h <<_ACEOF 10161 #define HAVE_LINUX_INPUT_H 1 10162 _ACEOF 10163 10164 ac_fn_c_check_member "$LINENO" "struct input_absinfo" "resolution" "ac_cv_member_struct_input_absinfo_resolution" "#include <linux/input.h> 10165 " 10166 if test "x$ac_cv_member_struct_input_absinfo_resolution" = xyes; then : 10167 10168 cat >>confdefs.h <<_ACEOF 10169 #define HAVE_STRUCT_INPUT_ABSINFO_RESOLUTION 1 10170 _ACEOF 10171 10172 10173 fi 10174 10175 10176 fi 10177 10178 done 10179 10180 10181 for ac_header in linux/bpf.h 10182 do : 10183 ac_fn_c_check_header_mongrel "$LINENO" "linux/bpf.h" "ac_cv_header_linux_bpf_h" "$ac_includes_default" 10184 if test "x$ac_cv_header_linux_bpf_h" = xyes; then : 10185 cat >>confdefs.h <<_ACEOF 10186 #define HAVE_LINUX_BPF_H 1 10187 _ACEOF 10188 10189 ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_flags" "ac_cv_member_union_bpf_attr_attach_flags" "#include <linux/bpf.h> 10190 " 10191 if test "x$ac_cv_member_union_bpf_attr_attach_flags" = xyes; then : 10192 10193 cat >>confdefs.h <<_ACEOF 10194 #define HAVE_UNION_BPF_ATTR_ATTACH_FLAGS 1 10195 _ACEOF 10196 10197 10198 fi 10199 ac_fn_c_check_member "$LINENO" "union bpf_attr" "bpf_fd" "ac_cv_member_union_bpf_attr_bpf_fd" "#include <linux/bpf.h> 10200 " 10201 if test "x$ac_cv_member_union_bpf_attr_bpf_fd" = xyes; then : 10202 10203 cat >>confdefs.h <<_ACEOF 10204 #define HAVE_UNION_BPF_ATTR_BPF_FD 1 10205 _ACEOF 10206 10207 10208 fi 10209 ac_fn_c_check_member "$LINENO" "union bpf_attr" "flags" "ac_cv_member_union_bpf_attr_flags" "#include <linux/bpf.h> 10210 " 10211 if test "x$ac_cv_member_union_bpf_attr_flags" = xyes; then : 10212 10213 cat >>confdefs.h <<_ACEOF 10214 #define HAVE_UNION_BPF_ATTR_FLAGS 1 10215 _ACEOF 10216 10217 10218 fi 10219 ac_fn_c_check_member "$LINENO" "union bpf_attr" "info.info" "ac_cv_member_union_bpf_attr_info_info" "#include <linux/bpf.h> 10220 " 10221 if test "x$ac_cv_member_union_bpf_attr_info_info" = xyes; then : 10222 10223 cat >>confdefs.h <<_ACEOF 10224 #define HAVE_UNION_BPF_ATTR_INFO_INFO 1 10225 _ACEOF 10226 10227 10228 fi 10229 ac_fn_c_check_member "$LINENO" "union bpf_attr" "next_id" "ac_cv_member_union_bpf_attr_next_id" "#include <linux/bpf.h> 10230 " 10231 if test "x$ac_cv_member_union_bpf_attr_next_id" = xyes; then : 10232 10233 cat >>confdefs.h <<_ACEOF 10234 #define HAVE_UNION_BPF_ATTR_NEXT_ID 1 10235 _ACEOF 10236 10237 10238 fi 10239 ac_fn_c_check_member "$LINENO" "union bpf_attr" "numa_node" "ac_cv_member_union_bpf_attr_numa_node" "#include <linux/bpf.h> 10240 " 10241 if test "x$ac_cv_member_union_bpf_attr_numa_node" = xyes; then : 10242 10243 cat >>confdefs.h <<_ACEOF 10244 #define HAVE_UNION_BPF_ATTR_NUMA_NODE 1 10245 _ACEOF 10246 10247 10248 fi 10249 ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_flags" "ac_cv_member_union_bpf_attr_prog_flags" "#include <linux/bpf.h> 10250 " 10251 if test "x$ac_cv_member_union_bpf_attr_prog_flags" = xyes; then : 10252 10253 cat >>confdefs.h <<_ACEOF 10254 #define HAVE_UNION_BPF_ATTR_PROG_FLAGS 1 10255 _ACEOF 10256 10257 10258 fi 10259 ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.duration" "ac_cv_member_union_bpf_attr_test_duration" "#include <linux/bpf.h> 10260 " 10261 if test "x$ac_cv_member_union_bpf_attr_test_duration" = xyes; then : 10262 10263 cat >>confdefs.h <<_ACEOF 10264 #define HAVE_UNION_BPF_ATTR_TEST_DURATION 1 10265 _ACEOF 10266 10267 10268 fi 10269 10270 10271 fi 10272 10273 done 10274 10275 10276 ac_fn_c_check_type "$LINENO" "struct br_mdb_entry" "ac_cv_type_struct_br_mdb_entry" "#include <linux/if_bridge.h> 10277 " 10278 if test "x$ac_cv_type_struct_br_mdb_entry" = xyes; then : 10279 10280 cat >>confdefs.h <<_ACEOF 10281 #define HAVE_STRUCT_BR_MDB_ENTRY 1 10282 _ACEOF 10283 10284 10285 fi 10286 ac_fn_c_check_type "$LINENO" "struct br_port_msg" "ac_cv_type_struct_br_port_msg" "#include <linux/if_bridge.h> 10287 " 10288 if test "x$ac_cv_type_struct_br_port_msg" = xyes; then : 10289 10290 cat >>confdefs.h <<_ACEOF 10291 #define HAVE_STRUCT_BR_PORT_MSG 1 10292 _ACEOF 10293 10294 10295 fi 10296 10297 ac_fn_c_check_member "$LINENO" "struct br_mdb_entry" "flags" "ac_cv_member_struct_br_mdb_entry_flags" "#include <linux/if_bridge.h> 10298 " 10299 if test "x$ac_cv_member_struct_br_mdb_entry_flags" = xyes; then : 10300 10301 cat >>confdefs.h <<_ACEOF 10302 #define HAVE_STRUCT_BR_MDB_ENTRY_FLAGS 1 10303 _ACEOF 10304 10305 10306 fi 10307 ac_fn_c_check_member "$LINENO" "struct br_mdb_entry" "vid" "ac_cv_member_struct_br_mdb_entry_vid" "#include <linux/if_bridge.h> 10308 " 10309 if test "x$ac_cv_member_struct_br_mdb_entry_vid" = xyes; then : 10310 10311 cat >>confdefs.h <<_ACEOF 10312 #define HAVE_STRUCT_BR_MDB_ENTRY_VID 1 10313 _ACEOF 10314 10315 10316 fi 10317 10318 10319 ac_fn_c_check_type "$LINENO" "struct dcbmsg" "ac_cv_type_struct_dcbmsg" "#include <linux/dcbnl.h> 10320 " 10321 if test "x$ac_cv_type_struct_dcbmsg" = xyes; then : 10322 10323 cat >>confdefs.h <<_ACEOF 10324 #define HAVE_STRUCT_DCBMSG 1 10325 _ACEOF 10326 10327 10328 fi 10329 10330 ac_fn_c_check_type "$LINENO" "struct ifaddrlblmsg" "ac_cv_type_struct_ifaddrlblmsg" "#include <linux/if_addrlabel.h> 10331 " 10332 if test "x$ac_cv_type_struct_ifaddrlblmsg" = xyes; then : 10333 10334 cat >>confdefs.h <<_ACEOF 10335 #define HAVE_STRUCT_IFADDRLBLMSG 1 10336 _ACEOF 10337 10338 10339 fi 10340 10341 ac_fn_c_check_type "$LINENO" "struct netconfmsg" "ac_cv_type_struct_netconfmsg" "#include <linux/netconf.h> 10342 " 10343 if test "x$ac_cv_type_struct_netconfmsg" = xyes; then : 10344 10345 cat >>confdefs.h <<_ACEOF 10346 #define HAVE_STRUCT_NETCONFMSG 1 10347 _ACEOF 10348 10349 10350 fi 10351 10352 10353 ac_fn_c_check_type "$LINENO" "struct rta_mfc_stats" "ac_cv_type_struct_rta_mfc_stats" "#include <linux/rtnetlink.h> 10354 " 10355 if test "x$ac_cv_type_struct_rta_mfc_stats" = xyes; then : 10356 10357 cat >>confdefs.h <<_ACEOF 10358 #define HAVE_STRUCT_RTA_MFC_STATS 1 10359 _ACEOF 10360 10361 10362 fi 10363 ac_fn_c_check_type "$LINENO" "struct rtvia" "ac_cv_type_struct_rtvia" "#include <linux/rtnetlink.h> 10364 " 10365 if test "x$ac_cv_type_struct_rtvia" = xyes; then : 10366 10367 cat >>confdefs.h <<_ACEOF 10368 #define HAVE_STRUCT_RTVIA 1 10369 _ACEOF 10370 10371 10372 fi 10373 10374 10375 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> 10376 " 10377 if test "x$ac_cv_member_struct_ndt_stats_ndts_table_fulls" = xyes; then : 10378 10379 cat >>confdefs.h <<_ACEOF 10380 #define HAVE_STRUCT_NDT_STATS_NDTS_TABLE_FULLS 1 10381 _ACEOF 10382 10383 10384 fi 10385 10386 ac_fn_c_check_type "$LINENO" "struct ndt_config" "ac_cv_type_struct_ndt_config" "#include <linux/neighbour.h> 10387 " 10388 if test "x$ac_cv_type_struct_ndt_config" = xyes; then : 10389 10390 cat >>confdefs.h <<_ACEOF 10391 #define HAVE_STRUCT_NDT_CONFIG 1 10392 _ACEOF 10393 10394 10395 fi 10396 ac_fn_c_check_type "$LINENO" "struct ndt_stats" "ac_cv_type_struct_ndt_stats" "#include <linux/neighbour.h> 10397 " 10398 if test "x$ac_cv_type_struct_ndt_stats" = xyes; then : 10399 10400 cat >>confdefs.h <<_ACEOF 10401 #define HAVE_STRUCT_NDT_STATS 1 10402 _ACEOF 10403 10404 10405 fi 10406 10407 10408 ac_fn_c_check_type "$LINENO" "struct ifla_bridge_id" "ac_cv_type_struct_ifla_bridge_id" "#include <linux/if_link.h> 10409 " 10410 if test "x$ac_cv_type_struct_ifla_bridge_id" = xyes; then : 10411 10412 cat >>confdefs.h <<_ACEOF 10413 #define HAVE_STRUCT_IFLA_BRIDGE_ID 1 10414 _ACEOF 10415 10416 10417 fi 10418 ac_fn_c_check_type "$LINENO" "struct ifla_port_vsi" "ac_cv_type_struct_ifla_port_vsi" "#include <linux/if_link.h> 10419 " 10420 if test "x$ac_cv_type_struct_ifla_port_vsi" = xyes; then : 10421 10422 cat >>confdefs.h <<_ACEOF 10423 #define HAVE_STRUCT_IFLA_PORT_VSI 1 10424 _ACEOF 10425 10426 10427 fi 10428 ac_fn_c_check_type "$LINENO" "struct rtnl_link_stats64" "ac_cv_type_struct_rtnl_link_stats64" "#include <linux/if_link.h> 10429 " 10430 if test "x$ac_cv_type_struct_rtnl_link_stats64" = xyes; then : 10431 10432 cat >>confdefs.h <<_ACEOF 10433 #define HAVE_STRUCT_RTNL_LINK_STATS64 1 10434 _ACEOF 10435 10436 10437 fi 10438 10439 ac_fn_c_check_member "$LINENO" "struct rtnl_link_stats" "rx_nohandler" "ac_cv_member_struct_rtnl_link_stats_rx_nohandler" "#include <linux/if_link.h> 10440 " 10441 if test "x$ac_cv_member_struct_rtnl_link_stats_rx_nohandler" = xyes; then : 10442 10443 cat >>confdefs.h <<_ACEOF 10444 #define HAVE_STRUCT_RTNL_LINK_STATS_RX_NOHANDLER 1 10445 _ACEOF 10446 10447 10448 fi 10449 ac_fn_c_check_member "$LINENO" "struct rtnl_link_stats64" "rx_nohandler" "ac_cv_member_struct_rtnl_link_stats64_rx_nohandler" "#include <linux/if_link.h> 10450 " 10451 if test "x$ac_cv_member_struct_rtnl_link_stats64_rx_nohandler" = xyes; then : 10452 10453 cat >>confdefs.h <<_ACEOF 10454 #define HAVE_STRUCT_RTNL_LINK_STATS64_RX_NOHANDLER 1 10455 _ACEOF 10456 10457 10458 fi 10459 10460 10461 ac_fn_c_check_type "$LINENO" "struct gnet_stats_basic" "ac_cv_type_struct_gnet_stats_basic" "#include <linux/gen_stats.h> 10462 " 10463 if test "x$ac_cv_type_struct_gnet_stats_basic" = xyes; then : 10464 10465 cat >>confdefs.h <<_ACEOF 10466 #define HAVE_STRUCT_GNET_STATS_BASIC 1 10467 _ACEOF 10468 10469 10470 fi 10471 ac_fn_c_check_type "$LINENO" "struct gnet_stats_queue" "ac_cv_type_struct_gnet_stats_queue" "#include <linux/gen_stats.h> 10472 " 10473 if test "x$ac_cv_type_struct_gnet_stats_queue" = xyes; then : 10474 10475 cat >>confdefs.h <<_ACEOF 10476 #define HAVE_STRUCT_GNET_STATS_QUEUE 1 10477 _ACEOF 10478 10479 10480 fi 10481 ac_fn_c_check_type "$LINENO" "struct gnet_stats_rate_est" "ac_cv_type_struct_gnet_stats_rate_est" "#include <linux/gen_stats.h> 10482 " 10483 if test "x$ac_cv_type_struct_gnet_stats_rate_est" = xyes; then : 10484 10485 cat >>confdefs.h <<_ACEOF 10486 #define HAVE_STRUCT_GNET_STATS_RATE_EST 1 10487 _ACEOF 10488 10489 10490 fi 10491 ac_fn_c_check_type "$LINENO" "struct gnet_stats_rate_est64" "ac_cv_type_struct_gnet_stats_rate_est64" "#include <linux/gen_stats.h> 10492 " 10493 if test "x$ac_cv_type_struct_gnet_stats_rate_est64" = xyes; then : 10494 10495 cat >>confdefs.h <<_ACEOF 10496 #define HAVE_STRUCT_GNET_STATS_RATE_EST64 1 10497 _ACEOF 10498 10499 10500 fi 10501 10502 10503 ac_fn_c_check_type "$LINENO" "struct tc_sizespec" "ac_cv_type_struct_tc_sizespec" "#include <linux/pkt_sched.h> 10504 " 10505 if test "x$ac_cv_type_struct_tc_sizespec" = xyes; then : 10506 10507 cat >>confdefs.h <<_ACEOF 10508 #define HAVE_STRUCT_TC_SIZESPEC 1 10509 _ACEOF 10510 10511 10512 fi 10513 10514 10515 ac_fn_c_check_type "$LINENO" "struct fib_rule_uid_range" "ac_cv_type_struct_fib_rule_uid_range" "#include <linux/fib_rules.h> 10516 " 10517 if test "x$ac_cv_type_struct_fib_rule_uid_range" = xyes; then : 10518 10519 cat >>confdefs.h <<_ACEOF 10520 #define HAVE_STRUCT_FIB_RULE_UID_RANGE 1 10521 _ACEOF 10522 10523 10524 fi 10525 10526 10527 ac_fn_c_check_type "$LINENO" "struct statfs" "ac_cv_type_struct_statfs" "#include <linux/types.h> 10528 #include <asm/statfs.h> 10529 " 10530 if test "x$ac_cv_type_struct_statfs" = xyes; then : 10531 10532 cat >>confdefs.h <<_ACEOF 10533 #define HAVE_STRUCT_STATFS 1 10534 _ACEOF 10535 10536 10537 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <linux/types.h> 10538 #include <asm/statfs.h> 10539 " 10540 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then : 10541 10542 cat >>confdefs.h <<_ACEOF 10543 #define HAVE_STRUCT_STATFS_F_FRSIZE 1 10544 _ACEOF 10545 10546 10547 fi 10548 ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "#include <linux/types.h> 10549 #include <asm/statfs.h> 10550 " 10551 if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then : 10552 10553 cat >>confdefs.h <<_ACEOF 10554 #define HAVE_STRUCT_STATFS_F_FLAGS 1 10555 _ACEOF 10556 10557 10558 fi 10559 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.val" "ac_cv_member_struct_statfs_f_fsid_val" "#include <linux/types.h> 10560 #include <asm/statfs.h> 10561 " 10562 if test "x$ac_cv_member_struct_statfs_f_fsid_val" = xyes; then : 10563 10564 cat >>confdefs.h <<_ACEOF 10565 #define HAVE_STRUCT_STATFS_F_FSID_VAL 1 10566 _ACEOF 10567 10568 10569 fi 10570 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.__val" "ac_cv_member_struct_statfs_f_fsid___val" "#include <linux/types.h> 10571 #include <asm/statfs.h> 10572 " 10573 if test "x$ac_cv_member_struct_statfs_f_fsid___val" = xyes; then : 10574 10575 cat >>confdefs.h <<_ACEOF 10576 #define HAVE_STRUCT_STATFS_F_FSID___VAL 1 10577 _ACEOF 10578 10579 10580 fi 10581 10582 10583 fi 10584 10585 10586 ac_fn_c_check_type "$LINENO" "struct statfs64" "ac_cv_type_struct_statfs64" "#include <linux/types.h> 10587 #include <asm/statfs.h> 10588 " 10589 if test "x$ac_cv_type_struct_statfs64" = xyes; then : 10590 10591 cat >>confdefs.h <<_ACEOF 10592 #define HAVE_STRUCT_STATFS64 1 10593 _ACEOF 10594 10595 10596 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_frsize" "ac_cv_member_struct_statfs64_f_frsize" "#include <linux/types.h> 10597 #include <asm/statfs.h> 10598 " 10599 if test "x$ac_cv_member_struct_statfs64_f_frsize" = xyes; then : 10600 10601 cat >>confdefs.h <<_ACEOF 10602 #define HAVE_STRUCT_STATFS64_F_FRSIZE 1 10603 _ACEOF 10604 10605 10606 fi 10607 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_flags" "ac_cv_member_struct_statfs64_f_flags" "#include <linux/types.h> 10608 #include <asm/statfs.h> 10609 " 10610 if test "x$ac_cv_member_struct_statfs64_f_flags" = xyes; then : 10611 10612 cat >>confdefs.h <<_ACEOF 10613 #define HAVE_STRUCT_STATFS64_F_FLAGS 1 10614 _ACEOF 10615 10616 10617 fi 10618 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.val" "ac_cv_member_struct_statfs64_f_fsid_val" "#include <linux/types.h> 10619 #include <asm/statfs.h> 10620 " 10621 if test "x$ac_cv_member_struct_statfs64_f_fsid_val" = xyes; then : 10622 10623 cat >>confdefs.h <<_ACEOF 10624 #define HAVE_STRUCT_STATFS64_F_FSID_VAL 1 10625 _ACEOF 10626 10627 10628 fi 10629 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.__val" "ac_cv_member_struct_statfs64_f_fsid___val" "#include <linux/types.h> 10630 #include <asm/statfs.h> 10631 " 10632 if test "x$ac_cv_member_struct_statfs64_f_fsid___val" = xyes; then : 10633 10634 cat >>confdefs.h <<_ACEOF 10635 #define HAVE_STRUCT_STATFS64_F_FSID___VAL 1 10636 _ACEOF 10637 10638 10639 fi 10640 10641 10642 fi 10643 10644 10645 ac_fn_c_check_type "$LINENO" "struct blk_user_trace_setup" "ac_cv_type_struct_blk_user_trace_setup" "#include <linux/blktrace_api.h> 10646 " 10647 if test "x$ac_cv_type_struct_blk_user_trace_setup" = xyes; then : 10648 10649 cat >>confdefs.h <<_ACEOF 10650 #define HAVE_STRUCT_BLK_USER_TRACE_SETUP 1 10651 _ACEOF 10652 10653 10654 fi 10655 10656 10657 ac_fn_c_check_type "$LINENO" "struct mtd_write_req" "ac_cv_type_struct_mtd_write_req" "#include <mtd/mtd-abi.h> 10658 " 10659 if test "x$ac_cv_type_struct_mtd_write_req" = xyes; then : 10660 10661 cat >>confdefs.h <<_ACEOF 10662 #define HAVE_STRUCT_MTD_WRITE_REQ 1 10663 _ACEOF 10664 10665 10666 fi 10667 10668 10669 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> 10670 " 10671 if test "x$ac_cv_member_struct_ubi_attach_req_max_beb_per1024" = xyes; then : 10672 10673 cat >>confdefs.h <<_ACEOF 10674 #define HAVE_STRUCT_UBI_ATTACH_REQ_MAX_BEB_PER1024 1 10675 _ACEOF 10676 10677 10678 fi 10679 10680 10681 ac_fn_c_check_type "$LINENO" "struct ptp_sys_offset" "ac_cv_type_struct_ptp_sys_offset" "#include <linux/ptp_clock.h> 10682 " 10683 if test "x$ac_cv_type_struct_ptp_sys_offset" = xyes; then : 10684 10685 cat >>confdefs.h <<_ACEOF 10686 #define HAVE_STRUCT_PTP_SYS_OFFSET 1 10687 _ACEOF 10688 10689 10690 fi 10691 10692 10693 ac_fn_c_check_type "$LINENO" "struct kvm_regs" "ac_cv_type_struct_kvm_regs" "#include <linux/kvm.h> 10694 " 10695 if test "x$ac_cv_type_struct_kvm_regs" = xyes; then : 10696 10697 cat >>confdefs.h <<_ACEOF 10698 #define HAVE_STRUCT_KVM_REGS 1 10699 _ACEOF 10700 10701 10702 fi 10703 ac_fn_c_check_type "$LINENO" "struct kvm_sregs" "ac_cv_type_struct_kvm_sregs" "#include <linux/kvm.h> 10704 " 10705 if test "x$ac_cv_type_struct_kvm_sregs" = xyes; then : 10706 10707 cat >>confdefs.h <<_ACEOF 10708 #define HAVE_STRUCT_KVM_SREGS 1 10709 _ACEOF 10710 10711 10712 fi 10713 ac_fn_c_check_type "$LINENO" "struct kvm_userspace_memory_region" "ac_cv_type_struct_kvm_userspace_memory_region" "#include <linux/kvm.h> 10714 " 10715 if test "x$ac_cv_type_struct_kvm_userspace_memory_region" = xyes; then : 10716 10717 cat >>confdefs.h <<_ACEOF 10718 #define HAVE_STRUCT_KVM_USERSPACE_MEMORY_REGION 1 10719 _ACEOF 10720 10721 10722 fi 10723 10724 10725 for ac_header in linux/btrfs.h 10726 do : 10727 ac_fn_c_check_header_mongrel "$LINENO" "linux/btrfs.h" "ac_cv_header_linux_btrfs_h" "$ac_includes_default" 10728 if test "x$ac_cv_header_linux_btrfs_h" = xyes; then : 10729 cat >>confdefs.h <<_ACEOF 10730 #define HAVE_LINUX_BTRFS_H 1 10731 _ACEOF 10732 10733 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> 10734 #include <linux/btrfs.h> 10735 " 10736 if test "x$ac_cv_member_struct_btrfs_ioctl_feature_flags_compat_flags" = xyes; then : 10737 10738 cat >>confdefs.h <<_ACEOF 10739 #define HAVE_STRUCT_BTRFS_IOCTL_FEATURE_FLAGS_COMPAT_FLAGS 1 10740 _ACEOF 10741 10742 10743 fi 10744 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> 10745 #include <linux/btrfs.h> 10746 " 10747 if test "x$ac_cv_member_struct_btrfs_ioctl_fs_info_args_nodesize" = xyes; then : 10748 10749 cat >>confdefs.h <<_ACEOF 10750 #define HAVE_STRUCT_BTRFS_IOCTL_FS_INFO_ARGS_NODESIZE 1 10751 _ACEOF 10752 10753 10754 fi 10755 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> 10756 #include <linux/btrfs.h> 10757 " 10758 if test "x$ac_cv_member_struct_btrfs_ioctl_defrag_range_args_start" = xyes; then : 10759 10760 cat >>confdefs.h <<_ACEOF 10761 #define HAVE_STRUCT_BTRFS_IOCTL_DEFRAG_RANGE_ARGS_START 1 10762 _ACEOF 10763 10764 10765 fi 10766 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> 10767 #include <linux/btrfs.h> 10768 " 10769 if test "x$ac_cv_member_struct_btrfs_ioctl_search_args_v2_buf_size" = xyes; then : 10770 10771 cat >>confdefs.h <<_ACEOF 10772 #define HAVE_STRUCT_BTRFS_IOCTL_SEARCH_ARGS_V2_BUF_SIZE 1 10773 _ACEOF 10774 10775 10776 fi 10777 10778 ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_NONE" "ac_cv_have_decl_BTRFS_COMPRESS_NONE" " #include <stdio.h> 10779 #include <linux/btrfs.h> 10780 " 10781 if test "x$ac_cv_have_decl_BTRFS_COMPRESS_NONE" = xyes; then : 10782 ac_have_decl=1 10783 else 10784 ac_have_decl=0 10785 fi 10786 10787 cat >>confdefs.h <<_ACEOF 10788 #define HAVE_DECL_BTRFS_COMPRESS_NONE $ac_have_decl 10789 _ACEOF 10790 ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_ZLIB" "ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" " #include <stdio.h> 10791 #include <linux/btrfs.h> 10792 " 10793 if test "x$ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" = xyes; then : 10794 ac_have_decl=1 10795 else 10796 ac_have_decl=0 10797 fi 10798 10799 cat >>confdefs.h <<_ACEOF 10800 #define HAVE_DECL_BTRFS_COMPRESS_ZLIB $ac_have_decl 10801 _ACEOF 10802 ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_LZO" "ac_cv_have_decl_BTRFS_COMPRESS_LZO" " #include <stdio.h> 10803 #include <linux/btrfs.h> 10804 " 10805 if test "x$ac_cv_have_decl_BTRFS_COMPRESS_LZO" = xyes; then : 10806 ac_have_decl=1 10807 else 10808 ac_have_decl=0 10809 fi 10810 10811 cat >>confdefs.h <<_ACEOF 10812 #define HAVE_DECL_BTRFS_COMPRESS_LZO $ac_have_decl 10813 _ACEOF 10814 10815 fi 10816 10817 done 10818 10819 10820 ac_fn_c_check_decl "$LINENO" "sys_errlist" "ac_cv_have_decl_sys_errlist" "$ac_includes_default" 10821 if test "x$ac_cv_have_decl_sys_errlist" = xyes; then : 10822 ac_have_decl=1 10823 else 10824 ac_have_decl=0 10825 fi 10826 10827 cat >>confdefs.h <<_ACEOF 10828 #define HAVE_DECL_SYS_ERRLIST $ac_have_decl 10829 _ACEOF 10830 10831 ac_fn_c_check_decl "$LINENO" "PTRACE_PEEKUSER" "ac_cv_have_decl_PTRACE_PEEKUSER" "#include <sys/ptrace.h> 10832 " 10833 if test "x$ac_cv_have_decl_PTRACE_PEEKUSER" = xyes; then : 10834 ac_have_decl=1 10835 else 10836 ac_have_decl=0 10837 fi 10838 10839 cat >>confdefs.h <<_ACEOF 10840 #define HAVE_DECL_PTRACE_PEEKUSER $ac_have_decl 10841 _ACEOF 10842 ac_fn_c_check_decl "$LINENO" "PTRACE_POKEUSER" "ac_cv_have_decl_PTRACE_POKEUSER" "#include <sys/ptrace.h> 10843 " 10844 if test "x$ac_cv_have_decl_PTRACE_POKEUSER" = xyes; then : 10845 ac_have_decl=1 10846 else 10847 ac_have_decl=0 10848 fi 10849 10850 cat >>confdefs.h <<_ACEOF 10851 #define HAVE_DECL_PTRACE_POKEUSER $ac_have_decl 10852 _ACEOF 10853 10854 10855 ac_fn_c_check_decl "$LINENO" "P_PID" "ac_cv_have_decl_P_PID" "#include <sys/wait.h> 10856 " 10857 if test "x$ac_cv_have_decl_P_PID" = xyes; then : 10858 ac_have_decl=1 10859 else 10860 ac_have_decl=0 10861 fi 10862 10863 cat >>confdefs.h <<_ACEOF 10864 #define HAVE_DECL_P_PID $ac_have_decl 10865 _ACEOF 10866 ac_fn_c_check_decl "$LINENO" "P_PPID" "ac_cv_have_decl_P_PPID" "#include <sys/wait.h> 10867 " 10868 if test "x$ac_cv_have_decl_P_PPID" = xyes; then : 10869 ac_have_decl=1 10870 else 10871 ac_have_decl=0 10872 fi 10873 10874 cat >>confdefs.h <<_ACEOF 10875 #define HAVE_DECL_P_PPID $ac_have_decl 10876 _ACEOF 10877 ac_fn_c_check_decl "$LINENO" "P_PGID" "ac_cv_have_decl_P_PGID" "#include <sys/wait.h> 10878 " 10879 if test "x$ac_cv_have_decl_P_PGID" = xyes; then : 10880 ac_have_decl=1 10881 else 10882 ac_have_decl=0 10883 fi 10884 10885 cat >>confdefs.h <<_ACEOF 10886 #define HAVE_DECL_P_PGID $ac_have_decl 10887 _ACEOF 10888 ac_fn_c_check_decl "$LINENO" "P_SID" "ac_cv_have_decl_P_SID" "#include <sys/wait.h> 10889 " 10890 if test "x$ac_cv_have_decl_P_SID" = xyes; then : 10891 ac_have_decl=1 10892 else 10893 ac_have_decl=0 10894 fi 10895 10896 cat >>confdefs.h <<_ACEOF 10897 #define HAVE_DECL_P_SID $ac_have_decl 10898 _ACEOF 10899 ac_fn_c_check_decl "$LINENO" "P_CID" "ac_cv_have_decl_P_CID" "#include <sys/wait.h> 10900 " 10901 if test "x$ac_cv_have_decl_P_CID" = xyes; then : 10902 ac_have_decl=1 10903 else 10904 ac_have_decl=0 10905 fi 10906 10907 cat >>confdefs.h <<_ACEOF 10908 #define HAVE_DECL_P_CID $ac_have_decl 10909 _ACEOF 10910 ac_fn_c_check_decl "$LINENO" "P_UID" "ac_cv_have_decl_P_UID" "#include <sys/wait.h> 10911 " 10912 if test "x$ac_cv_have_decl_P_UID" = xyes; then : 10913 ac_have_decl=1 10914 else 10915 ac_have_decl=0 10916 fi 10917 10918 cat >>confdefs.h <<_ACEOF 10919 #define HAVE_DECL_P_UID $ac_have_decl 10920 _ACEOF 10921 ac_fn_c_check_decl "$LINENO" "P_GID" "ac_cv_have_decl_P_GID" "#include <sys/wait.h> 10922 " 10923 if test "x$ac_cv_have_decl_P_GID" = xyes; then : 10924 ac_have_decl=1 10925 else 10926 ac_have_decl=0 10927 fi 10928 10929 cat >>confdefs.h <<_ACEOF 10930 #define HAVE_DECL_P_GID $ac_have_decl 10931 _ACEOF 10932 ac_fn_c_check_decl "$LINENO" "P_ALL" "ac_cv_have_decl_P_ALL" "#include <sys/wait.h> 10933 " 10934 if test "x$ac_cv_have_decl_P_ALL" = xyes; then : 10935 ac_have_decl=1 10936 else 10937 ac_have_decl=0 10938 fi 10939 10940 cat >>confdefs.h <<_ACEOF 10941 #define HAVE_DECL_P_ALL $ac_have_decl 10942 _ACEOF 10943 ac_fn_c_check_decl "$LINENO" "P_LWPID" "ac_cv_have_decl_P_LWPID" "#include <sys/wait.h> 10944 " 10945 if test "x$ac_cv_have_decl_P_LWPID" = xyes; then : 10946 ac_have_decl=1 10947 else 10948 ac_have_decl=0 10949 fi 10950 10951 cat >>confdefs.h <<_ACEOF 10952 #define HAVE_DECL_P_LWPID $ac_have_decl 10953 _ACEOF 10954 10955 10956 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_READ_ONLY" "ac_cv_have_decl_LO_FLAGS_READ_ONLY" "#include <linux/loop.h> 10957 " 10958 if test "x$ac_cv_have_decl_LO_FLAGS_READ_ONLY" = xyes; then : 10959 ac_have_decl=1 10960 else 10961 ac_have_decl=0 10962 fi 10963 10964 cat >>confdefs.h <<_ACEOF 10965 #define HAVE_DECL_LO_FLAGS_READ_ONLY $ac_have_decl 10966 _ACEOF 10967 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_USE_AOPS" "ac_cv_have_decl_LO_FLAGS_USE_AOPS" "#include <linux/loop.h> 10968 " 10969 if test "x$ac_cv_have_decl_LO_FLAGS_USE_AOPS" = xyes; then : 10970 ac_have_decl=1 10971 else 10972 ac_have_decl=0 10973 fi 10974 10975 cat >>confdefs.h <<_ACEOF 10976 #define HAVE_DECL_LO_FLAGS_USE_AOPS $ac_have_decl 10977 _ACEOF 10978 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_AUTOCLEAR" "ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" "#include <linux/loop.h> 10979 " 10980 if test "x$ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" = xyes; then : 10981 ac_have_decl=1 10982 else 10983 ac_have_decl=0 10984 fi 10985 10986 cat >>confdefs.h <<_ACEOF 10987 #define HAVE_DECL_LO_FLAGS_AUTOCLEAR $ac_have_decl 10988 _ACEOF 10989 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_PARTSCAN" "ac_cv_have_decl_LO_FLAGS_PARTSCAN" "#include <linux/loop.h> 10990 " 10991 if test "x$ac_cv_have_decl_LO_FLAGS_PARTSCAN" = xyes; then : 10992 ac_have_decl=1 10993 else 10994 ac_have_decl=0 10995 fi 10996 10997 cat >>confdefs.h <<_ACEOF 10998 #define HAVE_DECL_LO_FLAGS_PARTSCAN $ac_have_decl 10999 _ACEOF 11000 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_DIRECT_IO" "ac_cv_have_decl_LO_FLAGS_DIRECT_IO" "#include <linux/loop.h> 11001 " 11002 if test "x$ac_cv_have_decl_LO_FLAGS_DIRECT_IO" = xyes; then : 11003 ac_have_decl=1 11004 else 11005 ac_have_decl=0 11006 fi 11007 11008 cat >>confdefs.h <<_ACEOF 11009 #define HAVE_DECL_LO_FLAGS_DIRECT_IO $ac_have_decl 11010 _ACEOF 11011 11012 11013 ac_fn_c_check_decl "$LINENO" "CTL_PROC" "ac_cv_have_decl_CTL_PROC" "#include <sys/types.h> 11014 #include <linux/sysctl.h> 11015 " 11016 if test "x$ac_cv_have_decl_CTL_PROC" = xyes; then : 11017 ac_have_decl=1 11018 else 11019 ac_have_decl=0 11020 fi 11021 11022 cat >>confdefs.h <<_ACEOF 11023 #define HAVE_DECL_CTL_PROC $ac_have_decl 11024 _ACEOF 11025 ac_fn_c_check_decl "$LINENO" "CTL_ARLAN" "ac_cv_have_decl_CTL_ARLAN" "#include <sys/types.h> 11026 #include <linux/sysctl.h> 11027 " 11028 if test "x$ac_cv_have_decl_CTL_ARLAN" = xyes; then : 11029 ac_have_decl=1 11030 else 11031 ac_have_decl=0 11032 fi 11033 11034 cat >>confdefs.h <<_ACEOF 11035 #define HAVE_DECL_CTL_ARLAN $ac_have_decl 11036 _ACEOF 11037 ac_fn_c_check_decl "$LINENO" "CTL_S390DBF" "ac_cv_have_decl_CTL_S390DBF" "#include <sys/types.h> 11038 #include <linux/sysctl.h> 11039 " 11040 if test "x$ac_cv_have_decl_CTL_S390DBF" = xyes; then : 11041 ac_have_decl=1 11042 else 11043 ac_have_decl=0 11044 fi 11045 11046 cat >>confdefs.h <<_ACEOF 11047 #define HAVE_DECL_CTL_S390DBF $ac_have_decl 11048 _ACEOF 11049 ac_fn_c_check_decl "$LINENO" "CTL_SUNRPC" "ac_cv_have_decl_CTL_SUNRPC" "#include <sys/types.h> 11050 #include <linux/sysctl.h> 11051 " 11052 if test "x$ac_cv_have_decl_CTL_SUNRPC" = xyes; then : 11053 ac_have_decl=1 11054 else 11055 ac_have_decl=0 11056 fi 11057 11058 cat >>confdefs.h <<_ACEOF 11059 #define HAVE_DECL_CTL_SUNRPC $ac_have_decl 11060 _ACEOF 11061 ac_fn_c_check_decl "$LINENO" "CTL_PM" "ac_cv_have_decl_CTL_PM" "#include <sys/types.h> 11062 #include <linux/sysctl.h> 11063 " 11064 if test "x$ac_cv_have_decl_CTL_PM" = xyes; then : 11065 ac_have_decl=1 11066 else 11067 ac_have_decl=0 11068 fi 11069 11070 cat >>confdefs.h <<_ACEOF 11071 #define HAVE_DECL_CTL_PM $ac_have_decl 11072 _ACEOF 11073 ac_fn_c_check_decl "$LINENO" "CTL_FRV" "ac_cv_have_decl_CTL_FRV" "#include <sys/types.h> 11074 #include <linux/sysctl.h> 11075 " 11076 if test "x$ac_cv_have_decl_CTL_FRV" = xyes; then : 11077 ac_have_decl=1 11078 else 11079 ac_have_decl=0 11080 fi 11081 11082 cat >>confdefs.h <<_ACEOF 11083 #define HAVE_DECL_CTL_FRV $ac_have_decl 11084 _ACEOF 11085 ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT" "#include <sys/types.h> 11086 #include <linux/sysctl.h> 11087 " 11088 if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT" = xyes; then : 11089 ac_have_decl=1 11090 else 11091 ac_have_decl=0 11092 fi 11093 11094 cat >>confdefs.h <<_ACEOF 11095 #define HAVE_DECL_KERN_PRINTK_RATELIMIT $ac_have_decl 11096 _ACEOF 11097 ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT_BURST" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" "#include <sys/types.h> 11098 #include <linux/sysctl.h> 11099 " 11100 if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" = xyes; then : 11101 ac_have_decl=1 11102 else 11103 ac_have_decl=0 11104 fi 11105 11106 cat >>confdefs.h <<_ACEOF 11107 #define HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST $ac_have_decl 11108 _ACEOF 11109 ac_fn_c_check_decl "$LINENO" "KERN_PTY" "ac_cv_have_decl_KERN_PTY" "#include <sys/types.h> 11110 #include <linux/sysctl.h> 11111 " 11112 if test "x$ac_cv_have_decl_KERN_PTY" = xyes; then : 11113 ac_have_decl=1 11114 else 11115 ac_have_decl=0 11116 fi 11117 11118 cat >>confdefs.h <<_ACEOF 11119 #define HAVE_DECL_KERN_PTY $ac_have_decl 11120 _ACEOF 11121 ac_fn_c_check_decl "$LINENO" "KERN_NGROUPS_MAX" "ac_cv_have_decl_KERN_NGROUPS_MAX" "#include <sys/types.h> 11122 #include <linux/sysctl.h> 11123 " 11124 if test "x$ac_cv_have_decl_KERN_NGROUPS_MAX" = xyes; then : 11125 ac_have_decl=1 11126 else 11127 ac_have_decl=0 11128 fi 11129 11130 cat >>confdefs.h <<_ACEOF 11131 #define HAVE_DECL_KERN_NGROUPS_MAX $ac_have_decl 11132 _ACEOF 11133 ac_fn_c_check_decl "$LINENO" "KERN_SPARC_SCONS_PWROFF" "ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" "#include <sys/types.h> 11134 #include <linux/sysctl.h> 11135 " 11136 if test "x$ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" = xyes; then : 11137 ac_have_decl=1 11138 else 11139 ac_have_decl=0 11140 fi 11141 11142 cat >>confdefs.h <<_ACEOF 11143 #define HAVE_DECL_KERN_SPARC_SCONS_PWROFF $ac_have_decl 11144 _ACEOF 11145 ac_fn_c_check_decl "$LINENO" "KERN_HZ_TIMER" "ac_cv_have_decl_KERN_HZ_TIMER" "#include <sys/types.h> 11146 #include <linux/sysctl.h> 11147 " 11148 if test "x$ac_cv_have_decl_KERN_HZ_TIMER" = xyes; then : 11149 ac_have_decl=1 11150 else 11151 ac_have_decl=0 11152 fi 11153 11154 cat >>confdefs.h <<_ACEOF 11155 #define HAVE_DECL_KERN_HZ_TIMER $ac_have_decl 11156 _ACEOF 11157 ac_fn_c_check_decl "$LINENO" "KERN_UNKNOWN_NMI_PANIC" "ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" "#include <sys/types.h> 11158 #include <linux/sysctl.h> 11159 " 11160 if test "x$ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" = xyes; then : 11161 ac_have_decl=1 11162 else 11163 ac_have_decl=0 11164 fi 11165 11166 cat >>confdefs.h <<_ACEOF 11167 #define HAVE_DECL_KERN_UNKNOWN_NMI_PANIC $ac_have_decl 11168 _ACEOF 11169 ac_fn_c_check_decl "$LINENO" "KERN_BOOTLOADER_TYPE" "ac_cv_have_decl_KERN_BOOTLOADER_TYPE" "#include <sys/types.h> 11170 #include <linux/sysctl.h> 11171 " 11172 if test "x$ac_cv_have_decl_KERN_BOOTLOADER_TYPE" = xyes; then : 11173 ac_have_decl=1 11174 else 11175 ac_have_decl=0 11176 fi 11177 11178 cat >>confdefs.h <<_ACEOF 11179 #define HAVE_DECL_KERN_BOOTLOADER_TYPE $ac_have_decl 11180 _ACEOF 11181 ac_fn_c_check_decl "$LINENO" "KERN_RANDOMIZE" "ac_cv_have_decl_KERN_RANDOMIZE" "#include <sys/types.h> 11182 #include <linux/sysctl.h> 11183 " 11184 if test "x$ac_cv_have_decl_KERN_RANDOMIZE" = xyes; then : 11185 ac_have_decl=1 11186 else 11187 ac_have_decl=0 11188 fi 11189 11190 cat >>confdefs.h <<_ACEOF 11191 #define HAVE_DECL_KERN_RANDOMIZE $ac_have_decl 11192 _ACEOF 11193 ac_fn_c_check_decl "$LINENO" "KERN_SETUID_DUMPABLE" "ac_cv_have_decl_KERN_SETUID_DUMPABLE" "#include <sys/types.h> 11194 #include <linux/sysctl.h> 11195 " 11196 if test "x$ac_cv_have_decl_KERN_SETUID_DUMPABLE" = xyes; then : 11197 ac_have_decl=1 11198 else 11199 ac_have_decl=0 11200 fi 11201 11202 cat >>confdefs.h <<_ACEOF 11203 #define HAVE_DECL_KERN_SETUID_DUMPABLE $ac_have_decl 11204 _ACEOF 11205 ac_fn_c_check_decl "$LINENO" "KERN_SPIN_RETRY" "ac_cv_have_decl_KERN_SPIN_RETRY" "#include <sys/types.h> 11206 #include <linux/sysctl.h> 11207 " 11208 if test "x$ac_cv_have_decl_KERN_SPIN_RETRY" = xyes; then : 11209 ac_have_decl=1 11210 else 11211 ac_have_decl=0 11212 fi 11213 11214 cat >>confdefs.h <<_ACEOF 11215 #define HAVE_DECL_KERN_SPIN_RETRY $ac_have_decl 11216 _ACEOF 11217 ac_fn_c_check_decl "$LINENO" "KERN_ACPI_VIDEO_FLAGS" "ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" "#include <sys/types.h> 11218 #include <linux/sysctl.h> 11219 " 11220 if test "x$ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" = xyes; then : 11221 ac_have_decl=1 11222 else 11223 ac_have_decl=0 11224 fi 11225 11226 cat >>confdefs.h <<_ACEOF 11227 #define HAVE_DECL_KERN_ACPI_VIDEO_FLAGS $ac_have_decl 11228 _ACEOF 11229 ac_fn_c_check_decl "$LINENO" "KERN_IA64_UNALIGNED" "ac_cv_have_decl_KERN_IA64_UNALIGNED" "#include <sys/types.h> 11230 #include <linux/sysctl.h> 11231 " 11232 if test "x$ac_cv_have_decl_KERN_IA64_UNALIGNED" = xyes; then : 11233 ac_have_decl=1 11234 else 11235 ac_have_decl=0 11236 fi 11237 11238 cat >>confdefs.h <<_ACEOF 11239 #define HAVE_DECL_KERN_IA64_UNALIGNED $ac_have_decl 11240 _ACEOF 11241 ac_fn_c_check_decl "$LINENO" "KERN_COMPAT_LOG" "ac_cv_have_decl_KERN_COMPAT_LOG" "#include <sys/types.h> 11242 #include <linux/sysctl.h> 11243 " 11244 if test "x$ac_cv_have_decl_KERN_COMPAT_LOG" = xyes; then : 11245 ac_have_decl=1 11246 else 11247 ac_have_decl=0 11248 fi 11249 11250 cat >>confdefs.h <<_ACEOF 11251 #define HAVE_DECL_KERN_COMPAT_LOG $ac_have_decl 11252 _ACEOF 11253 ac_fn_c_check_decl "$LINENO" "KERN_MAX_LOCK_DEPTH" "ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" "#include <sys/types.h> 11254 #include <linux/sysctl.h> 11255 " 11256 if test "x$ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" = xyes; then : 11257 ac_have_decl=1 11258 else 11259 ac_have_decl=0 11260 fi 11261 11262 cat >>confdefs.h <<_ACEOF 11263 #define HAVE_DECL_KERN_MAX_LOCK_DEPTH $ac_have_decl 11264 _ACEOF 11265 ac_fn_c_check_decl "$LINENO" "KERN_NMI_WATCHDOG" "ac_cv_have_decl_KERN_NMI_WATCHDOG" "#include <sys/types.h> 11266 #include <linux/sysctl.h> 11267 " 11268 if test "x$ac_cv_have_decl_KERN_NMI_WATCHDOG" = xyes; then : 11269 ac_have_decl=1 11270 else 11271 ac_have_decl=0 11272 fi 11273 11274 cat >>confdefs.h <<_ACEOF 11275 #define HAVE_DECL_KERN_NMI_WATCHDOG $ac_have_decl 11276 _ACEOF 11277 ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_NMI" "ac_cv_have_decl_KERN_PANIC_ON_NMI" "#include <sys/types.h> 11278 #include <linux/sysctl.h> 11279 " 11280 if test "x$ac_cv_have_decl_KERN_PANIC_ON_NMI" = xyes; then : 11281 ac_have_decl=1 11282 else 11283 ac_have_decl=0 11284 fi 11285 11286 cat >>confdefs.h <<_ACEOF 11287 #define HAVE_DECL_KERN_PANIC_ON_NMI $ac_have_decl 11288 _ACEOF 11289 ac_fn_c_check_decl "$LINENO" "NET_LLC" "ac_cv_have_decl_NET_LLC" "#include <sys/types.h> 11290 #include <linux/sysctl.h> 11291 " 11292 if test "x$ac_cv_have_decl_NET_LLC" = xyes; then : 11293 ac_have_decl=1 11294 else 11295 ac_have_decl=0 11296 fi 11297 11298 cat >>confdefs.h <<_ACEOF 11299 #define HAVE_DECL_NET_LLC $ac_have_decl 11300 _ACEOF 11301 ac_fn_c_check_decl "$LINENO" "NET_NETFILTER" "ac_cv_have_decl_NET_NETFILTER" "#include <sys/types.h> 11302 #include <linux/sysctl.h> 11303 " 11304 if test "x$ac_cv_have_decl_NET_NETFILTER" = xyes; then : 11305 ac_have_decl=1 11306 else 11307 ac_have_decl=0 11308 fi 11309 11310 cat >>confdefs.h <<_ACEOF 11311 #define HAVE_DECL_NET_NETFILTER $ac_have_decl 11312 _ACEOF 11313 ac_fn_c_check_decl "$LINENO" "NET_DCCP" "ac_cv_have_decl_NET_DCCP" "#include <sys/types.h> 11314 #include <linux/sysctl.h> 11315 " 11316 if test "x$ac_cv_have_decl_NET_DCCP" = xyes; then : 11317 ac_have_decl=1 11318 else 11319 ac_have_decl=0 11320 fi 11321 11322 cat >>confdefs.h <<_ACEOF 11323 #define HAVE_DECL_NET_DCCP $ac_have_decl 11324 _ACEOF 11325 ac_fn_c_check_decl "$LINENO" "NET_IRDA" "ac_cv_have_decl_NET_IRDA" "#include <sys/types.h> 11326 #include <linux/sysctl.h> 11327 " 11328 if test "x$ac_cv_have_decl_NET_IRDA" = xyes; then : 11329 ac_have_decl=1 11330 else 11331 ac_have_decl=0 11332 fi 11333 11334 cat >>confdefs.h <<_ACEOF 11335 #define HAVE_DECL_NET_IRDA $ac_have_decl 11336 _ACEOF 11337 ac_fn_c_check_decl "$LINENO" "NET_CORE_DESTROY_DELAY" "ac_cv_have_decl_NET_CORE_DESTROY_DELAY" "#include <sys/types.h> 11338 #include <linux/sysctl.h> 11339 " 11340 if test "x$ac_cv_have_decl_NET_CORE_DESTROY_DELAY" = xyes; then : 11341 ac_have_decl=1 11342 else 11343 ac_have_decl=0 11344 fi 11345 11346 cat >>confdefs.h <<_ACEOF 11347 #define HAVE_DECL_NET_CORE_DESTROY_DELAY $ac_have_decl 11348 _ACEOF 11349 ac_fn_c_check_decl "$LINENO" "NET_CORE_BUDGET" "ac_cv_have_decl_NET_CORE_BUDGET" "#include <sys/types.h> 11350 #include <linux/sysctl.h> 11351 " 11352 if test "x$ac_cv_have_decl_NET_CORE_BUDGET" = xyes; then : 11353 ac_have_decl=1 11354 else 11355 ac_have_decl=0 11356 fi 11357 11358 cat >>confdefs.h <<_ACEOF 11359 #define HAVE_DECL_NET_CORE_BUDGET $ac_have_decl 11360 _ACEOF 11361 ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_ETIME" "ac_cv_have_decl_NET_CORE_AEVENT_ETIME" "#include <sys/types.h> 11362 #include <linux/sysctl.h> 11363 " 11364 if test "x$ac_cv_have_decl_NET_CORE_AEVENT_ETIME" = xyes; then : 11365 ac_have_decl=1 11366 else 11367 ac_have_decl=0 11368 fi 11369 11370 cat >>confdefs.h <<_ACEOF 11371 #define HAVE_DECL_NET_CORE_AEVENT_ETIME $ac_have_decl 11372 _ACEOF 11373 ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_RSEQTH" "ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" "#include <sys/types.h> 11374 #include <linux/sysctl.h> 11375 " 11376 if test "x$ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" = xyes; then : 11377 ac_have_decl=1 11378 else 11379 ac_have_decl=0 11380 fi 11381 11382 cat >>confdefs.h <<_ACEOF 11383 #define HAVE_DECL_NET_CORE_AEVENT_RSEQTH $ac_have_decl 11384 _ACEOF 11385 ac_fn_c_check_decl "$LINENO" "NET_CORE_WARNINGS" "ac_cv_have_decl_NET_CORE_WARNINGS" "#include <sys/types.h> 11386 #include <linux/sysctl.h> 11387 " 11388 if test "x$ac_cv_have_decl_NET_CORE_WARNINGS" = xyes; then : 11389 ac_have_decl=1 11390 else 11391 ac_have_decl=0 11392 fi 11393 11394 cat >>confdefs.h <<_ACEOF 11395 #define HAVE_DECL_NET_CORE_WARNINGS $ac_have_decl 11396 _ACEOF 11397 ac_fn_c_check_decl "$LINENO" "NET_IPV4_IGMP_MAX_MSF" "ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" "#include <sys/types.h> 11398 #include <linux/sysctl.h> 11399 " 11400 if test "x$ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" = xyes; then : 11401 ac_have_decl=1 11402 else 11403 ac_have_decl=0 11404 fi 11405 11406 cat >>confdefs.h <<_ACEOF 11407 #define HAVE_DECL_NET_IPV4_IGMP_MAX_MSF $ac_have_decl 11408 _ACEOF 11409 ac_fn_c_check_decl "$LINENO" "NET_TCP_NO_METRICS_SAVE" "ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" "#include <sys/types.h> 11410 #include <linux/sysctl.h> 11411 " 11412 if test "x$ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" = xyes; then : 11413 ac_have_decl=1 11414 else 11415 ac_have_decl=0 11416 fi 11417 11418 cat >>confdefs.h <<_ACEOF 11419 #define HAVE_DECL_NET_TCP_NO_METRICS_SAVE $ac_have_decl 11420 _ACEOF 11421 ac_fn_c_check_decl "$LINENO" "NET_TCP_DEFAULT_WIN_SCALE" "ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" "#include <sys/types.h> 11422 #include <linux/sysctl.h> 11423 " 11424 if test "x$ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" = xyes; then : 11425 ac_have_decl=1 11426 else 11427 ac_have_decl=0 11428 fi 11429 11430 cat >>confdefs.h <<_ACEOF 11431 #define HAVE_DECL_NET_TCP_DEFAULT_WIN_SCALE $ac_have_decl 11432 _ACEOF 11433 ac_fn_c_check_decl "$LINENO" "NET_TCP_MODERATE_RCVBUF" "ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" "#include <sys/types.h> 11434 #include <linux/sysctl.h> 11435 " 11436 if test "x$ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" = xyes; then : 11437 ac_have_decl=1 11438 else 11439 ac_have_decl=0 11440 fi 11441 11442 cat >>confdefs.h <<_ACEOF 11443 #define HAVE_DECL_NET_TCP_MODERATE_RCVBUF $ac_have_decl 11444 _ACEOF 11445 ac_fn_c_check_decl "$LINENO" "NET_TCP_TSO_WIN_DIVISOR" "ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" "#include <sys/types.h> 11446 #include <linux/sysctl.h> 11447 " 11448 if test "x$ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" = xyes; then : 11449 ac_have_decl=1 11450 else 11451 ac_have_decl=0 11452 fi 11453 11454 cat >>confdefs.h <<_ACEOF 11455 #define HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR $ac_have_decl 11456 _ACEOF 11457 ac_fn_c_check_decl "$LINENO" "NET_TCP_BIC_BETA" "ac_cv_have_decl_NET_TCP_BIC_BETA" "#include <sys/types.h> 11458 #include <linux/sysctl.h> 11459 " 11460 if test "x$ac_cv_have_decl_NET_TCP_BIC_BETA" = xyes; then : 11461 ac_have_decl=1 11462 else 11463 ac_have_decl=0 11464 fi 11465 11466 cat >>confdefs.h <<_ACEOF 11467 #define HAVE_DECL_NET_TCP_BIC_BETA $ac_have_decl 11468 _ACEOF 11469 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> 11470 #include <linux/sysctl.h> 11471 " 11472 if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" = xyes; then : 11473 ac_have_decl=1 11474 else 11475 ac_have_decl=0 11476 fi 11477 11478 cat >>confdefs.h <<_ACEOF 11479 #define HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR $ac_have_decl 11480 _ACEOF 11481 ac_fn_c_check_decl "$LINENO" "NET_TCP_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_CONG_CONTROL" "#include <sys/types.h> 11482 #include <linux/sysctl.h> 11483 " 11484 if test "x$ac_cv_have_decl_NET_TCP_CONG_CONTROL" = xyes; then : 11485 ac_have_decl=1 11486 else 11487 ac_have_decl=0 11488 fi 11489 11490 cat >>confdefs.h <<_ACEOF 11491 #define HAVE_DECL_NET_TCP_CONG_CONTROL $ac_have_decl 11492 _ACEOF 11493 ac_fn_c_check_decl "$LINENO" "NET_TCP_ABC" "ac_cv_have_decl_NET_TCP_ABC" "#include <sys/types.h> 11494 #include <linux/sysctl.h> 11495 " 11496 if test "x$ac_cv_have_decl_NET_TCP_ABC" = xyes; then : 11497 ac_have_decl=1 11498 else 11499 ac_have_decl=0 11500 fi 11501 11502 cat >>confdefs.h <<_ACEOF 11503 #define HAVE_DECL_NET_TCP_ABC $ac_have_decl 11504 _ACEOF 11505 ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_MAX_DIST" "ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" "#include <sys/types.h> 11506 #include <linux/sysctl.h> 11507 " 11508 if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" = xyes; then : 11509 ac_have_decl=1 11510 else 11511 ac_have_decl=0 11512 fi 11513 11514 cat >>confdefs.h <<_ACEOF 11515 #define HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST $ac_have_decl 11516 _ACEOF 11517 ac_fn_c_check_decl "$LINENO" "NET_TCP_MTU_PROBING" "ac_cv_have_decl_NET_TCP_MTU_PROBING" "#include <sys/types.h> 11518 #include <linux/sysctl.h> 11519 " 11520 if test "x$ac_cv_have_decl_NET_TCP_MTU_PROBING" = xyes; then : 11521 ac_have_decl=1 11522 else 11523 ac_have_decl=0 11524 fi 11525 11526 cat >>confdefs.h <<_ACEOF 11527 #define HAVE_DECL_NET_TCP_MTU_PROBING $ac_have_decl 11528 _ACEOF 11529 ac_fn_c_check_decl "$LINENO" "NET_TCP_BASE_MSS" "ac_cv_have_decl_NET_TCP_BASE_MSS" "#include <sys/types.h> 11530 #include <linux/sysctl.h> 11531 " 11532 if test "x$ac_cv_have_decl_NET_TCP_BASE_MSS" = xyes; then : 11533 ac_have_decl=1 11534 else 11535 ac_have_decl=0 11536 fi 11537 11538 cat >>confdefs.h <<_ACEOF 11539 #define HAVE_DECL_NET_TCP_BASE_MSS $ac_have_decl 11540 _ACEOF 11541 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> 11542 #include <linux/sysctl.h> 11543 " 11544 if test "x$ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" = xyes; then : 11545 ac_have_decl=1 11546 else 11547 ac_have_decl=0 11548 fi 11549 11550 cat >>confdefs.h <<_ACEOF 11551 #define HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS $ac_have_decl 11552 _ACEOF 11553 ac_fn_c_check_decl "$LINENO" "NET_TCP_DMA_COPYBREAK" "ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" "#include <sys/types.h> 11554 #include <linux/sysctl.h> 11555 " 11556 if test "x$ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" = xyes; then : 11557 ac_have_decl=1 11558 else 11559 ac_have_decl=0 11560 fi 11561 11562 cat >>confdefs.h <<_ACEOF 11563 #define HAVE_DECL_NET_TCP_DMA_COPYBREAK $ac_have_decl 11564 _ACEOF 11565 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> 11566 #include <linux/sysctl.h> 11567 " 11568 if test "x$ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" = xyes; then : 11569 ac_have_decl=1 11570 else 11571 ac_have_decl=0 11572 fi 11573 11574 cat >>confdefs.h <<_ACEOF 11575 #define HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE $ac_have_decl 11576 _ACEOF 11577 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_ENABLE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" "#include <sys/types.h> 11578 #include <linux/sysctl.h> 11579 " 11580 if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" = xyes; then : 11581 ac_have_decl=1 11582 else 11583 ac_have_decl=0 11584 fi 11585 11586 cat >>confdefs.h <<_ACEOF 11587 #define HAVE_DECL_NET_CIPSOV4_CACHE_ENABLE $ac_have_decl 11588 _ACEOF 11589 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_BUCKET_SIZE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" "#include <sys/types.h> 11590 #include <linux/sysctl.h> 11591 " 11592 if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" = xyes; then : 11593 ac_have_decl=1 11594 else 11595 ac_have_decl=0 11596 fi 11597 11598 cat >>confdefs.h <<_ACEOF 11599 #define HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE $ac_have_decl 11600 _ACEOF 11601 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_OPTFMT" "ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" "#include <sys/types.h> 11602 #include <linux/sysctl.h> 11603 " 11604 if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" = xyes; then : 11605 ac_have_decl=1 11606 else 11607 ac_have_decl=0 11608 fi 11609 11610 cat >>confdefs.h <<_ACEOF 11611 #define HAVE_DECL_NET_CIPSOV4_RBM_OPTFMT $ac_have_decl 11612 _ACEOF 11613 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_STRICTVALID" "ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" "#include <sys/types.h> 11614 #include <linux/sysctl.h> 11615 " 11616 if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" = xyes; then : 11617 ac_have_decl=1 11618 else 11619 ac_have_decl=0 11620 fi 11621 11622 cat >>confdefs.h <<_ACEOF 11623 #define HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID $ac_have_decl 11624 _ACEOF 11625 ac_fn_c_check_decl "$LINENO" "NET_TCP_AVAIL_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" "#include <sys/types.h> 11626 #include <linux/sysctl.h> 11627 " 11628 if test "x$ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" = xyes; then : 11629 ac_have_decl=1 11630 else 11631 ac_have_decl=0 11632 fi 11633 11634 cat >>confdefs.h <<_ACEOF 11635 #define HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL $ac_have_decl 11636 _ACEOF 11637 ac_fn_c_check_decl "$LINENO" "NET_TCP_ALLOWED_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" "#include <sys/types.h> 11638 #include <linux/sysctl.h> 11639 " 11640 if test "x$ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" = xyes; then : 11641 ac_have_decl=1 11642 else 11643 ac_have_decl=0 11644 fi 11645 11646 cat >>confdefs.h <<_ACEOF 11647 #define HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL $ac_have_decl 11648 _ACEOF 11649 ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_SSTHRESH" "ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" "#include <sys/types.h> 11650 #include <linux/sysctl.h> 11651 " 11652 if test "x$ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" = xyes; then : 11653 ac_have_decl=1 11654 else 11655 ac_have_decl=0 11656 fi 11657 11658 cat >>confdefs.h <<_ACEOF 11659 #define HAVE_DECL_NET_TCP_MAX_SSTHRESH $ac_have_decl 11660 _ACEOF 11661 ac_fn_c_check_decl "$LINENO" "NET_TCP_FRTO_RESPONSE" "ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" "#include <sys/types.h> 11662 #include <linux/sysctl.h> 11663 " 11664 if test "x$ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" = xyes; then : 11665 ac_have_decl=1 11666 else 11667 ac_have_decl=0 11668 fi 11669 11670 cat >>confdefs.h <<_ACEOF 11671 #define HAVE_DECL_NET_TCP_FRTO_RESPONSE $ac_have_decl 11672 _ACEOF 11673 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> 11674 #include <linux/sysctl.h> 11675 " 11676 if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then : 11677 ac_have_decl=1 11678 else 11679 ac_have_decl=0 11680 fi 11681 11682 cat >>confdefs.h <<_ACEOF 11683 #define HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl 11684 _ACEOF 11685 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> 11686 #include <linux/sysctl.h> 11687 " 11688 if test "x$ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" = xyes; then : 11689 ac_have_decl=1 11690 else 11691 ac_have_decl=0 11692 fi 11693 11694 cat >>confdefs.h <<_ACEOF 11695 #define HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION $ac_have_decl 11696 _ACEOF 11697 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ANNOUNCE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" "#include <sys/types.h> 11698 #include <linux/sysctl.h> 11699 " 11700 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" = xyes; then : 11701 ac_have_decl=1 11702 else 11703 ac_have_decl=0 11704 fi 11705 11706 cat >>confdefs.h <<_ACEOF 11707 #define HAVE_DECL_NET_IPV4_CONF_ARP_ANNOUNCE $ac_have_decl 11708 _ACEOF 11709 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_IGNORE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" "#include <sys/types.h> 11710 #include <linux/sysctl.h> 11711 " 11712 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" = xyes; then : 11713 ac_have_decl=1 11714 else 11715 ac_have_decl=0 11716 fi 11717 11718 cat >>confdefs.h <<_ACEOF 11719 #define HAVE_DECL_NET_IPV4_CONF_ARP_IGNORE $ac_have_decl 11720 _ACEOF 11721 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_PROMOTE_SECONDARIES" "ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" "#include <sys/types.h> 11722 #include <linux/sysctl.h> 11723 " 11724 if test "x$ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" = xyes; then : 11725 ac_have_decl=1 11726 else 11727 ac_have_decl=0 11728 fi 11729 11730 cat >>confdefs.h <<_ACEOF 11731 #define HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES $ac_have_decl 11732 _ACEOF 11733 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ACCEPT" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" "#include <sys/types.h> 11734 #include <linux/sysctl.h> 11735 " 11736 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" = xyes; then : 11737 ac_have_decl=1 11738 else 11739 ac_have_decl=0 11740 fi 11741 11742 cat >>confdefs.h <<_ACEOF 11743 #define HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT $ac_have_decl 11744 _ACEOF 11745 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_NOTIFY" "ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" "#include <sys/types.h> 11746 #include <linux/sysctl.h> 11747 " 11748 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" = xyes; then : 11749 ac_have_decl=1 11750 else 11751 ac_have_decl=0 11752 fi 11753 11754 cat >>confdefs.h <<_ACEOF 11755 #define HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY $ac_have_decl 11756 _ACEOF 11757 ac_fn_c_check_decl "$LINENO" "NET_IPV6_MLD_MAX_MSF" "ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" "#include <sys/types.h> 11758 #include <linux/sysctl.h> 11759 " 11760 if test "x$ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" = xyes; then : 11761 ac_have_decl=1 11762 else 11763 ac_have_decl=0 11764 fi 11765 11766 cat >>confdefs.h <<_ACEOF 11767 #define HAVE_DECL_NET_IPV6_MLD_MAX_MSF $ac_have_decl 11768 _ACEOF 11769 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> 11770 #include <linux/sysctl.h> 11771 " 11772 if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then : 11773 ac_have_decl=1 11774 else 11775 ac_have_decl=0 11776 fi 11777 11778 cat >>confdefs.h <<_ACEOF 11779 #define HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl 11780 _ACEOF 11781 ac_fn_c_check_decl "$LINENO" "VM_MAX_MAP_COUNT" "ac_cv_have_decl_VM_MAX_MAP_COUNT" "#include <sys/types.h> 11782 #include <linux/sysctl.h> 11783 " 11784 if test "x$ac_cv_have_decl_VM_MAX_MAP_COUNT" = xyes; then : 11785 ac_have_decl=1 11786 else 11787 ac_have_decl=0 11788 fi 11789 11790 cat >>confdefs.h <<_ACEOF 11791 #define HAVE_DECL_VM_MAX_MAP_COUNT $ac_have_decl 11792 _ACEOF 11793 ac_fn_c_check_decl "$LINENO" "VM_LAPTOP_MODE" "ac_cv_have_decl_VM_LAPTOP_MODE" "#include <sys/types.h> 11794 #include <linux/sysctl.h> 11795 " 11796 if test "x$ac_cv_have_decl_VM_LAPTOP_MODE" = xyes; then : 11797 ac_have_decl=1 11798 else 11799 ac_have_decl=0 11800 fi 11801 11802 cat >>confdefs.h <<_ACEOF 11803 #define HAVE_DECL_VM_LAPTOP_MODE $ac_have_decl 11804 _ACEOF 11805 ac_fn_c_check_decl "$LINENO" "VM_BLOCK_DUMP" "ac_cv_have_decl_VM_BLOCK_DUMP" "#include <sys/types.h> 11806 #include <linux/sysctl.h> 11807 " 11808 if test "x$ac_cv_have_decl_VM_BLOCK_DUMP" = xyes; then : 11809 ac_have_decl=1 11810 else 11811 ac_have_decl=0 11812 fi 11813 11814 cat >>confdefs.h <<_ACEOF 11815 #define HAVE_DECL_VM_BLOCK_DUMP $ac_have_decl 11816 _ACEOF 11817 ac_fn_c_check_decl "$LINENO" "VM_HUGETLB_GROUP" "ac_cv_have_decl_VM_HUGETLB_GROUP" "#include <sys/types.h> 11818 #include <linux/sysctl.h> 11819 " 11820 if test "x$ac_cv_have_decl_VM_HUGETLB_GROUP" = xyes; then : 11821 ac_have_decl=1 11822 else 11823 ac_have_decl=0 11824 fi 11825 11826 cat >>confdefs.h <<_ACEOF 11827 #define HAVE_DECL_VM_HUGETLB_GROUP $ac_have_decl 11828 _ACEOF 11829 ac_fn_c_check_decl "$LINENO" "VM_VFS_CACHE_PRESSURE" "ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" "#include <sys/types.h> 11830 #include <linux/sysctl.h> 11831 " 11832 if test "x$ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" = xyes; then : 11833 ac_have_decl=1 11834 else 11835 ac_have_decl=0 11836 fi 11837 11838 cat >>confdefs.h <<_ACEOF 11839 #define HAVE_DECL_VM_VFS_CACHE_PRESSURE $ac_have_decl 11840 _ACEOF 11841 ac_fn_c_check_decl "$LINENO" "VM_LEGACY_VA_LAYOUT" "ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" "#include <sys/types.h> 11842 #include <linux/sysctl.h> 11843 " 11844 if test "x$ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" = xyes; then : 11845 ac_have_decl=1 11846 else 11847 ac_have_decl=0 11848 fi 11849 11850 cat >>confdefs.h <<_ACEOF 11851 #define HAVE_DECL_VM_LEGACY_VA_LAYOUT $ac_have_decl 11852 _ACEOF 11853 ac_fn_c_check_decl "$LINENO" "VM_SWAP_TOKEN_TIMEOUT" "ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" "#include <sys/types.h> 11854 #include <linux/sysctl.h> 11855 " 11856 if test "x$ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" = xyes; then : 11857 ac_have_decl=1 11858 else 11859 ac_have_decl=0 11860 fi 11861 11862 cat >>confdefs.h <<_ACEOF 11863 #define HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT $ac_have_decl 11864 _ACEOF 11865 11866 11867 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_ANY" "ac_cv_have_decl_V4L2_FIELD_ANY" "#include <sys/time.h> 11868 #include <linux/ioctl.h> 11869 #include <linux/types.h> 11870 #include <linux/videodev2.h> 11871 " 11872 if test "x$ac_cv_have_decl_V4L2_FIELD_ANY" = xyes; then : 11873 ac_have_decl=1 11874 else 11875 ac_have_decl=0 11876 fi 11877 11878 cat >>confdefs.h <<_ACEOF 11879 #define HAVE_DECL_V4L2_FIELD_ANY $ac_have_decl 11880 _ACEOF 11881 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_NONE" "ac_cv_have_decl_V4L2_FIELD_NONE" "#include <sys/time.h> 11882 #include <linux/ioctl.h> 11883 #include <linux/types.h> 11884 #include <linux/videodev2.h> 11885 " 11886 if test "x$ac_cv_have_decl_V4L2_FIELD_NONE" = xyes; then : 11887 ac_have_decl=1 11888 else 11889 ac_have_decl=0 11890 fi 11891 11892 cat >>confdefs.h <<_ACEOF 11893 #define HAVE_DECL_V4L2_FIELD_NONE $ac_have_decl 11894 _ACEOF 11895 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_TOP" "ac_cv_have_decl_V4L2_FIELD_TOP" "#include <sys/time.h> 11896 #include <linux/ioctl.h> 11897 #include <linux/types.h> 11898 #include <linux/videodev2.h> 11899 " 11900 if test "x$ac_cv_have_decl_V4L2_FIELD_TOP" = xyes; then : 11901 ac_have_decl=1 11902 else 11903 ac_have_decl=0 11904 fi 11905 11906 cat >>confdefs.h <<_ACEOF 11907 #define HAVE_DECL_V4L2_FIELD_TOP $ac_have_decl 11908 _ACEOF 11909 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_BOTTOM" "ac_cv_have_decl_V4L2_FIELD_BOTTOM" "#include <sys/time.h> 11910 #include <linux/ioctl.h> 11911 #include <linux/types.h> 11912 #include <linux/videodev2.h> 11913 " 11914 if test "x$ac_cv_have_decl_V4L2_FIELD_BOTTOM" = xyes; then : 11915 ac_have_decl=1 11916 else 11917 ac_have_decl=0 11918 fi 11919 11920 cat >>confdefs.h <<_ACEOF 11921 #define HAVE_DECL_V4L2_FIELD_BOTTOM $ac_have_decl 11922 _ACEOF 11923 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED" "ac_cv_have_decl_V4L2_FIELD_INTERLACED" "#include <sys/time.h> 11924 #include <linux/ioctl.h> 11925 #include <linux/types.h> 11926 #include <linux/videodev2.h> 11927 " 11928 if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED" = xyes; then : 11929 ac_have_decl=1 11930 else 11931 ac_have_decl=0 11932 fi 11933 11934 cat >>confdefs.h <<_ACEOF 11935 #define HAVE_DECL_V4L2_FIELD_INTERLACED $ac_have_decl 11936 _ACEOF 11937 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_SEQ_TB" "ac_cv_have_decl_V4L2_FIELD_SEQ_TB" "#include <sys/time.h> 11938 #include <linux/ioctl.h> 11939 #include <linux/types.h> 11940 #include <linux/videodev2.h> 11941 " 11942 if test "x$ac_cv_have_decl_V4L2_FIELD_SEQ_TB" = xyes; then : 11943 ac_have_decl=1 11944 else 11945 ac_have_decl=0 11946 fi 11947 11948 cat >>confdefs.h <<_ACEOF 11949 #define HAVE_DECL_V4L2_FIELD_SEQ_TB $ac_have_decl 11950 _ACEOF 11951 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_SEQ_BT" "ac_cv_have_decl_V4L2_FIELD_SEQ_BT" "#include <sys/time.h> 11952 #include <linux/ioctl.h> 11953 #include <linux/types.h> 11954 #include <linux/videodev2.h> 11955 " 11956 if test "x$ac_cv_have_decl_V4L2_FIELD_SEQ_BT" = xyes; then : 11957 ac_have_decl=1 11958 else 11959 ac_have_decl=0 11960 fi 11961 11962 cat >>confdefs.h <<_ACEOF 11963 #define HAVE_DECL_V4L2_FIELD_SEQ_BT $ac_have_decl 11964 _ACEOF 11965 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_ALTERNATE" "ac_cv_have_decl_V4L2_FIELD_ALTERNATE" "#include <sys/time.h> 11966 #include <linux/ioctl.h> 11967 #include <linux/types.h> 11968 #include <linux/videodev2.h> 11969 " 11970 if test "x$ac_cv_have_decl_V4L2_FIELD_ALTERNATE" = xyes; then : 11971 ac_have_decl=1 11972 else 11973 ac_have_decl=0 11974 fi 11975 11976 cat >>confdefs.h <<_ACEOF 11977 #define HAVE_DECL_V4L2_FIELD_ALTERNATE $ac_have_decl 11978 _ACEOF 11979 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED_TB" "ac_cv_have_decl_V4L2_FIELD_INTERLACED_TB" "#include <sys/time.h> 11980 #include <linux/ioctl.h> 11981 #include <linux/types.h> 11982 #include <linux/videodev2.h> 11983 " 11984 if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED_TB" = xyes; then : 11985 ac_have_decl=1 11986 else 11987 ac_have_decl=0 11988 fi 11989 11990 cat >>confdefs.h <<_ACEOF 11991 #define HAVE_DECL_V4L2_FIELD_INTERLACED_TB $ac_have_decl 11992 _ACEOF 11993 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED_BT" "ac_cv_have_decl_V4L2_FIELD_INTERLACED_BT" "#include <sys/time.h> 11994 #include <linux/ioctl.h> 11995 #include <linux/types.h> 11996 #include <linux/videodev2.h> 11997 " 11998 if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED_BT" = xyes; then : 11999 ac_have_decl=1 12000 else 12001 ac_have_decl=0 12002 fi 12003 12004 cat >>confdefs.h <<_ACEOF 12005 #define HAVE_DECL_V4L2_FIELD_INTERLACED_BT $ac_have_decl 12006 _ACEOF 12007 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" "#include <sys/time.h> 12008 #include <linux/ioctl.h> 12009 #include <linux/types.h> 12010 #include <linux/videodev2.h> 12011 " 12012 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" = xyes; then : 12013 ac_have_decl=1 12014 else 12015 ac_have_decl=0 12016 fi 12017 12018 cat >>confdefs.h <<_ACEOF 12019 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE $ac_have_decl 12020 _ACEOF 12021 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> 12022 #include <linux/ioctl.h> 12023 #include <linux/types.h> 12024 #include <linux/videodev2.h> 12025 " 12026 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" = xyes; then : 12027 ac_have_decl=1 12028 else 12029 ac_have_decl=0 12030 fi 12031 12032 cat >>confdefs.h <<_ACEOF 12033 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE $ac_have_decl 12034 _ACEOF 12035 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" "#include <sys/time.h> 12036 #include <linux/ioctl.h> 12037 #include <linux/types.h> 12038 #include <linux/videodev2.h> 12039 " 12040 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" = xyes; then : 12041 ac_have_decl=1 12042 else 12043 ac_have_decl=0 12044 fi 12045 12046 cat >>confdefs.h <<_ACEOF 12047 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT $ac_have_decl 12048 _ACEOF 12049 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> 12050 #include <linux/ioctl.h> 12051 #include <linux/types.h> 12052 #include <linux/videodev2.h> 12053 " 12054 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" = xyes; then : 12055 ac_have_decl=1 12056 else 12057 ac_have_decl=0 12058 fi 12059 12060 cat >>confdefs.h <<_ACEOF 12061 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE $ac_have_decl 12062 _ACEOF 12063 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OVERLAY" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" "#include <sys/time.h> 12064 #include <linux/ioctl.h> 12065 #include <linux/types.h> 12066 #include <linux/videodev2.h> 12067 " 12068 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" = xyes; then : 12069 ac_have_decl=1 12070 else 12071 ac_have_decl=0 12072 fi 12073 12074 cat >>confdefs.h <<_ACEOF 12075 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OVERLAY $ac_have_decl 12076 _ACEOF 12077 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VBI_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" "#include <sys/time.h> 12078 #include <linux/ioctl.h> 12079 #include <linux/types.h> 12080 #include <linux/videodev2.h> 12081 " 12082 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" = xyes; then : 12083 ac_have_decl=1 12084 else 12085 ac_have_decl=0 12086 fi 12087 12088 cat >>confdefs.h <<_ACEOF 12089 #define HAVE_DECL_V4L2_BUF_TYPE_VBI_CAPTURE $ac_have_decl 12090 _ACEOF 12091 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VBI_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" "#include <sys/time.h> 12092 #include <linux/ioctl.h> 12093 #include <linux/types.h> 12094 #include <linux/videodev2.h> 12095 " 12096 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" = xyes; then : 12097 ac_have_decl=1 12098 else 12099 ac_have_decl=0 12100 fi 12101 12102 cat >>confdefs.h <<_ACEOF 12103 #define HAVE_DECL_V4L2_BUF_TYPE_VBI_OUTPUT $ac_have_decl 12104 _ACEOF 12105 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> 12106 #include <linux/ioctl.h> 12107 #include <linux/types.h> 12108 #include <linux/videodev2.h> 12109 " 12110 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" = xyes; then : 12111 ac_have_decl=1 12112 else 12113 ac_have_decl=0 12114 fi 12115 12116 cat >>confdefs.h <<_ACEOF 12117 #define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE $ac_have_decl 12118 _ACEOF 12119 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> 12120 #include <linux/ioctl.h> 12121 #include <linux/types.h> 12122 #include <linux/videodev2.h> 12123 " 12124 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" = xyes; then : 12125 ac_have_decl=1 12126 else 12127 ac_have_decl=0 12128 fi 12129 12130 cat >>confdefs.h <<_ACEOF 12131 #define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT $ac_have_decl 12132 _ACEOF 12133 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> 12134 #include <linux/ioctl.h> 12135 #include <linux/types.h> 12136 #include <linux/videodev2.h> 12137 " 12138 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" = xyes; then : 12139 ac_have_decl=1 12140 else 12141 ac_have_decl=0 12142 fi 12143 12144 cat >>confdefs.h <<_ACEOF 12145 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY $ac_have_decl 12146 _ACEOF 12147 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SDR_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_SDR_CAPTURE" "#include <sys/time.h> 12148 #include <linux/ioctl.h> 12149 #include <linux/types.h> 12150 #include <linux/videodev2.h> 12151 " 12152 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SDR_CAPTURE" = xyes; then : 12153 ac_have_decl=1 12154 else 12155 ac_have_decl=0 12156 fi 12157 12158 cat >>confdefs.h <<_ACEOF 12159 #define HAVE_DECL_V4L2_BUF_TYPE_SDR_CAPTURE $ac_have_decl 12160 _ACEOF 12161 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SDR_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_SDR_OUTPUT" "#include <sys/time.h> 12162 #include <linux/ioctl.h> 12163 #include <linux/types.h> 12164 #include <linux/videodev2.h> 12165 " 12166 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SDR_OUTPUT" = xyes; then : 12167 ac_have_decl=1 12168 else 12169 ac_have_decl=0 12170 fi 12171 12172 cat >>confdefs.h <<_ACEOF 12173 #define HAVE_DECL_V4L2_BUF_TYPE_SDR_OUTPUT $ac_have_decl 12174 _ACEOF 12175 ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_RADIO" "ac_cv_have_decl_V4L2_TUNER_RADIO" "#include <sys/time.h> 12176 #include <linux/ioctl.h> 12177 #include <linux/types.h> 12178 #include <linux/videodev2.h> 12179 " 12180 if test "x$ac_cv_have_decl_V4L2_TUNER_RADIO" = xyes; then : 12181 ac_have_decl=1 12182 else 12183 ac_have_decl=0 12184 fi 12185 12186 cat >>confdefs.h <<_ACEOF 12187 #define HAVE_DECL_V4L2_TUNER_RADIO $ac_have_decl 12188 _ACEOF 12189 ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_ANALOG_TV" "ac_cv_have_decl_V4L2_TUNER_ANALOG_TV" "#include <sys/time.h> 12190 #include <linux/ioctl.h> 12191 #include <linux/types.h> 12192 #include <linux/videodev2.h> 12193 " 12194 if test "x$ac_cv_have_decl_V4L2_TUNER_ANALOG_TV" = xyes; then : 12195 ac_have_decl=1 12196 else 12197 ac_have_decl=0 12198 fi 12199 12200 cat >>confdefs.h <<_ACEOF 12201 #define HAVE_DECL_V4L2_TUNER_ANALOG_TV $ac_have_decl 12202 _ACEOF 12203 ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_DIGITAL_TV" "ac_cv_have_decl_V4L2_TUNER_DIGITAL_TV" "#include <sys/time.h> 12204 #include <linux/ioctl.h> 12205 #include <linux/types.h> 12206 #include <linux/videodev2.h> 12207 " 12208 if test "x$ac_cv_have_decl_V4L2_TUNER_DIGITAL_TV" = xyes; then : 12209 ac_have_decl=1 12210 else 12211 ac_have_decl=0 12212 fi 12213 12214 cat >>confdefs.h <<_ACEOF 12215 #define HAVE_DECL_V4L2_TUNER_DIGITAL_TV $ac_have_decl 12216 _ACEOF 12217 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_MMAP" "ac_cv_have_decl_V4L2_MEMORY_MMAP" "#include <sys/time.h> 12218 #include <linux/ioctl.h> 12219 #include <linux/types.h> 12220 #include <linux/videodev2.h> 12221 " 12222 if test "x$ac_cv_have_decl_V4L2_MEMORY_MMAP" = xyes; then : 12223 ac_have_decl=1 12224 else 12225 ac_have_decl=0 12226 fi 12227 12228 cat >>confdefs.h <<_ACEOF 12229 #define HAVE_DECL_V4L2_MEMORY_MMAP $ac_have_decl 12230 _ACEOF 12231 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_USERPTR" "ac_cv_have_decl_V4L2_MEMORY_USERPTR" "#include <sys/time.h> 12232 #include <linux/ioctl.h> 12233 #include <linux/types.h> 12234 #include <linux/videodev2.h> 12235 " 12236 if test "x$ac_cv_have_decl_V4L2_MEMORY_USERPTR" = xyes; then : 12237 ac_have_decl=1 12238 else 12239 ac_have_decl=0 12240 fi 12241 12242 cat >>confdefs.h <<_ACEOF 12243 #define HAVE_DECL_V4L2_MEMORY_USERPTR $ac_have_decl 12244 _ACEOF 12245 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_OVERLAY" "ac_cv_have_decl_V4L2_MEMORY_OVERLAY" "#include <sys/time.h> 12246 #include <linux/ioctl.h> 12247 #include <linux/types.h> 12248 #include <linux/videodev2.h> 12249 " 12250 if test "x$ac_cv_have_decl_V4L2_MEMORY_OVERLAY" = xyes; then : 12251 ac_have_decl=1 12252 else 12253 ac_have_decl=0 12254 fi 12255 12256 cat >>confdefs.h <<_ACEOF 12257 #define HAVE_DECL_V4L2_MEMORY_OVERLAY $ac_have_decl 12258 _ACEOF 12259 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_DMABUF" "ac_cv_have_decl_V4L2_MEMORY_DMABUF" "#include <sys/time.h> 12260 #include <linux/ioctl.h> 12261 #include <linux/types.h> 12262 #include <linux/videodev2.h> 12263 " 12264 if test "x$ac_cv_have_decl_V4L2_MEMORY_DMABUF" = xyes; then : 12265 ac_have_decl=1 12266 else 12267 ac_have_decl=0 12268 fi 12269 12270 cat >>confdefs.h <<_ACEOF 12271 #define HAVE_DECL_V4L2_MEMORY_DMABUF $ac_have_decl 12272 _ACEOF 12273 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SMPTE170M" "ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" "#include <sys/time.h> 12274 #include <linux/ioctl.h> 12275 #include <linux/types.h> 12276 #include <linux/videodev2.h> 12277 " 12278 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" = xyes; then : 12279 ac_have_decl=1 12280 else 12281 ac_have_decl=0 12282 fi 12283 12284 cat >>confdefs.h <<_ACEOF 12285 #define HAVE_DECL_V4L2_COLORSPACE_SMPTE170M $ac_have_decl 12286 _ACEOF 12287 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SMPTE240M" "ac_cv_have_decl_V4L2_COLORSPACE_SMPTE240M" "#include <sys/time.h> 12288 #include <linux/ioctl.h> 12289 #include <linux/types.h> 12290 #include <linux/videodev2.h> 12291 " 12292 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE240M" = xyes; then : 12293 ac_have_decl=1 12294 else 12295 ac_have_decl=0 12296 fi 12297 12298 cat >>confdefs.h <<_ACEOF 12299 #define HAVE_DECL_V4L2_COLORSPACE_SMPTE240M $ac_have_decl 12300 _ACEOF 12301 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_REC709" "ac_cv_have_decl_V4L2_COLORSPACE_REC709" "#include <sys/time.h> 12302 #include <linux/ioctl.h> 12303 #include <linux/types.h> 12304 #include <linux/videodev2.h> 12305 " 12306 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_REC709" = xyes; then : 12307 ac_have_decl=1 12308 else 12309 ac_have_decl=0 12310 fi 12311 12312 cat >>confdefs.h <<_ACEOF 12313 #define HAVE_DECL_V4L2_COLORSPACE_REC709 $ac_have_decl 12314 _ACEOF 12315 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_BT878" "ac_cv_have_decl_V4L2_COLORSPACE_BT878" "#include <sys/time.h> 12316 #include <linux/ioctl.h> 12317 #include <linux/types.h> 12318 #include <linux/videodev2.h> 12319 " 12320 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_BT878" = xyes; then : 12321 ac_have_decl=1 12322 else 12323 ac_have_decl=0 12324 fi 12325 12326 cat >>confdefs.h <<_ACEOF 12327 #define HAVE_DECL_V4L2_COLORSPACE_BT878 $ac_have_decl 12328 _ACEOF 12329 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_470_SYSTEM_M" "ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_M" "#include <sys/time.h> 12330 #include <linux/ioctl.h> 12331 #include <linux/types.h> 12332 #include <linux/videodev2.h> 12333 " 12334 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_M" = xyes; then : 12335 ac_have_decl=1 12336 else 12337 ac_have_decl=0 12338 fi 12339 12340 cat >>confdefs.h <<_ACEOF 12341 #define HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_M $ac_have_decl 12342 _ACEOF 12343 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_470_SYSTEM_BG" "ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_BG" "#include <sys/time.h> 12344 #include <linux/ioctl.h> 12345 #include <linux/types.h> 12346 #include <linux/videodev2.h> 12347 " 12348 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_BG" = 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_V4L2_COLORSPACE_470_SYSTEM_BG $ac_have_decl 12356 _ACEOF 12357 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_JPEG" "ac_cv_have_decl_V4L2_COLORSPACE_JPEG" "#include <sys/time.h> 12358 #include <linux/ioctl.h> 12359 #include <linux/types.h> 12360 #include <linux/videodev2.h> 12361 " 12362 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_JPEG" = xyes; then : 12363 ac_have_decl=1 12364 else 12365 ac_have_decl=0 12366 fi 12367 12368 cat >>confdefs.h <<_ACEOF 12369 #define HAVE_DECL_V4L2_COLORSPACE_JPEG $ac_have_decl 12370 _ACEOF 12371 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SRGB" "ac_cv_have_decl_V4L2_COLORSPACE_SRGB" "#include <sys/time.h> 12372 #include <linux/ioctl.h> 12373 #include <linux/types.h> 12374 #include <linux/videodev2.h> 12375 " 12376 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SRGB" = xyes; then : 12377 ac_have_decl=1 12378 else 12379 ac_have_decl=0 12380 fi 12381 12382 cat >>confdefs.h <<_ACEOF 12383 #define HAVE_DECL_V4L2_COLORSPACE_SRGB $ac_have_decl 12384 _ACEOF 12385 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_UNSET" "ac_cv_have_decl_V4L2_PRIORITY_UNSET" "#include <sys/time.h> 12386 #include <linux/ioctl.h> 12387 #include <linux/types.h> 12388 #include <linux/videodev2.h> 12389 " 12390 if test "x$ac_cv_have_decl_V4L2_PRIORITY_UNSET" = xyes; then : 12391 ac_have_decl=1 12392 else 12393 ac_have_decl=0 12394 fi 12395 12396 cat >>confdefs.h <<_ACEOF 12397 #define HAVE_DECL_V4L2_PRIORITY_UNSET $ac_have_decl 12398 _ACEOF 12399 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_BACKGROUND" "ac_cv_have_decl_V4L2_PRIORITY_BACKGROUND" "#include <sys/time.h> 12400 #include <linux/ioctl.h> 12401 #include <linux/types.h> 12402 #include <linux/videodev2.h> 12403 " 12404 if test "x$ac_cv_have_decl_V4L2_PRIORITY_BACKGROUND" = xyes; then : 12405 ac_have_decl=1 12406 else 12407 ac_have_decl=0 12408 fi 12409 12410 cat >>confdefs.h <<_ACEOF 12411 #define HAVE_DECL_V4L2_PRIORITY_BACKGROUND $ac_have_decl 12412 _ACEOF 12413 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_INTERACTIVE" "ac_cv_have_decl_V4L2_PRIORITY_INTERACTIVE" "#include <sys/time.h> 12414 #include <linux/ioctl.h> 12415 #include <linux/types.h> 12416 #include <linux/videodev2.h> 12417 " 12418 if test "x$ac_cv_have_decl_V4L2_PRIORITY_INTERACTIVE" = xyes; then : 12419 ac_have_decl=1 12420 else 12421 ac_have_decl=0 12422 fi 12423 12424 cat >>confdefs.h <<_ACEOF 12425 #define HAVE_DECL_V4L2_PRIORITY_INTERACTIVE $ac_have_decl 12426 _ACEOF 12427 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_RECORD" "ac_cv_have_decl_V4L2_PRIORITY_RECORD" "#include <sys/time.h> 12428 #include <linux/ioctl.h> 12429 #include <linux/types.h> 12430 #include <linux/videodev2.h> 12431 " 12432 if test "x$ac_cv_have_decl_V4L2_PRIORITY_RECORD" = xyes; then : 12433 ac_have_decl=1 12434 else 12435 ac_have_decl=0 12436 fi 12437 12438 cat >>confdefs.h <<_ACEOF 12439 #define HAVE_DECL_V4L2_PRIORITY_RECORD $ac_have_decl 12440 _ACEOF 12441 ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_DISCRETE" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_DISCRETE" "#include <sys/time.h> 12442 #include <linux/ioctl.h> 12443 #include <linux/types.h> 12444 #include <linux/videodev2.h> 12445 " 12446 if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_DISCRETE" = xyes; then : 12447 ac_have_decl=1 12448 else 12449 ac_have_decl=0 12450 fi 12451 12452 cat >>confdefs.h <<_ACEOF 12453 #define HAVE_DECL_V4L2_FRMSIZE_TYPE_DISCRETE $ac_have_decl 12454 _ACEOF 12455 ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_CONTINUOUS" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_CONTINUOUS" "#include <sys/time.h> 12456 #include <linux/ioctl.h> 12457 #include <linux/types.h> 12458 #include <linux/videodev2.h> 12459 " 12460 if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_CONTINUOUS" = xyes; then : 12461 ac_have_decl=1 12462 else 12463 ac_have_decl=0 12464 fi 12465 12466 cat >>confdefs.h <<_ACEOF 12467 #define HAVE_DECL_V4L2_FRMSIZE_TYPE_CONTINUOUS $ac_have_decl 12468 _ACEOF 12469 ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_STEPWISE" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_STEPWISE" "#include <sys/time.h> 12470 #include <linux/ioctl.h> 12471 #include <linux/types.h> 12472 #include <linux/videodev2.h> 12473 " 12474 if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_STEPWISE" = xyes; then : 12475 ac_have_decl=1 12476 else 12477 ac_have_decl=0 12478 fi 12479 12480 cat >>confdefs.h <<_ACEOF 12481 #define HAVE_DECL_V4L2_FRMSIZE_TYPE_STEPWISE $ac_have_decl 12482 _ACEOF 12483 ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_DISCRETE" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_DISCRETE" "#include <sys/time.h> 12484 #include <linux/ioctl.h> 12485 #include <linux/types.h> 12486 #include <linux/videodev2.h> 12487 " 12488 if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_DISCRETE" = xyes; then : 12489 ac_have_decl=1 12490 else 12491 ac_have_decl=0 12492 fi 12493 12494 cat >>confdefs.h <<_ACEOF 12495 #define HAVE_DECL_V4L2_FRMIVAL_TYPE_DISCRETE $ac_have_decl 12496 _ACEOF 12497 ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_CONTINUOUS" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_CONTINUOUS" "#include <sys/time.h> 12498 #include <linux/ioctl.h> 12499 #include <linux/types.h> 12500 #include <linux/videodev2.h> 12501 " 12502 if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_CONTINUOUS" = xyes; then : 12503 ac_have_decl=1 12504 else 12505 ac_have_decl=0 12506 fi 12507 12508 cat >>confdefs.h <<_ACEOF 12509 #define HAVE_DECL_V4L2_FRMIVAL_TYPE_CONTINUOUS $ac_have_decl 12510 _ACEOF 12511 ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_STEPWISE" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_STEPWISE" "#include <sys/time.h> 12512 #include <linux/ioctl.h> 12513 #include <linux/types.h> 12514 #include <linux/videodev2.h> 12515 " 12516 if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_STEPWISE" = xyes; then : 12517 ac_have_decl=1 12518 else 12519 ac_have_decl=0 12520 fi 12521 12522 cat >>confdefs.h <<_ACEOF 12523 #define HAVE_DECL_V4L2_FRMIVAL_TYPE_STEPWISE $ac_have_decl 12524 _ACEOF 12525 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER" "#include <sys/time.h> 12526 #include <linux/ioctl.h> 12527 #include <linux/types.h> 12528 #include <linux/videodev2.h> 12529 " 12530 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER" = xyes; then : 12531 ac_have_decl=1 12532 else 12533 ac_have_decl=0 12534 fi 12535 12536 cat >>confdefs.h <<_ACEOF 12537 #define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER $ac_have_decl 12538 _ACEOF 12539 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BOOLEAN" "ac_cv_have_decl_V4L2_CTRL_TYPE_BOOLEAN" "#include <sys/time.h> 12540 #include <linux/ioctl.h> 12541 #include <linux/types.h> 12542 #include <linux/videodev2.h> 12543 " 12544 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BOOLEAN" = xyes; then : 12545 ac_have_decl=1 12546 else 12547 ac_have_decl=0 12548 fi 12549 12550 cat >>confdefs.h <<_ACEOF 12551 #define HAVE_DECL_V4L2_CTRL_TYPE_BOOLEAN $ac_have_decl 12552 _ACEOF 12553 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_MENU" "ac_cv_have_decl_V4L2_CTRL_TYPE_MENU" "#include <sys/time.h> 12554 #include <linux/ioctl.h> 12555 #include <linux/types.h> 12556 #include <linux/videodev2.h> 12557 " 12558 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_MENU" = xyes; then : 12559 ac_have_decl=1 12560 else 12561 ac_have_decl=0 12562 fi 12563 12564 cat >>confdefs.h <<_ACEOF 12565 #define HAVE_DECL_V4L2_CTRL_TYPE_MENU $ac_have_decl 12566 _ACEOF 12567 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BUTTON" "ac_cv_have_decl_V4L2_CTRL_TYPE_BUTTON" "#include <sys/time.h> 12568 #include <linux/ioctl.h> 12569 #include <linux/types.h> 12570 #include <linux/videodev2.h> 12571 " 12572 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BUTTON" = xyes; then : 12573 ac_have_decl=1 12574 else 12575 ac_have_decl=0 12576 fi 12577 12578 cat >>confdefs.h <<_ACEOF 12579 #define HAVE_DECL_V4L2_CTRL_TYPE_BUTTON $ac_have_decl 12580 _ACEOF 12581 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER64" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER64" "#include <sys/time.h> 12582 #include <linux/ioctl.h> 12583 #include <linux/types.h> 12584 #include <linux/videodev2.h> 12585 " 12586 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER64" = xyes; then : 12587 ac_have_decl=1 12588 else 12589 ac_have_decl=0 12590 fi 12591 12592 cat >>confdefs.h <<_ACEOF 12593 #define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER64 $ac_have_decl 12594 _ACEOF 12595 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_CTRL_CLASS" "ac_cv_have_decl_V4L2_CTRL_TYPE_CTRL_CLASS" "#include <sys/time.h> 12596 #include <linux/ioctl.h> 12597 #include <linux/types.h> 12598 #include <linux/videodev2.h> 12599 " 12600 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_CTRL_CLASS" = xyes; then : 12601 ac_have_decl=1 12602 else 12603 ac_have_decl=0 12604 fi 12605 12606 cat >>confdefs.h <<_ACEOF 12607 #define HAVE_DECL_V4L2_CTRL_TYPE_CTRL_CLASS $ac_have_decl 12608 _ACEOF 12609 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_STRING" "ac_cv_have_decl_V4L2_CTRL_TYPE_STRING" "#include <sys/time.h> 12610 #include <linux/ioctl.h> 12611 #include <linux/types.h> 12612 #include <linux/videodev2.h> 12613 " 12614 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_STRING" = xyes; then : 12615 ac_have_decl=1 12616 else 12617 ac_have_decl=0 12618 fi 12619 12620 cat >>confdefs.h <<_ACEOF 12621 #define HAVE_DECL_V4L2_CTRL_TYPE_STRING $ac_have_decl 12622 _ACEOF 12623 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BITMASK" "ac_cv_have_decl_V4L2_CTRL_TYPE_BITMASK" "#include <sys/time.h> 12624 #include <linux/ioctl.h> 12625 #include <linux/types.h> 12626 #include <linux/videodev2.h> 12627 " 12628 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BITMASK" = xyes; then : 12629 ac_have_decl=1 12630 else 12631 ac_have_decl=0 12632 fi 12633 12634 cat >>confdefs.h <<_ACEOF 12635 #define HAVE_DECL_V4L2_CTRL_TYPE_BITMASK $ac_have_decl 12636 _ACEOF 12637 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER_MENU" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER_MENU" "#include <sys/time.h> 12638 #include <linux/ioctl.h> 12639 #include <linux/types.h> 12640 #include <linux/videodev2.h> 12641 " 12642 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER_MENU" = xyes; then : 12643 ac_have_decl=1 12644 else 12645 ac_have_decl=0 12646 fi 12647 12648 cat >>confdefs.h <<_ACEOF 12649 #define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER_MENU $ac_have_decl 12650 _ACEOF 12651 12652 12653 ac_fn_c_check_member "$LINENO" "struct v4l2_window" "global_alpha" "ac_cv_member_struct_v4l2_window_global_alpha" "#include <sys/time.h> 12654 #include <linux/ioctl.h> 12655 #include <linux/types.h> 12656 #include <linux/videodev2.h> 12657 " 12658 if test "x$ac_cv_member_struct_v4l2_window_global_alpha" = xyes; then : 12659 12660 cat >>confdefs.h <<_ACEOF 12661 #define HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA 1 12662 _ACEOF 12663 12664 12665 fi 12666 ac_fn_c_check_member "$LINENO" "struct v4l2_sdr_format" "buffersize" "ac_cv_member_struct_v4l2_sdr_format_buffersize" "#include <sys/time.h> 12667 #include <linux/ioctl.h> 12668 #include <linux/types.h> 12669 #include <linux/videodev2.h> 12670 " 12671 if test "x$ac_cv_member_struct_v4l2_sdr_format_buffersize" = xyes; then : 12672 12673 cat >>confdefs.h <<_ACEOF 12674 #define HAVE_STRUCT_V4L2_SDR_FORMAT_BUFFERSIZE 1 12675 _ACEOF 12676 12677 12678 fi 12679 12680 12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLKGETSIZE64" >&5 12682 $as_echo_n "checking for BLKGETSIZE64... " >&6; } 12683 if ${ac_cv_have_blkgetsize64+:} false; then : 12684 $as_echo_n "(cached) " >&6 12685 else 12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12687 /* end confdefs.h. */ 12688 12689 #include <stdlib.h> 12690 #include <linux/fs.h> 12691 int 12692 main () 12693 { 12694 return !BLKGETSIZE64; 12695 ; 12696 return 0; 12697 } 12698 _ACEOF 12699 if ac_fn_c_try_compile "$LINENO"; then : 12700 ac_cv_have_blkgetsize64=yes 12701 else 12702 ac_cv_have_blkgetsize64=no 12703 fi 12704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12705 if test $ac_cv_have_blkgetsize64 = yes; then 12706 12707 $as_echo "#define HAVE_BLKGETSIZE64 1" >>confdefs.h 12708 12709 fi 12710 fi 12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_blkgetsize64" >&5 12712 $as_echo "$ac_cv_have_blkgetsize64" >&6; } 12713 12714 # The cast to long int works around a bug in the HP C Compiler 12715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12716 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12717 # This bug is HP SR number 8606223364. 12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 12719 $as_echo_n "checking size of long... " >&6; } 12720 if ${ac_cv_sizeof_long+:} false; then : 12721 $as_echo_n "(cached) " >&6 12722 else 12723 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 12724 12725 else 12726 if test "$ac_cv_type_long" = yes; then 12727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12729 as_fn_error 77 "cannot compute sizeof (long) 12730 See \`config.log' for more details" "$LINENO" 5; } 12731 else 12732 ac_cv_sizeof_long=0 12733 fi 12734 fi 12735 12736 fi 12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 12738 $as_echo "$ac_cv_sizeof_long" >&6; } 12739 12740 12741 12742 cat >>confdefs.h <<_ACEOF 12743 #define SIZEOF_LONG $ac_cv_sizeof_long 12744 _ACEOF 12745 12746 12747 SIZEOF_LONG="$ac_cv_sizeof_long" 12748 12749 # The cast to long int works around a bug in the HP C Compiler 12750 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12751 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12752 # This bug is HP SR number 8606223364. 12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 12754 $as_echo_n "checking size of long long... " >&6; } 12755 if ${ac_cv_sizeof_long_long+:} false; then : 12756 $as_echo_n "(cached) " >&6 12757 else 12758 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 12759 12760 else 12761 if test "$ac_cv_type_long_long" = yes; then 12762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12764 as_fn_error 77 "cannot compute sizeof (long long) 12765 See \`config.log' for more details" "$LINENO" 5; } 12766 else 12767 ac_cv_sizeof_long_long=0 12768 fi 12769 fi 12770 12771 fi 12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 12773 $as_echo "$ac_cv_sizeof_long_long" >&6; } 12774 12775 12776 12777 cat >>confdefs.h <<_ACEOF 12778 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long 12779 _ACEOF 12780 12781 12782 # The cast to long int works around a bug in the HP C Compiler 12783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12785 # This bug is HP SR number 8606223364. 12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 12787 $as_echo_n "checking size of off_t... " >&6; } 12788 if ${ac_cv_sizeof_off_t+:} false; then : 12789 $as_echo_n "(cached) " >&6 12790 else 12791 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "#include <sys/types.h> 12792 "; then : 12793 12794 else 12795 if test "$ac_cv_type_off_t" = yes; then 12796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12798 as_fn_error 77 "cannot compute sizeof (off_t) 12799 See \`config.log' for more details" "$LINENO" 5; } 12800 else 12801 ac_cv_sizeof_off_t=0 12802 fi 12803 fi 12804 12805 fi 12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 12807 $as_echo "$ac_cv_sizeof_off_t" >&6; } 12808 12809 12810 12811 cat >>confdefs.h <<_ACEOF 12812 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t 12813 _ACEOF 12814 12815 12816 # The cast to long int works around a bug in the HP C Compiler 12817 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12818 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12819 # This bug is HP SR number 8606223364. 12820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of kernel_long_t" >&5 12821 $as_echo_n "checking size of kernel_long_t... " >&6; } 12822 if ${ac_cv_sizeof_kernel_long_t+:} false; then : 12823 $as_echo_n "(cached) " >&6 12824 else 12825 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (kernel_long_t))" "ac_cv_sizeof_kernel_long_t" "#include \"$srcdir/kernel_types.h\" 12826 "; then : 12827 12828 else 12829 if test "$ac_cv_type_kernel_long_t" = yes; then 12830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12832 as_fn_error 77 "cannot compute sizeof (kernel_long_t) 12833 See \`config.log' for more details" "$LINENO" 5; } 12834 else 12835 ac_cv_sizeof_kernel_long_t=0 12836 fi 12837 fi 12838 12839 fi 12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_kernel_long_t" >&5 12841 $as_echo "$ac_cv_sizeof_kernel_long_t" >&6; } 12842 12843 12844 12845 cat >>confdefs.h <<_ACEOF 12846 #define SIZEOF_KERNEL_LONG_T $ac_cv_sizeof_kernel_long_t 12847 _ACEOF 12848 12849 12850 SIZEOF_KERNEL_LONG_T="$ac_cv_sizeof_kernel_long_t" 12851 12852 # The cast to long int works around a bug in the HP C Compiler 12853 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12854 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12855 # This bug is HP SR number 8606223364. 12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct i64_i32" >&5 12857 $as_echo_n "checking size of struct i64_i32... " >&6; } 12858 if ${ac_cv_sizeof_struct_i64_i32+:} false; then : 12859 $as_echo_n "(cached) " >&6 12860 else 12861 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;}; 12862 "; then : 12863 12864 else 12865 if test "$ac_cv_type_struct_i64_i32" = yes; then 12866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12868 as_fn_error 77 "cannot compute sizeof (struct i64_i32) 12869 See \`config.log' for more details" "$LINENO" 5; } 12870 else 12871 ac_cv_sizeof_struct_i64_i32=0 12872 fi 12873 fi 12874 12875 fi 12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_i64_i32" >&5 12877 $as_echo "$ac_cv_sizeof_struct_i64_i32" >&6; } 12878 12879 12880 12881 cat >>confdefs.h <<_ACEOF 12882 #define SIZEOF_STRUCT_I64_I32 $ac_cv_sizeof_struct_i64_i32 12883 _ACEOF 12884 12885 12886 12887 12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGRTMIN" >&5 12889 $as_echo_n "checking for SIGRTMIN... " >&6; } 12890 if ${st_cv_SIGRTMIN+:} false; then : 12891 $as_echo_n "(cached) " >&6 12892 else 12893 st_cv_SIGRTMIN="$(echo SIGRTMIN | 12894 $CPP $CPPFLAGS -P -imacros asm/signal.h - | 12895 grep '^[0-9]')" 12896 test -n "$st_cv_SIGRTMIN" || st_cv_SIGRTMIN=no 12897 fi 12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_SIGRTMIN" >&5 12899 $as_echo "$st_cv_SIGRTMIN" >&6; } 12900 if test "x$st_cv_SIGRTMIN" != xno; then 12901 12902 cat >>confdefs.h <<_ACEOF 12903 #define ASM_SIGRTMIN $st_cv_SIGRTMIN 12904 _ACEOF 12905 12906 fi 12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SA_RESTORER" >&5 12908 $as_echo_n "checking for SA_RESTORER... " >&6; } 12909 if ${st_cv_SA_RESTORER+:} false; then : 12910 $as_echo_n "(cached) " >&6 12911 else 12912 st_cv_SA_RESTORER="$(echo SA_RESTORER | 12913 $CPP $CPPFLAGS -P -imacros asm/signal.h - | 12914 grep ^0x)" 12915 test -n "$st_cv_SA_RESTORER" || st_cv_SA_RESTORER=no 12916 fi 12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_SA_RESTORER" >&5 12918 $as_echo "$st_cv_SA_RESTORER" >&6; } 12919 if test "x$st_cv_SA_RESTORER" != xno; then 12920 12921 cat >>confdefs.h <<_ACEOF 12922 #define ASM_SA_RESTORER $st_cv_SA_RESTORER 12923 _ACEOF 12924 12925 fi 12926 12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5 12928 $as_echo_n "checking for __builtin_popcount... " >&6; } 12929 if ${st_cv_have___builtin_popcount+:} false; then : 12930 $as_echo_n "(cached) " >&6 12931 else 12932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12933 /* end confdefs.h. */ 12934 12935 int 12936 main () 12937 { 12938 __builtin_popcount(0) 12939 ; 12940 return 0; 12941 } 12942 _ACEOF 12943 if ac_fn_c_try_link "$LINENO"; then : 12944 st_cv_have___builtin_popcount=yes 12945 else 12946 st_cv_have___builtin_popcount=no 12947 fi 12948 rm -f core conftest.err conftest.$ac_objext \ 12949 conftest$ac_exeext conftest.$ac_ext 12950 fi 12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have___builtin_popcount" >&5 12952 $as_echo "$st_cv_have___builtin_popcount" >&6; } 12953 if test "x$st_cv_have___builtin_popcount" = xyes; then 12954 12955 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h 12956 12957 fi 12958 12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for program_invocation_name" >&5 12960 $as_echo_n "checking for program_invocation_name... " >&6; } 12961 if ${st_cv_have_program_invocation_name+:} false; then : 12962 $as_echo_n "(cached) " >&6 12963 else 12964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12965 /* end confdefs.h. */ 12966 #include <errno.h> 12967 int 12968 main () 12969 { 12970 return !*program_invocation_name 12971 ; 12972 return 0; 12973 } 12974 _ACEOF 12975 if ac_fn_c_try_link "$LINENO"; then : 12976 st_cv_have_program_invocation_name=yes 12977 else 12978 st_cv_have_program_invocation_name=no 12979 fi 12980 rm -f core conftest.err conftest.$ac_objext \ 12981 conftest$ac_exeext conftest.$ac_ext 12982 fi 12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have_program_invocation_name" >&5 12984 $as_echo "$st_cv_have_program_invocation_name" >&6; } 12985 if test "x$st_cv_have_program_invocation_name" = xyes; then 12986 12987 $as_echo "#define HAVE_PROGRAM_INVOCATION_NAME 1" >>confdefs.h 12988 12989 fi 12990 12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5 12992 $as_echo_n "checking for dladdr in -ldl... " >&6; } 12993 if ${ac_cv_lib_dl_dladdr+:} false; then : 12994 $as_echo_n "(cached) " >&6 12995 else 12996 ac_check_lib_save_LIBS=$LIBS 12997 LIBS="-ldl $LIBS" 12998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12999 /* end confdefs.h. */ 13000 13001 /* Override any GCC internal prototype to avoid an error. 13002 Use char because int might match the return type of a GCC 13003 builtin and then its argument prototype would still apply. */ 13004 #ifdef __cplusplus 13005 extern "C" 13006 #endif 13007 char dladdr (); 13008 int 13009 main () 13010 { 13011 return dladdr (); 13012 ; 13013 return 0; 13014 } 13015 _ACEOF 13016 if ac_fn_c_try_link "$LINENO"; then : 13017 ac_cv_lib_dl_dladdr=yes 13018 else 13019 ac_cv_lib_dl_dladdr=no 13020 fi 13021 rm -f core conftest.err conftest.$ac_objext \ 13022 conftest$ac_exeext conftest.$ac_ext 13023 LIBS=$ac_check_lib_save_LIBS 13024 fi 13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5 13026 $as_echo "$ac_cv_lib_dl_dladdr" >&6; } 13027 if test "x$ac_cv_lib_dl_dladdr" = xyes; then : 13028 dl_LIBS='-ldl' 13029 else 13030 dl_LIBS= 13031 fi 13032 13033 if test "x$ac_cv_lib_dl_dladdr" = xyes; then 13034 13035 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h 13036 13037 fi 13038 13039 13040 # Extract the first word of "perl", so it can be a program name with args. 13041 set dummy perl; ac_word=$2 13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13043 $as_echo_n "checking for $ac_word... " >&6; } 13044 if ${ac_cv_path_PERL+:} false; then : 13045 $as_echo_n "(cached) " >&6 13046 else 13047 case $PERL in 13048 [\\/]* | ?:[\\/]*) 13049 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 13050 ;; 13051 *) 13052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13053 for as_dir in $PATH 13054 do 13055 IFS=$as_save_IFS 13056 test -z "$as_dir" && as_dir=. 13057 for ac_exec_ext in '' $ac_executable_extensions; do 13058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13059 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 13060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13061 break 2 13062 fi 13063 done 13064 done 13065 IFS=$as_save_IFS 13066 13067 ;; 13068 esac 13069 fi 13070 PERL=$ac_cv_path_PERL 13071 if test -n "$PERL"; then 13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 13073 $as_echo "$PERL" >&6; } 13074 else 13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13076 $as_echo "no" >&6; } 13077 fi 13078 13079 13080 13081 if test -n "$ac_tool_prefix"; then 13082 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args. 13083 set dummy ${ac_tool_prefix}readelf; ac_word=$2 13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13085 $as_echo_n "checking for $ac_word... " >&6; } 13086 if ${ac_cv_prog_READELF+:} false; then : 13087 $as_echo_n "(cached) " >&6 13088 else 13089 if test -n "$READELF"; then 13090 ac_cv_prog_READELF="$READELF" # Let the user override the test. 13091 else 13092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13093 for as_dir in $PATH 13094 do 13095 IFS=$as_save_IFS 13096 test -z "$as_dir" && as_dir=. 13097 for ac_exec_ext in '' $ac_executable_extensions; do 13098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13099 ac_cv_prog_READELF="${ac_tool_prefix}readelf" 13100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13101 break 2 13102 fi 13103 done 13104 done 13105 IFS=$as_save_IFS 13106 13107 fi 13108 fi 13109 READELF=$ac_cv_prog_READELF 13110 if test -n "$READELF"; then 13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5 13112 $as_echo "$READELF" >&6; } 13113 else 13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13115 $as_echo "no" >&6; } 13116 fi 13117 13118 13119 fi 13120 if test -z "$ac_cv_prog_READELF"; then 13121 ac_ct_READELF=$READELF 13122 # Extract the first word of "readelf", so it can be a program name with args. 13123 set dummy readelf; ac_word=$2 13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13125 $as_echo_n "checking for $ac_word... " >&6; } 13126 if ${ac_cv_prog_ac_ct_READELF+:} false; then : 13127 $as_echo_n "(cached) " >&6 13128 else 13129 if test -n "$ac_ct_READELF"; then 13130 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test. 13131 else 13132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13133 for as_dir in $PATH 13134 do 13135 IFS=$as_save_IFS 13136 test -z "$as_dir" && as_dir=. 13137 for ac_exec_ext in '' $ac_executable_extensions; do 13138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13139 ac_cv_prog_ac_ct_READELF="readelf" 13140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13141 break 2 13142 fi 13143 done 13144 done 13145 IFS=$as_save_IFS 13146 13147 fi 13148 fi 13149 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF 13150 if test -n "$ac_ct_READELF"; then 13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5 13152 $as_echo "$ac_ct_READELF" >&6; } 13153 else 13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13155 $as_echo "no" >&6; } 13156 fi 13157 13158 if test "x$ac_ct_READELF" = x; then 13159 READELF="" 13160 else 13161 case $cross_compiling:$ac_tool_warned in 13162 yes:) 13163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13165 ac_tool_warned=yes ;; 13166 esac 13167 READELF=$ac_ct_READELF 13168 fi 13169 else 13170 READELF="$ac_cv_prog_READELF" 13171 fi 13172 13173 13174 libunwind_CPPFLAGS= 13175 libunwind_LDFLAGS= 13176 libunwind_LIBS= 13177 13178 # Check whether --with-libunwind was given. 13179 if test "${with_libunwind+set}" = set; then : 13180 withval=$with_libunwind; case "${withval}" in 13181 yes|no|check) ;; 13182 *) with_libunwind=yes 13183 libunwind_CPPFLAGS="-I${withval}/include" 13184 libunwind_LDFLAGS="-L${withval}/lib" ;; 13185 esac 13186 else 13187 with_libunwind=check 13188 13189 fi 13190 13191 13192 use_libunwind=no 13193 if test "x$with_libunwind" != xno; then : 13194 saved_CPPFLAGS="$CPPFLAGS" 13195 CPPFLAGS="$CPPFLAGS $libunwind_CPPFLAGS" 13196 13197 for ac_header in libunwind-ptrace.h 13198 do : 13199 ac_fn_c_check_header_mongrel "$LINENO" "libunwind-ptrace.h" "ac_cv_header_libunwind_ptrace_h" "$ac_includes_default" 13200 if test "x$ac_cv_header_libunwind_ptrace_h" = xyes; then : 13201 cat >>confdefs.h <<_ACEOF 13202 #define HAVE_LIBUNWIND_PTRACE_H 1 13203 _ACEOF 13204 saved_LDFLAGS="$LDFLAGS" 13205 LDFLAGS="$LDFLAGS $libunwind_LDFLAGS" 13206 13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lunwind" >&5 13208 $as_echo_n "checking for backtrace in -lunwind... " >&6; } 13209 if ${ac_cv_lib_unwind_backtrace+:} false; then : 13210 $as_echo_n "(cached) " >&6 13211 else 13212 ac_check_lib_save_LIBS=$LIBS 13213 LIBS="-lunwind $libunwind_LIBS 13214 $LIBS" 13215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13216 /* end confdefs.h. */ 13217 13218 /* Override any GCC internal prototype to avoid an error. 13219 Use char because int might match the return type of a GCC 13220 builtin and then its argument prototype would still apply. */ 13221 #ifdef __cplusplus 13222 extern "C" 13223 #endif 13224 char backtrace (); 13225 int 13226 main () 13227 { 13228 return backtrace (); 13229 ; 13230 return 0; 13231 } 13232 _ACEOF 13233 if ac_fn_c_try_link "$LINENO"; then : 13234 ac_cv_lib_unwind_backtrace=yes 13235 else 13236 ac_cv_lib_unwind_backtrace=no 13237 fi 13238 rm -f core conftest.err conftest.$ac_objext \ 13239 conftest$ac_exeext conftest.$ac_ext 13240 LIBS=$ac_check_lib_save_LIBS 13241 fi 13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_backtrace" >&5 13243 $as_echo "$ac_cv_lib_unwind_backtrace" >&6; } 13244 if test "x$ac_cv_lib_unwind_backtrace" = xyes; then : 13245 libunwind_LIBS="-lunwind $libunwind_LIBS" 13246 13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_create_addr_space in libunwind-generic" >&5 13248 $as_echo_n "checking for unw_create_addr_space in libunwind-generic... " >&6; } 13249 saved_LIBS="$LIBS" 13250 LIBS="-lunwind-generic $libunwind_LIBS $LIBS" 13251 13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13253 /* end confdefs.h. */ 13254 #include <libunwind-ptrace.h> 13255 int 13256 main () 13257 { 13258 return !unw_create_addr_space(0, 0) 13259 ; 13260 return 0; 13261 } 13262 13263 _ACEOF 13264 if ac_fn_c_try_link "$LINENO"; then : 13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13266 $as_echo "yes" >&6; } 13267 libunwind_LIBS="-lunwind-generic $libunwind_LIBS" 13268 13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _UPT_create in -lunwind-ptrace" >&5 13270 $as_echo_n "checking for _UPT_create in -lunwind-ptrace... " >&6; } 13271 if ${ac_cv_lib_unwind_ptrace__UPT_create+:} false; then : 13272 $as_echo_n "(cached) " >&6 13273 else 13274 ac_check_lib_save_LIBS=$LIBS 13275 LIBS="-lunwind-ptrace $libunwind_LIBS 13276 $LIBS" 13277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13278 /* end confdefs.h. */ 13279 13280 /* Override any GCC internal prototype to avoid an error. 13281 Use char because int might match the return type of a GCC 13282 builtin and then its argument prototype would still apply. */ 13283 #ifdef __cplusplus 13284 extern "C" 13285 #endif 13286 char _UPT_create (); 13287 int 13288 main () 13289 { 13290 return _UPT_create (); 13291 ; 13292 return 0; 13293 } 13294 _ACEOF 13295 if ac_fn_c_try_link "$LINENO"; then : 13296 ac_cv_lib_unwind_ptrace__UPT_create=yes 13297 else 13298 ac_cv_lib_unwind_ptrace__UPT_create=no 13299 fi 13300 rm -f core conftest.err conftest.$ac_objext \ 13301 conftest$ac_exeext conftest.$ac_ext 13302 LIBS=$ac_check_lib_save_LIBS 13303 fi 13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_ptrace__UPT_create" >&5 13305 $as_echo "$ac_cv_lib_unwind_ptrace__UPT_create" >&6; } 13306 if test "x$ac_cv_lib_unwind_ptrace__UPT_create" = xyes; then : 13307 libunwind_LIBS="-lunwind-ptrace $libunwind_LIBS" 13308 use_libunwind=yes 13309 13310 else 13311 if test "x$with_libunwind" != xcheck; then 13312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13314 as_fn_error $? "failed to find _UPT_create in libunwind-ptrace 13315 See \`config.log' for more details" "$LINENO" 5; } 13316 fi 13317 13318 fi 13319 13320 13321 else 13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13323 $as_echo "no" >&6; } 13324 if test "x$with_libunwind" != xcheck; then 13325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13327 as_fn_error $? "failed to find unw_create_addr_space in libunwind-generic 13328 See \`config.log' for more details" "$LINENO" 5; } 13329 fi 13330 13331 13332 fi 13333 rm -f core conftest.err conftest.$ac_objext \ 13334 conftest$ac_exeext conftest.$ac_ext 13335 13336 LIBS="$saved_LIBS" 13337 13338 else 13339 if test "x$with_libunwind" != xcheck; then 13340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13342 as_fn_error $? "failed to find libunwind 13343 See \`config.log' for more details" "$LINENO" 5; } 13344 fi 13345 13346 fi 13347 13348 13349 LDFLAGS="$saved_LDFLAGS" 13350 13351 else 13352 if test "x$with_libunwind" != xcheck; then 13353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13355 as_fn_error $? "failed to find libunwind-ptrace.h 13356 See \`config.log' for more details" "$LINENO" 5; } 13357 fi 13358 13359 13360 fi 13361 13362 done 13363 13364 13365 CPPFLAGS="$saved_CPPFLAGS" 13366 13367 13368 fi 13369 13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable stack tracing support using libunwind" >&5 13371 $as_echo_n "checking whether to enable stack tracing support using libunwind... " >&6; } 13372 if test "x$use_libunwind" = xyes; then 13373 13374 $as_echo "#define USE_LIBUNWIND 1" >>confdefs.h 13375 13376 13377 13378 13379 fi 13380 if test "x$use_libunwind" = xyes; then 13381 USE_LIBUNWIND_TRUE= 13382 USE_LIBUNWIND_FALSE='#' 13383 else 13384 USE_LIBUNWIND_TRUE='#' 13385 USE_LIBUNWIND_FALSE= 13386 fi 13387 13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_libunwind" >&5 13389 $as_echo "$use_libunwind" >&6; } 13390 13391 libiberty_CPPFLAGS= 13392 libiberty_LDFLAGS= 13393 libiberty_LIBS= 13394 13395 # Check whether --with-libiberty was given. 13396 if test "${with_libiberty+set}" = set; then : 13397 withval=$with_libiberty; case "${withval}" in 13398 yes|no|check) ;; 13399 *) with_libiberty=yes 13400 libiberty_CPPFLAGS="-I${withval}/include" 13401 libiberty_LDFLAGS="-L${withval}/lib" ;; 13402 esac 13403 else 13404 with_libiberty=check 13405 13406 fi 13407 13408 13409 use_libiberty=no 13410 if test "x$use_libunwind" = xyes && test "x$with_libiberty" != xno; then : 13411 saved_CPPFLAGS="$CPPFLAGS" 13412 CPPFLAGS="$CPPFLAGS $libiberty_CPPFLAGS" 13413 for ac_header in demangle.h libiberty/demangle.h 13414 do : 13415 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13416 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13417 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13418 cat >>confdefs.h <<_ACEOF 13419 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13420 _ACEOF 13421 saved_LDFLAGS="$LDFLAGS" 13422 LDFLAGS="$LDFLAGS $libiberty_LDFLAGS" 13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cplus_demangle in -liberty" >&5 13424 $as_echo_n "checking for cplus_demangle in -liberty... " >&6; } 13425 if ${ac_cv_lib_iberty_cplus_demangle+:} false; then : 13426 $as_echo_n "(cached) " >&6 13427 else 13428 ac_check_lib_save_LIBS=$LIBS 13429 LIBS="-liberty $LIBS" 13430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13431 /* end confdefs.h. */ 13432 13433 /* Override any GCC internal prototype to avoid an error. 13434 Use char because int might match the return type of a GCC 13435 builtin and then its argument prototype would still apply. */ 13436 #ifdef __cplusplus 13437 extern "C" 13438 #endif 13439 char cplus_demangle (); 13440 int 13441 main () 13442 { 13443 return cplus_demangle (); 13444 ; 13445 return 0; 13446 } 13447 _ACEOF 13448 if ac_fn_c_try_link "$LINENO"; then : 13449 ac_cv_lib_iberty_cplus_demangle=yes 13450 else 13451 ac_cv_lib_iberty_cplus_demangle=no 13452 fi 13453 rm -f core conftest.err conftest.$ac_objext \ 13454 conftest$ac_exeext conftest.$ac_ext 13455 LIBS=$ac_check_lib_save_LIBS 13456 fi 13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iberty_cplus_demangle" >&5 13458 $as_echo "$ac_cv_lib_iberty_cplus_demangle" >&6; } 13459 if test "x$ac_cv_lib_iberty_cplus_demangle" = xyes; then : 13460 libiberty_LIBS="-liberty" 13461 use_libiberty=yes 13462 13463 else 13464 if test "x$with_libiberty" != xcheck; then 13465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13467 as_fn_error $? "failed to find cplus_demangle in libiberty 13468 See \`config.log' for more details" "$LINENO" 5; } 13469 fi 13470 13471 13472 fi 13473 13474 LDFLAGS="$saved_LDFLAGS" 13475 13476 else 13477 if test "x$with_libiberty" != xcheck; then 13478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13480 as_fn_error $? "failed to find demangle.h 13481 See \`config.log' for more details" "$LINENO" 5; } 13482 fi 13483 13484 13485 fi 13486 13487 done 13488 13489 CPPFLAGS="$saved_CPPFLAGS" 13490 13491 13492 fi 13493 13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable demangling symbols in stack trace" >&5 13495 $as_echo_n "checking whether to enable demangling symbols in stack trace... " >&6; } 13496 if test "x$use_libiberty" = xyes; then 13497 13498 $as_echo "#define USE_DEMANGLE 1" >>confdefs.h 13499 13500 13501 13502 13503 fi 13504 if test "x$use_libiberty" = xyes; then 13505 USE_DEMANGLE_TRUE= 13506 USE_DEMANGLE_FALSE='#' 13507 else 13508 USE_DEMANGLE_TRUE='#' 13509 USE_DEMANGLE_FALSE= 13510 fi 13511 13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_libiberty" >&5 13513 $as_echo "$use_libiberty" >&6; } 13514 13515 if test "$arch" = mips && test "$no_create" != yes; then 13516 mkdir -p linux/mips 13517 if $srcdir/linux/mips/genstub.sh linux/mips; then 13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Generated MIPS syscallent stubs" >&5 13519 $as_echo "Generated MIPS syscallent stubs" >&6; } 13520 else 13521 as_fn_error $? "Failed to generate syscallent stubs" "$LINENO" 5 13522 fi 13523 fi 13524 13525 # Check whether --enable-mpers was given. 13526 if test "${enable_mpers+set}" = set; then : 13527 enableval=$enable_mpers; case "$enableval" in 13528 yes|no|check|m32|mx32) enable_mpers="$enableval" ;; 13529 *) as_fn_error $? "bad value $enableval for enable-mpers option. 13530 Valid options are: yes, no, check, m32, mx32." "$LINENO" 5 13531 ;; 13532 esac 13533 else 13534 enable_mpers=yes 13535 fi 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 case "$arch" in 13550 aarch64|powerpc64|riscv|s390x|sparc64|tile|x32|x86_64) 13551 case "$enable_mpers" in 13552 yes|check|m32) 13553 13554 13555 13556 13557 for ac_header in gnu/stubs-32.h 13558 do : 13559 ac_fn_c_check_header_mongrel "$LINENO" "gnu/stubs-32.h" "ac_cv_header_gnu_stubs_32_h" "$ac_includes_default" 13560 if test "x$ac_cv_header_gnu_stubs_32_h" = xyes; then : 13561 cat >>confdefs.h <<_ACEOF 13562 #define HAVE_GNU_STUBS_32_H 1 13563 _ACEOF 13564 IFLAG= 13565 else 13566 mkdir -p gnu 13567 : > gnu/stubs-32.h 13568 { $as_echo "$as_me:${as_lineno-$LINENO}: Created empty gnu/stubs-32.h" >&5 13569 $as_echo "$as_me: Created empty gnu/stubs-32.h" >&6;} 13570 IFLAG=-I. 13571 fi 13572 13573 done 13574 13575 13576 saved_CFLAGS="$CFLAGS" 13577 CFLAGS="$CFLAGS $cc_flags_m32 $IFLAG" 13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m32 personality compile support" >&5 13579 $as_echo_n "checking for m32 personality compile support... " >&6; } 13580 if ${st_cv_m32_cc+:} false; then : 13581 $as_echo_n "(cached) " >&6 13582 else 13583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13584 /* end confdefs.h. */ 13585 #include <stdint.h> 13586 int main(){return 0;} 13587 _ACEOF 13588 if ac_fn_c_try_compile "$LINENO"; then : 13589 st_cv_m32_cc=yes 13590 else 13591 st_cv_m32_cc=no 13592 fi 13593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13594 fi 13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_cc" >&5 13596 $as_echo "$st_cv_m32_cc" >&6; } 13597 if test $st_cv_m32_cc = yes; then 13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m32 personality runtime support" >&5 13599 $as_echo_n "checking for m32 personality runtime support... " >&6; } 13600 if ${st_cv_m32_runtime+:} false; then : 13601 $as_echo_n "(cached) " >&6 13602 else 13603 if test "$cross_compiling" = yes; then : 13604 st_cv_m32_runtime=no 13605 else 13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13607 /* end confdefs.h. */ 13608 #include <stdint.h> 13609 int main(){return 0;} 13610 _ACEOF 13611 if ac_fn_c_try_run "$LINENO"; then : 13612 st_cv_m32_runtime=yes 13613 else 13614 st_cv_m32_runtime=no 13615 fi 13616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13617 conftest.$ac_objext conftest.beam conftest.$ac_ext 13618 fi 13619 13620 fi 13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_runtime" >&5 13622 $as_echo "$st_cv_m32_runtime" >&6; } 13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mpers.sh m32 $cc_flags_m32 works" >&5 13624 $as_echo_n "checking whether mpers.sh m32 $cc_flags_m32 works... " >&6; } 13625 if ${st_cv_m32_mpers+:} false; then : 13626 $as_echo_n "(cached) " >&6 13627 else 13628 if READELF="$READELF" \ 13629 CC="$CC" CPP="$CPP" CPPFLAGS="$CPPFLAGS" \ 13630 $srcdir/mpers_test.sh m32 $cc_flags_m32; then 13631 st_cv_m32_mpers=yes 13632 else 13633 st_cv_m32_mpers=no 13634 fi 13635 fi 13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_mpers" >&5 13637 $as_echo "$st_cv_m32_mpers" >&6; } 13638 if test $st_cv_m32_mpers = yes; then 13639 13640 $as_echo "#define HAVE_M32_MPERS 1" >>confdefs.h 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 if test -n "${ac_cv_type_struct_stat+set}"; then : 13651 saved_ac_cv_type_struct_stat="${ac_cv_type_struct_stat}"; unset ac_cv_type_struct_stat 13652 fi 13653 if test -n "${ac_cv_m32_type_struct_stat+set}"; then : 13654 ac_cv_type_struct_stat="${ac_cv_m32_type_struct_stat}" 13655 fi 13656 13657 13658 13659 13660 13661 13662 ac_fn_c_check_type "$LINENO" "struct stat" "ac_cv_type_struct_stat" "#include <sys/types.h> 13663 #include <asm/stat.h> 13664 " 13665 if test "x$ac_cv_type_struct_stat" = xyes; then : 13666 13667 $as_echo "#define HAVE_M32_STRUCT_STAT 1" >>confdefs.h 13668 13669 fi 13670 13671 13672 13673 13674 13675 13676 13677 if test -n "${ac_cv_type_struct_stat+set}"; then : 13678 ac_cv_m32_type_struct_stat="${ac_cv_type_struct_stat}" 13679 fi 13680 if test -n "${saved_ac_cv_type_struct_stat+set}"; then : 13681 ac_cv_type_struct_stat="${saved_ac_cv_type_struct_stat}"; unset saved_ac_cv_type_struct_stat 13682 fi 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 13697 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 13698 fi 13699 if test -n "${ac_cv_m32_member_struct_stat_st_mtime_nsec+set}"; then : 13700 ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_m32_member_struct_stat_st_mtime_nsec}" 13701 fi 13702 13703 13704 13705 13706 13707 13708 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h> 13709 #include <asm/stat.h> 13710 " 13711 if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 13712 13713 $as_echo "#define HAVE_M32_STRUCT_STAT_ST_MTIME_NSEC 1" >>confdefs.h 13714 13715 fi 13716 13717 13718 13719 13720 13721 13722 13723 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 13724 ac_cv_m32_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}" 13725 fi 13726 if test -n "${saved_ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 13727 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 13728 fi 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 if test -n "${ac_cv_type_struct_stat64+set}"; then : 13746 saved_ac_cv_type_struct_stat64="${ac_cv_type_struct_stat64}"; unset ac_cv_type_struct_stat64 13747 fi 13748 if test -n "${ac_cv_m32_type_struct_stat64+set}"; then : 13749 ac_cv_type_struct_stat64="${ac_cv_m32_type_struct_stat64}" 13750 fi 13751 13752 13753 13754 13755 13756 13757 ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 13758 #include <asm/stat.h> 13759 " 13760 if test "x$ac_cv_type_struct_stat64" = xyes; then : 13761 13762 $as_echo "#define HAVE_M32_STRUCT_STAT64 1" >>confdefs.h 13763 13764 fi 13765 13766 13767 13768 13769 13770 13771 13772 if test -n "${ac_cv_type_struct_stat64+set}"; then : 13773 ac_cv_m32_type_struct_stat64="${ac_cv_type_struct_stat64}" 13774 fi 13775 if test -n "${saved_ac_cv_type_struct_stat64+set}"; then : 13776 ac_cv_type_struct_stat64="${saved_ac_cv_type_struct_stat64}"; unset saved_ac_cv_type_struct_stat64 13777 fi 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 13792 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 13793 fi 13794 if test -n "${ac_cv_m32_member_struct_stat64_st_mtime_nsec+set}"; then : 13795 ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_m32_member_struct_stat64_st_mtime_nsec}" 13796 fi 13797 13798 13799 13800 13801 13802 13803 ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h> 13804 #include <asm/stat.h> 13805 " 13806 if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 13807 13808 $as_echo "#define HAVE_M32_STRUCT_STAT64_ST_MTIME_NSEC 1" >>confdefs.h 13809 13810 fi 13811 13812 13813 13814 13815 13816 13817 13818 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 13819 ac_cv_m32_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}" 13820 fi 13821 if test -n "${saved_ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 13822 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 13823 fi 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 if test $st_cv_m32_runtime = yes; then 13834 13835 13836 13837 13838 13839 13840 13841 if test -n "${ac_cv_sizeof_long+set}"; then : 13842 saved_ac_cv_sizeof_long="${ac_cv_sizeof_long}"; unset ac_cv_sizeof_long 13843 fi 13844 if test -n "${ac_cv_m32_sizeof_long+set}"; then : 13845 ac_cv_sizeof_long="${ac_cv_m32_sizeof_long}" 13846 fi 13847 13848 13849 13850 13851 13852 13853 # The cast to long int works around a bug in the HP C Compiler 13854 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13855 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13856 # This bug is HP SR number 8606223364. 13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 13858 $as_echo_n "checking size of long... " >&6; } 13859 if ${ac_cv_sizeof_long+:} false; then : 13860 $as_echo_n "(cached) " >&6 13861 else 13862 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 13863 13864 else 13865 if test "$ac_cv_type_long" = yes; then 13866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13868 as_fn_error 77 "cannot compute sizeof (long) 13869 See \`config.log' for more details" "$LINENO" 5; } 13870 else 13871 ac_cv_sizeof_long=0 13872 fi 13873 fi 13874 13875 fi 13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 13877 $as_echo "$ac_cv_sizeof_long" >&6; } 13878 13879 13880 13881 cat >>confdefs.h <<_ACEOF 13882 #define M32_SIZEOF_LONG $ac_cv_sizeof_long 13883 _ACEOF 13884 13885 13886 13887 13888 13889 13890 13891 13892 if test -n "${ac_cv_sizeof_long+set}"; then : 13893 ac_cv_m32_sizeof_long="${ac_cv_sizeof_long}" 13894 fi 13895 if test -n "${saved_ac_cv_sizeof_long+set}"; then : 13896 ac_cv_sizeof_long="${saved_ac_cv_sizeof_long}"; unset saved_ac_cv_sizeof_long 13897 fi 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 if test -n "${ac_cv_sizeof_kernel_long_t+set}"; then : 13914 saved_ac_cv_sizeof_kernel_long_t="${ac_cv_sizeof_kernel_long_t}"; unset ac_cv_sizeof_kernel_long_t 13915 fi 13916 if test -n "${ac_cv_m32_sizeof_kernel_long_t+set}"; then : 13917 ac_cv_sizeof_kernel_long_t="${ac_cv_m32_sizeof_kernel_long_t}" 13918 fi 13919 13920 13921 13922 13923 13924 13925 # The cast to long int works around a bug in the HP C Compiler 13926 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13927 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13928 # This bug is HP SR number 8606223364. 13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of kernel_long_t" >&5 13930 $as_echo_n "checking size of kernel_long_t... " >&6; } 13931 if ${ac_cv_sizeof_kernel_long_t+:} false; then : 13932 $as_echo_n "(cached) " >&6 13933 else 13934 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (kernel_long_t))" "ac_cv_sizeof_kernel_long_t" "#include \"$srcdir/kernel_types.h\" 13935 "; then : 13936 13937 else 13938 if test "$ac_cv_type_kernel_long_t" = yes; then 13939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13941 as_fn_error 77 "cannot compute sizeof (kernel_long_t) 13942 See \`config.log' for more details" "$LINENO" 5; } 13943 else 13944 ac_cv_sizeof_kernel_long_t=0 13945 fi 13946 fi 13947 13948 fi 13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_kernel_long_t" >&5 13950 $as_echo "$ac_cv_sizeof_kernel_long_t" >&6; } 13951 13952 13953 13954 cat >>confdefs.h <<_ACEOF 13955 #define M32_SIZEOF_KERNEL_LONG_T $ac_cv_sizeof_kernel_long_t 13956 _ACEOF 13957 13958 13959 13960 13961 13962 13963 13964 13965 if test -n "${ac_cv_sizeof_kernel_long_t+set}"; then : 13966 ac_cv_m32_sizeof_kernel_long_t="${ac_cv_sizeof_kernel_long_t}" 13967 fi 13968 if test -n "${saved_ac_cv_sizeof_kernel_long_t+set}"; then : 13969 ac_cv_sizeof_kernel_long_t="${saved_ac_cv_sizeof_kernel_long_t}"; unset saved_ac_cv_sizeof_kernel_long_t 13970 fi 13971 13972 13973 13974 13975 13976 13977 13978 fi 13979 fi 13980 fi 13981 CFLAGS="$saved_CFLAGS" 13982 ;; 13983 13984 *) # case "$enable_mpers" 13985 st_cv_m32_runtime=no 13986 st_cv_m32_mpers=no 13987 ;; 13988 esac 13989 13990 test "$st_cv_m32_mpers" = yes || 13991 st_cv_m32_mpers=no 13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable m32 personality support" >&5 13993 $as_echo_n "checking whether to enable m32 personality support... " >&6; } 13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_mpers" >&5 13995 $as_echo "$st_cv_m32_mpers" >&6; } 13996 13997 case "$enable_mpers,$st_cv_m32_mpers" in 13998 yes,no|m32,no) 13999 as_fn_error $? "Cannot enable m32 personality support" "$LINENO" 5 14000 ;; 14001 esac 14002 ;; 14003 14004 *) # case "$arch" 14005 st_cv_m32_runtime=no 14006 st_cv_m32_mpers=no 14007 ;; 14008 esac 14009 14010 if test "$st_cv_m32_mpers$st_cv_m32_runtime" = yesyes; then 14011 HAVE_M32_RUNTIME_TRUE= 14012 HAVE_M32_RUNTIME_FALSE='#' 14013 else 14014 HAVE_M32_RUNTIME_TRUE='#' 14015 HAVE_M32_RUNTIME_FALSE= 14016 fi 14017 14018 if test "$st_cv_m32_mpers" = yes; then 14019 HAVE_M32_MPERS_TRUE= 14020 HAVE_M32_MPERS_FALSE='#' 14021 else 14022 HAVE_M32_MPERS_TRUE='#' 14023 HAVE_M32_MPERS_FALSE= 14024 fi 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 case "$arch" in 14049 x86_64) 14050 case "$enable_mpers" in 14051 yes|check|mx32) 14052 14053 14054 14055 14056 for ac_header in gnu/stubs-x32.h 14057 do : 14058 ac_fn_c_check_header_mongrel "$LINENO" "gnu/stubs-x32.h" "ac_cv_header_gnu_stubs_x32_h" "$ac_includes_default" 14059 if test "x$ac_cv_header_gnu_stubs_x32_h" = xyes; then : 14060 cat >>confdefs.h <<_ACEOF 14061 #define HAVE_GNU_STUBS_X32_H 1 14062 _ACEOF 14063 IFLAG= 14064 else 14065 mkdir -p gnu 14066 : > gnu/stubs-x32.h 14067 { $as_echo "$as_me:${as_lineno-$LINENO}: Created empty gnu/stubs-x32.h" >&5 14068 $as_echo "$as_me: Created empty gnu/stubs-x32.h" >&6;} 14069 IFLAG=-I. 14070 fi 14071 14072 done 14073 14074 14075 saved_CFLAGS="$CFLAGS" 14076 CFLAGS="$CFLAGS $cc_flags_mx32 $IFLAG" 14077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mx32 personality compile support" >&5 14078 $as_echo_n "checking for mx32 personality compile support... " >&6; } 14079 if ${st_cv_mx32_cc+:} false; then : 14080 $as_echo_n "(cached) " >&6 14081 else 14082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14083 /* end confdefs.h. */ 14084 #include <stdint.h> 14085 int main(){return 0;} 14086 _ACEOF 14087 if ac_fn_c_try_compile "$LINENO"; then : 14088 st_cv_mx32_cc=yes 14089 else 14090 st_cv_mx32_cc=no 14091 fi 14092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14093 fi 14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_cc" >&5 14095 $as_echo "$st_cv_mx32_cc" >&6; } 14096 if test $st_cv_mx32_cc = yes; then 14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mx32 personality runtime support" >&5 14098 $as_echo_n "checking for mx32 personality runtime support... " >&6; } 14099 if ${st_cv_mx32_runtime+:} false; then : 14100 $as_echo_n "(cached) " >&6 14101 else 14102 if test "$cross_compiling" = yes; then : 14103 st_cv_mx32_runtime=no 14104 else 14105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14106 /* end confdefs.h. */ 14107 #include <stdint.h> 14108 int main(){return 0;} 14109 _ACEOF 14110 if ac_fn_c_try_run "$LINENO"; then : 14111 st_cv_mx32_runtime=yes 14112 else 14113 st_cv_mx32_runtime=no 14114 fi 14115 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14116 conftest.$ac_objext conftest.beam conftest.$ac_ext 14117 fi 14118 14119 fi 14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_runtime" >&5 14121 $as_echo "$st_cv_mx32_runtime" >&6; } 14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mpers.sh mx32 $cc_flags_mx32 works" >&5 14123 $as_echo_n "checking whether mpers.sh mx32 $cc_flags_mx32 works... " >&6; } 14124 if ${st_cv_mx32_mpers+:} false; then : 14125 $as_echo_n "(cached) " >&6 14126 else 14127 if READELF="$READELF" \ 14128 CC="$CC" CPP="$CPP" CPPFLAGS="$CPPFLAGS" \ 14129 $srcdir/mpers_test.sh mx32 $cc_flags_mx32; then 14130 st_cv_mx32_mpers=yes 14131 else 14132 st_cv_mx32_mpers=no 14133 fi 14134 fi 14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_mpers" >&5 14136 $as_echo "$st_cv_mx32_mpers" >&6; } 14137 if test $st_cv_mx32_mpers = yes; then 14138 14139 $as_echo "#define HAVE_MX32_MPERS 1" >>confdefs.h 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 if test -n "${ac_cv_type_struct_stat+set}"; then : 14150 saved_ac_cv_type_struct_stat="${ac_cv_type_struct_stat}"; unset ac_cv_type_struct_stat 14151 fi 14152 if test -n "${ac_cv_mx32_type_struct_stat+set}"; then : 14153 ac_cv_type_struct_stat="${ac_cv_mx32_type_struct_stat}" 14154 fi 14155 14156 14157 14158 14159 14160 14161 ac_fn_c_check_type "$LINENO" "struct stat" "ac_cv_type_struct_stat" "#include <sys/types.h> 14162 #include <asm/stat.h> 14163 " 14164 if test "x$ac_cv_type_struct_stat" = xyes; then : 14165 14166 $as_echo "#define HAVE_MX32_STRUCT_STAT 1" >>confdefs.h 14167 14168 fi 14169 14170 14171 14172 14173 14174 14175 14176 if test -n "${ac_cv_type_struct_stat+set}"; then : 14177 ac_cv_mx32_type_struct_stat="${ac_cv_type_struct_stat}" 14178 fi 14179 if test -n "${saved_ac_cv_type_struct_stat+set}"; then : 14180 ac_cv_type_struct_stat="${saved_ac_cv_type_struct_stat}"; unset saved_ac_cv_type_struct_stat 14181 fi 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 14196 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 14197 fi 14198 if test -n "${ac_cv_mx32_member_struct_stat_st_mtime_nsec+set}"; then : 14199 ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_mx32_member_struct_stat_st_mtime_nsec}" 14200 fi 14201 14202 14203 14204 14205 14206 14207 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h> 14208 #include <asm/stat.h> 14209 " 14210 if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 14211 14212 $as_echo "#define HAVE_MX32_STRUCT_STAT_ST_MTIME_NSEC 1" >>confdefs.h 14213 14214 fi 14215 14216 14217 14218 14219 14220 14221 14222 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 14223 ac_cv_mx32_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}" 14224 fi 14225 if test -n "${saved_ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 14226 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 14227 fi 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 if test -n "${ac_cv_type_struct_stat64+set}"; then : 14245 saved_ac_cv_type_struct_stat64="${ac_cv_type_struct_stat64}"; unset ac_cv_type_struct_stat64 14246 fi 14247 if test -n "${ac_cv_mx32_type_struct_stat64+set}"; then : 14248 ac_cv_type_struct_stat64="${ac_cv_mx32_type_struct_stat64}" 14249 fi 14250 14251 14252 14253 14254 14255 14256 ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 14257 #include <asm/stat.h> 14258 " 14259 if test "x$ac_cv_type_struct_stat64" = xyes; then : 14260 14261 $as_echo "#define HAVE_MX32_STRUCT_STAT64 1" >>confdefs.h 14262 14263 fi 14264 14265 14266 14267 14268 14269 14270 14271 if test -n "${ac_cv_type_struct_stat64+set}"; then : 14272 ac_cv_mx32_type_struct_stat64="${ac_cv_type_struct_stat64}" 14273 fi 14274 if test -n "${saved_ac_cv_type_struct_stat64+set}"; then : 14275 ac_cv_type_struct_stat64="${saved_ac_cv_type_struct_stat64}"; unset saved_ac_cv_type_struct_stat64 14276 fi 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 14291 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 14292 fi 14293 if test -n "${ac_cv_mx32_member_struct_stat64_st_mtime_nsec+set}"; then : 14294 ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_mx32_member_struct_stat64_st_mtime_nsec}" 14295 fi 14296 14297 14298 14299 14300 14301 14302 ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h> 14303 #include <asm/stat.h> 14304 " 14305 if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 14306 14307 $as_echo "#define HAVE_MX32_STRUCT_STAT64_ST_MTIME_NSEC 1" >>confdefs.h 14308 14309 fi 14310 14311 14312 14313 14314 14315 14316 14317 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 14318 ac_cv_mx32_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}" 14319 fi 14320 if test -n "${saved_ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 14321 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 14322 fi 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 if test $st_cv_mx32_runtime = yes; then 14333 14334 14335 14336 14337 14338 14339 14340 if test -n "${ac_cv_sizeof_long+set}"; then : 14341 saved_ac_cv_sizeof_long="${ac_cv_sizeof_long}"; unset ac_cv_sizeof_long 14342 fi 14343 if test -n "${ac_cv_mx32_sizeof_long+set}"; then : 14344 ac_cv_sizeof_long="${ac_cv_mx32_sizeof_long}" 14345 fi 14346 14347 14348 14349 14350 14351 14352 # The cast to long int works around a bug in the HP C Compiler 14353 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14354 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14355 # This bug is HP SR number 8606223364. 14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 14357 $as_echo_n "checking size of long... " >&6; } 14358 if ${ac_cv_sizeof_long+:} false; then : 14359 $as_echo_n "(cached) " >&6 14360 else 14361 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 14362 14363 else 14364 if test "$ac_cv_type_long" = yes; then 14365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14367 as_fn_error 77 "cannot compute sizeof (long) 14368 See \`config.log' for more details" "$LINENO" 5; } 14369 else 14370 ac_cv_sizeof_long=0 14371 fi 14372 fi 14373 14374 fi 14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 14376 $as_echo "$ac_cv_sizeof_long" >&6; } 14377 14378 14379 14380 cat >>confdefs.h <<_ACEOF 14381 #define MX32_SIZEOF_LONG $ac_cv_sizeof_long 14382 _ACEOF 14383 14384 14385 14386 14387 14388 14389 14390 14391 if test -n "${ac_cv_sizeof_long+set}"; then : 14392 ac_cv_mx32_sizeof_long="${ac_cv_sizeof_long}" 14393 fi 14394 if test -n "${saved_ac_cv_sizeof_long+set}"; then : 14395 ac_cv_sizeof_long="${saved_ac_cv_sizeof_long}"; unset saved_ac_cv_sizeof_long 14396 fi 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 if test -n "${ac_cv_sizeof_kernel_long_t+set}"; then : 14413 saved_ac_cv_sizeof_kernel_long_t="${ac_cv_sizeof_kernel_long_t}"; unset ac_cv_sizeof_kernel_long_t 14414 fi 14415 if test -n "${ac_cv_mx32_sizeof_kernel_long_t+set}"; then : 14416 ac_cv_sizeof_kernel_long_t="${ac_cv_mx32_sizeof_kernel_long_t}" 14417 fi 14418 14419 14420 14421 14422 14423 14424 # The cast to long int works around a bug in the HP C Compiler 14425 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14426 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14427 # This bug is HP SR number 8606223364. 14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of kernel_long_t" >&5 14429 $as_echo_n "checking size of kernel_long_t... " >&6; } 14430 if ${ac_cv_sizeof_kernel_long_t+:} false; then : 14431 $as_echo_n "(cached) " >&6 14432 else 14433 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (kernel_long_t))" "ac_cv_sizeof_kernel_long_t" "#include \"$srcdir/kernel_types.h\" 14434 "; then : 14435 14436 else 14437 if test "$ac_cv_type_kernel_long_t" = yes; then 14438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14440 as_fn_error 77 "cannot compute sizeof (kernel_long_t) 14441 See \`config.log' for more details" "$LINENO" 5; } 14442 else 14443 ac_cv_sizeof_kernel_long_t=0 14444 fi 14445 fi 14446 14447 fi 14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_kernel_long_t" >&5 14449 $as_echo "$ac_cv_sizeof_kernel_long_t" >&6; } 14450 14451 14452 14453 cat >>confdefs.h <<_ACEOF 14454 #define MX32_SIZEOF_KERNEL_LONG_T $ac_cv_sizeof_kernel_long_t 14455 _ACEOF 14456 14457 14458 14459 14460 14461 14462 14463 14464 if test -n "${ac_cv_sizeof_kernel_long_t+set}"; then : 14465 ac_cv_mx32_sizeof_kernel_long_t="${ac_cv_sizeof_kernel_long_t}" 14466 fi 14467 if test -n "${saved_ac_cv_sizeof_kernel_long_t+set}"; then : 14468 ac_cv_sizeof_kernel_long_t="${saved_ac_cv_sizeof_kernel_long_t}"; unset saved_ac_cv_sizeof_kernel_long_t 14469 fi 14470 14471 14472 14473 14474 14475 14476 14477 fi 14478 fi 14479 fi 14480 CFLAGS="$saved_CFLAGS" 14481 ;; 14482 14483 *) # case "$enable_mpers" 14484 st_cv_mx32_runtime=no 14485 st_cv_mx32_mpers=no 14486 ;; 14487 esac 14488 14489 test "$st_cv_mx32_mpers" = yes || 14490 st_cv_mx32_mpers=no 14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable mx32 personality support" >&5 14492 $as_echo_n "checking whether to enable mx32 personality support... " >&6; } 14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_mpers" >&5 14494 $as_echo "$st_cv_mx32_mpers" >&6; } 14495 14496 case "$enable_mpers,$st_cv_mx32_mpers" in 14497 yes,no|mx32,no) 14498 as_fn_error $? "Cannot enable mx32 personality support" "$LINENO" 5 14499 ;; 14500 esac 14501 ;; 14502 14503 *) # case "$arch" 14504 st_cv_mx32_runtime=no 14505 st_cv_mx32_mpers=no 14506 ;; 14507 esac 14508 14509 if test "$st_cv_mx32_mpers$st_cv_mx32_runtime" = yesyes; then 14510 HAVE_MX32_RUNTIME_TRUE= 14511 HAVE_MX32_RUNTIME_FALSE='#' 14512 else 14513 HAVE_MX32_RUNTIME_TRUE='#' 14514 HAVE_MX32_RUNTIME_FALSE= 14515 fi 14516 14517 if test "$st_cv_mx32_mpers" = yes; then 14518 HAVE_MX32_MPERS_TRUE= 14519 HAVE_MX32_MPERS_FALSE='#' 14520 else 14521 HAVE_MX32_MPERS_TRUE='#' 14522 HAVE_MX32_MPERS_FALSE= 14523 fi 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 # Check whether --enable-valgrind was given. 14542 if test "${enable_valgrind+set}" = set; then : 14543 enableval=$enable_valgrind; enable_valgrind=$enableval 14544 else 14545 enable_valgrind= 14546 fi 14547 14548 14549 if test "$enable_valgrind" != "no"; then : 14550 14551 # Check for Valgrind. 14552 # Extract the first word of "valgrind", so it can be a program name with args. 14553 set dummy valgrind; ac_word=$2 14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14555 $as_echo_n "checking for $ac_word... " >&6; } 14556 if ${ac_cv_prog_VALGRIND+:} false; then : 14557 $as_echo_n "(cached) " >&6 14558 else 14559 if test -n "$VALGRIND"; then 14560 ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test. 14561 else 14562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14563 for as_dir in $PATH 14564 do 14565 IFS=$as_save_IFS 14566 test -z "$as_dir" && as_dir=. 14567 for ac_exec_ext in '' $ac_executable_extensions; do 14568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14569 ac_cv_prog_VALGRIND="valgrind" 14570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14571 break 2 14572 fi 14573 done 14574 done 14575 IFS=$as_save_IFS 14576 14577 fi 14578 fi 14579 VALGRIND=$ac_cv_prog_VALGRIND 14580 if test -n "$VALGRIND"; then 14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5 14582 $as_echo "$VALGRIND" >&6; } 14583 else 14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14585 $as_echo "no" >&6; } 14586 fi 14587 14588 14589 if test "$VALGRIND" = ""; then : 14590 14591 if test "$enable_valgrind" = "yes"; then : 14592 14593 as_fn_error $? "Could not find valgrind; either install it or reconfigure with --disable-valgrind" "$LINENO" 5 14594 14595 else 14596 14597 enable_valgrind=no 14598 14599 fi 14600 14601 else 14602 14603 enable_valgrind=yes 14604 14605 fi 14606 14607 fi 14608 14609 if test "$enable_valgrind" = "yes"; then 14610 VALGRIND_ENABLED_TRUE= 14611 VALGRIND_ENABLED_FALSE='#' 14612 else 14613 VALGRIND_ENABLED_TRUE='#' 14614 VALGRIND_ENABLED_FALSE= 14615 fi 14616 14617 VALGRIND_ENABLED=$enable_valgrind 14618 14619 14620 14621 # Check for Valgrind tools we care about. 14622 valgrind_enabled_tools= 14623 14624 # Check whether --enable-valgrind-memcheck was given. 14625 if test "${enable_valgrind_memcheck+set}" = set; then : 14626 enableval=$enable_valgrind_memcheck; enable_valgrind_memcheck=$enableval 14627 else 14628 enable_valgrind_memcheck= 14629 fi 14630 14631 if test "$enable_valgrind" = "no"; then : 14632 14633 enable_valgrind_memcheck=no 14634 elif test "$enable_valgrind_memcheck" != "no"; then : 14635 14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool memcheck" >&5 14637 $as_echo_n "checking for Valgrind tool memcheck... " >&6; } 14638 if ${ax_cv_valgrind_tool_memcheck+:} false; then : 14639 $as_echo_n "(cached) " >&6 14640 else 14641 14642 ax_cv_valgrind_tool_memcheck=no 14643 14644 if `$VALGRIND --tool=memcheck --help >/dev/null 2>&1`; then : 14645 14646 ax_cv_valgrind_tool_memcheck=yes 14647 14648 fi 14649 14650 fi 14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_memcheck" >&5 14652 $as_echo "$ax_cv_valgrind_tool_memcheck" >&6; } 14653 if test "$ax_cv_valgrind_tool_memcheck" = "no"; then : 14654 14655 if test "$enable_valgrind_memcheck" = "yes"; then : 14656 14657 as_fn_error $? "Valgrind does not support memcheck; reconfigure with --disable-valgrind-memcheck" "$LINENO" 5 14658 14659 else 14660 14661 enable_valgrind_memcheck=no 14662 14663 fi 14664 14665 else 14666 14667 enable_valgrind_memcheck=yes 14668 14669 fi 14670 14671 fi 14672 if test "$enable_valgrind_memcheck" = "yes"; then : 14673 14674 valgrind_enabled_tools="$valgrind_enabled_tools memcheck" 14675 14676 fi 14677 ENABLE_VALGRIND_memcheck=$enable_valgrind_memcheck 14678 14679 14680 14681 # Check whether --enable-valgrind-helgrind was given. 14682 if test "${enable_valgrind_helgrind+set}" = set; then : 14683 enableval=$enable_valgrind_helgrind; enable_valgrind_helgrind=$enableval 14684 else 14685 enable_valgrind_helgrind= 14686 fi 14687 14688 if test "$enable_valgrind" = "no"; then : 14689 14690 enable_valgrind_helgrind=no 14691 elif test "$enable_valgrind_helgrind" != "no"; then : 14692 14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool helgrind" >&5 14694 $as_echo_n "checking for Valgrind tool helgrind... " >&6; } 14695 if ${ax_cv_valgrind_tool_helgrind+:} false; then : 14696 $as_echo_n "(cached) " >&6 14697 else 14698 14699 ax_cv_valgrind_tool_helgrind=no 14700 14701 if `$VALGRIND --tool=helgrind --help >/dev/null 2>&1`; then : 14702 14703 ax_cv_valgrind_tool_helgrind=yes 14704 14705 fi 14706 14707 fi 14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_helgrind" >&5 14709 $as_echo "$ax_cv_valgrind_tool_helgrind" >&6; } 14710 if test "$ax_cv_valgrind_tool_helgrind" = "no"; then : 14711 14712 if test "$enable_valgrind_helgrind" = "yes"; then : 14713 14714 as_fn_error $? "Valgrind does not support helgrind; reconfigure with --disable-valgrind-helgrind" "$LINENO" 5 14715 14716 else 14717 14718 enable_valgrind_helgrind=no 14719 14720 fi 14721 14722 else 14723 14724 enable_valgrind_helgrind=yes 14725 14726 fi 14727 14728 fi 14729 if test "$enable_valgrind_helgrind" = "yes"; then : 14730 14731 valgrind_enabled_tools="$valgrind_enabled_tools helgrind" 14732 14733 fi 14734 ENABLE_VALGRIND_helgrind=$enable_valgrind_helgrind 14735 14736 14737 14738 # Check whether --enable-valgrind-drd was given. 14739 if test "${enable_valgrind_drd+set}" = set; then : 14740 enableval=$enable_valgrind_drd; enable_valgrind_drd=$enableval 14741 else 14742 enable_valgrind_drd= 14743 fi 14744 14745 if test "$enable_valgrind" = "no"; then : 14746 14747 enable_valgrind_drd=no 14748 elif test "$enable_valgrind_drd" != "no"; then : 14749 14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool drd" >&5 14751 $as_echo_n "checking for Valgrind tool drd... " >&6; } 14752 if ${ax_cv_valgrind_tool_drd+:} false; then : 14753 $as_echo_n "(cached) " >&6 14754 else 14755 14756 ax_cv_valgrind_tool_drd=no 14757 14758 if `$VALGRIND --tool=drd --help >/dev/null 2>&1`; then : 14759 14760 ax_cv_valgrind_tool_drd=yes 14761 14762 fi 14763 14764 fi 14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_drd" >&5 14766 $as_echo "$ax_cv_valgrind_tool_drd" >&6; } 14767 if test "$ax_cv_valgrind_tool_drd" = "no"; then : 14768 14769 if test "$enable_valgrind_drd" = "yes"; then : 14770 14771 as_fn_error $? "Valgrind does not support drd; reconfigure with --disable-valgrind-drd" "$LINENO" 5 14772 14773 else 14774 14775 enable_valgrind_drd=no 14776 14777 fi 14778 14779 else 14780 14781 enable_valgrind_drd=yes 14782 14783 fi 14784 14785 fi 14786 if test "$enable_valgrind_drd" = "yes"; then : 14787 14788 valgrind_enabled_tools="$valgrind_enabled_tools drd" 14789 14790 fi 14791 ENABLE_VALGRIND_drd=$enable_valgrind_drd 14792 14793 14794 14795 # Check whether --enable-valgrind-sgcheck was given. 14796 if test "${enable_valgrind_sgcheck+set}" = set; then : 14797 enableval=$enable_valgrind_sgcheck; enable_valgrind_sgcheck=$enableval 14798 else 14799 enable_valgrind_sgcheck= 14800 fi 14801 14802 if test "$enable_valgrind" = "no"; then : 14803 14804 enable_valgrind_sgcheck=no 14805 elif test "$enable_valgrind_sgcheck" = "yes"; then : 14806 14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool sgcheck" >&5 14808 $as_echo_n "checking for Valgrind tool sgcheck... " >&6; } 14809 if ${ax_cv_valgrind_tool_sgcheck+:} false; then : 14810 $as_echo_n "(cached) " >&6 14811 else 14812 14813 ax_cv_valgrind_tool_sgcheck=no 14814 14815 if `$VALGRIND --tool=exp-sgcheck --help >/dev/null 2>&1`; then : 14816 14817 ax_cv_valgrind_tool_sgcheck=yes 14818 14819 fi 14820 14821 fi 14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_sgcheck" >&5 14823 $as_echo "$ax_cv_valgrind_tool_sgcheck" >&6; } 14824 if test "$ax_cv_valgrind_tool_sgcheck" = "no"; then : 14825 14826 if test "$enable_valgrind_sgcheck" = "yes"; then : 14827 14828 as_fn_error $? "Valgrind does not support sgcheck; reconfigure with --disable-valgrind-sgcheck" "$LINENO" 5 14829 14830 else 14831 14832 enable_valgrind_sgcheck=no 14833 14834 fi 14835 14836 else 14837 14838 enable_valgrind_sgcheck=yes 14839 14840 fi 14841 14842 fi 14843 if test "$enable_valgrind_sgcheck" = "yes"; then : 14844 14845 valgrind_enabled_tools="$valgrind_enabled_tools sgcheck" 14846 14847 fi 14848 ENABLE_VALGRIND_sgcheck=$enable_valgrind_sgcheck 14849 14850 14851 14852 valgrind_tools="memcheck helgrind drd sgcheck" 14853 14854 valgrind_enabled_tools=$valgrind_enabled_tools 14855 14856 14857 VALGRIND_CHECK_RULES=' 14858 # Valgrind check 14859 # 14860 # Optional: 14861 # - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions 14862 # files to load. (Default: empty) 14863 # - VALGRIND_FLAGS: General flags to pass to all Valgrind tools. 14864 # (Default: --num-callers=30) 14865 # - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of: 14866 # memcheck, helgrind, drd, sgcheck). (Default: various) 14867 14868 # Optional variables 14869 VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES)) 14870 VALGRIND_FLAGS ?= --num-callers=30 14871 VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no 14872 VALGRIND_helgrind_FLAGS ?= --history-level=approx 14873 VALGRIND_drd_FLAGS ?= 14874 VALGRIND_sgcheck_FLAGS ?= 14875 14876 # Internal use 14877 valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools))) 14878 14879 valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS) 14880 valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS) 14881 valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS) 14882 valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS) 14883 14884 valgrind_quiet = $(valgrind_quiet_$(V)) 14885 valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY)) 14886 valgrind_quiet_0 = --quiet 14887 valgrind_v_use = $(valgrind_v_use_$(V)) 14888 valgrind_v_use_ = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY)) 14889 valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%,%,$''@):; 14890 14891 # Support running with and without libtool. 14892 ifneq ($(LIBTOOL),) 14893 valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute 14894 else 14895 valgrind_lt = 14896 endif 14897 14898 # Use recursive makes in order to ignore errors during check 14899 check-valgrind: 14900 ifeq ($(VALGRIND_ENABLED),yes) 14901 $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \ 14902 $(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool)) 14903 else 14904 @echo "Need to reconfigure with --enable-valgrind" 14905 endif 14906 14907 # Valgrind running 14908 VALGRIND_TESTS_ENVIRONMENT = \ 14909 $(TESTS_ENVIRONMENT) \ 14910 env VALGRIND=$(VALGRIND) \ 14911 G_SLICE=always-malloc,debug-blocks \ 14912 G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly 14913 14914 VALGRIND_LOG_COMPILER = \ 14915 $(valgrind_lt) \ 14916 $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS) 14917 14918 define valgrind_tool_rule 14919 check-valgrind-$(1): $$(BUILT_SOURCES) 14920 ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes) 14921 $$(valgrind_v_use)$$(MAKE) $$(AM_MAKEFLAGS) check-am \ 14922 TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \ 14923 LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \ 14924 LOG_FLAGS="$$(valgrind_$(1)_flags)" \ 14925 TEST_SUITE_LOG=test-suite-$(1).log 14926 else ifeq ($$(VALGRIND_ENABLED),yes) 14927 @echo "Need to reconfigure with --enable-valgrind-$(1)" 14928 else 14929 @echo "Need to reconfigure with --enable-valgrind" 14930 endif 14931 endef 14932 14933 $(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool)))) 14934 14935 A''M_DISTCHECK_CONFIGURE_FLAGS ?= 14936 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind 14937 14938 MOSTLYCLEANFILES ?= 14939 MOSTLYCLEANFILES += $(valgrind_log_files) 14940 14941 .PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools)) 14942 ' 14943 14944 14945 14946 14947 14948 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" 14949 14950 cat >confcache <<\_ACEOF 14951 # This file is a shell script that caches the results of configure 14952 # tests run on this system so they can be shared between configure 14953 # scripts and configure runs, see configure's option --config-cache. 14954 # It is not useful on other systems. If it contains results you don't 14955 # want to keep, you may remove or edit it. 14956 # 14957 # config.status only pays attention to the cache file if you give it 14958 # the --recheck option to rerun configure. 14959 # 14960 # `ac_cv_env_foo' variables (set or unset) will be overridden when 14961 # loading this file, other *unset* `ac_cv_foo' will be assigned the 14962 # following values. 14963 14964 _ACEOF 14965 14966 # The following way of writing the cache mishandles newlines in values, 14967 # but we know of no workaround that is simple, portable, and efficient. 14968 # So, we kill variables containing newlines. 14969 # Ultrix sh set writes to stderr and can't be redirected directly, 14970 # and sets the high bit in the cache file unless we assign to the vars. 14971 ( 14972 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 14973 eval ac_val=\$$ac_var 14974 case $ac_val in #( 14975 *${as_nl}*) 14976 case $ac_var in #( 14977 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 14978 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 14979 esac 14980 case $ac_var in #( 14981 _ | IFS | as_nl) ;; #( 14982 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 14983 *) { eval $ac_var=; unset $ac_var;} ;; 14984 esac ;; 14985 esac 14986 done 14987 14988 (set) 2>&1 | 14989 case $as_nl`(ac_space=' '; set) 2>&1` in #( 14990 *${as_nl}ac_space=\ *) 14991 # `set' does not quote correctly, so add quotes: double-quote 14992 # substitution turns \\\\ into \\, and sed turns \\ into \. 14993 sed -n \ 14994 "s/'/'\\\\''/g; 14995 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 14996 ;; #( 14997 *) 14998 # `set' quotes correctly as required by POSIX, so do not add quotes. 14999 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 15000 ;; 15001 esac | 15002 sort 15003 ) | 15004 sed ' 15005 /^ac_cv_env_/b end 15006 t clear 15007 :clear 15008 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 15009 t end 15010 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 15011 :end' >>confcache 15012 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15013 if test -w "$cache_file"; then 15014 if test "x$cache_file" != "x/dev/null"; then 15015 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 15016 $as_echo "$as_me: updating cache $cache_file" >&6;} 15017 if test ! -f "$cache_file" || test -h "$cache_file"; then 15018 cat confcache >"$cache_file" 15019 else 15020 case $cache_file in #( 15021 */* | ?:*) 15022 mv -f confcache "$cache_file"$$ && 15023 mv -f "$cache_file"$$ "$cache_file" ;; #( 15024 *) 15025 mv -f confcache "$cache_file" ;; 15026 esac 15027 fi 15028 fi 15029 else 15030 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 15031 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15032 fi 15033 fi 15034 rm -f confcache 15035 15036 test "x$prefix" = xNONE && prefix=$ac_default_prefix 15037 # Let make expand exec_prefix. 15038 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 15039 15040 DEFS=-DHAVE_CONFIG_H 15041 15042 ac_libobjs= 15043 ac_ltlibobjs= 15044 U= 15045 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15046 # 1. Remove the extension, and $U if already installed. 15047 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15048 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15049 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15050 # will be set to the directory where LIBOBJS objects are built. 15051 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 15052 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 15053 done 15054 LIBOBJS=$ac_libobjs 15055 15056 LTLIBOBJS=$ac_ltlibobjs 15057 15058 15059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 15060 $as_echo_n "checking that generated files are newer than configure... " >&6; } 15061 if test -n "$am_sleep_pid"; then 15062 # Hide warnings about reused PIDs. 15063 wait $am_sleep_pid 2>/dev/null 15064 fi 15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 15066 $as_echo "done" >&6; } 15067 if test -n "$EXEEXT"; then 15068 am__EXEEXT_TRUE= 15069 am__EXEEXT_FALSE='#' 15070 else 15071 am__EXEEXT_TRUE='#' 15072 am__EXEEXT_FALSE= 15073 fi 15074 15075 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 15076 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 15077 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15078 fi 15079 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 15080 as_fn_error $? "conditional \"AMDEP\" was never defined. 15081 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15082 fi 15083 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 15084 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 15085 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15086 fi 15087 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 15088 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 15089 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15090 fi 15091 if test -z "${CODE_COVERAGE_ENABLED_TRUE}" && test -z "${CODE_COVERAGE_ENABLED_FALSE}"; then 15092 as_fn_error $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined. 15093 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15094 fi 15095 15096 if test -z "${USE_LIBUNWIND_TRUE}" && test -z "${USE_LIBUNWIND_FALSE}"; then 15097 as_fn_error $? "conditional \"USE_LIBUNWIND\" was never defined. 15098 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15099 fi 15100 if test -z "${USE_DEMANGLE_TRUE}" && test -z "${USE_DEMANGLE_FALSE}"; then 15101 as_fn_error $? "conditional \"USE_DEMANGLE\" was never defined. 15102 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15103 fi 15104 if test -z "${HAVE_M32_RUNTIME_TRUE}" && test -z "${HAVE_M32_RUNTIME_FALSE}"; then 15105 as_fn_error $? "conditional \"HAVE_M32_RUNTIME\" was never defined. 15106 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15107 fi 15108 if test -z "${HAVE_M32_MPERS_TRUE}" && test -z "${HAVE_M32_MPERS_FALSE}"; then 15109 as_fn_error $? "conditional \"HAVE_M32_MPERS\" was never defined. 15110 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15111 fi 15112 if test -z "${HAVE_MX32_RUNTIME_TRUE}" && test -z "${HAVE_MX32_RUNTIME_FALSE}"; then 15113 as_fn_error $? "conditional \"HAVE_MX32_RUNTIME\" was never defined. 15114 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15115 fi 15116 if test -z "${HAVE_MX32_MPERS_TRUE}" && test -z "${HAVE_MX32_MPERS_FALSE}"; then 15117 as_fn_error $? "conditional \"HAVE_MX32_MPERS\" was never defined. 15118 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15119 fi 15120 if test -z "${VALGRIND_ENABLED_TRUE}" && test -z "${VALGRIND_ENABLED_FALSE}"; then 15121 as_fn_error $? "conditional \"VALGRIND_ENABLED\" was never defined. 15122 Usually this means the macro was only invoked conditionally." "$LINENO" 5 15123 fi 15124 15125 : "${CONFIG_STATUS=./config.status}" 15126 ac_write_fail=0 15127 ac_clean_files_save=$ac_clean_files 15128 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15129 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 15130 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15131 as_write_fail=0 15132 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 15133 #! $SHELL 15134 # Generated by $as_me. 15135 # Run this file to recreate the current configuration. 15136 # Compiler output produced by configure, useful for debugging 15137 # configure, is in config.log if it exists. 15138 15139 debug=false 15140 ac_cs_recheck=false 15141 ac_cs_silent=false 15142 15143 SHELL=\${CONFIG_SHELL-$SHELL} 15144 export SHELL 15145 _ASEOF 15146 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 15147 ## -------------------- ## 15148 ## M4sh Initialization. ## 15149 ## -------------------- ## 15150 15151 # Be more Bourne compatible 15152 DUALCASE=1; export DUALCASE # for MKS sh 15153 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15154 emulate sh 15155 NULLCMD=: 15156 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15157 # is contrary to our usage. Disable this feature. 15158 alias -g '${1+"$@"}'='"$@"' 15159 setopt NO_GLOB_SUBST 15160 else 15161 case `(set -o) 2>/dev/null` in #( 15162 *posix*) : 15163 set -o posix ;; #( 15164 *) : 15165 ;; 15166 esac 15167 fi 15168 15169 15170 as_nl=' 15171 ' 15172 export as_nl 15173 # Printing a long string crashes Solaris 7 /usr/bin/printf. 15174 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 15175 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 15176 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 15177 # Prefer a ksh shell builtin over an external printf program on Solaris, 15178 # but without wasting forks for bash or zsh. 15179 if test -z "$BASH_VERSION$ZSH_VERSION" \ 15180 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 15181 as_echo='print -r --' 15182 as_echo_n='print -rn --' 15183 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 15184 as_echo='printf %s\n' 15185 as_echo_n='printf %s' 15186 else 15187 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 15188 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 15189 as_echo_n='/usr/ucb/echo -n' 15190 else 15191 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 15192 as_echo_n_body='eval 15193 arg=$1; 15194 case $arg in #( 15195 *"$as_nl"*) 15196 expr "X$arg" : "X\\(.*\\)$as_nl"; 15197 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 15198 esac; 15199 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 15200 ' 15201 export as_echo_n_body 15202 as_echo_n='sh -c $as_echo_n_body as_echo' 15203 fi 15204 export as_echo_body 15205 as_echo='sh -c $as_echo_body as_echo' 15206 fi 15207 15208 # The user is always right. 15209 if test "${PATH_SEPARATOR+set}" != set; then 15210 PATH_SEPARATOR=: 15211 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 15212 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 15213 PATH_SEPARATOR=';' 15214 } 15215 fi 15216 15217 15218 # IFS 15219 # We need space, tab and new line, in precisely that order. Quoting is 15220 # there to prevent editors from complaining about space-tab. 15221 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 15222 # splitting by setting IFS to empty value.) 15223 IFS=" "" $as_nl" 15224 15225 # Find who we are. Look in the path if we contain no directory separator. 15226 as_myself= 15227 case $0 in #(( 15228 *[\\/]* ) as_myself=$0 ;; 15229 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15230 for as_dir in $PATH 15231 do 15232 IFS=$as_save_IFS 15233 test -z "$as_dir" && as_dir=. 15234 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15235 done 15236 IFS=$as_save_IFS 15237 15238 ;; 15239 esac 15240 # We did not find ourselves, most probably we were run as `sh COMMAND' 15241 # in which case we are not to be found in the path. 15242 if test "x$as_myself" = x; then 15243 as_myself=$0 15244 fi 15245 if test ! -f "$as_myself"; then 15246 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15247 exit 1 15248 fi 15249 15250 # Unset variables that we do not need and which cause bugs (e.g. in 15251 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 15252 # suppresses any "Segmentation fault" message there. '((' could 15253 # trigger a bug in pdksh 5.2.14. 15254 for as_var in BASH_ENV ENV MAIL MAILPATH 15255 do eval test x\${$as_var+set} = xset \ 15256 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 15257 done 15258 PS1='$ ' 15259 PS2='> ' 15260 PS4='+ ' 15261 15262 # NLS nuisances. 15263 LC_ALL=C 15264 export LC_ALL 15265 LANGUAGE=C 15266 export LANGUAGE 15267 15268 # CDPATH. 15269 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15270 15271 15272 # as_fn_error STATUS ERROR [LINENO LOG_FD] 15273 # ---------------------------------------- 15274 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15275 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15276 # script with STATUS, using 1 if that was 0. 15277 as_fn_error () 15278 { 15279 as_status=$1; test $as_status -eq 0 && as_status=1 15280 if test "$4"; then 15281 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15282 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 15283 fi 15284 $as_echo "$as_me: error: $2" >&2 15285 as_fn_exit $as_status 15286 } # as_fn_error 15287 15288 15289 # as_fn_set_status STATUS 15290 # ----------------------- 15291 # Set $? to STATUS, without forking. 15292 as_fn_set_status () 15293 { 15294 return $1 15295 } # as_fn_set_status 15296 15297 # as_fn_exit STATUS 15298 # ----------------- 15299 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 15300 as_fn_exit () 15301 { 15302 set +e 15303 as_fn_set_status $1 15304 exit $1 15305 } # as_fn_exit 15306 15307 # as_fn_unset VAR 15308 # --------------- 15309 # Portably unset VAR. 15310 as_fn_unset () 15311 { 15312 { eval $1=; unset $1;} 15313 } 15314 as_unset=as_fn_unset 15315 # as_fn_append VAR VALUE 15316 # ---------------------- 15317 # Append the text in VALUE to the end of the definition contained in VAR. Take 15318 # advantage of any shell optimizations that allow amortized linear growth over 15319 # repeated appends, instead of the typical quadratic growth present in naive 15320 # implementations. 15321 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 15322 eval 'as_fn_append () 15323 { 15324 eval $1+=\$2 15325 }' 15326 else 15327 as_fn_append () 15328 { 15329 eval $1=\$$1\$2 15330 } 15331 fi # as_fn_append 15332 15333 # as_fn_arith ARG... 15334 # ------------------ 15335 # Perform arithmetic evaluation on the ARGs, and store the result in the 15336 # global $as_val. Take advantage of shells that can avoid forks. The arguments 15337 # must be portable across $(()) and expr. 15338 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 15339 eval 'as_fn_arith () 15340 { 15341 as_val=$(( $* )) 15342 }' 15343 else 15344 as_fn_arith () 15345 { 15346 as_val=`expr "$@" || test $? -eq 1` 15347 } 15348 fi # as_fn_arith 15349 15350 15351 if expr a : '\(a\)' >/dev/null 2>&1 && 15352 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15353 as_expr=expr 15354 else 15355 as_expr=false 15356 fi 15357 15358 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 15359 as_basename=basename 15360 else 15361 as_basename=false 15362 fi 15363 15364 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15365 as_dirname=dirname 15366 else 15367 as_dirname=false 15368 fi 15369 15370 as_me=`$as_basename -- "$0" || 15371 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15372 X"$0" : 'X\(//\)$' \| \ 15373 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15374 $as_echo X/"$0" | 15375 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15376 s//\1/ 15377 q 15378 } 15379 /^X\/\(\/\/\)$/{ 15380 s//\1/ 15381 q 15382 } 15383 /^X\/\(\/\).*/{ 15384 s//\1/ 15385 q 15386 } 15387 s/.*/./; q'` 15388 15389 # Avoid depending upon Character Ranges. 15390 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15391 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15392 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15393 as_cr_digits='0123456789' 15394 as_cr_alnum=$as_cr_Letters$as_cr_digits 15395 15396 ECHO_C= ECHO_N= ECHO_T= 15397 case `echo -n x` in #((((( 15398 -n*) 15399 case `echo 'xy\c'` in 15400 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15401 xy) ECHO_C='\c';; 15402 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 15403 ECHO_T=' ';; 15404 esac;; 15405 *) 15406 ECHO_N='-n';; 15407 esac 15408 15409 rm -f conf$$ conf$$.exe conf$$.file 15410 if test -d conf$$.dir; then 15411 rm -f conf$$.dir/conf$$.file 15412 else 15413 rm -f conf$$.dir 15414 mkdir conf$$.dir 2>/dev/null 15415 fi 15416 if (echo >conf$$.file) 2>/dev/null; then 15417 if ln -s conf$$.file conf$$ 2>/dev/null; then 15418 as_ln_s='ln -s' 15419 # ... but there are two gotchas: 15420 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15421 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15422 # In both cases, we have to default to `cp -pR'. 15423 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15424 as_ln_s='cp -pR' 15425 elif ln conf$$.file conf$$ 2>/dev/null; then 15426 as_ln_s=ln 15427 else 15428 as_ln_s='cp -pR' 15429 fi 15430 else 15431 as_ln_s='cp -pR' 15432 fi 15433 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15434 rmdir conf$$.dir 2>/dev/null 15435 15436 15437 # as_fn_mkdir_p 15438 # ------------- 15439 # Create "$as_dir" as a directory, including parents if necessary. 15440 as_fn_mkdir_p () 15441 { 15442 15443 case $as_dir in #( 15444 -*) as_dir=./$as_dir;; 15445 esac 15446 test -d "$as_dir" || eval $as_mkdir_p || { 15447 as_dirs= 15448 while :; do 15449 case $as_dir in #( 15450 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 15451 *) as_qdir=$as_dir;; 15452 esac 15453 as_dirs="'$as_qdir' $as_dirs" 15454 as_dir=`$as_dirname -- "$as_dir" || 15455 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15456 X"$as_dir" : 'X\(//\)[^/]' \| \ 15457 X"$as_dir" : 'X\(//\)$' \| \ 15458 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 15459 $as_echo X"$as_dir" | 15460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15461 s//\1/ 15462 q 15463 } 15464 /^X\(\/\/\)[^/].*/{ 15465 s//\1/ 15466 q 15467 } 15468 /^X\(\/\/\)$/{ 15469 s//\1/ 15470 q 15471 } 15472 /^X\(\/\).*/{ 15473 s//\1/ 15474 q 15475 } 15476 s/.*/./; q'` 15477 test -d "$as_dir" && break 15478 done 15479 test -z "$as_dirs" || eval "mkdir $as_dirs" 15480 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 15481 15482 15483 } # as_fn_mkdir_p 15484 if mkdir -p . 2>/dev/null; then 15485 as_mkdir_p='mkdir -p "$as_dir"' 15486 else 15487 test -d ./-p && rmdir ./-p 15488 as_mkdir_p=false 15489 fi 15490 15491 15492 # as_fn_executable_p FILE 15493 # ----------------------- 15494 # Test if FILE is an executable regular file. 15495 as_fn_executable_p () 15496 { 15497 test -f "$1" && test -x "$1" 15498 } # as_fn_executable_p 15499 as_test_x='test -x' 15500 as_executable_p=as_fn_executable_p 15501 15502 # Sed expression to map a string onto a valid CPP name. 15503 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 15504 15505 # Sed expression to map a string onto a valid variable name. 15506 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 15507 15508 15509 exec 6>&1 15510 ## ----------------------------------- ## 15511 ## Main body of $CONFIG_STATUS script. ## 15512 ## ----------------------------------- ## 15513 _ASEOF 15514 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 15515 15516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15517 # Save the log message, to keep $0 and so on meaningful, and to 15518 # report actual input values of CONFIG_FILES etc. instead of their 15519 # values after options handling. 15520 ac_log=" 15521 This file was extended by strace $as_me 4.21, which was 15522 generated by GNU Autoconf 2.69. Invocation command line was 15523 15524 CONFIG_FILES = $CONFIG_FILES 15525 CONFIG_HEADERS = $CONFIG_HEADERS 15526 CONFIG_LINKS = $CONFIG_LINKS 15527 CONFIG_COMMANDS = $CONFIG_COMMANDS 15528 $ $0 $@ 15529 15530 on `(hostname || uname -n) 2>/dev/null | sed 1q` 15531 " 15532 15533 _ACEOF 15534 15535 case $ac_config_files in *" 15536 "*) set x $ac_config_files; shift; ac_config_files=$*;; 15537 esac 15538 15539 case $ac_config_headers in *" 15540 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 15541 esac 15542 15543 15544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15545 # Files that config.status was made for. 15546 config_files="$ac_config_files" 15547 config_headers="$ac_config_headers" 15548 config_commands="$ac_config_commands" 15549 15550 _ACEOF 15551 15552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15553 ac_cs_usage="\ 15554 \`$as_me' instantiates files and other configuration actions 15555 from templates according to the current configuration. Unless the files 15556 and actions are specified as TAGs, all are instantiated by default. 15557 15558 Usage: $0 [OPTION]... [TAG]... 15559 15560 -h, --help print this help, then exit 15561 -V, --version print version number and configuration settings, then exit 15562 --config print configuration, then exit 15563 -q, --quiet, --silent 15564 do not print progress messages 15565 -d, --debug don't remove temporary files 15566 --recheck update $as_me by reconfiguring in the same conditions 15567 --file=FILE[:TEMPLATE] 15568 instantiate the configuration file FILE 15569 --header=FILE[:TEMPLATE] 15570 instantiate the configuration header FILE 15571 15572 Configuration files: 15573 $config_files 15574 15575 Configuration headers: 15576 $config_headers 15577 15578 Configuration commands: 15579 $config_commands 15580 15581 Report bugs to <strace-devel@lists.sourceforge.net>. 15582 strace home page: <https://strace.io>." 15583 15584 _ACEOF 15585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15586 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15587 ac_cs_version="\\ 15588 strace config.status 4.21 15589 configured by $0, generated by GNU Autoconf 2.69, 15590 with options \\"\$ac_cs_config\\" 15591 15592 Copyright (C) Free Software Foundation, Inc. 15593 This config.status script is free software; the Free Software Foundation 15594 gives unlimited permission to copy, distribute and modify it." 15595 15596 ac_pwd='$ac_pwd' 15597 srcdir='$srcdir' 15598 INSTALL='$INSTALL' 15599 MKDIR_P='$MKDIR_P' 15600 AWK='$AWK' 15601 test -n "\$AWK" || AWK=awk 15602 _ACEOF 15603 15604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15605 # The default lists apply if the user does not specify any file. 15606 ac_need_defaults=: 15607 while test $# != 0 15608 do 15609 case $1 in 15610 --*=?*) 15611 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15612 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15613 ac_shift=: 15614 ;; 15615 --*=) 15616 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15617 ac_optarg= 15618 ac_shift=: 15619 ;; 15620 *) 15621 ac_option=$1 15622 ac_optarg=$2 15623 ac_shift=shift 15624 ;; 15625 esac 15626 15627 case $ac_option in 15628 # Handling of the options. 15629 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 15630 ac_cs_recheck=: ;; 15631 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 15632 $as_echo "$ac_cs_version"; exit ;; 15633 --config | --confi | --conf | --con | --co | --c ) 15634 $as_echo "$ac_cs_config"; exit ;; 15635 --debug | --debu | --deb | --de | --d | -d ) 15636 debug=: ;; 15637 --file | --fil | --fi | --f ) 15638 $ac_shift 15639 case $ac_optarg in 15640 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15641 '') as_fn_error $? "missing file argument" ;; 15642 esac 15643 as_fn_append CONFIG_FILES " '$ac_optarg'" 15644 ac_need_defaults=false;; 15645 --header | --heade | --head | --hea ) 15646 $ac_shift 15647 case $ac_optarg in 15648 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15649 esac 15650 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15651 ac_need_defaults=false;; 15652 --he | --h) 15653 # Conflict between --help and --header 15654 as_fn_error $? "ambiguous option: \`$1' 15655 Try \`$0 --help' for more information.";; 15656 --help | --hel | -h ) 15657 $as_echo "$ac_cs_usage"; exit ;; 15658 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15659 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15660 ac_cs_silent=: ;; 15661 15662 # This is an error. 15663 -*) as_fn_error $? "unrecognized option: \`$1' 15664 Try \`$0 --help' for more information." ;; 15665 15666 *) as_fn_append ac_config_targets " $1" 15667 ac_need_defaults=false ;; 15668 15669 esac 15670 shift 15671 done 15672 15673 ac_configure_extra_args= 15674 15675 if $ac_cs_silent; then 15676 exec 6>/dev/null 15677 ac_configure_extra_args="$ac_configure_extra_args --silent" 15678 fi 15679 15680 _ACEOF 15681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15682 if \$ac_cs_recheck; then 15683 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 15684 shift 15685 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 15686 CONFIG_SHELL='$SHELL' 15687 export CONFIG_SHELL 15688 exec "\$@" 15689 fi 15690 15691 _ACEOF 15692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15693 exec 5>>config.log 15694 { 15695 echo 15696 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 15697 ## Running $as_me. ## 15698 _ASBOX 15699 $as_echo "$ac_log" 15700 } >&5 15701 15702 _ACEOF 15703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15704 # 15705 # INIT-COMMANDS 15706 # 15707 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 15708 15709 _ACEOF 15710 15711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15712 15713 # Handling of arguments. 15714 for ac_config_target in $ac_config_targets 15715 do 15716 case $ac_config_target in 15717 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 15718 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 15719 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 15720 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 15721 "tests-m32/Makefile") CONFIG_FILES="$CONFIG_FILES tests-m32/Makefile" ;; 15722 "tests-mx32/Makefile") CONFIG_FILES="$CONFIG_FILES tests-mx32/Makefile" ;; 15723 "strace.1") CONFIG_FILES="$CONFIG_FILES strace.1" ;; 15724 "strace-log-merge.1") CONFIG_FILES="$CONFIG_FILES strace-log-merge.1" ;; 15725 "strace.spec") CONFIG_FILES="$CONFIG_FILES strace.spec" ;; 15726 "debian/changelog") CONFIG_FILES="$CONFIG_FILES debian/changelog" ;; 15727 15728 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15729 esac 15730 done 15731 15732 15733 # If the user did not use the arguments to specify the items to instantiate, 15734 # then the envvar interface is used. Set only those that are not. 15735 # We use the long form for the default assignment because of an extremely 15736 # bizarre bug on SunOS 4.1.3. 15737 if $ac_need_defaults; then 15738 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 15739 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 15740 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 15741 fi 15742 15743 # Have a temporary directory for convenience. Make it in the build tree 15744 # simply because there is no reason against having it here, and in addition, 15745 # creating and moving files from /tmp can sometimes cause problems. 15746 # Hook for its removal unless debugging. 15747 # Note that there is a small window in which the directory will not be cleaned: 15748 # after its creation but before its name has been assigned to `$tmp'. 15749 $debug || 15750 { 15751 tmp= ac_tmp= 15752 trap 'exit_status=$? 15753 : "${ac_tmp:=$tmp}" 15754 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 15755 ' 0 15756 trap 'as_fn_exit 1' 1 2 13 15 15757 } 15758 # Create a (secure) tmp directory for tmp files. 15759 15760 { 15761 tmp=`(umask 077 && mktemp -d "./confXXXXXX")` && 15762 test -n "$tmp" && test -d "$tmp" 15763 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 15764 ac_tmp=$tmp 15765 15766 # Set up the scripts for CONFIG_FILES section. 15767 # No need to generate them if there are no CONFIG_FILES. 15768 # This happens for instance with `./config.status config.h'. 15769 if test -n "$CONFIG_FILES"; then 15770 15771 15772 ac_cr=`echo X | tr X '\015'` 15773 # On cygwin, bash can eat \r inside `` if the user requested igncr. 15774 # But we know of no other shell where ac_cr would be empty at this 15775 # point, so we can use a bashism as a fallback. 15776 if test "x$ac_cr" = x; then 15777 eval ac_cr=\$\'\\r\' 15778 fi 15779 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15780 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15781 ac_cs_awk_cr='\\r' 15782 else 15783 ac_cs_awk_cr=$ac_cr 15784 fi 15785 15786 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 15787 _ACEOF 15788 15789 15790 { 15791 echo "cat >conf$$subs.awk <<_ACEOF" && 15792 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15793 echo "_ACEOF" 15794 } >conf$$subs.sh || 15795 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15796 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 15797 ac_delim='%!_!# ' 15798 for ac_last_try in false false false false false :; do 15799 . ./conf$$subs.sh || 15800 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15801 15802 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15803 if test $ac_delim_n = $ac_delim_num; then 15804 break 15805 elif $ac_last_try; then 15806 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15807 else 15808 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15809 fi 15810 done 15811 rm -f conf$$subs.sh 15812 15813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15814 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 15815 _ACEOF 15816 sed -n ' 15817 h 15818 s/^/S["/; s/!.*/"]=/ 15819 p 15820 g 15821 s/^[^!]*!// 15822 :repl 15823 t repl 15824 s/'"$ac_delim"'$// 15825 t delim 15826 :nl 15827 h 15828 s/\(.\{148\}\)..*/\1/ 15829 t more1 15830 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 15831 p 15832 n 15833 b repl 15834 :more1 15835 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15836 p 15837 g 15838 s/.\{148\}// 15839 t nl 15840 :delim 15841 h 15842 s/\(.\{148\}\)..*/\1/ 15843 t more2 15844 s/["\\]/\\&/g; s/^/"/; s/$/"/ 15845 p 15846 b 15847 :more2 15848 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15849 p 15850 g 15851 s/.\{148\}// 15852 t delim 15853 ' <conf$$subs.awk | sed ' 15854 /^[^""]/{ 15855 N 15856 s/\n// 15857 } 15858 ' >>$CONFIG_STATUS || ac_write_fail=1 15859 rm -f conf$$subs.awk 15860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15861 _ACAWK 15862 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 15863 for (key in S) S_is_set[key] = 1 15864 FS = "" 15865 15866 } 15867 { 15868 line = $ 0 15869 nfields = split(line, field, "@") 15870 substed = 0 15871 len = length(field[1]) 15872 for (i = 2; i < nfields; i++) { 15873 key = field[i] 15874 keylen = length(key) 15875 if (S_is_set[key]) { 15876 value = S[key] 15877 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 15878 len += length(value) + length(field[++i]) 15879 substed = 1 15880 } else 15881 len += 1 + keylen 15882 } 15883 15884 print line 15885 } 15886 15887 _ACAWK 15888 _ACEOF 15889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15890 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15891 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15892 else 15893 cat 15894 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 15895 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 15896 _ACEOF 15897 15898 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 15899 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 15900 # trailing colons and then remove the whole line if VPATH becomes empty 15901 # (actually we leave an empty line to preserve line numbers). 15902 if test "x$srcdir" = x.; then 15903 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 15904 h 15905 s/// 15906 s/^/:/ 15907 s/[ ]*$/:/ 15908 s/:\$(srcdir):/:/g 15909 s/:\${srcdir}:/:/g 15910 s/:@srcdir@:/:/g 15911 s/^:*// 15912 s/:*$// 15913 x 15914 s/\(=[ ]*\).*/\1/ 15915 G 15916 s/\n// 15917 s/^[^=]*=[ ]*$// 15918 }' 15919 fi 15920 15921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15922 fi # test -n "$CONFIG_FILES" 15923 15924 # Set up the scripts for CONFIG_HEADERS section. 15925 # No need to generate them if there are no CONFIG_HEADERS. 15926 # This happens for instance with `./config.status Makefile'. 15927 if test -n "$CONFIG_HEADERS"; then 15928 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 15929 BEGIN { 15930 _ACEOF 15931 15932 # Transform confdefs.h into an awk script `defines.awk', embedded as 15933 # here-document in config.status, that substitutes the proper values into 15934 # config.h.in to produce config.h. 15935 15936 # Create a delimiter string that does not exist in confdefs.h, to ease 15937 # handling of long lines. 15938 ac_delim='%!_!# ' 15939 for ac_last_try in false false :; do 15940 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 15941 if test -z "$ac_tt"; then 15942 break 15943 elif $ac_last_try; then 15944 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 15945 else 15946 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15947 fi 15948 done 15949 15950 # For the awk script, D is an array of macro values keyed by name, 15951 # likewise P contains macro parameters if any. Preserve backslash 15952 # newline sequences. 15953 15954 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 15955 sed -n ' 15956 s/.\{148\}/&'"$ac_delim"'/g 15957 t rset 15958 :rset 15959 s/^[ ]*#[ ]*define[ ][ ]*/ / 15960 t def 15961 d 15962 :def 15963 s/\\$// 15964 t bsnl 15965 s/["\\]/\\&/g 15966 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15967 D["\1"]=" \3"/p 15968 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 15969 d 15970 :bsnl 15971 s/["\\]/\\&/g 15972 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15973 D["\1"]=" \3\\\\\\n"\\/p 15974 t cont 15975 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 15976 t cont 15977 d 15978 :cont 15979 n 15980 s/.\{148\}/&'"$ac_delim"'/g 15981 t clear 15982 :clear 15983 s/\\$// 15984 t bsnlc 15985 s/["\\]/\\&/g; s/^/"/; s/$/"/p 15986 d 15987 :bsnlc 15988 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 15989 b cont 15990 ' <confdefs.h | sed ' 15991 s/'"$ac_delim"'/"\\\ 15992 "/g' >>$CONFIG_STATUS || ac_write_fail=1 15993 15994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15995 for (key in D) D_is_set[key] = 1 15996 FS = "" 15997 } 15998 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 15999 line = \$ 0 16000 split(line, arg, " ") 16001 if (arg[1] == "#") { 16002 defundef = arg[2] 16003 mac1 = arg[3] 16004 } else { 16005 defundef = substr(arg[1], 2) 16006 mac1 = arg[2] 16007 } 16008 split(mac1, mac2, "(") #) 16009 macro = mac2[1] 16010 prefix = substr(line, 1, index(line, defundef) - 1) 16011 if (D_is_set[macro]) { 16012 # Preserve the white space surrounding the "#". 16013 print prefix "define", macro P[macro] D[macro] 16014 next 16015 } else { 16016 # Replace #undef with comments. This is necessary, for example, 16017 # in the case of _POSIX_SOURCE, which is predefined and required 16018 # on some systems where configure will not decide to define it. 16019 if (defundef == "undef") { 16020 print "/*", prefix defundef, macro, "*/" 16021 next 16022 } 16023 } 16024 } 16025 { print } 16026 _ACAWK 16027 _ACEOF 16028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16029 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 16030 fi # test -n "$CONFIG_HEADERS" 16031 16032 16033 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16034 shift 16035 for ac_tag 16036 do 16037 case $ac_tag in 16038 :[FHLC]) ac_mode=$ac_tag; continue;; 16039 esac 16040 case $ac_mode$ac_tag in 16041 :[FHL]*:*);; 16042 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 16043 :[FH]-) ac_tag=-:-;; 16044 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16045 esac 16046 ac_save_IFS=$IFS 16047 IFS=: 16048 set x $ac_tag 16049 IFS=$ac_save_IFS 16050 shift 16051 ac_file=$1 16052 shift 16053 16054 case $ac_mode in 16055 :L) ac_source=$1;; 16056 :[FH]) 16057 ac_file_inputs= 16058 for ac_f 16059 do 16060 case $ac_f in 16061 -) ac_f="$ac_tmp/stdin";; 16062 *) # Look for the file first in the build tree, then in the source tree 16063 # (if the path is not absolute). The absolute path cannot be DOS-style, 16064 # because $ac_f cannot contain `:'. 16065 test -f "$ac_f" || 16066 case $ac_f in 16067 [\\/$]*) false;; 16068 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16069 esac || 16070 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16071 esac 16072 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16073 as_fn_append ac_file_inputs " '$ac_f'" 16074 done 16075 16076 # Let's still pretend it is `configure' which instantiates (i.e., don't 16077 # use $as_me), people would be surprised to read: 16078 # /* config.h. Generated by config.status. */ 16079 configure_input='Generated from '` 16080 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 16081 `' by configure.' 16082 if test x"$ac_file" != x-; then 16083 configure_input="$ac_file. $configure_input" 16084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 16085 $as_echo "$as_me: creating $ac_file" >&6;} 16086 fi 16087 # Neutralize special characters interpreted by sed in replacement strings. 16088 case $configure_input in #( 16089 *\&* | *\|* | *\\* ) 16090 ac_sed_conf_input=`$as_echo "$configure_input" | 16091 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16092 *) ac_sed_conf_input=$configure_input;; 16093 esac 16094 16095 case $ac_tag in 16096 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 16097 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 16098 esac 16099 ;; 16100 esac 16101 16102 ac_dir=`$as_dirname -- "$ac_file" || 16103 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16104 X"$ac_file" : 'X\(//\)[^/]' \| \ 16105 X"$ac_file" : 'X\(//\)$' \| \ 16106 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16107 $as_echo X"$ac_file" | 16108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16109 s//\1/ 16110 q 16111 } 16112 /^X\(\/\/\)[^/].*/{ 16113 s//\1/ 16114 q 16115 } 16116 /^X\(\/\/\)$/{ 16117 s//\1/ 16118 q 16119 } 16120 /^X\(\/\).*/{ 16121 s//\1/ 16122 q 16123 } 16124 s/.*/./; q'` 16125 as_dir="$ac_dir"; as_fn_mkdir_p 16126 ac_builddir=. 16127 16128 case "$ac_dir" in 16129 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16130 *) 16131 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16132 # A ".." for each directory in $ac_dir_suffix. 16133 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16134 case $ac_top_builddir_sub in 16135 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 16136 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 16137 esac ;; 16138 esac 16139 ac_abs_top_builddir=$ac_pwd 16140 ac_abs_builddir=$ac_pwd$ac_dir_suffix 16141 # for backward compatibility: 16142 ac_top_builddir=$ac_top_build_prefix 16143 16144 case $srcdir in 16145 .) # We are building in place. 16146 ac_srcdir=. 16147 ac_top_srcdir=$ac_top_builddir_sub 16148 ac_abs_top_srcdir=$ac_pwd ;; 16149 [\\/]* | ?:[\\/]* ) # Absolute name. 16150 ac_srcdir=$srcdir$ac_dir_suffix; 16151 ac_top_srcdir=$srcdir 16152 ac_abs_top_srcdir=$srcdir ;; 16153 *) # Relative name. 16154 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 16155 ac_top_srcdir=$ac_top_build_prefix$srcdir 16156 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 16157 esac 16158 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 16159 16160 16161 case $ac_mode in 16162 :F) 16163 # 16164 # CONFIG_FILE 16165 # 16166 16167 case $INSTALL in 16168 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 16169 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 16170 esac 16171 ac_MKDIR_P=$MKDIR_P 16172 case $MKDIR_P in 16173 [\\/$]* | ?:[\\/]* ) ;; 16174 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 16175 esac 16176 _ACEOF 16177 16178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16179 # If the template does not know about datarootdir, expand it. 16180 # FIXME: This hack should be removed a few years after 2.60. 16181 ac_datarootdir_hack=; ac_datarootdir_seen= 16182 ac_sed_dataroot=' 16183 /datarootdir/ { 16184 p 16185 q 16186 } 16187 /@datadir@/p 16188 /@docdir@/p 16189 /@infodir@/p 16190 /@localedir@/p 16191 /@mandir@/p' 16192 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 16193 *datarootdir*) ac_datarootdir_seen=yes;; 16194 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 16195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 16196 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 16197 _ACEOF 16198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16199 ac_datarootdir_hack=' 16200 s&@datadir@&$datadir&g 16201 s&@docdir@&$docdir&g 16202 s&@infodir@&$infodir&g 16203 s&@localedir@&$localedir&g 16204 s&@mandir@&$mandir&g 16205 s&\\\${datarootdir}&$datarootdir&g' ;; 16206 esac 16207 _ACEOF 16208 16209 # Neutralize VPATH when `$srcdir' = `.'. 16210 # Shell code in configure.ac might set extrasub. 16211 # FIXME: do we really want to maintain this feature? 16212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16213 ac_sed_extra="$ac_vpsub 16214 $extrasub 16215 _ACEOF 16216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16217 :t 16218 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16219 s|@configure_input@|$ac_sed_conf_input|;t t 16220 s&@top_builddir@&$ac_top_builddir_sub&;t t 16221 s&@top_build_prefix@&$ac_top_build_prefix&;t t 16222 s&@srcdir@&$ac_srcdir&;t t 16223 s&@abs_srcdir@&$ac_abs_srcdir&;t t 16224 s&@top_srcdir@&$ac_top_srcdir&;t t 16225 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 16226 s&@builddir@&$ac_builddir&;t t 16227 s&@abs_builddir@&$ac_abs_builddir&;t t 16228 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 16229 s&@INSTALL@&$ac_INSTALL&;t t 16230 s&@MKDIR_P@&$ac_MKDIR_P&;t t 16231 $ac_datarootdir_hack 16232 " 16233 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 16234 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16235 16236 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16237 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 16238 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 16239 "$ac_tmp/out"`; test -z "$ac_out"; } && 16240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16241 which seems to be undefined. Please make sure it is defined" >&5 16242 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16243 which seems to be undefined. Please make sure it is defined" >&2;} 16244 16245 rm -f "$ac_tmp/stdin" 16246 case $ac_file in 16247 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 16248 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 16249 esac \ 16250 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16251 ;; 16252 :H) 16253 # 16254 # CONFIG_HEADER 16255 # 16256 if test x"$ac_file" != x-; then 16257 { 16258 $as_echo "/* $configure_input */" \ 16259 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 16260 } >"$ac_tmp/config.h" \ 16261 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16262 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 16263 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16264 $as_echo "$as_me: $ac_file is unchanged" >&6;} 16265 else 16266 rm -f "$ac_file" 16267 mv "$ac_tmp/config.h" "$ac_file" \ 16268 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 16269 fi 16270 else 16271 $as_echo "/* $configure_input */" \ 16272 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 16273 || as_fn_error $? "could not create -" "$LINENO" 5 16274 fi 16275 # Compute "$ac_file"'s index in $config_headers. 16276 _am_arg="$ac_file" 16277 _am_stamp_count=1 16278 for _am_header in $config_headers :; do 16279 case $_am_header in 16280 $_am_arg | $_am_arg:* ) 16281 break ;; 16282 * ) 16283 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 16284 esac 16285 done 16286 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 16287 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16288 X"$_am_arg" : 'X\(//\)[^/]' \| \ 16289 X"$_am_arg" : 'X\(//\)$' \| \ 16290 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 16291 $as_echo X"$_am_arg" | 16292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16293 s//\1/ 16294 q 16295 } 16296 /^X\(\/\/\)[^/].*/{ 16297 s//\1/ 16298 q 16299 } 16300 /^X\(\/\/\)$/{ 16301 s//\1/ 16302 q 16303 } 16304 /^X\(\/\).*/{ 16305 s//\1/ 16306 q 16307 } 16308 s/.*/./; q'`/stamp-h$_am_stamp_count 16309 ;; 16310 16311 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 16312 $as_echo "$as_me: executing $ac_file commands" >&6;} 16313 ;; 16314 esac 16315 16316 16317 case $ac_file$ac_mode in 16318 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 16319 # Older Autoconf quotes --file arguments for eval, but not when files 16320 # are listed without --file. Let's play safe and only enable the eval 16321 # if we detect the quoting. 16322 case $CONFIG_FILES in 16323 *\'*) eval set x "$CONFIG_FILES" ;; 16324 *) set x $CONFIG_FILES ;; 16325 esac 16326 shift 16327 for mf 16328 do 16329 # Strip MF so we end up with the name of the file. 16330 mf=`echo "$mf" | sed -e 's/:.*$//'` 16331 # Check whether this is an Automake generated Makefile or not. 16332 # We used to match only the files named 'Makefile.in', but 16333 # some people rename them; so instead we look at the file content. 16334 # Grep'ing the first line is not enough: some people post-process 16335 # each Makefile.in and add a new line on top of each file to say so. 16336 # Grep'ing the whole file is not good either: AIX grep has a line 16337 # limit of 2048, but all sed's we know have understand at least 4000. 16338 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 16339 dirpart=`$as_dirname -- "$mf" || 16340 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16341 X"$mf" : 'X\(//\)[^/]' \| \ 16342 X"$mf" : 'X\(//\)$' \| \ 16343 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 16344 $as_echo X"$mf" | 16345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16346 s//\1/ 16347 q 16348 } 16349 /^X\(\/\/\)[^/].*/{ 16350 s//\1/ 16351 q 16352 } 16353 /^X\(\/\/\)$/{ 16354 s//\1/ 16355 q 16356 } 16357 /^X\(\/\).*/{ 16358 s//\1/ 16359 q 16360 } 16361 s/.*/./; q'` 16362 else 16363 continue 16364 fi 16365 # Extract the definition of DEPDIR, am__include, and am__quote 16366 # from the Makefile without running 'make'. 16367 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 16368 test -z "$DEPDIR" && continue 16369 am__include=`sed -n 's/^am__include = //p' < "$mf"` 16370 test -z "$am__include" && continue 16371 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 16372 # Find all dependency output files, they are included files with 16373 # $(DEPDIR) in their names. We invoke sed twice because it is the 16374 # simplest approach to changing $(DEPDIR) to its actual value in the 16375 # expansion. 16376 for file in `sed -n " 16377 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 16378 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 16379 # Make sure the directory exists. 16380 test -f "$dirpart/$file" && continue 16381 fdir=`$as_dirname -- "$file" || 16382 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16383 X"$file" : 'X\(//\)[^/]' \| \ 16384 X"$file" : 'X\(//\)$' \| \ 16385 X"$file" : 'X\(/\)' \| . 2>/dev/null || 16386 $as_echo X"$file" | 16387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16388 s//\1/ 16389 q 16390 } 16391 /^X\(\/\/\)[^/].*/{ 16392 s//\1/ 16393 q 16394 } 16395 /^X\(\/\/\)$/{ 16396 s//\1/ 16397 q 16398 } 16399 /^X\(\/\).*/{ 16400 s//\1/ 16401 q 16402 } 16403 s/.*/./; q'` 16404 as_dir=$dirpart/$fdir; as_fn_mkdir_p 16405 # echo "creating $dirpart/$file" 16406 echo '# dummy' > "$dirpart/$file" 16407 done 16408 done 16409 } 16410 ;; 16411 16412 esac 16413 done # for ac_tag 16414 16415 16416 as_fn_exit 0 16417 _ACEOF 16418 ac_clean_files=$ac_clean_files_save 16419 16420 test $ac_write_fail = 0 || 16421 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 16422 16423 16424 # configure is writing to config.log, and then calls config.status. 16425 # config.status does its own redirection, appending to config.log. 16426 # Unfortunately, on DOS this fails, as config.log is still kept open 16427 # by configure, so config.status won't be able to write to it; its 16428 # output is simply discarded. So we exec the FD to /dev/null, 16429 # effectively closing config.log, so it can be properly (re)opened and 16430 # appended to by config.status. When coming back to configure, we 16431 # need to make the FD available again. 16432 if test "$no_create" != yes; then 16433 ac_cs_success=: 16434 ac_config_status_args= 16435 test "$silent" = yes && 16436 ac_config_status_args="$ac_config_status_args --quiet" 16437 exec 5>/dev/null 16438 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16439 exec 5>>config.log 16440 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16441 # would make configure fail if this is the last instruction. 16442 $ac_cs_success || as_fn_exit 1 16443 fi 16444 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16446 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16447 fi 16448 16449