1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for strace 4.16. 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-2017 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.16' 586 PACKAGE_STRING='strace 4.16' 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_LIBUNWIND_FALSE 651 USE_LIBUNWIND_TRUE 652 libunwind_CPPFLAGS 653 libunwind_LDFLAGS 654 libunwind_LIBS 655 PERL 656 dl_LIBS 657 MIPS_ABI 658 arch_mx32 659 arch_m32 660 arch 661 CODE_COVERAGE_RULES 662 CODE_COVERAGE_LDFLAGS 663 CODE_COVERAGE_CXXFLAGS 664 CODE_COVERAGE_CFLAGS 665 CODE_COVERAGE_CPPFLAGS 666 GENHTML 667 LCOV 668 GCOV 669 CODE_COVERAGE_ENABLED 670 CODE_COVERAGE_ENABLED_FALSE 671 CODE_COVERAGE_ENABLED_TRUE 672 SED 673 EGREP 674 GREP 675 RANLIB 676 WARN_CFLAGS_FOR_BUILD 677 LDFLAGS_FOR_BUILD 678 CPPFLAGS_FOR_BUILD 679 CFLAGS_FOR_BUILD 680 BUILD_OBJEXT 681 BUILD_EXEEXT 682 CPP_FOR_BUILD 683 ac_ct_CC_FOR_BUILD 684 CC_FOR_BUILD 685 WARN_CFLAGS 686 CPP 687 am__fastdepCC_FALSE 688 am__fastdepCC_TRUE 689 CCDEPMODE 690 am__nodep 691 AMDEPBACKSLASH 692 AMDEP_FALSE 693 AMDEP_TRUE 694 am__quote 695 am__include 696 DEPDIR 697 OBJEXT 698 EXEEXT 699 ac_ct_CC 700 CPPFLAGS 701 LDFLAGS 702 CFLAGS 703 CC 704 DEB_CHANGELOGTIME 705 RPM_CHANGELOGTIME 706 host_os 707 host_vendor 708 host_cpu 709 host 710 build_os 711 build_vendor 712 build_cpu 713 build 714 MAINT 715 MAINTAINER_MODE_FALSE 716 MAINTAINER_MODE_TRUE 717 AM_BACKSLASH 718 AM_DEFAULT_VERBOSITY 719 AM_DEFAULT_V 720 AM_V 721 am__untar 722 am__tar 723 AMTAR 724 am__leading_dot 725 SET_MAKE 726 AWK 727 mkdir_p 728 MKDIR_P 729 INSTALL_STRIP_PROGRAM 730 STRIP 731 install_sh 732 MAKEINFO 733 AUTOHEADER 734 AUTOMAKE 735 AUTOCONF 736 ACLOCAL 737 VERSION 738 PACKAGE 739 CYGPATH_W 740 am__isrc 741 INSTALL_DATA 742 INSTALL_SCRIPT 743 INSTALL_PROGRAM 744 target_alias 745 host_alias 746 build_alias 747 LIBS 748 ECHO_T 749 ECHO_N 750 ECHO_C 751 DEFS 752 mandir 753 localedir 754 libdir 755 psdir 756 pdfdir 757 dvidir 758 htmldir 759 infodir 760 docdir 761 oldincludedir 762 includedir 763 localstatedir 764 sharedstatedir 765 sysconfdir 766 datadir 767 datarootdir 768 libexecdir 769 sbindir 770 bindir 771 program_transform_name 772 prefix 773 exec_prefix 774 PACKAGE_URL 775 PACKAGE_BUGREPORT 776 PACKAGE_STRING 777 PACKAGE_VERSION 778 PACKAGE_TARNAME 779 PACKAGE_NAME 780 PATH_SEPARATOR 781 SHELL' 782 ac_subst_files='' 783 ac_user_opts=' 784 enable_option_checking 785 enable_silent_rules 786 enable_maintainer_mode 787 enable_dependency_tracking 788 enable_gcc_Werror 789 with_gcov 790 enable_code_coverage 791 enable_arm_oabi 792 with_libunwind 793 enable_valgrind 794 enable_valgrind_memcheck 795 enable_valgrind_helgrind 796 enable_valgrind_drd 797 enable_valgrind_sgcheck 798 ' 799 ac_precious_vars='build_alias 800 host_alias 801 target_alias 802 CC 803 CFLAGS 804 LDFLAGS 805 LIBS 806 CPPFLAGS 807 CPP' 808 809 810 # Initialize some variables set by options. 811 ac_init_help= 812 ac_init_version=false 813 ac_unrecognized_opts= 814 ac_unrecognized_sep= 815 # The variables have the same names as the options, with 816 # dashes changed to underlines. 817 cache_file=/dev/null 818 exec_prefix=NONE 819 no_create= 820 no_recursion= 821 prefix=NONE 822 program_prefix=NONE 823 program_suffix=NONE 824 program_transform_name=s,x,x, 825 silent= 826 site= 827 srcdir= 828 verbose= 829 x_includes=NONE 830 x_libraries=NONE 831 832 # Installation directory options. 833 # These are left unexpanded so users can "make install exec_prefix=/foo" 834 # and all the variables that are supposed to be based on exec_prefix 835 # by default will actually change. 836 # Use braces instead of parens because sh, perl, etc. also accept them. 837 # (The list follows the same order as the GNU Coding Standards.) 838 bindir='${exec_prefix}/bin' 839 sbindir='${exec_prefix}/sbin' 840 libexecdir='${exec_prefix}/libexec' 841 datarootdir='${prefix}/share' 842 datadir='${datarootdir}' 843 sysconfdir='${prefix}/etc' 844 sharedstatedir='${prefix}/com' 845 localstatedir='${prefix}/var' 846 includedir='${prefix}/include' 847 oldincludedir='/usr/include' 848 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 849 infodir='${datarootdir}/info' 850 htmldir='${docdir}' 851 dvidir='${docdir}' 852 pdfdir='${docdir}' 853 psdir='${docdir}' 854 libdir='${exec_prefix}/lib' 855 localedir='${datarootdir}/locale' 856 mandir='${datarootdir}/man' 857 858 ac_prev= 859 ac_dashdash= 860 for ac_option 861 do 862 # If the previous option needs an argument, assign it. 863 if test -n "$ac_prev"; then 864 eval $ac_prev=\$ac_option 865 ac_prev= 866 continue 867 fi 868 869 case $ac_option in 870 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 871 *=) ac_optarg= ;; 872 *) ac_optarg=yes ;; 873 esac 874 875 # Accept the important Cygnus configure options, so we can diagnose typos. 876 877 case $ac_dashdash$ac_option in 878 --) 879 ac_dashdash=yes ;; 880 881 -bindir | --bindir | --bindi | --bind | --bin | --bi) 882 ac_prev=bindir ;; 883 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 884 bindir=$ac_optarg ;; 885 886 -build | --build | --buil | --bui | --bu) 887 ac_prev=build_alias ;; 888 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 889 build_alias=$ac_optarg ;; 890 891 -cache-file | --cache-file | --cache-fil | --cache-fi \ 892 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 893 ac_prev=cache_file ;; 894 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 895 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 896 cache_file=$ac_optarg ;; 897 898 --config-cache | -C) 899 cache_file=config.cache ;; 900 901 -datadir | --datadir | --datadi | --datad) 902 ac_prev=datadir ;; 903 -datadir=* | --datadir=* | --datadi=* | --datad=*) 904 datadir=$ac_optarg ;; 905 906 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 907 | --dataroo | --dataro | --datar) 908 ac_prev=datarootdir ;; 909 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 910 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 911 datarootdir=$ac_optarg ;; 912 913 -disable-* | --disable-*) 914 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 915 # Reject names that are not valid shell variable names. 916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 917 as_fn_error $? "invalid feature name: $ac_useropt" 918 ac_useropt_orig=$ac_useropt 919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 920 case $ac_user_opts in 921 *" 922 "enable_$ac_useropt" 923 "*) ;; 924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 925 ac_unrecognized_sep=', ';; 926 esac 927 eval enable_$ac_useropt=no ;; 928 929 -docdir | --docdir | --docdi | --doc | --do) 930 ac_prev=docdir ;; 931 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 932 docdir=$ac_optarg ;; 933 934 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 935 ac_prev=dvidir ;; 936 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 937 dvidir=$ac_optarg ;; 938 939 -enable-* | --enable-*) 940 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 941 # Reject names that are not valid shell variable names. 942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 943 as_fn_error $? "invalid feature name: $ac_useropt" 944 ac_useropt_orig=$ac_useropt 945 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 946 case $ac_user_opts in 947 *" 948 "enable_$ac_useropt" 949 "*) ;; 950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 951 ac_unrecognized_sep=', ';; 952 esac 953 eval enable_$ac_useropt=\$ac_optarg ;; 954 955 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 956 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 957 | --exec | --exe | --ex) 958 ac_prev=exec_prefix ;; 959 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 960 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 961 | --exec=* | --exe=* | --ex=*) 962 exec_prefix=$ac_optarg ;; 963 964 -gas | --gas | --ga | --g) 965 # Obsolete; use --with-gas. 966 with_gas=yes ;; 967 968 -help | --help | --hel | --he | -h) 969 ac_init_help=long ;; 970 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 971 ac_init_help=recursive ;; 972 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 973 ac_init_help=short ;; 974 975 -host | --host | --hos | --ho) 976 ac_prev=host_alias ;; 977 -host=* | --host=* | --hos=* | --ho=*) 978 host_alias=$ac_optarg ;; 979 980 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 981 ac_prev=htmldir ;; 982 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 983 | --ht=*) 984 htmldir=$ac_optarg ;; 985 986 -includedir | --includedir | --includedi | --included | --include \ 987 | --includ | --inclu | --incl | --inc) 988 ac_prev=includedir ;; 989 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 990 | --includ=* | --inclu=* | --incl=* | --inc=*) 991 includedir=$ac_optarg ;; 992 993 -infodir | --infodir | --infodi | --infod | --info | --inf) 994 ac_prev=infodir ;; 995 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 996 infodir=$ac_optarg ;; 997 998 -libdir | --libdir | --libdi | --libd) 999 ac_prev=libdir ;; 1000 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1001 libdir=$ac_optarg ;; 1002 1003 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1004 | --libexe | --libex | --libe) 1005 ac_prev=libexecdir ;; 1006 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1007 | --libexe=* | --libex=* | --libe=*) 1008 libexecdir=$ac_optarg ;; 1009 1010 -localedir | --localedir | --localedi | --localed | --locale) 1011 ac_prev=localedir ;; 1012 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1013 localedir=$ac_optarg ;; 1014 1015 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1016 | --localstate | --localstat | --localsta | --localst | --locals) 1017 ac_prev=localstatedir ;; 1018 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1019 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1020 localstatedir=$ac_optarg ;; 1021 1022 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1023 ac_prev=mandir ;; 1024 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1025 mandir=$ac_optarg ;; 1026 1027 -nfp | --nfp | --nf) 1028 # Obsolete; use --without-fp. 1029 with_fp=no ;; 1030 1031 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1032 | --no-cr | --no-c | -n) 1033 no_create=yes ;; 1034 1035 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1036 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1037 no_recursion=yes ;; 1038 1039 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1040 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1041 | --oldin | --oldi | --old | --ol | --o) 1042 ac_prev=oldincludedir ;; 1043 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1044 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1045 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1046 oldincludedir=$ac_optarg ;; 1047 1048 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1049 ac_prev=prefix ;; 1050 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1051 prefix=$ac_optarg ;; 1052 1053 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1054 | --program-pre | --program-pr | --program-p) 1055 ac_prev=program_prefix ;; 1056 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1057 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1058 program_prefix=$ac_optarg ;; 1059 1060 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1061 | --program-suf | --program-su | --program-s) 1062 ac_prev=program_suffix ;; 1063 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1064 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1065 program_suffix=$ac_optarg ;; 1066 1067 -program-transform-name | --program-transform-name \ 1068 | --program-transform-nam | --program-transform-na \ 1069 | --program-transform-n | --program-transform- \ 1070 | --program-transform | --program-transfor \ 1071 | --program-transfo | --program-transf \ 1072 | --program-trans | --program-tran \ 1073 | --progr-tra | --program-tr | --program-t) 1074 ac_prev=program_transform_name ;; 1075 -program-transform-name=* | --program-transform-name=* \ 1076 | --program-transform-nam=* | --program-transform-na=* \ 1077 | --program-transform-n=* | --program-transform-=* \ 1078 | --program-transform=* | --program-transfor=* \ 1079 | --program-transfo=* | --program-transf=* \ 1080 | --program-trans=* | --program-tran=* \ 1081 | --progr-tra=* | --program-tr=* | --program-t=*) 1082 program_transform_name=$ac_optarg ;; 1083 1084 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1085 ac_prev=pdfdir ;; 1086 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1087 pdfdir=$ac_optarg ;; 1088 1089 -psdir | --psdir | --psdi | --psd | --ps) 1090 ac_prev=psdir ;; 1091 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1092 psdir=$ac_optarg ;; 1093 1094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1095 | -silent | --silent | --silen | --sile | --sil) 1096 silent=yes ;; 1097 1098 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1099 ac_prev=sbindir ;; 1100 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1101 | --sbi=* | --sb=*) 1102 sbindir=$ac_optarg ;; 1103 1104 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1105 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1106 | --sharedst | --shareds | --shared | --share | --shar \ 1107 | --sha | --sh) 1108 ac_prev=sharedstatedir ;; 1109 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1110 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1111 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1112 | --sha=* | --sh=*) 1113 sharedstatedir=$ac_optarg ;; 1114 1115 -site | --site | --sit) 1116 ac_prev=site ;; 1117 -site=* | --site=* | --sit=*) 1118 site=$ac_optarg ;; 1119 1120 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1121 ac_prev=srcdir ;; 1122 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1123 srcdir=$ac_optarg ;; 1124 1125 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1126 | --syscon | --sysco | --sysc | --sys | --sy) 1127 ac_prev=sysconfdir ;; 1128 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1129 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1130 sysconfdir=$ac_optarg ;; 1131 1132 -target | --target | --targe | --targ | --tar | --ta | --t) 1133 ac_prev=target_alias ;; 1134 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1135 target_alias=$ac_optarg ;; 1136 1137 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1138 verbose=yes ;; 1139 1140 -version | --version | --versio | --versi | --vers | -V) 1141 ac_init_version=: ;; 1142 1143 -with-* | --with-*) 1144 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1145 # Reject names that are not valid shell variable names. 1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1147 as_fn_error $? "invalid package name: $ac_useropt" 1148 ac_useropt_orig=$ac_useropt 1149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1150 case $ac_user_opts in 1151 *" 1152 "with_$ac_useropt" 1153 "*) ;; 1154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1155 ac_unrecognized_sep=', ';; 1156 esac 1157 eval with_$ac_useropt=\$ac_optarg ;; 1158 1159 -without-* | --without-*) 1160 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 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--without-$ac_useropt_orig" 1171 ac_unrecognized_sep=', ';; 1172 esac 1173 eval with_$ac_useropt=no ;; 1174 1175 --x) 1176 # Obsolete; use --with-x. 1177 with_x=yes ;; 1178 1179 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1180 | --x-incl | --x-inc | --x-in | --x-i) 1181 ac_prev=x_includes ;; 1182 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1183 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1184 x_includes=$ac_optarg ;; 1185 1186 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1187 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1188 ac_prev=x_libraries ;; 1189 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1190 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1191 x_libraries=$ac_optarg ;; 1192 1193 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1194 Try \`$0 --help' for more information" 1195 ;; 1196 1197 *=*) 1198 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1199 # Reject names that are not valid shell variable names. 1200 case $ac_envvar in #( 1201 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1202 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1203 esac 1204 eval $ac_envvar=\$ac_optarg 1205 export $ac_envvar ;; 1206 1207 *) 1208 # FIXME: should be removed in autoconf 3.0. 1209 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1210 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1211 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1212 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1213 ;; 1214 1215 esac 1216 done 1217 1218 if test -n "$ac_prev"; then 1219 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1220 as_fn_error $? "missing argument to $ac_option" 1221 fi 1222 1223 if test -n "$ac_unrecognized_opts"; then 1224 case $enable_option_checking in 1225 no) ;; 1226 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1227 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1228 esac 1229 fi 1230 1231 # Check all directory arguments for consistency. 1232 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1233 datadir sysconfdir sharedstatedir localstatedir includedir \ 1234 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1235 libdir localedir mandir 1236 do 1237 eval ac_val=\$$ac_var 1238 # Remove trailing slashes. 1239 case $ac_val in 1240 */ ) 1241 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1242 eval $ac_var=\$ac_val;; 1243 esac 1244 # Be sure to have absolute directory names. 1245 case $ac_val in 1246 [\\/$]* | ?:[\\/]* ) continue;; 1247 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1248 esac 1249 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1250 done 1251 1252 # There might be people who depend on the old broken behavior: `$host' 1253 # used to hold the argument of --host etc. 1254 # FIXME: To remove some day. 1255 build=$build_alias 1256 host=$host_alias 1257 target=$target_alias 1258 1259 # FIXME: To remove some day. 1260 if test "x$host_alias" != x; then 1261 if test "x$build_alias" = x; then 1262 cross_compiling=maybe 1263 elif test "x$build_alias" != "x$host_alias"; then 1264 cross_compiling=yes 1265 fi 1266 fi 1267 1268 ac_tool_prefix= 1269 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1270 1271 test "$silent" = yes && exec 6>/dev/null 1272 1273 1274 ac_pwd=`pwd` && test -n "$ac_pwd" && 1275 ac_ls_di=`ls -di .` && 1276 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1277 as_fn_error $? "working directory cannot be determined" 1278 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1279 as_fn_error $? "pwd does not report name of working directory" 1280 1281 1282 # Find the source files, if location was not specified. 1283 if test -z "$srcdir"; then 1284 ac_srcdir_defaulted=yes 1285 # Try the directory containing this script, then the parent directory. 1286 ac_confdir=`$as_dirname -- "$as_myself" || 1287 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1288 X"$as_myself" : 'X\(//\)[^/]' \| \ 1289 X"$as_myself" : 'X\(//\)$' \| \ 1290 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1291 $as_echo X"$as_myself" | 1292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1293 s//\1/ 1294 q 1295 } 1296 /^X\(\/\/\)[^/].*/{ 1297 s//\1/ 1298 q 1299 } 1300 /^X\(\/\/\)$/{ 1301 s//\1/ 1302 q 1303 } 1304 /^X\(\/\).*/{ 1305 s//\1/ 1306 q 1307 } 1308 s/.*/./; q'` 1309 srcdir=$ac_confdir 1310 if test ! -r "$srcdir/$ac_unique_file"; then 1311 srcdir=.. 1312 fi 1313 else 1314 ac_srcdir_defaulted=no 1315 fi 1316 if test ! -r "$srcdir/$ac_unique_file"; then 1317 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1318 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1319 fi 1320 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1321 ac_abs_confdir=`( 1322 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1323 pwd)` 1324 # When building in place, set srcdir=. 1325 if test "$ac_abs_confdir" = "$ac_pwd"; then 1326 srcdir=. 1327 fi 1328 # Remove unnecessary trailing slashes from srcdir. 1329 # Double slashes in file names in object file debugging info 1330 # mess up M-x gdb in Emacs. 1331 case $srcdir in 1332 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1333 esac 1334 for ac_var in $ac_precious_vars; do 1335 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1336 eval ac_env_${ac_var}_value=\$${ac_var} 1337 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1338 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1339 done 1340 1341 # 1342 # Report the --help message. 1343 # 1344 if test "$ac_init_help" = "long"; then 1345 # Omit some internal or obsolete options to make the list less imposing. 1346 # This message is too long to be a string in the A/UX 3.1 sh. 1347 cat <<_ACEOF 1348 \`configure' configures strace 4.16 to adapt to many kinds of systems. 1349 1350 Usage: $0 [OPTION]... [VAR=VALUE]... 1351 1352 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1353 VAR=VALUE. See below for descriptions of some of the useful variables. 1354 1355 Defaults for the options are specified in brackets. 1356 1357 Configuration: 1358 -h, --help display this help and exit 1359 --help=short display options specific to this package 1360 --help=recursive display the short help of all the included packages 1361 -V, --version display version information and exit 1362 -q, --quiet, --silent do not print \`checking ...' messages 1363 --cache-file=FILE cache test results in FILE [disabled] 1364 -C, --config-cache alias for \`--cache-file=config.cache' 1365 -n, --no-create do not create output files 1366 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1367 1368 Installation directories: 1369 --prefix=PREFIX install architecture-independent files in PREFIX 1370 [$ac_default_prefix] 1371 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1372 [PREFIX] 1373 1374 By default, \`make install' will install all the files in 1375 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1376 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1377 for instance \`--prefix=\$HOME'. 1378 1379 For better control, use the options below. 1380 1381 Fine tuning of the installation directories: 1382 --bindir=DIR user executables [EPREFIX/bin] 1383 --sbindir=DIR system admin executables [EPREFIX/sbin] 1384 --libexecdir=DIR program executables [EPREFIX/libexec] 1385 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1386 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1387 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1388 --libdir=DIR object code libraries [EPREFIX/lib] 1389 --includedir=DIR C header files [PREFIX/include] 1390 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1391 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1392 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1393 --infodir=DIR info documentation [DATAROOTDIR/info] 1394 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1395 --mandir=DIR man documentation [DATAROOTDIR/man] 1396 --docdir=DIR documentation root [DATAROOTDIR/doc/strace] 1397 --htmldir=DIR html documentation [DOCDIR] 1398 --dvidir=DIR dvi documentation [DOCDIR] 1399 --pdfdir=DIR pdf documentation [DOCDIR] 1400 --psdir=DIR ps documentation [DOCDIR] 1401 _ACEOF 1402 1403 cat <<\_ACEOF 1404 1405 Program names: 1406 --program-prefix=PREFIX prepend PREFIX to installed program names 1407 --program-suffix=SUFFIX append SUFFIX to installed program names 1408 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1409 1410 System types: 1411 --build=BUILD configure for building on BUILD [guessed] 1412 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1413 _ACEOF 1414 fi 1415 1416 if test -n "$ac_init_help"; then 1417 case $ac_init_help in 1418 short | recursive ) echo "Configuration of strace 4.16:";; 1419 esac 1420 cat <<\_ACEOF 1421 1422 Optional Features: 1423 --disable-option-checking ignore unrecognized --enable/--with options 1424 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1425 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1426 --enable-silent-rules less verbose build output (undo: "make V=1") 1427 --disable-silent-rules verbose build output (undo: "make V=0") 1428 --enable-maintainer-mode 1429 enable make rules and dependencies not useful (and 1430 sometimes confusing) to the casual installer 1431 --enable-dependency-tracking 1432 do not reject slow dependency extractors 1433 --disable-dependency-tracking 1434 speeds up one-time build 1435 --enable-gcc-Werror turn on gcc's -Werror option 1436 --enable-code-coverage Whether to enable code coverage support 1437 --enable-arm-oabi enable OABI support on ARM EABI 1438 --enable-valgrind Whether to enable Valgrind on the unit tests 1439 --disable-valgrind-memcheck 1440 Whether to skip memcheck during the Valgrind tests 1441 --disable-valgrind-helgrind 1442 Whether to skip helgrind during the Valgrind tests 1443 --disable-valgrind-drd Whether to skip drd during the Valgrind tests 1444 --enable-valgrind-sgcheck 1445 Whether to use sgcheck during the Valgrind tests 1446 1447 Optional Packages: 1448 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1449 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1450 --with-gcov=GCOV use given GCOV for coverage (GCOV=gcov). 1451 --with-libunwind use libunwind to implement stack tracing support 1452 1453 Some influential environment variables: 1454 CC C compiler command 1455 CFLAGS C compiler flags 1456 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1457 nonstandard directory <lib dir> 1458 LIBS libraries to pass to the linker, e.g. -l<library> 1459 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1460 you have headers in a nonstandard directory <include dir> 1461 CPP C preprocessor 1462 1463 Use these variables to override the choices made by `configure' or to help 1464 it to find libraries and programs with nonstandard names/locations. 1465 1466 Report bugs to <strace-devel (at] lists.sourceforge.net>. 1467 strace home page: <https://strace.io>. 1468 _ACEOF 1469 ac_status=$? 1470 fi 1471 1472 if test "$ac_init_help" = "recursive"; then 1473 # If there are subdirs, report their specific --help. 1474 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1475 test -d "$ac_dir" || 1476 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1477 continue 1478 ac_builddir=. 1479 1480 case "$ac_dir" in 1481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1482 *) 1483 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1484 # A ".." for each directory in $ac_dir_suffix. 1485 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1486 case $ac_top_builddir_sub in 1487 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1488 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1489 esac ;; 1490 esac 1491 ac_abs_top_builddir=$ac_pwd 1492 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1493 # for backward compatibility: 1494 ac_top_builddir=$ac_top_build_prefix 1495 1496 case $srcdir in 1497 .) # We are building in place. 1498 ac_srcdir=. 1499 ac_top_srcdir=$ac_top_builddir_sub 1500 ac_abs_top_srcdir=$ac_pwd ;; 1501 [\\/]* | ?:[\\/]* ) # Absolute name. 1502 ac_srcdir=$srcdir$ac_dir_suffix; 1503 ac_top_srcdir=$srcdir 1504 ac_abs_top_srcdir=$srcdir ;; 1505 *) # Relative name. 1506 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1507 ac_top_srcdir=$ac_top_build_prefix$srcdir 1508 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1509 esac 1510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1511 1512 cd "$ac_dir" || { ac_status=$?; continue; } 1513 # Check for guested configure. 1514 if test -f "$ac_srcdir/configure.gnu"; then 1515 echo && 1516 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1517 elif test -f "$ac_srcdir/configure"; then 1518 echo && 1519 $SHELL "$ac_srcdir/configure" --help=recursive 1520 else 1521 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1522 fi || ac_status=$? 1523 cd "$ac_pwd" || { ac_status=$?; break; } 1524 done 1525 fi 1526 1527 test -n "$ac_init_help" && exit $ac_status 1528 if $ac_init_version; then 1529 cat <<\_ACEOF 1530 strace configure 4.16 1531 generated by GNU Autoconf 2.69 1532 1533 Copyright (C) 2012 Free Software Foundation, Inc. 1534 This configure script is free software; the Free Software Foundation 1535 gives unlimited permission to copy, distribute and modify it. 1536 1537 Copyright (C) 1999-2017 The strace developers. 1538 _ACEOF 1539 exit 1540 fi 1541 1542 ## ------------------------ ## 1543 ## Autoconf initialization. ## 1544 ## ------------------------ ## 1545 1546 # ac_fn_c_try_compile LINENO 1547 # -------------------------- 1548 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1549 ac_fn_c_try_compile () 1550 { 1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1552 rm -f conftest.$ac_objext 1553 if { { ac_try="$ac_compile" 1554 case "(($ac_try" in 1555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1556 *) ac_try_echo=$ac_try;; 1557 esac 1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1559 $as_echo "$ac_try_echo"; } >&5 1560 (eval "$ac_compile") 2>conftest.err 1561 ac_status=$? 1562 if test -s conftest.err; then 1563 grep -v '^ *+' conftest.err >conftest.er1 1564 cat conftest.er1 >&5 1565 mv -f conftest.er1 conftest.err 1566 fi 1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1568 test $ac_status = 0; } && { 1569 test -z "$ac_c_werror_flag" || 1570 test ! -s conftest.err 1571 } && test -s conftest.$ac_objext; then : 1572 ac_retval=0 1573 else 1574 $as_echo "$as_me: failed program was:" >&5 1575 sed 's/^/| /' conftest.$ac_ext >&5 1576 1577 ac_retval=1 1578 fi 1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1580 as_fn_set_status $ac_retval 1581 1582 } # ac_fn_c_try_compile 1583 1584 # ac_fn_c_try_cpp LINENO 1585 # ---------------------- 1586 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1587 ac_fn_c_try_cpp () 1588 { 1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1590 if { { ac_try="$ac_cpp conftest.$ac_ext" 1591 case "(($ac_try" in 1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1593 *) ac_try_echo=$ac_try;; 1594 esac 1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1596 $as_echo "$ac_try_echo"; } >&5 1597 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1598 ac_status=$? 1599 if test -s conftest.err; then 1600 grep -v '^ *+' conftest.err >conftest.er1 1601 cat conftest.er1 >&5 1602 mv -f conftest.er1 conftest.err 1603 fi 1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1605 test $ac_status = 0; } > conftest.i && { 1606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1607 test ! -s conftest.err 1608 }; then : 1609 ac_retval=0 1610 else 1611 $as_echo "$as_me: failed program was:" >&5 1612 sed 's/^/| /' conftest.$ac_ext >&5 1613 1614 ac_retval=1 1615 fi 1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1617 as_fn_set_status $ac_retval 1618 1619 } # ac_fn_c_try_cpp 1620 1621 # ac_fn_c_try_link LINENO 1622 # ----------------------- 1623 # Try to link conftest.$ac_ext, and return whether this succeeded. 1624 ac_fn_c_try_link () 1625 { 1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1627 rm -f conftest.$ac_objext conftest$ac_exeext 1628 if { { ac_try="$ac_link" 1629 case "(($ac_try" in 1630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1631 *) ac_try_echo=$ac_try;; 1632 esac 1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1634 $as_echo "$ac_try_echo"; } >&5 1635 (eval "$ac_link") 2>conftest.err 1636 ac_status=$? 1637 if test -s conftest.err; then 1638 grep -v '^ *+' conftest.err >conftest.er1 1639 cat conftest.er1 >&5 1640 mv -f conftest.er1 conftest.err 1641 fi 1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1643 test $ac_status = 0; } && { 1644 test -z "$ac_c_werror_flag" || 1645 test ! -s conftest.err 1646 } && test -s conftest$ac_exeext && { 1647 test "$cross_compiling" = yes || 1648 test -x conftest$ac_exeext 1649 }; then : 1650 ac_retval=0 1651 else 1652 $as_echo "$as_me: failed program was:" >&5 1653 sed 's/^/| /' conftest.$ac_ext >&5 1654 1655 ac_retval=1 1656 fi 1657 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1658 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1659 # interfere with the next link command; also delete a directory that is 1660 # left behind by Apple's compiler. We do this before executing the actions. 1661 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1663 as_fn_set_status $ac_retval 1664 1665 } # ac_fn_c_try_link 1666 1667 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1668 # ------------------------------------------------------- 1669 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1670 # the include files in INCLUDES and setting the cache variable VAR 1671 # accordingly. 1672 ac_fn_c_check_header_mongrel () 1673 { 1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1675 if eval \${$3+:} false; then : 1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1677 $as_echo_n "checking for $2... " >&6; } 1678 if eval \${$3+:} false; then : 1679 $as_echo_n "(cached) " >&6 1680 fi 1681 eval ac_res=\$$3 1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1683 $as_echo "$ac_res" >&6; } 1684 else 1685 # Is the header compilable? 1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1687 $as_echo_n "checking $2 usability... " >&6; } 1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1689 /* end confdefs.h. */ 1690 $4 1691 #include <$2> 1692 _ACEOF 1693 if ac_fn_c_try_compile "$LINENO"; then : 1694 ac_header_compiler=yes 1695 else 1696 ac_header_compiler=no 1697 fi 1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1700 $as_echo "$ac_header_compiler" >&6; } 1701 1702 # Is the header present? 1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1704 $as_echo_n "checking $2 presence... " >&6; } 1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1706 /* end confdefs.h. */ 1707 #include <$2> 1708 _ACEOF 1709 if ac_fn_c_try_cpp "$LINENO"; then : 1710 ac_header_preproc=yes 1711 else 1712 ac_header_preproc=no 1713 fi 1714 rm -f conftest.err conftest.i conftest.$ac_ext 1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1716 $as_echo "$ac_header_preproc" >&6; } 1717 1718 # So? What about this header? 1719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1720 yes:no: ) 1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1722 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1724 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1725 ;; 1726 no:yes:* ) 1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1728 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1730 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1732 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1734 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1736 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1737 ( $as_echo "## ------------------------------------------------- ## 1738 ## Report this to strace-devel (at] lists.sourceforge.net ## 1739 ## ------------------------------------------------- ##" 1740 ) | sed "s/^/$as_me: WARNING: /" >&2 1741 ;; 1742 esac 1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1744 $as_echo_n "checking for $2... " >&6; } 1745 if eval \${$3+:} false; then : 1746 $as_echo_n "(cached) " >&6 1747 else 1748 eval "$3=\$ac_header_compiler" 1749 fi 1750 eval ac_res=\$$3 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1752 $as_echo "$ac_res" >&6; } 1753 fi 1754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1755 1756 } # ac_fn_c_check_header_mongrel 1757 1758 # ac_fn_c_try_run LINENO 1759 # ---------------------- 1760 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1761 # that executables *can* be run. 1762 ac_fn_c_try_run () 1763 { 1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1765 if { { ac_try="$ac_link" 1766 case "(($ac_try" in 1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1768 *) ac_try_echo=$ac_try;; 1769 esac 1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1771 $as_echo "$ac_try_echo"; } >&5 1772 (eval "$ac_link") 2>&5 1773 ac_status=$? 1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1775 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1776 { { case "(($ac_try" in 1777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1778 *) ac_try_echo=$ac_try;; 1779 esac 1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1781 $as_echo "$ac_try_echo"; } >&5 1782 (eval "$ac_try") 2>&5 1783 ac_status=$? 1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1785 test $ac_status = 0; }; }; then : 1786 ac_retval=0 1787 else 1788 $as_echo "$as_me: program exited with status $ac_status" >&5 1789 $as_echo "$as_me: failed program was:" >&5 1790 sed 's/^/| /' conftest.$ac_ext >&5 1791 1792 ac_retval=$ac_status 1793 fi 1794 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1796 as_fn_set_status $ac_retval 1797 1798 } # ac_fn_c_try_run 1799 1800 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1801 # ------------------------------------------------------- 1802 # Tests whether HEADER exists and can be compiled using the include files in 1803 # INCLUDES, setting the cache variable VAR accordingly. 1804 ac_fn_c_check_header_compile () 1805 { 1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1808 $as_echo_n "checking for $2... " >&6; } 1809 if eval \${$3+:} false; then : 1810 $as_echo_n "(cached) " >&6 1811 else 1812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1813 /* end confdefs.h. */ 1814 $4 1815 #include <$2> 1816 _ACEOF 1817 if ac_fn_c_try_compile "$LINENO"; then : 1818 eval "$3=yes" 1819 else 1820 eval "$3=no" 1821 fi 1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1823 fi 1824 eval ac_res=\$$3 1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1826 $as_echo "$ac_res" >&6; } 1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1828 1829 } # ac_fn_c_check_header_compile 1830 1831 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1832 # -------------------------------------------- 1833 # Tries to find the compile-time value of EXPR in a program that includes 1834 # INCLUDES, setting VAR accordingly. Returns whether the value could be 1835 # computed 1836 ac_fn_c_compute_int () 1837 { 1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1839 if test "$cross_compiling" = yes; then 1840 # Depending upon the size, compute the lo and hi bounds. 1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1842 /* end confdefs.h. */ 1843 $4 1844 int 1845 main () 1846 { 1847 static int test_array [1 - 2 * !(($2) >= 0)]; 1848 test_array [0] = 0; 1849 return test_array [0]; 1850 1851 ; 1852 return 0; 1853 } 1854 _ACEOF 1855 if ac_fn_c_try_compile "$LINENO"; then : 1856 ac_lo=0 ac_mid=0 1857 while :; do 1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1859 /* end confdefs.h. */ 1860 $4 1861 int 1862 main () 1863 { 1864 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1865 test_array [0] = 0; 1866 return test_array [0]; 1867 1868 ; 1869 return 0; 1870 } 1871 _ACEOF 1872 if ac_fn_c_try_compile "$LINENO"; then : 1873 ac_hi=$ac_mid; break 1874 else 1875 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1876 if test $ac_lo -le $ac_mid; then 1877 ac_lo= ac_hi= 1878 break 1879 fi 1880 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1881 fi 1882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1883 done 1884 else 1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1886 /* end confdefs.h. */ 1887 $4 1888 int 1889 main () 1890 { 1891 static int test_array [1 - 2 * !(($2) < 0)]; 1892 test_array [0] = 0; 1893 return test_array [0]; 1894 1895 ; 1896 return 0; 1897 } 1898 _ACEOF 1899 if ac_fn_c_try_compile "$LINENO"; then : 1900 ac_hi=-1 ac_mid=-1 1901 while :; do 1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1903 /* end confdefs.h. */ 1904 $4 1905 int 1906 main () 1907 { 1908 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1909 test_array [0] = 0; 1910 return test_array [0]; 1911 1912 ; 1913 return 0; 1914 } 1915 _ACEOF 1916 if ac_fn_c_try_compile "$LINENO"; then : 1917 ac_lo=$ac_mid; break 1918 else 1919 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1920 if test $ac_mid -le $ac_hi; then 1921 ac_lo= ac_hi= 1922 break 1923 fi 1924 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1925 fi 1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1927 done 1928 else 1929 ac_lo= ac_hi= 1930 fi 1931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1932 fi 1933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1934 # Binary search between lo and hi bounds. 1935 while test "x$ac_lo" != "x$ac_hi"; do 1936 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1938 /* end confdefs.h. */ 1939 $4 1940 int 1941 main () 1942 { 1943 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1944 test_array [0] = 0; 1945 return test_array [0]; 1946 1947 ; 1948 return 0; 1949 } 1950 _ACEOF 1951 if ac_fn_c_try_compile "$LINENO"; then : 1952 ac_hi=$ac_mid 1953 else 1954 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1955 fi 1956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1957 done 1958 case $ac_lo in #(( 1959 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1960 '') ac_retval=1 ;; 1961 esac 1962 else 1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1964 /* end confdefs.h. */ 1965 $4 1966 static long int longval () { return $2; } 1967 static unsigned long int ulongval () { return $2; } 1968 #include <stdio.h> 1969 #include <stdlib.h> 1970 int 1971 main () 1972 { 1973 1974 FILE *f = fopen ("conftest.val", "w"); 1975 if (! f) 1976 return 1; 1977 if (($2) < 0) 1978 { 1979 long int i = longval (); 1980 if (i != ($2)) 1981 return 1; 1982 fprintf (f, "%ld", i); 1983 } 1984 else 1985 { 1986 unsigned long int i = ulongval (); 1987 if (i != ($2)) 1988 return 1; 1989 fprintf (f, "%lu", i); 1990 } 1991 /* Do not output a trailing newline, as this causes \r\n confusion 1992 on some platforms. */ 1993 return ferror (f) || fclose (f) != 0; 1994 1995 ; 1996 return 0; 1997 } 1998 _ACEOF 1999 if ac_fn_c_try_run "$LINENO"; then : 2000 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2001 else 2002 ac_retval=1 2003 fi 2004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2005 conftest.$ac_objext conftest.beam conftest.$ac_ext 2006 rm -f conftest.val 2007 2008 fi 2009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2010 as_fn_set_status $ac_retval 2011 2012 } # ac_fn_c_compute_int 2013 2014 # ac_fn_c_check_func LINENO FUNC VAR 2015 # ---------------------------------- 2016 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2017 ac_fn_c_check_func () 2018 { 2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2021 $as_echo_n "checking for $2... " >&6; } 2022 if eval \${$3+:} false; then : 2023 $as_echo_n "(cached) " >&6 2024 else 2025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2026 /* end confdefs.h. */ 2027 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2028 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2029 #define $2 innocuous_$2 2030 2031 /* Tell GNU C headers to include stubs. */ 2032 #define __need_GNU_STUBS_H 2033 2034 /* System header to define __stub macros and hopefully few prototypes, 2035 which can conflict with char $2 (); below. 2036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2037 <limits.h> exists even on freestanding compilers. */ 2038 2039 #ifdef __STDC__ 2040 # include <limits.h> 2041 #else 2042 # include <assert.h> 2043 #endif 2044 2045 #undef $2 2046 2047 /* Override any GCC internal prototype to avoid an error. 2048 Use char because int might match the return type of a GCC 2049 builtin and then its argument prototype would still apply. */ 2050 #ifdef __cplusplus 2051 extern "C" 2052 #endif 2053 char $2 (); 2054 /* The GNU C library defines this for functions which it implements 2055 to always fail with ENOSYS. Some functions are actually named 2056 something starting with __ and the normal name is an alias. */ 2057 #if defined __stub_$2 || defined __stub___$2 2058 choke me 2059 #endif 2060 2061 int 2062 main () 2063 { 2064 return $2 (); 2065 ; 2066 return 0; 2067 } 2068 _ACEOF 2069 if ac_fn_c_try_link "$LINENO"; then : 2070 eval "$3=yes" 2071 else 2072 if test "$GCC" = yes; then 2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2074 /* end confdefs.h. */ 2075 #undef $2 2076 /* Declare this function with the same prototype as __builtin_$2. 2077 This removes a warning about conflicting types for built-in function $2 */ 2078 __typeof__(__builtin_$2) $2; 2079 __typeof__(__builtin_$2) *f = $2; 2080 2081 int 2082 main () 2083 { 2084 return f != $2; 2085 ; 2086 return 0; 2087 } 2088 _ACEOF 2089 if ac_fn_c_try_link "$LINENO"; then : 2090 eval "$3=yes" 2091 else 2092 eval "$3=no" 2093 fi 2094 rm -f core conftest.err conftest.$ac_objext \ 2095 conftest$ac_exeext conftest.$ac_ext 2096 else 2097 eval "$3=no" 2098 fi 2099 fi 2100 rm -f core conftest.err conftest.$ac_objext \ 2101 conftest$ac_exeext conftest.$ac_ext 2102 fi 2103 eval ac_res=\$$3 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2105 $as_echo "$ac_res" >&6; } 2106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2107 2108 } # ac_fn_c_check_func 2109 2110 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2111 # ------------------------------------------- 2112 # Tests whether TYPE exists after having included INCLUDES, setting cache 2113 # variable VAR accordingly. 2114 ac_fn_c_check_type () 2115 { 2116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2118 $as_echo_n "checking for $2... " >&6; } 2119 if eval \${$3+:} false; then : 2120 $as_echo_n "(cached) " >&6 2121 else 2122 eval "$3=no" 2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2124 /* end confdefs.h. */ 2125 $4 2126 int 2127 main () 2128 { 2129 if (sizeof ($2)) 2130 return 0; 2131 ; 2132 return 0; 2133 } 2134 _ACEOF 2135 if ac_fn_c_try_compile "$LINENO"; then : 2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2137 /* end confdefs.h. */ 2138 $4 2139 int 2140 main () 2141 { 2142 if (sizeof (($2))) 2143 return 0; 2144 ; 2145 return 0; 2146 } 2147 _ACEOF 2148 if ac_fn_c_try_compile "$LINENO"; then : 2149 2150 else 2151 eval "$3=yes" 2152 fi 2153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2154 fi 2155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2156 fi 2157 eval ac_res=\$$3 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2159 $as_echo "$ac_res" >&6; } 2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2161 2162 } # ac_fn_c_check_type 2163 2164 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2165 # ---------------------------------------------------- 2166 # Tries to find if the field MEMBER exists in type AGGR, after including 2167 # INCLUDES, setting cache variable VAR accordingly. 2168 ac_fn_c_check_member () 2169 { 2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2172 $as_echo_n "checking for $2.$3... " >&6; } 2173 if eval \${$4+:} false; then : 2174 $as_echo_n "(cached) " >&6 2175 else 2176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2177 /* end confdefs.h. */ 2178 $5 2179 int 2180 main () 2181 { 2182 static $2 ac_aggr; 2183 if (ac_aggr.$3) 2184 return 0; 2185 ; 2186 return 0; 2187 } 2188 _ACEOF 2189 if ac_fn_c_try_compile "$LINENO"; then : 2190 eval "$4=yes" 2191 else 2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2193 /* end confdefs.h. */ 2194 $5 2195 int 2196 main () 2197 { 2198 static $2 ac_aggr; 2199 if (sizeof ac_aggr.$3) 2200 return 0; 2201 ; 2202 return 0; 2203 } 2204 _ACEOF 2205 if ac_fn_c_try_compile "$LINENO"; then : 2206 eval "$4=yes" 2207 else 2208 eval "$4=no" 2209 fi 2210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2211 fi 2212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2213 fi 2214 eval ac_res=\$$4 2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2216 $as_echo "$ac_res" >&6; } 2217 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2218 2219 } # ac_fn_c_check_member 2220 2221 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2222 # --------------------------------------------- 2223 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2224 # accordingly. 2225 ac_fn_c_check_decl () 2226 { 2227 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2228 as_decl_name=`echo $2|sed 's/ *(.*//'` 2229 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2231 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2232 if eval \${$3+:} false; then : 2233 $as_echo_n "(cached) " >&6 2234 else 2235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2236 /* end confdefs.h. */ 2237 $4 2238 int 2239 main () 2240 { 2241 #ifndef $as_decl_name 2242 #ifdef __cplusplus 2243 (void) $as_decl_use; 2244 #else 2245 (void) $as_decl_name; 2246 #endif 2247 #endif 2248 2249 ; 2250 return 0; 2251 } 2252 _ACEOF 2253 if ac_fn_c_try_compile "$LINENO"; then : 2254 eval "$3=yes" 2255 else 2256 eval "$3=no" 2257 fi 2258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2259 fi 2260 eval ac_res=\$$3 2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2262 $as_echo "$ac_res" >&6; } 2263 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2264 2265 } # ac_fn_c_check_decl 2266 cat >config.log <<_ACEOF 2267 This file contains any messages produced by compilers while 2268 running configure, to aid debugging if configure makes a mistake. 2269 2270 It was created by strace $as_me 4.16, which was 2271 generated by GNU Autoconf 2.69. Invocation command line was 2272 2273 $ $0 $@ 2274 2275 _ACEOF 2276 exec 5>>config.log 2277 { 2278 cat <<_ASUNAME 2279 ## --------- ## 2280 ## Platform. ## 2281 ## --------- ## 2282 2283 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2284 uname -m = `(uname -m) 2>/dev/null || echo unknown` 2285 uname -r = `(uname -r) 2>/dev/null || echo unknown` 2286 uname -s = `(uname -s) 2>/dev/null || echo unknown` 2287 uname -v = `(uname -v) 2>/dev/null || echo unknown` 2288 2289 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2290 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2291 2292 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2293 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2294 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2295 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2296 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2297 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2298 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2299 2300 _ASUNAME 2301 2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2303 for as_dir in $PATH 2304 do 2305 IFS=$as_save_IFS 2306 test -z "$as_dir" && as_dir=. 2307 $as_echo "PATH: $as_dir" 2308 done 2309 IFS=$as_save_IFS 2310 2311 } >&5 2312 2313 cat >&5 <<_ACEOF 2314 2315 2316 ## ----------- ## 2317 ## Core tests. ## 2318 ## ----------- ## 2319 2320 _ACEOF 2321 2322 2323 # Keep a trace of the command line. 2324 # Strip out --no-create and --no-recursion so they do not pile up. 2325 # Strip out --silent because we don't want to record it for future runs. 2326 # Also quote any args containing shell meta-characters. 2327 # Make two passes to allow for proper duplicate-argument suppression. 2328 ac_configure_args= 2329 ac_configure_args0= 2330 ac_configure_args1= 2331 ac_must_keep_next=false 2332 for ac_pass in 1 2 2333 do 2334 for ac_arg 2335 do 2336 case $ac_arg in 2337 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2338 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2339 | -silent | --silent | --silen | --sile | --sil) 2340 continue ;; 2341 *\'*) 2342 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2343 esac 2344 case $ac_pass in 2345 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2346 2) 2347 as_fn_append ac_configure_args1 " '$ac_arg'" 2348 if test $ac_must_keep_next = true; then 2349 ac_must_keep_next=false # Got value, back to normal. 2350 else 2351 case $ac_arg in 2352 *=* | --config-cache | -C | -disable-* | --disable-* \ 2353 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2354 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2355 | -with-* | --with-* | -without-* | --without-* | --x) 2356 case "$ac_configure_args0 " in 2357 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2358 esac 2359 ;; 2360 -* ) ac_must_keep_next=true ;; 2361 esac 2362 fi 2363 as_fn_append ac_configure_args " '$ac_arg'" 2364 ;; 2365 esac 2366 done 2367 done 2368 { ac_configure_args0=; unset ac_configure_args0;} 2369 { ac_configure_args1=; unset ac_configure_args1;} 2370 2371 # When interrupted or exit'd, cleanup temporary files, and complete 2372 # config.log. We remove comments because anyway the quotes in there 2373 # would cause problems or look ugly. 2374 # WARNING: Use '\'' to represent an apostrophe within the trap. 2375 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2376 trap 'exit_status=$? 2377 # Sanitize IFS. 2378 IFS=" "" $as_nl" 2379 # Save into config.log some information that might help in debugging. 2380 { 2381 echo 2382 2383 $as_echo "## ---------------- ## 2384 ## Cache variables. ## 2385 ## ---------------- ##" 2386 echo 2387 # The following way of writing the cache mishandles newlines in values, 2388 ( 2389 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2390 eval ac_val=\$$ac_var 2391 case $ac_val in #( 2392 *${as_nl}*) 2393 case $ac_var in #( 2394 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2395 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2396 esac 2397 case $ac_var in #( 2398 _ | IFS | as_nl) ;; #( 2399 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2400 *) { eval $ac_var=; unset $ac_var;} ;; 2401 esac ;; 2402 esac 2403 done 2404 (set) 2>&1 | 2405 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2406 *${as_nl}ac_space=\ *) 2407 sed -n \ 2408 "s/'\''/'\''\\\\'\'''\''/g; 2409 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2410 ;; #( 2411 *) 2412 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2413 ;; 2414 esac | 2415 sort 2416 ) 2417 echo 2418 2419 $as_echo "## ----------------- ## 2420 ## Output variables. ## 2421 ## ----------------- ##" 2422 echo 2423 for ac_var in $ac_subst_vars 2424 do 2425 eval ac_val=\$$ac_var 2426 case $ac_val in 2427 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2428 esac 2429 $as_echo "$ac_var='\''$ac_val'\''" 2430 done | sort 2431 echo 2432 2433 if test -n "$ac_subst_files"; then 2434 $as_echo "## ------------------- ## 2435 ## File substitutions. ## 2436 ## ------------------- ##" 2437 echo 2438 for ac_var in $ac_subst_files 2439 do 2440 eval ac_val=\$$ac_var 2441 case $ac_val in 2442 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2443 esac 2444 $as_echo "$ac_var='\''$ac_val'\''" 2445 done | sort 2446 echo 2447 fi 2448 2449 if test -s confdefs.h; then 2450 $as_echo "## ----------- ## 2451 ## confdefs.h. ## 2452 ## ----------- ##" 2453 echo 2454 cat confdefs.h 2455 echo 2456 fi 2457 test "$ac_signal" != 0 && 2458 $as_echo "$as_me: caught signal $ac_signal" 2459 $as_echo "$as_me: exit $exit_status" 2460 } >&5 2461 rm -f core *.core core.conftest.* && 2462 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2463 exit $exit_status 2464 ' 0 2465 for ac_signal in 1 2 13 15; do 2466 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2467 done 2468 ac_signal=0 2469 2470 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2471 rm -f -r conftest* confdefs.h 2472 2473 $as_echo "/* confdefs.h */" > confdefs.h 2474 2475 # Predefined preprocessor variables. 2476 2477 cat >>confdefs.h <<_ACEOF 2478 #define PACKAGE_NAME "$PACKAGE_NAME" 2479 _ACEOF 2480 2481 cat >>confdefs.h <<_ACEOF 2482 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2483 _ACEOF 2484 2485 cat >>confdefs.h <<_ACEOF 2486 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2487 _ACEOF 2488 2489 cat >>confdefs.h <<_ACEOF 2490 #define PACKAGE_STRING "$PACKAGE_STRING" 2491 _ACEOF 2492 2493 cat >>confdefs.h <<_ACEOF 2494 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2495 _ACEOF 2496 2497 cat >>confdefs.h <<_ACEOF 2498 #define PACKAGE_URL "$PACKAGE_URL" 2499 _ACEOF 2500 2501 2502 # Let the site file select an alternate cache file if it wants to. 2503 # Prefer an explicitly selected file to automatically selected ones. 2504 ac_site_file1=NONE 2505 ac_site_file2=NONE 2506 if test -n "$CONFIG_SITE"; then 2507 # We do not want a PATH search for config.site. 2508 case $CONFIG_SITE in #(( 2509 -*) ac_site_file1=./$CONFIG_SITE;; 2510 */*) ac_site_file1=$CONFIG_SITE;; 2511 *) ac_site_file1=./$CONFIG_SITE;; 2512 esac 2513 elif test "x$prefix" != xNONE; then 2514 ac_site_file1=$prefix/share/config.site 2515 ac_site_file2=$prefix/etc/config.site 2516 else 2517 ac_site_file1=$ac_default_prefix/share/config.site 2518 ac_site_file2=$ac_default_prefix/etc/config.site 2519 fi 2520 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2521 do 2522 test "x$ac_site_file" = xNONE && continue 2523 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2524 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2525 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2526 sed 's/^/| /' "$ac_site_file" >&5 2527 . "$ac_site_file" \ 2528 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2530 as_fn_error $? "failed to load site script $ac_site_file 2531 See \`config.log' for more details" "$LINENO" 5; } 2532 fi 2533 done 2534 2535 if test -r "$cache_file"; then 2536 # Some versions of bash will fail to source /dev/null (special files 2537 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2538 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2539 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2540 $as_echo "$as_me: loading cache $cache_file" >&6;} 2541 case $cache_file in 2542 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2543 *) . "./$cache_file";; 2544 esac 2545 fi 2546 else 2547 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2548 $as_echo "$as_me: creating cache $cache_file" >&6;} 2549 >$cache_file 2550 fi 2551 2552 # Check that the precious variables saved in the cache have kept the same 2553 # value. 2554 ac_cache_corrupted=false 2555 for ac_var in $ac_precious_vars; do 2556 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2557 eval ac_new_set=\$ac_env_${ac_var}_set 2558 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2559 eval ac_new_val=\$ac_env_${ac_var}_value 2560 case $ac_old_set,$ac_new_set in 2561 set,) 2562 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2563 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2564 ac_cache_corrupted=: ;; 2565 ,set) 2566 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2567 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2568 ac_cache_corrupted=: ;; 2569 ,);; 2570 *) 2571 if test "x$ac_old_val" != "x$ac_new_val"; then 2572 # differences in whitespace do not lead to failure. 2573 ac_old_val_w=`echo x $ac_old_val` 2574 ac_new_val_w=`echo x $ac_new_val` 2575 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2576 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2577 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2578 ac_cache_corrupted=: 2579 else 2580 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2581 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2582 eval $ac_var=\$ac_old_val 2583 fi 2584 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2585 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2586 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2587 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2588 fi;; 2589 esac 2590 # Pass precious variables to config.status. 2591 if test "$ac_new_set" = set; then 2592 case $ac_new_val in 2593 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2594 *) ac_arg=$ac_var=$ac_new_val ;; 2595 esac 2596 case " $ac_configure_args " in 2597 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2598 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2599 esac 2600 fi 2601 done 2602 if $ac_cache_corrupted; then 2603 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2605 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2606 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2607 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2608 fi 2609 ## -------------------- ## 2610 ## Main body of script. ## 2611 ## -------------------- ## 2612 2613 ac_ext=c 2614 ac_cpp='$CPP $CPPFLAGS' 2615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2617 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2618 2619 2620 2621 2622 ac_aux_dir= 2623 for ac_dir in . "$srcdir"/.; do 2624 if test -f "$ac_dir/install-sh"; then 2625 ac_aux_dir=$ac_dir 2626 ac_install_sh="$ac_aux_dir/install-sh -c" 2627 break 2628 elif test -f "$ac_dir/install.sh"; then 2629 ac_aux_dir=$ac_dir 2630 ac_install_sh="$ac_aux_dir/install.sh -c" 2631 break 2632 elif test -f "$ac_dir/shtool"; then 2633 ac_aux_dir=$ac_dir 2634 ac_install_sh="$ac_aux_dir/shtool install -c" 2635 break 2636 fi 2637 done 2638 if test -z "$ac_aux_dir"; then 2639 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 2640 fi 2641 2642 # These three variables are undocumented and unsupported, 2643 # and are intended to be withdrawn in a future Autoconf release. 2644 # They can cause serious problems if a builder's source tree is in a directory 2645 # whose full name contains unusual characters. 2646 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2647 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2648 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2649 2650 2651 ac_config_headers="$ac_config_headers config.h" 2652 2653 am__api_version='1.14' 2654 2655 # Find a good install program. We prefer a C program (faster), 2656 # so one script is as good as another. But avoid the broken or 2657 # incompatible versions: 2658 # SysV /etc/install, /usr/sbin/install 2659 # SunOS /usr/etc/install 2660 # IRIX /sbin/install 2661 # AIX /bin/install 2662 # AmigaOS /C/install, which installs bootblocks on floppy discs 2663 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2664 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2665 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2666 # OS/2's system install, which has a completely different semantic 2667 # ./install, which can be erroneously created by make from ./install.sh. 2668 # Reject install programs that cannot install multiple files. 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2670 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2671 if test -z "$INSTALL"; then 2672 if ${ac_cv_path_install+:} false; then : 2673 $as_echo_n "(cached) " >&6 2674 else 2675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2676 for as_dir in $PATH 2677 do 2678 IFS=$as_save_IFS 2679 test -z "$as_dir" && as_dir=. 2680 # Account for people who put trailing slashes in PATH elements. 2681 case $as_dir/ in #(( 2682 ./ | .// | /[cC]/* | \ 2683 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2684 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2685 /usr/ucb/* ) ;; 2686 *) 2687 # OSF1 and SCO ODT 3.0 have their own names for install. 2688 # Don't use installbsd from OSF since it installs stuff as root 2689 # by default. 2690 for ac_prog in ginstall scoinst install; do 2691 for ac_exec_ext in '' $ac_executable_extensions; do 2692 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2693 if test $ac_prog = install && 2694 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2695 # AIX install. It has an incompatible calling convention. 2696 : 2697 elif test $ac_prog = install && 2698 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2699 # program-specific install script used by HP pwplus--don't use. 2700 : 2701 else 2702 rm -rf conftest.one conftest.two conftest.dir 2703 echo one > conftest.one 2704 echo two > conftest.two 2705 mkdir conftest.dir 2706 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2707 test -s conftest.one && test -s conftest.two && 2708 test -s conftest.dir/conftest.one && 2709 test -s conftest.dir/conftest.two 2710 then 2711 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2712 break 3 2713 fi 2714 fi 2715 fi 2716 done 2717 done 2718 ;; 2719 esac 2720 2721 done 2722 IFS=$as_save_IFS 2723 2724 rm -rf conftest.one conftest.two conftest.dir 2725 2726 fi 2727 if test "${ac_cv_path_install+set}" = set; then 2728 INSTALL=$ac_cv_path_install 2729 else 2730 # As a last resort, use the slow shell script. Don't cache a 2731 # value for INSTALL within a source directory, because that will 2732 # break other packages using the cache if that directory is 2733 # removed, or if the value is a relative name. 2734 INSTALL=$ac_install_sh 2735 fi 2736 fi 2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2738 $as_echo "$INSTALL" >&6; } 2739 2740 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2741 # It thinks the first close brace ends the variable substitution. 2742 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2743 2744 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2745 2746 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2747 2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2749 $as_echo_n "checking whether build environment is sane... " >&6; } 2750 # Reject unsafe characters in $srcdir or the absolute working directory 2751 # name. Accept space and tab only in the latter. 2752 am_lf=' 2753 ' 2754 case `pwd` in 2755 *[\\\"\#\$\&\'\`$am_lf]*) 2756 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2757 esac 2758 case $srcdir in 2759 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2760 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2761 esac 2762 2763 # Do 'set' in a subshell so we don't clobber the current shell's 2764 # arguments. Must try -L first in case configure is actually a 2765 # symlink; some systems play weird games with the mod time of symlinks 2766 # (eg FreeBSD returns the mod time of the symlink's containing 2767 # directory). 2768 if ( 2769 am_has_slept=no 2770 for am_try in 1 2; do 2771 echo "timestamp, slept: $am_has_slept" > conftest.file 2772 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2773 if test "$*" = "X"; then 2774 # -L didn't work. 2775 set X `ls -t "$srcdir/configure" conftest.file` 2776 fi 2777 if test "$*" != "X $srcdir/configure conftest.file" \ 2778 && test "$*" != "X conftest.file $srcdir/configure"; then 2779 2780 # If neither matched, then we have a broken ls. This can happen 2781 # if, for instance, CONFIG_SHELL is bash and it inherits a 2782 # broken ls alias from the environment. This has actually 2783 # happened. Such a system could not be considered "sane". 2784 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2785 alias in your environment" "$LINENO" 5 2786 fi 2787 if test "$2" = conftest.file || test $am_try -eq 2; then 2788 break 2789 fi 2790 # Just in case. 2791 sleep 1 2792 am_has_slept=yes 2793 done 2794 test "$2" = conftest.file 2795 ) 2796 then 2797 # Ok. 2798 : 2799 else 2800 as_fn_error $? "newly created file is older than distributed files! 2801 Check your system clock" "$LINENO" 5 2802 fi 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2804 $as_echo "yes" >&6; } 2805 # If we didn't sleep, we still need to ensure time stamps of config.status and 2806 # generated files are strictly newer. 2807 am_sleep_pid= 2808 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2809 ( sleep 1 ) & 2810 am_sleep_pid=$! 2811 fi 2812 2813 rm -f conftest.file 2814 2815 test "$program_prefix" != NONE && 2816 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2817 # Use a double $ so make ignores it. 2818 test "$program_suffix" != NONE && 2819 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2820 # Double any \ or $. 2821 # By default was `s,x,x', remove it if useless. 2822 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2823 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2824 2825 # expand $ac_aux_dir to an absolute path 2826 am_aux_dir=`cd $ac_aux_dir && pwd` 2827 2828 if test x"${MISSING+set}" != xset; then 2829 case $am_aux_dir in 2830 *\ * | *\ *) 2831 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2832 *) 2833 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2834 esac 2835 fi 2836 # Use eval to expand $SHELL 2837 if eval "$MISSING --is-lightweight"; then 2838 am_missing_run="$MISSING " 2839 else 2840 am_missing_run= 2841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2842 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2843 fi 2844 2845 if test x"${install_sh}" != xset; then 2846 case $am_aux_dir in 2847 *\ * | *\ *) 2848 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2849 *) 2850 install_sh="\${SHELL} $am_aux_dir/install-sh" 2851 esac 2852 fi 2853 2854 # Installed binaries are usually stripped using 'strip' when the user 2855 # run "make install-strip". However 'strip' might not be the right 2856 # tool to use in cross-compilation environments, therefore Automake 2857 # will honor the 'STRIP' environment variable to overrule this program. 2858 if test "$cross_compiling" != no; then 2859 if test -n "$ac_tool_prefix"; then 2860 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2861 set dummy ${ac_tool_prefix}strip; ac_word=$2 2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2863 $as_echo_n "checking for $ac_word... " >&6; } 2864 if ${ac_cv_prog_STRIP+:} false; then : 2865 $as_echo_n "(cached) " >&6 2866 else 2867 if test -n "$STRIP"; then 2868 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2869 else 2870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2871 for as_dir in $PATH 2872 do 2873 IFS=$as_save_IFS 2874 test -z "$as_dir" && as_dir=. 2875 for ac_exec_ext in '' $ac_executable_extensions; do 2876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2877 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2879 break 2 2880 fi 2881 done 2882 done 2883 IFS=$as_save_IFS 2884 2885 fi 2886 fi 2887 STRIP=$ac_cv_prog_STRIP 2888 if test -n "$STRIP"; then 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2890 $as_echo "$STRIP" >&6; } 2891 else 2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2893 $as_echo "no" >&6; } 2894 fi 2895 2896 2897 fi 2898 if test -z "$ac_cv_prog_STRIP"; then 2899 ac_ct_STRIP=$STRIP 2900 # Extract the first word of "strip", so it can be a program name with args. 2901 set dummy strip; ac_word=$2 2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2903 $as_echo_n "checking for $ac_word... " >&6; } 2904 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2905 $as_echo_n "(cached) " >&6 2906 else 2907 if test -n "$ac_ct_STRIP"; then 2908 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2909 else 2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2911 for as_dir in $PATH 2912 do 2913 IFS=$as_save_IFS 2914 test -z "$as_dir" && as_dir=. 2915 for ac_exec_ext in '' $ac_executable_extensions; do 2916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2917 ac_cv_prog_ac_ct_STRIP="strip" 2918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2919 break 2 2920 fi 2921 done 2922 done 2923 IFS=$as_save_IFS 2924 2925 fi 2926 fi 2927 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2928 if test -n "$ac_ct_STRIP"; then 2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2930 $as_echo "$ac_ct_STRIP" >&6; } 2931 else 2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2933 $as_echo "no" >&6; } 2934 fi 2935 2936 if test "x$ac_ct_STRIP" = x; then 2937 STRIP=":" 2938 else 2939 case $cross_compiling:$ac_tool_warned in 2940 yes:) 2941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2943 ac_tool_warned=yes ;; 2944 esac 2945 STRIP=$ac_ct_STRIP 2946 fi 2947 else 2948 STRIP="$ac_cv_prog_STRIP" 2949 fi 2950 2951 fi 2952 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2953 2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2955 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2956 if test -z "$MKDIR_P"; then 2957 if ${ac_cv_path_mkdir+:} false; then : 2958 $as_echo_n "(cached) " >&6 2959 else 2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2961 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2962 do 2963 IFS=$as_save_IFS 2964 test -z "$as_dir" && as_dir=. 2965 for ac_prog in mkdir gmkdir; do 2966 for ac_exec_ext in '' $ac_executable_extensions; do 2967 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2968 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2969 'mkdir (GNU coreutils) '* | \ 2970 'mkdir (coreutils) '* | \ 2971 'mkdir (fileutils) '4.1*) 2972 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2973 break 3;; 2974 esac 2975 done 2976 done 2977 done 2978 IFS=$as_save_IFS 2979 2980 fi 2981 2982 test -d ./--version && rmdir ./--version 2983 if test "${ac_cv_path_mkdir+set}" = set; then 2984 MKDIR_P="$ac_cv_path_mkdir -p" 2985 else 2986 # As a last resort, use the slow shell script. Don't cache a 2987 # value for MKDIR_P within a source directory, because that will 2988 # break other packages using the cache if that directory is 2989 # removed, or if the value is a relative name. 2990 MKDIR_P="$ac_install_sh -d" 2991 fi 2992 fi 2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2994 $as_echo "$MKDIR_P" >&6; } 2995 2996 for ac_prog in gawk mawk nawk awk 2997 do 2998 # Extract the first word of "$ac_prog", so it can be a program name with args. 2999 set dummy $ac_prog; ac_word=$2 3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3001 $as_echo_n "checking for $ac_word... " >&6; } 3002 if ${ac_cv_prog_AWK+:} false; then : 3003 $as_echo_n "(cached) " >&6 3004 else 3005 if test -n "$AWK"; then 3006 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3007 else 3008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3009 for as_dir in $PATH 3010 do 3011 IFS=$as_save_IFS 3012 test -z "$as_dir" && as_dir=. 3013 for ac_exec_ext in '' $ac_executable_extensions; do 3014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3015 ac_cv_prog_AWK="$ac_prog" 3016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3017 break 2 3018 fi 3019 done 3020 done 3021 IFS=$as_save_IFS 3022 3023 fi 3024 fi 3025 AWK=$ac_cv_prog_AWK 3026 if test -n "$AWK"; then 3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3028 $as_echo "$AWK" >&6; } 3029 else 3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3031 $as_echo "no" >&6; } 3032 fi 3033 3034 3035 test -n "$AWK" && break 3036 done 3037 3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3039 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3040 set x ${MAKE-make} 3041 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3042 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3043 $as_echo_n "(cached) " >&6 3044 else 3045 cat >conftest.make <<\_ACEOF 3046 SHELL = /bin/sh 3047 all: 3048 @echo '@@@%%%=$(MAKE)=@@@%%%' 3049 _ACEOF 3050 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3051 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3052 *@@@%%%=?*=@@@%%%*) 3053 eval ac_cv_prog_make_${ac_make}_set=yes;; 3054 *) 3055 eval ac_cv_prog_make_${ac_make}_set=no;; 3056 esac 3057 rm -f conftest.make 3058 fi 3059 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3061 $as_echo "yes" >&6; } 3062 SET_MAKE= 3063 else 3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3065 $as_echo "no" >&6; } 3066 SET_MAKE="MAKE=${MAKE-make}" 3067 fi 3068 3069 rm -rf .tst 2>/dev/null 3070 mkdir .tst 2>/dev/null 3071 if test -d .tst; then 3072 am__leading_dot=. 3073 else 3074 am__leading_dot=_ 3075 fi 3076 rmdir .tst 2>/dev/null 3077 3078 # Check whether --enable-silent-rules was given. 3079 if test "${enable_silent_rules+set}" = set; then : 3080 enableval=$enable_silent_rules; 3081 fi 3082 3083 case $enable_silent_rules in # ((( 3084 yes) AM_DEFAULT_VERBOSITY=0;; 3085 no) AM_DEFAULT_VERBOSITY=1;; 3086 *) AM_DEFAULT_VERBOSITY=1;; 3087 esac 3088 am_make=${MAKE-make} 3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3090 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3091 if ${am_cv_make_support_nested_variables+:} false; then : 3092 $as_echo_n "(cached) " >&6 3093 else 3094 if $as_echo 'TRUE=$(BAR$(V)) 3095 BAR0=false 3096 BAR1=true 3097 V=1 3098 am__doit: 3099 @$(TRUE) 3100 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3101 am_cv_make_support_nested_variables=yes 3102 else 3103 am_cv_make_support_nested_variables=no 3104 fi 3105 fi 3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3107 $as_echo "$am_cv_make_support_nested_variables" >&6; } 3108 if test $am_cv_make_support_nested_variables = yes; then 3109 AM_V='$(V)' 3110 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3111 else 3112 AM_V=$AM_DEFAULT_VERBOSITY 3113 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3114 fi 3115 AM_BACKSLASH='\' 3116 3117 if test "`cd $srcdir && pwd`" != "`pwd`"; then 3118 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3119 # is not polluted with repeated "-I." 3120 am__isrc=' -I$(srcdir)' 3121 # test to see if srcdir already configured 3122 if test -f $srcdir/config.status; then 3123 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3124 fi 3125 fi 3126 3127 # test whether we have cygpath 3128 if test -z "$CYGPATH_W"; then 3129 if (cygpath --version) >/dev/null 2>/dev/null; then 3130 CYGPATH_W='cygpath -w' 3131 else 3132 CYGPATH_W=echo 3133 fi 3134 fi 3135 3136 3137 # Define the identity of the package. 3138 PACKAGE='strace' 3139 VERSION='4.16' 3140 3141 3142 cat >>confdefs.h <<_ACEOF 3143 #define PACKAGE "$PACKAGE" 3144 _ACEOF 3145 3146 3147 cat >>confdefs.h <<_ACEOF 3148 #define VERSION "$VERSION" 3149 _ACEOF 3150 3151 # Some tools Automake needs. 3152 3153 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3154 3155 3156 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3157 3158 3159 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3160 3161 3162 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3163 3164 3165 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3166 3167 # For better backward compatibility. To be removed once Automake 1.9.x 3168 # dies out for good. For more background, see: 3169 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3170 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3171 mkdir_p='$(MKDIR_P)' 3172 3173 # We need awk for the "check" target. The system "awk" is bad on 3174 # some platforms. 3175 # Always define AMTAR for backward compatibility. Yes, it's still used 3176 # in the wild :-( We should find a proper way to deprecate it ... 3177 AMTAR='$${TAR-tar}' 3178 3179 3180 # We'll loop over all known methods to create a tar archive until one works. 3181 _am_tools='gnutar pax cpio none' 3182 3183 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3184 3185 3186 3187 3188 3189 3190 # POSIX will say in a future version that running "rm -f" with no argument 3191 # is OK; and we want to be able to make that assumption in our Makefile 3192 # recipes. So use an aggressive probe to check that the usage we want is 3193 # actually supported "in the wild" to an acceptable degree. 3194 # See automake bug#10828. 3195 # To make any issue more visible, cause the running configure to be aborted 3196 # by default if the 'rm' program in use doesn't match our expectations; the 3197 # user can still override this though. 3198 if rm -f && rm -fr && rm -rf; then : OK; else 3199 cat >&2 <<'END' 3200 Oops! 3201 3202 Your 'rm' program seems unable to run without file operands specified 3203 on the command line, even when the '-f' option is present. This is contrary 3204 to the behaviour of most rm programs out there, and not conforming with 3205 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3206 3207 Please tell bug-automake@gnu.org about your system, including the value 3208 of your $PATH and any error possibly output before this message. This 3209 can help us improve future automake versions. 3210 3211 END 3212 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3213 echo 'Configuration will proceed anyway, since you have set the' >&2 3214 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3215 echo >&2 3216 else 3217 cat >&2 <<'END' 3218 Aborting the configuration process, to ensure you take notice of the issue. 3219 3220 You can download and install GNU coreutils to get an 'rm' implementation 3221 that behaves properly: <http://www.gnu.org/software/coreutils/>. 3222 3223 If you want to complete the configuration process using your problematic 3224 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3225 to "yes", and re-run configure. 3226 3227 END 3228 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3229 fi 3230 fi 3231 3232 3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3234 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3235 # Check whether --enable-maintainer-mode was given. 3236 if test "${enable_maintainer_mode+set}" = set; then : 3237 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3238 else 3239 USE_MAINTAINER_MODE=no 3240 fi 3241 3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3243 $as_echo "$USE_MAINTAINER_MODE" >&6; } 3244 if test $USE_MAINTAINER_MODE = yes; then 3245 MAINTAINER_MODE_TRUE= 3246 MAINTAINER_MODE_FALSE='#' 3247 else 3248 MAINTAINER_MODE_TRUE='#' 3249 MAINTAINER_MODE_FALSE= 3250 fi 3251 3252 MAINT=$MAINTAINER_MODE_TRUE 3253 3254 3255 # Make sure we can run config.sub. 3256 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3257 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3258 3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3260 $as_echo_n "checking build system type... " >&6; } 3261 if ${ac_cv_build+:} false; then : 3262 $as_echo_n "(cached) " >&6 3263 else 3264 ac_build_alias=$build_alias 3265 test "x$ac_build_alias" = x && 3266 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3267 test "x$ac_build_alias" = x && 3268 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3269 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3270 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3271 3272 fi 3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3274 $as_echo "$ac_cv_build" >&6; } 3275 case $ac_cv_build in 3276 *-*-*) ;; 3277 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3278 esac 3279 build=$ac_cv_build 3280 ac_save_IFS=$IFS; IFS='-' 3281 set x $ac_cv_build 3282 shift 3283 build_cpu=$1 3284 build_vendor=$2 3285 shift; shift 3286 # Remember, the first character of IFS is used to create $*, 3287 # except with old shells: 3288 build_os=$* 3289 IFS=$ac_save_IFS 3290 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3291 3292 3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3294 $as_echo_n "checking host system type... " >&6; } 3295 if ${ac_cv_host+:} false; then : 3296 $as_echo_n "(cached) " >&6 3297 else 3298 if test "x$host_alias" = x; then 3299 ac_cv_host=$ac_cv_build 3300 else 3301 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3302 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3303 fi 3304 3305 fi 3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3307 $as_echo "$ac_cv_host" >&6; } 3308 case $ac_cv_host in 3309 *-*-*) ;; 3310 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3311 esac 3312 host=$ac_cv_host 3313 ac_save_IFS=$IFS; IFS='-' 3314 set x $ac_cv_host 3315 shift 3316 host_cpu=$1 3317 host_vendor=$2 3318 shift; shift 3319 # Remember, the first character of IFS is used to create $*, 3320 # except with old shells: 3321 host_os=$* 3322 IFS=$ac_save_IFS 3323 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3324 3325 3326 3327 RPM_CHANGELOGTIME="$(LC_TIME=C date '+%a %b %d %Y')" 3328 3329 DEB_CHANGELOGTIME="$(LC_TIME=C date -R)" 3330 3331 3332 ac_ext=c 3333 ac_cpp='$CPP $CPPFLAGS' 3334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3336 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3337 if test -n "$ac_tool_prefix"; then 3338 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3339 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3341 $as_echo_n "checking for $ac_word... " >&6; } 3342 if ${ac_cv_prog_CC+:} false; then : 3343 $as_echo_n "(cached) " >&6 3344 else 3345 if test -n "$CC"; then 3346 ac_cv_prog_CC="$CC" # Let the user override the test. 3347 else 3348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3349 for as_dir in $PATH 3350 do 3351 IFS=$as_save_IFS 3352 test -z "$as_dir" && as_dir=. 3353 for ac_exec_ext in '' $ac_executable_extensions; do 3354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3355 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3357 break 2 3358 fi 3359 done 3360 done 3361 IFS=$as_save_IFS 3362 3363 fi 3364 fi 3365 CC=$ac_cv_prog_CC 3366 if test -n "$CC"; then 3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3368 $as_echo "$CC" >&6; } 3369 else 3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3371 $as_echo "no" >&6; } 3372 fi 3373 3374 3375 fi 3376 if test -z "$ac_cv_prog_CC"; then 3377 ac_ct_CC=$CC 3378 # Extract the first word of "gcc", so it can be a program name with args. 3379 set dummy gcc; ac_word=$2 3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3381 $as_echo_n "checking for $ac_word... " >&6; } 3382 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3383 $as_echo_n "(cached) " >&6 3384 else 3385 if test -n "$ac_ct_CC"; then 3386 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3387 else 3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3389 for as_dir in $PATH 3390 do 3391 IFS=$as_save_IFS 3392 test -z "$as_dir" && as_dir=. 3393 for ac_exec_ext in '' $ac_executable_extensions; do 3394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3395 ac_cv_prog_ac_ct_CC="gcc" 3396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3397 break 2 3398 fi 3399 done 3400 done 3401 IFS=$as_save_IFS 3402 3403 fi 3404 fi 3405 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3406 if test -n "$ac_ct_CC"; then 3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3408 $as_echo "$ac_ct_CC" >&6; } 3409 else 3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3411 $as_echo "no" >&6; } 3412 fi 3413 3414 if test "x$ac_ct_CC" = x; then 3415 CC="" 3416 else 3417 case $cross_compiling:$ac_tool_warned in 3418 yes:) 3419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3421 ac_tool_warned=yes ;; 3422 esac 3423 CC=$ac_ct_CC 3424 fi 3425 else 3426 CC="$ac_cv_prog_CC" 3427 fi 3428 3429 if test -z "$CC"; then 3430 if test -n "$ac_tool_prefix"; then 3431 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3432 set dummy ${ac_tool_prefix}cc; ac_word=$2 3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3434 $as_echo_n "checking for $ac_word... " >&6; } 3435 if ${ac_cv_prog_CC+:} false; then : 3436 $as_echo_n "(cached) " >&6 3437 else 3438 if test -n "$CC"; then 3439 ac_cv_prog_CC="$CC" # Let the user override the test. 3440 else 3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3442 for as_dir in $PATH 3443 do 3444 IFS=$as_save_IFS 3445 test -z "$as_dir" && as_dir=. 3446 for ac_exec_ext in '' $ac_executable_extensions; do 3447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3448 ac_cv_prog_CC="${ac_tool_prefix}cc" 3449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3450 break 2 3451 fi 3452 done 3453 done 3454 IFS=$as_save_IFS 3455 3456 fi 3457 fi 3458 CC=$ac_cv_prog_CC 3459 if test -n "$CC"; then 3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3461 $as_echo "$CC" >&6; } 3462 else 3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3464 $as_echo "no" >&6; } 3465 fi 3466 3467 3468 fi 3469 fi 3470 if test -z "$CC"; then 3471 # Extract the first word of "cc", so it can be a program name with args. 3472 set dummy cc; ac_word=$2 3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3474 $as_echo_n "checking for $ac_word... " >&6; } 3475 if ${ac_cv_prog_CC+:} false; then : 3476 $as_echo_n "(cached) " >&6 3477 else 3478 if test -n "$CC"; then 3479 ac_cv_prog_CC="$CC" # Let the user override the test. 3480 else 3481 ac_prog_rejected=no 3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3483 for as_dir in $PATH 3484 do 3485 IFS=$as_save_IFS 3486 test -z "$as_dir" && as_dir=. 3487 for ac_exec_ext in '' $ac_executable_extensions; do 3488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3489 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3490 ac_prog_rejected=yes 3491 continue 3492 fi 3493 ac_cv_prog_CC="cc" 3494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3495 break 2 3496 fi 3497 done 3498 done 3499 IFS=$as_save_IFS 3500 3501 if test $ac_prog_rejected = yes; then 3502 # We found a bogon in the path, so make sure we never use it. 3503 set dummy $ac_cv_prog_CC 3504 shift 3505 if test $# != 0; then 3506 # We chose a different compiler from the bogus one. 3507 # However, it has the same basename, so the bogon will be chosen 3508 # first if we set CC to just the basename; use the full file name. 3509 shift 3510 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3511 fi 3512 fi 3513 fi 3514 fi 3515 CC=$ac_cv_prog_CC 3516 if test -n "$CC"; then 3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3518 $as_echo "$CC" >&6; } 3519 else 3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3521 $as_echo "no" >&6; } 3522 fi 3523 3524 3525 fi 3526 if test -z "$CC"; then 3527 if test -n "$ac_tool_prefix"; then 3528 for ac_prog in cl.exe 3529 do 3530 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3531 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3533 $as_echo_n "checking for $ac_word... " >&6; } 3534 if ${ac_cv_prog_CC+:} false; then : 3535 $as_echo_n "(cached) " >&6 3536 else 3537 if test -n "$CC"; then 3538 ac_cv_prog_CC="$CC" # Let the user override the test. 3539 else 3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3541 for as_dir in $PATH 3542 do 3543 IFS=$as_save_IFS 3544 test -z "$as_dir" && as_dir=. 3545 for ac_exec_ext in '' $ac_executable_extensions; do 3546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3547 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3549 break 2 3550 fi 3551 done 3552 done 3553 IFS=$as_save_IFS 3554 3555 fi 3556 fi 3557 CC=$ac_cv_prog_CC 3558 if test -n "$CC"; then 3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3560 $as_echo "$CC" >&6; } 3561 else 3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3563 $as_echo "no" >&6; } 3564 fi 3565 3566 3567 test -n "$CC" && break 3568 done 3569 fi 3570 if test -z "$CC"; then 3571 ac_ct_CC=$CC 3572 for ac_prog in cl.exe 3573 do 3574 # Extract the first word of "$ac_prog", so it can be a program name with args. 3575 set dummy $ac_prog; ac_word=$2 3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3577 $as_echo_n "checking for $ac_word... " >&6; } 3578 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3579 $as_echo_n "(cached) " >&6 3580 else 3581 if test -n "$ac_ct_CC"; then 3582 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3583 else 3584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3585 for as_dir in $PATH 3586 do 3587 IFS=$as_save_IFS 3588 test -z "$as_dir" && as_dir=. 3589 for ac_exec_ext in '' $ac_executable_extensions; do 3590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3591 ac_cv_prog_ac_ct_CC="$ac_prog" 3592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3593 break 2 3594 fi 3595 done 3596 done 3597 IFS=$as_save_IFS 3598 3599 fi 3600 fi 3601 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3602 if test -n "$ac_ct_CC"; then 3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3604 $as_echo "$ac_ct_CC" >&6; } 3605 else 3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3607 $as_echo "no" >&6; } 3608 fi 3609 3610 3611 test -n "$ac_ct_CC" && break 3612 done 3613 3614 if test "x$ac_ct_CC" = x; then 3615 CC="" 3616 else 3617 case $cross_compiling:$ac_tool_warned in 3618 yes:) 3619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3621 ac_tool_warned=yes ;; 3622 esac 3623 CC=$ac_ct_CC 3624 fi 3625 fi 3626 3627 fi 3628 3629 3630 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3632 as_fn_error $? "no acceptable C compiler found in \$PATH 3633 See \`config.log' for more details" "$LINENO" 5; } 3634 3635 # Provide some information about the compiler. 3636 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3637 set X $ac_compile 3638 ac_compiler=$2 3639 for ac_option in --version -v -V -qversion; do 3640 { { ac_try="$ac_compiler $ac_option >&5" 3641 case "(($ac_try" in 3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3643 *) ac_try_echo=$ac_try;; 3644 esac 3645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3646 $as_echo "$ac_try_echo"; } >&5 3647 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3648 ac_status=$? 3649 if test -s conftest.err; then 3650 sed '10a\ 3651 ... rest of stderr output deleted ... 3652 10q' conftest.err >conftest.er1 3653 cat conftest.er1 >&5 3654 fi 3655 rm -f conftest.er1 conftest.err 3656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3657 test $ac_status = 0; } 3658 done 3659 3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3661 /* end confdefs.h. */ 3662 3663 int 3664 main () 3665 { 3666 3667 ; 3668 return 0; 3669 } 3670 _ACEOF 3671 ac_clean_files_save=$ac_clean_files 3672 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3673 # Try to create an executable without -o first, disregard a.out. 3674 # It will help us diagnose broken compilers, and finding out an intuition 3675 # of exeext. 3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3677 $as_echo_n "checking whether the C compiler works... " >&6; } 3678 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3679 3680 # The possible output files: 3681 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3682 3683 ac_rmfiles= 3684 for ac_file in $ac_files 3685 do 3686 case $ac_file in 3687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3688 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3689 esac 3690 done 3691 rm -f $ac_rmfiles 3692 3693 if { { ac_try="$ac_link_default" 3694 case "(($ac_try" in 3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3696 *) ac_try_echo=$ac_try;; 3697 esac 3698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3699 $as_echo "$ac_try_echo"; } >&5 3700 (eval "$ac_link_default") 2>&5 3701 ac_status=$? 3702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3703 test $ac_status = 0; }; then : 3704 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3705 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3706 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3707 # so that the user can short-circuit this test for compilers unknown to 3708 # Autoconf. 3709 for ac_file in $ac_files '' 3710 do 3711 test -f "$ac_file" || continue 3712 case $ac_file in 3713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3714 ;; 3715 [ab].out ) 3716 # We found the default executable, but exeext='' is most 3717 # certainly right. 3718 break;; 3719 *.* ) 3720 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3721 then :; else 3722 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3723 fi 3724 # We set ac_cv_exeext here because the later test for it is not 3725 # safe: cross compilers may not add the suffix if given an `-o' 3726 # argument, so we may need to know it at that point already. 3727 # Even if this section looks crufty: it has the advantage of 3728 # actually working. 3729 break;; 3730 * ) 3731 break;; 3732 esac 3733 done 3734 test "$ac_cv_exeext" = no && ac_cv_exeext= 3735 3736 else 3737 ac_file='' 3738 fi 3739 if test -z "$ac_file"; then : 3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3741 $as_echo "no" >&6; } 3742 $as_echo "$as_me: failed program was:" >&5 3743 sed 's/^/| /' conftest.$ac_ext >&5 3744 3745 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3747 as_fn_error 77 "C compiler cannot create executables 3748 See \`config.log' for more details" "$LINENO" 5; } 3749 else 3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3751 $as_echo "yes" >&6; } 3752 fi 3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3754 $as_echo_n "checking for C compiler default output file name... " >&6; } 3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3756 $as_echo "$ac_file" >&6; } 3757 ac_exeext=$ac_cv_exeext 3758 3759 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3760 ac_clean_files=$ac_clean_files_save 3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3762 $as_echo_n "checking for suffix of executables... " >&6; } 3763 if { { ac_try="$ac_link" 3764 case "(($ac_try" in 3765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3766 *) ac_try_echo=$ac_try;; 3767 esac 3768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3769 $as_echo "$ac_try_echo"; } >&5 3770 (eval "$ac_link") 2>&5 3771 ac_status=$? 3772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3773 test $ac_status = 0; }; then : 3774 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3775 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3776 # work properly (i.e., refer to `conftest.exe'), while it won't with 3777 # `rm'. 3778 for ac_file in conftest.exe conftest conftest.*; do 3779 test -f "$ac_file" || continue 3780 case $ac_file in 3781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3782 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3783 break;; 3784 * ) break;; 3785 esac 3786 done 3787 else 3788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3790 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3791 See \`config.log' for more details" "$LINENO" 5; } 3792 fi 3793 rm -f conftest conftest$ac_cv_exeext 3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3795 $as_echo "$ac_cv_exeext" >&6; } 3796 3797 rm -f conftest.$ac_ext 3798 EXEEXT=$ac_cv_exeext 3799 ac_exeext=$EXEEXT 3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3801 /* end confdefs.h. */ 3802 #include <stdio.h> 3803 int 3804 main () 3805 { 3806 FILE *f = fopen ("conftest.out", "w"); 3807 return ferror (f) || fclose (f) != 0; 3808 3809 ; 3810 return 0; 3811 } 3812 _ACEOF 3813 ac_clean_files="$ac_clean_files conftest.out" 3814 # Check that the compiler produces executables we can run. If not, either 3815 # the compiler is broken, or we cross compile. 3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3817 $as_echo_n "checking whether we are cross compiling... " >&6; } 3818 if test "$cross_compiling" != yes; then 3819 { { ac_try="$ac_link" 3820 case "(($ac_try" in 3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3822 *) ac_try_echo=$ac_try;; 3823 esac 3824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3825 $as_echo "$ac_try_echo"; } >&5 3826 (eval "$ac_link") 2>&5 3827 ac_status=$? 3828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3829 test $ac_status = 0; } 3830 if { ac_try='./conftest$ac_cv_exeext' 3831 { { case "(($ac_try" in 3832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3833 *) ac_try_echo=$ac_try;; 3834 esac 3835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3836 $as_echo "$ac_try_echo"; } >&5 3837 (eval "$ac_try") 2>&5 3838 ac_status=$? 3839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3840 test $ac_status = 0; }; }; then 3841 cross_compiling=no 3842 else 3843 if test "$cross_compiling" = maybe; then 3844 cross_compiling=yes 3845 else 3846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3848 as_fn_error $? "cannot run C compiled programs. 3849 If you meant to cross compile, use \`--host'. 3850 See \`config.log' for more details" "$LINENO" 5; } 3851 fi 3852 fi 3853 fi 3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3855 $as_echo "$cross_compiling" >&6; } 3856 3857 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3858 ac_clean_files=$ac_clean_files_save 3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3860 $as_echo_n "checking for suffix of object files... " >&6; } 3861 if ${ac_cv_objext+:} false; then : 3862 $as_echo_n "(cached) " >&6 3863 else 3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3865 /* end confdefs.h. */ 3866 3867 int 3868 main () 3869 { 3870 3871 ; 3872 return 0; 3873 } 3874 _ACEOF 3875 rm -f conftest.o conftest.obj 3876 if { { ac_try="$ac_compile" 3877 case "(($ac_try" in 3878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3879 *) ac_try_echo=$ac_try;; 3880 esac 3881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3882 $as_echo "$ac_try_echo"; } >&5 3883 (eval "$ac_compile") 2>&5 3884 ac_status=$? 3885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3886 test $ac_status = 0; }; then : 3887 for ac_file in conftest.o conftest.obj conftest.*; do 3888 test -f "$ac_file" || continue; 3889 case $ac_file in 3890 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3891 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3892 break;; 3893 esac 3894 done 3895 else 3896 $as_echo "$as_me: failed program was:" >&5 3897 sed 's/^/| /' conftest.$ac_ext >&5 3898 3899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3901 as_fn_error $? "cannot compute suffix of object files: cannot compile 3902 See \`config.log' for more details" "$LINENO" 5; } 3903 fi 3904 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3905 fi 3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3907 $as_echo "$ac_cv_objext" >&6; } 3908 OBJEXT=$ac_cv_objext 3909 ac_objext=$OBJEXT 3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3911 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3912 if ${ac_cv_c_compiler_gnu+:} false; then : 3913 $as_echo_n "(cached) " >&6 3914 else 3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3916 /* end confdefs.h. */ 3917 3918 int 3919 main () 3920 { 3921 #ifndef __GNUC__ 3922 choke me 3923 #endif 3924 3925 ; 3926 return 0; 3927 } 3928 _ACEOF 3929 if ac_fn_c_try_compile "$LINENO"; then : 3930 ac_compiler_gnu=yes 3931 else 3932 ac_compiler_gnu=no 3933 fi 3934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3935 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3936 3937 fi 3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3939 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3940 if test $ac_compiler_gnu = yes; then 3941 GCC=yes 3942 else 3943 GCC= 3944 fi 3945 ac_test_CFLAGS=${CFLAGS+set} 3946 ac_save_CFLAGS=$CFLAGS 3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3948 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3949 if ${ac_cv_prog_cc_g+:} false; then : 3950 $as_echo_n "(cached) " >&6 3951 else 3952 ac_save_c_werror_flag=$ac_c_werror_flag 3953 ac_c_werror_flag=yes 3954 ac_cv_prog_cc_g=no 3955 CFLAGS="-g" 3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3957 /* end confdefs.h. */ 3958 3959 int 3960 main () 3961 { 3962 3963 ; 3964 return 0; 3965 } 3966 _ACEOF 3967 if ac_fn_c_try_compile "$LINENO"; then : 3968 ac_cv_prog_cc_g=yes 3969 else 3970 CFLAGS="" 3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3972 /* end confdefs.h. */ 3973 3974 int 3975 main () 3976 { 3977 3978 ; 3979 return 0; 3980 } 3981 _ACEOF 3982 if ac_fn_c_try_compile "$LINENO"; then : 3983 3984 else 3985 ac_c_werror_flag=$ac_save_c_werror_flag 3986 CFLAGS="-g" 3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3988 /* end confdefs.h. */ 3989 3990 int 3991 main () 3992 { 3993 3994 ; 3995 return 0; 3996 } 3997 _ACEOF 3998 if ac_fn_c_try_compile "$LINENO"; then : 3999 ac_cv_prog_cc_g=yes 4000 fi 4001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4002 fi 4003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4004 fi 4005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4006 ac_c_werror_flag=$ac_save_c_werror_flag 4007 fi 4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4009 $as_echo "$ac_cv_prog_cc_g" >&6; } 4010 if test "$ac_test_CFLAGS" = set; then 4011 CFLAGS=$ac_save_CFLAGS 4012 elif test $ac_cv_prog_cc_g = yes; then 4013 if test "$GCC" = yes; then 4014 CFLAGS="-g -O2" 4015 else 4016 CFLAGS="-g" 4017 fi 4018 else 4019 if test "$GCC" = yes; then 4020 CFLAGS="-O2" 4021 else 4022 CFLAGS= 4023 fi 4024 fi 4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4026 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4027 if ${ac_cv_prog_cc_c89+:} false; then : 4028 $as_echo_n "(cached) " >&6 4029 else 4030 ac_cv_prog_cc_c89=no 4031 ac_save_CC=$CC 4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4033 /* end confdefs.h. */ 4034 #include <stdarg.h> 4035 #include <stdio.h> 4036 struct stat; 4037 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4038 struct buf { int x; }; 4039 FILE * (*rcsopen) (struct buf *, struct stat *, int); 4040 static char *e (p, i) 4041 char **p; 4042 int i; 4043 { 4044 return p[i]; 4045 } 4046 static char *f (char * (*g) (char **, int), char **p, ...) 4047 { 4048 char *s; 4049 va_list v; 4050 va_start (v,p); 4051 s = g (p, va_arg (v,int)); 4052 va_end (v); 4053 return s; 4054 } 4055 4056 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4057 function prototypes and stuff, but not '\xHH' hex character constants. 4058 These don't provoke an error unfortunately, instead are silently treated 4059 as 'x'. The following induces an error, until -std is added to get 4060 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4061 array size at least. It's necessary to write '\x00'==0 to get something 4062 that's true only with -std. */ 4063 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4064 4065 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4066 inside strings and character constants. */ 4067 #define FOO(x) 'x' 4068 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4069 4070 int test (int i, double x); 4071 struct s1 {int (*f) (int a);}; 4072 struct s2 {int (*f) (double a);}; 4073 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4074 int argc; 4075 char **argv; 4076 int 4077 main () 4078 { 4079 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4080 ; 4081 return 0; 4082 } 4083 _ACEOF 4084 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4085 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4086 do 4087 CC="$ac_save_CC $ac_arg" 4088 if ac_fn_c_try_compile "$LINENO"; then : 4089 ac_cv_prog_cc_c89=$ac_arg 4090 fi 4091 rm -f core conftest.err conftest.$ac_objext 4092 test "x$ac_cv_prog_cc_c89" != "xno" && break 4093 done 4094 rm -f conftest.$ac_ext 4095 CC=$ac_save_CC 4096 4097 fi 4098 # AC_CACHE_VAL 4099 case "x$ac_cv_prog_cc_c89" in 4100 x) 4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4102 $as_echo "none needed" >&6; } ;; 4103 xno) 4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4105 $as_echo "unsupported" >&6; } ;; 4106 *) 4107 CC="$CC $ac_cv_prog_cc_c89" 4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4109 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4110 esac 4111 if test "x$ac_cv_prog_cc_c89" != xno; then : 4112 4113 fi 4114 4115 ac_ext=c 4116 ac_cpp='$CPP $CPPFLAGS' 4117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4119 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4120 4121 ac_ext=c 4122 ac_cpp='$CPP $CPPFLAGS' 4123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4125 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4127 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4128 if ${am_cv_prog_cc_c_o+:} false; then : 4129 $as_echo_n "(cached) " >&6 4130 else 4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4132 /* end confdefs.h. */ 4133 4134 int 4135 main () 4136 { 4137 4138 ; 4139 return 0; 4140 } 4141 _ACEOF 4142 # Make sure it works both with $CC and with simple cc. 4143 # Following AC_PROG_CC_C_O, we do the test twice because some 4144 # compilers refuse to overwrite an existing .o file with -o, 4145 # though they will create one. 4146 am_cv_prog_cc_c_o=yes 4147 for am_i in 1 2; do 4148 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4149 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4150 ac_status=$? 4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4152 (exit $ac_status); } \ 4153 && test -f conftest2.$ac_objext; then 4154 : OK 4155 else 4156 am_cv_prog_cc_c_o=no 4157 break 4158 fi 4159 done 4160 rm -f core conftest* 4161 unset am_i 4162 fi 4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4164 $as_echo "$am_cv_prog_cc_c_o" >&6; } 4165 if test "$am_cv_prog_cc_c_o" != yes; then 4166 # Losing compiler, so override with the script. 4167 # FIXME: It is wrong to rewrite CC. 4168 # But if we don't then we get into trouble of one sort or another. 4169 # A longer-term fix would be to have automake use am__CC in this case, 4170 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4171 CC="$am_aux_dir/compile $CC" 4172 fi 4173 ac_ext=c 4174 ac_cpp='$CPP $CPPFLAGS' 4175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4177 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4178 4179 DEPDIR="${am__leading_dot}deps" 4180 4181 ac_config_commands="$ac_config_commands depfiles" 4182 4183 4184 am_make=${MAKE-make} 4185 cat > confinc << 'END' 4186 am__doit: 4187 @echo this is the am__doit target 4188 .PHONY: am__doit 4189 END 4190 # If we don't find an include directive, just comment out the code. 4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4192 $as_echo_n "checking for style of include used by $am_make... " >&6; } 4193 am__include="#" 4194 am__quote= 4195 _am_result=none 4196 # First try GNU make style include. 4197 echo "include confinc" > confmf 4198 # Ignore all kinds of additional output from 'make'. 4199 case `$am_make -s -f confmf 2> /dev/null` in #( 4200 *the\ am__doit\ target*) 4201 am__include=include 4202 am__quote= 4203 _am_result=GNU 4204 ;; 4205 esac 4206 # Now try BSD make style include. 4207 if test "$am__include" = "#"; then 4208 echo '.include "confinc"' > confmf 4209 case `$am_make -s -f confmf 2> /dev/null` in #( 4210 *the\ am__doit\ target*) 4211 am__include=.include 4212 am__quote="\"" 4213 _am_result=BSD 4214 ;; 4215 esac 4216 fi 4217 4218 4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4220 $as_echo "$_am_result" >&6; } 4221 rm -f confinc confmf 4222 4223 # Check whether --enable-dependency-tracking was given. 4224 if test "${enable_dependency_tracking+set}" = set; then : 4225 enableval=$enable_dependency_tracking; 4226 fi 4227 4228 if test "x$enable_dependency_tracking" != xno; then 4229 am_depcomp="$ac_aux_dir/depcomp" 4230 AMDEPBACKSLASH='\' 4231 am__nodep='_no' 4232 fi 4233 if test "x$enable_dependency_tracking" != xno; then 4234 AMDEP_TRUE= 4235 AMDEP_FALSE='#' 4236 else 4237 AMDEP_TRUE='#' 4238 AMDEP_FALSE= 4239 fi 4240 4241 4242 4243 depcc="$CC" am_compiler_list= 4244 4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4246 $as_echo_n "checking dependency style of $depcc... " >&6; } 4247 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4248 $as_echo_n "(cached) " >&6 4249 else 4250 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4251 # We make a subdir and do the tests there. Otherwise we can end up 4252 # making bogus files that we don't know about and never remove. For 4253 # instance it was reported that on HP-UX the gcc test will end up 4254 # making a dummy file named 'D' -- because '-MD' means "put the output 4255 # in D". 4256 rm -rf conftest.dir 4257 mkdir conftest.dir 4258 # Copy depcomp to subdir because otherwise we won't find it if we're 4259 # using a relative directory. 4260 cp "$am_depcomp" conftest.dir 4261 cd conftest.dir 4262 # We will build objects and dependencies in a subdirectory because 4263 # it helps to detect inapplicable dependency modes. For instance 4264 # both Tru64's cc and ICC support -MD to output dependencies as a 4265 # side effect of compilation, but ICC will put the dependencies in 4266 # the current directory while Tru64 will put them in the object 4267 # directory. 4268 mkdir sub 4269 4270 am_cv_CC_dependencies_compiler_type=none 4271 if test "$am_compiler_list" = ""; then 4272 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4273 fi 4274 am__universal=false 4275 case " $depcc " in #( 4276 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4277 esac 4278 4279 for depmode in $am_compiler_list; do 4280 # Setup a source with many dependencies, because some compilers 4281 # like to wrap large dependency lists on column 80 (with \), and 4282 # we should not choose a depcomp mode which is confused by this. 4283 # 4284 # We need to recreate these files for each test, as the compiler may 4285 # overwrite some of them when testing with obscure command lines. 4286 # This happens at least with the AIX C compiler. 4287 : > sub/conftest.c 4288 for i in 1 2 3 4 5 6; do 4289 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4290 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4291 # Solaris 10 /bin/sh. 4292 echo '/* dummy */' > sub/conftst$i.h 4293 done 4294 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4295 4296 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4297 # mode. It turns out that the SunPro C++ compiler does not properly 4298 # handle '-M -o', and we need to detect this. Also, some Intel 4299 # versions had trouble with output in subdirs. 4300 am__obj=sub/conftest.${OBJEXT-o} 4301 am__minus_obj="-o $am__obj" 4302 case $depmode in 4303 gcc) 4304 # This depmode causes a compiler race in universal mode. 4305 test "$am__universal" = false || continue 4306 ;; 4307 nosideeffect) 4308 # After this tag, mechanisms are not by side-effect, so they'll 4309 # only be used when explicitly requested. 4310 if test "x$enable_dependency_tracking" = xyes; then 4311 continue 4312 else 4313 break 4314 fi 4315 ;; 4316 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4317 # This compiler won't grok '-c -o', but also, the minuso test has 4318 # not run yet. These depmodes are late enough in the game, and 4319 # so weak that their functioning should not be impacted. 4320 am__obj=conftest.${OBJEXT-o} 4321 am__minus_obj= 4322 ;; 4323 none) break ;; 4324 esac 4325 if depmode=$depmode \ 4326 source=sub/conftest.c object=$am__obj \ 4327 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4328 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4329 >/dev/null 2>conftest.err && 4330 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4331 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4332 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4333 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4334 # icc doesn't choke on unknown options, it will just issue warnings 4335 # or remarks (even with -Werror). So we grep stderr for any message 4336 # that says an option was ignored or not supported. 4337 # When given -MP, icc 7.0 and 7.1 complain thusly: 4338 # icc: Command line warning: ignoring option '-M'; no argument required 4339 # The diagnosis changed in icc 8.0: 4340 # icc: Command line remark: option '-MP' not supported 4341 if (grep 'ignoring option' conftest.err || 4342 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4343 am_cv_CC_dependencies_compiler_type=$depmode 4344 break 4345 fi 4346 fi 4347 done 4348 4349 cd .. 4350 rm -rf conftest.dir 4351 else 4352 am_cv_CC_dependencies_compiler_type=none 4353 fi 4354 4355 fi 4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4357 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4358 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4359 4360 if 4361 test "x$enable_dependency_tracking" != xno \ 4362 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4363 am__fastdepCC_TRUE= 4364 am__fastdepCC_FALSE='#' 4365 else 4366 am__fastdepCC_TRUE='#' 4367 am__fastdepCC_FALSE= 4368 fi 4369 4370 4371 ac_ext=c 4372 ac_cpp='$CPP $CPPFLAGS' 4373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4375 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4377 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4378 # On Suns, sometimes $CPP names a directory. 4379 if test -n "$CPP" && test -d "$CPP"; then 4380 CPP= 4381 fi 4382 if test -z "$CPP"; then 4383 if ${ac_cv_prog_CPP+:} false; then : 4384 $as_echo_n "(cached) " >&6 4385 else 4386 # Double quotes because CPP needs to be expanded 4387 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4388 do 4389 ac_preproc_ok=false 4390 for ac_c_preproc_warn_flag in '' yes 4391 do 4392 # Use a header file that comes with gcc, so configuring glibc 4393 # with a fresh cross-compiler works. 4394 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4395 # <limits.h> exists even on freestanding compilers. 4396 # On the NeXT, cc -E runs the code through the compiler's parser, 4397 # not just through cpp. "Syntax error" is here to catch this case. 4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4399 /* end confdefs.h. */ 4400 #ifdef __STDC__ 4401 # include <limits.h> 4402 #else 4403 # include <assert.h> 4404 #endif 4405 Syntax error 4406 _ACEOF 4407 if ac_fn_c_try_cpp "$LINENO"; then : 4408 4409 else 4410 # Broken: fails on valid input. 4411 continue 4412 fi 4413 rm -f conftest.err conftest.i conftest.$ac_ext 4414 4415 # OK, works on sane cases. Now check whether nonexistent headers 4416 # can be detected and how. 4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4418 /* end confdefs.h. */ 4419 #include <ac_nonexistent.h> 4420 _ACEOF 4421 if ac_fn_c_try_cpp "$LINENO"; then : 4422 # Broken: success on invalid input. 4423 continue 4424 else 4425 # Passes both tests. 4426 ac_preproc_ok=: 4427 break 4428 fi 4429 rm -f conftest.err conftest.i conftest.$ac_ext 4430 4431 done 4432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4433 rm -f conftest.i conftest.err conftest.$ac_ext 4434 if $ac_preproc_ok; then : 4435 break 4436 fi 4437 4438 done 4439 ac_cv_prog_CPP=$CPP 4440 4441 fi 4442 CPP=$ac_cv_prog_CPP 4443 else 4444 ac_cv_prog_CPP=$CPP 4445 fi 4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4447 $as_echo "$CPP" >&6; } 4448 ac_preproc_ok=false 4449 for ac_c_preproc_warn_flag in '' yes 4450 do 4451 # Use a header file that comes with gcc, so configuring glibc 4452 # with a fresh cross-compiler works. 4453 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4454 # <limits.h> exists even on freestanding compilers. 4455 # On the NeXT, cc -E runs the code through the compiler's parser, 4456 # not just through cpp. "Syntax error" is here to catch this case. 4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4458 /* end confdefs.h. */ 4459 #ifdef __STDC__ 4460 # include <limits.h> 4461 #else 4462 # include <assert.h> 4463 #endif 4464 Syntax error 4465 _ACEOF 4466 if ac_fn_c_try_cpp "$LINENO"; then : 4467 4468 else 4469 # Broken: fails on valid input. 4470 continue 4471 fi 4472 rm -f conftest.err conftest.i conftest.$ac_ext 4473 4474 # OK, works on sane cases. Now check whether nonexistent headers 4475 # can be detected and how. 4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4477 /* end confdefs.h. */ 4478 #include <ac_nonexistent.h> 4479 _ACEOF 4480 if ac_fn_c_try_cpp "$LINENO"; then : 4481 # Broken: success on invalid input. 4482 continue 4483 else 4484 # Passes both tests. 4485 ac_preproc_ok=: 4486 break 4487 fi 4488 rm -f conftest.err conftest.i conftest.$ac_ext 4489 4490 done 4491 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4492 rm -f conftest.i conftest.err conftest.$ac_ext 4493 if $ac_preproc_ok; then : 4494 4495 else 4496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4498 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4499 See \`config.log' for more details" "$LINENO" 5; } 4500 fi 4501 4502 ac_ext=c 4503 ac_cpp='$CPP $CPPFLAGS' 4504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4506 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4507 4508 4509 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4511 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4512 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4513 $as_echo_n "(cached) " >&6 4514 else 4515 4516 gl_save_compiler_FLAGS="$CFLAGS" 4517 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4519 /* end confdefs.h. */ 4520 4521 int 4522 main () 4523 { 4524 4525 ; 4526 return 0; 4527 } 4528 _ACEOF 4529 if ac_fn_c_try_link "$LINENO"; then : 4530 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4531 else 4532 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4533 fi 4534 rm -f core conftest.err conftest.$ac_objext \ 4535 conftest$ac_exeext conftest.$ac_ext 4536 CFLAGS="$gl_save_compiler_FLAGS" 4537 4538 fi 4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4540 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4541 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4542 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4543 else 4544 gl_unknown_warnings_are_errors= 4545 fi 4546 4547 4548 fi 4549 4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wall" >&5 4551 $as_echo_n "checking whether $CC handles -Wall... " >&6; } 4552 if ${gl_cv_warn_CFLAGS__Wall+:} false; then : 4553 $as_echo_n "(cached) " >&6 4554 else 4555 4556 gl_save_compiler_FLAGS="$CFLAGS" 4557 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wall" 4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4559 /* end confdefs.h. */ 4560 4561 int 4562 main () 4563 { 4564 4565 ; 4566 return 0; 4567 } 4568 _ACEOF 4569 if ac_fn_c_try_link "$LINENO"; then : 4570 gl_cv_warn_CFLAGS__Wall=yes 4571 else 4572 gl_cv_warn_CFLAGS__Wall=no 4573 fi 4574 rm -f core conftest.err conftest.$ac_objext \ 4575 conftest$ac_exeext conftest.$ac_ext 4576 CFLAGS="$gl_save_compiler_FLAGS" 4577 4578 fi 4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wall" >&5 4580 $as_echo "$gl_cv_warn_CFLAGS__Wall" >&6; } 4581 if test "x$gl_cv_warn_CFLAGS__Wall" = xyes; then : 4582 as_fn_append WARN_CFLAGS " -Wall" 4583 fi 4584 4585 4586 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4588 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4589 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4590 $as_echo_n "(cached) " >&6 4591 else 4592 4593 gl_save_compiler_FLAGS="$CFLAGS" 4594 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4596 /* end confdefs.h. */ 4597 4598 int 4599 main () 4600 { 4601 4602 ; 4603 return 0; 4604 } 4605 _ACEOF 4606 if ac_fn_c_try_link "$LINENO"; then : 4607 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4608 else 4609 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4610 fi 4611 rm -f core conftest.err conftest.$ac_objext \ 4612 conftest$ac_exeext conftest.$ac_ext 4613 CFLAGS="$gl_save_compiler_FLAGS" 4614 4615 fi 4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4617 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4618 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4619 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4620 else 4621 gl_unknown_warnings_are_errors= 4622 fi 4623 4624 4625 fi 4626 4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wempty-body" >&5 4628 $as_echo_n "checking whether $CC handles -Wempty-body... " >&6; } 4629 if ${gl_cv_warn_CFLAGS__Wempty_body+:} false; then : 4630 $as_echo_n "(cached) " >&6 4631 else 4632 4633 gl_save_compiler_FLAGS="$CFLAGS" 4634 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wempty-body" 4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4636 /* end confdefs.h. */ 4637 4638 int 4639 main () 4640 { 4641 4642 ; 4643 return 0; 4644 } 4645 _ACEOF 4646 if ac_fn_c_try_link "$LINENO"; then : 4647 gl_cv_warn_CFLAGS__Wempty_body=yes 4648 else 4649 gl_cv_warn_CFLAGS__Wempty_body=no 4650 fi 4651 rm -f core conftest.err conftest.$ac_objext \ 4652 conftest$ac_exeext conftest.$ac_ext 4653 CFLAGS="$gl_save_compiler_FLAGS" 4654 4655 fi 4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wempty_body" >&5 4657 $as_echo "$gl_cv_warn_CFLAGS__Wempty_body" >&6; } 4658 if test "x$gl_cv_warn_CFLAGS__Wempty_body" = xyes; then : 4659 as_fn_append WARN_CFLAGS " -Wempty-body" 4660 fi 4661 4662 4663 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4665 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4666 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4667 $as_echo_n "(cached) " >&6 4668 else 4669 4670 gl_save_compiler_FLAGS="$CFLAGS" 4671 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4673 /* end confdefs.h. */ 4674 4675 int 4676 main () 4677 { 4678 4679 ; 4680 return 0; 4681 } 4682 _ACEOF 4683 if ac_fn_c_try_link "$LINENO"; then : 4684 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4685 else 4686 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4687 fi 4688 rm -f core conftest.err conftest.$ac_objext \ 4689 conftest$ac_exeext conftest.$ac_ext 4690 CFLAGS="$gl_save_compiler_FLAGS" 4691 4692 fi 4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4694 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4695 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4696 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4697 else 4698 gl_unknown_warnings_are_errors= 4699 fi 4700 4701 4702 fi 4703 4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wformat-security" >&5 4705 $as_echo_n "checking whether $CC handles -Wformat-security... " >&6; } 4706 if ${gl_cv_warn_CFLAGS__Wformat_security+:} false; then : 4707 $as_echo_n "(cached) " >&6 4708 else 4709 4710 gl_save_compiler_FLAGS="$CFLAGS" 4711 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-security" 4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4713 /* end confdefs.h. */ 4714 4715 int 4716 main () 4717 { 4718 4719 ; 4720 return 0; 4721 } 4722 _ACEOF 4723 if ac_fn_c_try_link "$LINENO"; then : 4724 gl_cv_warn_CFLAGS__Wformat_security=yes 4725 else 4726 gl_cv_warn_CFLAGS__Wformat_security=no 4727 fi 4728 rm -f core conftest.err conftest.$ac_objext \ 4729 conftest$ac_exeext conftest.$ac_ext 4730 CFLAGS="$gl_save_compiler_FLAGS" 4731 4732 fi 4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wformat_security" >&5 4734 $as_echo "$gl_cv_warn_CFLAGS__Wformat_security" >&6; } 4735 if test "x$gl_cv_warn_CFLAGS__Wformat_security" = xyes; then : 4736 as_fn_append WARN_CFLAGS " -Wformat-security" 4737 fi 4738 4739 4740 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4742 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4743 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4744 $as_echo_n "(cached) " >&6 4745 else 4746 4747 gl_save_compiler_FLAGS="$CFLAGS" 4748 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4750 /* end confdefs.h. */ 4751 4752 int 4753 main () 4754 { 4755 4756 ; 4757 return 0; 4758 } 4759 _ACEOF 4760 if ac_fn_c_try_link "$LINENO"; then : 4761 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4762 else 4763 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4764 fi 4765 rm -f core conftest.err conftest.$ac_objext \ 4766 conftest$ac_exeext conftest.$ac_ext 4767 CFLAGS="$gl_save_compiler_FLAGS" 4768 4769 fi 4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4771 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4772 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4773 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4774 else 4775 gl_unknown_warnings_are_errors= 4776 fi 4777 4778 4779 fi 4780 4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wignored-qualifiers" >&5 4782 $as_echo_n "checking whether $CC handles -Wignored-qualifiers... " >&6; } 4783 if ${gl_cv_warn_CFLAGS__Wignored_qualifiers+:} false; then : 4784 $as_echo_n "(cached) " >&6 4785 else 4786 4787 gl_save_compiler_FLAGS="$CFLAGS" 4788 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wignored-qualifiers" 4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4790 /* end confdefs.h. */ 4791 4792 int 4793 main () 4794 { 4795 4796 ; 4797 return 0; 4798 } 4799 _ACEOF 4800 if ac_fn_c_try_link "$LINENO"; then : 4801 gl_cv_warn_CFLAGS__Wignored_qualifiers=yes 4802 else 4803 gl_cv_warn_CFLAGS__Wignored_qualifiers=no 4804 fi 4805 rm -f core conftest.err conftest.$ac_objext \ 4806 conftest$ac_exeext conftest.$ac_ext 4807 CFLAGS="$gl_save_compiler_FLAGS" 4808 4809 fi 4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wignored_qualifiers" >&5 4811 $as_echo "$gl_cv_warn_CFLAGS__Wignored_qualifiers" >&6; } 4812 if test "x$gl_cv_warn_CFLAGS__Wignored_qualifiers" = xyes; then : 4813 as_fn_append WARN_CFLAGS " -Wignored-qualifiers" 4814 fi 4815 4816 4817 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4819 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4820 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4821 $as_echo_n "(cached) " >&6 4822 else 4823 4824 gl_save_compiler_FLAGS="$CFLAGS" 4825 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4827 /* end confdefs.h. */ 4828 4829 int 4830 main () 4831 { 4832 4833 ; 4834 return 0; 4835 } 4836 _ACEOF 4837 if ac_fn_c_try_link "$LINENO"; then : 4838 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4839 else 4840 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4841 fi 4842 rm -f core conftest.err conftest.$ac_objext \ 4843 conftest$ac_exeext conftest.$ac_ext 4844 CFLAGS="$gl_save_compiler_FLAGS" 4845 4846 fi 4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4848 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4849 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4850 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4851 else 4852 gl_unknown_warnings_are_errors= 4853 fi 4854 4855 4856 fi 4857 4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Winit-self" >&5 4859 $as_echo_n "checking whether $CC handles -Winit-self... " >&6; } 4860 if ${gl_cv_warn_CFLAGS__Winit_self+:} false; then : 4861 $as_echo_n "(cached) " >&6 4862 else 4863 4864 gl_save_compiler_FLAGS="$CFLAGS" 4865 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Winit-self" 4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4867 /* end confdefs.h. */ 4868 4869 int 4870 main () 4871 { 4872 4873 ; 4874 return 0; 4875 } 4876 _ACEOF 4877 if ac_fn_c_try_link "$LINENO"; then : 4878 gl_cv_warn_CFLAGS__Winit_self=yes 4879 else 4880 gl_cv_warn_CFLAGS__Winit_self=no 4881 fi 4882 rm -f core conftest.err conftest.$ac_objext \ 4883 conftest$ac_exeext conftest.$ac_ext 4884 CFLAGS="$gl_save_compiler_FLAGS" 4885 4886 fi 4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Winit_self" >&5 4888 $as_echo "$gl_cv_warn_CFLAGS__Winit_self" >&6; } 4889 if test "x$gl_cv_warn_CFLAGS__Winit_self" = xyes; then : 4890 as_fn_append WARN_CFLAGS " -Winit-self" 4891 fi 4892 4893 4894 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4896 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4897 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4898 $as_echo_n "(cached) " >&6 4899 else 4900 4901 gl_save_compiler_FLAGS="$CFLAGS" 4902 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4904 /* end confdefs.h. */ 4905 4906 int 4907 main () 4908 { 4909 4910 ; 4911 return 0; 4912 } 4913 _ACEOF 4914 if ac_fn_c_try_link "$LINENO"; then : 4915 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4916 else 4917 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4918 fi 4919 rm -f core conftest.err conftest.$ac_objext \ 4920 conftest$ac_exeext conftest.$ac_ext 4921 CFLAGS="$gl_save_compiler_FLAGS" 4922 4923 fi 4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4925 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4926 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4927 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4928 else 4929 gl_unknown_warnings_are_errors= 4930 fi 4931 4932 4933 fi 4934 4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wlogical-op" >&5 4936 $as_echo_n "checking whether $CC handles -Wlogical-op... " >&6; } 4937 if ${gl_cv_warn_CFLAGS__Wlogical_op+:} false; then : 4938 $as_echo_n "(cached) " >&6 4939 else 4940 4941 gl_save_compiler_FLAGS="$CFLAGS" 4942 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wlogical-op" 4943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4944 /* end confdefs.h. */ 4945 4946 int 4947 main () 4948 { 4949 4950 ; 4951 return 0; 4952 } 4953 _ACEOF 4954 if ac_fn_c_try_link "$LINENO"; then : 4955 gl_cv_warn_CFLAGS__Wlogical_op=yes 4956 else 4957 gl_cv_warn_CFLAGS__Wlogical_op=no 4958 fi 4959 rm -f core conftest.err conftest.$ac_objext \ 4960 conftest$ac_exeext conftest.$ac_ext 4961 CFLAGS="$gl_save_compiler_FLAGS" 4962 4963 fi 4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wlogical_op" >&5 4965 $as_echo "$gl_cv_warn_CFLAGS__Wlogical_op" >&6; } 4966 if test "x$gl_cv_warn_CFLAGS__Wlogical_op" = xyes; then : 4967 as_fn_append WARN_CFLAGS " -Wlogical-op" 4968 fi 4969 4970 4971 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4973 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4974 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4975 $as_echo_n "(cached) " >&6 4976 else 4977 4978 gl_save_compiler_FLAGS="$CFLAGS" 4979 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4981 /* end confdefs.h. */ 4982 4983 int 4984 main () 4985 { 4986 4987 ; 4988 return 0; 4989 } 4990 _ACEOF 4991 if ac_fn_c_try_link "$LINENO"; then : 4992 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4993 else 4994 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4995 fi 4996 rm -f core conftest.err conftest.$ac_objext \ 4997 conftest$ac_exeext conftest.$ac_ext 4998 CFLAGS="$gl_save_compiler_FLAGS" 4999 5000 fi 5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5002 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5003 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5004 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5005 else 5006 gl_unknown_warnings_are_errors= 5007 fi 5008 5009 5010 fi 5011 5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wmissing-parameter-type" >&5 5013 $as_echo_n "checking whether $CC handles -Wmissing-parameter-type... " >&6; } 5014 if ${gl_cv_warn_CFLAGS__Wmissing_parameter_type+:} false; then : 5015 $as_echo_n "(cached) " >&6 5016 else 5017 5018 gl_save_compiler_FLAGS="$CFLAGS" 5019 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-parameter-type" 5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5021 /* end confdefs.h. */ 5022 5023 int 5024 main () 5025 { 5026 5027 ; 5028 return 0; 5029 } 5030 _ACEOF 5031 if ac_fn_c_try_link "$LINENO"; then : 5032 gl_cv_warn_CFLAGS__Wmissing_parameter_type=yes 5033 else 5034 gl_cv_warn_CFLAGS__Wmissing_parameter_type=no 5035 fi 5036 rm -f core conftest.err conftest.$ac_objext \ 5037 conftest$ac_exeext conftest.$ac_ext 5038 CFLAGS="$gl_save_compiler_FLAGS" 5039 5040 fi 5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&5 5042 $as_echo "$gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&6; } 5043 if test "x$gl_cv_warn_CFLAGS__Wmissing_parameter_type" = xyes; then : 5044 as_fn_append WARN_CFLAGS " -Wmissing-parameter-type" 5045 fi 5046 5047 5048 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5050 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5051 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5052 $as_echo_n "(cached) " >&6 5053 else 5054 5055 gl_save_compiler_FLAGS="$CFLAGS" 5056 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5058 /* end confdefs.h. */ 5059 5060 int 5061 main () 5062 { 5063 5064 ; 5065 return 0; 5066 } 5067 _ACEOF 5068 if ac_fn_c_try_link "$LINENO"; then : 5069 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5070 else 5071 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5072 fi 5073 rm -f core conftest.err conftest.$ac_objext \ 5074 conftest$ac_exeext conftest.$ac_ext 5075 CFLAGS="$gl_save_compiler_FLAGS" 5076 5077 fi 5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5079 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5080 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5081 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5082 else 5083 gl_unknown_warnings_are_errors= 5084 fi 5085 5086 5087 fi 5088 5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wnested-externs" >&5 5090 $as_echo_n "checking whether $CC handles -Wnested-externs... " >&6; } 5091 if ${gl_cv_warn_CFLAGS__Wnested_externs+:} false; then : 5092 $as_echo_n "(cached) " >&6 5093 else 5094 5095 gl_save_compiler_FLAGS="$CFLAGS" 5096 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wnested-externs" 5097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5098 /* end confdefs.h. */ 5099 5100 int 5101 main () 5102 { 5103 5104 ; 5105 return 0; 5106 } 5107 _ACEOF 5108 if ac_fn_c_try_link "$LINENO"; then : 5109 gl_cv_warn_CFLAGS__Wnested_externs=yes 5110 else 5111 gl_cv_warn_CFLAGS__Wnested_externs=no 5112 fi 5113 rm -f core conftest.err conftest.$ac_objext \ 5114 conftest$ac_exeext conftest.$ac_ext 5115 CFLAGS="$gl_save_compiler_FLAGS" 5116 5117 fi 5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wnested_externs" >&5 5119 $as_echo "$gl_cv_warn_CFLAGS__Wnested_externs" >&6; } 5120 if test "x$gl_cv_warn_CFLAGS__Wnested_externs" = xyes; then : 5121 as_fn_append WARN_CFLAGS " -Wnested-externs" 5122 fi 5123 5124 5125 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5127 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5128 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5129 $as_echo_n "(cached) " >&6 5130 else 5131 5132 gl_save_compiler_FLAGS="$CFLAGS" 5133 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5135 /* end confdefs.h. */ 5136 5137 int 5138 main () 5139 { 5140 5141 ; 5142 return 0; 5143 } 5144 _ACEOF 5145 if ac_fn_c_try_link "$LINENO"; then : 5146 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5147 else 5148 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5149 fi 5150 rm -f core conftest.err conftest.$ac_objext \ 5151 conftest$ac_exeext conftest.$ac_ext 5152 CFLAGS="$gl_save_compiler_FLAGS" 5153 5154 fi 5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5156 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5157 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5158 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5159 else 5160 gl_unknown_warnings_are_errors= 5161 fi 5162 5163 5164 fi 5165 5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-declaration" >&5 5167 $as_echo_n "checking whether $CC handles -Wold-style-declaration... " >&6; } 5168 if ${gl_cv_warn_CFLAGS__Wold_style_declaration+:} false; then : 5169 $as_echo_n "(cached) " >&6 5170 else 5171 5172 gl_save_compiler_FLAGS="$CFLAGS" 5173 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-declaration" 5174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5175 /* end confdefs.h. */ 5176 5177 int 5178 main () 5179 { 5180 5181 ; 5182 return 0; 5183 } 5184 _ACEOF 5185 if ac_fn_c_try_link "$LINENO"; then : 5186 gl_cv_warn_CFLAGS__Wold_style_declaration=yes 5187 else 5188 gl_cv_warn_CFLAGS__Wold_style_declaration=no 5189 fi 5190 rm -f core conftest.err conftest.$ac_objext \ 5191 conftest$ac_exeext conftest.$ac_ext 5192 CFLAGS="$gl_save_compiler_FLAGS" 5193 5194 fi 5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_declaration" >&5 5196 $as_echo "$gl_cv_warn_CFLAGS__Wold_style_declaration" >&6; } 5197 if test "x$gl_cv_warn_CFLAGS__Wold_style_declaration" = xyes; then : 5198 as_fn_append WARN_CFLAGS " -Wold-style-declaration" 5199 fi 5200 5201 5202 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5204 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5205 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5206 $as_echo_n "(cached) " >&6 5207 else 5208 5209 gl_save_compiler_FLAGS="$CFLAGS" 5210 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5212 /* end confdefs.h. */ 5213 5214 int 5215 main () 5216 { 5217 5218 ; 5219 return 0; 5220 } 5221 _ACEOF 5222 if ac_fn_c_try_link "$LINENO"; then : 5223 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5224 else 5225 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5226 fi 5227 rm -f core conftest.err conftest.$ac_objext \ 5228 conftest$ac_exeext conftest.$ac_ext 5229 CFLAGS="$gl_save_compiler_FLAGS" 5230 5231 fi 5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5233 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5234 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5235 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5236 else 5237 gl_unknown_warnings_are_errors= 5238 fi 5239 5240 5241 fi 5242 5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-definition" >&5 5244 $as_echo_n "checking whether $CC handles -Wold-style-definition... " >&6; } 5245 if ${gl_cv_warn_CFLAGS__Wold_style_definition+:} false; then : 5246 $as_echo_n "(cached) " >&6 5247 else 5248 5249 gl_save_compiler_FLAGS="$CFLAGS" 5250 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-definition" 5251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5252 /* end confdefs.h. */ 5253 5254 int 5255 main () 5256 { 5257 5258 ; 5259 return 0; 5260 } 5261 _ACEOF 5262 if ac_fn_c_try_link "$LINENO"; then : 5263 gl_cv_warn_CFLAGS__Wold_style_definition=yes 5264 else 5265 gl_cv_warn_CFLAGS__Wold_style_definition=no 5266 fi 5267 rm -f core conftest.err conftest.$ac_objext \ 5268 conftest$ac_exeext conftest.$ac_ext 5269 CFLAGS="$gl_save_compiler_FLAGS" 5270 5271 fi 5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_definition" >&5 5273 $as_echo "$gl_cv_warn_CFLAGS__Wold_style_definition" >&6; } 5274 if test "x$gl_cv_warn_CFLAGS__Wold_style_definition" = xyes; then : 5275 as_fn_append WARN_CFLAGS " -Wold-style-definition" 5276 fi 5277 5278 5279 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5281 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5282 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5283 $as_echo_n "(cached) " >&6 5284 else 5285 5286 gl_save_compiler_FLAGS="$CFLAGS" 5287 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5289 /* end confdefs.h. */ 5290 5291 int 5292 main () 5293 { 5294 5295 ; 5296 return 0; 5297 } 5298 _ACEOF 5299 if ac_fn_c_try_link "$LINENO"; then : 5300 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5301 else 5302 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5303 fi 5304 rm -f core conftest.err conftest.$ac_objext \ 5305 conftest$ac_exeext conftest.$ac_ext 5306 CFLAGS="$gl_save_compiler_FLAGS" 5307 5308 fi 5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5310 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5311 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5312 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5313 else 5314 gl_unknown_warnings_are_errors= 5315 fi 5316 5317 5318 fi 5319 5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wsign-compare" >&5 5321 $as_echo_n "checking whether $CC handles -Wsign-compare... " >&6; } 5322 if ${gl_cv_warn_CFLAGS__Wsign_compare+:} false; then : 5323 $as_echo_n "(cached) " >&6 5324 else 5325 5326 gl_save_compiler_FLAGS="$CFLAGS" 5327 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsign-compare" 5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5329 /* end confdefs.h. */ 5330 5331 int 5332 main () 5333 { 5334 5335 ; 5336 return 0; 5337 } 5338 _ACEOF 5339 if ac_fn_c_try_link "$LINENO"; then : 5340 gl_cv_warn_CFLAGS__Wsign_compare=yes 5341 else 5342 gl_cv_warn_CFLAGS__Wsign_compare=no 5343 fi 5344 rm -f core conftest.err conftest.$ac_objext \ 5345 conftest$ac_exeext conftest.$ac_ext 5346 CFLAGS="$gl_save_compiler_FLAGS" 5347 5348 fi 5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wsign_compare" >&5 5350 $as_echo "$gl_cv_warn_CFLAGS__Wsign_compare" >&6; } 5351 if test "x$gl_cv_warn_CFLAGS__Wsign_compare" = xyes; then : 5352 as_fn_append WARN_CFLAGS " -Wsign-compare" 5353 fi 5354 5355 5356 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5358 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5359 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5360 $as_echo_n "(cached) " >&6 5361 else 5362 5363 gl_save_compiler_FLAGS="$CFLAGS" 5364 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5366 /* end confdefs.h. */ 5367 5368 int 5369 main () 5370 { 5371 5372 ; 5373 return 0; 5374 } 5375 _ACEOF 5376 if ac_fn_c_try_link "$LINENO"; then : 5377 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5378 else 5379 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5380 fi 5381 rm -f core conftest.err conftest.$ac_objext \ 5382 conftest$ac_exeext conftest.$ac_ext 5383 CFLAGS="$gl_save_compiler_FLAGS" 5384 5385 fi 5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5387 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5388 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5389 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5390 else 5391 gl_unknown_warnings_are_errors= 5392 fi 5393 5394 5395 fi 5396 5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wtype-limits" >&5 5398 $as_echo_n "checking whether $CC handles -Wtype-limits... " >&6; } 5399 if ${gl_cv_warn_CFLAGS__Wtype_limits+:} false; then : 5400 $as_echo_n "(cached) " >&6 5401 else 5402 5403 gl_save_compiler_FLAGS="$CFLAGS" 5404 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wtype-limits" 5405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5406 /* end confdefs.h. */ 5407 5408 int 5409 main () 5410 { 5411 5412 ; 5413 return 0; 5414 } 5415 _ACEOF 5416 if ac_fn_c_try_link "$LINENO"; then : 5417 gl_cv_warn_CFLAGS__Wtype_limits=yes 5418 else 5419 gl_cv_warn_CFLAGS__Wtype_limits=no 5420 fi 5421 rm -f core conftest.err conftest.$ac_objext \ 5422 conftest$ac_exeext conftest.$ac_ext 5423 CFLAGS="$gl_save_compiler_FLAGS" 5424 5425 fi 5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wtype_limits" >&5 5427 $as_echo "$gl_cv_warn_CFLAGS__Wtype_limits" >&6; } 5428 if test "x$gl_cv_warn_CFLAGS__Wtype_limits" = xyes; then : 5429 as_fn_append WARN_CFLAGS " -Wtype-limits" 5430 fi 5431 5432 5433 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5435 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5436 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5437 $as_echo_n "(cached) " >&6 5438 else 5439 5440 gl_save_compiler_FLAGS="$CFLAGS" 5441 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5443 /* end confdefs.h. */ 5444 5445 int 5446 main () 5447 { 5448 5449 ; 5450 return 0; 5451 } 5452 _ACEOF 5453 if ac_fn_c_try_link "$LINENO"; then : 5454 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5455 else 5456 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5457 fi 5458 rm -f core conftest.err conftest.$ac_objext \ 5459 conftest$ac_exeext conftest.$ac_ext 5460 CFLAGS="$gl_save_compiler_FLAGS" 5461 5462 fi 5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5464 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5465 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5466 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5467 else 5468 gl_unknown_warnings_are_errors= 5469 fi 5470 5471 5472 fi 5473 5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wwrite-strings" >&5 5475 $as_echo_n "checking whether $CC handles -Wwrite-strings... " >&6; } 5476 if ${gl_cv_warn_CFLAGS__Wwrite_strings+:} false; then : 5477 $as_echo_n "(cached) " >&6 5478 else 5479 5480 gl_save_compiler_FLAGS="$CFLAGS" 5481 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wwrite-strings" 5482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5483 /* end confdefs.h. */ 5484 5485 int 5486 main () 5487 { 5488 5489 ; 5490 return 0; 5491 } 5492 _ACEOF 5493 if ac_fn_c_try_link "$LINENO"; then : 5494 gl_cv_warn_CFLAGS__Wwrite_strings=yes 5495 else 5496 gl_cv_warn_CFLAGS__Wwrite_strings=no 5497 fi 5498 rm -f core conftest.err conftest.$ac_objext \ 5499 conftest$ac_exeext conftest.$ac_ext 5500 CFLAGS="$gl_save_compiler_FLAGS" 5501 5502 fi 5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wwrite_strings" >&5 5504 $as_echo "$gl_cv_warn_CFLAGS__Wwrite_strings" >&6; } 5505 if test "x$gl_cv_warn_CFLAGS__Wwrite_strings" = xyes; then : 5506 as_fn_append WARN_CFLAGS " -Wwrite-strings" 5507 fi 5508 5509 5510 # Check whether --enable-gcc-Werror was given. 5511 if test "${enable_gcc_Werror+set}" = set; then : 5512 enableval=$enable_gcc_Werror; case $enableval in 5513 yes) if test x${gl_unknown_warnings_are_errors+set} = x; then : 5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5515 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5516 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5517 $as_echo_n "(cached) " >&6 5518 else 5519 5520 gl_save_compiler_FLAGS="$CFLAGS" 5521 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5523 /* end confdefs.h. */ 5524 5525 int 5526 main () 5527 { 5528 5529 ; 5530 return 0; 5531 } 5532 _ACEOF 5533 if ac_fn_c_try_link "$LINENO"; then : 5534 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5535 else 5536 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5537 fi 5538 rm -f core conftest.err conftest.$ac_objext \ 5539 conftest$ac_exeext conftest.$ac_ext 5540 CFLAGS="$gl_save_compiler_FLAGS" 5541 5542 fi 5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5544 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5545 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5546 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5547 else 5548 gl_unknown_warnings_are_errors= 5549 fi 5550 5551 5552 fi 5553 5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror" >&5 5555 $as_echo_n "checking whether $CC handles -Werror... " >&6; } 5556 if ${gl_cv_warn_CFLAGS__Werror+:} false; then : 5557 $as_echo_n "(cached) " >&6 5558 else 5559 5560 gl_save_compiler_FLAGS="$CFLAGS" 5561 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror" 5562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5563 /* end confdefs.h. */ 5564 5565 int 5566 main () 5567 { 5568 5569 ; 5570 return 0; 5571 } 5572 _ACEOF 5573 if ac_fn_c_try_link "$LINENO"; then : 5574 gl_cv_warn_CFLAGS__Werror=yes 5575 else 5576 gl_cv_warn_CFLAGS__Werror=no 5577 fi 5578 rm -f core conftest.err conftest.$ac_objext \ 5579 conftest$ac_exeext conftest.$ac_ext 5580 CFLAGS="$gl_save_compiler_FLAGS" 5581 5582 fi 5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror" >&5 5584 $as_echo "$gl_cv_warn_CFLAGS__Werror" >&6; } 5585 if test "x$gl_cv_warn_CFLAGS__Werror" = xyes; then : 5586 as_fn_append WARN_CFLAGS " -Werror" 5587 fi 5588 5589 ;; 5590 no) ;; 5591 *) as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;; 5592 esac 5593 5594 fi 5595 5596 5597 5598 5599 5600 5601 if test -n "${ac_c_decl_warn_flag+set}"; then : 5602 st_saved_ac_c_decl_warn_flag="${ac_c_decl_warn_flag}"; unset ac_c_decl_warn_flag 5603 fi 5604 5605 if test -n "${ac_c_preproc_warn_flag+set}"; then : 5606 st_saved_ac_c_preproc_warn_flag="${ac_c_preproc_warn_flag}"; unset ac_c_preproc_warn_flag 5607 fi 5608 5609 if test -n "${ac_c_werror_flag+set}"; then : 5610 st_saved_ac_c_werror_flag="${ac_c_werror_flag}"; unset ac_c_werror_flag 5611 fi 5612 5613 if test -n "${ac_compile+set}"; then : 5614 st_saved_ac_compile="${ac_compile}"; unset ac_compile 5615 fi 5616 5617 if test -n "${ac_compiler_gnu+set}"; then : 5618 st_saved_ac_compiler_gnu="${ac_compiler_gnu}"; unset ac_compiler_gnu 5619 fi 5620 5621 if test -n "${ac_cpp+set}"; then : 5622 st_saved_ac_cpp="${ac_cpp}"; unset ac_cpp 5623 fi 5624 5625 if test -n "${ac_cv_c_compiler_gnu+set}"; then : 5626 st_saved_ac_cv_c_compiler_gnu="${ac_cv_c_compiler_gnu}"; unset ac_cv_c_compiler_gnu 5627 fi 5628 5629 if test -n "${ac_cv_c_decl_report+set}"; then : 5630 st_saved_ac_cv_c_decl_report="${ac_cv_c_decl_report}"; unset ac_cv_c_decl_report 5631 fi 5632 5633 if test -n "${ac_link+set}"; then : 5634 st_saved_ac_link="${ac_link}"; unset ac_link 5635 fi 5636 5637 if test -n "${ac_tool_prefix+set}"; then : 5638 st_saved_ac_tool_prefix="${ac_tool_prefix}"; unset ac_tool_prefix 5639 fi 5640 5641 if test -n "${cross_compiling+set}"; then : 5642 st_saved_cross_compiling="${cross_compiling}"; unset cross_compiling 5643 fi 5644 5645 cross_compiling=no 5646 5647 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for a C compiler that generates native executables" >&5 5648 $as_echo "$as_me: looking for a C compiler that generates native executables" >&6;} 5649 ac_ext=c 5650 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 5651 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 5652 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 5653 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5654 if test -n "$ac_tool_prefix"; then 5655 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5656 set dummy ${ac_tool_prefix}gcc; ac_word=$2 5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5658 $as_echo_n "checking for $ac_word... " >&6; } 5659 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5660 $as_echo_n "(cached) " >&6 5661 else 5662 if test -n "$CC_FOR_BUILD"; then 5663 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5664 else 5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5666 for as_dir in $PATH 5667 do 5668 IFS=$as_save_IFS 5669 test -z "$as_dir" && as_dir=. 5670 for ac_exec_ext in '' $ac_executable_extensions; do 5671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5672 ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}gcc" 5673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5674 break 2 5675 fi 5676 done 5677 done 5678 IFS=$as_save_IFS 5679 5680 fi 5681 fi 5682 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5683 if test -n "$CC_FOR_BUILD"; then 5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 5685 $as_echo "$CC_FOR_BUILD" >&6; } 5686 else 5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5688 $as_echo "no" >&6; } 5689 fi 5690 5691 5692 fi 5693 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then 5694 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD 5695 # Extract the first word of "gcc", so it can be a program name with args. 5696 set dummy gcc; ac_word=$2 5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5698 $as_echo_n "checking for $ac_word... " >&6; } 5699 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then : 5700 $as_echo_n "(cached) " >&6 5701 else 5702 if test -n "$ac_ct_CC_FOR_BUILD"; then 5703 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test. 5704 else 5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5706 for as_dir in $PATH 5707 do 5708 IFS=$as_save_IFS 5709 test -z "$as_dir" && as_dir=. 5710 for ac_exec_ext in '' $ac_executable_extensions; do 5711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5712 ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc" 5713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5714 break 2 5715 fi 5716 done 5717 done 5718 IFS=$as_save_IFS 5719 5720 fi 5721 fi 5722 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD 5723 if test -n "$ac_ct_CC_FOR_BUILD"; then 5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 5725 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; } 5726 else 5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5728 $as_echo "no" >&6; } 5729 fi 5730 5731 if test "x$ac_ct_CC_FOR_BUILD" = x; then 5732 CC_FOR_BUILD="" 5733 else 5734 case $cross_compiling:$ac_tool_warned in 5735 yes:) 5736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5 5737 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;} 5738 ac_tool_warned=yes ;; 5739 esac 5740 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD 5741 fi 5742 else 5743 CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD" 5744 fi 5745 5746 if test -z "$CC_FOR_BUILD"; then 5747 if test -n "$ac_tool_prefix"; then 5748 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5749 set dummy ${ac_tool_prefix}cc; ac_word=$2 5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5751 $as_echo_n "checking for $ac_word... " >&6; } 5752 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5753 $as_echo_n "(cached) " >&6 5754 else 5755 if test -n "$CC_FOR_BUILD"; then 5756 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5757 else 5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5759 for as_dir in $PATH 5760 do 5761 IFS=$as_save_IFS 5762 test -z "$as_dir" && as_dir=. 5763 for ac_exec_ext in '' $ac_executable_extensions; do 5764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5765 ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}cc" 5766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5767 break 2 5768 fi 5769 done 5770 done 5771 IFS=$as_save_IFS 5772 5773 fi 5774 fi 5775 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5776 if test -n "$CC_FOR_BUILD"; then 5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 5778 $as_echo "$CC_FOR_BUILD" >&6; } 5779 else 5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5781 $as_echo "no" >&6; } 5782 fi 5783 5784 5785 fi 5786 fi 5787 if test -z "$CC_FOR_BUILD"; then 5788 # Extract the first word of "cc", so it can be a program name with args. 5789 set dummy cc; ac_word=$2 5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5791 $as_echo_n "checking for $ac_word... " >&6; } 5792 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5793 $as_echo_n "(cached) " >&6 5794 else 5795 if test -n "$CC_FOR_BUILD"; then 5796 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5797 else 5798 ac_prog_rejected=no 5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5800 for as_dir in $PATH 5801 do 5802 IFS=$as_save_IFS 5803 test -z "$as_dir" && as_dir=. 5804 for ac_exec_ext in '' $ac_executable_extensions; do 5805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5806 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5807 ac_prog_rejected=yes 5808 continue 5809 fi 5810 ac_cv_prog_CC_FOR_BUILD="cc" 5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5812 break 2 5813 fi 5814 done 5815 done 5816 IFS=$as_save_IFS 5817 5818 if test $ac_prog_rejected = yes; then 5819 # We found a bogon in the path, so make sure we never use it. 5820 set dummy $ac_cv_prog_CC_FOR_BUILD 5821 shift 5822 if test $# != 0; then 5823 # We chose a different compiler from the bogus one. 5824 # However, it has the same basename, so the bogon will be chosen 5825 # first if we set CC_FOR_BUILD to just the basename; use the full file name. 5826 shift 5827 ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@" 5828 fi 5829 fi 5830 fi 5831 fi 5832 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5833 if test -n "$CC_FOR_BUILD"; then 5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 5835 $as_echo "$CC_FOR_BUILD" >&6; } 5836 else 5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5838 $as_echo "no" >&6; } 5839 fi 5840 5841 5842 fi 5843 if test -z "$CC_FOR_BUILD"; then 5844 if test -n "$ac_tool_prefix"; then 5845 for ac_prog in cl.exe 5846 do 5847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5848 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5850 $as_echo_n "checking for $ac_word... " >&6; } 5851 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5852 $as_echo_n "(cached) " >&6 5853 else 5854 if test -n "$CC_FOR_BUILD"; then 5855 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5856 else 5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5858 for as_dir in $PATH 5859 do 5860 IFS=$as_save_IFS 5861 test -z "$as_dir" && as_dir=. 5862 for ac_exec_ext in '' $ac_executable_extensions; do 5863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5864 ac_cv_prog_CC_FOR_BUILD="$ac_tool_prefix$ac_prog" 5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5866 break 2 5867 fi 5868 done 5869 done 5870 IFS=$as_save_IFS 5871 5872 fi 5873 fi 5874 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5875 if test -n "$CC_FOR_BUILD"; then 5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 5877 $as_echo "$CC_FOR_BUILD" >&6; } 5878 else 5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5880 $as_echo "no" >&6; } 5881 fi 5882 5883 5884 test -n "$CC_FOR_BUILD" && break 5885 done 5886 fi 5887 if test -z "$CC_FOR_BUILD"; then 5888 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD 5889 for ac_prog in cl.exe 5890 do 5891 # Extract the first word of "$ac_prog", so it can be a program name with args. 5892 set dummy $ac_prog; ac_word=$2 5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5894 $as_echo_n "checking for $ac_word... " >&6; } 5895 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then : 5896 $as_echo_n "(cached) " >&6 5897 else 5898 if test -n "$ac_ct_CC_FOR_BUILD"; then 5899 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test. 5900 else 5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5902 for as_dir in $PATH 5903 do 5904 IFS=$as_save_IFS 5905 test -z "$as_dir" && as_dir=. 5906 for ac_exec_ext in '' $ac_executable_extensions; do 5907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5908 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog" 5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5910 break 2 5911 fi 5912 done 5913 done 5914 IFS=$as_save_IFS 5915 5916 fi 5917 fi 5918 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD 5919 if test -n "$ac_ct_CC_FOR_BUILD"; then 5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 5921 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; } 5922 else 5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5924 $as_echo "no" >&6; } 5925 fi 5926 5927 5928 test -n "$ac_ct_CC_FOR_BUILD" && break 5929 done 5930 5931 if test "x$ac_ct_CC_FOR_BUILD" = x; then 5932 CC_FOR_BUILD="" 5933 else 5934 case $cross_compiling:$ac_tool_warned in 5935 yes:) 5936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5 5937 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;} 5938 ac_tool_warned=yes ;; 5939 esac 5940 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD 5941 fi 5942 fi 5943 5944 fi 5945 5946 5947 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5949 as_fn_error $? "no acceptable C compiler found in \$PATH 5950 See \`config.log' for more details" "$LINENO" 5; } 5951 5952 # Provide some information about the compiler. 5953 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5954 set X $ac_compile 5955 ac_compiler=$2 5956 for ac_option in --version -v -V -qversion; do 5957 { { ac_try="$ac_compiler $ac_option >&5" 5958 case "(($ac_try" in 5959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5960 *) ac_try_echo=$ac_try;; 5961 esac 5962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5963 $as_echo "$ac_try_echo"; } >&5 5964 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5965 ac_status=$? 5966 if test -s conftest.err; then 5967 sed '10a\ 5968 ... rest of stderr output deleted ... 5969 10q' conftest.err >conftest.er1 5970 cat conftest.er1 >&5 5971 fi 5972 rm -f conftest.er1 conftest.err 5973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5974 test $ac_status = 0; } 5975 done 5976 5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5978 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5979 if ${ac_cv_c_compiler_gnu+:} false; then : 5980 $as_echo_n "(cached) " >&6 5981 else 5982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5983 /* end confdefs.h. */ 5984 5985 int 5986 main () 5987 { 5988 #ifndef __GNUC__ 5989 choke me 5990 #endif 5991 5992 ; 5993 return 0; 5994 } 5995 _ACEOF 5996 if ac_fn_c_try_compile "$LINENO"; then : 5997 ac_compiler_gnu=yes 5998 else 5999 ac_compiler_gnu=no 6000 fi 6001 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6002 ac_cv_c_compiler_gnu=$ac_compiler_gnu 6003 6004 fi 6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 6006 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 6007 if test $ac_compiler_gnu = yes; then 6008 GCC=yes 6009 else 6010 GCC= 6011 fi 6012 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set} 6013 ac_save_CFLAGS=$CFLAGS_FOR_BUILD 6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5 6015 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; } 6016 if ${ac_cv_build_prog_cc_g+:} false; then : 6017 $as_echo_n "(cached) " >&6 6018 else 6019 ac_save_c_werror_flag=$ac_c_werror_flag 6020 ac_c_werror_flag=yes 6021 ac_cv_build_prog_cc_g=no 6022 CFLAGS_FOR_BUILD="-g" 6023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6024 /* end confdefs.h. */ 6025 6026 int 6027 main () 6028 { 6029 6030 ; 6031 return 0; 6032 } 6033 _ACEOF 6034 if ac_fn_c_try_compile "$LINENO"; then : 6035 ac_cv_build_prog_cc_g=yes 6036 else 6037 CFLAGS_FOR_BUILD="" 6038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6039 /* end confdefs.h. */ 6040 6041 int 6042 main () 6043 { 6044 6045 ; 6046 return 0; 6047 } 6048 _ACEOF 6049 if ac_fn_c_try_compile "$LINENO"; then : 6050 6051 else 6052 ac_c_werror_flag=$ac_save_c_werror_flag 6053 CFLAGS_FOR_BUILD="-g" 6054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6055 /* end confdefs.h. */ 6056 6057 int 6058 main () 6059 { 6060 6061 ; 6062 return 0; 6063 } 6064 _ACEOF 6065 if ac_fn_c_try_compile "$LINENO"; then : 6066 ac_cv_build_prog_cc_g=yes 6067 fi 6068 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6069 fi 6070 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6071 fi 6072 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6073 ac_c_werror_flag=$ac_save_c_werror_flag 6074 fi 6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5 6076 $as_echo "$ac_cv_build_prog_cc_g" >&6; } 6077 if test "$ac_test_CFLAGS" = set; then 6078 CFLAGS_FOR_BUILD=$ac_save_CFLAGS 6079 elif test $ac_cv_build_prog_cc_g = yes; then 6080 if test "$GCC" = yes; then 6081 CFLAGS_FOR_BUILD="-g -O2" 6082 else 6083 CFLAGS_FOR_BUILD="-g" 6084 fi 6085 else 6086 if test "$GCC" = yes; then 6087 CFLAGS_FOR_BUILD="-O2" 6088 else 6089 CFLAGS_FOR_BUILD= 6090 fi 6091 fi 6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5 6093 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; } 6094 if ${ac_cv_build_prog_cc_c89+:} false; then : 6095 $as_echo_n "(cached) " >&6 6096 else 6097 ac_cv_build_prog_cc_c89=no 6098 ac_save_CC=$CC_FOR_BUILD 6099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6100 /* end confdefs.h. */ 6101 #include <stdarg.h> 6102 #include <stdio.h> 6103 struct stat; 6104 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 6105 struct buf { int x; }; 6106 FILE * (*rcsopen) (struct buf *, struct stat *, int); 6107 static char *e (p, i) 6108 char **p; 6109 int i; 6110 { 6111 return p[i]; 6112 } 6113 static char *f (char * (*g) (char **, int), char **p, ...) 6114 { 6115 char *s; 6116 va_list v; 6117 va_start (v,p); 6118 s = g (p, va_arg (v,int)); 6119 va_end (v); 6120 return s; 6121 } 6122 6123 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 6124 function prototypes and stuff, but not '\xHH' hex character constants. 6125 These don't provoke an error unfortunately, instead are silently treated 6126 as 'x'. The following induces an error, until -std is added to get 6127 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 6128 array size at least. It's necessary to write '\x00'==0 to get something 6129 that's true only with -std. */ 6130 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 6131 6132 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 6133 inside strings and character constants. */ 6134 #define FOO(x) 'x' 6135 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 6136 6137 int test (int i, double x); 6138 struct s1 {int (*f) (int a);}; 6139 struct s2 {int (*f) (double a);}; 6140 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 6141 int argc; 6142 char **argv; 6143 int 6144 main () 6145 { 6146 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 6147 ; 6148 return 0; 6149 } 6150 _ACEOF 6151 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 6152 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 6153 do 6154 CC_FOR_BUILD="$ac_save_CC $ac_arg" 6155 if ac_fn_c_try_compile "$LINENO"; then : 6156 ac_cv_build_prog_cc_c89=$ac_arg 6157 fi 6158 rm -f core conftest.err conftest.$ac_build_objext 6159 test "x$ac_cv_build_prog_cc_c89" != "xno" && break 6160 done 6161 rm -f conftest.$ac_ext 6162 CC_FOR_BUILD=$ac_save_CC 6163 6164 fi 6165 # AC_CACHE_VAL 6166 case "x$ac_cv_build_prog_cc_c89" in 6167 x) 6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 6169 $as_echo "none needed" >&6; } ;; 6170 xno) 6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 6172 $as_echo "unsupported" >&6; } ;; 6173 *) 6174 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c89" 6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c89" >&5 6176 $as_echo "$ac_cv_build_prog_cc_c89" >&6; } ;; 6177 esac 6178 if test "x$ac_cv_build_prog_cc_c89" != xno; then : 6179 6180 fi 6181 6182 ac_ext=c 6183 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6184 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6185 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6186 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6187 6188 ac_ext=c 6189 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6190 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6191 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6192 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5 6194 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; } 6195 if ${am_cv_build_prog_cc_c_o+:} false; then : 6196 $as_echo_n "(cached) " >&6 6197 else 6198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6199 /* end confdefs.h. */ 6200 6201 int 6202 main () 6203 { 6204 6205 ; 6206 return 0; 6207 } 6208 _ACEOF 6209 # Make sure it works both with $CC and with simple cc. 6210 # Following AC_PROG_CC_C_O, we do the test twice because some 6211 # compilers refuse to overwrite an existing .o file with -o, 6212 # though they will create one. 6213 am_cv_build_prog_cc_c_o=yes 6214 for am_i in 1 2; do 6215 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5 6216 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5 6217 ac_status=$? 6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6219 (exit $ac_status); } \ 6220 && test -f conftest2.$ac_build_objext; then 6221 : OK 6222 else 6223 am_cv_build_prog_cc_c_o=no 6224 break 6225 fi 6226 done 6227 rm -f core conftest* 6228 unset am_i 6229 fi 6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_prog_cc_c_o" >&5 6231 $as_echo "$am_cv_build_prog_cc_c_o" >&6; } 6232 if test "$am_cv_build_prog_cc_c_o" != yes; then 6233 # Losing compiler, so override with the script. 6234 # FIXME: It is wrong to rewrite CC. 6235 # But if we don't then we get into trouble of one sort or another. 6236 # A longer-term fix would be to have automake use am__CC in this case, 6237 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 6238 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD" 6239 fi 6240 ac_ext=c 6241 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6242 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6243 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6244 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6245 6246 6247 depcc="$CC_FOR_BUILD" am_compiler_list= 6248 6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 6250 $as_echo_n "checking dependency style of $depcc... " >&6; } 6251 if ${am_cv_build_CC_dependencies_compiler_type+:} false; then : 6252 $as_echo_n "(cached) " >&6 6253 else 6254 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6255 # We make a subdir and do the tests there. Otherwise we can end up 6256 # making bogus files that we don't know about and never remove. For 6257 # instance it was reported that on HP-UX the gcc test will end up 6258 # making a dummy file named 'D' -- because '-MD' means "put the output 6259 # in D". 6260 rm -rf conftest.dir 6261 mkdir conftest.dir 6262 # Copy depcomp to subdir because otherwise we won't find it if we're 6263 # using a relative directory. 6264 cp "$am_depcomp" conftest.dir 6265 cd conftest.dir 6266 # We will build objects and dependencies in a subdirectory because 6267 # it helps to detect inapplicable dependency modes. For instance 6268 # both Tru64's cc and ICC support -MD to output dependencies as a 6269 # side effect of compilation, but ICC will put the dependencies in 6270 # the current directory while Tru64 will put them in the object 6271 # directory. 6272 mkdir sub 6273 6274 am_cv_build_CC_dependencies_compiler_type=none 6275 if test "$am_compiler_list" = ""; then 6276 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6277 fi 6278 am__universal=false 6279 case " $depcc " in #( 6280 *\ -arch\ *\ -arch\ *) am__universal=true ;; 6281 esac 6282 6283 for depmode in $am_compiler_list; do 6284 # Setup a source with many dependencies, because some compilers 6285 # like to wrap large dependency lists on column 80 (with \), and 6286 # we should not choose a depcomp mode which is confused by this. 6287 # 6288 # We need to recreate these files for each test, as the compiler may 6289 # overwrite some of them when testing with obscure command lines. 6290 # This happens at least with the AIX C compiler. 6291 : > sub/conftest.c 6292 for i in 1 2 3 4 5 6; do 6293 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6294 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 6295 # Solaris 10 /bin/sh. 6296 echo '/* dummy */' > sub/conftst$i.h 6297 done 6298 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6299 6300 # We check with '-c' and '-o' for the sake of the "dashmstdout" 6301 # mode. It turns out that the SunPro C++ compiler does not properly 6302 # handle '-M -o', and we need to detect this. Also, some Intel 6303 # versions had trouble with output in subdirs. 6304 am__obj=sub/conftest.${OBJEXT-o} 6305 am__minus_obj="-o $am__obj" 6306 case $depmode in 6307 gcc) 6308 # This depmode causes a compiler race in universal mode. 6309 test "$am__universal" = false || continue 6310 ;; 6311 nosideeffect) 6312 # After this tag, mechanisms are not by side-effect, so they'll 6313 # only be used when explicitly requested. 6314 if test "x$enable_dependency_tracking" = xyes; then 6315 continue 6316 else 6317 break 6318 fi 6319 ;; 6320 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 6321 # This compiler won't grok '-c -o', but also, the minuso test has 6322 # not run yet. These depmodes are late enough in the game, and 6323 # so weak that their functioning should not be impacted. 6324 am__obj=conftest.${OBJEXT-o} 6325 am__minus_obj= 6326 ;; 6327 none) break ;; 6328 esac 6329 if depmode=$depmode \ 6330 source=sub/conftest.c object=$am__obj \ 6331 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6332 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6333 >/dev/null 2>conftest.err && 6334 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 6335 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6336 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6337 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6338 # icc doesn't choke on unknown options, it will just issue warnings 6339 # or remarks (even with -Werror). So we grep stderr for any message 6340 # that says an option was ignored or not supported. 6341 # When given -MP, icc 7.0 and 7.1 complain thusly: 6342 # icc: Command line warning: ignoring option '-M'; no argument required 6343 # The diagnosis changed in icc 8.0: 6344 # icc: Command line remark: option '-MP' not supported 6345 if (grep 'ignoring option' conftest.err || 6346 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6347 am_cv_build_CC_dependencies_compiler_type=$depmode 6348 break 6349 fi 6350 fi 6351 done 6352 6353 cd .. 6354 rm -rf conftest.dir 6355 else 6356 am_cv_build_CC_dependencies_compiler_type=none 6357 fi 6358 6359 fi 6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_CC_dependencies_compiler_type" >&5 6361 $as_echo "$am_cv_build_CC_dependencies_compiler_type" >&6; } 6362 CCDEPMODE=depmode=$am_cv_build_CC_dependencies_compiler_type 6363 6364 if 6365 test "x$enable_dependency_tracking" != xno \ 6366 && test "$am_cv_build_CC_dependencies_compiler_type" = gcc3; then 6367 am__fastdepCC_TRUE= 6368 am__fastdepCC_FALSE='#' 6369 else 6370 am__fastdepCC_TRUE='#' 6371 am__fastdepCC_FALSE= 6372 fi 6373 6374 6375 ac_ext=c 6376 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6377 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6378 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6379 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6381 $as_echo_n "checking how to run the C preprocessor... " >&6; } 6382 # On Suns, sometimes $CPP names a directory. 6383 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then 6384 CPP_FOR_BUILD= 6385 fi 6386 if test -z "$CPP_FOR_BUILD"; then 6387 if ${ac_cv_build_prog_CPP+:} false; then : 6388 $as_echo_n "(cached) " >&6 6389 else 6390 # Double quotes because CPP needs to be expanded 6391 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp" 6392 do 6393 ac_preproc_ok=false 6394 for ac_c_preproc_warn_flag in '' yes 6395 do 6396 # Use a header file that comes with gcc, so configuring glibc 6397 # with a fresh cross-compiler works. 6398 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6399 # <limits.h> exists even on freestanding compilers. 6400 # On the NeXT, cc -E runs the code through the compiler's parser, 6401 # not just through cpp. "Syntax error" is here to catch this case. 6402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6403 /* end confdefs.h. */ 6404 #ifdef __STDC__ 6405 # include <limits.h> 6406 #else 6407 # include <assert.h> 6408 #endif 6409 Syntax error 6410 _ACEOF 6411 if ac_fn_c_try_cpp "$LINENO"; then : 6412 6413 else 6414 # Broken: fails on valid input. 6415 continue 6416 fi 6417 rm -f conftest.err conftest.i conftest.$ac_ext 6418 6419 # OK, works on sane cases. Now check whether nonexistent headers 6420 # can be detected and how. 6421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6422 /* end confdefs.h. */ 6423 #include <ac_nonexistent.h> 6424 _ACEOF 6425 if ac_fn_c_try_cpp "$LINENO"; then : 6426 # Broken: success on invalid input. 6427 continue 6428 else 6429 # Passes both tests. 6430 ac_preproc_ok=: 6431 break 6432 fi 6433 rm -f conftest.err conftest.i conftest.$ac_ext 6434 6435 done 6436 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6437 rm -f conftest.i conftest.err conftest.$ac_ext 6438 if $ac_preproc_ok; then : 6439 break 6440 fi 6441 6442 done 6443 ac_cv_build_prog_CPP=$CPP_FOR_BUILD 6444 6445 fi 6446 CPP_FOR_BUILD=$ac_cv_build_prog_CPP 6447 else 6448 ac_cv_build_prog_CPP=$CPP_FOR_BUILD 6449 fi 6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5 6451 $as_echo "$CPP_FOR_BUILD" >&6; } 6452 ac_preproc_ok=false 6453 for ac_c_preproc_warn_flag in '' yes 6454 do 6455 # Use a header file that comes with gcc, so configuring glibc 6456 # with a fresh cross-compiler works. 6457 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6458 # <limits.h> exists even on freestanding compilers. 6459 # On the NeXT, cc -E runs the code through the compiler's parser, 6460 # not just through cpp. "Syntax error" is here to catch this case. 6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6462 /* end confdefs.h. */ 6463 #ifdef __STDC__ 6464 # include <limits.h> 6465 #else 6466 # include <assert.h> 6467 #endif 6468 Syntax error 6469 _ACEOF 6470 if ac_fn_c_try_cpp "$LINENO"; then : 6471 6472 else 6473 # Broken: fails on valid input. 6474 continue 6475 fi 6476 rm -f conftest.err conftest.i conftest.$ac_ext 6477 6478 # OK, works on sane cases. Now check whether nonexistent headers 6479 # can be detected and how. 6480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6481 /* end confdefs.h. */ 6482 #include <ac_nonexistent.h> 6483 _ACEOF 6484 if ac_fn_c_try_cpp "$LINENO"; then : 6485 # Broken: success on invalid input. 6486 continue 6487 else 6488 # Passes both tests. 6489 ac_preproc_ok=: 6490 break 6491 fi 6492 rm -f conftest.err conftest.i conftest.$ac_ext 6493 6494 done 6495 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6496 rm -f conftest.i conftest.err conftest.$ac_ext 6497 if $ac_preproc_ok; then : 6498 6499 else 6500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6502 as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check 6503 See \`config.log' for more details" "$LINENO" 5; } 6504 fi 6505 6506 ac_ext=c 6507 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6508 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6509 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6510 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6511 6512 6513 6514 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6516 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6517 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6518 $as_echo_n "(cached) " >&6 6519 else 6520 6521 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6522 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6524 /* end confdefs.h. */ 6525 6526 int 6527 main () 6528 { 6529 6530 ; 6531 return 0; 6532 } 6533 _ACEOF 6534 if ac_fn_c_try_link "$LINENO"; then : 6535 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6536 else 6537 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6538 fi 6539 rm -f core conftest.err conftest.$ac_build_objext \ 6540 conftest$ac_build_exeext conftest.$ac_ext 6541 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6542 6543 fi 6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6545 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6546 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6547 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6548 else 6549 gl_build_unknown_warnings_are_errors= 6550 fi 6551 6552 6553 fi 6554 6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wall" >&5 6556 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wall... " >&6; } 6557 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wall+:} false; then : 6558 $as_echo_n "(cached) " >&6 6559 else 6560 6561 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6562 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wall" 6563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6564 /* end confdefs.h. */ 6565 6566 int 6567 main () 6568 { 6569 6570 ; 6571 return 0; 6572 } 6573 _ACEOF 6574 if ac_fn_c_try_link "$LINENO"; then : 6575 gl_cv_warn_CFLAGS_FOR_BUILD__Wall=yes 6576 else 6577 gl_cv_warn_CFLAGS_FOR_BUILD__Wall=no 6578 fi 6579 rm -f core conftest.err conftest.$ac_build_objext \ 6580 conftest$ac_build_exeext conftest.$ac_ext 6581 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6582 6583 fi 6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&5 6585 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&6; } 6586 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" = xyes; then : 6587 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wall" 6588 fi 6589 6590 6591 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6593 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6594 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6595 $as_echo_n "(cached) " >&6 6596 else 6597 6598 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6599 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6601 /* end confdefs.h. */ 6602 6603 int 6604 main () 6605 { 6606 6607 ; 6608 return 0; 6609 } 6610 _ACEOF 6611 if ac_fn_c_try_link "$LINENO"; then : 6612 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6613 else 6614 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6615 fi 6616 rm -f core conftest.err conftest.$ac_build_objext \ 6617 conftest$ac_build_exeext conftest.$ac_ext 6618 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6619 6620 fi 6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6622 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6623 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6624 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6625 else 6626 gl_build_unknown_warnings_are_errors= 6627 fi 6628 6629 6630 fi 6631 6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wempty-body" >&5 6633 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wempty-body... " >&6; } 6634 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body+:} false; then : 6635 $as_echo_n "(cached) " >&6 6636 else 6637 6638 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6639 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wempty-body" 6640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6641 /* end confdefs.h. */ 6642 6643 int 6644 main () 6645 { 6646 6647 ; 6648 return 0; 6649 } 6650 _ACEOF 6651 if ac_fn_c_try_link "$LINENO"; then : 6652 gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=yes 6653 else 6654 gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=no 6655 fi 6656 rm -f core conftest.err conftest.$ac_build_objext \ 6657 conftest$ac_build_exeext conftest.$ac_ext 6658 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6659 6660 fi 6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&5 6662 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&6; } 6663 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" = xyes; then : 6664 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wempty-body" 6665 fi 6666 6667 6668 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6670 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6671 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6672 $as_echo_n "(cached) " >&6 6673 else 6674 6675 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6676 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6678 /* end confdefs.h. */ 6679 6680 int 6681 main () 6682 { 6683 6684 ; 6685 return 0; 6686 } 6687 _ACEOF 6688 if ac_fn_c_try_link "$LINENO"; then : 6689 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6690 else 6691 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6692 fi 6693 rm -f core conftest.err conftest.$ac_build_objext \ 6694 conftest$ac_build_exeext conftest.$ac_ext 6695 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6696 6697 fi 6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6699 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6700 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6701 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6702 else 6703 gl_build_unknown_warnings_are_errors= 6704 fi 6705 6706 6707 fi 6708 6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wformat-security" >&5 6710 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wformat-security... " >&6; } 6711 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security+:} false; then : 6712 $as_echo_n "(cached) " >&6 6713 else 6714 6715 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6716 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wformat-security" 6717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6718 /* end confdefs.h. */ 6719 6720 int 6721 main () 6722 { 6723 6724 ; 6725 return 0; 6726 } 6727 _ACEOF 6728 if ac_fn_c_try_link "$LINENO"; then : 6729 gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=yes 6730 else 6731 gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=no 6732 fi 6733 rm -f core conftest.err conftest.$ac_build_objext \ 6734 conftest$ac_build_exeext conftest.$ac_ext 6735 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6736 6737 fi 6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&5 6739 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&6; } 6740 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" = xyes; then : 6741 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wformat-security" 6742 fi 6743 6744 6745 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6747 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6748 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6749 $as_echo_n "(cached) " >&6 6750 else 6751 6752 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6753 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6755 /* end confdefs.h. */ 6756 6757 int 6758 main () 6759 { 6760 6761 ; 6762 return 0; 6763 } 6764 _ACEOF 6765 if ac_fn_c_try_link "$LINENO"; then : 6766 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6767 else 6768 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6769 fi 6770 rm -f core conftest.err conftest.$ac_build_objext \ 6771 conftest$ac_build_exeext conftest.$ac_ext 6772 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6773 6774 fi 6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6776 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6777 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6778 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6779 else 6780 gl_build_unknown_warnings_are_errors= 6781 fi 6782 6783 6784 fi 6785 6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wignored-qualifiers" >&5 6787 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wignored-qualifiers... " >&6; } 6788 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers+:} false; then : 6789 $as_echo_n "(cached) " >&6 6790 else 6791 6792 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6793 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wignored-qualifiers" 6794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6795 /* end confdefs.h. */ 6796 6797 int 6798 main () 6799 { 6800 6801 ; 6802 return 0; 6803 } 6804 _ACEOF 6805 if ac_fn_c_try_link "$LINENO"; then : 6806 gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=yes 6807 else 6808 gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=no 6809 fi 6810 rm -f core conftest.err conftest.$ac_build_objext \ 6811 conftest$ac_build_exeext conftest.$ac_ext 6812 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6813 6814 fi 6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&5 6816 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&6; } 6817 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" = xyes; then : 6818 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wignored-qualifiers" 6819 fi 6820 6821 6822 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6824 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6825 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6826 $as_echo_n "(cached) " >&6 6827 else 6828 6829 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6830 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6832 /* end confdefs.h. */ 6833 6834 int 6835 main () 6836 { 6837 6838 ; 6839 return 0; 6840 } 6841 _ACEOF 6842 if ac_fn_c_try_link "$LINENO"; then : 6843 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6844 else 6845 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6846 fi 6847 rm -f core conftest.err conftest.$ac_build_objext \ 6848 conftest$ac_build_exeext conftest.$ac_ext 6849 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6850 6851 fi 6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6853 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6854 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6855 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6856 else 6857 gl_build_unknown_warnings_are_errors= 6858 fi 6859 6860 6861 fi 6862 6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Winit-self" >&5 6864 $as_echo_n "checking whether $CC_FOR_BUILD handles -Winit-self... " >&6; } 6865 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self+:} false; then : 6866 $as_echo_n "(cached) " >&6 6867 else 6868 6869 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6870 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Winit-self" 6871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6872 /* end confdefs.h. */ 6873 6874 int 6875 main () 6876 { 6877 6878 ; 6879 return 0; 6880 } 6881 _ACEOF 6882 if ac_fn_c_try_link "$LINENO"; then : 6883 gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=yes 6884 else 6885 gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=no 6886 fi 6887 rm -f core conftest.err conftest.$ac_build_objext \ 6888 conftest$ac_build_exeext conftest.$ac_ext 6889 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6890 6891 fi 6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&5 6893 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&6; } 6894 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" = xyes; then : 6895 as_fn_append WARN_CFLAGS_FOR_BUILD " -Winit-self" 6896 fi 6897 6898 6899 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6901 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6902 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6903 $as_echo_n "(cached) " >&6 6904 else 6905 6906 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6907 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6909 /* end confdefs.h. */ 6910 6911 int 6912 main () 6913 { 6914 6915 ; 6916 return 0; 6917 } 6918 _ACEOF 6919 if ac_fn_c_try_link "$LINENO"; then : 6920 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6921 else 6922 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6923 fi 6924 rm -f core conftest.err conftest.$ac_build_objext \ 6925 conftest$ac_build_exeext conftest.$ac_ext 6926 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6927 6928 fi 6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6930 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6931 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6932 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6933 else 6934 gl_build_unknown_warnings_are_errors= 6935 fi 6936 6937 6938 fi 6939 6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wlogical-op" >&5 6941 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wlogical-op... " >&6; } 6942 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op+:} false; then : 6943 $as_echo_n "(cached) " >&6 6944 else 6945 6946 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6947 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wlogical-op" 6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6949 /* end confdefs.h. */ 6950 6951 int 6952 main () 6953 { 6954 6955 ; 6956 return 0; 6957 } 6958 _ACEOF 6959 if ac_fn_c_try_link "$LINENO"; then : 6960 gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=yes 6961 else 6962 gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=no 6963 fi 6964 rm -f core conftest.err conftest.$ac_build_objext \ 6965 conftest$ac_build_exeext conftest.$ac_ext 6966 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6967 6968 fi 6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&5 6970 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&6; } 6971 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" = xyes; then : 6972 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wlogical-op" 6973 fi 6974 6975 6976 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6978 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6979 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6980 $as_echo_n "(cached) " >&6 6981 else 6982 6983 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6984 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6986 /* end confdefs.h. */ 6987 6988 int 6989 main () 6990 { 6991 6992 ; 6993 return 0; 6994 } 6995 _ACEOF 6996 if ac_fn_c_try_link "$LINENO"; then : 6997 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6998 else 6999 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7000 fi 7001 rm -f core conftest.err conftest.$ac_build_objext \ 7002 conftest$ac_build_exeext conftest.$ac_ext 7003 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7004 7005 fi 7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7007 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7008 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7009 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7010 else 7011 gl_build_unknown_warnings_are_errors= 7012 fi 7013 7014 7015 fi 7016 7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type" >&5 7018 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type... " >&6; } 7019 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type+:} false; then : 7020 $as_echo_n "(cached) " >&6 7021 else 7022 7023 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7024 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wmissing-parameter-type" 7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7026 /* end confdefs.h. */ 7027 7028 int 7029 main () 7030 { 7031 7032 ; 7033 return 0; 7034 } 7035 _ACEOF 7036 if ac_fn_c_try_link "$LINENO"; then : 7037 gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=yes 7038 else 7039 gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=no 7040 fi 7041 rm -f core conftest.err conftest.$ac_build_objext \ 7042 conftest$ac_build_exeext conftest.$ac_ext 7043 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7044 7045 fi 7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&5 7047 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&6; } 7048 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" = xyes; then : 7049 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wmissing-parameter-type" 7050 fi 7051 7052 7053 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7055 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7056 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7057 $as_echo_n "(cached) " >&6 7058 else 7059 7060 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7061 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7063 /* end confdefs.h. */ 7064 7065 int 7066 main () 7067 { 7068 7069 ; 7070 return 0; 7071 } 7072 _ACEOF 7073 if ac_fn_c_try_link "$LINENO"; then : 7074 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7075 else 7076 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7077 fi 7078 rm -f core conftest.err conftest.$ac_build_objext \ 7079 conftest$ac_build_exeext conftest.$ac_ext 7080 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7081 7082 fi 7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7084 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7085 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7086 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7087 else 7088 gl_build_unknown_warnings_are_errors= 7089 fi 7090 7091 7092 fi 7093 7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wnested-externs" >&5 7095 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wnested-externs... " >&6; } 7096 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs+:} false; then : 7097 $as_echo_n "(cached) " >&6 7098 else 7099 7100 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7101 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wnested-externs" 7102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7103 /* end confdefs.h. */ 7104 7105 int 7106 main () 7107 { 7108 7109 ; 7110 return 0; 7111 } 7112 _ACEOF 7113 if ac_fn_c_try_link "$LINENO"; then : 7114 gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=yes 7115 else 7116 gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=no 7117 fi 7118 rm -f core conftest.err conftest.$ac_build_objext \ 7119 conftest$ac_build_exeext conftest.$ac_ext 7120 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7121 7122 fi 7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&5 7124 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&6; } 7125 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" = xyes; then : 7126 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wnested-externs" 7127 fi 7128 7129 7130 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7132 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7133 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7134 $as_echo_n "(cached) " >&6 7135 else 7136 7137 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7138 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7140 /* end confdefs.h. */ 7141 7142 int 7143 main () 7144 { 7145 7146 ; 7147 return 0; 7148 } 7149 _ACEOF 7150 if ac_fn_c_try_link "$LINENO"; then : 7151 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7152 else 7153 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7154 fi 7155 rm -f core conftest.err conftest.$ac_build_objext \ 7156 conftest$ac_build_exeext conftest.$ac_ext 7157 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7158 7159 fi 7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7161 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7162 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7163 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7164 else 7165 gl_build_unknown_warnings_are_errors= 7166 fi 7167 7168 7169 fi 7170 7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-declaration" >&5 7172 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-declaration... " >&6; } 7173 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration+:} false; then : 7174 $as_echo_n "(cached) " >&6 7175 else 7176 7177 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7178 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-declaration" 7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7180 /* end confdefs.h. */ 7181 7182 int 7183 main () 7184 { 7185 7186 ; 7187 return 0; 7188 } 7189 _ACEOF 7190 if ac_fn_c_try_link "$LINENO"; then : 7191 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=yes 7192 else 7193 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=no 7194 fi 7195 rm -f core conftest.err conftest.$ac_build_objext \ 7196 conftest$ac_build_exeext conftest.$ac_ext 7197 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7198 7199 fi 7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&5 7201 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&6; } 7202 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" = xyes; then : 7203 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-declaration" 7204 fi 7205 7206 7207 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7209 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7210 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7211 $as_echo_n "(cached) " >&6 7212 else 7213 7214 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7215 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7217 /* end confdefs.h. */ 7218 7219 int 7220 main () 7221 { 7222 7223 ; 7224 return 0; 7225 } 7226 _ACEOF 7227 if ac_fn_c_try_link "$LINENO"; then : 7228 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7229 else 7230 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7231 fi 7232 rm -f core conftest.err conftest.$ac_build_objext \ 7233 conftest$ac_build_exeext conftest.$ac_ext 7234 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7235 7236 fi 7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7238 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7239 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7240 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7241 else 7242 gl_build_unknown_warnings_are_errors= 7243 fi 7244 7245 7246 fi 7247 7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-definition" >&5 7249 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-definition... " >&6; } 7250 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition+:} false; then : 7251 $as_echo_n "(cached) " >&6 7252 else 7253 7254 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7255 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-definition" 7256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7257 /* end confdefs.h. */ 7258 7259 int 7260 main () 7261 { 7262 7263 ; 7264 return 0; 7265 } 7266 _ACEOF 7267 if ac_fn_c_try_link "$LINENO"; then : 7268 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=yes 7269 else 7270 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=no 7271 fi 7272 rm -f core conftest.err conftest.$ac_build_objext \ 7273 conftest$ac_build_exeext conftest.$ac_ext 7274 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7275 7276 fi 7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&5 7278 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&6; } 7279 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" = xyes; then : 7280 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-definition" 7281 fi 7282 7283 7284 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7286 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7287 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7288 $as_echo_n "(cached) " >&6 7289 else 7290 7291 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7292 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7294 /* end confdefs.h. */ 7295 7296 int 7297 main () 7298 { 7299 7300 ; 7301 return 0; 7302 } 7303 _ACEOF 7304 if ac_fn_c_try_link "$LINENO"; then : 7305 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7306 else 7307 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7308 fi 7309 rm -f core conftest.err conftest.$ac_build_objext \ 7310 conftest$ac_build_exeext conftest.$ac_ext 7311 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7312 7313 fi 7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7315 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7316 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7317 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7318 else 7319 gl_build_unknown_warnings_are_errors= 7320 fi 7321 7322 7323 fi 7324 7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wsign-compare" >&5 7326 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wsign-compare... " >&6; } 7327 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare+:} false; then : 7328 $as_echo_n "(cached) " >&6 7329 else 7330 7331 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7332 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wsign-compare" 7333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7334 /* end confdefs.h. */ 7335 7336 int 7337 main () 7338 { 7339 7340 ; 7341 return 0; 7342 } 7343 _ACEOF 7344 if ac_fn_c_try_link "$LINENO"; then : 7345 gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=yes 7346 else 7347 gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=no 7348 fi 7349 rm -f core conftest.err conftest.$ac_build_objext \ 7350 conftest$ac_build_exeext conftest.$ac_ext 7351 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7352 7353 fi 7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&5 7355 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&6; } 7356 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" = xyes; then : 7357 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wsign-compare" 7358 fi 7359 7360 7361 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7363 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7364 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7365 $as_echo_n "(cached) " >&6 7366 else 7367 7368 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7369 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7371 /* end confdefs.h. */ 7372 7373 int 7374 main () 7375 { 7376 7377 ; 7378 return 0; 7379 } 7380 _ACEOF 7381 if ac_fn_c_try_link "$LINENO"; then : 7382 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7383 else 7384 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7385 fi 7386 rm -f core conftest.err conftest.$ac_build_objext \ 7387 conftest$ac_build_exeext conftest.$ac_ext 7388 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7389 7390 fi 7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7392 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7393 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7394 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7395 else 7396 gl_build_unknown_warnings_are_errors= 7397 fi 7398 7399 7400 fi 7401 7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wtype-limits" >&5 7403 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wtype-limits... " >&6; } 7404 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits+:} false; then : 7405 $as_echo_n "(cached) " >&6 7406 else 7407 7408 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7409 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wtype-limits" 7410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7411 /* end confdefs.h. */ 7412 7413 int 7414 main () 7415 { 7416 7417 ; 7418 return 0; 7419 } 7420 _ACEOF 7421 if ac_fn_c_try_link "$LINENO"; then : 7422 gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=yes 7423 else 7424 gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=no 7425 fi 7426 rm -f core conftest.err conftest.$ac_build_objext \ 7427 conftest$ac_build_exeext conftest.$ac_ext 7428 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7429 7430 fi 7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&5 7432 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&6; } 7433 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" = xyes; then : 7434 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wtype-limits" 7435 fi 7436 7437 7438 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7440 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7441 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7442 $as_echo_n "(cached) " >&6 7443 else 7444 7445 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7446 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7448 /* end confdefs.h. */ 7449 7450 int 7451 main () 7452 { 7453 7454 ; 7455 return 0; 7456 } 7457 _ACEOF 7458 if ac_fn_c_try_link "$LINENO"; then : 7459 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7460 else 7461 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7462 fi 7463 rm -f core conftest.err conftest.$ac_build_objext \ 7464 conftest$ac_build_exeext conftest.$ac_ext 7465 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7466 7467 fi 7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7469 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7470 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7471 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7472 else 7473 gl_build_unknown_warnings_are_errors= 7474 fi 7475 7476 7477 fi 7478 7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wwrite-strings" >&5 7480 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wwrite-strings... " >&6; } 7481 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings+:} false; then : 7482 $as_echo_n "(cached) " >&6 7483 else 7484 7485 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7486 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wwrite-strings" 7487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7488 /* end confdefs.h. */ 7489 7490 int 7491 main () 7492 { 7493 7494 ; 7495 return 0; 7496 } 7497 _ACEOF 7498 if ac_fn_c_try_link "$LINENO"; then : 7499 gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=yes 7500 else 7501 gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=no 7502 fi 7503 rm -f core conftest.err conftest.$ac_build_objext \ 7504 conftest$ac_build_exeext conftest.$ac_ext 7505 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7506 7507 fi 7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&5 7509 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&6; } 7510 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" = xyes; then : 7511 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wwrite-strings" 7512 fi 7513 7514 7515 # Check whether --enable-gcc-Werror was given. 7516 if test "${enable_gcc_Werror+set}" = set; then : 7517 enableval=$enable_gcc_Werror; case $enableval in 7518 yes) if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7520 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7521 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7522 $as_echo_n "(cached) " >&6 7523 else 7524 7525 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7526 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7528 /* end confdefs.h. */ 7529 7530 int 7531 main () 7532 { 7533 7534 ; 7535 return 0; 7536 } 7537 _ACEOF 7538 if ac_fn_c_try_link "$LINENO"; then : 7539 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7540 else 7541 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7542 fi 7543 rm -f core conftest.err conftest.$ac_build_objext \ 7544 conftest$ac_build_exeext conftest.$ac_ext 7545 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7546 7547 fi 7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7549 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7550 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7551 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7552 else 7553 gl_build_unknown_warnings_are_errors= 7554 fi 7555 7556 7557 fi 7558 7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror" >&5 7560 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror... " >&6; } 7561 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror+:} false; then : 7562 $as_echo_n "(cached) " >&6 7563 else 7564 7565 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7566 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror" 7567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7568 /* end confdefs.h. */ 7569 7570 int 7571 main () 7572 { 7573 7574 ; 7575 return 0; 7576 } 7577 _ACEOF 7578 if ac_fn_c_try_link "$LINENO"; then : 7579 gl_cv_warn_CFLAGS_FOR_BUILD__Werror=yes 7580 else 7581 gl_cv_warn_CFLAGS_FOR_BUILD__Werror=no 7582 fi 7583 rm -f core conftest.err conftest.$ac_build_objext \ 7584 conftest$ac_build_exeext conftest.$ac_ext 7585 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7586 7587 fi 7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&5 7589 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&6; } 7590 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" = xyes; then : 7591 as_fn_append WARN_CFLAGS_FOR_BUILD " -Werror" 7592 fi 7593 7594 ;; 7595 no) ;; 7596 *) as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;; 7597 esac 7598 7599 fi 7600 7601 7602 7603 7604 if test -n "${st_saved_cross_compiling+set}"; then : 7605 cross_compiling="${st_saved_cross_compiling}"; unset st_saved_cross_compiling 7606 fi 7607 7608 if test -n "${st_saved_ac_tool_prefix+set}"; then : 7609 ac_tool_prefix="${st_saved_ac_tool_prefix}"; unset st_saved_ac_tool_prefix 7610 fi 7611 7612 if test -n "${st_saved_ac_link+set}"; then : 7613 ac_link="${st_saved_ac_link}"; unset st_saved_ac_link 7614 fi 7615 7616 if test -n "${st_saved_ac_cv_c_decl_report+set}"; then : 7617 ac_cv_c_decl_report="${st_saved_ac_cv_c_decl_report}"; unset st_saved_ac_cv_c_decl_report 7618 fi 7619 7620 if test -n "${st_saved_ac_cv_c_compiler_gnu+set}"; then : 7621 ac_cv_c_compiler_gnu="${st_saved_ac_cv_c_compiler_gnu}"; unset st_saved_ac_cv_c_compiler_gnu 7622 fi 7623 7624 if test -n "${st_saved_ac_cpp+set}"; then : 7625 ac_cpp="${st_saved_ac_cpp}"; unset st_saved_ac_cpp 7626 fi 7627 7628 if test -n "${st_saved_ac_compiler_gnu+set}"; then : 7629 ac_compiler_gnu="${st_saved_ac_compiler_gnu}"; unset st_saved_ac_compiler_gnu 7630 fi 7631 7632 if test -n "${st_saved_ac_compile+set}"; then : 7633 ac_compile="${st_saved_ac_compile}"; unset st_saved_ac_compile 7634 fi 7635 7636 if test -n "${st_saved_ac_c_werror_flag+set}"; then : 7637 ac_c_werror_flag="${st_saved_ac_c_werror_flag}"; unset st_saved_ac_c_werror_flag 7638 fi 7639 7640 if test -n "${st_saved_ac_c_preproc_warn_flag+set}"; then : 7641 ac_c_preproc_warn_flag="${st_saved_ac_c_preproc_warn_flag}"; unset st_saved_ac_c_preproc_warn_flag 7642 fi 7643 7644 if test -n "${st_saved_ac_c_decl_warn_flag+set}"; then : 7645 ac_c_decl_warn_flag="${st_saved_ac_c_decl_warn_flag}"; unset st_saved_ac_c_decl_warn_flag 7646 fi 7647 7648 7649 7650 BUILD_EXEEXT=$ac_build_exeext 7651 BUILD_OBJEXT=$ac_build_objext 7652 7653 7654 if test -n "$ac_tool_prefix"; then 7655 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7656 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7658 $as_echo_n "checking for $ac_word... " >&6; } 7659 if ${ac_cv_prog_RANLIB+:} false; then : 7660 $as_echo_n "(cached) " >&6 7661 else 7662 if test -n "$RANLIB"; then 7663 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7664 else 7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7666 for as_dir in $PATH 7667 do 7668 IFS=$as_save_IFS 7669 test -z "$as_dir" && as_dir=. 7670 for ac_exec_ext in '' $ac_executable_extensions; do 7671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7672 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7674 break 2 7675 fi 7676 done 7677 done 7678 IFS=$as_save_IFS 7679 7680 fi 7681 fi 7682 RANLIB=$ac_cv_prog_RANLIB 7683 if test -n "$RANLIB"; then 7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7685 $as_echo "$RANLIB" >&6; } 7686 else 7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7688 $as_echo "no" >&6; } 7689 fi 7690 7691 7692 fi 7693 if test -z "$ac_cv_prog_RANLIB"; then 7694 ac_ct_RANLIB=$RANLIB 7695 # Extract the first word of "ranlib", so it can be a program name with args. 7696 set dummy ranlib; ac_word=$2 7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7698 $as_echo_n "checking for $ac_word... " >&6; } 7699 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7700 $as_echo_n "(cached) " >&6 7701 else 7702 if test -n "$ac_ct_RANLIB"; then 7703 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7704 else 7705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7706 for as_dir in $PATH 7707 do 7708 IFS=$as_save_IFS 7709 test -z "$as_dir" && as_dir=. 7710 for ac_exec_ext in '' $ac_executable_extensions; do 7711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7712 ac_cv_prog_ac_ct_RANLIB="ranlib" 7713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7714 break 2 7715 fi 7716 done 7717 done 7718 IFS=$as_save_IFS 7719 7720 fi 7721 fi 7722 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7723 if test -n "$ac_ct_RANLIB"; then 7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7725 $as_echo "$ac_ct_RANLIB" >&6; } 7726 else 7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7728 $as_echo "no" >&6; } 7729 fi 7730 7731 if test "x$ac_ct_RANLIB" = x; then 7732 RANLIB=":" 7733 else 7734 case $cross_compiling:$ac_tool_warned in 7735 yes:) 7736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7738 ac_tool_warned=yes ;; 7739 esac 7740 RANLIB=$ac_ct_RANLIB 7741 fi 7742 else 7743 RANLIB="$ac_cv_prog_RANLIB" 7744 fi 7745 7746 7747 7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 7749 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 7750 if ${ac_cv_path_GREP+:} false; then : 7751 $as_echo_n "(cached) " >&6 7752 else 7753 if test -z "$GREP"; then 7754 ac_path_GREP_found=false 7755 # Loop through the user's path and test for each of PROGNAME-LIST 7756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7757 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7758 do 7759 IFS=$as_save_IFS 7760 test -z "$as_dir" && as_dir=. 7761 for ac_prog in grep ggrep; do 7762 for ac_exec_ext in '' $ac_executable_extensions; do 7763 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 7764 as_fn_executable_p "$ac_path_GREP" || continue 7765 # Check for GNU ac_path_GREP and select it if it is found. 7766 # Check for GNU $ac_path_GREP 7767 case `"$ac_path_GREP" --version 2>&1` in 7768 *GNU*) 7769 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 7770 *) 7771 ac_count=0 7772 $as_echo_n 0123456789 >"conftest.in" 7773 while : 7774 do 7775 cat "conftest.in" "conftest.in" >"conftest.tmp" 7776 mv "conftest.tmp" "conftest.in" 7777 cp "conftest.in" "conftest.nl" 7778 $as_echo 'GREP' >> "conftest.nl" 7779 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 7780 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7781 as_fn_arith $ac_count + 1 && ac_count=$as_val 7782 if test $ac_count -gt ${ac_path_GREP_max-0}; then 7783 # Best one so far, save it but keep looking for a better one 7784 ac_cv_path_GREP="$ac_path_GREP" 7785 ac_path_GREP_max=$ac_count 7786 fi 7787 # 10*(2^10) chars as input seems more than enough 7788 test $ac_count -gt 10 && break 7789 done 7790 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7791 esac 7792 7793 $ac_path_GREP_found && break 3 7794 done 7795 done 7796 done 7797 IFS=$as_save_IFS 7798 if test -z "$ac_cv_path_GREP"; then 7799 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 7800 fi 7801 else 7802 ac_cv_path_GREP=$GREP 7803 fi 7804 7805 fi 7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 7807 $as_echo "$ac_cv_path_GREP" >&6; } 7808 GREP="$ac_cv_path_GREP" 7809 7810 7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 7812 $as_echo_n "checking for egrep... " >&6; } 7813 if ${ac_cv_path_EGREP+:} false; then : 7814 $as_echo_n "(cached) " >&6 7815 else 7816 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 7817 then ac_cv_path_EGREP="$GREP -E" 7818 else 7819 if test -z "$EGREP"; then 7820 ac_path_EGREP_found=false 7821 # Loop through the user's path and test for each of PROGNAME-LIST 7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7823 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7824 do 7825 IFS=$as_save_IFS 7826 test -z "$as_dir" && as_dir=. 7827 for ac_prog in egrep; do 7828 for ac_exec_ext in '' $ac_executable_extensions; do 7829 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 7830 as_fn_executable_p "$ac_path_EGREP" || continue 7831 # Check for GNU ac_path_EGREP and select it if it is found. 7832 # Check for GNU $ac_path_EGREP 7833 case `"$ac_path_EGREP" --version 2>&1` in 7834 *GNU*) 7835 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 7836 *) 7837 ac_count=0 7838 $as_echo_n 0123456789 >"conftest.in" 7839 while : 7840 do 7841 cat "conftest.in" "conftest.in" >"conftest.tmp" 7842 mv "conftest.tmp" "conftest.in" 7843 cp "conftest.in" "conftest.nl" 7844 $as_echo 'EGREP' >> "conftest.nl" 7845 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 7846 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7847 as_fn_arith $ac_count + 1 && ac_count=$as_val 7848 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 7849 # Best one so far, save it but keep looking for a better one 7850 ac_cv_path_EGREP="$ac_path_EGREP" 7851 ac_path_EGREP_max=$ac_count 7852 fi 7853 # 10*(2^10) chars as input seems more than enough 7854 test $ac_count -gt 10 && break 7855 done 7856 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7857 esac 7858 7859 $ac_path_EGREP_found && break 3 7860 done 7861 done 7862 done 7863 IFS=$as_save_IFS 7864 if test -z "$ac_cv_path_EGREP"; then 7865 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 7866 fi 7867 else 7868 ac_cv_path_EGREP=$EGREP 7869 fi 7870 7871 fi 7872 fi 7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 7874 $as_echo "$ac_cv_path_EGREP" >&6; } 7875 EGREP="$ac_cv_path_EGREP" 7876 7877 7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7879 $as_echo_n "checking for ANSI C header files... " >&6; } 7880 if ${ac_cv_header_stdc+:} false; then : 7881 $as_echo_n "(cached) " >&6 7882 else 7883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7884 /* end confdefs.h. */ 7885 #include <stdlib.h> 7886 #include <stdarg.h> 7887 #include <string.h> 7888 #include <float.h> 7889 7890 int 7891 main () 7892 { 7893 7894 ; 7895 return 0; 7896 } 7897 _ACEOF 7898 if ac_fn_c_try_compile "$LINENO"; then : 7899 ac_cv_header_stdc=yes 7900 else 7901 ac_cv_header_stdc=no 7902 fi 7903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7904 7905 if test $ac_cv_header_stdc = yes; then 7906 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7908 /* end confdefs.h. */ 7909 #include <string.h> 7910 7911 _ACEOF 7912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7913 $EGREP "memchr" >/dev/null 2>&1; then : 7914 7915 else 7916 ac_cv_header_stdc=no 7917 fi 7918 rm -f conftest* 7919 7920 fi 7921 7922 if test $ac_cv_header_stdc = yes; then 7923 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7925 /* end confdefs.h. */ 7926 #include <stdlib.h> 7927 7928 _ACEOF 7929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7930 $EGREP "free" >/dev/null 2>&1; then : 7931 7932 else 7933 ac_cv_header_stdc=no 7934 fi 7935 rm -f conftest* 7936 7937 fi 7938 7939 if test $ac_cv_header_stdc = yes; then 7940 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7941 if test "$cross_compiling" = yes; then : 7942 : 7943 else 7944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7945 /* end confdefs.h. */ 7946 #include <ctype.h> 7947 #include <stdlib.h> 7948 #if ((' ' & 0x0FF) == 0x020) 7949 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7950 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7951 #else 7952 # define ISLOWER(c) \ 7953 (('a' <= (c) && (c) <= 'i') \ 7954 || ('j' <= (c) && (c) <= 'r') \ 7955 || ('s' <= (c) && (c) <= 'z')) 7956 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7957 #endif 7958 7959 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7960 int 7961 main () 7962 { 7963 int i; 7964 for (i = 0; i < 256; i++) 7965 if (XOR (islower (i), ISLOWER (i)) 7966 || toupper (i) != TOUPPER (i)) 7967 return 2; 7968 return 0; 7969 } 7970 _ACEOF 7971 if ac_fn_c_try_run "$LINENO"; then : 7972 7973 else 7974 ac_cv_header_stdc=no 7975 fi 7976 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7977 conftest.$ac_objext conftest.beam conftest.$ac_ext 7978 fi 7979 7980 fi 7981 fi 7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7983 $as_echo "$ac_cv_header_stdc" >&6; } 7984 if test $ac_cv_header_stdc = yes; then 7985 7986 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 7987 7988 fi 7989 7990 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 7991 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7992 inttypes.h stdint.h unistd.h 7993 do : 7994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7995 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7996 " 7997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7998 cat >>confdefs.h <<_ACEOF 7999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8000 _ACEOF 8001 8002 fi 8003 8004 done 8005 8006 8007 8008 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 8009 if test "x$ac_cv_header_minix_config_h" = xyes; then : 8010 MINIX=yes 8011 else 8012 MINIX= 8013 fi 8014 8015 8016 if test "$MINIX" = yes; then 8017 8018 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 8019 8020 8021 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 8022 8023 8024 $as_echo "#define _MINIX 1" >>confdefs.h 8025 8026 fi 8027 8028 8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 8030 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 8031 if ${ac_cv_safe_to_define___extensions__+:} false; then : 8032 $as_echo_n "(cached) " >&6 8033 else 8034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8035 /* end confdefs.h. */ 8036 8037 # define __EXTENSIONS__ 1 8038 $ac_includes_default 8039 int 8040 main () 8041 { 8042 8043 ; 8044 return 0; 8045 } 8046 _ACEOF 8047 if ac_fn_c_try_compile "$LINENO"; then : 8048 ac_cv_safe_to_define___extensions__=yes 8049 else 8050 ac_cv_safe_to_define___extensions__=no 8051 fi 8052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8053 fi 8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 8055 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 8056 test $ac_cv_safe_to_define___extensions__ = yes && 8057 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 8058 8059 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 8060 8061 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 8062 8063 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 8064 8065 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 8066 8067 8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 8069 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 8070 if ${ac_cv_path_SED+:} false; then : 8071 $as_echo_n "(cached) " >&6 8072 else 8073 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 8074 for ac_i in 1 2 3 4 5 6 7; do 8075 ac_script="$ac_script$as_nl$ac_script" 8076 done 8077 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8078 { ac_script=; unset ac_script;} 8079 if test -z "$SED"; then 8080 ac_path_SED_found=false 8081 # Loop through the user's path and test for each of PROGNAME-LIST 8082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8083 for as_dir in $PATH 8084 do 8085 IFS=$as_save_IFS 8086 test -z "$as_dir" && as_dir=. 8087 for ac_prog in sed gsed; do 8088 for ac_exec_ext in '' $ac_executable_extensions; do 8089 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8090 as_fn_executable_p "$ac_path_SED" || continue 8091 # Check for GNU ac_path_SED and select it if it is found. 8092 # Check for GNU $ac_path_SED 8093 case `"$ac_path_SED" --version 2>&1` in 8094 *GNU*) 8095 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 8096 *) 8097 ac_count=0 8098 $as_echo_n 0123456789 >"conftest.in" 8099 while : 8100 do 8101 cat "conftest.in" "conftest.in" >"conftest.tmp" 8102 mv "conftest.tmp" "conftest.in" 8103 cp "conftest.in" "conftest.nl" 8104 $as_echo '' >> "conftest.nl" 8105 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 8106 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 8107 as_fn_arith $ac_count + 1 && ac_count=$as_val 8108 if test $ac_count -gt ${ac_path_SED_max-0}; then 8109 # Best one so far, save it but keep looking for a better one 8110 ac_cv_path_SED="$ac_path_SED" 8111 ac_path_SED_max=$ac_count 8112 fi 8113 # 10*(2^10) chars as input seems more than enough 8114 test $ac_count -gt 10 && break 8115 done 8116 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 8117 esac 8118 8119 $ac_path_SED_found && break 3 8120 done 8121 done 8122 done 8123 IFS=$as_save_IFS 8124 if test -z "$ac_cv_path_SED"; then 8125 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 8126 fi 8127 else 8128 ac_cv_path_SED=$SED 8129 fi 8130 8131 fi 8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 8133 $as_echo "$ac_cv_path_SED" >&6; } 8134 SED="$ac_cv_path_SED" 8135 rm -f conftest.sed 8136 8137 8138 8139 8140 # allow to override gcov location 8141 8142 # Check whether --with-gcov was given. 8143 if test "${with_gcov+set}" = set; then : 8144 withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov 8145 else 8146 _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov 8147 fi 8148 8149 8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5 8151 $as_echo_n "checking whether to build with code coverage support... " >&6; } 8152 # Check whether --enable-code-coverage was given. 8153 if test "${enable_code_coverage+set}" = set; then : 8154 enableval=$enable_code_coverage; 8155 else 8156 enable_code_coverage=no 8157 fi 8158 8159 8160 if test x$enable_code_coverage = xyes; then 8161 CODE_COVERAGE_ENABLED_TRUE= 8162 CODE_COVERAGE_ENABLED_FALSE='#' 8163 else 8164 CODE_COVERAGE_ENABLED_TRUE='#' 8165 CODE_COVERAGE_ENABLED_FALSE= 8166 fi 8167 8168 CODE_COVERAGE_ENABLED=$enable_code_coverage 8169 8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5 8171 $as_echo "$enable_code_coverage" >&6; } 8172 8173 if test "$enable_code_coverage" = "yes" ; then : 8174 8175 # check for gcov 8176 if test -n "$ac_tool_prefix"; then 8177 # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. 8178 set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8180 $as_echo_n "checking for $ac_word... " >&6; } 8181 if ${ac_cv_prog_GCOV+:} false; then : 8182 $as_echo_n "(cached) " >&6 8183 else 8184 if test -n "$GCOV"; then 8185 ac_cv_prog_GCOV="$GCOV" # Let the user override the test. 8186 else 8187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8188 for as_dir in $PATH 8189 do 8190 IFS=$as_save_IFS 8191 test -z "$as_dir" && as_dir=. 8192 for ac_exec_ext in '' $ac_executable_extensions; do 8193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8194 ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH" 8195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8196 break 2 8197 fi 8198 done 8199 done 8200 IFS=$as_save_IFS 8201 8202 fi 8203 fi 8204 GCOV=$ac_cv_prog_GCOV 8205 if test -n "$GCOV"; then 8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 8207 $as_echo "$GCOV" >&6; } 8208 else 8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8210 $as_echo "no" >&6; } 8211 fi 8212 8213 8214 fi 8215 if test -z "$ac_cv_prog_GCOV"; then 8216 ac_ct_GCOV=$GCOV 8217 # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. 8218 set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8220 $as_echo_n "checking for $ac_word... " >&6; } 8221 if ${ac_cv_prog_ac_ct_GCOV+:} false; then : 8222 $as_echo_n "(cached) " >&6 8223 else 8224 if test -n "$ac_ct_GCOV"; then 8225 ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test. 8226 else 8227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8228 for as_dir in $PATH 8229 do 8230 IFS=$as_save_IFS 8231 test -z "$as_dir" && as_dir=. 8232 for ac_exec_ext in '' $ac_executable_extensions; do 8233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8234 ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH" 8235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8236 break 2 8237 fi 8238 done 8239 done 8240 IFS=$as_save_IFS 8241 8242 fi 8243 fi 8244 ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV 8245 if test -n "$ac_ct_GCOV"; then 8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5 8247 $as_echo "$ac_ct_GCOV" >&6; } 8248 else 8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8250 $as_echo "no" >&6; } 8251 fi 8252 8253 if test "x$ac_ct_GCOV" = x; then 8254 GCOV=":" 8255 else 8256 case $cross_compiling:$ac_tool_warned in 8257 yes:) 8258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8260 ac_tool_warned=yes ;; 8261 esac 8262 GCOV=$ac_ct_GCOV 8263 fi 8264 else 8265 GCOV="$ac_cv_prog_GCOV" 8266 fi 8267 8268 if test "X$GCOV" = "X:"; then : 8269 as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5 8270 fi 8271 8272 8273 if test "$GCC" = "no" ; then : 8274 8275 as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5 8276 8277 fi 8278 8279 # List of supported lcov versions. 8280 lcov_version_list="1.6 1.7 1.8 1.9 1.10 1.11 1.12" 8281 8282 # Extract the first word of "lcov", so it can be a program name with args. 8283 set dummy lcov; ac_word=$2 8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8285 $as_echo_n "checking for $ac_word... " >&6; } 8286 if ${ac_cv_prog_LCOV+:} false; then : 8287 $as_echo_n "(cached) " >&6 8288 else 8289 if test -n "$LCOV"; then 8290 ac_cv_prog_LCOV="$LCOV" # Let the user override the test. 8291 else 8292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8293 for as_dir in $PATH 8294 do 8295 IFS=$as_save_IFS 8296 test -z "$as_dir" && as_dir=. 8297 for ac_exec_ext in '' $ac_executable_extensions; do 8298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8299 ac_cv_prog_LCOV="lcov" 8300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8301 break 2 8302 fi 8303 done 8304 done 8305 IFS=$as_save_IFS 8306 8307 fi 8308 fi 8309 LCOV=$ac_cv_prog_LCOV 8310 if test -n "$LCOV"; then 8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 8312 $as_echo "$LCOV" >&6; } 8313 else 8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8315 $as_echo "no" >&6; } 8316 fi 8317 8318 8319 # Extract the first word of "genhtml", so it can be a program name with args. 8320 set dummy genhtml; ac_word=$2 8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8322 $as_echo_n "checking for $ac_word... " >&6; } 8323 if ${ac_cv_prog_GENHTML+:} false; then : 8324 $as_echo_n "(cached) " >&6 8325 else 8326 if test -n "$GENHTML"; then 8327 ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test. 8328 else 8329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8330 for as_dir in $PATH 8331 do 8332 IFS=$as_save_IFS 8333 test -z "$as_dir" && as_dir=. 8334 for ac_exec_ext in '' $ac_executable_extensions; do 8335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8336 ac_cv_prog_GENHTML="genhtml" 8337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8338 break 2 8339 fi 8340 done 8341 done 8342 IFS=$as_save_IFS 8343 8344 fi 8345 fi 8346 GENHTML=$ac_cv_prog_GENHTML 8347 if test -n "$GENHTML"; then 8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5 8349 $as_echo "$GENHTML" >&6; } 8350 else 8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8352 $as_echo "no" >&6; } 8353 fi 8354 8355 8356 8357 if test "$LCOV" ; then : 8358 8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5 8360 $as_echo_n "checking for lcov version... " >&6; } 8361 if ${ax_cv_lcov_version+:} false; then : 8362 $as_echo_n "(cached) " >&6 8363 else 8364 8365 ax_cv_lcov_version=invalid 8366 lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'` 8367 for lcov_check_version in $lcov_version_list; do 8368 if test "$lcov_version" = "$lcov_check_version"; then 8369 ax_cv_lcov_version="$lcov_check_version (ok)" 8370 fi 8371 done 8372 8373 fi 8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lcov_version" >&5 8375 $as_echo "$ax_cv_lcov_version" >&6; } 8376 8377 else 8378 8379 lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list" 8380 as_fn_error $? "$lcov_msg" "$LINENO" 5 8381 8382 fi 8383 8384 case $ax_cv_lcov_version in 8385 ""|invalid) 8386 lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)." 8387 as_fn_error $? "$lcov_msg" "$LINENO" 5 8388 LCOV="exit 0;" 8389 ;; 8390 esac 8391 8392 if test -z "$GENHTML" ; then : 8393 8394 as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5 8395 8396 fi 8397 8398 CODE_COVERAGE_CPPFLAGS="-DNDEBUG" 8399 CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" 8400 CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" 8401 CODE_COVERAGE_LDFLAGS="-lgcov" 8402 8403 8404 8405 8406 8407 8408 fi 8409 8410 CODE_COVERAGE_RULES=' 8411 # Code coverage 8412 # 8413 # Optional: 8414 # - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting. 8415 # Multiple directories may be specified, separated by whitespace. 8416 # (Default: $(top_builddir)) 8417 # - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated 8418 # by lcov for code coverage. (Default: 8419 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info) 8420 # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage 8421 # reports to be created. (Default: 8422 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) 8423 # - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage, 8424 # set to 0 to disable it and leave empty to stay with the default. 8425 # (Default: empty) 8426 # - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov 8427 # instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) 8428 # - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov 8429 # instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) 8430 # - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov 8431 # - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the 8432 # collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) 8433 # - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov 8434 # instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) 8435 # - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering 8436 # lcov instance. (Default: empty) 8437 # - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov 8438 # instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) 8439 # - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the 8440 # genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) 8441 # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml 8442 # instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) 8443 # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore 8444 # 8445 # The generated report will be titled using the $(PACKAGE_NAME) and 8446 # $(PACKAGE_VERSION). In order to add the current git hash to the title, 8447 # use the git-version-gen script, available online. 8448 8449 # Optional variables 8450 CODE_COVERAGE_DIRECTORY ?= $(top_builddir) 8451 CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info 8452 CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage 8453 CODE_COVERAGE_BRANCH_COVERAGE ?= 8454 CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ 8455 --rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) 8456 CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) 8457 CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" 8458 CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) 8459 CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) 8460 CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?= 8461 CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) 8462 CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\ 8463 $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ 8464 --rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) 8465 CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULTS) 8466 CODE_COVERAGE_IGNORE_PATTERN ?= 8467 8468 code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V)) 8469 code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY)) 8470 code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\ 8471 $(CODE_COVERAGE_OUTPUT_FILE); 8472 code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V)) 8473 code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY)) 8474 code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\ 8475 $(CODE_COVERAGE_IGNORE_PATTERN); 8476 code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V)) 8477 code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY)) 8478 code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY); 8479 code_coverage_quiet = $(code_coverage_quiet_$(V)) 8480 code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY)) 8481 code_coverage_quiet_0 = --quiet 8482 8483 # sanitizes the test-name: replaces with underscores: dashes and dots 8484 code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1))) 8485 8486 # Use recursive makes in order to ignore errors during check 8487 check-code-coverage: 8488 ifeq ($(CODE_COVERAGE_ENABLED),yes) 8489 -$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check 8490 $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture 8491 else 8492 @echo "Need to reconfigure with --enable-code-coverage" 8493 endif 8494 8495 # Capture code coverage data 8496 code-coverage-capture: code-coverage-capture-hook 8497 ifeq ($(CODE_COVERAGE_ENABLED),yes) 8498 $(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) 8499 $(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) 8500 -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp 8501 $(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) 8502 @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html" 8503 else 8504 @echo "Need to reconfigure with --enable-code-coverage" 8505 endif 8506 8507 # Hook rule executed before code-coverage-capture, overridable by the user 8508 code-coverage-capture-hook: 8509 8510 ifeq ($(CODE_COVERAGE_ENABLED),yes) 8511 clean: code-coverage-clean 8512 distclean: code-coverage-clean 8513 code-coverage-clean: 8514 -$(LCOV) --directory $(top_builddir) -z 8515 -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY) 8516 -find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete 8517 endif 8518 8519 GITIGNOREFILES ?= 8520 GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY) 8521 8522 A''M_DISTCHECK_CONFIGURE_FLAGS ?= 8523 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage 8524 8525 .PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean 8526 ' 8527 8528 8529 8530 8531 8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported architecture" >&5 8533 $as_echo_n "checking for supported architecture... " >&6; } 8534 arch_m32= 8535 arch_mx32= 8536 case "$host_cpu" in 8537 bfin) 8538 arch=bfin 8539 8540 $as_echo "#define BFIN 1" >>confdefs.h 8541 8542 ;; 8543 i[3456]86|pentium) 8544 arch=i386 8545 8546 $as_echo "#define I386 1" >>confdefs.h 8547 8548 ;; 8549 ia64) 8550 arch=ia64 8551 8552 $as_echo "#define IA64 1" >>confdefs.h 8553 8554 ;; 8555 m68k) 8556 arch=m68k 8557 8558 $as_echo "#define M68K 1" >>confdefs.h 8559 8560 ;; 8561 sparc64*) 8562 arch=sparc64 8563 arch_m32=sparc 8564 8565 $as_echo "#define SPARC64 1" >>confdefs.h 8566 8567 ;; 8568 sparc*) 8569 arch=sparc 8570 8571 $as_echo "#define SPARC 1" >>confdefs.h 8572 8573 ;; 8574 metag*) 8575 arch=metag 8576 8577 $as_echo "#define METAG 1" >>confdefs.h 8578 8579 ;; 8580 mips*) 8581 arch=mips 8582 8583 $as_echo "#define MIPS 1" >>confdefs.h 8584 8585 ;; 8586 alpha*) 8587 arch=alpha 8588 8589 $as_echo "#define ALPHA 1" >>confdefs.h 8590 8591 ;; 8592 powerpc*) 8593 8594 $as_echo "#define POWERPC 1" >>confdefs.h 8595 8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8597 /* end confdefs.h. */ 8598 #ifndef __LP64__ 8599 # error 32 bit 8600 #endif 8601 int 8602 main () 8603 { 8604 8605 ; 8606 return 0; 8607 } 8608 _ACEOF 8609 if ac_fn_c_try_compile "$LINENO"; then : 8610 arch=powerpc64 8611 else 8612 arch=powerpc 8613 fi 8614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8615 if test "$arch" = "powerpc64"; then 8616 arch_m32=powerpc 8617 8618 $as_echo "#define POWERPC64 1" >>confdefs.h 8619 8620 fi 8621 ;; 8622 arm*) 8623 arch=arm 8624 8625 $as_echo "#define ARM 1" >>confdefs.h 8626 8627 ;; 8628 aarch64*) 8629 arch=aarch64 8630 arch_m32=arm 8631 8632 $as_echo "#define AARCH64 1" >>confdefs.h 8633 8634 ;; 8635 avr32*) 8636 arch=avr32 8637 8638 $as_echo "#define AVR32 1" >>confdefs.h 8639 8640 ;; 8641 arc*) 8642 arch=arc 8643 8644 $as_echo "#define ARC 1" >>confdefs.h 8645 8646 ;; 8647 s390) 8648 arch=s390 8649 8650 $as_echo "#define S390 1" >>confdefs.h 8651 8652 ;; 8653 s390x) 8654 arch=s390x 8655 8656 $as_echo "#define S390X 1" >>confdefs.h 8657 8658 ;; 8659 hppa*|parisc*) 8660 arch=hppa 8661 8662 $as_echo "#define HPPA 1" >>confdefs.h 8663 8664 ;; 8665 sh64*) 8666 arch=sh64 8667 8668 $as_echo "#define SH64 1" >>confdefs.h 8669 8670 ;; 8671 sh*) 8672 arch=sh 8673 8674 $as_echo "#define SH 1" >>confdefs.h 8675 8676 ;; 8677 x86?64*) 8678 arch_m32=i386 8679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8680 /* end confdefs.h. */ 8681 #ifndef __ILP32__ 8682 # error not x32 8683 #endif 8684 int 8685 main () 8686 { 8687 8688 ; 8689 return 0; 8690 } 8691 _ACEOF 8692 if ac_fn_c_try_compile "$LINENO"; then : 8693 arch=x32 8694 else 8695 arch=x86_64 8696 fi 8697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8698 if test "$arch" = "x86_64"; then 8699 arch_mx32=x32 8700 8701 $as_echo "#define X86_64 1" >>confdefs.h 8702 8703 else 8704 8705 $as_echo "#define X32 1" >>confdefs.h 8706 8707 fi 8708 ;; 8709 cris|crisv10) 8710 arch=crisv10 8711 8712 $as_echo "#define CRISV10 1" >>confdefs.h 8713 8714 ;; 8715 crisv32) 8716 arch=crisv32 8717 8718 $as_echo "#define CRISV32 1" >>confdefs.h 8719 8720 ;; 8721 tile*) 8722 arch=tile 8723 8724 $as_echo "#define TILE 1" >>confdefs.h 8725 8726 ;; 8727 microblaze*) 8728 arch=microblaze 8729 8730 $as_echo "#define MICROBLAZE 1" >>confdefs.h 8731 8732 ;; 8733 nios2*) 8734 arch=nios2 8735 8736 $as_echo "#define NIOS2 1" >>confdefs.h 8737 8738 ;; 8739 8740 or1k*) 8741 arch=or1k 8742 8743 $as_echo "#define OR1K 1" >>confdefs.h 8744 8745 ;; 8746 8747 xtensa*) 8748 arch=xtensa 8749 8750 $as_echo "#define XTENSA 1" >>confdefs.h 8751 8752 ;; 8753 8754 riscv*) 8755 arch=riscv 8756 8757 $as_echo "#define RISCV 1" >>confdefs.h 8758 8759 ;; 8760 8761 *) 8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: NO!" >&5 8763 $as_echo "NO!" >&6; } 8764 as_fn_error $? "architecture $host_cpu is not supported by strace" "$LINENO" 5 8765 ;; 8766 esac 8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arch" >&5 8768 $as_echo "$arch" >&6; } 8769 8770 test -n "$arch_m32" || 8771 arch_m32=$arch 8772 test -n "$arch_mx32" || 8773 arch_mx32=$arch 8774 8775 8776 8777 8778 MIPS_ABI= 8779 if test "$arch" = mips; then 8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _MIPS_SIM" >&5 8781 $as_echo_n "checking for _MIPS_SIM... " >&6; } 8782 if ${st_cv__MIPS_SIM+:} false; then : 8783 $as_echo_n "(cached) " >&6 8784 else 8785 if ac_fn_c_compute_int "$LINENO" "_MIPS_SIM" "st_cv__MIPS_SIM" ""; then : 8786 8787 else 8788 as_fn_error $? "_MIPS_SIM cannot be determined" "$LINENO" 5 8789 fi 8790 8791 fi 8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv__MIPS_SIM" >&5 8793 $as_echo "$st_cv__MIPS_SIM" >&6; } 8794 8795 # requires GCC >= 3.4 8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MIPS ABI" >&5 8797 $as_echo_n "checking for MIPS ABI... " >&6; } 8798 if ${st_cv_mips_abi+:} false; then : 8799 $as_echo_n "(cached) " >&6 8800 else 8801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8802 /* end confdefs.h. */ 8803 8804 int 8805 main () 8806 { 8807 int i[_MIPS_SIM == _ABIO32 ? 1 : - 1]; 8808 ; 8809 return 0; 8810 } 8811 _ACEOF 8812 if ac_fn_c_try_compile "$LINENO"; then : 8813 st_cv_mips_abi=o32 8814 else 8815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8816 /* end confdefs.h. */ 8817 8818 int 8819 main () 8820 { 8821 int i[_MIPS_SIM == _ABIN32 ? 1 : - 1]; 8822 ; 8823 return 0; 8824 } 8825 _ACEOF 8826 if ac_fn_c_try_compile "$LINENO"; then : 8827 st_cv_mips_abi=n32 8828 else 8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8830 /* end confdefs.h. */ 8831 8832 int 8833 main () 8834 { 8835 int i[_MIPS_SIM == _ABI64 ? 1 : - 1]; 8836 ; 8837 return 0; 8838 } 8839 _ACEOF 8840 if ac_fn_c_try_compile "$LINENO"; then : 8841 st_cv_mips_abi=n64 8842 else 8843 st_cv_mips_abi=unknown 8844 fi 8845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8846 fi 8847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8848 fi 8849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8850 fi 8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mips_abi" >&5 8852 $as_echo "$st_cv_mips_abi" >&6; } 8853 8854 case "$st_cv_mips_abi" in 8855 o32) 8856 $as_echo "#define LINUX_MIPSO32 1" >>confdefs.h 8857 ;; 8858 n32) 8859 $as_echo "#define LINUX_MIPSN32 1" >>confdefs.h 8860 ;; 8861 n64) 8862 $as_echo "#define LINUX_MIPSN64 1" >>confdefs.h 8863 ;; 8864 *) as_fn_error $? "Unsupported _MIPS_SIM" "$LINENO" 5;; 8865 esac 8866 MIPS_ABI="$st_cv_mips_abi" 8867 fi 8868 8869 8870 # Check whether --enable-arm-oabi was given. 8871 if test "${enable_arm_oabi+set}" = set; then : 8872 enableval=$enable_arm_oabi; 8873 else 8874 enable_arm_oabi=no 8875 fi 8876 8877 case "$enable_arm_oabi" in 8878 yes) enable_arm_oabi=1 ;; 8879 no) enable_arm_oabi=0 ;; 8880 *) as_fn_error $? "bad value $enable_arm_oabi for arm-oabi option" "$LINENO" 5 ;; 8881 esac 8882 8883 cat >>confdefs.h <<_ACEOF 8884 #define ENABLE_ARM_OABI $enable_arm_oabi 8885 _ACEOF 8886 8887 8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8889 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 8890 if ${ac_cv_c_bigendian+:} false; then : 8891 $as_echo_n "(cached) " >&6 8892 else 8893 ac_cv_c_bigendian=unknown 8894 # See if we're dealing with a universal compiler. 8895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8896 /* end confdefs.h. */ 8897 #ifndef __APPLE_CC__ 8898 not a universal capable compiler 8899 #endif 8900 typedef int dummy; 8901 8902 _ACEOF 8903 if ac_fn_c_try_compile "$LINENO"; then : 8904 8905 # Check for potential -arch flags. It is not universal unless 8906 # there are at least two -arch flags with different values. 8907 ac_arch= 8908 ac_prev= 8909 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 8910 if test -n "$ac_prev"; then 8911 case $ac_word in 8912 i?86 | x86_64 | ppc | ppc64) 8913 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 8914 ac_arch=$ac_word 8915 else 8916 ac_cv_c_bigendian=universal 8917 break 8918 fi 8919 ;; 8920 esac 8921 ac_prev= 8922 elif test "x$ac_word" = "x-arch"; then 8923 ac_prev=arch 8924 fi 8925 done 8926 fi 8927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8928 if test $ac_cv_c_bigendian = unknown; then 8929 # See if sys/param.h defines the BYTE_ORDER macro. 8930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8931 /* end confdefs.h. */ 8932 #include <sys/types.h> 8933 #include <sys/param.h> 8934 8935 int 8936 main () 8937 { 8938 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8939 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8940 && LITTLE_ENDIAN) 8941 bogus endian macros 8942 #endif 8943 8944 ; 8945 return 0; 8946 } 8947 _ACEOF 8948 if ac_fn_c_try_compile "$LINENO"; then : 8949 # It does; now see whether it defined to BIG_ENDIAN or not. 8950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8951 /* end confdefs.h. */ 8952 #include <sys/types.h> 8953 #include <sys/param.h> 8954 8955 int 8956 main () 8957 { 8958 #if BYTE_ORDER != BIG_ENDIAN 8959 not big endian 8960 #endif 8961 8962 ; 8963 return 0; 8964 } 8965 _ACEOF 8966 if ac_fn_c_try_compile "$LINENO"; then : 8967 ac_cv_c_bigendian=yes 8968 else 8969 ac_cv_c_bigendian=no 8970 fi 8971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8972 fi 8973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8974 fi 8975 if test $ac_cv_c_bigendian = unknown; then 8976 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8978 /* end confdefs.h. */ 8979 #include <limits.h> 8980 8981 int 8982 main () 8983 { 8984 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8985 bogus endian macros 8986 #endif 8987 8988 ; 8989 return 0; 8990 } 8991 _ACEOF 8992 if ac_fn_c_try_compile "$LINENO"; then : 8993 # It does; now see whether it defined to _BIG_ENDIAN or not. 8994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8995 /* end confdefs.h. */ 8996 #include <limits.h> 8997 8998 int 8999 main () 9000 { 9001 #ifndef _BIG_ENDIAN 9002 not big endian 9003 #endif 9004 9005 ; 9006 return 0; 9007 } 9008 _ACEOF 9009 if ac_fn_c_try_compile "$LINENO"; then : 9010 ac_cv_c_bigendian=yes 9011 else 9012 ac_cv_c_bigendian=no 9013 fi 9014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9015 fi 9016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9017 fi 9018 if test $ac_cv_c_bigendian = unknown; then 9019 # Compile a test program. 9020 if test "$cross_compiling" = yes; then : 9021 # Try to guess by grepping values from an object file. 9022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9023 /* end confdefs.h. */ 9024 short int ascii_mm[] = 9025 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 9026 short int ascii_ii[] = 9027 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 9028 int use_ascii (int i) { 9029 return ascii_mm[i] + ascii_ii[i]; 9030 } 9031 short int ebcdic_ii[] = 9032 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 9033 short int ebcdic_mm[] = 9034 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 9035 int use_ebcdic (int i) { 9036 return ebcdic_mm[i] + ebcdic_ii[i]; 9037 } 9038 extern int foo; 9039 9040 int 9041 main () 9042 { 9043 return use_ascii (foo) == use_ebcdic (foo); 9044 ; 9045 return 0; 9046 } 9047 _ACEOF 9048 if ac_fn_c_try_compile "$LINENO"; then : 9049 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9050 ac_cv_c_bigendian=yes 9051 fi 9052 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 9053 if test "$ac_cv_c_bigendian" = unknown; then 9054 ac_cv_c_bigendian=no 9055 else 9056 # finding both strings is unlikely to happen, but who knows? 9057 ac_cv_c_bigendian=unknown 9058 fi 9059 fi 9060 fi 9061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9062 else 9063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9064 /* end confdefs.h. */ 9065 $ac_includes_default 9066 int 9067 main () 9068 { 9069 9070 /* Are we little or big endian? From Harbison&Steele. */ 9071 union 9072 { 9073 long int l; 9074 char c[sizeof (long int)]; 9075 } u; 9076 u.l = 1; 9077 return u.c[sizeof (long int) - 1] == 1; 9078 9079 ; 9080 return 0; 9081 } 9082 _ACEOF 9083 if ac_fn_c_try_run "$LINENO"; then : 9084 ac_cv_c_bigendian=no 9085 else 9086 ac_cv_c_bigendian=yes 9087 fi 9088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9089 conftest.$ac_objext conftest.beam conftest.$ac_ext 9090 fi 9091 9092 fi 9093 fi 9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9095 $as_echo "$ac_cv_c_bigendian" >&6; } 9096 case $ac_cv_c_bigendian in #( 9097 yes) 9098 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9099 ;; #( 9100 no) 9101 ;; #( 9102 universal) 9103 9104 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9105 9106 ;; #( 9107 *) 9108 as_fn_error $? "unknown endianness 9109 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9110 esac 9111 9112 9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof syntax and keyword spelling" >&5 9114 $as_echo_n "checking for typeof syntax and keyword spelling... " >&6; } 9115 if ${ac_cv_c_typeof+:} false; then : 9116 $as_echo_n "(cached) " >&6 9117 else 9118 ac_cv_c_typeof=no 9119 for ac_kw in typeof __typeof__ no; do 9120 test $ac_kw = no && break 9121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9122 /* end confdefs.h. */ 9123 9124 int 9125 main () 9126 { 9127 9128 int value; 9129 typedef struct { 9130 char a [1 9131 + ! (($ac_kw (value)) 9132 (($ac_kw (value)) 0 < ($ac_kw (value)) -1 9133 ? ($ac_kw (value)) - 1 9134 : ~ (~ ($ac_kw (value)) 0 9135 << sizeof ($ac_kw (value)))))]; } 9136 ac__typeof_type_; 9137 return 9138 (! ((void) ((ac__typeof_type_ *) 0), 0)); 9139 9140 ; 9141 return 0; 9142 } 9143 _ACEOF 9144 if ac_fn_c_try_compile "$LINENO"; then : 9145 ac_cv_c_typeof=$ac_kw 9146 fi 9147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9148 test $ac_cv_c_typeof != no && break 9149 done 9150 fi 9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_typeof" >&5 9152 $as_echo "$ac_cv_c_typeof" >&6; } 9153 if test $ac_cv_c_typeof != no; then 9154 9155 $as_echo "#define HAVE_TYPEOF 1" >>confdefs.h 9156 9157 if test $ac_cv_c_typeof != typeof; then 9158 9159 cat >>confdefs.h <<_ACEOF 9160 #define typeof $ac_cv_c_typeof 9161 _ACEOF 9162 9163 fi 9164 fi 9165 9166 9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 9168 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } 9169 if ${ac_cv_type_uid_t+:} false; then : 9170 $as_echo_n "(cached) " >&6 9171 else 9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9173 /* end confdefs.h. */ 9174 #include <sys/types.h> 9175 9176 _ACEOF 9177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9178 $EGREP "uid_t" >/dev/null 2>&1; then : 9179 ac_cv_type_uid_t=yes 9180 else 9181 ac_cv_type_uid_t=no 9182 fi 9183 rm -f conftest* 9184 9185 fi 9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 9187 $as_echo "$ac_cv_type_uid_t" >&6; } 9188 if test $ac_cv_type_uid_t = no; then 9189 9190 $as_echo "#define uid_t int" >>confdefs.h 9191 9192 9193 $as_echo "#define gid_t int" >>confdefs.h 9194 9195 fi 9196 9197 9198 for ac_func in accept4 fallocate fanotify_mark fopen64 fork fputs_unlocked fstatat ftruncate futimens if_indextoname open64 prctl preadv process_vm_readv pwritev readahead signalfd stpcpy strerror strsignal sync_file_range utimensat 9199 do : 9200 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9201 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9202 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 9203 cat >>confdefs.h <<_ACEOF 9204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9205 _ACEOF 9206 9207 fi 9208 done 9209 9210 9211 ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h> 9212 " 9213 if test "x$ac_cv_type_sig_atomic_t" = xyes; then : 9214 9215 cat >>confdefs.h <<_ACEOF 9216 #define HAVE_SIG_ATOMIC_T 1 9217 _ACEOF 9218 9219 9220 fi 9221 ac_fn_c_check_type "$LINENO" "struct sigcontext" "ac_cv_type_struct_sigcontext" "#include <signal.h> 9222 " 9223 if test "x$ac_cv_type_struct_sigcontext" = xyes; then : 9224 9225 cat >>confdefs.h <<_ACEOF 9226 #define HAVE_STRUCT_SIGCONTEXT 1 9227 _ACEOF 9228 9229 9230 fi 9231 9232 9233 ac_fn_c_check_type "$LINENO" "struct mmsghdr" "ac_cv_type_struct_mmsghdr" "#include <sys/socket.h> 9234 " 9235 if test "x$ac_cv_type_struct_mmsghdr" = xyes; then : 9236 9237 cat >>confdefs.h <<_ACEOF 9238 #define HAVE_STRUCT_MMSGHDR 1 9239 _ACEOF 9240 9241 9242 fi 9243 9244 9245 ac_fn_c_check_type "$LINENO" "__kernel_long_t" "ac_cv_type___kernel_long_t" "#include <asm/posix_types.h> 9246 " 9247 if test "x$ac_cv_type___kernel_long_t" = xyes; then : 9248 9249 cat >>confdefs.h <<_ACEOF 9250 #define HAVE___KERNEL_LONG_T 1 9251 _ACEOF 9252 9253 9254 fi 9255 ac_fn_c_check_type "$LINENO" "__kernel_ulong_t" "ac_cv_type___kernel_ulong_t" "#include <asm/posix_types.h> 9256 " 9257 if test "x$ac_cv_type___kernel_ulong_t" = xyes; then : 9258 9259 cat >>confdefs.h <<_ACEOF 9260 #define HAVE___KERNEL_ULONG_T 1 9261 _ACEOF 9262 9263 9264 fi 9265 9266 9267 ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 9268 #include <asm/stat.h> 9269 " 9270 if test "x$ac_cv_type_struct_stat64" = xyes; then : 9271 9272 cat >>confdefs.h <<_ACEOF 9273 #define HAVE_STRUCT_STAT64 1 9274 _ACEOF 9275 9276 9277 fi 9278 ac_fn_c_check_type "$LINENO" "struct __old_kernel_stat" "ac_cv_type_struct___old_kernel_stat" "#include <sys/types.h> 9279 #include <asm/stat.h> 9280 " 9281 if test "x$ac_cv_type_struct___old_kernel_stat" = xyes; then : 9282 9283 cat >>confdefs.h <<_ACEOF 9284 #define HAVE_STRUCT___OLD_KERNEL_STAT 1 9285 _ACEOF 9286 9287 9288 fi 9289 9290 9291 ac_fn_c_check_type "$LINENO" "struct user_desc" "ac_cv_type_struct_user_desc" "#include <asm/ldt.h> 9292 " 9293 if test "x$ac_cv_type_struct_user_desc" = xyes; then : 9294 9295 cat >>confdefs.h <<_ACEOF 9296 #define HAVE_STRUCT_USER_DESC 1 9297 _ACEOF 9298 9299 9300 fi 9301 9302 9303 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h> 9304 #include <asm/stat.h> 9305 " 9306 if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 9307 9308 cat >>confdefs.h <<_ACEOF 9309 #define HAVE_STRUCT_STAT_ST_MTIME_NSEC 1 9310 _ACEOF 9311 9312 9313 fi 9314 ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h> 9315 #include <asm/stat.h> 9316 " 9317 if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 9318 9319 cat >>confdefs.h <<_ACEOF 9320 #define HAVE_STRUCT_STAT64_ST_MTIME_NSEC 1 9321 _ACEOF 9322 9323 9324 fi 9325 9326 9327 ac_fn_c_check_type "$LINENO" "struct pt_all_user_regs" "ac_cv_type_struct_pt_all_user_regs" "#include <sys/ptrace.h> 9328 " 9329 if test "x$ac_cv_type_struct_pt_all_user_regs" = xyes; then : 9330 9331 cat >>confdefs.h <<_ACEOF 9332 #define HAVE_STRUCT_PT_ALL_USER_REGS 1 9333 _ACEOF 9334 9335 9336 fi 9337 ac_fn_c_check_type "$LINENO" "struct ia64_fpreg" "ac_cv_type_struct_ia64_fpreg" "#include <sys/ptrace.h> 9338 " 9339 if test "x$ac_cv_type_struct_ia64_fpreg" = xyes; then : 9340 9341 cat >>confdefs.h <<_ACEOF 9342 #define HAVE_STRUCT_IA64_FPREG 1 9343 _ACEOF 9344 9345 9346 fi 9347 ac_fn_c_check_type "$LINENO" "struct ptrace_peeksiginfo_args" "ac_cv_type_struct_ptrace_peeksiginfo_args" "#include <sys/ptrace.h> 9348 " 9349 if test "x$ac_cv_type_struct_ptrace_peeksiginfo_args" = xyes; then : 9350 9351 cat >>confdefs.h <<_ACEOF 9352 #define HAVE_STRUCT_PTRACE_PEEKSIGINFO_ARGS 1 9353 _ACEOF 9354 9355 9356 fi 9357 9358 9359 ac_fn_c_check_type "$LINENO" "struct flock" "ac_cv_type_struct_flock" "#include <sys/types.h> 9360 #include <linux/fcntl.h> 9361 " 9362 if test "x$ac_cv_type_struct_flock" = xyes; then : 9363 9364 cat >>confdefs.h <<_ACEOF 9365 #define HAVE_STRUCT_FLOCK 1 9366 _ACEOF 9367 9368 9369 fi 9370 ac_fn_c_check_type "$LINENO" "struct flock64" "ac_cv_type_struct_flock64" "#include <sys/types.h> 9371 #include <linux/fcntl.h> 9372 " 9373 if test "x$ac_cv_type_struct_flock64" = xyes; then : 9374 9375 cat >>confdefs.h <<_ACEOF 9376 #define HAVE_STRUCT_FLOCK64 1 9377 _ACEOF 9378 9379 9380 fi 9381 ac_fn_c_check_type "$LINENO" "struct __kernel_flock" "ac_cv_type_struct___kernel_flock" "#include <sys/types.h> 9382 #include <linux/fcntl.h> 9383 " 9384 if test "x$ac_cv_type_struct___kernel_flock" = xyes; then : 9385 9386 cat >>confdefs.h <<_ACEOF 9387 #define HAVE_STRUCT___KERNEL_FLOCK 1 9388 _ACEOF 9389 9390 9391 fi 9392 ac_fn_c_check_type "$LINENO" "struct __kernel_flock64" "ac_cv_type_struct___kernel_flock64" "#include <sys/types.h> 9393 #include <linux/fcntl.h> 9394 " 9395 if test "x$ac_cv_type_struct___kernel_flock64" = xyes; then : 9396 9397 cat >>confdefs.h <<_ACEOF 9398 #define HAVE_STRUCT___KERNEL_FLOCK64 1 9399 _ACEOF 9400 9401 9402 fi 9403 9404 9405 ac_fn_c_check_member "$LINENO" "struct timex" "tai" "ac_cv_member_struct_timex_tai" "#include <sys/timex.h> 9406 " 9407 if test "x$ac_cv_member_struct_timex_tai" = xyes; then : 9408 9409 cat >>confdefs.h <<_ACEOF 9410 #define HAVE_STRUCT_TIMEX_TAI 1 9411 _ACEOF 9412 9413 9414 fi 9415 9416 9417 ac_fn_c_check_member "$LINENO" "struct utsname" "domainname" "ac_cv_member_struct_utsname_domainname" "#include <sys/utsname.h> 9418 " 9419 if test "x$ac_cv_member_struct_utsname_domainname" = xyes; then : 9420 9421 cat >>confdefs.h <<_ACEOF 9422 #define HAVE_STRUCT_UTSNAME_DOMAINNAME 1 9423 _ACEOF 9424 9425 9426 fi 9427 9428 9429 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_syscall" "ac_cv_member_siginfo_t_si_syscall" "#include <signal.h> 9430 " 9431 if test "x$ac_cv_member_siginfo_t_si_syscall" = xyes; then : 9432 9433 cat >>confdefs.h <<_ACEOF 9434 #define HAVE_SIGINFO_T_SI_SYSCALL 1 9435 _ACEOF 9436 9437 9438 fi 9439 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_timerid" "ac_cv_member_siginfo_t_si_timerid" "#include <signal.h> 9440 " 9441 if test "x$ac_cv_member_siginfo_t_si_timerid" = xyes; then : 9442 9443 cat >>confdefs.h <<_ACEOF 9444 #define HAVE_SIGINFO_T_SI_TIMERID 1 9445 _ACEOF 9446 9447 9448 fi 9449 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_overrun" "ac_cv_member_siginfo_t_si_overrun" "#include <signal.h> 9450 " 9451 if test "x$ac_cv_member_siginfo_t_si_overrun" = xyes; then : 9452 9453 cat >>confdefs.h <<_ACEOF 9454 #define HAVE_SIGINFO_T_SI_OVERRUN 1 9455 _ACEOF 9456 9457 9458 fi 9459 9460 9461 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> 9462 " 9463 if test "x$ac_cv_member_struct_perf_event_attr_precise_ip" = xyes; then : 9464 9465 cat >>confdefs.h <<_ACEOF 9466 #define HAVE_STRUCT_PERF_EVENT_ATTR_PRECISE_IP 1 9467 _ACEOF 9468 9469 9470 fi 9471 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> 9472 " 9473 if test "x$ac_cv_member_struct_perf_event_attr_mmap_data" = xyes; then : 9474 9475 cat >>confdefs.h <<_ACEOF 9476 #define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP_DATA 1 9477 _ACEOF 9478 9479 9480 fi 9481 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> 9482 " 9483 if test "x$ac_cv_member_struct_perf_event_attr_sample_id_all" = xyes; then : 9484 9485 cat >>confdefs.h <<_ACEOF 9486 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_ID_ALL 1 9487 _ACEOF 9488 9489 9490 fi 9491 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> 9492 " 9493 if test "x$ac_cv_member_struct_perf_event_attr_exclude_host" = xyes; then : 9494 9495 cat >>confdefs.h <<_ACEOF 9496 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_HOST 1 9497 _ACEOF 9498 9499 9500 fi 9501 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> 9502 " 9503 if test "x$ac_cv_member_struct_perf_event_attr_exclude_guest" = xyes; then : 9504 9505 cat >>confdefs.h <<_ACEOF 9506 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_GUEST 1 9507 _ACEOF 9508 9509 9510 fi 9511 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> 9512 " 9513 if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_kernel" = xyes; then : 9514 9515 cat >>confdefs.h <<_ACEOF 9516 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_KERNEL 1 9517 _ACEOF 9518 9519 9520 fi 9521 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> 9522 " 9523 if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_user" = xyes; then : 9524 9525 cat >>confdefs.h <<_ACEOF 9526 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_USER 1 9527 _ACEOF 9528 9529 9530 fi 9531 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "mmap2" "ac_cv_member_struct_perf_event_attr_mmap2" "#include <linux/perf_event.h> 9532 " 9533 if test "x$ac_cv_member_struct_perf_event_attr_mmap2" = xyes; then : 9534 9535 cat >>confdefs.h <<_ACEOF 9536 #define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP2 1 9537 _ACEOF 9538 9539 9540 fi 9541 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> 9542 " 9543 if test "x$ac_cv_member_struct_perf_event_attr_comm_exec" = xyes; then : 9544 9545 cat >>confdefs.h <<_ACEOF 9546 #define HAVE_STRUCT_PERF_EVENT_ATTR_COMM_EXEC 1 9547 _ACEOF 9548 9549 9550 fi 9551 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> 9552 " 9553 if test "x$ac_cv_member_struct_perf_event_attr_use_clockid" = xyes; then : 9554 9555 cat >>confdefs.h <<_ACEOF 9556 #define HAVE_STRUCT_PERF_EVENT_ATTR_USE_CLOCKID 1 9557 _ACEOF 9558 9559 9560 fi 9561 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> 9562 " 9563 if test "x$ac_cv_member_struct_perf_event_attr_context_switch" = xyes; then : 9564 9565 cat >>confdefs.h <<_ACEOF 9566 #define HAVE_STRUCT_PERF_EVENT_ATTR_CONTEXT_SWITCH 1 9567 _ACEOF 9568 9569 9570 fi 9571 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> 9572 " 9573 if test "x$ac_cv_member_struct_perf_event_attr_write_backward" = xyes; then : 9574 9575 cat >>confdefs.h <<_ACEOF 9576 #define HAVE_STRUCT_PERF_EVENT_ATTR_WRITE_BACKWARD 1 9577 _ACEOF 9578 9579 9580 fi 9581 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> 9582 " 9583 if test "x$ac_cv_member_struct_perf_event_attr_bp_type" = xyes; then : 9584 9585 cat >>confdefs.h <<_ACEOF 9586 #define HAVE_STRUCT_PERF_EVENT_ATTR_BP_TYPE 1 9587 _ACEOF 9588 9589 9590 fi 9591 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config1" "ac_cv_member_struct_perf_event_attr_config1" "#include <linux/perf_event.h> 9592 " 9593 if test "x$ac_cv_member_struct_perf_event_attr_config1" = xyes; then : 9594 9595 cat >>confdefs.h <<_ACEOF 9596 #define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG1 1 9597 _ACEOF 9598 9599 9600 fi 9601 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config2" "ac_cv_member_struct_perf_event_attr_config2" "#include <linux/perf_event.h> 9602 " 9603 if test "x$ac_cv_member_struct_perf_event_attr_config2" = xyes; then : 9604 9605 cat >>confdefs.h <<_ACEOF 9606 #define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG2 1 9607 _ACEOF 9608 9609 9610 fi 9611 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> 9612 " 9613 if test "x$ac_cv_member_struct_perf_event_attr_branch_sample_type" = xyes; then : 9614 9615 cat >>confdefs.h <<_ACEOF 9616 #define HAVE_STRUCT_PERF_EVENT_ATTR_BRANCH_SAMPLE_TYPE 1 9617 _ACEOF 9618 9619 9620 fi 9621 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> 9622 " 9623 if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_user" = xyes; then : 9624 9625 cat >>confdefs.h <<_ACEOF 9626 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_USER 1 9627 _ACEOF 9628 9629 9630 fi 9631 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> 9632 " 9633 if test "x$ac_cv_member_struct_perf_event_attr_sample_stack_user" = xyes; then : 9634 9635 cat >>confdefs.h <<_ACEOF 9636 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_STACK_USER 1 9637 _ACEOF 9638 9639 9640 fi 9641 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> 9642 " 9643 if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_intr" = xyes; then : 9644 9645 cat >>confdefs.h <<_ACEOF 9646 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_INTR 1 9647 _ACEOF 9648 9649 9650 fi 9651 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> 9652 " 9653 if test "x$ac_cv_member_struct_perf_event_attr_aux_watermark" = xyes; then : 9654 9655 cat >>confdefs.h <<_ACEOF 9656 #define HAVE_STRUCT_PERF_EVENT_ATTR_AUX_WATERMARK 1 9657 _ACEOF 9658 9659 9660 fi 9661 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> 9662 " 9663 if test "x$ac_cv_member_struct_perf_event_attr_sample_max_stack" = xyes; then : 9664 9665 cat >>confdefs.h <<_ACEOF 9666 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_MAX_STACK 1 9667 _ACEOF 9668 9669 9670 fi 9671 9672 9673 for ac_header in asm/cachectl.h asm/sysmips.h bluetooth/bluetooth.h elf.h inttypes.h linux/bsg.h linux/dm-ioctl.h linux/dqblk_xfs.h linux/falloc.h linux/fiemap.h linux/filter.h linux/hiddev.h linux/ip_vs.h linux/ipc.h linux/mmtimer.h linux/msg.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 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 9674 do : 9675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9676 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 9677 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9678 cat >>confdefs.h <<_ACEOF 9679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9680 _ACEOF 9681 9682 fi 9683 9684 done 9685 9686 9687 for ac_header in asm/sigcontext.h 9688 do : 9689 ac_fn_c_check_header_compile "$LINENO" "asm/sigcontext.h" "ac_cv_header_asm_sigcontext_h" "#include <signal.h> 9690 " 9691 if test "x$ac_cv_header_asm_sigcontext_h" = xyes; then : 9692 cat >>confdefs.h <<_ACEOF 9693 #define HAVE_ASM_SIGCONTEXT_H 1 9694 _ACEOF 9695 9696 fi 9697 9698 done 9699 9700 9701 for ac_header in netinet/tcp.h netinet/udp.h 9702 do : 9703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9704 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h> 9705 " 9706 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9707 cat >>confdefs.h <<_ACEOF 9708 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9709 _ACEOF 9710 9711 fi 9712 9713 done 9714 9715 9716 for ac_header in linux/mqueue.h 9717 do : 9718 ac_fn_c_check_header_compile "$LINENO" "linux/mqueue.h" "ac_cv_header_linux_mqueue_h" "#include <linux/types.h> 9719 " 9720 if test "x$ac_cv_header_linux_mqueue_h" = xyes; then : 9721 cat >>confdefs.h <<_ACEOF 9722 #define HAVE_LINUX_MQUEUE_H 1 9723 _ACEOF 9724 9725 fi 9726 9727 done 9728 9729 9730 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 9731 do : 9732 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9733 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h> 9734 #include <net/if.h> 9735 " 9736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9737 cat >>confdefs.h <<_ACEOF 9738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9739 _ACEOF 9740 9741 fi 9742 9743 done 9744 9745 9746 for ac_header in linux/input.h 9747 do : 9748 ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default" 9749 if test "x$ac_cv_header_linux_input_h" = xyes; then : 9750 cat >>confdefs.h <<_ACEOF 9751 #define HAVE_LINUX_INPUT_H 1 9752 _ACEOF 9753 9754 ac_fn_c_check_member "$LINENO" "struct input_absinfo" "resolution" "ac_cv_member_struct_input_absinfo_resolution" "#include <linux/input.h> 9755 " 9756 if test "x$ac_cv_member_struct_input_absinfo_resolution" = xyes; then : 9757 9758 cat >>confdefs.h <<_ACEOF 9759 #define HAVE_STRUCT_INPUT_ABSINFO_RESOLUTION 1 9760 _ACEOF 9761 9762 9763 fi 9764 9765 9766 fi 9767 9768 done 9769 9770 9771 for ac_header in linux/bpf.h 9772 do : 9773 ac_fn_c_check_header_mongrel "$LINENO" "linux/bpf.h" "ac_cv_header_linux_bpf_h" "$ac_includes_default" 9774 if test "x$ac_cv_header_linux_bpf_h" = xyes; then : 9775 cat >>confdefs.h <<_ACEOF 9776 #define HAVE_LINUX_BPF_H 1 9777 _ACEOF 9778 9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether union bpf_attr.log_buf initialization works" >&5 9780 $as_echo_n "checking whether union bpf_attr.log_buf initialization works... " >&6; } 9781 if ${st_cv_have_union_bpf_attr_log_buf+:} false; then : 9782 $as_echo_n "(cached) " >&6 9783 else 9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9785 /* end confdefs.h. */ 9786 #include <linux/bpf.h> 9787 int 9788 main () 9789 { 9790 union bpf_attr a = { .log_buf = 0 }; 9791 ; 9792 return 0; 9793 } 9794 _ACEOF 9795 if ac_fn_c_try_compile "$LINENO"; then : 9796 st_cv_have_union_bpf_attr_log_buf=yes 9797 else 9798 st_cv_have_union_bpf_attr_log_buf=no 9799 fi 9800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9801 fi 9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have_union_bpf_attr_log_buf" >&5 9803 $as_echo "$st_cv_have_union_bpf_attr_log_buf" >&6; } 9804 if test $st_cv_have_union_bpf_attr_log_buf = yes; then 9805 9806 $as_echo "#define HAVE_UNION_BPF_ATTR_LOG_BUF 1" >>confdefs.h 9807 9808 fi 9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether union bpf_attr.bpf_fd initialization works" >&5 9810 $as_echo_n "checking whether union bpf_attr.bpf_fd initialization works... " >&6; } 9811 if ${st_cv_have_union_bpf_attr_bpf_fd+:} false; then : 9812 $as_echo_n "(cached) " >&6 9813 else 9814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9815 /* end confdefs.h. */ 9816 #include <linux/bpf.h> 9817 int 9818 main () 9819 { 9820 union bpf_attr a = { .bpf_fd = 0 }; 9821 ; 9822 return 0; 9823 } 9824 _ACEOF 9825 if ac_fn_c_try_compile "$LINENO"; then : 9826 st_cv_have_union_bpf_attr_bpf_fd=yes 9827 else 9828 st_cv_have_union_bpf_attr_bpf_fd=no 9829 fi 9830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9831 fi 9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have_union_bpf_attr_bpf_fd" >&5 9833 $as_echo "$st_cv_have_union_bpf_attr_bpf_fd" >&6; } 9834 if test $st_cv_have_union_bpf_attr_bpf_fd = yes; then 9835 9836 $as_echo "#define HAVE_UNION_BPF_ATTR_BPF_FD 1" >>confdefs.h 9837 9838 fi 9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether union bpf_attr.attach_type initialization works" >&5 9840 $as_echo_n "checking whether union bpf_attr.attach_type initialization works... " >&6; } 9841 if ${st_cv_have_union_bpf_attr_attach_type+:} false; then : 9842 $as_echo_n "(cached) " >&6 9843 else 9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9845 /* end confdefs.h. */ 9846 #include <linux/bpf.h> 9847 int 9848 main () 9849 { 9850 union bpf_attr a = { .attach_type = 0 }; 9851 ; 9852 return 0; 9853 } 9854 _ACEOF 9855 if ac_fn_c_try_compile "$LINENO"; then : 9856 st_cv_have_union_bpf_attr_attach_type=yes 9857 else 9858 st_cv_have_union_bpf_attr_attach_type=no 9859 fi 9860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9861 fi 9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have_union_bpf_attr_attach_type" >&5 9863 $as_echo "$st_cv_have_union_bpf_attr_attach_type" >&6; } 9864 if test $st_cv_have_union_bpf_attr_attach_type = yes; then 9865 9866 $as_echo "#define HAVE_UNION_BPF_ATTR_ATTACH_TYPE 1" >>confdefs.h 9867 9868 fi 9869 9870 fi 9871 9872 done 9873 9874 9875 ac_fn_c_check_type "$LINENO" "struct statfs" "ac_cv_type_struct_statfs" "#include <linux/types.h> 9876 #include <asm/statfs.h> 9877 " 9878 if test "x$ac_cv_type_struct_statfs" = xyes; then : 9879 9880 cat >>confdefs.h <<_ACEOF 9881 #define HAVE_STRUCT_STATFS 1 9882 _ACEOF 9883 9884 9885 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <linux/types.h> 9886 #include <asm/statfs.h> 9887 " 9888 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then : 9889 9890 cat >>confdefs.h <<_ACEOF 9891 #define HAVE_STRUCT_STATFS_F_FRSIZE 1 9892 _ACEOF 9893 9894 9895 fi 9896 9897 ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "#include <linux/types.h> 9898 #include <asm/statfs.h> 9899 " 9900 if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then : 9901 9902 cat >>confdefs.h <<_ACEOF 9903 #define HAVE_STRUCT_STATFS_F_FLAGS 1 9904 _ACEOF 9905 9906 9907 fi 9908 9909 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.val" "ac_cv_member_struct_statfs_f_fsid_val" "#include <linux/types.h> 9910 #include <asm/statfs.h> 9911 " 9912 if test "x$ac_cv_member_struct_statfs_f_fsid_val" = xyes; then : 9913 9914 cat >>confdefs.h <<_ACEOF 9915 #define HAVE_STRUCT_STATFS_F_FSID_VAL 1 9916 _ACEOF 9917 9918 9919 fi 9920 9921 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.__val" "ac_cv_member_struct_statfs_f_fsid___val" "#include <linux/types.h> 9922 #include <asm/statfs.h> 9923 " 9924 if test "x$ac_cv_member_struct_statfs_f_fsid___val" = xyes; then : 9925 9926 cat >>confdefs.h <<_ACEOF 9927 #define HAVE_STRUCT_STATFS_F_FSID___VAL 1 9928 _ACEOF 9929 9930 9931 fi 9932 9933 9934 fi 9935 9936 9937 ac_fn_c_check_type "$LINENO" "struct statfs64" "ac_cv_type_struct_statfs64" "#include <linux/types.h> 9938 #include <asm/statfs.h> 9939 " 9940 if test "x$ac_cv_type_struct_statfs64" = xyes; then : 9941 9942 cat >>confdefs.h <<_ACEOF 9943 #define HAVE_STRUCT_STATFS64 1 9944 _ACEOF 9945 9946 9947 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_frsize" "ac_cv_member_struct_statfs64_f_frsize" "#include <linux/types.h> 9948 #include <asm/statfs.h> 9949 " 9950 if test "x$ac_cv_member_struct_statfs64_f_frsize" = xyes; then : 9951 9952 cat >>confdefs.h <<_ACEOF 9953 #define HAVE_STRUCT_STATFS64_F_FRSIZE 1 9954 _ACEOF 9955 9956 9957 fi 9958 9959 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_flags" "ac_cv_member_struct_statfs64_f_flags" "#include <linux/types.h> 9960 #include <asm/statfs.h> 9961 " 9962 if test "x$ac_cv_member_struct_statfs64_f_flags" = xyes; then : 9963 9964 cat >>confdefs.h <<_ACEOF 9965 #define HAVE_STRUCT_STATFS64_F_FLAGS 1 9966 _ACEOF 9967 9968 9969 fi 9970 9971 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.val" "ac_cv_member_struct_statfs64_f_fsid_val" "#include <linux/types.h> 9972 #include <asm/statfs.h> 9973 " 9974 if test "x$ac_cv_member_struct_statfs64_f_fsid_val" = xyes; then : 9975 9976 cat >>confdefs.h <<_ACEOF 9977 #define HAVE_STRUCT_STATFS64_F_FSID_VAL 1 9978 _ACEOF 9979 9980 9981 fi 9982 9983 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.__val" "ac_cv_member_struct_statfs64_f_fsid___val" "#include <linux/types.h> 9984 #include <asm/statfs.h> 9985 " 9986 if test "x$ac_cv_member_struct_statfs64_f_fsid___val" = xyes; then : 9987 9988 cat >>confdefs.h <<_ACEOF 9989 #define HAVE_STRUCT_STATFS64_F_FSID___VAL 1 9990 _ACEOF 9991 9992 9993 fi 9994 9995 9996 fi 9997 9998 9999 ac_fn_c_check_type "$LINENO" "struct blk_user_trace_setup" "ac_cv_type_struct_blk_user_trace_setup" "#include <linux/blktrace_api.h> 10000 " 10001 if test "x$ac_cv_type_struct_blk_user_trace_setup" = xyes; then : 10002 10003 cat >>confdefs.h <<_ACEOF 10004 #define HAVE_STRUCT_BLK_USER_TRACE_SETUP 1 10005 _ACEOF 10006 10007 10008 fi 10009 10010 10011 for ac_header in linux/btrfs.h 10012 do : 10013 ac_fn_c_check_header_mongrel "$LINENO" "linux/btrfs.h" "ac_cv_header_linux_btrfs_h" "$ac_includes_default" 10014 if test "x$ac_cv_header_linux_btrfs_h" = xyes; then : 10015 cat >>confdefs.h <<_ACEOF 10016 #define HAVE_LINUX_BTRFS_H 1 10017 _ACEOF 10018 10019 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> 10020 #include <linux/btrfs.h> 10021 " 10022 if test "x$ac_cv_member_struct_btrfs_ioctl_feature_flags_compat_flags" = xyes; then : 10023 10024 cat >>confdefs.h <<_ACEOF 10025 #define HAVE_STRUCT_BTRFS_IOCTL_FEATURE_FLAGS_COMPAT_FLAGS 1 10026 _ACEOF 10027 10028 10029 fi 10030 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> 10031 #include <linux/btrfs.h> 10032 " 10033 if test "x$ac_cv_member_struct_btrfs_ioctl_fs_info_args_nodesize" = xyes; then : 10034 10035 cat >>confdefs.h <<_ACEOF 10036 #define HAVE_STRUCT_BTRFS_IOCTL_FS_INFO_ARGS_NODESIZE 1 10037 _ACEOF 10038 10039 10040 fi 10041 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> 10042 #include <linux/btrfs.h> 10043 " 10044 if test "x$ac_cv_member_struct_btrfs_ioctl_defrag_range_args_start" = xyes; then : 10045 10046 cat >>confdefs.h <<_ACEOF 10047 #define HAVE_STRUCT_BTRFS_IOCTL_DEFRAG_RANGE_ARGS_START 1 10048 _ACEOF 10049 10050 10051 fi 10052 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> 10053 #include <linux/btrfs.h> 10054 " 10055 if test "x$ac_cv_member_struct_btrfs_ioctl_search_args_v2_buf_size" = xyes; then : 10056 10057 cat >>confdefs.h <<_ACEOF 10058 #define HAVE_STRUCT_BTRFS_IOCTL_SEARCH_ARGS_V2_BUF_SIZE 1 10059 _ACEOF 10060 10061 10062 fi 10063 10064 ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_NONE" "ac_cv_have_decl_BTRFS_COMPRESS_NONE" " #include <stdio.h> 10065 #include <linux/btrfs.h> 10066 " 10067 if test "x$ac_cv_have_decl_BTRFS_COMPRESS_NONE" = xyes; then : 10068 ac_have_decl=1 10069 else 10070 ac_have_decl=0 10071 fi 10072 10073 cat >>confdefs.h <<_ACEOF 10074 #define HAVE_DECL_BTRFS_COMPRESS_NONE $ac_have_decl 10075 _ACEOF 10076 ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_ZLIB" "ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" " #include <stdio.h> 10077 #include <linux/btrfs.h> 10078 " 10079 if test "x$ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" = xyes; then : 10080 ac_have_decl=1 10081 else 10082 ac_have_decl=0 10083 fi 10084 10085 cat >>confdefs.h <<_ACEOF 10086 #define HAVE_DECL_BTRFS_COMPRESS_ZLIB $ac_have_decl 10087 _ACEOF 10088 ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_LZO" "ac_cv_have_decl_BTRFS_COMPRESS_LZO" " #include <stdio.h> 10089 #include <linux/btrfs.h> 10090 " 10091 if test "x$ac_cv_have_decl_BTRFS_COMPRESS_LZO" = xyes; then : 10092 ac_have_decl=1 10093 else 10094 ac_have_decl=0 10095 fi 10096 10097 cat >>confdefs.h <<_ACEOF 10098 #define HAVE_DECL_BTRFS_COMPRESS_LZO $ac_have_decl 10099 _ACEOF 10100 10101 fi 10102 10103 done 10104 10105 10106 ac_fn_c_check_decl "$LINENO" "sys_errlist" "ac_cv_have_decl_sys_errlist" "$ac_includes_default" 10107 if test "x$ac_cv_have_decl_sys_errlist" = xyes; then : 10108 ac_have_decl=1 10109 else 10110 ac_have_decl=0 10111 fi 10112 10113 cat >>confdefs.h <<_ACEOF 10114 #define HAVE_DECL_SYS_ERRLIST $ac_have_decl 10115 _ACEOF 10116 10117 ac_fn_c_check_decl "$LINENO" "PTRACE_PEEKUSER" "ac_cv_have_decl_PTRACE_PEEKUSER" "#include <sys/ptrace.h> 10118 " 10119 if test "x$ac_cv_have_decl_PTRACE_PEEKUSER" = xyes; then : 10120 ac_have_decl=1 10121 else 10122 ac_have_decl=0 10123 fi 10124 10125 cat >>confdefs.h <<_ACEOF 10126 #define HAVE_DECL_PTRACE_PEEKUSER $ac_have_decl 10127 _ACEOF 10128 ac_fn_c_check_decl "$LINENO" "PTRACE_POKEUSER" "ac_cv_have_decl_PTRACE_POKEUSER" "#include <sys/ptrace.h> 10129 " 10130 if test "x$ac_cv_have_decl_PTRACE_POKEUSER" = xyes; then : 10131 ac_have_decl=1 10132 else 10133 ac_have_decl=0 10134 fi 10135 10136 cat >>confdefs.h <<_ACEOF 10137 #define HAVE_DECL_PTRACE_POKEUSER $ac_have_decl 10138 _ACEOF 10139 10140 10141 ac_fn_c_check_decl "$LINENO" "P_PID" "ac_cv_have_decl_P_PID" "#include <sys/wait.h> 10142 " 10143 if test "x$ac_cv_have_decl_P_PID" = xyes; then : 10144 ac_have_decl=1 10145 else 10146 ac_have_decl=0 10147 fi 10148 10149 cat >>confdefs.h <<_ACEOF 10150 #define HAVE_DECL_P_PID $ac_have_decl 10151 _ACEOF 10152 ac_fn_c_check_decl "$LINENO" "P_PPID" "ac_cv_have_decl_P_PPID" "#include <sys/wait.h> 10153 " 10154 if test "x$ac_cv_have_decl_P_PPID" = xyes; then : 10155 ac_have_decl=1 10156 else 10157 ac_have_decl=0 10158 fi 10159 10160 cat >>confdefs.h <<_ACEOF 10161 #define HAVE_DECL_P_PPID $ac_have_decl 10162 _ACEOF 10163 ac_fn_c_check_decl "$LINENO" "P_PGID" "ac_cv_have_decl_P_PGID" "#include <sys/wait.h> 10164 " 10165 if test "x$ac_cv_have_decl_P_PGID" = xyes; then : 10166 ac_have_decl=1 10167 else 10168 ac_have_decl=0 10169 fi 10170 10171 cat >>confdefs.h <<_ACEOF 10172 #define HAVE_DECL_P_PGID $ac_have_decl 10173 _ACEOF 10174 ac_fn_c_check_decl "$LINENO" "P_SID" "ac_cv_have_decl_P_SID" "#include <sys/wait.h> 10175 " 10176 if test "x$ac_cv_have_decl_P_SID" = xyes; then : 10177 ac_have_decl=1 10178 else 10179 ac_have_decl=0 10180 fi 10181 10182 cat >>confdefs.h <<_ACEOF 10183 #define HAVE_DECL_P_SID $ac_have_decl 10184 _ACEOF 10185 ac_fn_c_check_decl "$LINENO" "P_CID" "ac_cv_have_decl_P_CID" "#include <sys/wait.h> 10186 " 10187 if test "x$ac_cv_have_decl_P_CID" = xyes; then : 10188 ac_have_decl=1 10189 else 10190 ac_have_decl=0 10191 fi 10192 10193 cat >>confdefs.h <<_ACEOF 10194 #define HAVE_DECL_P_CID $ac_have_decl 10195 _ACEOF 10196 ac_fn_c_check_decl "$LINENO" "P_UID" "ac_cv_have_decl_P_UID" "#include <sys/wait.h> 10197 " 10198 if test "x$ac_cv_have_decl_P_UID" = xyes; then : 10199 ac_have_decl=1 10200 else 10201 ac_have_decl=0 10202 fi 10203 10204 cat >>confdefs.h <<_ACEOF 10205 #define HAVE_DECL_P_UID $ac_have_decl 10206 _ACEOF 10207 ac_fn_c_check_decl "$LINENO" "P_GID" "ac_cv_have_decl_P_GID" "#include <sys/wait.h> 10208 " 10209 if test "x$ac_cv_have_decl_P_GID" = xyes; then : 10210 ac_have_decl=1 10211 else 10212 ac_have_decl=0 10213 fi 10214 10215 cat >>confdefs.h <<_ACEOF 10216 #define HAVE_DECL_P_GID $ac_have_decl 10217 _ACEOF 10218 ac_fn_c_check_decl "$LINENO" "P_ALL" "ac_cv_have_decl_P_ALL" "#include <sys/wait.h> 10219 " 10220 if test "x$ac_cv_have_decl_P_ALL" = xyes; then : 10221 ac_have_decl=1 10222 else 10223 ac_have_decl=0 10224 fi 10225 10226 cat >>confdefs.h <<_ACEOF 10227 #define HAVE_DECL_P_ALL $ac_have_decl 10228 _ACEOF 10229 ac_fn_c_check_decl "$LINENO" "P_LWPID" "ac_cv_have_decl_P_LWPID" "#include <sys/wait.h> 10230 " 10231 if test "x$ac_cv_have_decl_P_LWPID" = xyes; then : 10232 ac_have_decl=1 10233 else 10234 ac_have_decl=0 10235 fi 10236 10237 cat >>confdefs.h <<_ACEOF 10238 #define HAVE_DECL_P_LWPID $ac_have_decl 10239 _ACEOF 10240 10241 10242 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_READ_ONLY" "ac_cv_have_decl_LO_FLAGS_READ_ONLY" "#include <linux/loop.h> 10243 " 10244 if test "x$ac_cv_have_decl_LO_FLAGS_READ_ONLY" = xyes; then : 10245 ac_have_decl=1 10246 else 10247 ac_have_decl=0 10248 fi 10249 10250 cat >>confdefs.h <<_ACEOF 10251 #define HAVE_DECL_LO_FLAGS_READ_ONLY $ac_have_decl 10252 _ACEOF 10253 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_USE_AOPS" "ac_cv_have_decl_LO_FLAGS_USE_AOPS" "#include <linux/loop.h> 10254 " 10255 if test "x$ac_cv_have_decl_LO_FLAGS_USE_AOPS" = xyes; then : 10256 ac_have_decl=1 10257 else 10258 ac_have_decl=0 10259 fi 10260 10261 cat >>confdefs.h <<_ACEOF 10262 #define HAVE_DECL_LO_FLAGS_USE_AOPS $ac_have_decl 10263 _ACEOF 10264 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_AUTOCLEAR" "ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" "#include <linux/loop.h> 10265 " 10266 if test "x$ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" = xyes; then : 10267 ac_have_decl=1 10268 else 10269 ac_have_decl=0 10270 fi 10271 10272 cat >>confdefs.h <<_ACEOF 10273 #define HAVE_DECL_LO_FLAGS_AUTOCLEAR $ac_have_decl 10274 _ACEOF 10275 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_PARTSCAN" "ac_cv_have_decl_LO_FLAGS_PARTSCAN" "#include <linux/loop.h> 10276 " 10277 if test "x$ac_cv_have_decl_LO_FLAGS_PARTSCAN" = xyes; then : 10278 ac_have_decl=1 10279 else 10280 ac_have_decl=0 10281 fi 10282 10283 cat >>confdefs.h <<_ACEOF 10284 #define HAVE_DECL_LO_FLAGS_PARTSCAN $ac_have_decl 10285 _ACEOF 10286 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_DIRECT_IO" "ac_cv_have_decl_LO_FLAGS_DIRECT_IO" "#include <linux/loop.h> 10287 " 10288 if test "x$ac_cv_have_decl_LO_FLAGS_DIRECT_IO" = xyes; then : 10289 ac_have_decl=1 10290 else 10291 ac_have_decl=0 10292 fi 10293 10294 cat >>confdefs.h <<_ACEOF 10295 #define HAVE_DECL_LO_FLAGS_DIRECT_IO $ac_have_decl 10296 _ACEOF 10297 10298 10299 ac_fn_c_check_decl "$LINENO" "CTL_PROC" "ac_cv_have_decl_CTL_PROC" "#include <sys/types.h> 10300 #include <linux/sysctl.h> 10301 " 10302 if test "x$ac_cv_have_decl_CTL_PROC" = xyes; then : 10303 ac_have_decl=1 10304 else 10305 ac_have_decl=0 10306 fi 10307 10308 cat >>confdefs.h <<_ACEOF 10309 #define HAVE_DECL_CTL_PROC $ac_have_decl 10310 _ACEOF 10311 ac_fn_c_check_decl "$LINENO" "CTL_ARLAN" "ac_cv_have_decl_CTL_ARLAN" "#include <sys/types.h> 10312 #include <linux/sysctl.h> 10313 " 10314 if test "x$ac_cv_have_decl_CTL_ARLAN" = xyes; then : 10315 ac_have_decl=1 10316 else 10317 ac_have_decl=0 10318 fi 10319 10320 cat >>confdefs.h <<_ACEOF 10321 #define HAVE_DECL_CTL_ARLAN $ac_have_decl 10322 _ACEOF 10323 ac_fn_c_check_decl "$LINENO" "CTL_S390DBF" "ac_cv_have_decl_CTL_S390DBF" "#include <sys/types.h> 10324 #include <linux/sysctl.h> 10325 " 10326 if test "x$ac_cv_have_decl_CTL_S390DBF" = xyes; then : 10327 ac_have_decl=1 10328 else 10329 ac_have_decl=0 10330 fi 10331 10332 cat >>confdefs.h <<_ACEOF 10333 #define HAVE_DECL_CTL_S390DBF $ac_have_decl 10334 _ACEOF 10335 ac_fn_c_check_decl "$LINENO" "CTL_SUNRPC" "ac_cv_have_decl_CTL_SUNRPC" "#include <sys/types.h> 10336 #include <linux/sysctl.h> 10337 " 10338 if test "x$ac_cv_have_decl_CTL_SUNRPC" = xyes; then : 10339 ac_have_decl=1 10340 else 10341 ac_have_decl=0 10342 fi 10343 10344 cat >>confdefs.h <<_ACEOF 10345 #define HAVE_DECL_CTL_SUNRPC $ac_have_decl 10346 _ACEOF 10347 ac_fn_c_check_decl "$LINENO" "CTL_PM" "ac_cv_have_decl_CTL_PM" "#include <sys/types.h> 10348 #include <linux/sysctl.h> 10349 " 10350 if test "x$ac_cv_have_decl_CTL_PM" = xyes; then : 10351 ac_have_decl=1 10352 else 10353 ac_have_decl=0 10354 fi 10355 10356 cat >>confdefs.h <<_ACEOF 10357 #define HAVE_DECL_CTL_PM $ac_have_decl 10358 _ACEOF 10359 ac_fn_c_check_decl "$LINENO" "CTL_FRV" "ac_cv_have_decl_CTL_FRV" "#include <sys/types.h> 10360 #include <linux/sysctl.h> 10361 " 10362 if test "x$ac_cv_have_decl_CTL_FRV" = xyes; then : 10363 ac_have_decl=1 10364 else 10365 ac_have_decl=0 10366 fi 10367 10368 cat >>confdefs.h <<_ACEOF 10369 #define HAVE_DECL_CTL_FRV $ac_have_decl 10370 _ACEOF 10371 ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT" "#include <sys/types.h> 10372 #include <linux/sysctl.h> 10373 " 10374 if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT" = xyes; then : 10375 ac_have_decl=1 10376 else 10377 ac_have_decl=0 10378 fi 10379 10380 cat >>confdefs.h <<_ACEOF 10381 #define HAVE_DECL_KERN_PRINTK_RATELIMIT $ac_have_decl 10382 _ACEOF 10383 ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT_BURST" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" "#include <sys/types.h> 10384 #include <linux/sysctl.h> 10385 " 10386 if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" = xyes; then : 10387 ac_have_decl=1 10388 else 10389 ac_have_decl=0 10390 fi 10391 10392 cat >>confdefs.h <<_ACEOF 10393 #define HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST $ac_have_decl 10394 _ACEOF 10395 ac_fn_c_check_decl "$LINENO" "KERN_PTY" "ac_cv_have_decl_KERN_PTY" "#include <sys/types.h> 10396 #include <linux/sysctl.h> 10397 " 10398 if test "x$ac_cv_have_decl_KERN_PTY" = xyes; then : 10399 ac_have_decl=1 10400 else 10401 ac_have_decl=0 10402 fi 10403 10404 cat >>confdefs.h <<_ACEOF 10405 #define HAVE_DECL_KERN_PTY $ac_have_decl 10406 _ACEOF 10407 ac_fn_c_check_decl "$LINENO" "KERN_NGROUPS_MAX" "ac_cv_have_decl_KERN_NGROUPS_MAX" "#include <sys/types.h> 10408 #include <linux/sysctl.h> 10409 " 10410 if test "x$ac_cv_have_decl_KERN_NGROUPS_MAX" = xyes; then : 10411 ac_have_decl=1 10412 else 10413 ac_have_decl=0 10414 fi 10415 10416 cat >>confdefs.h <<_ACEOF 10417 #define HAVE_DECL_KERN_NGROUPS_MAX $ac_have_decl 10418 _ACEOF 10419 ac_fn_c_check_decl "$LINENO" "KERN_SPARC_SCONS_PWROFF" "ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" "#include <sys/types.h> 10420 #include <linux/sysctl.h> 10421 " 10422 if test "x$ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" = xyes; then : 10423 ac_have_decl=1 10424 else 10425 ac_have_decl=0 10426 fi 10427 10428 cat >>confdefs.h <<_ACEOF 10429 #define HAVE_DECL_KERN_SPARC_SCONS_PWROFF $ac_have_decl 10430 _ACEOF 10431 ac_fn_c_check_decl "$LINENO" "KERN_HZ_TIMER" "ac_cv_have_decl_KERN_HZ_TIMER" "#include <sys/types.h> 10432 #include <linux/sysctl.h> 10433 " 10434 if test "x$ac_cv_have_decl_KERN_HZ_TIMER" = xyes; then : 10435 ac_have_decl=1 10436 else 10437 ac_have_decl=0 10438 fi 10439 10440 cat >>confdefs.h <<_ACEOF 10441 #define HAVE_DECL_KERN_HZ_TIMER $ac_have_decl 10442 _ACEOF 10443 ac_fn_c_check_decl "$LINENO" "KERN_UNKNOWN_NMI_PANIC" "ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" "#include <sys/types.h> 10444 #include <linux/sysctl.h> 10445 " 10446 if test "x$ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" = xyes; then : 10447 ac_have_decl=1 10448 else 10449 ac_have_decl=0 10450 fi 10451 10452 cat >>confdefs.h <<_ACEOF 10453 #define HAVE_DECL_KERN_UNKNOWN_NMI_PANIC $ac_have_decl 10454 _ACEOF 10455 ac_fn_c_check_decl "$LINENO" "KERN_BOOTLOADER_TYPE" "ac_cv_have_decl_KERN_BOOTLOADER_TYPE" "#include <sys/types.h> 10456 #include <linux/sysctl.h> 10457 " 10458 if test "x$ac_cv_have_decl_KERN_BOOTLOADER_TYPE" = xyes; then : 10459 ac_have_decl=1 10460 else 10461 ac_have_decl=0 10462 fi 10463 10464 cat >>confdefs.h <<_ACEOF 10465 #define HAVE_DECL_KERN_BOOTLOADER_TYPE $ac_have_decl 10466 _ACEOF 10467 ac_fn_c_check_decl "$LINENO" "KERN_RANDOMIZE" "ac_cv_have_decl_KERN_RANDOMIZE" "#include <sys/types.h> 10468 #include <linux/sysctl.h> 10469 " 10470 if test "x$ac_cv_have_decl_KERN_RANDOMIZE" = xyes; then : 10471 ac_have_decl=1 10472 else 10473 ac_have_decl=0 10474 fi 10475 10476 cat >>confdefs.h <<_ACEOF 10477 #define HAVE_DECL_KERN_RANDOMIZE $ac_have_decl 10478 _ACEOF 10479 ac_fn_c_check_decl "$LINENO" "KERN_SETUID_DUMPABLE" "ac_cv_have_decl_KERN_SETUID_DUMPABLE" "#include <sys/types.h> 10480 #include <linux/sysctl.h> 10481 " 10482 if test "x$ac_cv_have_decl_KERN_SETUID_DUMPABLE" = xyes; then : 10483 ac_have_decl=1 10484 else 10485 ac_have_decl=0 10486 fi 10487 10488 cat >>confdefs.h <<_ACEOF 10489 #define HAVE_DECL_KERN_SETUID_DUMPABLE $ac_have_decl 10490 _ACEOF 10491 ac_fn_c_check_decl "$LINENO" "KERN_SPIN_RETRY" "ac_cv_have_decl_KERN_SPIN_RETRY" "#include <sys/types.h> 10492 #include <linux/sysctl.h> 10493 " 10494 if test "x$ac_cv_have_decl_KERN_SPIN_RETRY" = xyes; then : 10495 ac_have_decl=1 10496 else 10497 ac_have_decl=0 10498 fi 10499 10500 cat >>confdefs.h <<_ACEOF 10501 #define HAVE_DECL_KERN_SPIN_RETRY $ac_have_decl 10502 _ACEOF 10503 ac_fn_c_check_decl "$LINENO" "KERN_ACPI_VIDEO_FLAGS" "ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" "#include <sys/types.h> 10504 #include <linux/sysctl.h> 10505 " 10506 if test "x$ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" = xyes; then : 10507 ac_have_decl=1 10508 else 10509 ac_have_decl=0 10510 fi 10511 10512 cat >>confdefs.h <<_ACEOF 10513 #define HAVE_DECL_KERN_ACPI_VIDEO_FLAGS $ac_have_decl 10514 _ACEOF 10515 ac_fn_c_check_decl "$LINENO" "KERN_IA64_UNALIGNED" "ac_cv_have_decl_KERN_IA64_UNALIGNED" "#include <sys/types.h> 10516 #include <linux/sysctl.h> 10517 " 10518 if test "x$ac_cv_have_decl_KERN_IA64_UNALIGNED" = xyes; then : 10519 ac_have_decl=1 10520 else 10521 ac_have_decl=0 10522 fi 10523 10524 cat >>confdefs.h <<_ACEOF 10525 #define HAVE_DECL_KERN_IA64_UNALIGNED $ac_have_decl 10526 _ACEOF 10527 ac_fn_c_check_decl "$LINENO" "KERN_COMPAT_LOG" "ac_cv_have_decl_KERN_COMPAT_LOG" "#include <sys/types.h> 10528 #include <linux/sysctl.h> 10529 " 10530 if test "x$ac_cv_have_decl_KERN_COMPAT_LOG" = xyes; then : 10531 ac_have_decl=1 10532 else 10533 ac_have_decl=0 10534 fi 10535 10536 cat >>confdefs.h <<_ACEOF 10537 #define HAVE_DECL_KERN_COMPAT_LOG $ac_have_decl 10538 _ACEOF 10539 ac_fn_c_check_decl "$LINENO" "KERN_MAX_LOCK_DEPTH" "ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" "#include <sys/types.h> 10540 #include <linux/sysctl.h> 10541 " 10542 if test "x$ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" = xyes; then : 10543 ac_have_decl=1 10544 else 10545 ac_have_decl=0 10546 fi 10547 10548 cat >>confdefs.h <<_ACEOF 10549 #define HAVE_DECL_KERN_MAX_LOCK_DEPTH $ac_have_decl 10550 _ACEOF 10551 ac_fn_c_check_decl "$LINENO" "KERN_NMI_WATCHDOG" "ac_cv_have_decl_KERN_NMI_WATCHDOG" "#include <sys/types.h> 10552 #include <linux/sysctl.h> 10553 " 10554 if test "x$ac_cv_have_decl_KERN_NMI_WATCHDOG" = xyes; then : 10555 ac_have_decl=1 10556 else 10557 ac_have_decl=0 10558 fi 10559 10560 cat >>confdefs.h <<_ACEOF 10561 #define HAVE_DECL_KERN_NMI_WATCHDOG $ac_have_decl 10562 _ACEOF 10563 ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_NMI" "ac_cv_have_decl_KERN_PANIC_ON_NMI" "#include <sys/types.h> 10564 #include <linux/sysctl.h> 10565 " 10566 if test "x$ac_cv_have_decl_KERN_PANIC_ON_NMI" = xyes; then : 10567 ac_have_decl=1 10568 else 10569 ac_have_decl=0 10570 fi 10571 10572 cat >>confdefs.h <<_ACEOF 10573 #define HAVE_DECL_KERN_PANIC_ON_NMI $ac_have_decl 10574 _ACEOF 10575 ac_fn_c_check_decl "$LINENO" "NET_LLC" "ac_cv_have_decl_NET_LLC" "#include <sys/types.h> 10576 #include <linux/sysctl.h> 10577 " 10578 if test "x$ac_cv_have_decl_NET_LLC" = xyes; then : 10579 ac_have_decl=1 10580 else 10581 ac_have_decl=0 10582 fi 10583 10584 cat >>confdefs.h <<_ACEOF 10585 #define HAVE_DECL_NET_LLC $ac_have_decl 10586 _ACEOF 10587 ac_fn_c_check_decl "$LINENO" "NET_NETFILTER" "ac_cv_have_decl_NET_NETFILTER" "#include <sys/types.h> 10588 #include <linux/sysctl.h> 10589 " 10590 if test "x$ac_cv_have_decl_NET_NETFILTER" = xyes; then : 10591 ac_have_decl=1 10592 else 10593 ac_have_decl=0 10594 fi 10595 10596 cat >>confdefs.h <<_ACEOF 10597 #define HAVE_DECL_NET_NETFILTER $ac_have_decl 10598 _ACEOF 10599 ac_fn_c_check_decl "$LINENO" "NET_DCCP" "ac_cv_have_decl_NET_DCCP" "#include <sys/types.h> 10600 #include <linux/sysctl.h> 10601 " 10602 if test "x$ac_cv_have_decl_NET_DCCP" = xyes; then : 10603 ac_have_decl=1 10604 else 10605 ac_have_decl=0 10606 fi 10607 10608 cat >>confdefs.h <<_ACEOF 10609 #define HAVE_DECL_NET_DCCP $ac_have_decl 10610 _ACEOF 10611 ac_fn_c_check_decl "$LINENO" "NET_IRDA" "ac_cv_have_decl_NET_IRDA" "#include <sys/types.h> 10612 #include <linux/sysctl.h> 10613 " 10614 if test "x$ac_cv_have_decl_NET_IRDA" = xyes; then : 10615 ac_have_decl=1 10616 else 10617 ac_have_decl=0 10618 fi 10619 10620 cat >>confdefs.h <<_ACEOF 10621 #define HAVE_DECL_NET_IRDA $ac_have_decl 10622 _ACEOF 10623 ac_fn_c_check_decl "$LINENO" "NET_CORE_DESTROY_DELAY" "ac_cv_have_decl_NET_CORE_DESTROY_DELAY" "#include <sys/types.h> 10624 #include <linux/sysctl.h> 10625 " 10626 if test "x$ac_cv_have_decl_NET_CORE_DESTROY_DELAY" = xyes; then : 10627 ac_have_decl=1 10628 else 10629 ac_have_decl=0 10630 fi 10631 10632 cat >>confdefs.h <<_ACEOF 10633 #define HAVE_DECL_NET_CORE_DESTROY_DELAY $ac_have_decl 10634 _ACEOF 10635 ac_fn_c_check_decl "$LINENO" "NET_CORE_BUDGET" "ac_cv_have_decl_NET_CORE_BUDGET" "#include <sys/types.h> 10636 #include <linux/sysctl.h> 10637 " 10638 if test "x$ac_cv_have_decl_NET_CORE_BUDGET" = xyes; then : 10639 ac_have_decl=1 10640 else 10641 ac_have_decl=0 10642 fi 10643 10644 cat >>confdefs.h <<_ACEOF 10645 #define HAVE_DECL_NET_CORE_BUDGET $ac_have_decl 10646 _ACEOF 10647 ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_ETIME" "ac_cv_have_decl_NET_CORE_AEVENT_ETIME" "#include <sys/types.h> 10648 #include <linux/sysctl.h> 10649 " 10650 if test "x$ac_cv_have_decl_NET_CORE_AEVENT_ETIME" = xyes; then : 10651 ac_have_decl=1 10652 else 10653 ac_have_decl=0 10654 fi 10655 10656 cat >>confdefs.h <<_ACEOF 10657 #define HAVE_DECL_NET_CORE_AEVENT_ETIME $ac_have_decl 10658 _ACEOF 10659 ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_RSEQTH" "ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" "#include <sys/types.h> 10660 #include <linux/sysctl.h> 10661 " 10662 if test "x$ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" = xyes; then : 10663 ac_have_decl=1 10664 else 10665 ac_have_decl=0 10666 fi 10667 10668 cat >>confdefs.h <<_ACEOF 10669 #define HAVE_DECL_NET_CORE_AEVENT_RSEQTH $ac_have_decl 10670 _ACEOF 10671 ac_fn_c_check_decl "$LINENO" "NET_CORE_WARNINGS" "ac_cv_have_decl_NET_CORE_WARNINGS" "#include <sys/types.h> 10672 #include <linux/sysctl.h> 10673 " 10674 if test "x$ac_cv_have_decl_NET_CORE_WARNINGS" = xyes; then : 10675 ac_have_decl=1 10676 else 10677 ac_have_decl=0 10678 fi 10679 10680 cat >>confdefs.h <<_ACEOF 10681 #define HAVE_DECL_NET_CORE_WARNINGS $ac_have_decl 10682 _ACEOF 10683 ac_fn_c_check_decl "$LINENO" "NET_IPV4_IGMP_MAX_MSF" "ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" "#include <sys/types.h> 10684 #include <linux/sysctl.h> 10685 " 10686 if test "x$ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" = xyes; then : 10687 ac_have_decl=1 10688 else 10689 ac_have_decl=0 10690 fi 10691 10692 cat >>confdefs.h <<_ACEOF 10693 #define HAVE_DECL_NET_IPV4_IGMP_MAX_MSF $ac_have_decl 10694 _ACEOF 10695 ac_fn_c_check_decl "$LINENO" "NET_TCP_NO_METRICS_SAVE" "ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" "#include <sys/types.h> 10696 #include <linux/sysctl.h> 10697 " 10698 if test "x$ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" = xyes; then : 10699 ac_have_decl=1 10700 else 10701 ac_have_decl=0 10702 fi 10703 10704 cat >>confdefs.h <<_ACEOF 10705 #define HAVE_DECL_NET_TCP_NO_METRICS_SAVE $ac_have_decl 10706 _ACEOF 10707 ac_fn_c_check_decl "$LINENO" "NET_TCP_DEFAULT_WIN_SCALE" "ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" "#include <sys/types.h> 10708 #include <linux/sysctl.h> 10709 " 10710 if test "x$ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" = xyes; then : 10711 ac_have_decl=1 10712 else 10713 ac_have_decl=0 10714 fi 10715 10716 cat >>confdefs.h <<_ACEOF 10717 #define HAVE_DECL_NET_TCP_DEFAULT_WIN_SCALE $ac_have_decl 10718 _ACEOF 10719 ac_fn_c_check_decl "$LINENO" "NET_TCP_MODERATE_RCVBUF" "ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" "#include <sys/types.h> 10720 #include <linux/sysctl.h> 10721 " 10722 if test "x$ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" = xyes; then : 10723 ac_have_decl=1 10724 else 10725 ac_have_decl=0 10726 fi 10727 10728 cat >>confdefs.h <<_ACEOF 10729 #define HAVE_DECL_NET_TCP_MODERATE_RCVBUF $ac_have_decl 10730 _ACEOF 10731 ac_fn_c_check_decl "$LINENO" "NET_TCP_TSO_WIN_DIVISOR" "ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" "#include <sys/types.h> 10732 #include <linux/sysctl.h> 10733 " 10734 if test "x$ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" = xyes; then : 10735 ac_have_decl=1 10736 else 10737 ac_have_decl=0 10738 fi 10739 10740 cat >>confdefs.h <<_ACEOF 10741 #define HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR $ac_have_decl 10742 _ACEOF 10743 ac_fn_c_check_decl "$LINENO" "NET_TCP_BIC_BETA" "ac_cv_have_decl_NET_TCP_BIC_BETA" "#include <sys/types.h> 10744 #include <linux/sysctl.h> 10745 " 10746 if test "x$ac_cv_have_decl_NET_TCP_BIC_BETA" = xyes; then : 10747 ac_have_decl=1 10748 else 10749 ac_have_decl=0 10750 fi 10751 10752 cat >>confdefs.h <<_ACEOF 10753 #define HAVE_DECL_NET_TCP_BIC_BETA $ac_have_decl 10754 _ACEOF 10755 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> 10756 #include <linux/sysctl.h> 10757 " 10758 if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" = xyes; then : 10759 ac_have_decl=1 10760 else 10761 ac_have_decl=0 10762 fi 10763 10764 cat >>confdefs.h <<_ACEOF 10765 #define HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR $ac_have_decl 10766 _ACEOF 10767 ac_fn_c_check_decl "$LINENO" "NET_TCP_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_CONG_CONTROL" "#include <sys/types.h> 10768 #include <linux/sysctl.h> 10769 " 10770 if test "x$ac_cv_have_decl_NET_TCP_CONG_CONTROL" = xyes; then : 10771 ac_have_decl=1 10772 else 10773 ac_have_decl=0 10774 fi 10775 10776 cat >>confdefs.h <<_ACEOF 10777 #define HAVE_DECL_NET_TCP_CONG_CONTROL $ac_have_decl 10778 _ACEOF 10779 ac_fn_c_check_decl "$LINENO" "NET_TCP_ABC" "ac_cv_have_decl_NET_TCP_ABC" "#include <sys/types.h> 10780 #include <linux/sysctl.h> 10781 " 10782 if test "x$ac_cv_have_decl_NET_TCP_ABC" = xyes; then : 10783 ac_have_decl=1 10784 else 10785 ac_have_decl=0 10786 fi 10787 10788 cat >>confdefs.h <<_ACEOF 10789 #define HAVE_DECL_NET_TCP_ABC $ac_have_decl 10790 _ACEOF 10791 ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_MAX_DIST" "ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" "#include <sys/types.h> 10792 #include <linux/sysctl.h> 10793 " 10794 if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" = xyes; then : 10795 ac_have_decl=1 10796 else 10797 ac_have_decl=0 10798 fi 10799 10800 cat >>confdefs.h <<_ACEOF 10801 #define HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST $ac_have_decl 10802 _ACEOF 10803 ac_fn_c_check_decl "$LINENO" "NET_TCP_MTU_PROBING" "ac_cv_have_decl_NET_TCP_MTU_PROBING" "#include <sys/types.h> 10804 #include <linux/sysctl.h> 10805 " 10806 if test "x$ac_cv_have_decl_NET_TCP_MTU_PROBING" = xyes; then : 10807 ac_have_decl=1 10808 else 10809 ac_have_decl=0 10810 fi 10811 10812 cat >>confdefs.h <<_ACEOF 10813 #define HAVE_DECL_NET_TCP_MTU_PROBING $ac_have_decl 10814 _ACEOF 10815 ac_fn_c_check_decl "$LINENO" "NET_TCP_BASE_MSS" "ac_cv_have_decl_NET_TCP_BASE_MSS" "#include <sys/types.h> 10816 #include <linux/sysctl.h> 10817 " 10818 if test "x$ac_cv_have_decl_NET_TCP_BASE_MSS" = xyes; then : 10819 ac_have_decl=1 10820 else 10821 ac_have_decl=0 10822 fi 10823 10824 cat >>confdefs.h <<_ACEOF 10825 #define HAVE_DECL_NET_TCP_BASE_MSS $ac_have_decl 10826 _ACEOF 10827 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> 10828 #include <linux/sysctl.h> 10829 " 10830 if test "x$ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" = xyes; then : 10831 ac_have_decl=1 10832 else 10833 ac_have_decl=0 10834 fi 10835 10836 cat >>confdefs.h <<_ACEOF 10837 #define HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS $ac_have_decl 10838 _ACEOF 10839 ac_fn_c_check_decl "$LINENO" "NET_TCP_DMA_COPYBREAK" "ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" "#include <sys/types.h> 10840 #include <linux/sysctl.h> 10841 " 10842 if test "x$ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" = xyes; then : 10843 ac_have_decl=1 10844 else 10845 ac_have_decl=0 10846 fi 10847 10848 cat >>confdefs.h <<_ACEOF 10849 #define HAVE_DECL_NET_TCP_DMA_COPYBREAK $ac_have_decl 10850 _ACEOF 10851 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> 10852 #include <linux/sysctl.h> 10853 " 10854 if test "x$ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" = xyes; then : 10855 ac_have_decl=1 10856 else 10857 ac_have_decl=0 10858 fi 10859 10860 cat >>confdefs.h <<_ACEOF 10861 #define HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE $ac_have_decl 10862 _ACEOF 10863 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_ENABLE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" "#include <sys/types.h> 10864 #include <linux/sysctl.h> 10865 " 10866 if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" = xyes; then : 10867 ac_have_decl=1 10868 else 10869 ac_have_decl=0 10870 fi 10871 10872 cat >>confdefs.h <<_ACEOF 10873 #define HAVE_DECL_NET_CIPSOV4_CACHE_ENABLE $ac_have_decl 10874 _ACEOF 10875 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_BUCKET_SIZE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" "#include <sys/types.h> 10876 #include <linux/sysctl.h> 10877 " 10878 if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" = xyes; then : 10879 ac_have_decl=1 10880 else 10881 ac_have_decl=0 10882 fi 10883 10884 cat >>confdefs.h <<_ACEOF 10885 #define HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE $ac_have_decl 10886 _ACEOF 10887 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_OPTFMT" "ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" "#include <sys/types.h> 10888 #include <linux/sysctl.h> 10889 " 10890 if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" = 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_NET_CIPSOV4_RBM_OPTFMT $ac_have_decl 10898 _ACEOF 10899 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_STRICTVALID" "ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" "#include <sys/types.h> 10900 #include <linux/sysctl.h> 10901 " 10902 if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" = xyes; then : 10903 ac_have_decl=1 10904 else 10905 ac_have_decl=0 10906 fi 10907 10908 cat >>confdefs.h <<_ACEOF 10909 #define HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID $ac_have_decl 10910 _ACEOF 10911 ac_fn_c_check_decl "$LINENO" "NET_TCP_AVAIL_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" "#include <sys/types.h> 10912 #include <linux/sysctl.h> 10913 " 10914 if test "x$ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" = xyes; then : 10915 ac_have_decl=1 10916 else 10917 ac_have_decl=0 10918 fi 10919 10920 cat >>confdefs.h <<_ACEOF 10921 #define HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL $ac_have_decl 10922 _ACEOF 10923 ac_fn_c_check_decl "$LINENO" "NET_TCP_ALLOWED_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" "#include <sys/types.h> 10924 #include <linux/sysctl.h> 10925 " 10926 if test "x$ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" = xyes; then : 10927 ac_have_decl=1 10928 else 10929 ac_have_decl=0 10930 fi 10931 10932 cat >>confdefs.h <<_ACEOF 10933 #define HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL $ac_have_decl 10934 _ACEOF 10935 ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_SSTHRESH" "ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" "#include <sys/types.h> 10936 #include <linux/sysctl.h> 10937 " 10938 if test "x$ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" = xyes; then : 10939 ac_have_decl=1 10940 else 10941 ac_have_decl=0 10942 fi 10943 10944 cat >>confdefs.h <<_ACEOF 10945 #define HAVE_DECL_NET_TCP_MAX_SSTHRESH $ac_have_decl 10946 _ACEOF 10947 ac_fn_c_check_decl "$LINENO" "NET_TCP_FRTO_RESPONSE" "ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" "#include <sys/types.h> 10948 #include <linux/sysctl.h> 10949 " 10950 if test "x$ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" = xyes; then : 10951 ac_have_decl=1 10952 else 10953 ac_have_decl=0 10954 fi 10955 10956 cat >>confdefs.h <<_ACEOF 10957 #define HAVE_DECL_NET_TCP_FRTO_RESPONSE $ac_have_decl 10958 _ACEOF 10959 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> 10960 #include <linux/sysctl.h> 10961 " 10962 if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then : 10963 ac_have_decl=1 10964 else 10965 ac_have_decl=0 10966 fi 10967 10968 cat >>confdefs.h <<_ACEOF 10969 #define HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl 10970 _ACEOF 10971 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> 10972 #include <linux/sysctl.h> 10973 " 10974 if test "x$ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" = xyes; then : 10975 ac_have_decl=1 10976 else 10977 ac_have_decl=0 10978 fi 10979 10980 cat >>confdefs.h <<_ACEOF 10981 #define HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION $ac_have_decl 10982 _ACEOF 10983 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ANNOUNCE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" "#include <sys/types.h> 10984 #include <linux/sysctl.h> 10985 " 10986 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" = xyes; then : 10987 ac_have_decl=1 10988 else 10989 ac_have_decl=0 10990 fi 10991 10992 cat >>confdefs.h <<_ACEOF 10993 #define HAVE_DECL_NET_IPV4_CONF_ARP_ANNOUNCE $ac_have_decl 10994 _ACEOF 10995 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_IGNORE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" "#include <sys/types.h> 10996 #include <linux/sysctl.h> 10997 " 10998 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" = xyes; then : 10999 ac_have_decl=1 11000 else 11001 ac_have_decl=0 11002 fi 11003 11004 cat >>confdefs.h <<_ACEOF 11005 #define HAVE_DECL_NET_IPV4_CONF_ARP_IGNORE $ac_have_decl 11006 _ACEOF 11007 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_PROMOTE_SECONDARIES" "ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" "#include <sys/types.h> 11008 #include <linux/sysctl.h> 11009 " 11010 if test "x$ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" = xyes; then : 11011 ac_have_decl=1 11012 else 11013 ac_have_decl=0 11014 fi 11015 11016 cat >>confdefs.h <<_ACEOF 11017 #define HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES $ac_have_decl 11018 _ACEOF 11019 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ACCEPT" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" "#include <sys/types.h> 11020 #include <linux/sysctl.h> 11021 " 11022 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" = xyes; then : 11023 ac_have_decl=1 11024 else 11025 ac_have_decl=0 11026 fi 11027 11028 cat >>confdefs.h <<_ACEOF 11029 #define HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT $ac_have_decl 11030 _ACEOF 11031 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_NOTIFY" "ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" "#include <sys/types.h> 11032 #include <linux/sysctl.h> 11033 " 11034 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" = xyes; then : 11035 ac_have_decl=1 11036 else 11037 ac_have_decl=0 11038 fi 11039 11040 cat >>confdefs.h <<_ACEOF 11041 #define HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY $ac_have_decl 11042 _ACEOF 11043 ac_fn_c_check_decl "$LINENO" "NET_IPV6_MLD_MAX_MSF" "ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" "#include <sys/types.h> 11044 #include <linux/sysctl.h> 11045 " 11046 if test "x$ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" = xyes; then : 11047 ac_have_decl=1 11048 else 11049 ac_have_decl=0 11050 fi 11051 11052 cat >>confdefs.h <<_ACEOF 11053 #define HAVE_DECL_NET_IPV6_MLD_MAX_MSF $ac_have_decl 11054 _ACEOF 11055 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> 11056 #include <linux/sysctl.h> 11057 " 11058 if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then : 11059 ac_have_decl=1 11060 else 11061 ac_have_decl=0 11062 fi 11063 11064 cat >>confdefs.h <<_ACEOF 11065 #define HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl 11066 _ACEOF 11067 ac_fn_c_check_decl "$LINENO" "VM_MAX_MAP_COUNT" "ac_cv_have_decl_VM_MAX_MAP_COUNT" "#include <sys/types.h> 11068 #include <linux/sysctl.h> 11069 " 11070 if test "x$ac_cv_have_decl_VM_MAX_MAP_COUNT" = xyes; then : 11071 ac_have_decl=1 11072 else 11073 ac_have_decl=0 11074 fi 11075 11076 cat >>confdefs.h <<_ACEOF 11077 #define HAVE_DECL_VM_MAX_MAP_COUNT $ac_have_decl 11078 _ACEOF 11079 ac_fn_c_check_decl "$LINENO" "VM_LAPTOP_MODE" "ac_cv_have_decl_VM_LAPTOP_MODE" "#include <sys/types.h> 11080 #include <linux/sysctl.h> 11081 " 11082 if test "x$ac_cv_have_decl_VM_LAPTOP_MODE" = xyes; then : 11083 ac_have_decl=1 11084 else 11085 ac_have_decl=0 11086 fi 11087 11088 cat >>confdefs.h <<_ACEOF 11089 #define HAVE_DECL_VM_LAPTOP_MODE $ac_have_decl 11090 _ACEOF 11091 ac_fn_c_check_decl "$LINENO" "VM_BLOCK_DUMP" "ac_cv_have_decl_VM_BLOCK_DUMP" "#include <sys/types.h> 11092 #include <linux/sysctl.h> 11093 " 11094 if test "x$ac_cv_have_decl_VM_BLOCK_DUMP" = xyes; then : 11095 ac_have_decl=1 11096 else 11097 ac_have_decl=0 11098 fi 11099 11100 cat >>confdefs.h <<_ACEOF 11101 #define HAVE_DECL_VM_BLOCK_DUMP $ac_have_decl 11102 _ACEOF 11103 ac_fn_c_check_decl "$LINENO" "VM_HUGETLB_GROUP" "ac_cv_have_decl_VM_HUGETLB_GROUP" "#include <sys/types.h> 11104 #include <linux/sysctl.h> 11105 " 11106 if test "x$ac_cv_have_decl_VM_HUGETLB_GROUP" = xyes; then : 11107 ac_have_decl=1 11108 else 11109 ac_have_decl=0 11110 fi 11111 11112 cat >>confdefs.h <<_ACEOF 11113 #define HAVE_DECL_VM_HUGETLB_GROUP $ac_have_decl 11114 _ACEOF 11115 ac_fn_c_check_decl "$LINENO" "VM_VFS_CACHE_PRESSURE" "ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" "#include <sys/types.h> 11116 #include <linux/sysctl.h> 11117 " 11118 if test "x$ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" = xyes; then : 11119 ac_have_decl=1 11120 else 11121 ac_have_decl=0 11122 fi 11123 11124 cat >>confdefs.h <<_ACEOF 11125 #define HAVE_DECL_VM_VFS_CACHE_PRESSURE $ac_have_decl 11126 _ACEOF 11127 ac_fn_c_check_decl "$LINENO" "VM_LEGACY_VA_LAYOUT" "ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" "#include <sys/types.h> 11128 #include <linux/sysctl.h> 11129 " 11130 if test "x$ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" = xyes; then : 11131 ac_have_decl=1 11132 else 11133 ac_have_decl=0 11134 fi 11135 11136 cat >>confdefs.h <<_ACEOF 11137 #define HAVE_DECL_VM_LEGACY_VA_LAYOUT $ac_have_decl 11138 _ACEOF 11139 ac_fn_c_check_decl "$LINENO" "VM_SWAP_TOKEN_TIMEOUT" "ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" "#include <sys/types.h> 11140 #include <linux/sysctl.h> 11141 " 11142 if test "x$ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" = xyes; then : 11143 ac_have_decl=1 11144 else 11145 ac_have_decl=0 11146 fi 11147 11148 cat >>confdefs.h <<_ACEOF 11149 #define HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT $ac_have_decl 11150 _ACEOF 11151 11152 11153 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_ANY" "ac_cv_have_decl_V4L2_FIELD_ANY" "#include <sys/time.h> 11154 #include <linux/ioctl.h> 11155 #include <linux/types.h> 11156 #include <linux/videodev2.h> 11157 " 11158 if test "x$ac_cv_have_decl_V4L2_FIELD_ANY" = xyes; then : 11159 ac_have_decl=1 11160 else 11161 ac_have_decl=0 11162 fi 11163 11164 cat >>confdefs.h <<_ACEOF 11165 #define HAVE_DECL_V4L2_FIELD_ANY $ac_have_decl 11166 _ACEOF 11167 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_NONE" "ac_cv_have_decl_V4L2_FIELD_NONE" "#include <sys/time.h> 11168 #include <linux/ioctl.h> 11169 #include <linux/types.h> 11170 #include <linux/videodev2.h> 11171 " 11172 if test "x$ac_cv_have_decl_V4L2_FIELD_NONE" = 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_V4L2_FIELD_NONE $ac_have_decl 11180 _ACEOF 11181 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_TOP" "ac_cv_have_decl_V4L2_FIELD_TOP" "#include <sys/time.h> 11182 #include <linux/ioctl.h> 11183 #include <linux/types.h> 11184 #include <linux/videodev2.h> 11185 " 11186 if test "x$ac_cv_have_decl_V4L2_FIELD_TOP" = xyes; then : 11187 ac_have_decl=1 11188 else 11189 ac_have_decl=0 11190 fi 11191 11192 cat >>confdefs.h <<_ACEOF 11193 #define HAVE_DECL_V4L2_FIELD_TOP $ac_have_decl 11194 _ACEOF 11195 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_BOTTOM" "ac_cv_have_decl_V4L2_FIELD_BOTTOM" "#include <sys/time.h> 11196 #include <linux/ioctl.h> 11197 #include <linux/types.h> 11198 #include <linux/videodev2.h> 11199 " 11200 if test "x$ac_cv_have_decl_V4L2_FIELD_BOTTOM" = xyes; then : 11201 ac_have_decl=1 11202 else 11203 ac_have_decl=0 11204 fi 11205 11206 cat >>confdefs.h <<_ACEOF 11207 #define HAVE_DECL_V4L2_FIELD_BOTTOM $ac_have_decl 11208 _ACEOF 11209 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED" "ac_cv_have_decl_V4L2_FIELD_INTERLACED" "#include <sys/time.h> 11210 #include <linux/ioctl.h> 11211 #include <linux/types.h> 11212 #include <linux/videodev2.h> 11213 " 11214 if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED" = xyes; then : 11215 ac_have_decl=1 11216 else 11217 ac_have_decl=0 11218 fi 11219 11220 cat >>confdefs.h <<_ACEOF 11221 #define HAVE_DECL_V4L2_FIELD_INTERLACED $ac_have_decl 11222 _ACEOF 11223 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_SEQ_TB" "ac_cv_have_decl_V4L2_FIELD_SEQ_TB" "#include <sys/time.h> 11224 #include <linux/ioctl.h> 11225 #include <linux/types.h> 11226 #include <linux/videodev2.h> 11227 " 11228 if test "x$ac_cv_have_decl_V4L2_FIELD_SEQ_TB" = xyes; then : 11229 ac_have_decl=1 11230 else 11231 ac_have_decl=0 11232 fi 11233 11234 cat >>confdefs.h <<_ACEOF 11235 #define HAVE_DECL_V4L2_FIELD_SEQ_TB $ac_have_decl 11236 _ACEOF 11237 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_SEQ_BT" "ac_cv_have_decl_V4L2_FIELD_SEQ_BT" "#include <sys/time.h> 11238 #include <linux/ioctl.h> 11239 #include <linux/types.h> 11240 #include <linux/videodev2.h> 11241 " 11242 if test "x$ac_cv_have_decl_V4L2_FIELD_SEQ_BT" = xyes; then : 11243 ac_have_decl=1 11244 else 11245 ac_have_decl=0 11246 fi 11247 11248 cat >>confdefs.h <<_ACEOF 11249 #define HAVE_DECL_V4L2_FIELD_SEQ_BT $ac_have_decl 11250 _ACEOF 11251 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_ALTERNATE" "ac_cv_have_decl_V4L2_FIELD_ALTERNATE" "#include <sys/time.h> 11252 #include <linux/ioctl.h> 11253 #include <linux/types.h> 11254 #include <linux/videodev2.h> 11255 " 11256 if test "x$ac_cv_have_decl_V4L2_FIELD_ALTERNATE" = 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_V4L2_FIELD_ALTERNATE $ac_have_decl 11264 _ACEOF 11265 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED_TB" "ac_cv_have_decl_V4L2_FIELD_INTERLACED_TB" "#include <sys/time.h> 11266 #include <linux/ioctl.h> 11267 #include <linux/types.h> 11268 #include <linux/videodev2.h> 11269 " 11270 if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED_TB" = xyes; then : 11271 ac_have_decl=1 11272 else 11273 ac_have_decl=0 11274 fi 11275 11276 cat >>confdefs.h <<_ACEOF 11277 #define HAVE_DECL_V4L2_FIELD_INTERLACED_TB $ac_have_decl 11278 _ACEOF 11279 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED_BT" "ac_cv_have_decl_V4L2_FIELD_INTERLACED_BT" "#include <sys/time.h> 11280 #include <linux/ioctl.h> 11281 #include <linux/types.h> 11282 #include <linux/videodev2.h> 11283 " 11284 if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED_BT" = xyes; then : 11285 ac_have_decl=1 11286 else 11287 ac_have_decl=0 11288 fi 11289 11290 cat >>confdefs.h <<_ACEOF 11291 #define HAVE_DECL_V4L2_FIELD_INTERLACED_BT $ac_have_decl 11292 _ACEOF 11293 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" "#include <sys/time.h> 11294 #include <linux/ioctl.h> 11295 #include <linux/types.h> 11296 #include <linux/videodev2.h> 11297 " 11298 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" = xyes; then : 11299 ac_have_decl=1 11300 else 11301 ac_have_decl=0 11302 fi 11303 11304 cat >>confdefs.h <<_ACEOF 11305 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE $ac_have_decl 11306 _ACEOF 11307 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> 11308 #include <linux/ioctl.h> 11309 #include <linux/types.h> 11310 #include <linux/videodev2.h> 11311 " 11312 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" = xyes; then : 11313 ac_have_decl=1 11314 else 11315 ac_have_decl=0 11316 fi 11317 11318 cat >>confdefs.h <<_ACEOF 11319 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE $ac_have_decl 11320 _ACEOF 11321 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" "#include <sys/time.h> 11322 #include <linux/ioctl.h> 11323 #include <linux/types.h> 11324 #include <linux/videodev2.h> 11325 " 11326 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" = xyes; then : 11327 ac_have_decl=1 11328 else 11329 ac_have_decl=0 11330 fi 11331 11332 cat >>confdefs.h <<_ACEOF 11333 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT $ac_have_decl 11334 _ACEOF 11335 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> 11336 #include <linux/ioctl.h> 11337 #include <linux/types.h> 11338 #include <linux/videodev2.h> 11339 " 11340 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" = 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_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE $ac_have_decl 11348 _ACEOF 11349 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OVERLAY" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" "#include <sys/time.h> 11350 #include <linux/ioctl.h> 11351 #include <linux/types.h> 11352 #include <linux/videodev2.h> 11353 " 11354 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" = xyes; then : 11355 ac_have_decl=1 11356 else 11357 ac_have_decl=0 11358 fi 11359 11360 cat >>confdefs.h <<_ACEOF 11361 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OVERLAY $ac_have_decl 11362 _ACEOF 11363 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VBI_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" "#include <sys/time.h> 11364 #include <linux/ioctl.h> 11365 #include <linux/types.h> 11366 #include <linux/videodev2.h> 11367 " 11368 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" = xyes; then : 11369 ac_have_decl=1 11370 else 11371 ac_have_decl=0 11372 fi 11373 11374 cat >>confdefs.h <<_ACEOF 11375 #define HAVE_DECL_V4L2_BUF_TYPE_VBI_CAPTURE $ac_have_decl 11376 _ACEOF 11377 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VBI_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" "#include <sys/time.h> 11378 #include <linux/ioctl.h> 11379 #include <linux/types.h> 11380 #include <linux/videodev2.h> 11381 " 11382 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" = xyes; then : 11383 ac_have_decl=1 11384 else 11385 ac_have_decl=0 11386 fi 11387 11388 cat >>confdefs.h <<_ACEOF 11389 #define HAVE_DECL_V4L2_BUF_TYPE_VBI_OUTPUT $ac_have_decl 11390 _ACEOF 11391 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> 11392 #include <linux/ioctl.h> 11393 #include <linux/types.h> 11394 #include <linux/videodev2.h> 11395 " 11396 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" = xyes; then : 11397 ac_have_decl=1 11398 else 11399 ac_have_decl=0 11400 fi 11401 11402 cat >>confdefs.h <<_ACEOF 11403 #define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE $ac_have_decl 11404 _ACEOF 11405 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> 11406 #include <linux/ioctl.h> 11407 #include <linux/types.h> 11408 #include <linux/videodev2.h> 11409 " 11410 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" = xyes; then : 11411 ac_have_decl=1 11412 else 11413 ac_have_decl=0 11414 fi 11415 11416 cat >>confdefs.h <<_ACEOF 11417 #define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT $ac_have_decl 11418 _ACEOF 11419 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> 11420 #include <linux/ioctl.h> 11421 #include <linux/types.h> 11422 #include <linux/videodev2.h> 11423 " 11424 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" = 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_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY $ac_have_decl 11432 _ACEOF 11433 ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_RADIO" "ac_cv_have_decl_V4L2_TUNER_RADIO" "#include <sys/time.h> 11434 #include <linux/ioctl.h> 11435 #include <linux/types.h> 11436 #include <linux/videodev2.h> 11437 " 11438 if test "x$ac_cv_have_decl_V4L2_TUNER_RADIO" = xyes; then : 11439 ac_have_decl=1 11440 else 11441 ac_have_decl=0 11442 fi 11443 11444 cat >>confdefs.h <<_ACEOF 11445 #define HAVE_DECL_V4L2_TUNER_RADIO $ac_have_decl 11446 _ACEOF 11447 ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_ANALOG_TV" "ac_cv_have_decl_V4L2_TUNER_ANALOG_TV" "#include <sys/time.h> 11448 #include <linux/ioctl.h> 11449 #include <linux/types.h> 11450 #include <linux/videodev2.h> 11451 " 11452 if test "x$ac_cv_have_decl_V4L2_TUNER_ANALOG_TV" = xyes; then : 11453 ac_have_decl=1 11454 else 11455 ac_have_decl=0 11456 fi 11457 11458 cat >>confdefs.h <<_ACEOF 11459 #define HAVE_DECL_V4L2_TUNER_ANALOG_TV $ac_have_decl 11460 _ACEOF 11461 ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_DIGITAL_TV" "ac_cv_have_decl_V4L2_TUNER_DIGITAL_TV" "#include <sys/time.h> 11462 #include <linux/ioctl.h> 11463 #include <linux/types.h> 11464 #include <linux/videodev2.h> 11465 " 11466 if test "x$ac_cv_have_decl_V4L2_TUNER_DIGITAL_TV" = xyes; then : 11467 ac_have_decl=1 11468 else 11469 ac_have_decl=0 11470 fi 11471 11472 cat >>confdefs.h <<_ACEOF 11473 #define HAVE_DECL_V4L2_TUNER_DIGITAL_TV $ac_have_decl 11474 _ACEOF 11475 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_MMAP" "ac_cv_have_decl_V4L2_MEMORY_MMAP" "#include <sys/time.h> 11476 #include <linux/ioctl.h> 11477 #include <linux/types.h> 11478 #include <linux/videodev2.h> 11479 " 11480 if test "x$ac_cv_have_decl_V4L2_MEMORY_MMAP" = xyes; then : 11481 ac_have_decl=1 11482 else 11483 ac_have_decl=0 11484 fi 11485 11486 cat >>confdefs.h <<_ACEOF 11487 #define HAVE_DECL_V4L2_MEMORY_MMAP $ac_have_decl 11488 _ACEOF 11489 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_USERPTR" "ac_cv_have_decl_V4L2_MEMORY_USERPTR" "#include <sys/time.h> 11490 #include <linux/ioctl.h> 11491 #include <linux/types.h> 11492 #include <linux/videodev2.h> 11493 " 11494 if test "x$ac_cv_have_decl_V4L2_MEMORY_USERPTR" = xyes; then : 11495 ac_have_decl=1 11496 else 11497 ac_have_decl=0 11498 fi 11499 11500 cat >>confdefs.h <<_ACEOF 11501 #define HAVE_DECL_V4L2_MEMORY_USERPTR $ac_have_decl 11502 _ACEOF 11503 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_OVERLAY" "ac_cv_have_decl_V4L2_MEMORY_OVERLAY" "#include <sys/time.h> 11504 #include <linux/ioctl.h> 11505 #include <linux/types.h> 11506 #include <linux/videodev2.h> 11507 " 11508 if test "x$ac_cv_have_decl_V4L2_MEMORY_OVERLAY" = 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_V4L2_MEMORY_OVERLAY $ac_have_decl 11516 _ACEOF 11517 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_DMABUF" "ac_cv_have_decl_V4L2_MEMORY_DMABUF" "#include <sys/time.h> 11518 #include <linux/ioctl.h> 11519 #include <linux/types.h> 11520 #include <linux/videodev2.h> 11521 " 11522 if test "x$ac_cv_have_decl_V4L2_MEMORY_DMABUF" = xyes; then : 11523 ac_have_decl=1 11524 else 11525 ac_have_decl=0 11526 fi 11527 11528 cat >>confdefs.h <<_ACEOF 11529 #define HAVE_DECL_V4L2_MEMORY_DMABUF $ac_have_decl 11530 _ACEOF 11531 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SMPTE170M" "ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" "#include <sys/time.h> 11532 #include <linux/ioctl.h> 11533 #include <linux/types.h> 11534 #include <linux/videodev2.h> 11535 " 11536 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" = xyes; then : 11537 ac_have_decl=1 11538 else 11539 ac_have_decl=0 11540 fi 11541 11542 cat >>confdefs.h <<_ACEOF 11543 #define HAVE_DECL_V4L2_COLORSPACE_SMPTE170M $ac_have_decl 11544 _ACEOF 11545 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SMPTE240M" "ac_cv_have_decl_V4L2_COLORSPACE_SMPTE240M" "#include <sys/time.h> 11546 #include <linux/ioctl.h> 11547 #include <linux/types.h> 11548 #include <linux/videodev2.h> 11549 " 11550 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE240M" = xyes; then : 11551 ac_have_decl=1 11552 else 11553 ac_have_decl=0 11554 fi 11555 11556 cat >>confdefs.h <<_ACEOF 11557 #define HAVE_DECL_V4L2_COLORSPACE_SMPTE240M $ac_have_decl 11558 _ACEOF 11559 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_REC709" "ac_cv_have_decl_V4L2_COLORSPACE_REC709" "#include <sys/time.h> 11560 #include <linux/ioctl.h> 11561 #include <linux/types.h> 11562 #include <linux/videodev2.h> 11563 " 11564 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_REC709" = xyes; then : 11565 ac_have_decl=1 11566 else 11567 ac_have_decl=0 11568 fi 11569 11570 cat >>confdefs.h <<_ACEOF 11571 #define HAVE_DECL_V4L2_COLORSPACE_REC709 $ac_have_decl 11572 _ACEOF 11573 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_BT878" "ac_cv_have_decl_V4L2_COLORSPACE_BT878" "#include <sys/time.h> 11574 #include <linux/ioctl.h> 11575 #include <linux/types.h> 11576 #include <linux/videodev2.h> 11577 " 11578 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_BT878" = xyes; then : 11579 ac_have_decl=1 11580 else 11581 ac_have_decl=0 11582 fi 11583 11584 cat >>confdefs.h <<_ACEOF 11585 #define HAVE_DECL_V4L2_COLORSPACE_BT878 $ac_have_decl 11586 _ACEOF 11587 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_470_SYSTEM_M" "ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_M" "#include <sys/time.h> 11588 #include <linux/ioctl.h> 11589 #include <linux/types.h> 11590 #include <linux/videodev2.h> 11591 " 11592 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_M" = 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_V4L2_COLORSPACE_470_SYSTEM_M $ac_have_decl 11600 _ACEOF 11601 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_470_SYSTEM_BG" "ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_BG" "#include <sys/time.h> 11602 #include <linux/ioctl.h> 11603 #include <linux/types.h> 11604 #include <linux/videodev2.h> 11605 " 11606 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_BG" = xyes; then : 11607 ac_have_decl=1 11608 else 11609 ac_have_decl=0 11610 fi 11611 11612 cat >>confdefs.h <<_ACEOF 11613 #define HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_BG $ac_have_decl 11614 _ACEOF 11615 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_JPEG" "ac_cv_have_decl_V4L2_COLORSPACE_JPEG" "#include <sys/time.h> 11616 #include <linux/ioctl.h> 11617 #include <linux/types.h> 11618 #include <linux/videodev2.h> 11619 " 11620 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_JPEG" = xyes; then : 11621 ac_have_decl=1 11622 else 11623 ac_have_decl=0 11624 fi 11625 11626 cat >>confdefs.h <<_ACEOF 11627 #define HAVE_DECL_V4L2_COLORSPACE_JPEG $ac_have_decl 11628 _ACEOF 11629 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SRGB" "ac_cv_have_decl_V4L2_COLORSPACE_SRGB" "#include <sys/time.h> 11630 #include <linux/ioctl.h> 11631 #include <linux/types.h> 11632 #include <linux/videodev2.h> 11633 " 11634 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SRGB" = xyes; then : 11635 ac_have_decl=1 11636 else 11637 ac_have_decl=0 11638 fi 11639 11640 cat >>confdefs.h <<_ACEOF 11641 #define HAVE_DECL_V4L2_COLORSPACE_SRGB $ac_have_decl 11642 _ACEOF 11643 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_UNSET" "ac_cv_have_decl_V4L2_PRIORITY_UNSET" "#include <sys/time.h> 11644 #include <linux/ioctl.h> 11645 #include <linux/types.h> 11646 #include <linux/videodev2.h> 11647 " 11648 if test "x$ac_cv_have_decl_V4L2_PRIORITY_UNSET" = xyes; then : 11649 ac_have_decl=1 11650 else 11651 ac_have_decl=0 11652 fi 11653 11654 cat >>confdefs.h <<_ACEOF 11655 #define HAVE_DECL_V4L2_PRIORITY_UNSET $ac_have_decl 11656 _ACEOF 11657 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_BACKGROUND" "ac_cv_have_decl_V4L2_PRIORITY_BACKGROUND" "#include <sys/time.h> 11658 #include <linux/ioctl.h> 11659 #include <linux/types.h> 11660 #include <linux/videodev2.h> 11661 " 11662 if test "x$ac_cv_have_decl_V4L2_PRIORITY_BACKGROUND" = xyes; then : 11663 ac_have_decl=1 11664 else 11665 ac_have_decl=0 11666 fi 11667 11668 cat >>confdefs.h <<_ACEOF 11669 #define HAVE_DECL_V4L2_PRIORITY_BACKGROUND $ac_have_decl 11670 _ACEOF 11671 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_INTERACTIVE" "ac_cv_have_decl_V4L2_PRIORITY_INTERACTIVE" "#include <sys/time.h> 11672 #include <linux/ioctl.h> 11673 #include <linux/types.h> 11674 #include <linux/videodev2.h> 11675 " 11676 if test "x$ac_cv_have_decl_V4L2_PRIORITY_INTERACTIVE" = 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_V4L2_PRIORITY_INTERACTIVE $ac_have_decl 11684 _ACEOF 11685 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_RECORD" "ac_cv_have_decl_V4L2_PRIORITY_RECORD" "#include <sys/time.h> 11686 #include <linux/ioctl.h> 11687 #include <linux/types.h> 11688 #include <linux/videodev2.h> 11689 " 11690 if test "x$ac_cv_have_decl_V4L2_PRIORITY_RECORD" = xyes; then : 11691 ac_have_decl=1 11692 else 11693 ac_have_decl=0 11694 fi 11695 11696 cat >>confdefs.h <<_ACEOF 11697 #define HAVE_DECL_V4L2_PRIORITY_RECORD $ac_have_decl 11698 _ACEOF 11699 ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_DISCRETE" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_DISCRETE" "#include <sys/time.h> 11700 #include <linux/ioctl.h> 11701 #include <linux/types.h> 11702 #include <linux/videodev2.h> 11703 " 11704 if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_DISCRETE" = xyes; then : 11705 ac_have_decl=1 11706 else 11707 ac_have_decl=0 11708 fi 11709 11710 cat >>confdefs.h <<_ACEOF 11711 #define HAVE_DECL_V4L2_FRMSIZE_TYPE_DISCRETE $ac_have_decl 11712 _ACEOF 11713 ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_CONTINUOUS" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_CONTINUOUS" "#include <sys/time.h> 11714 #include <linux/ioctl.h> 11715 #include <linux/types.h> 11716 #include <linux/videodev2.h> 11717 " 11718 if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_CONTINUOUS" = xyes; then : 11719 ac_have_decl=1 11720 else 11721 ac_have_decl=0 11722 fi 11723 11724 cat >>confdefs.h <<_ACEOF 11725 #define HAVE_DECL_V4L2_FRMSIZE_TYPE_CONTINUOUS $ac_have_decl 11726 _ACEOF 11727 ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_STEPWISE" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_STEPWISE" "#include <sys/time.h> 11728 #include <linux/ioctl.h> 11729 #include <linux/types.h> 11730 #include <linux/videodev2.h> 11731 " 11732 if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_STEPWISE" = xyes; then : 11733 ac_have_decl=1 11734 else 11735 ac_have_decl=0 11736 fi 11737 11738 cat >>confdefs.h <<_ACEOF 11739 #define HAVE_DECL_V4L2_FRMSIZE_TYPE_STEPWISE $ac_have_decl 11740 _ACEOF 11741 ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_DISCRETE" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_DISCRETE" "#include <sys/time.h> 11742 #include <linux/ioctl.h> 11743 #include <linux/types.h> 11744 #include <linux/videodev2.h> 11745 " 11746 if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_DISCRETE" = xyes; then : 11747 ac_have_decl=1 11748 else 11749 ac_have_decl=0 11750 fi 11751 11752 cat >>confdefs.h <<_ACEOF 11753 #define HAVE_DECL_V4L2_FRMIVAL_TYPE_DISCRETE $ac_have_decl 11754 _ACEOF 11755 ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_CONTINUOUS" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_CONTINUOUS" "#include <sys/time.h> 11756 #include <linux/ioctl.h> 11757 #include <linux/types.h> 11758 #include <linux/videodev2.h> 11759 " 11760 if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_CONTINUOUS" = 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_V4L2_FRMIVAL_TYPE_CONTINUOUS $ac_have_decl 11768 _ACEOF 11769 ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_STEPWISE" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_STEPWISE" "#include <sys/time.h> 11770 #include <linux/ioctl.h> 11771 #include <linux/types.h> 11772 #include <linux/videodev2.h> 11773 " 11774 if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_STEPWISE" = xyes; then : 11775 ac_have_decl=1 11776 else 11777 ac_have_decl=0 11778 fi 11779 11780 cat >>confdefs.h <<_ACEOF 11781 #define HAVE_DECL_V4L2_FRMIVAL_TYPE_STEPWISE $ac_have_decl 11782 _ACEOF 11783 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER" "#include <sys/time.h> 11784 #include <linux/ioctl.h> 11785 #include <linux/types.h> 11786 #include <linux/videodev2.h> 11787 " 11788 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER" = xyes; then : 11789 ac_have_decl=1 11790 else 11791 ac_have_decl=0 11792 fi 11793 11794 cat >>confdefs.h <<_ACEOF 11795 #define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER $ac_have_decl 11796 _ACEOF 11797 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BOOLEAN" "ac_cv_have_decl_V4L2_CTRL_TYPE_BOOLEAN" "#include <sys/time.h> 11798 #include <linux/ioctl.h> 11799 #include <linux/types.h> 11800 #include <linux/videodev2.h> 11801 " 11802 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BOOLEAN" = xyes; then : 11803 ac_have_decl=1 11804 else 11805 ac_have_decl=0 11806 fi 11807 11808 cat >>confdefs.h <<_ACEOF 11809 #define HAVE_DECL_V4L2_CTRL_TYPE_BOOLEAN $ac_have_decl 11810 _ACEOF 11811 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_MENU" "ac_cv_have_decl_V4L2_CTRL_TYPE_MENU" "#include <sys/time.h> 11812 #include <linux/ioctl.h> 11813 #include <linux/types.h> 11814 #include <linux/videodev2.h> 11815 " 11816 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_MENU" = xyes; then : 11817 ac_have_decl=1 11818 else 11819 ac_have_decl=0 11820 fi 11821 11822 cat >>confdefs.h <<_ACEOF 11823 #define HAVE_DECL_V4L2_CTRL_TYPE_MENU $ac_have_decl 11824 _ACEOF 11825 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BUTTON" "ac_cv_have_decl_V4L2_CTRL_TYPE_BUTTON" "#include <sys/time.h> 11826 #include <linux/ioctl.h> 11827 #include <linux/types.h> 11828 #include <linux/videodev2.h> 11829 " 11830 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BUTTON" = xyes; then : 11831 ac_have_decl=1 11832 else 11833 ac_have_decl=0 11834 fi 11835 11836 cat >>confdefs.h <<_ACEOF 11837 #define HAVE_DECL_V4L2_CTRL_TYPE_BUTTON $ac_have_decl 11838 _ACEOF 11839 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER64" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER64" "#include <sys/time.h> 11840 #include <linux/ioctl.h> 11841 #include <linux/types.h> 11842 #include <linux/videodev2.h> 11843 " 11844 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER64" = 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_V4L2_CTRL_TYPE_INTEGER64 $ac_have_decl 11852 _ACEOF 11853 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_CTRL_CLASS" "ac_cv_have_decl_V4L2_CTRL_TYPE_CTRL_CLASS" "#include <sys/time.h> 11854 #include <linux/ioctl.h> 11855 #include <linux/types.h> 11856 #include <linux/videodev2.h> 11857 " 11858 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_CTRL_CLASS" = xyes; then : 11859 ac_have_decl=1 11860 else 11861 ac_have_decl=0 11862 fi 11863 11864 cat >>confdefs.h <<_ACEOF 11865 #define HAVE_DECL_V4L2_CTRL_TYPE_CTRL_CLASS $ac_have_decl 11866 _ACEOF 11867 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_STRING" "ac_cv_have_decl_V4L2_CTRL_TYPE_STRING" "#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_CTRL_TYPE_STRING" = 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_CTRL_TYPE_STRING $ac_have_decl 11880 _ACEOF 11881 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BITMASK" "ac_cv_have_decl_V4L2_CTRL_TYPE_BITMASK" "#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_CTRL_TYPE_BITMASK" = 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_CTRL_TYPE_BITMASK $ac_have_decl 11894 _ACEOF 11895 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER_MENU" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER_MENU" "#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_CTRL_TYPE_INTEGER_MENU" = 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_CTRL_TYPE_INTEGER_MENU $ac_have_decl 11908 _ACEOF 11909 11910 11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLKGETSIZE64" >&5 11912 $as_echo_n "checking for BLKGETSIZE64... " >&6; } 11913 if ${ac_cv_have_blkgetsize64+:} false; then : 11914 $as_echo_n "(cached) " >&6 11915 else 11916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11917 /* end confdefs.h. */ 11918 11919 #include <stdlib.h> 11920 #include <linux/fs.h> 11921 int 11922 main () 11923 { 11924 return !BLKGETSIZE64; 11925 ; 11926 return 0; 11927 } 11928 _ACEOF 11929 if ac_fn_c_try_compile "$LINENO"; then : 11930 ac_cv_have_blkgetsize64=yes 11931 else 11932 ac_cv_have_blkgetsize64=no 11933 fi 11934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11935 if test $ac_cv_have_blkgetsize64 = yes; then 11936 11937 $as_echo "#define HAVE_BLKGETSIZE64 1" >>confdefs.h 11938 11939 fi 11940 fi 11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_blkgetsize64" >&5 11942 $as_echo "$ac_cv_have_blkgetsize64" >&6; } 11943 11944 # The cast to long int works around a bug in the HP C Compiler 11945 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 11946 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 11947 # This bug is HP SR number 8606223364. 11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 11949 $as_echo_n "checking size of long... " >&6; } 11950 if ${ac_cv_sizeof_long+:} false; then : 11951 $as_echo_n "(cached) " >&6 11952 else 11953 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 11954 11955 else 11956 if test "$ac_cv_type_long" = yes; then 11957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11959 as_fn_error 77 "cannot compute sizeof (long) 11960 See \`config.log' for more details" "$LINENO" 5; } 11961 else 11962 ac_cv_sizeof_long=0 11963 fi 11964 fi 11965 11966 fi 11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 11968 $as_echo "$ac_cv_sizeof_long" >&6; } 11969 11970 11971 11972 cat >>confdefs.h <<_ACEOF 11973 #define SIZEOF_LONG $ac_cv_sizeof_long 11974 _ACEOF 11975 11976 11977 # The cast to long int works around a bug in the HP C Compiler 11978 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 11979 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 11980 # This bug is HP SR number 8606223364. 11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 11982 $as_echo_n "checking size of long long... " >&6; } 11983 if ${ac_cv_sizeof_long_long+:} false; then : 11984 $as_echo_n "(cached) " >&6 11985 else 11986 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 11987 11988 else 11989 if test "$ac_cv_type_long_long" = yes; then 11990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11992 as_fn_error 77 "cannot compute sizeof (long long) 11993 See \`config.log' for more details" "$LINENO" 5; } 11994 else 11995 ac_cv_sizeof_long_long=0 11996 fi 11997 fi 11998 11999 fi 12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 12001 $as_echo "$ac_cv_sizeof_long_long" >&6; } 12002 12003 12004 12005 cat >>confdefs.h <<_ACEOF 12006 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long 12007 _ACEOF 12008 12009 12010 # The cast to long int works around a bug in the HP C Compiler 12011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12013 # This bug is HP SR number 8606223364. 12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 12015 $as_echo_n "checking size of off_t... " >&6; } 12016 if ${ac_cv_sizeof_off_t+:} false; then : 12017 $as_echo_n "(cached) " >&6 12018 else 12019 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "#include <sys/types.h> 12020 "; then : 12021 12022 else 12023 if test "$ac_cv_type_off_t" = yes; then 12024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12026 as_fn_error 77 "cannot compute sizeof (off_t) 12027 See \`config.log' for more details" "$LINENO" 5; } 12028 else 12029 ac_cv_sizeof_off_t=0 12030 fi 12031 fi 12032 12033 fi 12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 12035 $as_echo "$ac_cv_sizeof_off_t" >&6; } 12036 12037 12038 12039 cat >>confdefs.h <<_ACEOF 12040 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t 12041 _ACEOF 12042 12043 12044 # The cast to long int works around a bug in the HP C Compiler 12045 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12046 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12047 # This bug is HP SR number 8606223364. 12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of kernel_long_t" >&5 12049 $as_echo_n "checking size of kernel_long_t... " >&6; } 12050 if ${ac_cv_sizeof_kernel_long_t+:} false; then : 12051 $as_echo_n "(cached) " >&6 12052 else 12053 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (kernel_long_t))" "ac_cv_sizeof_kernel_long_t" "#include \"$srcdir/kernel_types.h\" 12054 "; then : 12055 12056 else 12057 if test "$ac_cv_type_kernel_long_t" = yes; then 12058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12060 as_fn_error 77 "cannot compute sizeof (kernel_long_t) 12061 See \`config.log' for more details" "$LINENO" 5; } 12062 else 12063 ac_cv_sizeof_kernel_long_t=0 12064 fi 12065 fi 12066 12067 fi 12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_kernel_long_t" >&5 12069 $as_echo "$ac_cv_sizeof_kernel_long_t" >&6; } 12070 12071 12072 12073 cat >>confdefs.h <<_ACEOF 12074 #define SIZEOF_KERNEL_LONG_T $ac_cv_sizeof_kernel_long_t 12075 _ACEOF 12076 12077 12078 # The cast to long int works around a bug in the HP C Compiler 12079 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12080 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12081 # This bug is HP SR number 8606223364. 12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct i64_i32" >&5 12083 $as_echo_n "checking size of struct i64_i32... " >&6; } 12084 if ${ac_cv_sizeof_struct_i64_i32+:} false; then : 12085 $as_echo_n "(cached) " >&6 12086 else 12087 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;}; 12088 "; then : 12089 12090 else 12091 if test "$ac_cv_type_struct_i64_i32" = yes; then 12092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12094 as_fn_error 77 "cannot compute sizeof (struct i64_i32) 12095 See \`config.log' for more details" "$LINENO" 5; } 12096 else 12097 ac_cv_sizeof_struct_i64_i32=0 12098 fi 12099 fi 12100 12101 fi 12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_i64_i32" >&5 12103 $as_echo "$ac_cv_sizeof_struct_i64_i32" >&6; } 12104 12105 12106 12107 cat >>confdefs.h <<_ACEOF 12108 #define SIZEOF_STRUCT_I64_I32 $ac_cv_sizeof_struct_i64_i32 12109 _ACEOF 12110 12111 12112 12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGRTMIN" >&5 12114 $as_echo_n "checking for SIGRTMIN... " >&6; } 12115 if ${st_cv_SIGRTMIN+:} false; then : 12116 $as_echo_n "(cached) " >&6 12117 else 12118 st_cv_SIGRTMIN="$(echo SIGRTMIN | 12119 $CPP $CPPFLAGS -P -imacros asm/signal.h - | 12120 grep '^[0-9]')" 12121 test -n "$st_cv_SIGRTMIN" || st_cv_SIGRTMIN=no 12122 fi 12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_SIGRTMIN" >&5 12124 $as_echo "$st_cv_SIGRTMIN" >&6; } 12125 if test "x$st_cv_SIGRTMIN" != xno; then 12126 12127 cat >>confdefs.h <<_ACEOF 12128 #define ASM_SIGRTMIN $st_cv_SIGRTMIN 12129 _ACEOF 12130 12131 fi 12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SA_RESTORER" >&5 12133 $as_echo_n "checking for SA_RESTORER... " >&6; } 12134 if ${st_cv_SA_RESTORER+:} false; then : 12135 $as_echo_n "(cached) " >&6 12136 else 12137 st_cv_SA_RESTORER="$(echo SA_RESTORER | 12138 $CPP $CPPFLAGS -P -imacros asm/signal.h - | 12139 grep ^0x)" 12140 test -n "$st_cv_SA_RESTORER" || st_cv_SA_RESTORER=no 12141 fi 12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_SA_RESTORER" >&5 12143 $as_echo "$st_cv_SA_RESTORER" >&6; } 12144 if test "x$st_cv_SA_RESTORER" != xno; then 12145 12146 cat >>confdefs.h <<_ACEOF 12147 #define ASM_SA_RESTORER $st_cv_SA_RESTORER 12148 _ACEOF 12149 12150 fi 12151 12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5 12153 $as_echo_n "checking for __builtin_popcount... " >&6; } 12154 if ${st_cv_have___builtin_popcount+:} false; then : 12155 $as_echo_n "(cached) " >&6 12156 else 12157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12158 /* end confdefs.h. */ 12159 12160 int 12161 main () 12162 { 12163 __builtin_popcount(0) 12164 ; 12165 return 0; 12166 } 12167 _ACEOF 12168 if ac_fn_c_try_link "$LINENO"; then : 12169 st_cv_have___builtin_popcount=yes 12170 else 12171 st_cv_have___builtin_popcount=no 12172 fi 12173 rm -f core conftest.err conftest.$ac_objext \ 12174 conftest$ac_exeext conftest.$ac_ext 12175 fi 12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have___builtin_popcount" >&5 12177 $as_echo "$st_cv_have___builtin_popcount" >&6; } 12178 if test "x$st_cv_have___builtin_popcount" = xyes; then 12179 12180 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h 12181 12182 fi 12183 12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5 12185 $as_echo_n "checking for dladdr in -ldl... " >&6; } 12186 if ${ac_cv_lib_dl_dladdr+:} false; then : 12187 $as_echo_n "(cached) " >&6 12188 else 12189 ac_check_lib_save_LIBS=$LIBS 12190 LIBS="-ldl $LIBS" 12191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12192 /* end confdefs.h. */ 12193 12194 /* Override any GCC internal prototype to avoid an error. 12195 Use char because int might match the return type of a GCC 12196 builtin and then its argument prototype would still apply. */ 12197 #ifdef __cplusplus 12198 extern "C" 12199 #endif 12200 char dladdr (); 12201 int 12202 main () 12203 { 12204 return dladdr (); 12205 ; 12206 return 0; 12207 } 12208 _ACEOF 12209 if ac_fn_c_try_link "$LINENO"; then : 12210 ac_cv_lib_dl_dladdr=yes 12211 else 12212 ac_cv_lib_dl_dladdr=no 12213 fi 12214 rm -f core conftest.err conftest.$ac_objext \ 12215 conftest$ac_exeext conftest.$ac_ext 12216 LIBS=$ac_check_lib_save_LIBS 12217 fi 12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5 12219 $as_echo "$ac_cv_lib_dl_dladdr" >&6; } 12220 if test "x$ac_cv_lib_dl_dladdr" = xyes; then : 12221 dl_LIBS='-ldl' 12222 else 12223 dl_LIBS= 12224 fi 12225 12226 if test "x$ac_cv_lib_dl_dladdr" = xyes; then 12227 12228 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h 12229 12230 fi 12231 12232 12233 # Extract the first word of "perl", so it can be a program name with args. 12234 set dummy perl; ac_word=$2 12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12236 $as_echo_n "checking for $ac_word... " >&6; } 12237 if ${ac_cv_path_PERL+:} false; then : 12238 $as_echo_n "(cached) " >&6 12239 else 12240 case $PERL in 12241 [\\/]* | ?:[\\/]*) 12242 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 12243 ;; 12244 *) 12245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12246 for as_dir in $PATH 12247 do 12248 IFS=$as_save_IFS 12249 test -z "$as_dir" && as_dir=. 12250 for ac_exec_ext in '' $ac_executable_extensions; do 12251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12252 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12254 break 2 12255 fi 12256 done 12257 done 12258 IFS=$as_save_IFS 12259 12260 ;; 12261 esac 12262 fi 12263 PERL=$ac_cv_path_PERL 12264 if test -n "$PERL"; then 12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 12266 $as_echo "$PERL" >&6; } 12267 else 12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12269 $as_echo "no" >&6; } 12270 fi 12271 12272 12273 12274 libunwind_CPPFLAGS= 12275 libunwind_LDFLAGS= 12276 libunwind_LIBS= 12277 12278 # Check whether --with-libunwind was given. 12279 if test "${with_libunwind+set}" = set; then : 12280 withval=$with_libunwind; case "${withval}" in 12281 yes|no|check) ;; 12282 *) with_libunwind=yes 12283 libunwind_CPPFLAGS="-I${withval}/include" 12284 libunwind_LDFLAGS="-L${withval}/lib" ;; 12285 esac 12286 else 12287 with_libunwind=check 12288 12289 fi 12290 12291 12292 use_libunwind=no 12293 if test "x$with_libunwind" != xno; then : 12294 saved_CPPFLAGS="$CPPFLAGS" 12295 CPPFLAGS="$CPPFLAGS $libunwind_CPPFLAGS" 12296 12297 for ac_header in libunwind-ptrace.h 12298 do : 12299 ac_fn_c_check_header_mongrel "$LINENO" "libunwind-ptrace.h" "ac_cv_header_libunwind_ptrace_h" "$ac_includes_default" 12300 if test "x$ac_cv_header_libunwind_ptrace_h" = xyes; then : 12301 cat >>confdefs.h <<_ACEOF 12302 #define HAVE_LIBUNWIND_PTRACE_H 1 12303 _ACEOF 12304 saved_LDFLAGS="$LDFLAGS" 12305 LDFLAGS="$LDFLAGS $libunwind_LDFLAGS" 12306 12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lunwind" >&5 12308 $as_echo_n "checking for backtrace in -lunwind... " >&6; } 12309 if ${ac_cv_lib_unwind_backtrace+:} false; then : 12310 $as_echo_n "(cached) " >&6 12311 else 12312 ac_check_lib_save_LIBS=$LIBS 12313 LIBS="-lunwind $libunwind_LIBS 12314 $LIBS" 12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12316 /* end confdefs.h. */ 12317 12318 /* Override any GCC internal prototype to avoid an error. 12319 Use char because int might match the return type of a GCC 12320 builtin and then its argument prototype would still apply. */ 12321 #ifdef __cplusplus 12322 extern "C" 12323 #endif 12324 char backtrace (); 12325 int 12326 main () 12327 { 12328 return backtrace (); 12329 ; 12330 return 0; 12331 } 12332 _ACEOF 12333 if ac_fn_c_try_link "$LINENO"; then : 12334 ac_cv_lib_unwind_backtrace=yes 12335 else 12336 ac_cv_lib_unwind_backtrace=no 12337 fi 12338 rm -f core conftest.err conftest.$ac_objext \ 12339 conftest$ac_exeext conftest.$ac_ext 12340 LIBS=$ac_check_lib_save_LIBS 12341 fi 12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_backtrace" >&5 12343 $as_echo "$ac_cv_lib_unwind_backtrace" >&6; } 12344 if test "x$ac_cv_lib_unwind_backtrace" = xyes; then : 12345 libunwind_LIBS="-lunwind $libunwind_LIBS" 12346 12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_create_addr_space in libunwind-generic" >&5 12348 $as_echo_n "checking for unw_create_addr_space in libunwind-generic... " >&6; } 12349 saved_LIBS="$LIBS" 12350 LIBS="-lunwind-generic $libunwind_LIBS $LIBS" 12351 12352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12353 /* end confdefs.h. */ 12354 #include <libunwind-ptrace.h> 12355 int 12356 main () 12357 { 12358 return !unw_create_addr_space(0, 0) 12359 ; 12360 return 0; 12361 } 12362 12363 _ACEOF 12364 if ac_fn_c_try_link "$LINENO"; then : 12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12366 $as_echo "yes" >&6; } 12367 libunwind_LIBS="-lunwind-generic $libunwind_LIBS" 12368 12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _UPT_create in -lunwind-ptrace" >&5 12370 $as_echo_n "checking for _UPT_create in -lunwind-ptrace... " >&6; } 12371 if ${ac_cv_lib_unwind_ptrace__UPT_create+:} false; then : 12372 $as_echo_n "(cached) " >&6 12373 else 12374 ac_check_lib_save_LIBS=$LIBS 12375 LIBS="-lunwind-ptrace $libunwind_LIBS 12376 $LIBS" 12377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12378 /* end confdefs.h. */ 12379 12380 /* Override any GCC internal prototype to avoid an error. 12381 Use char because int might match the return type of a GCC 12382 builtin and then its argument prototype would still apply. */ 12383 #ifdef __cplusplus 12384 extern "C" 12385 #endif 12386 char _UPT_create (); 12387 int 12388 main () 12389 { 12390 return _UPT_create (); 12391 ; 12392 return 0; 12393 } 12394 _ACEOF 12395 if ac_fn_c_try_link "$LINENO"; then : 12396 ac_cv_lib_unwind_ptrace__UPT_create=yes 12397 else 12398 ac_cv_lib_unwind_ptrace__UPT_create=no 12399 fi 12400 rm -f core conftest.err conftest.$ac_objext \ 12401 conftest$ac_exeext conftest.$ac_ext 12402 LIBS=$ac_check_lib_save_LIBS 12403 fi 12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_ptrace__UPT_create" >&5 12405 $as_echo "$ac_cv_lib_unwind_ptrace__UPT_create" >&6; } 12406 if test "x$ac_cv_lib_unwind_ptrace__UPT_create" = xyes; then : 12407 libunwind_LIBS="-lunwind-ptrace $libunwind_LIBS" 12408 use_libunwind=yes 12409 12410 else 12411 if test "x$with_libunwind" != xcheck; then 12412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12414 as_fn_error $? "failed to find _UPT_create in libunwind-ptrace 12415 See \`config.log' for more details" "$LINENO" 5; } 12416 fi 12417 12418 fi 12419 12420 12421 else 12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12423 $as_echo "no" >&6; } 12424 if test "x$with_libunwind" != xcheck; then 12425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12427 as_fn_error $? "failed to find unw_create_addr_space in libunwind-generic 12428 See \`config.log' for more details" "$LINENO" 5; } 12429 fi 12430 12431 12432 fi 12433 rm -f core conftest.err conftest.$ac_objext \ 12434 conftest$ac_exeext conftest.$ac_ext 12435 12436 LIBS="$saved_LIBS" 12437 12438 else 12439 if test "x$with_libunwind" != xcheck; then 12440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12442 as_fn_error $? "failed to find libunwind 12443 See \`config.log' for more details" "$LINENO" 5; } 12444 fi 12445 12446 fi 12447 12448 12449 LDFLAGS="$saved_LDFLAGS" 12450 12451 else 12452 if test "x$with_libunwind" != xcheck; then 12453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12455 as_fn_error $? "failed to find libunwind-ptrace.h 12456 See \`config.log' for more details" "$LINENO" 5; } 12457 fi 12458 12459 12460 fi 12461 12462 done 12463 12464 12465 CPPFLAGS="$saved_CPPFLAGS" 12466 12467 12468 fi 12469 12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable stack tracing support using libunwind" >&5 12471 $as_echo_n "checking whether to enable stack tracing support using libunwind... " >&6; } 12472 if test "x$use_libunwind" = xyes; then 12473 12474 $as_echo "#define USE_LIBUNWIND 1" >>confdefs.h 12475 12476 12477 12478 12479 fi 12480 if test "x$use_libunwind" = xyes; then 12481 USE_LIBUNWIND_TRUE= 12482 USE_LIBUNWIND_FALSE='#' 12483 else 12484 USE_LIBUNWIND_TRUE='#' 12485 USE_LIBUNWIND_FALSE= 12486 fi 12487 12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_libunwind" >&5 12489 $as_echo "$use_libunwind" >&6; } 12490 12491 if test "$arch" = mips && test "$no_create" != yes; then 12492 mkdir -p linux/mips 12493 if $srcdir/linux/mips/genstub.sh linux/mips; then 12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Generated MIPS syscallent stubs" >&5 12495 $as_echo "Generated MIPS syscallent stubs" >&6; } 12496 else 12497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12499 as_fn_error $? "Failed to generate syscallent stubs 12500 See \`config.log' for more details" "$LINENO" 5; } 12501 fi 12502 fi 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 case "$arch" in 12516 aarch64|powerpc64|sparc64|tile|x32|x86_64) 12517 12518 12519 12520 for ac_header in gnu/stubs-32.h 12521 do : 12522 ac_fn_c_check_header_mongrel "$LINENO" "gnu/stubs-32.h" "ac_cv_header_gnu_stubs_32_h" "$ac_includes_default" 12523 if test "x$ac_cv_header_gnu_stubs_32_h" = xyes; then : 12524 cat >>confdefs.h <<_ACEOF 12525 #define HAVE_GNU_STUBS_32_H 1 12526 _ACEOF 12527 IFLAG= 12528 else 12529 mkdir -p gnu 12530 : > gnu/stubs-32.h 12531 { $as_echo "$as_me:${as_lineno-$LINENO}: Created empty gnu/stubs-32.h" >&5 12532 $as_echo "$as_me: Created empty gnu/stubs-32.h" >&6;} 12533 IFLAG=-I. 12534 fi 12535 12536 done 12537 12538 12539 saved_CFLAGS="$CFLAGS" 12540 CFLAGS="$CFLAGS -m32 $IFLAG" 12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -m32 compile support" >&5 12542 $as_echo_n "checking for -m32 compile support... " >&6; } 12543 if ${st_cv_m32_cc+:} false; then : 12544 $as_echo_n "(cached) " >&6 12545 else 12546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12547 /* end confdefs.h. */ 12548 #include <stdint.h> 12549 int main(){return 0;} 12550 _ACEOF 12551 if ac_fn_c_try_compile "$LINENO"; then : 12552 st_cv_m32_cc=yes 12553 else 12554 st_cv_m32_cc=no 12555 fi 12556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12557 fi 12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_cc" >&5 12559 $as_echo "$st_cv_m32_cc" >&6; } 12560 if test $st_cv_m32_cc = yes; then 12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -m32 runtime support" >&5 12562 $as_echo_n "checking for -m32 runtime support... " >&6; } 12563 if ${st_cv_m32_runtime+:} false; then : 12564 $as_echo_n "(cached) " >&6 12565 else 12566 if test "$cross_compiling" = yes; then : 12567 st_cv_m32_runtime=no 12568 else 12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12570 /* end confdefs.h. */ 12571 #include <stdint.h> 12572 int main(){return 0;} 12573 _ACEOF 12574 if ac_fn_c_try_run "$LINENO"; then : 12575 st_cv_m32_runtime=yes 12576 else 12577 st_cv_m32_runtime=no 12578 fi 12579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12580 conftest.$ac_objext conftest.beam conftest.$ac_ext 12581 fi 12582 12583 fi 12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_runtime" >&5 12585 $as_echo "$st_cv_m32_runtime" >&6; } 12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mpers.sh -m32 works" >&5 12587 $as_echo_n "checking whether mpers.sh -m32 works... " >&6; } 12588 if ${st_cv_m32_mpers+:} false; then : 12589 $as_echo_n "(cached) " >&6 12590 else 12591 if CC="$CC" CPP="$CPP" CPPFLAGS="$CPPFLAGS" \ 12592 $srcdir/mpers_test.sh m32; then 12593 st_cv_m32_mpers=yes 12594 else 12595 st_cv_m32_mpers=no 12596 fi 12597 fi 12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_mpers" >&5 12599 $as_echo "$st_cv_m32_mpers" >&6; } 12600 if test $st_cv_m32_mpers = yes; then 12601 12602 $as_echo "#define HAVE_M32_MPERS 1" >>confdefs.h 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 if test -n "${ac_cv_type_struct_stat+set}"; then : 12613 saved_ac_cv_type_struct_stat="${ac_cv_type_struct_stat}"; unset ac_cv_type_struct_stat 12614 fi 12615 if test -n "${ac_cv_m32_type_struct_stat+set}"; then : 12616 ac_cv_type_struct_stat="${ac_cv_m32_type_struct_stat}" 12617 fi 12618 12619 12620 12621 12622 12623 12624 ac_fn_c_check_type "$LINENO" "struct stat" "ac_cv_type_struct_stat" "#include <sys/types.h> 12625 #include <asm/stat.h> 12626 " 12627 if test "x$ac_cv_type_struct_stat" = xyes; then : 12628 12629 $as_echo "#define HAVE_M32_STRUCT_STAT 1" >>confdefs.h 12630 12631 fi 12632 12633 12634 12635 12636 12637 12638 12639 if test -n "${ac_cv_type_struct_stat+set}"; then : 12640 ac_cv_m32_type_struct_stat="${ac_cv_type_struct_stat}" 12641 fi 12642 if test -n "${saved_ac_cv_type_struct_stat+set}"; then : 12643 ac_cv_type_struct_stat="${saved_ac_cv_type_struct_stat}"; unset saved_ac_cv_type_struct_stat 12644 fi 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 12659 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 12660 fi 12661 if test -n "${ac_cv_m32_member_struct_stat_st_mtime_nsec+set}"; then : 12662 ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_m32_member_struct_stat_st_mtime_nsec}" 12663 fi 12664 12665 12666 12667 12668 12669 12670 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h> 12671 #include <asm/stat.h> 12672 " 12673 if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 12674 12675 $as_echo "#define HAVE_M32_STRUCT_STAT_ST_MTIME_NSEC 1" >>confdefs.h 12676 12677 fi 12678 12679 12680 12681 12682 12683 12684 12685 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 12686 ac_cv_m32_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}" 12687 fi 12688 if test -n "${saved_ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 12689 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 12690 fi 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 if test -n "${ac_cv_type_struct_stat64+set}"; then : 12708 saved_ac_cv_type_struct_stat64="${ac_cv_type_struct_stat64}"; unset ac_cv_type_struct_stat64 12709 fi 12710 if test -n "${ac_cv_m32_type_struct_stat64+set}"; then : 12711 ac_cv_type_struct_stat64="${ac_cv_m32_type_struct_stat64}" 12712 fi 12713 12714 12715 12716 12717 12718 12719 ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 12720 #include <asm/stat.h> 12721 " 12722 if test "x$ac_cv_type_struct_stat64" = xyes; then : 12723 12724 $as_echo "#define HAVE_M32_STRUCT_STAT64 1" >>confdefs.h 12725 12726 fi 12727 12728 12729 12730 12731 12732 12733 12734 if test -n "${ac_cv_type_struct_stat64+set}"; then : 12735 ac_cv_m32_type_struct_stat64="${ac_cv_type_struct_stat64}" 12736 fi 12737 if test -n "${saved_ac_cv_type_struct_stat64+set}"; then : 12738 ac_cv_type_struct_stat64="${saved_ac_cv_type_struct_stat64}"; unset saved_ac_cv_type_struct_stat64 12739 fi 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 12754 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 12755 fi 12756 if test -n "${ac_cv_m32_member_struct_stat64_st_mtime_nsec+set}"; then : 12757 ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_m32_member_struct_stat64_st_mtime_nsec}" 12758 fi 12759 12760 12761 12762 12763 12764 12765 ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h> 12766 #include <asm/stat.h> 12767 " 12768 if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 12769 12770 $as_echo "#define HAVE_M32_STRUCT_STAT64_ST_MTIME_NSEC 1" >>confdefs.h 12771 12772 fi 12773 12774 12775 12776 12777 12778 12779 12780 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 12781 ac_cv_m32_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}" 12782 fi 12783 if test -n "${saved_ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 12784 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 12785 fi 12786 12787 12788 12789 12790 12791 12792 12793 12794 fi 12795 fi 12796 CFLAGS="$saved_CFLAGS" 12797 ;; 12798 12799 *) 12800 st_cv_m32_runtime=no 12801 st_cv_m32_mpers=no 12802 ;; 12803 esac 12804 12805 if test "$st_cv_m32_mpers$st_cv_m32_runtime" = yesyes; then 12806 HAVE_M32_RUNTIME_TRUE= 12807 HAVE_M32_RUNTIME_FALSE='#' 12808 else 12809 HAVE_M32_RUNTIME_TRUE='#' 12810 HAVE_M32_RUNTIME_FALSE= 12811 fi 12812 12813 if test "$st_cv_m32_mpers" = yes; then 12814 HAVE_M32_MPERS_TRUE= 12815 HAVE_M32_MPERS_FALSE='#' 12816 else 12817 HAVE_M32_MPERS_TRUE='#' 12818 HAVE_M32_MPERS_FALSE= 12819 fi 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 case "$arch" in 12844 x86_64) 12845 12846 12847 12848 for ac_header in gnu/stubs-x32.h 12849 do : 12850 ac_fn_c_check_header_mongrel "$LINENO" "gnu/stubs-x32.h" "ac_cv_header_gnu_stubs_x32_h" "$ac_includes_default" 12851 if test "x$ac_cv_header_gnu_stubs_x32_h" = xyes; then : 12852 cat >>confdefs.h <<_ACEOF 12853 #define HAVE_GNU_STUBS_X32_H 1 12854 _ACEOF 12855 IFLAG= 12856 else 12857 mkdir -p gnu 12858 : > gnu/stubs-x32.h 12859 { $as_echo "$as_me:${as_lineno-$LINENO}: Created empty gnu/stubs-x32.h" >&5 12860 $as_echo "$as_me: Created empty gnu/stubs-x32.h" >&6;} 12861 IFLAG=-I. 12862 fi 12863 12864 done 12865 12866 12867 saved_CFLAGS="$CFLAGS" 12868 CFLAGS="$CFLAGS -mx32 $IFLAG" 12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mx32 compile support" >&5 12870 $as_echo_n "checking for -mx32 compile support... " >&6; } 12871 if ${st_cv_mx32_cc+:} false; then : 12872 $as_echo_n "(cached) " >&6 12873 else 12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12875 /* end confdefs.h. */ 12876 #include <stdint.h> 12877 int main(){return 0;} 12878 _ACEOF 12879 if ac_fn_c_try_compile "$LINENO"; then : 12880 st_cv_mx32_cc=yes 12881 else 12882 st_cv_mx32_cc=no 12883 fi 12884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12885 fi 12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_cc" >&5 12887 $as_echo "$st_cv_mx32_cc" >&6; } 12888 if test $st_cv_mx32_cc = yes; then 12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mx32 runtime support" >&5 12890 $as_echo_n "checking for -mx32 runtime support... " >&6; } 12891 if ${st_cv_mx32_runtime+:} false; then : 12892 $as_echo_n "(cached) " >&6 12893 else 12894 if test "$cross_compiling" = yes; then : 12895 st_cv_mx32_runtime=no 12896 else 12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12898 /* end confdefs.h. */ 12899 #include <stdint.h> 12900 int main(){return 0;} 12901 _ACEOF 12902 if ac_fn_c_try_run "$LINENO"; then : 12903 st_cv_mx32_runtime=yes 12904 else 12905 st_cv_mx32_runtime=no 12906 fi 12907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12908 conftest.$ac_objext conftest.beam conftest.$ac_ext 12909 fi 12910 12911 fi 12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_runtime" >&5 12913 $as_echo "$st_cv_mx32_runtime" >&6; } 12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mpers.sh -mx32 works" >&5 12915 $as_echo_n "checking whether mpers.sh -mx32 works... " >&6; } 12916 if ${st_cv_mx32_mpers+:} false; then : 12917 $as_echo_n "(cached) " >&6 12918 else 12919 if CC="$CC" CPP="$CPP" CPPFLAGS="$CPPFLAGS" \ 12920 $srcdir/mpers_test.sh mx32; then 12921 st_cv_mx32_mpers=yes 12922 else 12923 st_cv_mx32_mpers=no 12924 fi 12925 fi 12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_mpers" >&5 12927 $as_echo "$st_cv_mx32_mpers" >&6; } 12928 if test $st_cv_mx32_mpers = yes; then 12929 12930 $as_echo "#define HAVE_MX32_MPERS 1" >>confdefs.h 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 if test -n "${ac_cv_type_struct_stat+set}"; then : 12941 saved_ac_cv_type_struct_stat="${ac_cv_type_struct_stat}"; unset ac_cv_type_struct_stat 12942 fi 12943 if test -n "${ac_cv_mx32_type_struct_stat+set}"; then : 12944 ac_cv_type_struct_stat="${ac_cv_mx32_type_struct_stat}" 12945 fi 12946 12947 12948 12949 12950 12951 12952 ac_fn_c_check_type "$LINENO" "struct stat" "ac_cv_type_struct_stat" "#include <sys/types.h> 12953 #include <asm/stat.h> 12954 " 12955 if test "x$ac_cv_type_struct_stat" = xyes; then : 12956 12957 $as_echo "#define HAVE_MX32_STRUCT_STAT 1" >>confdefs.h 12958 12959 fi 12960 12961 12962 12963 12964 12965 12966 12967 if test -n "${ac_cv_type_struct_stat+set}"; then : 12968 ac_cv_mx32_type_struct_stat="${ac_cv_type_struct_stat}" 12969 fi 12970 if test -n "${saved_ac_cv_type_struct_stat+set}"; then : 12971 ac_cv_type_struct_stat="${saved_ac_cv_type_struct_stat}"; unset saved_ac_cv_type_struct_stat 12972 fi 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 12987 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 12988 fi 12989 if test -n "${ac_cv_mx32_member_struct_stat_st_mtime_nsec+set}"; then : 12990 ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_mx32_member_struct_stat_st_mtime_nsec}" 12991 fi 12992 12993 12994 12995 12996 12997 12998 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h> 12999 #include <asm/stat.h> 13000 " 13001 if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 13002 13003 $as_echo "#define HAVE_MX32_STRUCT_STAT_ST_MTIME_NSEC 1" >>confdefs.h 13004 13005 fi 13006 13007 13008 13009 13010 13011 13012 13013 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 13014 ac_cv_mx32_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}" 13015 fi 13016 if test -n "${saved_ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 13017 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 13018 fi 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 if test -n "${ac_cv_type_struct_stat64+set}"; then : 13036 saved_ac_cv_type_struct_stat64="${ac_cv_type_struct_stat64}"; unset ac_cv_type_struct_stat64 13037 fi 13038 if test -n "${ac_cv_mx32_type_struct_stat64+set}"; then : 13039 ac_cv_type_struct_stat64="${ac_cv_mx32_type_struct_stat64}" 13040 fi 13041 13042 13043 13044 13045 13046 13047 ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 13048 #include <asm/stat.h> 13049 " 13050 if test "x$ac_cv_type_struct_stat64" = xyes; then : 13051 13052 $as_echo "#define HAVE_MX32_STRUCT_STAT64 1" >>confdefs.h 13053 13054 fi 13055 13056 13057 13058 13059 13060 13061 13062 if test -n "${ac_cv_type_struct_stat64+set}"; then : 13063 ac_cv_mx32_type_struct_stat64="${ac_cv_type_struct_stat64}" 13064 fi 13065 if test -n "${saved_ac_cv_type_struct_stat64+set}"; then : 13066 ac_cv_type_struct_stat64="${saved_ac_cv_type_struct_stat64}"; unset saved_ac_cv_type_struct_stat64 13067 fi 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 13082 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 13083 fi 13084 if test -n "${ac_cv_mx32_member_struct_stat64_st_mtime_nsec+set}"; then : 13085 ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_mx32_member_struct_stat64_st_mtime_nsec}" 13086 fi 13087 13088 13089 13090 13091 13092 13093 ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h> 13094 #include <asm/stat.h> 13095 " 13096 if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 13097 13098 $as_echo "#define HAVE_MX32_STRUCT_STAT64_ST_MTIME_NSEC 1" >>confdefs.h 13099 13100 fi 13101 13102 13103 13104 13105 13106 13107 13108 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 13109 ac_cv_mx32_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}" 13110 fi 13111 if test -n "${saved_ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 13112 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 13113 fi 13114 13115 13116 13117 13118 13119 13120 13121 13122 fi 13123 fi 13124 CFLAGS="$saved_CFLAGS" 13125 ;; 13126 13127 *) 13128 st_cv_mx32_runtime=no 13129 st_cv_mx32_mpers=no 13130 ;; 13131 esac 13132 13133 if test "$st_cv_mx32_mpers$st_cv_mx32_runtime" = yesyes; then 13134 HAVE_MX32_RUNTIME_TRUE= 13135 HAVE_MX32_RUNTIME_FALSE='#' 13136 else 13137 HAVE_MX32_RUNTIME_TRUE='#' 13138 HAVE_MX32_RUNTIME_FALSE= 13139 fi 13140 13141 if test "$st_cv_mx32_mpers" = yes; then 13142 HAVE_MX32_MPERS_TRUE= 13143 HAVE_MX32_MPERS_FALSE='#' 13144 else 13145 HAVE_MX32_MPERS_TRUE='#' 13146 HAVE_MX32_MPERS_FALSE= 13147 fi 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 # Check whether --enable-valgrind was given. 13166 if test "${enable_valgrind+set}" = set; then : 13167 enableval=$enable_valgrind; enable_valgrind=$enableval 13168 else 13169 enable_valgrind= 13170 fi 13171 13172 13173 if test "$enable_valgrind" != "no"; then : 13174 13175 # Check for Valgrind. 13176 # Extract the first word of "valgrind", so it can be a program name with args. 13177 set dummy valgrind; ac_word=$2 13178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13179 $as_echo_n "checking for $ac_word... " >&6; } 13180 if ${ac_cv_prog_VALGRIND+:} false; then : 13181 $as_echo_n "(cached) " >&6 13182 else 13183 if test -n "$VALGRIND"; then 13184 ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test. 13185 else 13186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13187 for as_dir in $PATH 13188 do 13189 IFS=$as_save_IFS 13190 test -z "$as_dir" && as_dir=. 13191 for ac_exec_ext in '' $ac_executable_extensions; do 13192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13193 ac_cv_prog_VALGRIND="valgrind" 13194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13195 break 2 13196 fi 13197 done 13198 done 13199 IFS=$as_save_IFS 13200 13201 fi 13202 fi 13203 VALGRIND=$ac_cv_prog_VALGRIND 13204 if test -n "$VALGRIND"; then 13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5 13206 $as_echo "$VALGRIND" >&6; } 13207 else 13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13209 $as_echo "no" >&6; } 13210 fi 13211 13212 13213 if test "$VALGRIND" = ""; then : 13214 13215 if test "$enable_valgrind" = "yes"; then : 13216 13217 as_fn_error $? "Could not find valgrind; either install it or reconfigure with --disable-valgrind" "$LINENO" 5 13218 13219 else 13220 13221 enable_valgrind=no 13222 13223 fi 13224 13225 else 13226 13227 enable_valgrind=yes 13228 13229 fi 13230 13231 fi 13232 13233 if test "$enable_valgrind" = "yes"; then 13234 VALGRIND_ENABLED_TRUE= 13235 VALGRIND_ENABLED_FALSE='#' 13236 else 13237 VALGRIND_ENABLED_TRUE='#' 13238 VALGRIND_ENABLED_FALSE= 13239 fi 13240 13241 VALGRIND_ENABLED=$enable_valgrind 13242 13243 13244 # Check for Valgrind tools we care about. 13245 valgrind_enabled_tools= 13246 13247 # Check whether --enable-valgrind-memcheck was given. 13248 if test "${enable_valgrind_memcheck+set}" = set; then : 13249 enableval=$enable_valgrind_memcheck; enable_valgrind_memcheck=$enableval 13250 else 13251 enable_valgrind_memcheck= 13252 fi 13253 13254 if test "$enable_valgrind" = "no"; then : 13255 13256 enable_valgrind_memcheck=no 13257 elif test "$enable_valgrind_memcheck" != "no"; then : 13258 13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool memcheck" >&5 13260 $as_echo_n "checking for Valgrind tool memcheck... " >&6; } 13261 if ${ax_cv_valgrind_tool_memcheck+:} false; then : 13262 $as_echo_n "(cached) " >&6 13263 else 13264 13265 ax_cv_valgrind_tool_memcheck=no 13266 13267 if `$VALGRIND --tool=memcheck --help >/dev/null 2>&1`; then : 13268 13269 ax_cv_valgrind_tool_memcheck=yes 13270 13271 fi 13272 13273 fi 13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_memcheck" >&5 13275 $as_echo "$ax_cv_valgrind_tool_memcheck" >&6; } 13276 if test "$ax_cv_valgrind_tool_memcheck" = "no"; then : 13277 13278 if test "$enable_valgrind_memcheck" = "yes"; then : 13279 13280 as_fn_error $? "Valgrind does not support memcheck; reconfigure with --disable-valgrind-memcheck" "$LINENO" 5 13281 13282 else 13283 13284 enable_valgrind_memcheck=no 13285 13286 fi 13287 13288 else 13289 13290 enable_valgrind_memcheck=yes 13291 13292 fi 13293 13294 fi 13295 if test "$enable_valgrind_memcheck" = "yes"; then : 13296 13297 valgrind_enabled_tools="$valgrind_enabled_tools memcheck" 13298 13299 fi 13300 ENABLE_VALGRIND_memcheck=$enable_valgrind_memcheck 13301 13302 13303 # Check whether --enable-valgrind-helgrind was given. 13304 if test "${enable_valgrind_helgrind+set}" = set; then : 13305 enableval=$enable_valgrind_helgrind; enable_valgrind_helgrind=$enableval 13306 else 13307 enable_valgrind_helgrind= 13308 fi 13309 13310 if test "$enable_valgrind" = "no"; then : 13311 13312 enable_valgrind_helgrind=no 13313 elif test "$enable_valgrind_helgrind" != "no"; then : 13314 13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool helgrind" >&5 13316 $as_echo_n "checking for Valgrind tool helgrind... " >&6; } 13317 if ${ax_cv_valgrind_tool_helgrind+:} false; then : 13318 $as_echo_n "(cached) " >&6 13319 else 13320 13321 ax_cv_valgrind_tool_helgrind=no 13322 13323 if `$VALGRIND --tool=helgrind --help >/dev/null 2>&1`; then : 13324 13325 ax_cv_valgrind_tool_helgrind=yes 13326 13327 fi 13328 13329 fi 13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_helgrind" >&5 13331 $as_echo "$ax_cv_valgrind_tool_helgrind" >&6; } 13332 if test "$ax_cv_valgrind_tool_helgrind" = "no"; then : 13333 13334 if test "$enable_valgrind_helgrind" = "yes"; then : 13335 13336 as_fn_error $? "Valgrind does not support helgrind; reconfigure with --disable-valgrind-helgrind" "$LINENO" 5 13337 13338 else 13339 13340 enable_valgrind_helgrind=no 13341 13342 fi 13343 13344 else 13345 13346 enable_valgrind_helgrind=yes 13347 13348 fi 13349 13350 fi 13351 if test "$enable_valgrind_helgrind" = "yes"; then : 13352 13353 valgrind_enabled_tools="$valgrind_enabled_tools helgrind" 13354 13355 fi 13356 ENABLE_VALGRIND_helgrind=$enable_valgrind_helgrind 13357 13358 13359 # Check whether --enable-valgrind-drd was given. 13360 if test "${enable_valgrind_drd+set}" = set; then : 13361 enableval=$enable_valgrind_drd; enable_valgrind_drd=$enableval 13362 else 13363 enable_valgrind_drd= 13364 fi 13365 13366 if test "$enable_valgrind" = "no"; then : 13367 13368 enable_valgrind_drd=no 13369 elif test "$enable_valgrind_drd" != "no"; then : 13370 13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool drd" >&5 13372 $as_echo_n "checking for Valgrind tool drd... " >&6; } 13373 if ${ax_cv_valgrind_tool_drd+:} false; then : 13374 $as_echo_n "(cached) " >&6 13375 else 13376 13377 ax_cv_valgrind_tool_drd=no 13378 13379 if `$VALGRIND --tool=drd --help >/dev/null 2>&1`; then : 13380 13381 ax_cv_valgrind_tool_drd=yes 13382 13383 fi 13384 13385 fi 13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_drd" >&5 13387 $as_echo "$ax_cv_valgrind_tool_drd" >&6; } 13388 if test "$ax_cv_valgrind_tool_drd" = "no"; then : 13389 13390 if test "$enable_valgrind_drd" = "yes"; then : 13391 13392 as_fn_error $? "Valgrind does not support drd; reconfigure with --disable-valgrind-drd" "$LINENO" 5 13393 13394 else 13395 13396 enable_valgrind_drd=no 13397 13398 fi 13399 13400 else 13401 13402 enable_valgrind_drd=yes 13403 13404 fi 13405 13406 fi 13407 if test "$enable_valgrind_drd" = "yes"; then : 13408 13409 valgrind_enabled_tools="$valgrind_enabled_tools drd" 13410 13411 fi 13412 ENABLE_VALGRIND_drd=$enable_valgrind_drd 13413 13414 13415 # Check whether --enable-valgrind-sgcheck was given. 13416 if test "${enable_valgrind_sgcheck+set}" = set; then : 13417 enableval=$enable_valgrind_sgcheck; enable_valgrind_sgcheck=$enableval 13418 else 13419 enable_valgrind_sgcheck= 13420 fi 13421 13422 if test "$enable_valgrind" = "no"; then : 13423 13424 enable_valgrind_sgcheck=no 13425 elif test "$enable_valgrind_sgcheck" = "yes"; then : 13426 13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool sgcheck" >&5 13428 $as_echo_n "checking for Valgrind tool sgcheck... " >&6; } 13429 if ${ax_cv_valgrind_tool_sgcheck+:} false; then : 13430 $as_echo_n "(cached) " >&6 13431 else 13432 13433 ax_cv_valgrind_tool_sgcheck=no 13434 13435 if `$VALGRIND --tool=exp-sgcheck --help >/dev/null 2>&1`; then : 13436 13437 ax_cv_valgrind_tool_sgcheck=yes 13438 13439 fi 13440 13441 fi 13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_sgcheck" >&5 13443 $as_echo "$ax_cv_valgrind_tool_sgcheck" >&6; } 13444 if test "$ax_cv_valgrind_tool_sgcheck" = "no"; then : 13445 13446 if test "$enable_valgrind_sgcheck" = "yes"; then : 13447 13448 as_fn_error $? "Valgrind does not support sgcheck; reconfigure with --disable-valgrind-sgcheck" "$LINENO" 5 13449 13450 else 13451 13452 enable_valgrind_sgcheck=no 13453 13454 fi 13455 13456 else 13457 13458 enable_valgrind_sgcheck=yes 13459 13460 fi 13461 13462 fi 13463 if test "$enable_valgrind_sgcheck" = "yes"; then : 13464 13465 valgrind_enabled_tools="$valgrind_enabled_tools sgcheck" 13466 13467 fi 13468 ENABLE_VALGRIND_sgcheck=$enable_valgrind_sgcheck 13469 13470 13471 valgrind_tools="memcheck helgrind drd sgcheck" 13472 13473 valgrind_enabled_tools=$valgrind_enabled_tools 13474 13475 13476 VALGRIND_CHECK_RULES=' 13477 # Valgrind check 13478 # 13479 # Optional: 13480 # - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions 13481 # files to load. (Default: empty) 13482 # - VALGRIND_FLAGS: General flags to pass to all Valgrind tools. 13483 # (Default: --num-callers=30) 13484 # - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of: 13485 # memcheck, helgrind, drd, sgcheck). (Default: various) 13486 13487 # Optional variables 13488 VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES)) 13489 VALGRIND_FLAGS ?= --num-callers=30 13490 VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no 13491 VALGRIND_helgrind_FLAGS ?= --history-level=approx 13492 VALGRIND_drd_FLAGS ?= 13493 VALGRIND_sgcheck_FLAGS ?= 13494 13495 # Internal use 13496 valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools))) 13497 13498 valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS) 13499 valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS) 13500 valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS) 13501 valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS) 13502 13503 valgrind_quiet = $(valgrind_quiet_$(V)) 13504 valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY)) 13505 valgrind_quiet_0 = --quiet 13506 valgrind_v_use = $(valgrind_v_use_$(V)) 13507 valgrind_v_use_ = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY)) 13508 valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%,%,$''@):; 13509 13510 # Support running with and without libtool. 13511 ifneq ($(LIBTOOL),) 13512 valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute 13513 else 13514 valgrind_lt = 13515 endif 13516 13517 # Use recursive makes in order to ignore errors during check 13518 check-valgrind: 13519 ifeq ($(VALGRIND_ENABLED),yes) 13520 -$(A''M_V_at)$(foreach tool,$(valgrind_enabled_tools), \ 13521 $(MAKE) $(AM_MAKEFLAGS) -k check-valgrind-$(tool); \ 13522 ) 13523 else 13524 @echo "Need to reconfigure with --enable-valgrind" 13525 endif 13526 13527 # Valgrind running 13528 VALGRIND_TESTS_ENVIRONMENT = \ 13529 $(TESTS_ENVIRONMENT) \ 13530 env VALGRIND=$(VALGRIND) \ 13531 G_SLICE=always-malloc,debug-blocks \ 13532 G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly 13533 13534 VALGRIND_LOG_COMPILER = \ 13535 $(valgrind_lt) \ 13536 $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS) 13537 13538 define valgrind_tool_rule = 13539 check-valgrind-$(1): $$(BUILT_SOURCES) 13540 ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes) 13541 $$(valgrind_v_use)$$(MAKE) $$(AM_MAKEFLAGS) check-am \ 13542 TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \ 13543 LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \ 13544 LOG_FLAGS="$$(valgrind_$(1)_flags)" \ 13545 TEST_SUITE_LOG=test-suite-$(1).log 13546 else ifeq ($$(VALGRIND_ENABLED),yes) 13547 @echo "Need to reconfigure with --enable-valgrind-$(1)" 13548 else 13549 @echo "Need to reconfigure with --enable-valgrind" 13550 endif 13551 endef 13552 13553 $(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool)))) 13554 13555 A''M_DISTCHECK_CONFIGURE_FLAGS ?= 13556 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind 13557 13558 MOSTLYCLEANFILES ?= 13559 MOSTLYCLEANFILES += $(valgrind_log_files) 13560 13561 .PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools)) 13562 ' 13563 13564 13565 13566 13567 13568 ac_config_files="$ac_config_files Makefile tests/Makefile tests-m32/Makefile tests-mx32/Makefile strace.spec debian/changelog" 13569 13570 cat >confcache <<\_ACEOF 13571 # This file is a shell script that caches the results of configure 13572 # tests run on this system so they can be shared between configure 13573 # scripts and configure runs, see configure's option --config-cache. 13574 # It is not useful on other systems. If it contains results you don't 13575 # want to keep, you may remove or edit it. 13576 # 13577 # config.status only pays attention to the cache file if you give it 13578 # the --recheck option to rerun configure. 13579 # 13580 # `ac_cv_env_foo' variables (set or unset) will be overridden when 13581 # loading this file, other *unset* `ac_cv_foo' will be assigned the 13582 # following values. 13583 13584 _ACEOF 13585 13586 # The following way of writing the cache mishandles newlines in values, 13587 # but we know of no workaround that is simple, portable, and efficient. 13588 # So, we kill variables containing newlines. 13589 # Ultrix sh set writes to stderr and can't be redirected directly, 13590 # and sets the high bit in the cache file unless we assign to the vars. 13591 ( 13592 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13593 eval ac_val=\$$ac_var 13594 case $ac_val in #( 13595 *${as_nl}*) 13596 case $ac_var in #( 13597 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13598 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13599 esac 13600 case $ac_var in #( 13601 _ | IFS | as_nl) ;; #( 13602 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13603 *) { eval $ac_var=; unset $ac_var;} ;; 13604 esac ;; 13605 esac 13606 done 13607 13608 (set) 2>&1 | 13609 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13610 *${as_nl}ac_space=\ *) 13611 # `set' does not quote correctly, so add quotes: double-quote 13612 # substitution turns \\\\ into \\, and sed turns \\ into \. 13613 sed -n \ 13614 "s/'/'\\\\''/g; 13615 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13616 ;; #( 13617 *) 13618 # `set' quotes correctly as required by POSIX, so do not add quotes. 13619 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13620 ;; 13621 esac | 13622 sort 13623 ) | 13624 sed ' 13625 /^ac_cv_env_/b end 13626 t clear 13627 :clear 13628 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13629 t end 13630 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13631 :end' >>confcache 13632 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13633 if test -w "$cache_file"; then 13634 if test "x$cache_file" != "x/dev/null"; then 13635 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13636 $as_echo "$as_me: updating cache $cache_file" >&6;} 13637 if test ! -f "$cache_file" || test -h "$cache_file"; then 13638 cat confcache >"$cache_file" 13639 else 13640 case $cache_file in #( 13641 */* | ?:*) 13642 mv -f confcache "$cache_file"$$ && 13643 mv -f "$cache_file"$$ "$cache_file" ;; #( 13644 *) 13645 mv -f confcache "$cache_file" ;; 13646 esac 13647 fi 13648 fi 13649 else 13650 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13651 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13652 fi 13653 fi 13654 rm -f confcache 13655 13656 test "x$prefix" = xNONE && prefix=$ac_default_prefix 13657 # Let make expand exec_prefix. 13658 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13659 13660 DEFS=-DHAVE_CONFIG_H 13661 13662 ac_libobjs= 13663 ac_ltlibobjs= 13664 U= 13665 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13666 # 1. Remove the extension, and $U if already installed. 13667 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13668 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13669 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13670 # will be set to the directory where LIBOBJS objects are built. 13671 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13672 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13673 done 13674 LIBOBJS=$ac_libobjs 13675 13676 LTLIBOBJS=$ac_ltlibobjs 13677 13678 13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 13680 $as_echo_n "checking that generated files are newer than configure... " >&6; } 13681 if test -n "$am_sleep_pid"; then 13682 # Hide warnings about reused PIDs. 13683 wait $am_sleep_pid 2>/dev/null 13684 fi 13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 13686 $as_echo "done" >&6; } 13687 if test -n "$EXEEXT"; then 13688 am__EXEEXT_TRUE= 13689 am__EXEEXT_FALSE='#' 13690 else 13691 am__EXEEXT_TRUE='#' 13692 am__EXEEXT_FALSE= 13693 fi 13694 13695 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 13696 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 13697 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13698 fi 13699 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13700 as_fn_error $? "conditional \"AMDEP\" was never defined. 13701 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13702 fi 13703 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13704 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13705 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13706 fi 13707 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13708 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13709 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13710 fi 13711 if test -z "${CODE_COVERAGE_ENABLED_TRUE}" && test -z "${CODE_COVERAGE_ENABLED_FALSE}"; then 13712 as_fn_error $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined. 13713 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13714 fi 13715 13716 if test -z "${USE_LIBUNWIND_TRUE}" && test -z "${USE_LIBUNWIND_FALSE}"; then 13717 as_fn_error $? "conditional \"USE_LIBUNWIND\" was never defined. 13718 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13719 fi 13720 if test -z "${HAVE_M32_RUNTIME_TRUE}" && test -z "${HAVE_M32_RUNTIME_FALSE}"; then 13721 as_fn_error $? "conditional \"HAVE_M32_RUNTIME\" was never defined. 13722 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13723 fi 13724 if test -z "${HAVE_M32_MPERS_TRUE}" && test -z "${HAVE_M32_MPERS_FALSE}"; then 13725 as_fn_error $? "conditional \"HAVE_M32_MPERS\" was never defined. 13726 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13727 fi 13728 if test -z "${HAVE_MX32_RUNTIME_TRUE}" && test -z "${HAVE_MX32_RUNTIME_FALSE}"; then 13729 as_fn_error $? "conditional \"HAVE_MX32_RUNTIME\" was never defined. 13730 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13731 fi 13732 if test -z "${HAVE_MX32_MPERS_TRUE}" && test -z "${HAVE_MX32_MPERS_FALSE}"; then 13733 as_fn_error $? "conditional \"HAVE_MX32_MPERS\" was never defined. 13734 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13735 fi 13736 if test -z "${VALGRIND_ENABLED_TRUE}" && test -z "${VALGRIND_ENABLED_FALSE}"; then 13737 as_fn_error $? "conditional \"VALGRIND_ENABLED\" was never defined. 13738 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13739 fi 13740 13741 : "${CONFIG_STATUS=./config.status}" 13742 ac_write_fail=0 13743 ac_clean_files_save=$ac_clean_files 13744 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13745 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13746 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13747 as_write_fail=0 13748 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13749 #! $SHELL 13750 # Generated by $as_me. 13751 # Run this file to recreate the current configuration. 13752 # Compiler output produced by configure, useful for debugging 13753 # configure, is in config.log if it exists. 13754 13755 debug=false 13756 ac_cs_recheck=false 13757 ac_cs_silent=false 13758 13759 SHELL=\${CONFIG_SHELL-$SHELL} 13760 export SHELL 13761 _ASEOF 13762 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13763 ## -------------------- ## 13764 ## M4sh Initialization. ## 13765 ## -------------------- ## 13766 13767 # Be more Bourne compatible 13768 DUALCASE=1; export DUALCASE # for MKS sh 13769 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13770 emulate sh 13771 NULLCMD=: 13772 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13773 # is contrary to our usage. Disable this feature. 13774 alias -g '${1+"$@"}'='"$@"' 13775 setopt NO_GLOB_SUBST 13776 else 13777 case `(set -o) 2>/dev/null` in #( 13778 *posix*) : 13779 set -o posix ;; #( 13780 *) : 13781 ;; 13782 esac 13783 fi 13784 13785 13786 as_nl=' 13787 ' 13788 export as_nl 13789 # Printing a long string crashes Solaris 7 /usr/bin/printf. 13790 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13791 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13792 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13793 # Prefer a ksh shell builtin over an external printf program on Solaris, 13794 # but without wasting forks for bash or zsh. 13795 if test -z "$BASH_VERSION$ZSH_VERSION" \ 13796 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13797 as_echo='print -r --' 13798 as_echo_n='print -rn --' 13799 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13800 as_echo='printf %s\n' 13801 as_echo_n='printf %s' 13802 else 13803 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13804 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13805 as_echo_n='/usr/ucb/echo -n' 13806 else 13807 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13808 as_echo_n_body='eval 13809 arg=$1; 13810 case $arg in #( 13811 *"$as_nl"*) 13812 expr "X$arg" : "X\\(.*\\)$as_nl"; 13813 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13814 esac; 13815 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13816 ' 13817 export as_echo_n_body 13818 as_echo_n='sh -c $as_echo_n_body as_echo' 13819 fi 13820 export as_echo_body 13821 as_echo='sh -c $as_echo_body as_echo' 13822 fi 13823 13824 # The user is always right. 13825 if test "${PATH_SEPARATOR+set}" != set; then 13826 PATH_SEPARATOR=: 13827 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13828 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13829 PATH_SEPARATOR=';' 13830 } 13831 fi 13832 13833 13834 # IFS 13835 # We need space, tab and new line, in precisely that order. Quoting is 13836 # there to prevent editors from complaining about space-tab. 13837 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 13838 # splitting by setting IFS to empty value.) 13839 IFS=" "" $as_nl" 13840 13841 # Find who we are. Look in the path if we contain no directory separator. 13842 as_myself= 13843 case $0 in #(( 13844 *[\\/]* ) as_myself=$0 ;; 13845 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13846 for as_dir in $PATH 13847 do 13848 IFS=$as_save_IFS 13849 test -z "$as_dir" && as_dir=. 13850 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13851 done 13852 IFS=$as_save_IFS 13853 13854 ;; 13855 esac 13856 # We did not find ourselves, most probably we were run as `sh COMMAND' 13857 # in which case we are not to be found in the path. 13858 if test "x$as_myself" = x; then 13859 as_myself=$0 13860 fi 13861 if test ! -f "$as_myself"; then 13862 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13863 exit 1 13864 fi 13865 13866 # Unset variables that we do not need and which cause bugs (e.g. in 13867 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13868 # suppresses any "Segmentation fault" message there. '((' could 13869 # trigger a bug in pdksh 5.2.14. 13870 for as_var in BASH_ENV ENV MAIL MAILPATH 13871 do eval test x\${$as_var+set} = xset \ 13872 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13873 done 13874 PS1='$ ' 13875 PS2='> ' 13876 PS4='+ ' 13877 13878 # NLS nuisances. 13879 LC_ALL=C 13880 export LC_ALL 13881 LANGUAGE=C 13882 export LANGUAGE 13883 13884 # CDPATH. 13885 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13886 13887 13888 # as_fn_error STATUS ERROR [LINENO LOG_FD] 13889 # ---------------------------------------- 13890 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13891 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13892 # script with STATUS, using 1 if that was 0. 13893 as_fn_error () 13894 { 13895 as_status=$1; test $as_status -eq 0 && as_status=1 13896 if test "$4"; then 13897 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13898 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13899 fi 13900 $as_echo "$as_me: error: $2" >&2 13901 as_fn_exit $as_status 13902 } # as_fn_error 13903 13904 13905 # as_fn_set_status STATUS 13906 # ----------------------- 13907 # Set $? to STATUS, without forking. 13908 as_fn_set_status () 13909 { 13910 return $1 13911 } # as_fn_set_status 13912 13913 # as_fn_exit STATUS 13914 # ----------------- 13915 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13916 as_fn_exit () 13917 { 13918 set +e 13919 as_fn_set_status $1 13920 exit $1 13921 } # as_fn_exit 13922 13923 # as_fn_unset VAR 13924 # --------------- 13925 # Portably unset VAR. 13926 as_fn_unset () 13927 { 13928 { eval $1=; unset $1;} 13929 } 13930 as_unset=as_fn_unset 13931 # as_fn_append VAR VALUE 13932 # ---------------------- 13933 # Append the text in VALUE to the end of the definition contained in VAR. Take 13934 # advantage of any shell optimizations that allow amortized linear growth over 13935 # repeated appends, instead of the typical quadratic growth present in naive 13936 # implementations. 13937 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13938 eval 'as_fn_append () 13939 { 13940 eval $1+=\$2 13941 }' 13942 else 13943 as_fn_append () 13944 { 13945 eval $1=\$$1\$2 13946 } 13947 fi # as_fn_append 13948 13949 # as_fn_arith ARG... 13950 # ------------------ 13951 # Perform arithmetic evaluation on the ARGs, and store the result in the 13952 # global $as_val. Take advantage of shells that can avoid forks. The arguments 13953 # must be portable across $(()) and expr. 13954 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13955 eval 'as_fn_arith () 13956 { 13957 as_val=$(( $* )) 13958 }' 13959 else 13960 as_fn_arith () 13961 { 13962 as_val=`expr "$@" || test $? -eq 1` 13963 } 13964 fi # as_fn_arith 13965 13966 13967 if expr a : '\(a\)' >/dev/null 2>&1 && 13968 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13969 as_expr=expr 13970 else 13971 as_expr=false 13972 fi 13973 13974 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13975 as_basename=basename 13976 else 13977 as_basename=false 13978 fi 13979 13980 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13981 as_dirname=dirname 13982 else 13983 as_dirname=false 13984 fi 13985 13986 as_me=`$as_basename -- "$0" || 13987 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13988 X"$0" : 'X\(//\)$' \| \ 13989 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13990 $as_echo X/"$0" | 13991 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13992 s//\1/ 13993 q 13994 } 13995 /^X\/\(\/\/\)$/{ 13996 s//\1/ 13997 q 13998 } 13999 /^X\/\(\/\).*/{ 14000 s//\1/ 14001 q 14002 } 14003 s/.*/./; q'` 14004 14005 # Avoid depending upon Character Ranges. 14006 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14007 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14008 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14009 as_cr_digits='0123456789' 14010 as_cr_alnum=$as_cr_Letters$as_cr_digits 14011 14012 ECHO_C= ECHO_N= ECHO_T= 14013 case `echo -n x` in #((((( 14014 -n*) 14015 case `echo 'xy\c'` in 14016 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14017 xy) ECHO_C='\c';; 14018 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 14019 ECHO_T=' ';; 14020 esac;; 14021 *) 14022 ECHO_N='-n';; 14023 esac 14024 14025 rm -f conf$$ conf$$.exe conf$$.file 14026 if test -d conf$$.dir; then 14027 rm -f conf$$.dir/conf$$.file 14028 else 14029 rm -f conf$$.dir 14030 mkdir conf$$.dir 2>/dev/null 14031 fi 14032 if (echo >conf$$.file) 2>/dev/null; then 14033 if ln -s conf$$.file conf$$ 2>/dev/null; then 14034 as_ln_s='ln -s' 14035 # ... but there are two gotchas: 14036 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14037 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14038 # In both cases, we have to default to `cp -pR'. 14039 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14040 as_ln_s='cp -pR' 14041 elif ln conf$$.file conf$$ 2>/dev/null; then 14042 as_ln_s=ln 14043 else 14044 as_ln_s='cp -pR' 14045 fi 14046 else 14047 as_ln_s='cp -pR' 14048 fi 14049 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14050 rmdir conf$$.dir 2>/dev/null 14051 14052 14053 # as_fn_mkdir_p 14054 # ------------- 14055 # Create "$as_dir" as a directory, including parents if necessary. 14056 as_fn_mkdir_p () 14057 { 14058 14059 case $as_dir in #( 14060 -*) as_dir=./$as_dir;; 14061 esac 14062 test -d "$as_dir" || eval $as_mkdir_p || { 14063 as_dirs= 14064 while :; do 14065 case $as_dir in #( 14066 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14067 *) as_qdir=$as_dir;; 14068 esac 14069 as_dirs="'$as_qdir' $as_dirs" 14070 as_dir=`$as_dirname -- "$as_dir" || 14071 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14072 X"$as_dir" : 'X\(//\)[^/]' \| \ 14073 X"$as_dir" : 'X\(//\)$' \| \ 14074 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14075 $as_echo X"$as_dir" | 14076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14077 s//\1/ 14078 q 14079 } 14080 /^X\(\/\/\)[^/].*/{ 14081 s//\1/ 14082 q 14083 } 14084 /^X\(\/\/\)$/{ 14085 s//\1/ 14086 q 14087 } 14088 /^X\(\/\).*/{ 14089 s//\1/ 14090 q 14091 } 14092 s/.*/./; q'` 14093 test -d "$as_dir" && break 14094 done 14095 test -z "$as_dirs" || eval "mkdir $as_dirs" 14096 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14097 14098 14099 } # as_fn_mkdir_p 14100 if mkdir -p . 2>/dev/null; then 14101 as_mkdir_p='mkdir -p "$as_dir"' 14102 else 14103 test -d ./-p && rmdir ./-p 14104 as_mkdir_p=false 14105 fi 14106 14107 14108 # as_fn_executable_p FILE 14109 # ----------------------- 14110 # Test if FILE is an executable regular file. 14111 as_fn_executable_p () 14112 { 14113 test -f "$1" && test -x "$1" 14114 } # as_fn_executable_p 14115 as_test_x='test -x' 14116 as_executable_p=as_fn_executable_p 14117 14118 # Sed expression to map a string onto a valid CPP name. 14119 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14120 14121 # Sed expression to map a string onto a valid variable name. 14122 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14123 14124 14125 exec 6>&1 14126 ## ----------------------------------- ## 14127 ## Main body of $CONFIG_STATUS script. ## 14128 ## ----------------------------------- ## 14129 _ASEOF 14130 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14131 14132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14133 # Save the log message, to keep $0 and so on meaningful, and to 14134 # report actual input values of CONFIG_FILES etc. instead of their 14135 # values after options handling. 14136 ac_log=" 14137 This file was extended by strace $as_me 4.16, which was 14138 generated by GNU Autoconf 2.69. Invocation command line was 14139 14140 CONFIG_FILES = $CONFIG_FILES 14141 CONFIG_HEADERS = $CONFIG_HEADERS 14142 CONFIG_LINKS = $CONFIG_LINKS 14143 CONFIG_COMMANDS = $CONFIG_COMMANDS 14144 $ $0 $@ 14145 14146 on `(hostname || uname -n) 2>/dev/null | sed 1q` 14147 " 14148 14149 _ACEOF 14150 14151 case $ac_config_files in *" 14152 "*) set x $ac_config_files; shift; ac_config_files=$*;; 14153 esac 14154 14155 case $ac_config_headers in *" 14156 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14157 esac 14158 14159 14160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14161 # Files that config.status was made for. 14162 config_files="$ac_config_files" 14163 config_headers="$ac_config_headers" 14164 config_commands="$ac_config_commands" 14165 14166 _ACEOF 14167 14168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14169 ac_cs_usage="\ 14170 \`$as_me' instantiates files and other configuration actions 14171 from templates according to the current configuration. Unless the files 14172 and actions are specified as TAGs, all are instantiated by default. 14173 14174 Usage: $0 [OPTION]... [TAG]... 14175 14176 -h, --help print this help, then exit 14177 -V, --version print version number and configuration settings, then exit 14178 --config print configuration, then exit 14179 -q, --quiet, --silent 14180 do not print progress messages 14181 -d, --debug don't remove temporary files 14182 --recheck update $as_me by reconfiguring in the same conditions 14183 --file=FILE[:TEMPLATE] 14184 instantiate the configuration file FILE 14185 --header=FILE[:TEMPLATE] 14186 instantiate the configuration header FILE 14187 14188 Configuration files: 14189 $config_files 14190 14191 Configuration headers: 14192 $config_headers 14193 14194 Configuration commands: 14195 $config_commands 14196 14197 Report bugs to <strace-devel@lists.sourceforge.net>. 14198 strace home page: <https://strace.io>." 14199 14200 _ACEOF 14201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14202 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14203 ac_cs_version="\\ 14204 strace config.status 4.16 14205 configured by $0, generated by GNU Autoconf 2.69, 14206 with options \\"\$ac_cs_config\\" 14207 14208 Copyright (C) Free Software Foundation, Inc. 14209 This config.status script is free software; the Free Software Foundation 14210 gives unlimited permission to copy, distribute and modify it." 14211 14212 ac_pwd='$ac_pwd' 14213 srcdir='$srcdir' 14214 INSTALL='$INSTALL' 14215 MKDIR_P='$MKDIR_P' 14216 AWK='$AWK' 14217 test -n "\$AWK" || AWK=awk 14218 _ACEOF 14219 14220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14221 # The default lists apply if the user does not specify any file. 14222 ac_need_defaults=: 14223 while test $# != 0 14224 do 14225 case $1 in 14226 --*=?*) 14227 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14228 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14229 ac_shift=: 14230 ;; 14231 --*=) 14232 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14233 ac_optarg= 14234 ac_shift=: 14235 ;; 14236 *) 14237 ac_option=$1 14238 ac_optarg=$2 14239 ac_shift=shift 14240 ;; 14241 esac 14242 14243 case $ac_option in 14244 # Handling of the options. 14245 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14246 ac_cs_recheck=: ;; 14247 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14248 $as_echo "$ac_cs_version"; exit ;; 14249 --config | --confi | --conf | --con | --co | --c ) 14250 $as_echo "$ac_cs_config"; exit ;; 14251 --debug | --debu | --deb | --de | --d | -d ) 14252 debug=: ;; 14253 --file | --fil | --fi | --f ) 14254 $ac_shift 14255 case $ac_optarg in 14256 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14257 '') as_fn_error $? "missing file argument" ;; 14258 esac 14259 as_fn_append CONFIG_FILES " '$ac_optarg'" 14260 ac_need_defaults=false;; 14261 --header | --heade | --head | --hea ) 14262 $ac_shift 14263 case $ac_optarg in 14264 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14265 esac 14266 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 14267 ac_need_defaults=false;; 14268 --he | --h) 14269 # Conflict between --help and --header 14270 as_fn_error $? "ambiguous option: \`$1' 14271 Try \`$0 --help' for more information.";; 14272 --help | --hel | -h ) 14273 $as_echo "$ac_cs_usage"; exit ;; 14274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14275 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14276 ac_cs_silent=: ;; 14277 14278 # This is an error. 14279 -*) as_fn_error $? "unrecognized option: \`$1' 14280 Try \`$0 --help' for more information." ;; 14281 14282 *) as_fn_append ac_config_targets " $1" 14283 ac_need_defaults=false ;; 14284 14285 esac 14286 shift 14287 done 14288 14289 ac_configure_extra_args= 14290 14291 if $ac_cs_silent; then 14292 exec 6>/dev/null 14293 ac_configure_extra_args="$ac_configure_extra_args --silent" 14294 fi 14295 14296 _ACEOF 14297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14298 if \$ac_cs_recheck; then 14299 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14300 shift 14301 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14302 CONFIG_SHELL='$SHELL' 14303 export CONFIG_SHELL 14304 exec "\$@" 14305 fi 14306 14307 _ACEOF 14308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14309 exec 5>>config.log 14310 { 14311 echo 14312 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14313 ## Running $as_me. ## 14314 _ASBOX 14315 $as_echo "$ac_log" 14316 } >&5 14317 14318 _ACEOF 14319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14320 # 14321 # INIT-COMMANDS 14322 # 14323 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14324 14325 _ACEOF 14326 14327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14328 14329 # Handling of arguments. 14330 for ac_config_target in $ac_config_targets 14331 do 14332 case $ac_config_target in 14333 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14334 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14335 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14336 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 14337 "tests-m32/Makefile") CONFIG_FILES="$CONFIG_FILES tests-m32/Makefile" ;; 14338 "tests-mx32/Makefile") CONFIG_FILES="$CONFIG_FILES tests-mx32/Makefile" ;; 14339 "strace.spec") CONFIG_FILES="$CONFIG_FILES strace.spec" ;; 14340 "debian/changelog") CONFIG_FILES="$CONFIG_FILES debian/changelog" ;; 14341 14342 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14343 esac 14344 done 14345 14346 14347 # If the user did not use the arguments to specify the items to instantiate, 14348 # then the envvar interface is used. Set only those that are not. 14349 # We use the long form for the default assignment because of an extremely 14350 # bizarre bug on SunOS 4.1.3. 14351 if $ac_need_defaults; then 14352 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14353 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14354 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14355 fi 14356 14357 # Have a temporary directory for convenience. Make it in the build tree 14358 # simply because there is no reason against having it here, and in addition, 14359 # creating and moving files from /tmp can sometimes cause problems. 14360 # Hook for its removal unless debugging. 14361 # Note that there is a small window in which the directory will not be cleaned: 14362 # after its creation but before its name has been assigned to `$tmp'. 14363 $debug || 14364 { 14365 tmp= ac_tmp= 14366 trap 'exit_status=$? 14367 : "${ac_tmp:=$tmp}" 14368 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14369 ' 0 14370 trap 'as_fn_exit 1' 1 2 13 15 14371 } 14372 # Create a (secure) tmp directory for tmp files. 14373 14374 { 14375 tmp=`(umask 077 && mktemp -d "./confXXXXXX")` && 14376 test -n "$tmp" && test -d "$tmp" 14377 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14378 ac_tmp=$tmp 14379 14380 # Set up the scripts for CONFIG_FILES section. 14381 # No need to generate them if there are no CONFIG_FILES. 14382 # This happens for instance with `./config.status config.h'. 14383 if test -n "$CONFIG_FILES"; then 14384 14385 14386 ac_cr=`echo X | tr X '\015'` 14387 # On cygwin, bash can eat \r inside `` if the user requested igncr. 14388 # But we know of no other shell where ac_cr would be empty at this 14389 # point, so we can use a bashism as a fallback. 14390 if test "x$ac_cr" = x; then 14391 eval ac_cr=\$\'\\r\' 14392 fi 14393 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14394 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14395 ac_cs_awk_cr='\\r' 14396 else 14397 ac_cs_awk_cr=$ac_cr 14398 fi 14399 14400 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 14401 _ACEOF 14402 14403 14404 { 14405 echo "cat >conf$$subs.awk <<_ACEOF" && 14406 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14407 echo "_ACEOF" 14408 } >conf$$subs.sh || 14409 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14410 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14411 ac_delim='%!_!# ' 14412 for ac_last_try in false false false false false :; do 14413 . ./conf$$subs.sh || 14414 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14415 14416 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14417 if test $ac_delim_n = $ac_delim_num; then 14418 break 14419 elif $ac_last_try; then 14420 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14421 else 14422 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14423 fi 14424 done 14425 rm -f conf$$subs.sh 14426 14427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14428 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14429 _ACEOF 14430 sed -n ' 14431 h 14432 s/^/S["/; s/!.*/"]=/ 14433 p 14434 g 14435 s/^[^!]*!// 14436 :repl 14437 t repl 14438 s/'"$ac_delim"'$// 14439 t delim 14440 :nl 14441 h 14442 s/\(.\{148\}\)..*/\1/ 14443 t more1 14444 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14445 p 14446 n 14447 b repl 14448 :more1 14449 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14450 p 14451 g 14452 s/.\{148\}// 14453 t nl 14454 :delim 14455 h 14456 s/\(.\{148\}\)..*/\1/ 14457 t more2 14458 s/["\\]/\\&/g; s/^/"/; s/$/"/ 14459 p 14460 b 14461 :more2 14462 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14463 p 14464 g 14465 s/.\{148\}// 14466 t delim 14467 ' <conf$$subs.awk | sed ' 14468 /^[^""]/{ 14469 N 14470 s/\n// 14471 } 14472 ' >>$CONFIG_STATUS || ac_write_fail=1 14473 rm -f conf$$subs.awk 14474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14475 _ACAWK 14476 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14477 for (key in S) S_is_set[key] = 1 14478 FS = "" 14479 14480 } 14481 { 14482 line = $ 0 14483 nfields = split(line, field, "@") 14484 substed = 0 14485 len = length(field[1]) 14486 for (i = 2; i < nfields; i++) { 14487 key = field[i] 14488 keylen = length(key) 14489 if (S_is_set[key]) { 14490 value = S[key] 14491 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14492 len += length(value) + length(field[++i]) 14493 substed = 1 14494 } else 14495 len += 1 + keylen 14496 } 14497 14498 print line 14499 } 14500 14501 _ACAWK 14502 _ACEOF 14503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14504 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14505 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14506 else 14507 cat 14508 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 14509 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 14510 _ACEOF 14511 14512 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 14513 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14514 # trailing colons and then remove the whole line if VPATH becomes empty 14515 # (actually we leave an empty line to preserve line numbers). 14516 if test "x$srcdir" = x.; then 14517 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14518 h 14519 s/// 14520 s/^/:/ 14521 s/[ ]*$/:/ 14522 s/:\$(srcdir):/:/g 14523 s/:\${srcdir}:/:/g 14524 s/:@srcdir@:/:/g 14525 s/^:*// 14526 s/:*$// 14527 x 14528 s/\(=[ ]*\).*/\1/ 14529 G 14530 s/\n// 14531 s/^[^=]*=[ ]*$// 14532 }' 14533 fi 14534 14535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14536 fi # test -n "$CONFIG_FILES" 14537 14538 # Set up the scripts for CONFIG_HEADERS section. 14539 # No need to generate them if there are no CONFIG_HEADERS. 14540 # This happens for instance with `./config.status Makefile'. 14541 if test -n "$CONFIG_HEADERS"; then 14542 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14543 BEGIN { 14544 _ACEOF 14545 14546 # Transform confdefs.h into an awk script `defines.awk', embedded as 14547 # here-document in config.status, that substitutes the proper values into 14548 # config.h.in to produce config.h. 14549 14550 # Create a delimiter string that does not exist in confdefs.h, to ease 14551 # handling of long lines. 14552 ac_delim='%!_!# ' 14553 for ac_last_try in false false :; do 14554 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 14555 if test -z "$ac_tt"; then 14556 break 14557 elif $ac_last_try; then 14558 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14559 else 14560 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14561 fi 14562 done 14563 14564 # For the awk script, D is an array of macro values keyed by name, 14565 # likewise P contains macro parameters if any. Preserve backslash 14566 # newline sequences. 14567 14568 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14569 sed -n ' 14570 s/.\{148\}/&'"$ac_delim"'/g 14571 t rset 14572 :rset 14573 s/^[ ]*#[ ]*define[ ][ ]*/ / 14574 t def 14575 d 14576 :def 14577 s/\\$// 14578 t bsnl 14579 s/["\\]/\\&/g 14580 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14581 D["\1"]=" \3"/p 14582 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14583 d 14584 :bsnl 14585 s/["\\]/\\&/g 14586 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14587 D["\1"]=" \3\\\\\\n"\\/p 14588 t cont 14589 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14590 t cont 14591 d 14592 :cont 14593 n 14594 s/.\{148\}/&'"$ac_delim"'/g 14595 t clear 14596 :clear 14597 s/\\$// 14598 t bsnlc 14599 s/["\\]/\\&/g; s/^/"/; s/$/"/p 14600 d 14601 :bsnlc 14602 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14603 b cont 14604 ' <confdefs.h | sed ' 14605 s/'"$ac_delim"'/"\\\ 14606 "/g' >>$CONFIG_STATUS || ac_write_fail=1 14607 14608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14609 for (key in D) D_is_set[key] = 1 14610 FS = "" 14611 } 14612 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14613 line = \$ 0 14614 split(line, arg, " ") 14615 if (arg[1] == "#") { 14616 defundef = arg[2] 14617 mac1 = arg[3] 14618 } else { 14619 defundef = substr(arg[1], 2) 14620 mac1 = arg[2] 14621 } 14622 split(mac1, mac2, "(") #) 14623 macro = mac2[1] 14624 prefix = substr(line, 1, index(line, defundef) - 1) 14625 if (D_is_set[macro]) { 14626 # Preserve the white space surrounding the "#". 14627 print prefix "define", macro P[macro] D[macro] 14628 next 14629 } else { 14630 # Replace #undef with comments. This is necessary, for example, 14631 # in the case of _POSIX_SOURCE, which is predefined and required 14632 # on some systems where configure will not decide to define it. 14633 if (defundef == "undef") { 14634 print "/*", prefix defundef, macro, "*/" 14635 next 14636 } 14637 } 14638 } 14639 { print } 14640 _ACAWK 14641 _ACEOF 14642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14643 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14644 fi # test -n "$CONFIG_HEADERS" 14645 14646 14647 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14648 shift 14649 for ac_tag 14650 do 14651 case $ac_tag in 14652 :[FHLC]) ac_mode=$ac_tag; continue;; 14653 esac 14654 case $ac_mode$ac_tag in 14655 :[FHL]*:*);; 14656 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14657 :[FH]-) ac_tag=-:-;; 14658 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14659 esac 14660 ac_save_IFS=$IFS 14661 IFS=: 14662 set x $ac_tag 14663 IFS=$ac_save_IFS 14664 shift 14665 ac_file=$1 14666 shift 14667 14668 case $ac_mode in 14669 :L) ac_source=$1;; 14670 :[FH]) 14671 ac_file_inputs= 14672 for ac_f 14673 do 14674 case $ac_f in 14675 -) ac_f="$ac_tmp/stdin";; 14676 *) # Look for the file first in the build tree, then in the source tree 14677 # (if the path is not absolute). The absolute path cannot be DOS-style, 14678 # because $ac_f cannot contain `:'. 14679 test -f "$ac_f" || 14680 case $ac_f in 14681 [\\/$]*) false;; 14682 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14683 esac || 14684 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14685 esac 14686 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14687 as_fn_append ac_file_inputs " '$ac_f'" 14688 done 14689 14690 # Let's still pretend it is `configure' which instantiates (i.e., don't 14691 # use $as_me), people would be surprised to read: 14692 # /* config.h. Generated by config.status. */ 14693 configure_input='Generated from '` 14694 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14695 `' by configure.' 14696 if test x"$ac_file" != x-; then 14697 configure_input="$ac_file. $configure_input" 14698 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14699 $as_echo "$as_me: creating $ac_file" >&6;} 14700 fi 14701 # Neutralize special characters interpreted by sed in replacement strings. 14702 case $configure_input in #( 14703 *\&* | *\|* | *\\* ) 14704 ac_sed_conf_input=`$as_echo "$configure_input" | 14705 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14706 *) ac_sed_conf_input=$configure_input;; 14707 esac 14708 14709 case $ac_tag in 14710 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14711 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14712 esac 14713 ;; 14714 esac 14715 14716 ac_dir=`$as_dirname -- "$ac_file" || 14717 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14718 X"$ac_file" : 'X\(//\)[^/]' \| \ 14719 X"$ac_file" : 'X\(//\)$' \| \ 14720 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14721 $as_echo X"$ac_file" | 14722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14723 s//\1/ 14724 q 14725 } 14726 /^X\(\/\/\)[^/].*/{ 14727 s//\1/ 14728 q 14729 } 14730 /^X\(\/\/\)$/{ 14731 s//\1/ 14732 q 14733 } 14734 /^X\(\/\).*/{ 14735 s//\1/ 14736 q 14737 } 14738 s/.*/./; q'` 14739 as_dir="$ac_dir"; as_fn_mkdir_p 14740 ac_builddir=. 14741 14742 case "$ac_dir" in 14743 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14744 *) 14745 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14746 # A ".." for each directory in $ac_dir_suffix. 14747 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14748 case $ac_top_builddir_sub in 14749 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14750 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14751 esac ;; 14752 esac 14753 ac_abs_top_builddir=$ac_pwd 14754 ac_abs_builddir=$ac_pwd$ac_dir_suffix 14755 # for backward compatibility: 14756 ac_top_builddir=$ac_top_build_prefix 14757 14758 case $srcdir in 14759 .) # We are building in place. 14760 ac_srcdir=. 14761 ac_top_srcdir=$ac_top_builddir_sub 14762 ac_abs_top_srcdir=$ac_pwd ;; 14763 [\\/]* | ?:[\\/]* ) # Absolute name. 14764 ac_srcdir=$srcdir$ac_dir_suffix; 14765 ac_top_srcdir=$srcdir 14766 ac_abs_top_srcdir=$srcdir ;; 14767 *) # Relative name. 14768 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14769 ac_top_srcdir=$ac_top_build_prefix$srcdir 14770 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14771 esac 14772 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14773 14774 14775 case $ac_mode in 14776 :F) 14777 # 14778 # CONFIG_FILE 14779 # 14780 14781 case $INSTALL in 14782 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14783 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14784 esac 14785 ac_MKDIR_P=$MKDIR_P 14786 case $MKDIR_P in 14787 [\\/$]* | ?:[\\/]* ) ;; 14788 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14789 esac 14790 _ACEOF 14791 14792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14793 # If the template does not know about datarootdir, expand it. 14794 # FIXME: This hack should be removed a few years after 2.60. 14795 ac_datarootdir_hack=; ac_datarootdir_seen= 14796 ac_sed_dataroot=' 14797 /datarootdir/ { 14798 p 14799 q 14800 } 14801 /@datadir@/p 14802 /@docdir@/p 14803 /@infodir@/p 14804 /@localedir@/p 14805 /@mandir@/p' 14806 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14807 *datarootdir*) ac_datarootdir_seen=yes;; 14808 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14810 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14811 _ACEOF 14812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14813 ac_datarootdir_hack=' 14814 s&@datadir@&$datadir&g 14815 s&@docdir@&$docdir&g 14816 s&@infodir@&$infodir&g 14817 s&@localedir@&$localedir&g 14818 s&@mandir@&$mandir&g 14819 s&\\\${datarootdir}&$datarootdir&g' ;; 14820 esac 14821 _ACEOF 14822 14823 # Neutralize VPATH when `$srcdir' = `.'. 14824 # Shell code in configure.ac might set extrasub. 14825 # FIXME: do we really want to maintain this feature? 14826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14827 ac_sed_extra="$ac_vpsub 14828 $extrasub 14829 _ACEOF 14830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14831 :t 14832 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14833 s|@configure_input@|$ac_sed_conf_input|;t t 14834 s&@top_builddir@&$ac_top_builddir_sub&;t t 14835 s&@top_build_prefix@&$ac_top_build_prefix&;t t 14836 s&@srcdir@&$ac_srcdir&;t t 14837 s&@abs_srcdir@&$ac_abs_srcdir&;t t 14838 s&@top_srcdir@&$ac_top_srcdir&;t t 14839 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14840 s&@builddir@&$ac_builddir&;t t 14841 s&@abs_builddir@&$ac_abs_builddir&;t t 14842 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14843 s&@INSTALL@&$ac_INSTALL&;t t 14844 s&@MKDIR_P@&$ac_MKDIR_P&;t t 14845 $ac_datarootdir_hack 14846 " 14847 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14848 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14849 14850 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14851 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14852 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14853 "$ac_tmp/out"`; test -z "$ac_out"; } && 14854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14855 which seems to be undefined. Please make sure it is defined" >&5 14856 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14857 which seems to be undefined. Please make sure it is defined" >&2;} 14858 14859 rm -f "$ac_tmp/stdin" 14860 case $ac_file in 14861 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14862 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14863 esac \ 14864 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14865 ;; 14866 :H) 14867 # 14868 # CONFIG_HEADER 14869 # 14870 if test x"$ac_file" != x-; then 14871 { 14872 $as_echo "/* $configure_input */" \ 14873 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14874 } >"$ac_tmp/config.h" \ 14875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14876 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14877 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14878 $as_echo "$as_me: $ac_file is unchanged" >&6;} 14879 else 14880 rm -f "$ac_file" 14881 mv "$ac_tmp/config.h" "$ac_file" \ 14882 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14883 fi 14884 else 14885 $as_echo "/* $configure_input */" \ 14886 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14887 || as_fn_error $? "could not create -" "$LINENO" 5 14888 fi 14889 # Compute "$ac_file"'s index in $config_headers. 14890 _am_arg="$ac_file" 14891 _am_stamp_count=1 14892 for _am_header in $config_headers :; do 14893 case $_am_header in 14894 $_am_arg | $_am_arg:* ) 14895 break ;; 14896 * ) 14897 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14898 esac 14899 done 14900 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14901 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14902 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14903 X"$_am_arg" : 'X\(//\)$' \| \ 14904 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14905 $as_echo X"$_am_arg" | 14906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14907 s//\1/ 14908 q 14909 } 14910 /^X\(\/\/\)[^/].*/{ 14911 s//\1/ 14912 q 14913 } 14914 /^X\(\/\/\)$/{ 14915 s//\1/ 14916 q 14917 } 14918 /^X\(\/\).*/{ 14919 s//\1/ 14920 q 14921 } 14922 s/.*/./; q'`/stamp-h$_am_stamp_count 14923 ;; 14924 14925 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14926 $as_echo "$as_me: executing $ac_file commands" >&6;} 14927 ;; 14928 esac 14929 14930 14931 case $ac_file$ac_mode in 14932 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14933 # Older Autoconf quotes --file arguments for eval, but not when files 14934 # are listed without --file. Let's play safe and only enable the eval 14935 # if we detect the quoting. 14936 case $CONFIG_FILES in 14937 *\'*) eval set x "$CONFIG_FILES" ;; 14938 *) set x $CONFIG_FILES ;; 14939 esac 14940 shift 14941 for mf 14942 do 14943 # Strip MF so we end up with the name of the file. 14944 mf=`echo "$mf" | sed -e 's/:.*$//'` 14945 # Check whether this is an Automake generated Makefile or not. 14946 # We used to match only the files named 'Makefile.in', but 14947 # some people rename them; so instead we look at the file content. 14948 # Grep'ing the first line is not enough: some people post-process 14949 # each Makefile.in and add a new line on top of each file to say so. 14950 # Grep'ing the whole file is not good either: AIX grep has a line 14951 # limit of 2048, but all sed's we know have understand at least 4000. 14952 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14953 dirpart=`$as_dirname -- "$mf" || 14954 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14955 X"$mf" : 'X\(//\)[^/]' \| \ 14956 X"$mf" : 'X\(//\)$' \| \ 14957 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14958 $as_echo X"$mf" | 14959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14960 s//\1/ 14961 q 14962 } 14963 /^X\(\/\/\)[^/].*/{ 14964 s//\1/ 14965 q 14966 } 14967 /^X\(\/\/\)$/{ 14968 s//\1/ 14969 q 14970 } 14971 /^X\(\/\).*/{ 14972 s//\1/ 14973 q 14974 } 14975 s/.*/./; q'` 14976 else 14977 continue 14978 fi 14979 # Extract the definition of DEPDIR, am__include, and am__quote 14980 # from the Makefile without running 'make'. 14981 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14982 test -z "$DEPDIR" && continue 14983 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14984 test -z "$am__include" && continue 14985 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14986 # Find all dependency output files, they are included files with 14987 # $(DEPDIR) in their names. We invoke sed twice because it is the 14988 # simplest approach to changing $(DEPDIR) to its actual value in the 14989 # expansion. 14990 for file in `sed -n " 14991 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14992 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 14993 # Make sure the directory exists. 14994 test -f "$dirpart/$file" && continue 14995 fdir=`$as_dirname -- "$file" || 14996 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14997 X"$file" : 'X\(//\)[^/]' \| \ 14998 X"$file" : 'X\(//\)$' \| \ 14999 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15000 $as_echo X"$file" | 15001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15002 s//\1/ 15003 q 15004 } 15005 /^X\(\/\/\)[^/].*/{ 15006 s//\1/ 15007 q 15008 } 15009 /^X\(\/\/\)$/{ 15010 s//\1/ 15011 q 15012 } 15013 /^X\(\/\).*/{ 15014 s//\1/ 15015 q 15016 } 15017 s/.*/./; q'` 15018 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15019 # echo "creating $dirpart/$file" 15020 echo '# dummy' > "$dirpart/$file" 15021 done 15022 done 15023 } 15024 ;; 15025 15026 esac 15027 done # for ac_tag 15028 15029 15030 as_fn_exit 0 15031 _ACEOF 15032 ac_clean_files=$ac_clean_files_save 15033 15034 test $ac_write_fail = 0 || 15035 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15036 15037 15038 # configure is writing to config.log, and then calls config.status. 15039 # config.status does its own redirection, appending to config.log. 15040 # Unfortunately, on DOS this fails, as config.log is still kept open 15041 # by configure, so config.status won't be able to write to it; its 15042 # output is simply discarded. So we exec the FD to /dev/null, 15043 # effectively closing config.log, so it can be properly (re)opened and 15044 # appended to by config.status. When coming back to configure, we 15045 # need to make the FD available again. 15046 if test "$no_create" != yes; then 15047 ac_cs_success=: 15048 ac_config_status_args= 15049 test "$silent" = yes && 15050 ac_config_status_args="$ac_config_status_args --quiet" 15051 exec 5>/dev/null 15052 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15053 exec 5>>config.log 15054 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15055 # would make configure fail if this is the last instruction. 15056 $ac_cs_success || as_fn_exit 1 15057 fi 15058 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15060 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15061 fi 15062 15063