1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for strace 4.18. 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.18' 586 PACKAGE_STRING='strace 4.18' 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 COPYRIGHT_YEAR 662 CODE_COVERAGE_RULES 663 CODE_COVERAGE_LDFLAGS 664 CODE_COVERAGE_CXXFLAGS 665 CODE_COVERAGE_CFLAGS 666 CODE_COVERAGE_CPPFLAGS 667 GENHTML 668 LCOV 669 GCOV 670 CODE_COVERAGE_ENABLED 671 CODE_COVERAGE_ENABLED_FALSE 672 CODE_COVERAGE_ENABLED_TRUE 673 SED 674 EGREP 675 GREP 676 RANLIB 677 WARN_CFLAGS_FOR_BUILD 678 LDFLAGS_FOR_BUILD 679 CPPFLAGS_FOR_BUILD 680 CFLAGS_FOR_BUILD 681 BUILD_OBJEXT 682 BUILD_EXEEXT 683 CPP_FOR_BUILD 684 ac_ct_CC_FOR_BUILD 685 CC_FOR_BUILD 686 WARN_CFLAGS 687 CPP 688 am__fastdepCC_FALSE 689 am__fastdepCC_TRUE 690 CCDEPMODE 691 am__nodep 692 AMDEPBACKSLASH 693 AMDEP_FALSE 694 AMDEP_TRUE 695 am__quote 696 am__include 697 DEPDIR 698 OBJEXT 699 EXEEXT 700 ac_ct_CC 701 CPPFLAGS 702 LDFLAGS 703 CFLAGS 704 CC 705 DEB_CHANGELOGTIME 706 RPM_CHANGELOGTIME 707 host_os 708 host_vendor 709 host_cpu 710 host 711 build_os 712 build_vendor 713 build_cpu 714 build 715 MAINT 716 MAINTAINER_MODE_FALSE 717 MAINTAINER_MODE_TRUE 718 AM_BACKSLASH 719 AM_DEFAULT_VERBOSITY 720 AM_DEFAULT_V 721 AM_V 722 am__untar 723 am__tar 724 AMTAR 725 am__leading_dot 726 SET_MAKE 727 AWK 728 mkdir_p 729 MKDIR_P 730 INSTALL_STRIP_PROGRAM 731 STRIP 732 install_sh 733 MAKEINFO 734 AUTOHEADER 735 AUTOMAKE 736 AUTOCONF 737 ACLOCAL 738 VERSION 739 PACKAGE 740 CYGPATH_W 741 am__isrc 742 INSTALL_DATA 743 INSTALL_SCRIPT 744 INSTALL_PROGRAM 745 target_alias 746 host_alias 747 build_alias 748 LIBS 749 ECHO_T 750 ECHO_N 751 ECHO_C 752 DEFS 753 mandir 754 localedir 755 libdir 756 psdir 757 pdfdir 758 dvidir 759 htmldir 760 infodir 761 docdir 762 oldincludedir 763 includedir 764 localstatedir 765 sharedstatedir 766 sysconfdir 767 datadir 768 datarootdir 769 libexecdir 770 sbindir 771 bindir 772 program_transform_name 773 prefix 774 exec_prefix 775 PACKAGE_URL 776 PACKAGE_BUGREPORT 777 PACKAGE_STRING 778 PACKAGE_VERSION 779 PACKAGE_TARNAME 780 PACKAGE_NAME 781 PATH_SEPARATOR 782 SHELL' 783 ac_subst_files='' 784 ac_user_opts=' 785 enable_option_checking 786 enable_silent_rules 787 enable_maintainer_mode 788 enable_dependency_tracking 789 enable_gcc_Werror 790 with_gcov 791 enable_code_coverage 792 enable_arm_oabi 793 with_libunwind 794 enable_valgrind 795 enable_valgrind_memcheck 796 enable_valgrind_helgrind 797 enable_valgrind_drd 798 enable_valgrind_sgcheck 799 ' 800 ac_precious_vars='build_alias 801 host_alias 802 target_alias 803 CC 804 CFLAGS 805 LDFLAGS 806 LIBS 807 CPPFLAGS 808 CPP' 809 810 811 # Initialize some variables set by options. 812 ac_init_help= 813 ac_init_version=false 814 ac_unrecognized_opts= 815 ac_unrecognized_sep= 816 # The variables have the same names as the options, with 817 # dashes changed to underlines. 818 cache_file=/dev/null 819 exec_prefix=NONE 820 no_create= 821 no_recursion= 822 prefix=NONE 823 program_prefix=NONE 824 program_suffix=NONE 825 program_transform_name=s,x,x, 826 silent= 827 site= 828 srcdir= 829 verbose= 830 x_includes=NONE 831 x_libraries=NONE 832 833 # Installation directory options. 834 # These are left unexpanded so users can "make install exec_prefix=/foo" 835 # and all the variables that are supposed to be based on exec_prefix 836 # by default will actually change. 837 # Use braces instead of parens because sh, perl, etc. also accept them. 838 # (The list follows the same order as the GNU Coding Standards.) 839 bindir='${exec_prefix}/bin' 840 sbindir='${exec_prefix}/sbin' 841 libexecdir='${exec_prefix}/libexec' 842 datarootdir='${prefix}/share' 843 datadir='${datarootdir}' 844 sysconfdir='${prefix}/etc' 845 sharedstatedir='${prefix}/com' 846 localstatedir='${prefix}/var' 847 includedir='${prefix}/include' 848 oldincludedir='/usr/include' 849 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 850 infodir='${datarootdir}/info' 851 htmldir='${docdir}' 852 dvidir='${docdir}' 853 pdfdir='${docdir}' 854 psdir='${docdir}' 855 libdir='${exec_prefix}/lib' 856 localedir='${datarootdir}/locale' 857 mandir='${datarootdir}/man' 858 859 ac_prev= 860 ac_dashdash= 861 for ac_option 862 do 863 # If the previous option needs an argument, assign it. 864 if test -n "$ac_prev"; then 865 eval $ac_prev=\$ac_option 866 ac_prev= 867 continue 868 fi 869 870 case $ac_option in 871 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 872 *=) ac_optarg= ;; 873 *) ac_optarg=yes ;; 874 esac 875 876 # Accept the important Cygnus configure options, so we can diagnose typos. 877 878 case $ac_dashdash$ac_option in 879 --) 880 ac_dashdash=yes ;; 881 882 -bindir | --bindir | --bindi | --bind | --bin | --bi) 883 ac_prev=bindir ;; 884 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 885 bindir=$ac_optarg ;; 886 887 -build | --build | --buil | --bui | --bu) 888 ac_prev=build_alias ;; 889 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 890 build_alias=$ac_optarg ;; 891 892 -cache-file | --cache-file | --cache-fil | --cache-fi \ 893 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 894 ac_prev=cache_file ;; 895 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 896 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 897 cache_file=$ac_optarg ;; 898 899 --config-cache | -C) 900 cache_file=config.cache ;; 901 902 -datadir | --datadir | --datadi | --datad) 903 ac_prev=datadir ;; 904 -datadir=* | --datadir=* | --datadi=* | --datad=*) 905 datadir=$ac_optarg ;; 906 907 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 908 | --dataroo | --dataro | --datar) 909 ac_prev=datarootdir ;; 910 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 911 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 912 datarootdir=$ac_optarg ;; 913 914 -disable-* | --disable-*) 915 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 916 # Reject names that are not valid shell variable names. 917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 918 as_fn_error $? "invalid feature name: $ac_useropt" 919 ac_useropt_orig=$ac_useropt 920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 921 case $ac_user_opts in 922 *" 923 "enable_$ac_useropt" 924 "*) ;; 925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 926 ac_unrecognized_sep=', ';; 927 esac 928 eval enable_$ac_useropt=no ;; 929 930 -docdir | --docdir | --docdi | --doc | --do) 931 ac_prev=docdir ;; 932 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 933 docdir=$ac_optarg ;; 934 935 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 936 ac_prev=dvidir ;; 937 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 938 dvidir=$ac_optarg ;; 939 940 -enable-* | --enable-*) 941 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 942 # Reject names that are not valid shell variable names. 943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 944 as_fn_error $? "invalid feature name: $ac_useropt" 945 ac_useropt_orig=$ac_useropt 946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 947 case $ac_user_opts in 948 *" 949 "enable_$ac_useropt" 950 "*) ;; 951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 952 ac_unrecognized_sep=', ';; 953 esac 954 eval enable_$ac_useropt=\$ac_optarg ;; 955 956 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 957 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 958 | --exec | --exe | --ex) 959 ac_prev=exec_prefix ;; 960 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 961 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 962 | --exec=* | --exe=* | --ex=*) 963 exec_prefix=$ac_optarg ;; 964 965 -gas | --gas | --ga | --g) 966 # Obsolete; use --with-gas. 967 with_gas=yes ;; 968 969 -help | --help | --hel | --he | -h) 970 ac_init_help=long ;; 971 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 972 ac_init_help=recursive ;; 973 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 974 ac_init_help=short ;; 975 976 -host | --host | --hos | --ho) 977 ac_prev=host_alias ;; 978 -host=* | --host=* | --hos=* | --ho=*) 979 host_alias=$ac_optarg ;; 980 981 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 982 ac_prev=htmldir ;; 983 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 984 | --ht=*) 985 htmldir=$ac_optarg ;; 986 987 -includedir | --includedir | --includedi | --included | --include \ 988 | --includ | --inclu | --incl | --inc) 989 ac_prev=includedir ;; 990 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 991 | --includ=* | --inclu=* | --incl=* | --inc=*) 992 includedir=$ac_optarg ;; 993 994 -infodir | --infodir | --infodi | --infod | --info | --inf) 995 ac_prev=infodir ;; 996 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 997 infodir=$ac_optarg ;; 998 999 -libdir | --libdir | --libdi | --libd) 1000 ac_prev=libdir ;; 1001 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1002 libdir=$ac_optarg ;; 1003 1004 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1005 | --libexe | --libex | --libe) 1006 ac_prev=libexecdir ;; 1007 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1008 | --libexe=* | --libex=* | --libe=*) 1009 libexecdir=$ac_optarg ;; 1010 1011 -localedir | --localedir | --localedi | --localed | --locale) 1012 ac_prev=localedir ;; 1013 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1014 localedir=$ac_optarg ;; 1015 1016 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1017 | --localstate | --localstat | --localsta | --localst | --locals) 1018 ac_prev=localstatedir ;; 1019 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1020 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1021 localstatedir=$ac_optarg ;; 1022 1023 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1024 ac_prev=mandir ;; 1025 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1026 mandir=$ac_optarg ;; 1027 1028 -nfp | --nfp | --nf) 1029 # Obsolete; use --without-fp. 1030 with_fp=no ;; 1031 1032 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1033 | --no-cr | --no-c | -n) 1034 no_create=yes ;; 1035 1036 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1037 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1038 no_recursion=yes ;; 1039 1040 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1041 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1042 | --oldin | --oldi | --old | --ol | --o) 1043 ac_prev=oldincludedir ;; 1044 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1045 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1046 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1047 oldincludedir=$ac_optarg ;; 1048 1049 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1050 ac_prev=prefix ;; 1051 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1052 prefix=$ac_optarg ;; 1053 1054 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1055 | --program-pre | --program-pr | --program-p) 1056 ac_prev=program_prefix ;; 1057 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1058 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1059 program_prefix=$ac_optarg ;; 1060 1061 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1062 | --program-suf | --program-su | --program-s) 1063 ac_prev=program_suffix ;; 1064 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1065 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1066 program_suffix=$ac_optarg ;; 1067 1068 -program-transform-name | --program-transform-name \ 1069 | --program-transform-nam | --program-transform-na \ 1070 | --program-transform-n | --program-transform- \ 1071 | --program-transform | --program-transfor \ 1072 | --program-transfo | --program-transf \ 1073 | --program-trans | --program-tran \ 1074 | --progr-tra | --program-tr | --program-t) 1075 ac_prev=program_transform_name ;; 1076 -program-transform-name=* | --program-transform-name=* \ 1077 | --program-transform-nam=* | --program-transform-na=* \ 1078 | --program-transform-n=* | --program-transform-=* \ 1079 | --program-transform=* | --program-transfor=* \ 1080 | --program-transfo=* | --program-transf=* \ 1081 | --program-trans=* | --program-tran=* \ 1082 | --progr-tra=* | --program-tr=* | --program-t=*) 1083 program_transform_name=$ac_optarg ;; 1084 1085 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1086 ac_prev=pdfdir ;; 1087 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1088 pdfdir=$ac_optarg ;; 1089 1090 -psdir | --psdir | --psdi | --psd | --ps) 1091 ac_prev=psdir ;; 1092 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1093 psdir=$ac_optarg ;; 1094 1095 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1096 | -silent | --silent | --silen | --sile | --sil) 1097 silent=yes ;; 1098 1099 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1100 ac_prev=sbindir ;; 1101 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1102 | --sbi=* | --sb=*) 1103 sbindir=$ac_optarg ;; 1104 1105 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1106 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1107 | --sharedst | --shareds | --shared | --share | --shar \ 1108 | --sha | --sh) 1109 ac_prev=sharedstatedir ;; 1110 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1111 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1112 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1113 | --sha=* | --sh=*) 1114 sharedstatedir=$ac_optarg ;; 1115 1116 -site | --site | --sit) 1117 ac_prev=site ;; 1118 -site=* | --site=* | --sit=*) 1119 site=$ac_optarg ;; 1120 1121 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1122 ac_prev=srcdir ;; 1123 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1124 srcdir=$ac_optarg ;; 1125 1126 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1127 | --syscon | --sysco | --sysc | --sys | --sy) 1128 ac_prev=sysconfdir ;; 1129 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1130 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1131 sysconfdir=$ac_optarg ;; 1132 1133 -target | --target | --targe | --targ | --tar | --ta | --t) 1134 ac_prev=target_alias ;; 1135 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1136 target_alias=$ac_optarg ;; 1137 1138 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1139 verbose=yes ;; 1140 1141 -version | --version | --versio | --versi | --vers | -V) 1142 ac_init_version=: ;; 1143 1144 -with-* | --with-*) 1145 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1146 # Reject names that are not valid shell variable names. 1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1148 as_fn_error $? "invalid package name: $ac_useropt" 1149 ac_useropt_orig=$ac_useropt 1150 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1151 case $ac_user_opts in 1152 *" 1153 "with_$ac_useropt" 1154 "*) ;; 1155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1156 ac_unrecognized_sep=', ';; 1157 esac 1158 eval with_$ac_useropt=\$ac_optarg ;; 1159 1160 -without-* | --without-*) 1161 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1162 # Reject names that are not valid shell variable names. 1163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1164 as_fn_error $? "invalid package name: $ac_useropt" 1165 ac_useropt_orig=$ac_useropt 1166 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1167 case $ac_user_opts in 1168 *" 1169 "with_$ac_useropt" 1170 "*) ;; 1171 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1172 ac_unrecognized_sep=', ';; 1173 esac 1174 eval with_$ac_useropt=no ;; 1175 1176 --x) 1177 # Obsolete; use --with-x. 1178 with_x=yes ;; 1179 1180 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1181 | --x-incl | --x-inc | --x-in | --x-i) 1182 ac_prev=x_includes ;; 1183 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1184 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1185 x_includes=$ac_optarg ;; 1186 1187 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1188 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1189 ac_prev=x_libraries ;; 1190 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1191 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1192 x_libraries=$ac_optarg ;; 1193 1194 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1195 Try \`$0 --help' for more information" 1196 ;; 1197 1198 *=*) 1199 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1200 # Reject names that are not valid shell variable names. 1201 case $ac_envvar in #( 1202 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1203 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1204 esac 1205 eval $ac_envvar=\$ac_optarg 1206 export $ac_envvar ;; 1207 1208 *) 1209 # FIXME: should be removed in autoconf 3.0. 1210 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1211 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1212 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1213 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1214 ;; 1215 1216 esac 1217 done 1218 1219 if test -n "$ac_prev"; then 1220 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1221 as_fn_error $? "missing argument to $ac_option" 1222 fi 1223 1224 if test -n "$ac_unrecognized_opts"; then 1225 case $enable_option_checking in 1226 no) ;; 1227 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1228 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1229 esac 1230 fi 1231 1232 # Check all directory arguments for consistency. 1233 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1234 datadir sysconfdir sharedstatedir localstatedir includedir \ 1235 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1236 libdir localedir mandir 1237 do 1238 eval ac_val=\$$ac_var 1239 # Remove trailing slashes. 1240 case $ac_val in 1241 */ ) 1242 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1243 eval $ac_var=\$ac_val;; 1244 esac 1245 # Be sure to have absolute directory names. 1246 case $ac_val in 1247 [\\/$]* | ?:[\\/]* ) continue;; 1248 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1249 esac 1250 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1251 done 1252 1253 # There might be people who depend on the old broken behavior: `$host' 1254 # used to hold the argument of --host etc. 1255 # FIXME: To remove some day. 1256 build=$build_alias 1257 host=$host_alias 1258 target=$target_alias 1259 1260 # FIXME: To remove some day. 1261 if test "x$host_alias" != x; then 1262 if test "x$build_alias" = x; then 1263 cross_compiling=maybe 1264 elif test "x$build_alias" != "x$host_alias"; then 1265 cross_compiling=yes 1266 fi 1267 fi 1268 1269 ac_tool_prefix= 1270 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1271 1272 test "$silent" = yes && exec 6>/dev/null 1273 1274 1275 ac_pwd=`pwd` && test -n "$ac_pwd" && 1276 ac_ls_di=`ls -di .` && 1277 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1278 as_fn_error $? "working directory cannot be determined" 1279 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1280 as_fn_error $? "pwd does not report name of working directory" 1281 1282 1283 # Find the source files, if location was not specified. 1284 if test -z "$srcdir"; then 1285 ac_srcdir_defaulted=yes 1286 # Try the directory containing this script, then the parent directory. 1287 ac_confdir=`$as_dirname -- "$as_myself" || 1288 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1289 X"$as_myself" : 'X\(//\)[^/]' \| \ 1290 X"$as_myself" : 'X\(//\)$' \| \ 1291 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1292 $as_echo X"$as_myself" | 1293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1294 s//\1/ 1295 q 1296 } 1297 /^X\(\/\/\)[^/].*/{ 1298 s//\1/ 1299 q 1300 } 1301 /^X\(\/\/\)$/{ 1302 s//\1/ 1303 q 1304 } 1305 /^X\(\/\).*/{ 1306 s//\1/ 1307 q 1308 } 1309 s/.*/./; q'` 1310 srcdir=$ac_confdir 1311 if test ! -r "$srcdir/$ac_unique_file"; then 1312 srcdir=.. 1313 fi 1314 else 1315 ac_srcdir_defaulted=no 1316 fi 1317 if test ! -r "$srcdir/$ac_unique_file"; then 1318 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1319 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1320 fi 1321 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1322 ac_abs_confdir=`( 1323 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1324 pwd)` 1325 # When building in place, set srcdir=. 1326 if test "$ac_abs_confdir" = "$ac_pwd"; then 1327 srcdir=. 1328 fi 1329 # Remove unnecessary trailing slashes from srcdir. 1330 # Double slashes in file names in object file debugging info 1331 # mess up M-x gdb in Emacs. 1332 case $srcdir in 1333 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1334 esac 1335 for ac_var in $ac_precious_vars; do 1336 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1337 eval ac_env_${ac_var}_value=\$${ac_var} 1338 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1339 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1340 done 1341 1342 # 1343 # Report the --help message. 1344 # 1345 if test "$ac_init_help" = "long"; then 1346 # Omit some internal or obsolete options to make the list less imposing. 1347 # This message is too long to be a string in the A/UX 3.1 sh. 1348 cat <<_ACEOF 1349 \`configure' configures strace 4.18 to adapt to many kinds of systems. 1350 1351 Usage: $0 [OPTION]... [VAR=VALUE]... 1352 1353 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1354 VAR=VALUE. See below for descriptions of some of the useful variables. 1355 1356 Defaults for the options are specified in brackets. 1357 1358 Configuration: 1359 -h, --help display this help and exit 1360 --help=short display options specific to this package 1361 --help=recursive display the short help of all the included packages 1362 -V, --version display version information and exit 1363 -q, --quiet, --silent do not print \`checking ...' messages 1364 --cache-file=FILE cache test results in FILE [disabled] 1365 -C, --config-cache alias for \`--cache-file=config.cache' 1366 -n, --no-create do not create output files 1367 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1368 1369 Installation directories: 1370 --prefix=PREFIX install architecture-independent files in PREFIX 1371 [$ac_default_prefix] 1372 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1373 [PREFIX] 1374 1375 By default, \`make install' will install all the files in 1376 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1377 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1378 for instance \`--prefix=\$HOME'. 1379 1380 For better control, use the options below. 1381 1382 Fine tuning of the installation directories: 1383 --bindir=DIR user executables [EPREFIX/bin] 1384 --sbindir=DIR system admin executables [EPREFIX/sbin] 1385 --libexecdir=DIR program executables [EPREFIX/libexec] 1386 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1387 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1388 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1389 --libdir=DIR object code libraries [EPREFIX/lib] 1390 --includedir=DIR C header files [PREFIX/include] 1391 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1392 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1393 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1394 --infodir=DIR info documentation [DATAROOTDIR/info] 1395 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1396 --mandir=DIR man documentation [DATAROOTDIR/man] 1397 --docdir=DIR documentation root [DATAROOTDIR/doc/strace] 1398 --htmldir=DIR html documentation [DOCDIR] 1399 --dvidir=DIR dvi documentation [DOCDIR] 1400 --pdfdir=DIR pdf documentation [DOCDIR] 1401 --psdir=DIR ps documentation [DOCDIR] 1402 _ACEOF 1403 1404 cat <<\_ACEOF 1405 1406 Program names: 1407 --program-prefix=PREFIX prepend PREFIX to installed program names 1408 --program-suffix=SUFFIX append SUFFIX to installed program names 1409 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1410 1411 System types: 1412 --build=BUILD configure for building on BUILD [guessed] 1413 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1414 _ACEOF 1415 fi 1416 1417 if test -n "$ac_init_help"; then 1418 case $ac_init_help in 1419 short | recursive ) echo "Configuration of strace 4.18:";; 1420 esac 1421 cat <<\_ACEOF 1422 1423 Optional Features: 1424 --disable-option-checking ignore unrecognized --enable/--with options 1425 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1426 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1427 --enable-silent-rules less verbose build output (undo: "make V=1") 1428 --disable-silent-rules verbose build output (undo: "make V=0") 1429 --enable-maintainer-mode 1430 enable make rules and dependencies not useful (and 1431 sometimes confusing) to the casual installer 1432 --enable-dependency-tracking 1433 do not reject slow dependency extractors 1434 --disable-dependency-tracking 1435 speeds up one-time build 1436 --enable-gcc-Werror turn on gcc's -Werror option 1437 --enable-code-coverage Whether to enable code coverage support 1438 --enable-arm-oabi enable OABI support on ARM EABI 1439 --enable-valgrind Whether to enable Valgrind on the unit tests 1440 --disable-valgrind-memcheck 1441 Whether to skip memcheck during the Valgrind tests 1442 --disable-valgrind-helgrind 1443 Whether to skip helgrind during the Valgrind tests 1444 --disable-valgrind-drd Whether to skip drd during the Valgrind tests 1445 --enable-valgrind-sgcheck 1446 Whether to use sgcheck during the Valgrind tests 1447 1448 Optional Packages: 1449 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1450 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1451 --with-gcov=GCOV use given GCOV for coverage (GCOV=gcov). 1452 --with-libunwind use libunwind to implement stack tracing support 1453 1454 Some influential environment variables: 1455 CC C compiler command 1456 CFLAGS C compiler flags 1457 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1458 nonstandard directory <lib dir> 1459 LIBS libraries to pass to the linker, e.g. -l<library> 1460 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1461 you have headers in a nonstandard directory <include dir> 1462 CPP C preprocessor 1463 1464 Use these variables to override the choices made by `configure' or to help 1465 it to find libraries and programs with nonstandard names/locations. 1466 1467 Report bugs to <strace-devel (at] lists.sourceforge.net>. 1468 strace home page: <https://strace.io>. 1469 _ACEOF 1470 ac_status=$? 1471 fi 1472 1473 if test "$ac_init_help" = "recursive"; then 1474 # If there are subdirs, report their specific --help. 1475 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1476 test -d "$ac_dir" || 1477 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1478 continue 1479 ac_builddir=. 1480 1481 case "$ac_dir" in 1482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1483 *) 1484 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1485 # A ".." for each directory in $ac_dir_suffix. 1486 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1487 case $ac_top_builddir_sub in 1488 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1489 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1490 esac ;; 1491 esac 1492 ac_abs_top_builddir=$ac_pwd 1493 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1494 # for backward compatibility: 1495 ac_top_builddir=$ac_top_build_prefix 1496 1497 case $srcdir in 1498 .) # We are building in place. 1499 ac_srcdir=. 1500 ac_top_srcdir=$ac_top_builddir_sub 1501 ac_abs_top_srcdir=$ac_pwd ;; 1502 [\\/]* | ?:[\\/]* ) # Absolute name. 1503 ac_srcdir=$srcdir$ac_dir_suffix; 1504 ac_top_srcdir=$srcdir 1505 ac_abs_top_srcdir=$srcdir ;; 1506 *) # Relative name. 1507 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1508 ac_top_srcdir=$ac_top_build_prefix$srcdir 1509 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1510 esac 1511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1512 1513 cd "$ac_dir" || { ac_status=$?; continue; } 1514 # Check for guested configure. 1515 if test -f "$ac_srcdir/configure.gnu"; then 1516 echo && 1517 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1518 elif test -f "$ac_srcdir/configure"; then 1519 echo && 1520 $SHELL "$ac_srcdir/configure" --help=recursive 1521 else 1522 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1523 fi || ac_status=$? 1524 cd "$ac_pwd" || { ac_status=$?; break; } 1525 done 1526 fi 1527 1528 test -n "$ac_init_help" && exit $ac_status 1529 if $ac_init_version; then 1530 cat <<\_ACEOF 1531 strace configure 4.18 1532 generated by GNU Autoconf 2.69 1533 1534 Copyright (C) 2012 Free Software Foundation, Inc. 1535 This configure script is free software; the Free Software Foundation 1536 gives unlimited permission to copy, distribute and modify it. 1537 1538 Copyright (c) 1999-2017 The strace developers. 1539 _ACEOF 1540 exit 1541 fi 1542 1543 ## ------------------------ ## 1544 ## Autoconf initialization. ## 1545 ## ------------------------ ## 1546 1547 # ac_fn_c_try_compile LINENO 1548 # -------------------------- 1549 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1550 ac_fn_c_try_compile () 1551 { 1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1553 rm -f conftest.$ac_objext 1554 if { { ac_try="$ac_compile" 1555 case "(($ac_try" in 1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1557 *) ac_try_echo=$ac_try;; 1558 esac 1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1560 $as_echo "$ac_try_echo"; } >&5 1561 (eval "$ac_compile") 2>conftest.err 1562 ac_status=$? 1563 if test -s conftest.err; then 1564 grep -v '^ *+' conftest.err >conftest.er1 1565 cat conftest.er1 >&5 1566 mv -f conftest.er1 conftest.err 1567 fi 1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1569 test $ac_status = 0; } && { 1570 test -z "$ac_c_werror_flag" || 1571 test ! -s conftest.err 1572 } && test -s conftest.$ac_objext; then : 1573 ac_retval=0 1574 else 1575 $as_echo "$as_me: failed program was:" >&5 1576 sed 's/^/| /' conftest.$ac_ext >&5 1577 1578 ac_retval=1 1579 fi 1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1581 as_fn_set_status $ac_retval 1582 1583 } # ac_fn_c_try_compile 1584 1585 # ac_fn_c_try_cpp LINENO 1586 # ---------------------- 1587 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1588 ac_fn_c_try_cpp () 1589 { 1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1591 if { { ac_try="$ac_cpp conftest.$ac_ext" 1592 case "(($ac_try" in 1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1594 *) ac_try_echo=$ac_try;; 1595 esac 1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1597 $as_echo "$ac_try_echo"; } >&5 1598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1599 ac_status=$? 1600 if test -s conftest.err; then 1601 grep -v '^ *+' conftest.err >conftest.er1 1602 cat conftest.er1 >&5 1603 mv -f conftest.er1 conftest.err 1604 fi 1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1606 test $ac_status = 0; } > conftest.i && { 1607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1608 test ! -s conftest.err 1609 }; then : 1610 ac_retval=0 1611 else 1612 $as_echo "$as_me: failed program was:" >&5 1613 sed 's/^/| /' conftest.$ac_ext >&5 1614 1615 ac_retval=1 1616 fi 1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1618 as_fn_set_status $ac_retval 1619 1620 } # ac_fn_c_try_cpp 1621 1622 # ac_fn_c_try_link LINENO 1623 # ----------------------- 1624 # Try to link conftest.$ac_ext, and return whether this succeeded. 1625 ac_fn_c_try_link () 1626 { 1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1628 rm -f conftest.$ac_objext conftest$ac_exeext 1629 if { { ac_try="$ac_link" 1630 case "(($ac_try" in 1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1632 *) ac_try_echo=$ac_try;; 1633 esac 1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1635 $as_echo "$ac_try_echo"; } >&5 1636 (eval "$ac_link") 2>conftest.err 1637 ac_status=$? 1638 if test -s conftest.err; then 1639 grep -v '^ *+' conftest.err >conftest.er1 1640 cat conftest.er1 >&5 1641 mv -f conftest.er1 conftest.err 1642 fi 1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1644 test $ac_status = 0; } && { 1645 test -z "$ac_c_werror_flag" || 1646 test ! -s conftest.err 1647 } && test -s conftest$ac_exeext && { 1648 test "$cross_compiling" = yes || 1649 test -x conftest$ac_exeext 1650 }; then : 1651 ac_retval=0 1652 else 1653 $as_echo "$as_me: failed program was:" >&5 1654 sed 's/^/| /' conftest.$ac_ext >&5 1655 1656 ac_retval=1 1657 fi 1658 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1659 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1660 # interfere with the next link command; also delete a directory that is 1661 # left behind by Apple's compiler. We do this before executing the actions. 1662 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1664 as_fn_set_status $ac_retval 1665 1666 } # ac_fn_c_try_link 1667 1668 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1669 # ------------------------------------------------------- 1670 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1671 # the include files in INCLUDES and setting the cache variable VAR 1672 # accordingly. 1673 ac_fn_c_check_header_mongrel () 1674 { 1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1676 if eval \${$3+:} false; then : 1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1678 $as_echo_n "checking for $2... " >&6; } 1679 if eval \${$3+:} false; then : 1680 $as_echo_n "(cached) " >&6 1681 fi 1682 eval ac_res=\$$3 1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1684 $as_echo "$ac_res" >&6; } 1685 else 1686 # Is the header compilable? 1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1688 $as_echo_n "checking $2 usability... " >&6; } 1689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1690 /* end confdefs.h. */ 1691 $4 1692 #include <$2> 1693 _ACEOF 1694 if ac_fn_c_try_compile "$LINENO"; then : 1695 ac_header_compiler=yes 1696 else 1697 ac_header_compiler=no 1698 fi 1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1701 $as_echo "$ac_header_compiler" >&6; } 1702 1703 # Is the header present? 1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1705 $as_echo_n "checking $2 presence... " >&6; } 1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1707 /* end confdefs.h. */ 1708 #include <$2> 1709 _ACEOF 1710 if ac_fn_c_try_cpp "$LINENO"; then : 1711 ac_header_preproc=yes 1712 else 1713 ac_header_preproc=no 1714 fi 1715 rm -f conftest.err conftest.i conftest.$ac_ext 1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1717 $as_echo "$ac_header_preproc" >&6; } 1718 1719 # So? What about this header? 1720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1721 yes:no: ) 1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1723 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1726 ;; 1727 no:yes:* ) 1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1729 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1731 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1733 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1735 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1737 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1738 ( $as_echo "## ------------------------------------------------- ## 1739 ## Report this to strace-devel (at] lists.sourceforge.net ## 1740 ## ------------------------------------------------- ##" 1741 ) | sed "s/^/$as_me: WARNING: /" >&2 1742 ;; 1743 esac 1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1745 $as_echo_n "checking for $2... " >&6; } 1746 if eval \${$3+:} false; then : 1747 $as_echo_n "(cached) " >&6 1748 else 1749 eval "$3=\$ac_header_compiler" 1750 fi 1751 eval ac_res=\$$3 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1753 $as_echo "$ac_res" >&6; } 1754 fi 1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1756 1757 } # ac_fn_c_check_header_mongrel 1758 1759 # ac_fn_c_try_run LINENO 1760 # ---------------------- 1761 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1762 # that executables *can* be run. 1763 ac_fn_c_try_run () 1764 { 1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1766 if { { ac_try="$ac_link" 1767 case "(($ac_try" in 1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1769 *) ac_try_echo=$ac_try;; 1770 esac 1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1772 $as_echo "$ac_try_echo"; } >&5 1773 (eval "$ac_link") 2>&5 1774 ac_status=$? 1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1776 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1777 { { case "(($ac_try" in 1778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1779 *) ac_try_echo=$ac_try;; 1780 esac 1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1782 $as_echo "$ac_try_echo"; } >&5 1783 (eval "$ac_try") 2>&5 1784 ac_status=$? 1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1786 test $ac_status = 0; }; }; then : 1787 ac_retval=0 1788 else 1789 $as_echo "$as_me: program exited with status $ac_status" >&5 1790 $as_echo "$as_me: failed program was:" >&5 1791 sed 's/^/| /' conftest.$ac_ext >&5 1792 1793 ac_retval=$ac_status 1794 fi 1795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1797 as_fn_set_status $ac_retval 1798 1799 } # ac_fn_c_try_run 1800 1801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1802 # ------------------------------------------------------- 1803 # Tests whether HEADER exists and can be compiled using the include files in 1804 # INCLUDES, setting the cache variable VAR accordingly. 1805 ac_fn_c_check_header_compile () 1806 { 1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1809 $as_echo_n "checking for $2... " >&6; } 1810 if eval \${$3+:} false; then : 1811 $as_echo_n "(cached) " >&6 1812 else 1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1814 /* end confdefs.h. */ 1815 $4 1816 #include <$2> 1817 _ACEOF 1818 if ac_fn_c_try_compile "$LINENO"; then : 1819 eval "$3=yes" 1820 else 1821 eval "$3=no" 1822 fi 1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1824 fi 1825 eval ac_res=\$$3 1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1827 $as_echo "$ac_res" >&6; } 1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1829 1830 } # ac_fn_c_check_header_compile 1831 1832 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1833 # -------------------------------------------- 1834 # Tries to find the compile-time value of EXPR in a program that includes 1835 # INCLUDES, setting VAR accordingly. Returns whether the value could be 1836 # computed 1837 ac_fn_c_compute_int () 1838 { 1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1840 if test "$cross_compiling" = yes; then 1841 # Depending upon the size, compute the lo and hi bounds. 1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1843 /* end confdefs.h. */ 1844 $4 1845 int 1846 main () 1847 { 1848 static int test_array [1 - 2 * !(($2) >= 0)]; 1849 test_array [0] = 0; 1850 return test_array [0]; 1851 1852 ; 1853 return 0; 1854 } 1855 _ACEOF 1856 if ac_fn_c_try_compile "$LINENO"; then : 1857 ac_lo=0 ac_mid=0 1858 while :; do 1859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1860 /* end confdefs.h. */ 1861 $4 1862 int 1863 main () 1864 { 1865 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1866 test_array [0] = 0; 1867 return test_array [0]; 1868 1869 ; 1870 return 0; 1871 } 1872 _ACEOF 1873 if ac_fn_c_try_compile "$LINENO"; then : 1874 ac_hi=$ac_mid; break 1875 else 1876 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1877 if test $ac_lo -le $ac_mid; then 1878 ac_lo= ac_hi= 1879 break 1880 fi 1881 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1882 fi 1883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1884 done 1885 else 1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1887 /* end confdefs.h. */ 1888 $4 1889 int 1890 main () 1891 { 1892 static int test_array [1 - 2 * !(($2) < 0)]; 1893 test_array [0] = 0; 1894 return test_array [0]; 1895 1896 ; 1897 return 0; 1898 } 1899 _ACEOF 1900 if ac_fn_c_try_compile "$LINENO"; then : 1901 ac_hi=-1 ac_mid=-1 1902 while :; do 1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1904 /* end confdefs.h. */ 1905 $4 1906 int 1907 main () 1908 { 1909 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1910 test_array [0] = 0; 1911 return test_array [0]; 1912 1913 ; 1914 return 0; 1915 } 1916 _ACEOF 1917 if ac_fn_c_try_compile "$LINENO"; then : 1918 ac_lo=$ac_mid; break 1919 else 1920 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1921 if test $ac_mid -le $ac_hi; then 1922 ac_lo= ac_hi= 1923 break 1924 fi 1925 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1926 fi 1927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1928 done 1929 else 1930 ac_lo= ac_hi= 1931 fi 1932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1933 fi 1934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1935 # Binary search between lo and hi bounds. 1936 while test "x$ac_lo" != "x$ac_hi"; do 1937 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1939 /* end confdefs.h. */ 1940 $4 1941 int 1942 main () 1943 { 1944 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1945 test_array [0] = 0; 1946 return test_array [0]; 1947 1948 ; 1949 return 0; 1950 } 1951 _ACEOF 1952 if ac_fn_c_try_compile "$LINENO"; then : 1953 ac_hi=$ac_mid 1954 else 1955 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1956 fi 1957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1958 done 1959 case $ac_lo in #(( 1960 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1961 '') ac_retval=1 ;; 1962 esac 1963 else 1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1965 /* end confdefs.h. */ 1966 $4 1967 static long int longval () { return $2; } 1968 static unsigned long int ulongval () { return $2; } 1969 #include <stdio.h> 1970 #include <stdlib.h> 1971 int 1972 main () 1973 { 1974 1975 FILE *f = fopen ("conftest.val", "w"); 1976 if (! f) 1977 return 1; 1978 if (($2) < 0) 1979 { 1980 long int i = longval (); 1981 if (i != ($2)) 1982 return 1; 1983 fprintf (f, "%ld", i); 1984 } 1985 else 1986 { 1987 unsigned long int i = ulongval (); 1988 if (i != ($2)) 1989 return 1; 1990 fprintf (f, "%lu", i); 1991 } 1992 /* Do not output a trailing newline, as this causes \r\n confusion 1993 on some platforms. */ 1994 return ferror (f) || fclose (f) != 0; 1995 1996 ; 1997 return 0; 1998 } 1999 _ACEOF 2000 if ac_fn_c_try_run "$LINENO"; then : 2001 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2002 else 2003 ac_retval=1 2004 fi 2005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2006 conftest.$ac_objext conftest.beam conftest.$ac_ext 2007 rm -f conftest.val 2008 2009 fi 2010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2011 as_fn_set_status $ac_retval 2012 2013 } # ac_fn_c_compute_int 2014 2015 # ac_fn_c_check_func LINENO FUNC VAR 2016 # ---------------------------------- 2017 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2018 ac_fn_c_check_func () 2019 { 2020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2022 $as_echo_n "checking for $2... " >&6; } 2023 if eval \${$3+:} false; then : 2024 $as_echo_n "(cached) " >&6 2025 else 2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2027 /* end confdefs.h. */ 2028 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2029 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2030 #define $2 innocuous_$2 2031 2032 /* Tell GNU C headers to include stubs. */ 2033 #define __need_GNU_STUBS_H 2034 2035 /* System header to define __stub macros and hopefully few prototypes, 2036 which can conflict with char $2 (); below. 2037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2038 <limits.h> exists even on freestanding compilers. */ 2039 2040 #ifdef __STDC__ 2041 # include <limits.h> 2042 #else 2043 # include <assert.h> 2044 #endif 2045 2046 #undef $2 2047 2048 /* Override any GCC internal prototype to avoid an error. 2049 Use char because int might match the return type of a GCC 2050 builtin and then its argument prototype would still apply. */ 2051 #ifdef __cplusplus 2052 extern "C" 2053 #endif 2054 char $2 (); 2055 /* The GNU C library defines this for functions which it implements 2056 to always fail with ENOSYS. Some functions are actually named 2057 something starting with __ and the normal name is an alias. */ 2058 #if defined __stub_$2 || defined __stub___$2 2059 choke me 2060 #endif 2061 2062 int 2063 main () 2064 { 2065 return $2 (); 2066 ; 2067 return 0; 2068 } 2069 _ACEOF 2070 if ac_fn_c_try_link "$LINENO"; then : 2071 eval "$3=yes" 2072 else 2073 if test "$GCC" = yes; then 2074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2075 /* end confdefs.h. */ 2076 #undef $2 2077 /* Declare this function with the same prototype as __builtin_$2. 2078 This removes a warning about conflicting types for built-in function $2 */ 2079 __typeof__(__builtin_$2) $2; 2080 __typeof__(__builtin_$2) *f = $2; 2081 2082 int 2083 main () 2084 { 2085 return f != $2; 2086 ; 2087 return 0; 2088 } 2089 _ACEOF 2090 if ac_fn_c_try_link "$LINENO"; then : 2091 eval "$3=yes" 2092 else 2093 eval "$3=no" 2094 fi 2095 rm -f core conftest.err conftest.$ac_objext \ 2096 conftest$ac_exeext conftest.$ac_ext 2097 else 2098 eval "$3=no" 2099 fi 2100 fi 2101 rm -f core conftest.err conftest.$ac_objext \ 2102 conftest$ac_exeext conftest.$ac_ext 2103 fi 2104 eval ac_res=\$$3 2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2106 $as_echo "$ac_res" >&6; } 2107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2108 2109 } # ac_fn_c_check_func 2110 2111 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2112 # ------------------------------------------- 2113 # Tests whether TYPE exists after having included INCLUDES, setting cache 2114 # variable VAR accordingly. 2115 ac_fn_c_check_type () 2116 { 2117 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2119 $as_echo_n "checking for $2... " >&6; } 2120 if eval \${$3+:} false; then : 2121 $as_echo_n "(cached) " >&6 2122 else 2123 eval "$3=no" 2124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2125 /* end confdefs.h. */ 2126 $4 2127 int 2128 main () 2129 { 2130 if (sizeof ($2)) 2131 return 0; 2132 ; 2133 return 0; 2134 } 2135 _ACEOF 2136 if ac_fn_c_try_compile "$LINENO"; then : 2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2138 /* end confdefs.h. */ 2139 $4 2140 int 2141 main () 2142 { 2143 if (sizeof (($2))) 2144 return 0; 2145 ; 2146 return 0; 2147 } 2148 _ACEOF 2149 if ac_fn_c_try_compile "$LINENO"; then : 2150 2151 else 2152 eval "$3=yes" 2153 fi 2154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2155 fi 2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2157 fi 2158 eval ac_res=\$$3 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2160 $as_echo "$ac_res" >&6; } 2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2162 2163 } # ac_fn_c_check_type 2164 2165 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2166 # ---------------------------------------------------- 2167 # Tries to find if the field MEMBER exists in type AGGR, after including 2168 # INCLUDES, setting cache variable VAR accordingly. 2169 ac_fn_c_check_member () 2170 { 2171 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2173 $as_echo_n "checking for $2.$3... " >&6; } 2174 if eval \${$4+:} false; then : 2175 $as_echo_n "(cached) " >&6 2176 else 2177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2178 /* end confdefs.h. */ 2179 $5 2180 int 2181 main () 2182 { 2183 static $2 ac_aggr; 2184 if (ac_aggr.$3) 2185 return 0; 2186 ; 2187 return 0; 2188 } 2189 _ACEOF 2190 if ac_fn_c_try_compile "$LINENO"; then : 2191 eval "$4=yes" 2192 else 2193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2194 /* end confdefs.h. */ 2195 $5 2196 int 2197 main () 2198 { 2199 static $2 ac_aggr; 2200 if (sizeof ac_aggr.$3) 2201 return 0; 2202 ; 2203 return 0; 2204 } 2205 _ACEOF 2206 if ac_fn_c_try_compile "$LINENO"; then : 2207 eval "$4=yes" 2208 else 2209 eval "$4=no" 2210 fi 2211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2212 fi 2213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2214 fi 2215 eval ac_res=\$$4 2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2217 $as_echo "$ac_res" >&6; } 2218 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2219 2220 } # ac_fn_c_check_member 2221 2222 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2223 # --------------------------------------------- 2224 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2225 # accordingly. 2226 ac_fn_c_check_decl () 2227 { 2228 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2229 as_decl_name=`echo $2|sed 's/ *(.*//'` 2230 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2232 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2233 if eval \${$3+:} false; then : 2234 $as_echo_n "(cached) " >&6 2235 else 2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2237 /* end confdefs.h. */ 2238 $4 2239 int 2240 main () 2241 { 2242 #ifndef $as_decl_name 2243 #ifdef __cplusplus 2244 (void) $as_decl_use; 2245 #else 2246 (void) $as_decl_name; 2247 #endif 2248 #endif 2249 2250 ; 2251 return 0; 2252 } 2253 _ACEOF 2254 if ac_fn_c_try_compile "$LINENO"; then : 2255 eval "$3=yes" 2256 else 2257 eval "$3=no" 2258 fi 2259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2260 fi 2261 eval ac_res=\$$3 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2263 $as_echo "$ac_res" >&6; } 2264 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2265 2266 } # ac_fn_c_check_decl 2267 cat >config.log <<_ACEOF 2268 This file contains any messages produced by compilers while 2269 running configure, to aid debugging if configure makes a mistake. 2270 2271 It was created by strace $as_me 4.18, which was 2272 generated by GNU Autoconf 2.69. Invocation command line was 2273 2274 $ $0 $@ 2275 2276 _ACEOF 2277 exec 5>>config.log 2278 { 2279 cat <<_ASUNAME 2280 ## --------- ## 2281 ## Platform. ## 2282 ## --------- ## 2283 2284 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2285 uname -m = `(uname -m) 2>/dev/null || echo unknown` 2286 uname -r = `(uname -r) 2>/dev/null || echo unknown` 2287 uname -s = `(uname -s) 2>/dev/null || echo unknown` 2288 uname -v = `(uname -v) 2>/dev/null || echo unknown` 2289 2290 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2291 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2292 2293 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2294 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2295 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2296 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2297 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2298 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2299 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2300 2301 _ASUNAME 2302 2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2304 for as_dir in $PATH 2305 do 2306 IFS=$as_save_IFS 2307 test -z "$as_dir" && as_dir=. 2308 $as_echo "PATH: $as_dir" 2309 done 2310 IFS=$as_save_IFS 2311 2312 } >&5 2313 2314 cat >&5 <<_ACEOF 2315 2316 2317 ## ----------- ## 2318 ## Core tests. ## 2319 ## ----------- ## 2320 2321 _ACEOF 2322 2323 2324 # Keep a trace of the command line. 2325 # Strip out --no-create and --no-recursion so they do not pile up. 2326 # Strip out --silent because we don't want to record it for future runs. 2327 # Also quote any args containing shell meta-characters. 2328 # Make two passes to allow for proper duplicate-argument suppression. 2329 ac_configure_args= 2330 ac_configure_args0= 2331 ac_configure_args1= 2332 ac_must_keep_next=false 2333 for ac_pass in 1 2 2334 do 2335 for ac_arg 2336 do 2337 case $ac_arg in 2338 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2340 | -silent | --silent | --silen | --sile | --sil) 2341 continue ;; 2342 *\'*) 2343 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2344 esac 2345 case $ac_pass in 2346 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2347 2) 2348 as_fn_append ac_configure_args1 " '$ac_arg'" 2349 if test $ac_must_keep_next = true; then 2350 ac_must_keep_next=false # Got value, back to normal. 2351 else 2352 case $ac_arg in 2353 *=* | --config-cache | -C | -disable-* | --disable-* \ 2354 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2355 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2356 | -with-* | --with-* | -without-* | --without-* | --x) 2357 case "$ac_configure_args0 " in 2358 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2359 esac 2360 ;; 2361 -* ) ac_must_keep_next=true ;; 2362 esac 2363 fi 2364 as_fn_append ac_configure_args " '$ac_arg'" 2365 ;; 2366 esac 2367 done 2368 done 2369 { ac_configure_args0=; unset ac_configure_args0;} 2370 { ac_configure_args1=; unset ac_configure_args1;} 2371 2372 # When interrupted or exit'd, cleanup temporary files, and complete 2373 # config.log. We remove comments because anyway the quotes in there 2374 # would cause problems or look ugly. 2375 # WARNING: Use '\'' to represent an apostrophe within the trap. 2376 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2377 trap 'exit_status=$? 2378 # Sanitize IFS. 2379 IFS=" "" $as_nl" 2380 # Save into config.log some information that might help in debugging. 2381 { 2382 echo 2383 2384 $as_echo "## ---------------- ## 2385 ## Cache variables. ## 2386 ## ---------------- ##" 2387 echo 2388 # The following way of writing the cache mishandles newlines in values, 2389 ( 2390 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2391 eval ac_val=\$$ac_var 2392 case $ac_val in #( 2393 *${as_nl}*) 2394 case $ac_var in #( 2395 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2396 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2397 esac 2398 case $ac_var in #( 2399 _ | IFS | as_nl) ;; #( 2400 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2401 *) { eval $ac_var=; unset $ac_var;} ;; 2402 esac ;; 2403 esac 2404 done 2405 (set) 2>&1 | 2406 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2407 *${as_nl}ac_space=\ *) 2408 sed -n \ 2409 "s/'\''/'\''\\\\'\'''\''/g; 2410 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2411 ;; #( 2412 *) 2413 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2414 ;; 2415 esac | 2416 sort 2417 ) 2418 echo 2419 2420 $as_echo "## ----------------- ## 2421 ## Output variables. ## 2422 ## ----------------- ##" 2423 echo 2424 for ac_var in $ac_subst_vars 2425 do 2426 eval ac_val=\$$ac_var 2427 case $ac_val in 2428 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2429 esac 2430 $as_echo "$ac_var='\''$ac_val'\''" 2431 done | sort 2432 echo 2433 2434 if test -n "$ac_subst_files"; then 2435 $as_echo "## ------------------- ## 2436 ## File substitutions. ## 2437 ## ------------------- ##" 2438 echo 2439 for ac_var in $ac_subst_files 2440 do 2441 eval ac_val=\$$ac_var 2442 case $ac_val in 2443 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2444 esac 2445 $as_echo "$ac_var='\''$ac_val'\''" 2446 done | sort 2447 echo 2448 fi 2449 2450 if test -s confdefs.h; then 2451 $as_echo "## ----------- ## 2452 ## confdefs.h. ## 2453 ## ----------- ##" 2454 echo 2455 cat confdefs.h 2456 echo 2457 fi 2458 test "$ac_signal" != 0 && 2459 $as_echo "$as_me: caught signal $ac_signal" 2460 $as_echo "$as_me: exit $exit_status" 2461 } >&5 2462 rm -f core *.core core.conftest.* && 2463 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2464 exit $exit_status 2465 ' 0 2466 for ac_signal in 1 2 13 15; do 2467 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2468 done 2469 ac_signal=0 2470 2471 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2472 rm -f -r conftest* confdefs.h 2473 2474 $as_echo "/* confdefs.h */" > confdefs.h 2475 2476 # Predefined preprocessor variables. 2477 2478 cat >>confdefs.h <<_ACEOF 2479 #define PACKAGE_NAME "$PACKAGE_NAME" 2480 _ACEOF 2481 2482 cat >>confdefs.h <<_ACEOF 2483 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2484 _ACEOF 2485 2486 cat >>confdefs.h <<_ACEOF 2487 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2488 _ACEOF 2489 2490 cat >>confdefs.h <<_ACEOF 2491 #define PACKAGE_STRING "$PACKAGE_STRING" 2492 _ACEOF 2493 2494 cat >>confdefs.h <<_ACEOF 2495 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2496 _ACEOF 2497 2498 cat >>confdefs.h <<_ACEOF 2499 #define PACKAGE_URL "$PACKAGE_URL" 2500 _ACEOF 2501 2502 2503 # Let the site file select an alternate cache file if it wants to. 2504 # Prefer an explicitly selected file to automatically selected ones. 2505 ac_site_file1=NONE 2506 ac_site_file2=NONE 2507 if test -n "$CONFIG_SITE"; then 2508 # We do not want a PATH search for config.site. 2509 case $CONFIG_SITE in #(( 2510 -*) ac_site_file1=./$CONFIG_SITE;; 2511 */*) ac_site_file1=$CONFIG_SITE;; 2512 *) ac_site_file1=./$CONFIG_SITE;; 2513 esac 2514 elif test "x$prefix" != xNONE; then 2515 ac_site_file1=$prefix/share/config.site 2516 ac_site_file2=$prefix/etc/config.site 2517 else 2518 ac_site_file1=$ac_default_prefix/share/config.site 2519 ac_site_file2=$ac_default_prefix/etc/config.site 2520 fi 2521 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2522 do 2523 test "x$ac_site_file" = xNONE && continue 2524 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2526 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2527 sed 's/^/| /' "$ac_site_file" >&5 2528 . "$ac_site_file" \ 2529 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2531 as_fn_error $? "failed to load site script $ac_site_file 2532 See \`config.log' for more details" "$LINENO" 5; } 2533 fi 2534 done 2535 2536 if test -r "$cache_file"; then 2537 # Some versions of bash will fail to source /dev/null (special files 2538 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2539 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2540 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2541 $as_echo "$as_me: loading cache $cache_file" >&6;} 2542 case $cache_file in 2543 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2544 *) . "./$cache_file";; 2545 esac 2546 fi 2547 else 2548 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2549 $as_echo "$as_me: creating cache $cache_file" >&6;} 2550 >$cache_file 2551 fi 2552 2553 # Check that the precious variables saved in the cache have kept the same 2554 # value. 2555 ac_cache_corrupted=false 2556 for ac_var in $ac_precious_vars; do 2557 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2558 eval ac_new_set=\$ac_env_${ac_var}_set 2559 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2560 eval ac_new_val=\$ac_env_${ac_var}_value 2561 case $ac_old_set,$ac_new_set in 2562 set,) 2563 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2564 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2565 ac_cache_corrupted=: ;; 2566 ,set) 2567 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2568 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2569 ac_cache_corrupted=: ;; 2570 ,);; 2571 *) 2572 if test "x$ac_old_val" != "x$ac_new_val"; then 2573 # differences in whitespace do not lead to failure. 2574 ac_old_val_w=`echo x $ac_old_val` 2575 ac_new_val_w=`echo x $ac_new_val` 2576 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2577 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2578 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2579 ac_cache_corrupted=: 2580 else 2581 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2582 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2583 eval $ac_var=\$ac_old_val 2584 fi 2585 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2586 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2588 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2589 fi;; 2590 esac 2591 # Pass precious variables to config.status. 2592 if test "$ac_new_set" = set; then 2593 case $ac_new_val in 2594 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2595 *) ac_arg=$ac_var=$ac_new_val ;; 2596 esac 2597 case " $ac_configure_args " in 2598 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2599 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2600 esac 2601 fi 2602 done 2603 if $ac_cache_corrupted; then 2604 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2606 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2607 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2608 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2609 fi 2610 ## -------------------- ## 2611 ## Main body of script. ## 2612 ## -------------------- ## 2613 2614 ac_ext=c 2615 ac_cpp='$CPP $CPPFLAGS' 2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2619 2620 2621 2622 2623 2624 ac_aux_dir= 2625 for ac_dir in . "$srcdir"/.; do 2626 if test -f "$ac_dir/install-sh"; then 2627 ac_aux_dir=$ac_dir 2628 ac_install_sh="$ac_aux_dir/install-sh -c" 2629 break 2630 elif test -f "$ac_dir/install.sh"; then 2631 ac_aux_dir=$ac_dir 2632 ac_install_sh="$ac_aux_dir/install.sh -c" 2633 break 2634 elif test -f "$ac_dir/shtool"; then 2635 ac_aux_dir=$ac_dir 2636 ac_install_sh="$ac_aux_dir/shtool install -c" 2637 break 2638 fi 2639 done 2640 if test -z "$ac_aux_dir"; then 2641 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 2642 fi 2643 2644 # These three variables are undocumented and unsupported, 2645 # and are intended to be withdrawn in a future Autoconf release. 2646 # They can cause serious problems if a builder's source tree is in a directory 2647 # whose full name contains unusual characters. 2648 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2649 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2650 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2651 2652 2653 ac_config_headers="$ac_config_headers config.h" 2654 2655 am__api_version='1.14' 2656 2657 # Find a good install program. We prefer a C program (faster), 2658 # so one script is as good as another. But avoid the broken or 2659 # incompatible versions: 2660 # SysV /etc/install, /usr/sbin/install 2661 # SunOS /usr/etc/install 2662 # IRIX /sbin/install 2663 # AIX /bin/install 2664 # AmigaOS /C/install, which installs bootblocks on floppy discs 2665 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2666 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2667 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2668 # OS/2's system install, which has a completely different semantic 2669 # ./install, which can be erroneously created by make from ./install.sh. 2670 # Reject install programs that cannot install multiple files. 2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2672 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2673 if test -z "$INSTALL"; then 2674 if ${ac_cv_path_install+:} false; then : 2675 $as_echo_n "(cached) " >&6 2676 else 2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2678 for as_dir in $PATH 2679 do 2680 IFS=$as_save_IFS 2681 test -z "$as_dir" && as_dir=. 2682 # Account for people who put trailing slashes in PATH elements. 2683 case $as_dir/ in #(( 2684 ./ | .// | /[cC]/* | \ 2685 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2686 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2687 /usr/ucb/* ) ;; 2688 *) 2689 # OSF1 and SCO ODT 3.0 have their own names for install. 2690 # Don't use installbsd from OSF since it installs stuff as root 2691 # by default. 2692 for ac_prog in ginstall scoinst install; do 2693 for ac_exec_ext in '' $ac_executable_extensions; do 2694 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2695 if test $ac_prog = install && 2696 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2697 # AIX install. It has an incompatible calling convention. 2698 : 2699 elif test $ac_prog = install && 2700 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2701 # program-specific install script used by HP pwplus--don't use. 2702 : 2703 else 2704 rm -rf conftest.one conftest.two conftest.dir 2705 echo one > conftest.one 2706 echo two > conftest.two 2707 mkdir conftest.dir 2708 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2709 test -s conftest.one && test -s conftest.two && 2710 test -s conftest.dir/conftest.one && 2711 test -s conftest.dir/conftest.two 2712 then 2713 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2714 break 3 2715 fi 2716 fi 2717 fi 2718 done 2719 done 2720 ;; 2721 esac 2722 2723 done 2724 IFS=$as_save_IFS 2725 2726 rm -rf conftest.one conftest.two conftest.dir 2727 2728 fi 2729 if test "${ac_cv_path_install+set}" = set; then 2730 INSTALL=$ac_cv_path_install 2731 else 2732 # As a last resort, use the slow shell script. Don't cache a 2733 # value for INSTALL within a source directory, because that will 2734 # break other packages using the cache if that directory is 2735 # removed, or if the value is a relative name. 2736 INSTALL=$ac_install_sh 2737 fi 2738 fi 2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2740 $as_echo "$INSTALL" >&6; } 2741 2742 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2743 # It thinks the first close brace ends the variable substitution. 2744 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2745 2746 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2747 2748 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2749 2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2751 $as_echo_n "checking whether build environment is sane... " >&6; } 2752 # Reject unsafe characters in $srcdir or the absolute working directory 2753 # name. Accept space and tab only in the latter. 2754 am_lf=' 2755 ' 2756 case `pwd` in 2757 *[\\\"\#\$\&\'\`$am_lf]*) 2758 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2759 esac 2760 case $srcdir in 2761 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2762 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2763 esac 2764 2765 # Do 'set' in a subshell so we don't clobber the current shell's 2766 # arguments. Must try -L first in case configure is actually a 2767 # symlink; some systems play weird games with the mod time of symlinks 2768 # (eg FreeBSD returns the mod time of the symlink's containing 2769 # directory). 2770 if ( 2771 am_has_slept=no 2772 for am_try in 1 2; do 2773 echo "timestamp, slept: $am_has_slept" > conftest.file 2774 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2775 if test "$*" = "X"; then 2776 # -L didn't work. 2777 set X `ls -t "$srcdir/configure" conftest.file` 2778 fi 2779 if test "$*" != "X $srcdir/configure conftest.file" \ 2780 && test "$*" != "X conftest.file $srcdir/configure"; then 2781 2782 # If neither matched, then we have a broken ls. This can happen 2783 # if, for instance, CONFIG_SHELL is bash and it inherits a 2784 # broken ls alias from the environment. This has actually 2785 # happened. Such a system could not be considered "sane". 2786 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2787 alias in your environment" "$LINENO" 5 2788 fi 2789 if test "$2" = conftest.file || test $am_try -eq 2; then 2790 break 2791 fi 2792 # Just in case. 2793 sleep 1 2794 am_has_slept=yes 2795 done 2796 test "$2" = conftest.file 2797 ) 2798 then 2799 # Ok. 2800 : 2801 else 2802 as_fn_error $? "newly created file is older than distributed files! 2803 Check your system clock" "$LINENO" 5 2804 fi 2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2806 $as_echo "yes" >&6; } 2807 # If we didn't sleep, we still need to ensure time stamps of config.status and 2808 # generated files are strictly newer. 2809 am_sleep_pid= 2810 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2811 ( sleep 1 ) & 2812 am_sleep_pid=$! 2813 fi 2814 2815 rm -f conftest.file 2816 2817 test "$program_prefix" != NONE && 2818 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2819 # Use a double $ so make ignores it. 2820 test "$program_suffix" != NONE && 2821 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2822 # Double any \ or $. 2823 # By default was `s,x,x', remove it if useless. 2824 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2825 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2826 2827 # expand $ac_aux_dir to an absolute path 2828 am_aux_dir=`cd $ac_aux_dir && pwd` 2829 2830 if test x"${MISSING+set}" != xset; then 2831 case $am_aux_dir in 2832 *\ * | *\ *) 2833 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2834 *) 2835 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2836 esac 2837 fi 2838 # Use eval to expand $SHELL 2839 if eval "$MISSING --is-lightweight"; then 2840 am_missing_run="$MISSING " 2841 else 2842 am_missing_run= 2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2844 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2845 fi 2846 2847 if test x"${install_sh}" != xset; then 2848 case $am_aux_dir in 2849 *\ * | *\ *) 2850 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2851 *) 2852 install_sh="\${SHELL} $am_aux_dir/install-sh" 2853 esac 2854 fi 2855 2856 # Installed binaries are usually stripped using 'strip' when the user 2857 # run "make install-strip". However 'strip' might not be the right 2858 # tool to use in cross-compilation environments, therefore Automake 2859 # will honor the 'STRIP' environment variable to overrule this program. 2860 if test "$cross_compiling" != no; then 2861 if test -n "$ac_tool_prefix"; then 2862 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2863 set dummy ${ac_tool_prefix}strip; ac_word=$2 2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2865 $as_echo_n "checking for $ac_word... " >&6; } 2866 if ${ac_cv_prog_STRIP+:} false; then : 2867 $as_echo_n "(cached) " >&6 2868 else 2869 if test -n "$STRIP"; then 2870 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2871 else 2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2873 for as_dir in $PATH 2874 do 2875 IFS=$as_save_IFS 2876 test -z "$as_dir" && as_dir=. 2877 for ac_exec_ext in '' $ac_executable_extensions; do 2878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2879 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2881 break 2 2882 fi 2883 done 2884 done 2885 IFS=$as_save_IFS 2886 2887 fi 2888 fi 2889 STRIP=$ac_cv_prog_STRIP 2890 if test -n "$STRIP"; then 2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2892 $as_echo "$STRIP" >&6; } 2893 else 2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2895 $as_echo "no" >&6; } 2896 fi 2897 2898 2899 fi 2900 if test -z "$ac_cv_prog_STRIP"; then 2901 ac_ct_STRIP=$STRIP 2902 # Extract the first word of "strip", so it can be a program name with args. 2903 set dummy strip; ac_word=$2 2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2905 $as_echo_n "checking for $ac_word... " >&6; } 2906 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2907 $as_echo_n "(cached) " >&6 2908 else 2909 if test -n "$ac_ct_STRIP"; then 2910 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2911 else 2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2913 for as_dir in $PATH 2914 do 2915 IFS=$as_save_IFS 2916 test -z "$as_dir" && as_dir=. 2917 for ac_exec_ext in '' $ac_executable_extensions; do 2918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2919 ac_cv_prog_ac_ct_STRIP="strip" 2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2921 break 2 2922 fi 2923 done 2924 done 2925 IFS=$as_save_IFS 2926 2927 fi 2928 fi 2929 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2930 if test -n "$ac_ct_STRIP"; then 2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2932 $as_echo "$ac_ct_STRIP" >&6; } 2933 else 2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2935 $as_echo "no" >&6; } 2936 fi 2937 2938 if test "x$ac_ct_STRIP" = x; then 2939 STRIP=":" 2940 else 2941 case $cross_compiling:$ac_tool_warned in 2942 yes:) 2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2945 ac_tool_warned=yes ;; 2946 esac 2947 STRIP=$ac_ct_STRIP 2948 fi 2949 else 2950 STRIP="$ac_cv_prog_STRIP" 2951 fi 2952 2953 fi 2954 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2955 2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2957 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2958 if test -z "$MKDIR_P"; then 2959 if ${ac_cv_path_mkdir+:} false; then : 2960 $as_echo_n "(cached) " >&6 2961 else 2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2963 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2964 do 2965 IFS=$as_save_IFS 2966 test -z "$as_dir" && as_dir=. 2967 for ac_prog in mkdir gmkdir; do 2968 for ac_exec_ext in '' $ac_executable_extensions; do 2969 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2970 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2971 'mkdir (GNU coreutils) '* | \ 2972 'mkdir (coreutils) '* | \ 2973 'mkdir (fileutils) '4.1*) 2974 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2975 break 3;; 2976 esac 2977 done 2978 done 2979 done 2980 IFS=$as_save_IFS 2981 2982 fi 2983 2984 test -d ./--version && rmdir ./--version 2985 if test "${ac_cv_path_mkdir+set}" = set; then 2986 MKDIR_P="$ac_cv_path_mkdir -p" 2987 else 2988 # As a last resort, use the slow shell script. Don't cache a 2989 # value for MKDIR_P within a source directory, because that will 2990 # break other packages using the cache if that directory is 2991 # removed, or if the value is a relative name. 2992 MKDIR_P="$ac_install_sh -d" 2993 fi 2994 fi 2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2996 $as_echo "$MKDIR_P" >&6; } 2997 2998 for ac_prog in gawk mawk nawk awk 2999 do 3000 # Extract the first word of "$ac_prog", so it can be a program name with args. 3001 set dummy $ac_prog; ac_word=$2 3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3003 $as_echo_n "checking for $ac_word... " >&6; } 3004 if ${ac_cv_prog_AWK+:} false; then : 3005 $as_echo_n "(cached) " >&6 3006 else 3007 if test -n "$AWK"; then 3008 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3009 else 3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3011 for as_dir in $PATH 3012 do 3013 IFS=$as_save_IFS 3014 test -z "$as_dir" && as_dir=. 3015 for ac_exec_ext in '' $ac_executable_extensions; do 3016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3017 ac_cv_prog_AWK="$ac_prog" 3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3019 break 2 3020 fi 3021 done 3022 done 3023 IFS=$as_save_IFS 3024 3025 fi 3026 fi 3027 AWK=$ac_cv_prog_AWK 3028 if test -n "$AWK"; then 3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3030 $as_echo "$AWK" >&6; } 3031 else 3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3033 $as_echo "no" >&6; } 3034 fi 3035 3036 3037 test -n "$AWK" && break 3038 done 3039 3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3041 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3042 set x ${MAKE-make} 3043 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3044 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3045 $as_echo_n "(cached) " >&6 3046 else 3047 cat >conftest.make <<\_ACEOF 3048 SHELL = /bin/sh 3049 all: 3050 @echo '@@@%%%=$(MAKE)=@@@%%%' 3051 _ACEOF 3052 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3053 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3054 *@@@%%%=?*=@@@%%%*) 3055 eval ac_cv_prog_make_${ac_make}_set=yes;; 3056 *) 3057 eval ac_cv_prog_make_${ac_make}_set=no;; 3058 esac 3059 rm -f conftest.make 3060 fi 3061 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3063 $as_echo "yes" >&6; } 3064 SET_MAKE= 3065 else 3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3067 $as_echo "no" >&6; } 3068 SET_MAKE="MAKE=${MAKE-make}" 3069 fi 3070 3071 rm -rf .tst 2>/dev/null 3072 mkdir .tst 2>/dev/null 3073 if test -d .tst; then 3074 am__leading_dot=. 3075 else 3076 am__leading_dot=_ 3077 fi 3078 rmdir .tst 2>/dev/null 3079 3080 # Check whether --enable-silent-rules was given. 3081 if test "${enable_silent_rules+set}" = set; then : 3082 enableval=$enable_silent_rules; 3083 fi 3084 3085 case $enable_silent_rules in # ((( 3086 yes) AM_DEFAULT_VERBOSITY=0;; 3087 no) AM_DEFAULT_VERBOSITY=1;; 3088 *) AM_DEFAULT_VERBOSITY=1;; 3089 esac 3090 am_make=${MAKE-make} 3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3092 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3093 if ${am_cv_make_support_nested_variables+:} false; then : 3094 $as_echo_n "(cached) " >&6 3095 else 3096 if $as_echo 'TRUE=$(BAR$(V)) 3097 BAR0=false 3098 BAR1=true 3099 V=1 3100 am__doit: 3101 @$(TRUE) 3102 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3103 am_cv_make_support_nested_variables=yes 3104 else 3105 am_cv_make_support_nested_variables=no 3106 fi 3107 fi 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3109 $as_echo "$am_cv_make_support_nested_variables" >&6; } 3110 if test $am_cv_make_support_nested_variables = yes; then 3111 AM_V='$(V)' 3112 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3113 else 3114 AM_V=$AM_DEFAULT_VERBOSITY 3115 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3116 fi 3117 AM_BACKSLASH='\' 3118 3119 if test "`cd $srcdir && pwd`" != "`pwd`"; then 3120 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3121 # is not polluted with repeated "-I." 3122 am__isrc=' -I$(srcdir)' 3123 # test to see if srcdir already configured 3124 if test -f $srcdir/config.status; then 3125 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3126 fi 3127 fi 3128 3129 # test whether we have cygpath 3130 if test -z "$CYGPATH_W"; then 3131 if (cygpath --version) >/dev/null 2>/dev/null; then 3132 CYGPATH_W='cygpath -w' 3133 else 3134 CYGPATH_W=echo 3135 fi 3136 fi 3137 3138 3139 # Define the identity of the package. 3140 PACKAGE='strace' 3141 VERSION='4.18' 3142 3143 3144 cat >>confdefs.h <<_ACEOF 3145 #define PACKAGE "$PACKAGE" 3146 _ACEOF 3147 3148 3149 cat >>confdefs.h <<_ACEOF 3150 #define VERSION "$VERSION" 3151 _ACEOF 3152 3153 # Some tools Automake needs. 3154 3155 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3156 3157 3158 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3159 3160 3161 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3162 3163 3164 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3165 3166 3167 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3168 3169 # For better backward compatibility. To be removed once Automake 1.9.x 3170 # dies out for good. For more background, see: 3171 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3172 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3173 mkdir_p='$(MKDIR_P)' 3174 3175 # We need awk for the "check" target. The system "awk" is bad on 3176 # some platforms. 3177 # Always define AMTAR for backward compatibility. Yes, it's still used 3178 # in the wild :-( We should find a proper way to deprecate it ... 3179 AMTAR='$${TAR-tar}' 3180 3181 3182 # We'll loop over all known methods to create a tar archive until one works. 3183 _am_tools='gnutar pax cpio none' 3184 3185 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3186 3187 3188 3189 3190 3191 3192 # POSIX will say in a future version that running "rm -f" with no argument 3193 # is OK; and we want to be able to make that assumption in our Makefile 3194 # recipes. So use an aggressive probe to check that the usage we want is 3195 # actually supported "in the wild" to an acceptable degree. 3196 # See automake bug#10828. 3197 # To make any issue more visible, cause the running configure to be aborted 3198 # by default if the 'rm' program in use doesn't match our expectations; the 3199 # user can still override this though. 3200 if rm -f && rm -fr && rm -rf; then : OK; else 3201 cat >&2 <<'END' 3202 Oops! 3203 3204 Your 'rm' program seems unable to run without file operands specified 3205 on the command line, even when the '-f' option is present. This is contrary 3206 to the behaviour of most rm programs out there, and not conforming with 3207 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3208 3209 Please tell bug-automake@gnu.org about your system, including the value 3210 of your $PATH and any error possibly output before this message. This 3211 can help us improve future automake versions. 3212 3213 END 3214 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3215 echo 'Configuration will proceed anyway, since you have set the' >&2 3216 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3217 echo >&2 3218 else 3219 cat >&2 <<'END' 3220 Aborting the configuration process, to ensure you take notice of the issue. 3221 3222 You can download and install GNU coreutils to get an 'rm' implementation 3223 that behaves properly: <http://www.gnu.org/software/coreutils/>. 3224 3225 If you want to complete the configuration process using your problematic 3226 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3227 to "yes", and re-run configure. 3228 3229 END 3230 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3231 fi 3232 fi 3233 3234 3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3236 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3237 # Check whether --enable-maintainer-mode was given. 3238 if test "${enable_maintainer_mode+set}" = set; then : 3239 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3240 else 3241 USE_MAINTAINER_MODE=no 3242 fi 3243 3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3245 $as_echo "$USE_MAINTAINER_MODE" >&6; } 3246 if test $USE_MAINTAINER_MODE = yes; then 3247 MAINTAINER_MODE_TRUE= 3248 MAINTAINER_MODE_FALSE='#' 3249 else 3250 MAINTAINER_MODE_TRUE='#' 3251 MAINTAINER_MODE_FALSE= 3252 fi 3253 3254 MAINT=$MAINTAINER_MODE_TRUE 3255 3256 3257 # Make sure we can run config.sub. 3258 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3259 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3260 3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3262 $as_echo_n "checking build system type... " >&6; } 3263 if ${ac_cv_build+:} false; then : 3264 $as_echo_n "(cached) " >&6 3265 else 3266 ac_build_alias=$build_alias 3267 test "x$ac_build_alias" = x && 3268 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3269 test "x$ac_build_alias" = x && 3270 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3271 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3272 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3273 3274 fi 3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3276 $as_echo "$ac_cv_build" >&6; } 3277 case $ac_cv_build in 3278 *-*-*) ;; 3279 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3280 esac 3281 build=$ac_cv_build 3282 ac_save_IFS=$IFS; IFS='-' 3283 set x $ac_cv_build 3284 shift 3285 build_cpu=$1 3286 build_vendor=$2 3287 shift; shift 3288 # Remember, the first character of IFS is used to create $*, 3289 # except with old shells: 3290 build_os=$* 3291 IFS=$ac_save_IFS 3292 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3293 3294 3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3296 $as_echo_n "checking host system type... " >&6; } 3297 if ${ac_cv_host+:} false; then : 3298 $as_echo_n "(cached) " >&6 3299 else 3300 if test "x$host_alias" = x; then 3301 ac_cv_host=$ac_cv_build 3302 else 3303 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3304 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3305 fi 3306 3307 fi 3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3309 $as_echo "$ac_cv_host" >&6; } 3310 case $ac_cv_host in 3311 *-*-*) ;; 3312 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3313 esac 3314 host=$ac_cv_host 3315 ac_save_IFS=$IFS; IFS='-' 3316 set x $ac_cv_host 3317 shift 3318 host_cpu=$1 3319 host_vendor=$2 3320 shift; shift 3321 # Remember, the first character of IFS is used to create $*, 3322 # except with old shells: 3323 host_os=$* 3324 IFS=$ac_save_IFS 3325 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3326 3327 3328 3329 RPM_CHANGELOGTIME="$(LC_TIME=C date '+%a %b %d %Y')" 3330 3331 DEB_CHANGELOGTIME="$(LC_TIME=C date -R)" 3332 3333 3334 ac_ext=c 3335 ac_cpp='$CPP $CPPFLAGS' 3336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3338 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3339 if test -n "$ac_tool_prefix"; then 3340 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3341 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3343 $as_echo_n "checking for $ac_word... " >&6; } 3344 if ${ac_cv_prog_CC+:} false; then : 3345 $as_echo_n "(cached) " >&6 3346 else 3347 if test -n "$CC"; then 3348 ac_cv_prog_CC="$CC" # Let the user override the test. 3349 else 3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3351 for as_dir in $PATH 3352 do 3353 IFS=$as_save_IFS 3354 test -z "$as_dir" && as_dir=. 3355 for ac_exec_ext in '' $ac_executable_extensions; do 3356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3357 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3359 break 2 3360 fi 3361 done 3362 done 3363 IFS=$as_save_IFS 3364 3365 fi 3366 fi 3367 CC=$ac_cv_prog_CC 3368 if test -n "$CC"; then 3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3370 $as_echo "$CC" >&6; } 3371 else 3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3373 $as_echo "no" >&6; } 3374 fi 3375 3376 3377 fi 3378 if test -z "$ac_cv_prog_CC"; then 3379 ac_ct_CC=$CC 3380 # Extract the first word of "gcc", so it can be a program name with args. 3381 set dummy gcc; ac_word=$2 3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3383 $as_echo_n "checking for $ac_word... " >&6; } 3384 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3385 $as_echo_n "(cached) " >&6 3386 else 3387 if test -n "$ac_ct_CC"; then 3388 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3389 else 3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3391 for as_dir in $PATH 3392 do 3393 IFS=$as_save_IFS 3394 test -z "$as_dir" && as_dir=. 3395 for ac_exec_ext in '' $ac_executable_extensions; do 3396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3397 ac_cv_prog_ac_ct_CC="gcc" 3398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3399 break 2 3400 fi 3401 done 3402 done 3403 IFS=$as_save_IFS 3404 3405 fi 3406 fi 3407 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3408 if test -n "$ac_ct_CC"; then 3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3410 $as_echo "$ac_ct_CC" >&6; } 3411 else 3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3413 $as_echo "no" >&6; } 3414 fi 3415 3416 if test "x$ac_ct_CC" = x; then 3417 CC="" 3418 else 3419 case $cross_compiling:$ac_tool_warned in 3420 yes:) 3421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3423 ac_tool_warned=yes ;; 3424 esac 3425 CC=$ac_ct_CC 3426 fi 3427 else 3428 CC="$ac_cv_prog_CC" 3429 fi 3430 3431 if test -z "$CC"; then 3432 if test -n "$ac_tool_prefix"; then 3433 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3434 set dummy ${ac_tool_prefix}cc; ac_word=$2 3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3436 $as_echo_n "checking for $ac_word... " >&6; } 3437 if ${ac_cv_prog_CC+:} false; then : 3438 $as_echo_n "(cached) " >&6 3439 else 3440 if test -n "$CC"; then 3441 ac_cv_prog_CC="$CC" # Let the user override the test. 3442 else 3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3444 for as_dir in $PATH 3445 do 3446 IFS=$as_save_IFS 3447 test -z "$as_dir" && as_dir=. 3448 for ac_exec_ext in '' $ac_executable_extensions; do 3449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3450 ac_cv_prog_CC="${ac_tool_prefix}cc" 3451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3452 break 2 3453 fi 3454 done 3455 done 3456 IFS=$as_save_IFS 3457 3458 fi 3459 fi 3460 CC=$ac_cv_prog_CC 3461 if test -n "$CC"; then 3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3463 $as_echo "$CC" >&6; } 3464 else 3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3466 $as_echo "no" >&6; } 3467 fi 3468 3469 3470 fi 3471 fi 3472 if test -z "$CC"; then 3473 # Extract the first word of "cc", so it can be a program name with args. 3474 set dummy cc; ac_word=$2 3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3476 $as_echo_n "checking for $ac_word... " >&6; } 3477 if ${ac_cv_prog_CC+:} false; then : 3478 $as_echo_n "(cached) " >&6 3479 else 3480 if test -n "$CC"; then 3481 ac_cv_prog_CC="$CC" # Let the user override the test. 3482 else 3483 ac_prog_rejected=no 3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3485 for as_dir in $PATH 3486 do 3487 IFS=$as_save_IFS 3488 test -z "$as_dir" && as_dir=. 3489 for ac_exec_ext in '' $ac_executable_extensions; do 3490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3491 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3492 ac_prog_rejected=yes 3493 continue 3494 fi 3495 ac_cv_prog_CC="cc" 3496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3497 break 2 3498 fi 3499 done 3500 done 3501 IFS=$as_save_IFS 3502 3503 if test $ac_prog_rejected = yes; then 3504 # We found a bogon in the path, so make sure we never use it. 3505 set dummy $ac_cv_prog_CC 3506 shift 3507 if test $# != 0; then 3508 # We chose a different compiler from the bogus one. 3509 # However, it has the same basename, so the bogon will be chosen 3510 # first if we set CC to just the basename; use the full file name. 3511 shift 3512 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3513 fi 3514 fi 3515 fi 3516 fi 3517 CC=$ac_cv_prog_CC 3518 if test -n "$CC"; then 3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3520 $as_echo "$CC" >&6; } 3521 else 3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3523 $as_echo "no" >&6; } 3524 fi 3525 3526 3527 fi 3528 if test -z "$CC"; then 3529 if test -n "$ac_tool_prefix"; then 3530 for ac_prog in cl.exe 3531 do 3532 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3533 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3535 $as_echo_n "checking for $ac_word... " >&6; } 3536 if ${ac_cv_prog_CC+:} false; then : 3537 $as_echo_n "(cached) " >&6 3538 else 3539 if test -n "$CC"; then 3540 ac_cv_prog_CC="$CC" # Let the user override the test. 3541 else 3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3543 for as_dir in $PATH 3544 do 3545 IFS=$as_save_IFS 3546 test -z "$as_dir" && as_dir=. 3547 for ac_exec_ext in '' $ac_executable_extensions; do 3548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3549 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3551 break 2 3552 fi 3553 done 3554 done 3555 IFS=$as_save_IFS 3556 3557 fi 3558 fi 3559 CC=$ac_cv_prog_CC 3560 if test -n "$CC"; then 3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3562 $as_echo "$CC" >&6; } 3563 else 3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3565 $as_echo "no" >&6; } 3566 fi 3567 3568 3569 test -n "$CC" && break 3570 done 3571 fi 3572 if test -z "$CC"; then 3573 ac_ct_CC=$CC 3574 for ac_prog in cl.exe 3575 do 3576 # Extract the first word of "$ac_prog", so it can be a program name with args. 3577 set dummy $ac_prog; ac_word=$2 3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3579 $as_echo_n "checking for $ac_word... " >&6; } 3580 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3581 $as_echo_n "(cached) " >&6 3582 else 3583 if test -n "$ac_ct_CC"; then 3584 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3585 else 3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3587 for as_dir in $PATH 3588 do 3589 IFS=$as_save_IFS 3590 test -z "$as_dir" && as_dir=. 3591 for ac_exec_ext in '' $ac_executable_extensions; do 3592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3593 ac_cv_prog_ac_ct_CC="$ac_prog" 3594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3595 break 2 3596 fi 3597 done 3598 done 3599 IFS=$as_save_IFS 3600 3601 fi 3602 fi 3603 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3604 if test -n "$ac_ct_CC"; then 3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3606 $as_echo "$ac_ct_CC" >&6; } 3607 else 3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3609 $as_echo "no" >&6; } 3610 fi 3611 3612 3613 test -n "$ac_ct_CC" && break 3614 done 3615 3616 if test "x$ac_ct_CC" = x; then 3617 CC="" 3618 else 3619 case $cross_compiling:$ac_tool_warned in 3620 yes:) 3621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3623 ac_tool_warned=yes ;; 3624 esac 3625 CC=$ac_ct_CC 3626 fi 3627 fi 3628 3629 fi 3630 3631 3632 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3634 as_fn_error $? "no acceptable C compiler found in \$PATH 3635 See \`config.log' for more details" "$LINENO" 5; } 3636 3637 # Provide some information about the compiler. 3638 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3639 set X $ac_compile 3640 ac_compiler=$2 3641 for ac_option in --version -v -V -qversion; do 3642 { { ac_try="$ac_compiler $ac_option >&5" 3643 case "(($ac_try" in 3644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3645 *) ac_try_echo=$ac_try;; 3646 esac 3647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3648 $as_echo "$ac_try_echo"; } >&5 3649 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3650 ac_status=$? 3651 if test -s conftest.err; then 3652 sed '10a\ 3653 ... rest of stderr output deleted ... 3654 10q' conftest.err >conftest.er1 3655 cat conftest.er1 >&5 3656 fi 3657 rm -f conftest.er1 conftest.err 3658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3659 test $ac_status = 0; } 3660 done 3661 3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3663 /* end confdefs.h. */ 3664 3665 int 3666 main () 3667 { 3668 3669 ; 3670 return 0; 3671 } 3672 _ACEOF 3673 ac_clean_files_save=$ac_clean_files 3674 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3675 # Try to create an executable without -o first, disregard a.out. 3676 # It will help us diagnose broken compilers, and finding out an intuition 3677 # of exeext. 3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3679 $as_echo_n "checking whether the C compiler works... " >&6; } 3680 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3681 3682 # The possible output files: 3683 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3684 3685 ac_rmfiles= 3686 for ac_file in $ac_files 3687 do 3688 case $ac_file in 3689 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3690 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3691 esac 3692 done 3693 rm -f $ac_rmfiles 3694 3695 if { { ac_try="$ac_link_default" 3696 case "(($ac_try" in 3697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3698 *) ac_try_echo=$ac_try;; 3699 esac 3700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3701 $as_echo "$ac_try_echo"; } >&5 3702 (eval "$ac_link_default") 2>&5 3703 ac_status=$? 3704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3705 test $ac_status = 0; }; then : 3706 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3707 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3708 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3709 # so that the user can short-circuit this test for compilers unknown to 3710 # Autoconf. 3711 for ac_file in $ac_files '' 3712 do 3713 test -f "$ac_file" || continue 3714 case $ac_file in 3715 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3716 ;; 3717 [ab].out ) 3718 # We found the default executable, but exeext='' is most 3719 # certainly right. 3720 break;; 3721 *.* ) 3722 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3723 then :; else 3724 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3725 fi 3726 # We set ac_cv_exeext here because the later test for it is not 3727 # safe: cross compilers may not add the suffix if given an `-o' 3728 # argument, so we may need to know it at that point already. 3729 # Even if this section looks crufty: it has the advantage of 3730 # actually working. 3731 break;; 3732 * ) 3733 break;; 3734 esac 3735 done 3736 test "$ac_cv_exeext" = no && ac_cv_exeext= 3737 3738 else 3739 ac_file='' 3740 fi 3741 if test -z "$ac_file"; then : 3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3743 $as_echo "no" >&6; } 3744 $as_echo "$as_me: failed program was:" >&5 3745 sed 's/^/| /' conftest.$ac_ext >&5 3746 3747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3749 as_fn_error 77 "C compiler cannot create executables 3750 See \`config.log' for more details" "$LINENO" 5; } 3751 else 3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3753 $as_echo "yes" >&6; } 3754 fi 3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3756 $as_echo_n "checking for C compiler default output file name... " >&6; } 3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3758 $as_echo "$ac_file" >&6; } 3759 ac_exeext=$ac_cv_exeext 3760 3761 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3762 ac_clean_files=$ac_clean_files_save 3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3764 $as_echo_n "checking for suffix of executables... " >&6; } 3765 if { { ac_try="$ac_link" 3766 case "(($ac_try" in 3767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3768 *) ac_try_echo=$ac_try;; 3769 esac 3770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3771 $as_echo "$ac_try_echo"; } >&5 3772 (eval "$ac_link") 2>&5 3773 ac_status=$? 3774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3775 test $ac_status = 0; }; then : 3776 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3777 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3778 # work properly (i.e., refer to `conftest.exe'), while it won't with 3779 # `rm'. 3780 for ac_file in conftest.exe conftest conftest.*; do 3781 test -f "$ac_file" || continue 3782 case $ac_file in 3783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3784 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3785 break;; 3786 * ) break;; 3787 esac 3788 done 3789 else 3790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3792 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3793 See \`config.log' for more details" "$LINENO" 5; } 3794 fi 3795 rm -f conftest conftest$ac_cv_exeext 3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3797 $as_echo "$ac_cv_exeext" >&6; } 3798 3799 rm -f conftest.$ac_ext 3800 EXEEXT=$ac_cv_exeext 3801 ac_exeext=$EXEEXT 3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3803 /* end confdefs.h. */ 3804 #include <stdio.h> 3805 int 3806 main () 3807 { 3808 FILE *f = fopen ("conftest.out", "w"); 3809 return ferror (f) || fclose (f) != 0; 3810 3811 ; 3812 return 0; 3813 } 3814 _ACEOF 3815 ac_clean_files="$ac_clean_files conftest.out" 3816 # Check that the compiler produces executables we can run. If not, either 3817 # the compiler is broken, or we cross compile. 3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3819 $as_echo_n "checking whether we are cross compiling... " >&6; } 3820 if test "$cross_compiling" != yes; then 3821 { { ac_try="$ac_link" 3822 case "(($ac_try" in 3823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3824 *) ac_try_echo=$ac_try;; 3825 esac 3826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3827 $as_echo "$ac_try_echo"; } >&5 3828 (eval "$ac_link") 2>&5 3829 ac_status=$? 3830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3831 test $ac_status = 0; } 3832 if { ac_try='./conftest$ac_cv_exeext' 3833 { { case "(($ac_try" in 3834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3835 *) ac_try_echo=$ac_try;; 3836 esac 3837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3838 $as_echo "$ac_try_echo"; } >&5 3839 (eval "$ac_try") 2>&5 3840 ac_status=$? 3841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3842 test $ac_status = 0; }; }; then 3843 cross_compiling=no 3844 else 3845 if test "$cross_compiling" = maybe; then 3846 cross_compiling=yes 3847 else 3848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3850 as_fn_error $? "cannot run C compiled programs. 3851 If you meant to cross compile, use \`--host'. 3852 See \`config.log' for more details" "$LINENO" 5; } 3853 fi 3854 fi 3855 fi 3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3857 $as_echo "$cross_compiling" >&6; } 3858 3859 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3860 ac_clean_files=$ac_clean_files_save 3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3862 $as_echo_n "checking for suffix of object files... " >&6; } 3863 if ${ac_cv_objext+:} false; then : 3864 $as_echo_n "(cached) " >&6 3865 else 3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3867 /* end confdefs.h. */ 3868 3869 int 3870 main () 3871 { 3872 3873 ; 3874 return 0; 3875 } 3876 _ACEOF 3877 rm -f conftest.o conftest.obj 3878 if { { ac_try="$ac_compile" 3879 case "(($ac_try" in 3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3881 *) ac_try_echo=$ac_try;; 3882 esac 3883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3884 $as_echo "$ac_try_echo"; } >&5 3885 (eval "$ac_compile") 2>&5 3886 ac_status=$? 3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3888 test $ac_status = 0; }; then : 3889 for ac_file in conftest.o conftest.obj conftest.*; do 3890 test -f "$ac_file" || continue; 3891 case $ac_file in 3892 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3893 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3894 break;; 3895 esac 3896 done 3897 else 3898 $as_echo "$as_me: failed program was:" >&5 3899 sed 's/^/| /' conftest.$ac_ext >&5 3900 3901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3903 as_fn_error $? "cannot compute suffix of object files: cannot compile 3904 See \`config.log' for more details" "$LINENO" 5; } 3905 fi 3906 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3907 fi 3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3909 $as_echo "$ac_cv_objext" >&6; } 3910 OBJEXT=$ac_cv_objext 3911 ac_objext=$OBJEXT 3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3913 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3914 if ${ac_cv_c_compiler_gnu+:} false; then : 3915 $as_echo_n "(cached) " >&6 3916 else 3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3918 /* end confdefs.h. */ 3919 3920 int 3921 main () 3922 { 3923 #ifndef __GNUC__ 3924 choke me 3925 #endif 3926 3927 ; 3928 return 0; 3929 } 3930 _ACEOF 3931 if ac_fn_c_try_compile "$LINENO"; then : 3932 ac_compiler_gnu=yes 3933 else 3934 ac_compiler_gnu=no 3935 fi 3936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3937 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3938 3939 fi 3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3941 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3942 if test $ac_compiler_gnu = yes; then 3943 GCC=yes 3944 else 3945 GCC= 3946 fi 3947 ac_test_CFLAGS=${CFLAGS+set} 3948 ac_save_CFLAGS=$CFLAGS 3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3950 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3951 if ${ac_cv_prog_cc_g+:} false; then : 3952 $as_echo_n "(cached) " >&6 3953 else 3954 ac_save_c_werror_flag=$ac_c_werror_flag 3955 ac_c_werror_flag=yes 3956 ac_cv_prog_cc_g=no 3957 CFLAGS="-g" 3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3959 /* end confdefs.h. */ 3960 3961 int 3962 main () 3963 { 3964 3965 ; 3966 return 0; 3967 } 3968 _ACEOF 3969 if ac_fn_c_try_compile "$LINENO"; then : 3970 ac_cv_prog_cc_g=yes 3971 else 3972 CFLAGS="" 3973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3974 /* end confdefs.h. */ 3975 3976 int 3977 main () 3978 { 3979 3980 ; 3981 return 0; 3982 } 3983 _ACEOF 3984 if ac_fn_c_try_compile "$LINENO"; then : 3985 3986 else 3987 ac_c_werror_flag=$ac_save_c_werror_flag 3988 CFLAGS="-g" 3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3990 /* end confdefs.h. */ 3991 3992 int 3993 main () 3994 { 3995 3996 ; 3997 return 0; 3998 } 3999 _ACEOF 4000 if ac_fn_c_try_compile "$LINENO"; then : 4001 ac_cv_prog_cc_g=yes 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 fi 4007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4008 ac_c_werror_flag=$ac_save_c_werror_flag 4009 fi 4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4011 $as_echo "$ac_cv_prog_cc_g" >&6; } 4012 if test "$ac_test_CFLAGS" = set; then 4013 CFLAGS=$ac_save_CFLAGS 4014 elif test $ac_cv_prog_cc_g = yes; then 4015 if test "$GCC" = yes; then 4016 CFLAGS="-g -O2" 4017 else 4018 CFLAGS="-g" 4019 fi 4020 else 4021 if test "$GCC" = yes; then 4022 CFLAGS="-O2" 4023 else 4024 CFLAGS= 4025 fi 4026 fi 4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4028 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4029 if ${ac_cv_prog_cc_c89+:} false; then : 4030 $as_echo_n "(cached) " >&6 4031 else 4032 ac_cv_prog_cc_c89=no 4033 ac_save_CC=$CC 4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4035 /* end confdefs.h. */ 4036 #include <stdarg.h> 4037 #include <stdio.h> 4038 struct stat; 4039 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4040 struct buf { int x; }; 4041 FILE * (*rcsopen) (struct buf *, struct stat *, int); 4042 static char *e (p, i) 4043 char **p; 4044 int i; 4045 { 4046 return p[i]; 4047 } 4048 static char *f (char * (*g) (char **, int), char **p, ...) 4049 { 4050 char *s; 4051 va_list v; 4052 va_start (v,p); 4053 s = g (p, va_arg (v,int)); 4054 va_end (v); 4055 return s; 4056 } 4057 4058 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4059 function prototypes and stuff, but not '\xHH' hex character constants. 4060 These don't provoke an error unfortunately, instead are silently treated 4061 as 'x'. The following induces an error, until -std is added to get 4062 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4063 array size at least. It's necessary to write '\x00'==0 to get something 4064 that's true only with -std. */ 4065 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4066 4067 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4068 inside strings and character constants. */ 4069 #define FOO(x) 'x' 4070 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4071 4072 int test (int i, double x); 4073 struct s1 {int (*f) (int a);}; 4074 struct s2 {int (*f) (double a);}; 4075 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4076 int argc; 4077 char **argv; 4078 int 4079 main () 4080 { 4081 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4082 ; 4083 return 0; 4084 } 4085 _ACEOF 4086 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4087 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4088 do 4089 CC="$ac_save_CC $ac_arg" 4090 if ac_fn_c_try_compile "$LINENO"; then : 4091 ac_cv_prog_cc_c89=$ac_arg 4092 fi 4093 rm -f core conftest.err conftest.$ac_objext 4094 test "x$ac_cv_prog_cc_c89" != "xno" && break 4095 done 4096 rm -f conftest.$ac_ext 4097 CC=$ac_save_CC 4098 4099 fi 4100 # AC_CACHE_VAL 4101 case "x$ac_cv_prog_cc_c89" in 4102 x) 4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4104 $as_echo "none needed" >&6; } ;; 4105 xno) 4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4107 $as_echo "unsupported" >&6; } ;; 4108 *) 4109 CC="$CC $ac_cv_prog_cc_c89" 4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4111 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4112 esac 4113 if test "x$ac_cv_prog_cc_c89" != xno; then : 4114 4115 fi 4116 4117 ac_ext=c 4118 ac_cpp='$CPP $CPPFLAGS' 4119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4121 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4122 4123 ac_ext=c 4124 ac_cpp='$CPP $CPPFLAGS' 4125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4127 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4129 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4130 if ${am_cv_prog_cc_c_o+:} false; then : 4131 $as_echo_n "(cached) " >&6 4132 else 4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4134 /* end confdefs.h. */ 4135 4136 int 4137 main () 4138 { 4139 4140 ; 4141 return 0; 4142 } 4143 _ACEOF 4144 # Make sure it works both with $CC and with simple cc. 4145 # Following AC_PROG_CC_C_O, we do the test twice because some 4146 # compilers refuse to overwrite an existing .o file with -o, 4147 # though they will create one. 4148 am_cv_prog_cc_c_o=yes 4149 for am_i in 1 2; do 4150 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4151 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4152 ac_status=$? 4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4154 (exit $ac_status); } \ 4155 && test -f conftest2.$ac_objext; then 4156 : OK 4157 else 4158 am_cv_prog_cc_c_o=no 4159 break 4160 fi 4161 done 4162 rm -f core conftest* 4163 unset am_i 4164 fi 4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4166 $as_echo "$am_cv_prog_cc_c_o" >&6; } 4167 if test "$am_cv_prog_cc_c_o" != yes; then 4168 # Losing compiler, so override with the script. 4169 # FIXME: It is wrong to rewrite CC. 4170 # But if we don't then we get into trouble of one sort or another. 4171 # A longer-term fix would be to have automake use am__CC in this case, 4172 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4173 CC="$am_aux_dir/compile $CC" 4174 fi 4175 ac_ext=c 4176 ac_cpp='$CPP $CPPFLAGS' 4177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4179 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4180 4181 DEPDIR="${am__leading_dot}deps" 4182 4183 ac_config_commands="$ac_config_commands depfiles" 4184 4185 4186 am_make=${MAKE-make} 4187 cat > confinc << 'END' 4188 am__doit: 4189 @echo this is the am__doit target 4190 .PHONY: am__doit 4191 END 4192 # If we don't find an include directive, just comment out the code. 4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4194 $as_echo_n "checking for style of include used by $am_make... " >&6; } 4195 am__include="#" 4196 am__quote= 4197 _am_result=none 4198 # First try GNU make style include. 4199 echo "include confinc" > confmf 4200 # Ignore all kinds of additional output from 'make'. 4201 case `$am_make -s -f confmf 2> /dev/null` in #( 4202 *the\ am__doit\ target*) 4203 am__include=include 4204 am__quote= 4205 _am_result=GNU 4206 ;; 4207 esac 4208 # Now try BSD make style include. 4209 if test "$am__include" = "#"; then 4210 echo '.include "confinc"' > confmf 4211 case `$am_make -s -f confmf 2> /dev/null` in #( 4212 *the\ am__doit\ target*) 4213 am__include=.include 4214 am__quote="\"" 4215 _am_result=BSD 4216 ;; 4217 esac 4218 fi 4219 4220 4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4222 $as_echo "$_am_result" >&6; } 4223 rm -f confinc confmf 4224 4225 # Check whether --enable-dependency-tracking was given. 4226 if test "${enable_dependency_tracking+set}" = set; then : 4227 enableval=$enable_dependency_tracking; 4228 fi 4229 4230 if test "x$enable_dependency_tracking" != xno; then 4231 am_depcomp="$ac_aux_dir/depcomp" 4232 AMDEPBACKSLASH='\' 4233 am__nodep='_no' 4234 fi 4235 if test "x$enable_dependency_tracking" != xno; then 4236 AMDEP_TRUE= 4237 AMDEP_FALSE='#' 4238 else 4239 AMDEP_TRUE='#' 4240 AMDEP_FALSE= 4241 fi 4242 4243 4244 4245 depcc="$CC" am_compiler_list= 4246 4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4248 $as_echo_n "checking dependency style of $depcc... " >&6; } 4249 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4250 $as_echo_n "(cached) " >&6 4251 else 4252 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4253 # We make a subdir and do the tests there. Otherwise we can end up 4254 # making bogus files that we don't know about and never remove. For 4255 # instance it was reported that on HP-UX the gcc test will end up 4256 # making a dummy file named 'D' -- because '-MD' means "put the output 4257 # in D". 4258 rm -rf conftest.dir 4259 mkdir conftest.dir 4260 # Copy depcomp to subdir because otherwise we won't find it if we're 4261 # using a relative directory. 4262 cp "$am_depcomp" conftest.dir 4263 cd conftest.dir 4264 # We will build objects and dependencies in a subdirectory because 4265 # it helps to detect inapplicable dependency modes. For instance 4266 # both Tru64's cc and ICC support -MD to output dependencies as a 4267 # side effect of compilation, but ICC will put the dependencies in 4268 # the current directory while Tru64 will put them in the object 4269 # directory. 4270 mkdir sub 4271 4272 am_cv_CC_dependencies_compiler_type=none 4273 if test "$am_compiler_list" = ""; then 4274 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4275 fi 4276 am__universal=false 4277 case " $depcc " in #( 4278 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4279 esac 4280 4281 for depmode in $am_compiler_list; do 4282 # Setup a source with many dependencies, because some compilers 4283 # like to wrap large dependency lists on column 80 (with \), and 4284 # we should not choose a depcomp mode which is confused by this. 4285 # 4286 # We need to recreate these files for each test, as the compiler may 4287 # overwrite some of them when testing with obscure command lines. 4288 # This happens at least with the AIX C compiler. 4289 : > sub/conftest.c 4290 for i in 1 2 3 4 5 6; do 4291 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4292 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4293 # Solaris 10 /bin/sh. 4294 echo '/* dummy */' > sub/conftst$i.h 4295 done 4296 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4297 4298 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4299 # mode. It turns out that the SunPro C++ compiler does not properly 4300 # handle '-M -o', and we need to detect this. Also, some Intel 4301 # versions had trouble with output in subdirs. 4302 am__obj=sub/conftest.${OBJEXT-o} 4303 am__minus_obj="-o $am__obj" 4304 case $depmode in 4305 gcc) 4306 # This depmode causes a compiler race in universal mode. 4307 test "$am__universal" = false || continue 4308 ;; 4309 nosideeffect) 4310 # After this tag, mechanisms are not by side-effect, so they'll 4311 # only be used when explicitly requested. 4312 if test "x$enable_dependency_tracking" = xyes; then 4313 continue 4314 else 4315 break 4316 fi 4317 ;; 4318 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4319 # This compiler won't grok '-c -o', but also, the minuso test has 4320 # not run yet. These depmodes are late enough in the game, and 4321 # so weak that their functioning should not be impacted. 4322 am__obj=conftest.${OBJEXT-o} 4323 am__minus_obj= 4324 ;; 4325 none) break ;; 4326 esac 4327 if depmode=$depmode \ 4328 source=sub/conftest.c object=$am__obj \ 4329 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4330 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4331 >/dev/null 2>conftest.err && 4332 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4333 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4334 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4335 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4336 # icc doesn't choke on unknown options, it will just issue warnings 4337 # or remarks (even with -Werror). So we grep stderr for any message 4338 # that says an option was ignored or not supported. 4339 # When given -MP, icc 7.0 and 7.1 complain thusly: 4340 # icc: Command line warning: ignoring option '-M'; no argument required 4341 # The diagnosis changed in icc 8.0: 4342 # icc: Command line remark: option '-MP' not supported 4343 if (grep 'ignoring option' conftest.err || 4344 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4345 am_cv_CC_dependencies_compiler_type=$depmode 4346 break 4347 fi 4348 fi 4349 done 4350 4351 cd .. 4352 rm -rf conftest.dir 4353 else 4354 am_cv_CC_dependencies_compiler_type=none 4355 fi 4356 4357 fi 4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4359 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4360 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4361 4362 if 4363 test "x$enable_dependency_tracking" != xno \ 4364 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4365 am__fastdepCC_TRUE= 4366 am__fastdepCC_FALSE='#' 4367 else 4368 am__fastdepCC_TRUE='#' 4369 am__fastdepCC_FALSE= 4370 fi 4371 4372 4373 ac_ext=c 4374 ac_cpp='$CPP $CPPFLAGS' 4375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4377 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4379 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4380 # On Suns, sometimes $CPP names a directory. 4381 if test -n "$CPP" && test -d "$CPP"; then 4382 CPP= 4383 fi 4384 if test -z "$CPP"; then 4385 if ${ac_cv_prog_CPP+:} false; then : 4386 $as_echo_n "(cached) " >&6 4387 else 4388 # Double quotes because CPP needs to be expanded 4389 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4390 do 4391 ac_preproc_ok=false 4392 for ac_c_preproc_warn_flag in '' yes 4393 do 4394 # Use a header file that comes with gcc, so configuring glibc 4395 # with a fresh cross-compiler works. 4396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4397 # <limits.h> exists even on freestanding compilers. 4398 # On the NeXT, cc -E runs the code through the compiler's parser, 4399 # not just through cpp. "Syntax error" is here to catch this case. 4400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4401 /* end confdefs.h. */ 4402 #ifdef __STDC__ 4403 # include <limits.h> 4404 #else 4405 # include <assert.h> 4406 #endif 4407 Syntax error 4408 _ACEOF 4409 if ac_fn_c_try_cpp "$LINENO"; then : 4410 4411 else 4412 # Broken: fails on valid input. 4413 continue 4414 fi 4415 rm -f conftest.err conftest.i conftest.$ac_ext 4416 4417 # OK, works on sane cases. Now check whether nonexistent headers 4418 # can be detected and how. 4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4420 /* end confdefs.h. */ 4421 #include <ac_nonexistent.h> 4422 _ACEOF 4423 if ac_fn_c_try_cpp "$LINENO"; then : 4424 # Broken: success on invalid input. 4425 continue 4426 else 4427 # Passes both tests. 4428 ac_preproc_ok=: 4429 break 4430 fi 4431 rm -f conftest.err conftest.i conftest.$ac_ext 4432 4433 done 4434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4435 rm -f conftest.i conftest.err conftest.$ac_ext 4436 if $ac_preproc_ok; then : 4437 break 4438 fi 4439 4440 done 4441 ac_cv_prog_CPP=$CPP 4442 4443 fi 4444 CPP=$ac_cv_prog_CPP 4445 else 4446 ac_cv_prog_CPP=$CPP 4447 fi 4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4449 $as_echo "$CPP" >&6; } 4450 ac_preproc_ok=false 4451 for ac_c_preproc_warn_flag in '' yes 4452 do 4453 # Use a header file that comes with gcc, so configuring glibc 4454 # with a fresh cross-compiler works. 4455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4456 # <limits.h> exists even on freestanding compilers. 4457 # On the NeXT, cc -E runs the code through the compiler's parser, 4458 # not just through cpp. "Syntax error" is here to catch this case. 4459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4460 /* end confdefs.h. */ 4461 #ifdef __STDC__ 4462 # include <limits.h> 4463 #else 4464 # include <assert.h> 4465 #endif 4466 Syntax error 4467 _ACEOF 4468 if ac_fn_c_try_cpp "$LINENO"; then : 4469 4470 else 4471 # Broken: fails on valid input. 4472 continue 4473 fi 4474 rm -f conftest.err conftest.i conftest.$ac_ext 4475 4476 # OK, works on sane cases. Now check whether nonexistent headers 4477 # can be detected and how. 4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4479 /* end confdefs.h. */ 4480 #include <ac_nonexistent.h> 4481 _ACEOF 4482 if ac_fn_c_try_cpp "$LINENO"; then : 4483 # Broken: success on invalid input. 4484 continue 4485 else 4486 # Passes both tests. 4487 ac_preproc_ok=: 4488 break 4489 fi 4490 rm -f conftest.err conftest.i conftest.$ac_ext 4491 4492 done 4493 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4494 rm -f conftest.i conftest.err conftest.$ac_ext 4495 if $ac_preproc_ok; then : 4496 4497 else 4498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4500 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4501 See \`config.log' for more details" "$LINENO" 5; } 4502 fi 4503 4504 ac_ext=c 4505 ac_cpp='$CPP $CPPFLAGS' 4506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4508 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4509 4510 4511 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4513 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4514 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4515 $as_echo_n "(cached) " >&6 4516 else 4517 4518 gl_save_compiler_FLAGS="$CFLAGS" 4519 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4521 /* end confdefs.h. */ 4522 4523 int 4524 main () 4525 { 4526 4527 ; 4528 return 0; 4529 } 4530 _ACEOF 4531 if ac_fn_c_try_link "$LINENO"; then : 4532 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4533 else 4534 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4535 fi 4536 rm -f core conftest.err conftest.$ac_objext \ 4537 conftest$ac_exeext conftest.$ac_ext 4538 CFLAGS="$gl_save_compiler_FLAGS" 4539 4540 fi 4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4542 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4543 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4544 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4545 else 4546 gl_unknown_warnings_are_errors= 4547 fi 4548 4549 4550 fi 4551 4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wall" >&5 4553 $as_echo_n "checking whether $CC handles -Wall... " >&6; } 4554 if ${gl_cv_warn_CFLAGS__Wall+:} false; then : 4555 $as_echo_n "(cached) " >&6 4556 else 4557 4558 gl_save_compiler_FLAGS="$CFLAGS" 4559 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wall" 4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4561 /* end confdefs.h. */ 4562 4563 int 4564 main () 4565 { 4566 4567 ; 4568 return 0; 4569 } 4570 _ACEOF 4571 if ac_fn_c_try_link "$LINENO"; then : 4572 gl_cv_warn_CFLAGS__Wall=yes 4573 else 4574 gl_cv_warn_CFLAGS__Wall=no 4575 fi 4576 rm -f core conftest.err conftest.$ac_objext \ 4577 conftest$ac_exeext conftest.$ac_ext 4578 CFLAGS="$gl_save_compiler_FLAGS" 4579 4580 fi 4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wall" >&5 4582 $as_echo "$gl_cv_warn_CFLAGS__Wall" >&6; } 4583 if test "x$gl_cv_warn_CFLAGS__Wall" = xyes; then : 4584 as_fn_append WARN_CFLAGS " -Wall" 4585 fi 4586 4587 4588 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4590 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4591 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4592 $as_echo_n "(cached) " >&6 4593 else 4594 4595 gl_save_compiler_FLAGS="$CFLAGS" 4596 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4598 /* end confdefs.h. */ 4599 4600 int 4601 main () 4602 { 4603 4604 ; 4605 return 0; 4606 } 4607 _ACEOF 4608 if ac_fn_c_try_link "$LINENO"; then : 4609 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4610 else 4611 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4612 fi 4613 rm -f core conftest.err conftest.$ac_objext \ 4614 conftest$ac_exeext conftest.$ac_ext 4615 CFLAGS="$gl_save_compiler_FLAGS" 4616 4617 fi 4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4619 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4620 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4621 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4622 else 4623 gl_unknown_warnings_are_errors= 4624 fi 4625 4626 4627 fi 4628 4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wempty-body" >&5 4630 $as_echo_n "checking whether $CC handles -Wempty-body... " >&6; } 4631 if ${gl_cv_warn_CFLAGS__Wempty_body+:} false; then : 4632 $as_echo_n "(cached) " >&6 4633 else 4634 4635 gl_save_compiler_FLAGS="$CFLAGS" 4636 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wempty-body" 4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4638 /* end confdefs.h. */ 4639 4640 int 4641 main () 4642 { 4643 4644 ; 4645 return 0; 4646 } 4647 _ACEOF 4648 if ac_fn_c_try_link "$LINENO"; then : 4649 gl_cv_warn_CFLAGS__Wempty_body=yes 4650 else 4651 gl_cv_warn_CFLAGS__Wempty_body=no 4652 fi 4653 rm -f core conftest.err conftest.$ac_objext \ 4654 conftest$ac_exeext conftest.$ac_ext 4655 CFLAGS="$gl_save_compiler_FLAGS" 4656 4657 fi 4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wempty_body" >&5 4659 $as_echo "$gl_cv_warn_CFLAGS__Wempty_body" >&6; } 4660 if test "x$gl_cv_warn_CFLAGS__Wempty_body" = xyes; then : 4661 as_fn_append WARN_CFLAGS " -Wempty-body" 4662 fi 4663 4664 4665 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4667 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4668 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4669 $as_echo_n "(cached) " >&6 4670 else 4671 4672 gl_save_compiler_FLAGS="$CFLAGS" 4673 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4675 /* end confdefs.h. */ 4676 4677 int 4678 main () 4679 { 4680 4681 ; 4682 return 0; 4683 } 4684 _ACEOF 4685 if ac_fn_c_try_link "$LINENO"; then : 4686 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4687 else 4688 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4689 fi 4690 rm -f core conftest.err conftest.$ac_objext \ 4691 conftest$ac_exeext conftest.$ac_ext 4692 CFLAGS="$gl_save_compiler_FLAGS" 4693 4694 fi 4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4696 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4697 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4698 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4699 else 4700 gl_unknown_warnings_are_errors= 4701 fi 4702 4703 4704 fi 4705 4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wformat-security" >&5 4707 $as_echo_n "checking whether $CC handles -Wformat-security... " >&6; } 4708 if ${gl_cv_warn_CFLAGS__Wformat_security+:} false; then : 4709 $as_echo_n "(cached) " >&6 4710 else 4711 4712 gl_save_compiler_FLAGS="$CFLAGS" 4713 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-security" 4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4715 /* end confdefs.h. */ 4716 4717 int 4718 main () 4719 { 4720 4721 ; 4722 return 0; 4723 } 4724 _ACEOF 4725 if ac_fn_c_try_link "$LINENO"; then : 4726 gl_cv_warn_CFLAGS__Wformat_security=yes 4727 else 4728 gl_cv_warn_CFLAGS__Wformat_security=no 4729 fi 4730 rm -f core conftest.err conftest.$ac_objext \ 4731 conftest$ac_exeext conftest.$ac_ext 4732 CFLAGS="$gl_save_compiler_FLAGS" 4733 4734 fi 4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wformat_security" >&5 4736 $as_echo "$gl_cv_warn_CFLAGS__Wformat_security" >&6; } 4737 if test "x$gl_cv_warn_CFLAGS__Wformat_security" = xyes; then : 4738 as_fn_append WARN_CFLAGS " -Wformat-security" 4739 fi 4740 4741 4742 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4744 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4745 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4746 $as_echo_n "(cached) " >&6 4747 else 4748 4749 gl_save_compiler_FLAGS="$CFLAGS" 4750 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4752 /* end confdefs.h. */ 4753 4754 int 4755 main () 4756 { 4757 4758 ; 4759 return 0; 4760 } 4761 _ACEOF 4762 if ac_fn_c_try_link "$LINENO"; then : 4763 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4764 else 4765 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4766 fi 4767 rm -f core conftest.err conftest.$ac_objext \ 4768 conftest$ac_exeext conftest.$ac_ext 4769 CFLAGS="$gl_save_compiler_FLAGS" 4770 4771 fi 4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4773 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4774 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4775 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4776 else 4777 gl_unknown_warnings_are_errors= 4778 fi 4779 4780 4781 fi 4782 4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wignored-qualifiers" >&5 4784 $as_echo_n "checking whether $CC handles -Wignored-qualifiers... " >&6; } 4785 if ${gl_cv_warn_CFLAGS__Wignored_qualifiers+:} false; then : 4786 $as_echo_n "(cached) " >&6 4787 else 4788 4789 gl_save_compiler_FLAGS="$CFLAGS" 4790 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wignored-qualifiers" 4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4792 /* end confdefs.h. */ 4793 4794 int 4795 main () 4796 { 4797 4798 ; 4799 return 0; 4800 } 4801 _ACEOF 4802 if ac_fn_c_try_link "$LINENO"; then : 4803 gl_cv_warn_CFLAGS__Wignored_qualifiers=yes 4804 else 4805 gl_cv_warn_CFLAGS__Wignored_qualifiers=no 4806 fi 4807 rm -f core conftest.err conftest.$ac_objext \ 4808 conftest$ac_exeext conftest.$ac_ext 4809 CFLAGS="$gl_save_compiler_FLAGS" 4810 4811 fi 4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wignored_qualifiers" >&5 4813 $as_echo "$gl_cv_warn_CFLAGS__Wignored_qualifiers" >&6; } 4814 if test "x$gl_cv_warn_CFLAGS__Wignored_qualifiers" = xyes; then : 4815 as_fn_append WARN_CFLAGS " -Wignored-qualifiers" 4816 fi 4817 4818 4819 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4821 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4822 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4823 $as_echo_n "(cached) " >&6 4824 else 4825 4826 gl_save_compiler_FLAGS="$CFLAGS" 4827 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4829 /* end confdefs.h. */ 4830 4831 int 4832 main () 4833 { 4834 4835 ; 4836 return 0; 4837 } 4838 _ACEOF 4839 if ac_fn_c_try_link "$LINENO"; then : 4840 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4841 else 4842 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4843 fi 4844 rm -f core conftest.err conftest.$ac_objext \ 4845 conftest$ac_exeext conftest.$ac_ext 4846 CFLAGS="$gl_save_compiler_FLAGS" 4847 4848 fi 4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4850 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4851 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4852 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4853 else 4854 gl_unknown_warnings_are_errors= 4855 fi 4856 4857 4858 fi 4859 4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Winit-self" >&5 4861 $as_echo_n "checking whether $CC handles -Winit-self... " >&6; } 4862 if ${gl_cv_warn_CFLAGS__Winit_self+:} false; then : 4863 $as_echo_n "(cached) " >&6 4864 else 4865 4866 gl_save_compiler_FLAGS="$CFLAGS" 4867 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Winit-self" 4868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4869 /* end confdefs.h. */ 4870 4871 int 4872 main () 4873 { 4874 4875 ; 4876 return 0; 4877 } 4878 _ACEOF 4879 if ac_fn_c_try_link "$LINENO"; then : 4880 gl_cv_warn_CFLAGS__Winit_self=yes 4881 else 4882 gl_cv_warn_CFLAGS__Winit_self=no 4883 fi 4884 rm -f core conftest.err conftest.$ac_objext \ 4885 conftest$ac_exeext conftest.$ac_ext 4886 CFLAGS="$gl_save_compiler_FLAGS" 4887 4888 fi 4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Winit_self" >&5 4890 $as_echo "$gl_cv_warn_CFLAGS__Winit_self" >&6; } 4891 if test "x$gl_cv_warn_CFLAGS__Winit_self" = xyes; then : 4892 as_fn_append WARN_CFLAGS " -Winit-self" 4893 fi 4894 4895 4896 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4898 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4899 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4900 $as_echo_n "(cached) " >&6 4901 else 4902 4903 gl_save_compiler_FLAGS="$CFLAGS" 4904 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4906 /* end confdefs.h. */ 4907 4908 int 4909 main () 4910 { 4911 4912 ; 4913 return 0; 4914 } 4915 _ACEOF 4916 if ac_fn_c_try_link "$LINENO"; then : 4917 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4918 else 4919 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4920 fi 4921 rm -f core conftest.err conftest.$ac_objext \ 4922 conftest$ac_exeext conftest.$ac_ext 4923 CFLAGS="$gl_save_compiler_FLAGS" 4924 4925 fi 4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 4927 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 4928 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4929 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4930 else 4931 gl_unknown_warnings_are_errors= 4932 fi 4933 4934 4935 fi 4936 4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wlogical-op" >&5 4938 $as_echo_n "checking whether $CC handles -Wlogical-op... " >&6; } 4939 if ${gl_cv_warn_CFLAGS__Wlogical_op+:} false; then : 4940 $as_echo_n "(cached) " >&6 4941 else 4942 4943 gl_save_compiler_FLAGS="$CFLAGS" 4944 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wlogical-op" 4945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4946 /* end confdefs.h. */ 4947 4948 int 4949 main () 4950 { 4951 4952 ; 4953 return 0; 4954 } 4955 _ACEOF 4956 if ac_fn_c_try_link "$LINENO"; then : 4957 gl_cv_warn_CFLAGS__Wlogical_op=yes 4958 else 4959 gl_cv_warn_CFLAGS__Wlogical_op=no 4960 fi 4961 rm -f core conftest.err conftest.$ac_objext \ 4962 conftest$ac_exeext conftest.$ac_ext 4963 CFLAGS="$gl_save_compiler_FLAGS" 4964 4965 fi 4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wlogical_op" >&5 4967 $as_echo "$gl_cv_warn_CFLAGS__Wlogical_op" >&6; } 4968 if test "x$gl_cv_warn_CFLAGS__Wlogical_op" = xyes; then : 4969 as_fn_append WARN_CFLAGS " -Wlogical-op" 4970 fi 4971 4972 4973 if test x${gl_unknown_warnings_are_errors+set} = x; then : 4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 4975 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 4976 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4977 $as_echo_n "(cached) " >&6 4978 else 4979 4980 gl_save_compiler_FLAGS="$CFLAGS" 4981 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4983 /* end confdefs.h. */ 4984 4985 int 4986 main () 4987 { 4988 4989 ; 4990 return 0; 4991 } 4992 _ACEOF 4993 if ac_fn_c_try_link "$LINENO"; then : 4994 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4995 else 4996 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4997 fi 4998 rm -f core conftest.err conftest.$ac_objext \ 4999 conftest$ac_exeext conftest.$ac_ext 5000 CFLAGS="$gl_save_compiler_FLAGS" 5001 5002 fi 5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5004 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5005 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5006 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5007 else 5008 gl_unknown_warnings_are_errors= 5009 fi 5010 5011 5012 fi 5013 5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wmissing-parameter-type" >&5 5015 $as_echo_n "checking whether $CC handles -Wmissing-parameter-type... " >&6; } 5016 if ${gl_cv_warn_CFLAGS__Wmissing_parameter_type+:} false; then : 5017 $as_echo_n "(cached) " >&6 5018 else 5019 5020 gl_save_compiler_FLAGS="$CFLAGS" 5021 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-parameter-type" 5022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5023 /* end confdefs.h. */ 5024 5025 int 5026 main () 5027 { 5028 5029 ; 5030 return 0; 5031 } 5032 _ACEOF 5033 if ac_fn_c_try_link "$LINENO"; then : 5034 gl_cv_warn_CFLAGS__Wmissing_parameter_type=yes 5035 else 5036 gl_cv_warn_CFLAGS__Wmissing_parameter_type=no 5037 fi 5038 rm -f core conftest.err conftest.$ac_objext \ 5039 conftest$ac_exeext conftest.$ac_ext 5040 CFLAGS="$gl_save_compiler_FLAGS" 5041 5042 fi 5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&5 5044 $as_echo "$gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&6; } 5045 if test "x$gl_cv_warn_CFLAGS__Wmissing_parameter_type" = xyes; then : 5046 as_fn_append WARN_CFLAGS " -Wmissing-parameter-type" 5047 fi 5048 5049 5050 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5052 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5053 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5054 $as_echo_n "(cached) " >&6 5055 else 5056 5057 gl_save_compiler_FLAGS="$CFLAGS" 5058 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5060 /* end confdefs.h. */ 5061 5062 int 5063 main () 5064 { 5065 5066 ; 5067 return 0; 5068 } 5069 _ACEOF 5070 if ac_fn_c_try_link "$LINENO"; then : 5071 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5072 else 5073 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5074 fi 5075 rm -f core conftest.err conftest.$ac_objext \ 5076 conftest$ac_exeext conftest.$ac_ext 5077 CFLAGS="$gl_save_compiler_FLAGS" 5078 5079 fi 5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5081 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5082 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5083 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5084 else 5085 gl_unknown_warnings_are_errors= 5086 fi 5087 5088 5089 fi 5090 5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wnested-externs" >&5 5092 $as_echo_n "checking whether $CC handles -Wnested-externs... " >&6; } 5093 if ${gl_cv_warn_CFLAGS__Wnested_externs+:} false; then : 5094 $as_echo_n "(cached) " >&6 5095 else 5096 5097 gl_save_compiler_FLAGS="$CFLAGS" 5098 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wnested-externs" 5099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5100 /* end confdefs.h. */ 5101 5102 int 5103 main () 5104 { 5105 5106 ; 5107 return 0; 5108 } 5109 _ACEOF 5110 if ac_fn_c_try_link "$LINENO"; then : 5111 gl_cv_warn_CFLAGS__Wnested_externs=yes 5112 else 5113 gl_cv_warn_CFLAGS__Wnested_externs=no 5114 fi 5115 rm -f core conftest.err conftest.$ac_objext \ 5116 conftest$ac_exeext conftest.$ac_ext 5117 CFLAGS="$gl_save_compiler_FLAGS" 5118 5119 fi 5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wnested_externs" >&5 5121 $as_echo "$gl_cv_warn_CFLAGS__Wnested_externs" >&6; } 5122 if test "x$gl_cv_warn_CFLAGS__Wnested_externs" = xyes; then : 5123 as_fn_append WARN_CFLAGS " -Wnested-externs" 5124 fi 5125 5126 5127 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5129 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5130 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5131 $as_echo_n "(cached) " >&6 5132 else 5133 5134 gl_save_compiler_FLAGS="$CFLAGS" 5135 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5137 /* end confdefs.h. */ 5138 5139 int 5140 main () 5141 { 5142 5143 ; 5144 return 0; 5145 } 5146 _ACEOF 5147 if ac_fn_c_try_link "$LINENO"; then : 5148 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5149 else 5150 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5151 fi 5152 rm -f core conftest.err conftest.$ac_objext \ 5153 conftest$ac_exeext conftest.$ac_ext 5154 CFLAGS="$gl_save_compiler_FLAGS" 5155 5156 fi 5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5158 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5159 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5160 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5161 else 5162 gl_unknown_warnings_are_errors= 5163 fi 5164 5165 5166 fi 5167 5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-declaration" >&5 5169 $as_echo_n "checking whether $CC handles -Wold-style-declaration... " >&6; } 5170 if ${gl_cv_warn_CFLAGS__Wold_style_declaration+:} false; then : 5171 $as_echo_n "(cached) " >&6 5172 else 5173 5174 gl_save_compiler_FLAGS="$CFLAGS" 5175 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-declaration" 5176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5177 /* end confdefs.h. */ 5178 5179 int 5180 main () 5181 { 5182 5183 ; 5184 return 0; 5185 } 5186 _ACEOF 5187 if ac_fn_c_try_link "$LINENO"; then : 5188 gl_cv_warn_CFLAGS__Wold_style_declaration=yes 5189 else 5190 gl_cv_warn_CFLAGS__Wold_style_declaration=no 5191 fi 5192 rm -f core conftest.err conftest.$ac_objext \ 5193 conftest$ac_exeext conftest.$ac_ext 5194 CFLAGS="$gl_save_compiler_FLAGS" 5195 5196 fi 5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_declaration" >&5 5198 $as_echo "$gl_cv_warn_CFLAGS__Wold_style_declaration" >&6; } 5199 if test "x$gl_cv_warn_CFLAGS__Wold_style_declaration" = xyes; then : 5200 as_fn_append WARN_CFLAGS " -Wold-style-declaration" 5201 fi 5202 5203 5204 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5206 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5207 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5208 $as_echo_n "(cached) " >&6 5209 else 5210 5211 gl_save_compiler_FLAGS="$CFLAGS" 5212 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5214 /* end confdefs.h. */ 5215 5216 int 5217 main () 5218 { 5219 5220 ; 5221 return 0; 5222 } 5223 _ACEOF 5224 if ac_fn_c_try_link "$LINENO"; then : 5225 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5226 else 5227 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5228 fi 5229 rm -f core conftest.err conftest.$ac_objext \ 5230 conftest$ac_exeext conftest.$ac_ext 5231 CFLAGS="$gl_save_compiler_FLAGS" 5232 5233 fi 5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5235 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5236 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5237 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5238 else 5239 gl_unknown_warnings_are_errors= 5240 fi 5241 5242 5243 fi 5244 5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-definition" >&5 5246 $as_echo_n "checking whether $CC handles -Wold-style-definition... " >&6; } 5247 if ${gl_cv_warn_CFLAGS__Wold_style_definition+:} false; then : 5248 $as_echo_n "(cached) " >&6 5249 else 5250 5251 gl_save_compiler_FLAGS="$CFLAGS" 5252 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-definition" 5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5254 /* end confdefs.h. */ 5255 5256 int 5257 main () 5258 { 5259 5260 ; 5261 return 0; 5262 } 5263 _ACEOF 5264 if ac_fn_c_try_link "$LINENO"; then : 5265 gl_cv_warn_CFLAGS__Wold_style_definition=yes 5266 else 5267 gl_cv_warn_CFLAGS__Wold_style_definition=no 5268 fi 5269 rm -f core conftest.err conftest.$ac_objext \ 5270 conftest$ac_exeext conftest.$ac_ext 5271 CFLAGS="$gl_save_compiler_FLAGS" 5272 5273 fi 5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_definition" >&5 5275 $as_echo "$gl_cv_warn_CFLAGS__Wold_style_definition" >&6; } 5276 if test "x$gl_cv_warn_CFLAGS__Wold_style_definition" = xyes; then : 5277 as_fn_append WARN_CFLAGS " -Wold-style-definition" 5278 fi 5279 5280 5281 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5283 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5284 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5285 $as_echo_n "(cached) " >&6 5286 else 5287 5288 gl_save_compiler_FLAGS="$CFLAGS" 5289 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5291 /* end confdefs.h. */ 5292 5293 int 5294 main () 5295 { 5296 5297 ; 5298 return 0; 5299 } 5300 _ACEOF 5301 if ac_fn_c_try_link "$LINENO"; then : 5302 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5303 else 5304 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5305 fi 5306 rm -f core conftest.err conftest.$ac_objext \ 5307 conftest$ac_exeext conftest.$ac_ext 5308 CFLAGS="$gl_save_compiler_FLAGS" 5309 5310 fi 5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5312 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5313 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5314 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5315 else 5316 gl_unknown_warnings_are_errors= 5317 fi 5318 5319 5320 fi 5321 5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wsign-compare" >&5 5323 $as_echo_n "checking whether $CC handles -Wsign-compare... " >&6; } 5324 if ${gl_cv_warn_CFLAGS__Wsign_compare+:} false; then : 5325 $as_echo_n "(cached) " >&6 5326 else 5327 5328 gl_save_compiler_FLAGS="$CFLAGS" 5329 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsign-compare" 5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5331 /* end confdefs.h. */ 5332 5333 int 5334 main () 5335 { 5336 5337 ; 5338 return 0; 5339 } 5340 _ACEOF 5341 if ac_fn_c_try_link "$LINENO"; then : 5342 gl_cv_warn_CFLAGS__Wsign_compare=yes 5343 else 5344 gl_cv_warn_CFLAGS__Wsign_compare=no 5345 fi 5346 rm -f core conftest.err conftest.$ac_objext \ 5347 conftest$ac_exeext conftest.$ac_ext 5348 CFLAGS="$gl_save_compiler_FLAGS" 5349 5350 fi 5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wsign_compare" >&5 5352 $as_echo "$gl_cv_warn_CFLAGS__Wsign_compare" >&6; } 5353 if test "x$gl_cv_warn_CFLAGS__Wsign_compare" = xyes; then : 5354 as_fn_append WARN_CFLAGS " -Wsign-compare" 5355 fi 5356 5357 5358 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5360 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5361 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5362 $as_echo_n "(cached) " >&6 5363 else 5364 5365 gl_save_compiler_FLAGS="$CFLAGS" 5366 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5368 /* end confdefs.h. */ 5369 5370 int 5371 main () 5372 { 5373 5374 ; 5375 return 0; 5376 } 5377 _ACEOF 5378 if ac_fn_c_try_link "$LINENO"; then : 5379 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5380 else 5381 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5382 fi 5383 rm -f core conftest.err conftest.$ac_objext \ 5384 conftest$ac_exeext conftest.$ac_ext 5385 CFLAGS="$gl_save_compiler_FLAGS" 5386 5387 fi 5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5389 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5390 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5391 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5392 else 5393 gl_unknown_warnings_are_errors= 5394 fi 5395 5396 5397 fi 5398 5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wtype-limits" >&5 5400 $as_echo_n "checking whether $CC handles -Wtype-limits... " >&6; } 5401 if ${gl_cv_warn_CFLAGS__Wtype_limits+:} false; then : 5402 $as_echo_n "(cached) " >&6 5403 else 5404 5405 gl_save_compiler_FLAGS="$CFLAGS" 5406 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wtype-limits" 5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5408 /* end confdefs.h. */ 5409 5410 int 5411 main () 5412 { 5413 5414 ; 5415 return 0; 5416 } 5417 _ACEOF 5418 if ac_fn_c_try_link "$LINENO"; then : 5419 gl_cv_warn_CFLAGS__Wtype_limits=yes 5420 else 5421 gl_cv_warn_CFLAGS__Wtype_limits=no 5422 fi 5423 rm -f core conftest.err conftest.$ac_objext \ 5424 conftest$ac_exeext conftest.$ac_ext 5425 CFLAGS="$gl_save_compiler_FLAGS" 5426 5427 fi 5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wtype_limits" >&5 5429 $as_echo "$gl_cv_warn_CFLAGS__Wtype_limits" >&6; } 5430 if test "x$gl_cv_warn_CFLAGS__Wtype_limits" = xyes; then : 5431 as_fn_append WARN_CFLAGS " -Wtype-limits" 5432 fi 5433 5434 5435 if test x${gl_unknown_warnings_are_errors+set} = x; then : 5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5437 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5438 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5439 $as_echo_n "(cached) " >&6 5440 else 5441 5442 gl_save_compiler_FLAGS="$CFLAGS" 5443 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5445 /* end confdefs.h. */ 5446 5447 int 5448 main () 5449 { 5450 5451 ; 5452 return 0; 5453 } 5454 _ACEOF 5455 if ac_fn_c_try_link "$LINENO"; then : 5456 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5457 else 5458 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5459 fi 5460 rm -f core conftest.err conftest.$ac_objext \ 5461 conftest$ac_exeext conftest.$ac_ext 5462 CFLAGS="$gl_save_compiler_FLAGS" 5463 5464 fi 5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5466 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5467 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5468 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5469 else 5470 gl_unknown_warnings_are_errors= 5471 fi 5472 5473 5474 fi 5475 5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wwrite-strings" >&5 5477 $as_echo_n "checking whether $CC handles -Wwrite-strings... " >&6; } 5478 if ${gl_cv_warn_CFLAGS__Wwrite_strings+:} false; then : 5479 $as_echo_n "(cached) " >&6 5480 else 5481 5482 gl_save_compiler_FLAGS="$CFLAGS" 5483 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wwrite-strings" 5484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5485 /* end confdefs.h. */ 5486 5487 int 5488 main () 5489 { 5490 5491 ; 5492 return 0; 5493 } 5494 _ACEOF 5495 if ac_fn_c_try_link "$LINENO"; then : 5496 gl_cv_warn_CFLAGS__Wwrite_strings=yes 5497 else 5498 gl_cv_warn_CFLAGS__Wwrite_strings=no 5499 fi 5500 rm -f core conftest.err conftest.$ac_objext \ 5501 conftest$ac_exeext conftest.$ac_ext 5502 CFLAGS="$gl_save_compiler_FLAGS" 5503 5504 fi 5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wwrite_strings" >&5 5506 $as_echo "$gl_cv_warn_CFLAGS__Wwrite_strings" >&6; } 5507 if test "x$gl_cv_warn_CFLAGS__Wwrite_strings" = xyes; then : 5508 as_fn_append WARN_CFLAGS " -Wwrite-strings" 5509 fi 5510 5511 5512 # Check whether --enable-gcc-Werror was given. 5513 if test "${enable_gcc_Werror+set}" = set; then : 5514 enableval=$enable_gcc_Werror; case $enableval in 5515 yes) if test x${gl_unknown_warnings_are_errors+set} = x; then : 5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5 5517 $as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; } 5518 if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5519 $as_echo_n "(cached) " >&6 5520 else 5521 5522 gl_save_compiler_FLAGS="$CFLAGS" 5523 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 5524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5525 /* end confdefs.h. */ 5526 5527 int 5528 main () 5529 { 5530 5531 ; 5532 return 0; 5533 } 5534 _ACEOF 5535 if ac_fn_c_try_link "$LINENO"; then : 5536 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5537 else 5538 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5539 fi 5540 rm -f core conftest.err conftest.$ac_objext \ 5541 conftest$ac_exeext conftest.$ac_ext 5542 CFLAGS="$gl_save_compiler_FLAGS" 5543 5544 fi 5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5 5546 $as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; } 5547 if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5548 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5549 else 5550 gl_unknown_warnings_are_errors= 5551 fi 5552 5553 5554 fi 5555 5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror" >&5 5557 $as_echo_n "checking whether $CC handles -Werror... " >&6; } 5558 if ${gl_cv_warn_CFLAGS__Werror+:} false; then : 5559 $as_echo_n "(cached) " >&6 5560 else 5561 5562 gl_save_compiler_FLAGS="$CFLAGS" 5563 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror" 5564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5565 /* end confdefs.h. */ 5566 5567 int 5568 main () 5569 { 5570 5571 ; 5572 return 0; 5573 } 5574 _ACEOF 5575 if ac_fn_c_try_link "$LINENO"; then : 5576 gl_cv_warn_CFLAGS__Werror=yes 5577 else 5578 gl_cv_warn_CFLAGS__Werror=no 5579 fi 5580 rm -f core conftest.err conftest.$ac_objext \ 5581 conftest$ac_exeext conftest.$ac_ext 5582 CFLAGS="$gl_save_compiler_FLAGS" 5583 5584 fi 5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror" >&5 5586 $as_echo "$gl_cv_warn_CFLAGS__Werror" >&6; } 5587 if test "x$gl_cv_warn_CFLAGS__Werror" = xyes; then : 5588 as_fn_append WARN_CFLAGS " -Werror" 5589 fi 5590 5591 ;; 5592 no) ;; 5593 *) as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;; 5594 esac 5595 5596 fi 5597 5598 5599 5600 5601 5602 5603 if test -n "${ac_c_decl_warn_flag+set}"; then : 5604 st_saved_ac_c_decl_warn_flag="${ac_c_decl_warn_flag}"; unset ac_c_decl_warn_flag 5605 fi 5606 5607 if test -n "${ac_c_preproc_warn_flag+set}"; then : 5608 st_saved_ac_c_preproc_warn_flag="${ac_c_preproc_warn_flag}"; unset ac_c_preproc_warn_flag 5609 fi 5610 5611 if test -n "${ac_c_werror_flag+set}"; then : 5612 st_saved_ac_c_werror_flag="${ac_c_werror_flag}"; unset ac_c_werror_flag 5613 fi 5614 5615 if test -n "${ac_compile+set}"; then : 5616 st_saved_ac_compile="${ac_compile}"; unset ac_compile 5617 fi 5618 5619 if test -n "${ac_compiler_gnu+set}"; then : 5620 st_saved_ac_compiler_gnu="${ac_compiler_gnu}"; unset ac_compiler_gnu 5621 fi 5622 5623 if test -n "${ac_cpp+set}"; then : 5624 st_saved_ac_cpp="${ac_cpp}"; unset ac_cpp 5625 fi 5626 5627 if test -n "${ac_cv_c_compiler_gnu+set}"; then : 5628 st_saved_ac_cv_c_compiler_gnu="${ac_cv_c_compiler_gnu}"; unset ac_cv_c_compiler_gnu 5629 fi 5630 5631 if test -n "${ac_cv_c_decl_report+set}"; then : 5632 st_saved_ac_cv_c_decl_report="${ac_cv_c_decl_report}"; unset ac_cv_c_decl_report 5633 fi 5634 5635 if test -n "${ac_link+set}"; then : 5636 st_saved_ac_link="${ac_link}"; unset ac_link 5637 fi 5638 5639 if test -n "${ac_tool_prefix+set}"; then : 5640 st_saved_ac_tool_prefix="${ac_tool_prefix}"; unset ac_tool_prefix 5641 fi 5642 5643 if test -n "${cross_compiling+set}"; then : 5644 st_saved_cross_compiling="${cross_compiling}"; unset cross_compiling 5645 fi 5646 5647 cross_compiling=no 5648 5649 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for a C compiler that generates native executables" >&5 5650 $as_echo "$as_me: looking for a C compiler that generates native executables" >&6;} 5651 ac_ext=c 5652 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 5653 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 5654 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 5655 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5656 if test -n "$ac_tool_prefix"; then 5657 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5658 set dummy ${ac_tool_prefix}gcc; ac_word=$2 5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5660 $as_echo_n "checking for $ac_word... " >&6; } 5661 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5662 $as_echo_n "(cached) " >&6 5663 else 5664 if test -n "$CC_FOR_BUILD"; then 5665 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5666 else 5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5668 for as_dir in $PATH 5669 do 5670 IFS=$as_save_IFS 5671 test -z "$as_dir" && as_dir=. 5672 for ac_exec_ext in '' $ac_executable_extensions; do 5673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5674 ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}gcc" 5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5676 break 2 5677 fi 5678 done 5679 done 5680 IFS=$as_save_IFS 5681 5682 fi 5683 fi 5684 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5685 if test -n "$CC_FOR_BUILD"; then 5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 5687 $as_echo "$CC_FOR_BUILD" >&6; } 5688 else 5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5690 $as_echo "no" >&6; } 5691 fi 5692 5693 5694 fi 5695 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then 5696 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD 5697 # Extract the first word of "gcc", so it can be a program name with args. 5698 set dummy gcc; ac_word=$2 5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5700 $as_echo_n "checking for $ac_word... " >&6; } 5701 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then : 5702 $as_echo_n "(cached) " >&6 5703 else 5704 if test -n "$ac_ct_CC_FOR_BUILD"; then 5705 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test. 5706 else 5707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5708 for as_dir in $PATH 5709 do 5710 IFS=$as_save_IFS 5711 test -z "$as_dir" && as_dir=. 5712 for ac_exec_ext in '' $ac_executable_extensions; do 5713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5714 ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc" 5715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5716 break 2 5717 fi 5718 done 5719 done 5720 IFS=$as_save_IFS 5721 5722 fi 5723 fi 5724 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD 5725 if test -n "$ac_ct_CC_FOR_BUILD"; then 5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 5727 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; } 5728 else 5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5730 $as_echo "no" >&6; } 5731 fi 5732 5733 if test "x$ac_ct_CC_FOR_BUILD" = x; then 5734 CC_FOR_BUILD="" 5735 else 5736 case $cross_compiling:$ac_tool_warned in 5737 yes:) 5738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5 5739 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;} 5740 ac_tool_warned=yes ;; 5741 esac 5742 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD 5743 fi 5744 else 5745 CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD" 5746 fi 5747 5748 if test -z "$CC_FOR_BUILD"; then 5749 if test -n "$ac_tool_prefix"; then 5750 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5751 set dummy ${ac_tool_prefix}cc; ac_word=$2 5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5753 $as_echo_n "checking for $ac_word... " >&6; } 5754 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5755 $as_echo_n "(cached) " >&6 5756 else 5757 if test -n "$CC_FOR_BUILD"; then 5758 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5759 else 5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5761 for as_dir in $PATH 5762 do 5763 IFS=$as_save_IFS 5764 test -z "$as_dir" && as_dir=. 5765 for ac_exec_ext in '' $ac_executable_extensions; do 5766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5767 ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}cc" 5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5769 break 2 5770 fi 5771 done 5772 done 5773 IFS=$as_save_IFS 5774 5775 fi 5776 fi 5777 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5778 if test -n "$CC_FOR_BUILD"; then 5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 5780 $as_echo "$CC_FOR_BUILD" >&6; } 5781 else 5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5783 $as_echo "no" >&6; } 5784 fi 5785 5786 5787 fi 5788 fi 5789 if test -z "$CC_FOR_BUILD"; then 5790 # Extract the first word of "cc", so it can be a program name with args. 5791 set dummy cc; ac_word=$2 5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5793 $as_echo_n "checking for $ac_word... " >&6; } 5794 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5795 $as_echo_n "(cached) " >&6 5796 else 5797 if test -n "$CC_FOR_BUILD"; then 5798 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5799 else 5800 ac_prog_rejected=no 5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5802 for as_dir in $PATH 5803 do 5804 IFS=$as_save_IFS 5805 test -z "$as_dir" && as_dir=. 5806 for ac_exec_ext in '' $ac_executable_extensions; do 5807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5808 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5809 ac_prog_rejected=yes 5810 continue 5811 fi 5812 ac_cv_prog_CC_FOR_BUILD="cc" 5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5814 break 2 5815 fi 5816 done 5817 done 5818 IFS=$as_save_IFS 5819 5820 if test $ac_prog_rejected = yes; then 5821 # We found a bogon in the path, so make sure we never use it. 5822 set dummy $ac_cv_prog_CC_FOR_BUILD 5823 shift 5824 if test $# != 0; then 5825 # We chose a different compiler from the bogus one. 5826 # However, it has the same basename, so the bogon will be chosen 5827 # first if we set CC_FOR_BUILD to just the basename; use the full file name. 5828 shift 5829 ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@" 5830 fi 5831 fi 5832 fi 5833 fi 5834 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5835 if test -n "$CC_FOR_BUILD"; then 5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 5837 $as_echo "$CC_FOR_BUILD" >&6; } 5838 else 5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5840 $as_echo "no" >&6; } 5841 fi 5842 5843 5844 fi 5845 if test -z "$CC_FOR_BUILD"; then 5846 if test -n "$ac_tool_prefix"; then 5847 for ac_prog in cl.exe 5848 do 5849 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5850 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5852 $as_echo_n "checking for $ac_word... " >&6; } 5853 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5854 $as_echo_n "(cached) " >&6 5855 else 5856 if test -n "$CC_FOR_BUILD"; then 5857 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5858 else 5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5860 for as_dir in $PATH 5861 do 5862 IFS=$as_save_IFS 5863 test -z "$as_dir" && as_dir=. 5864 for ac_exec_ext in '' $ac_executable_extensions; do 5865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5866 ac_cv_prog_CC_FOR_BUILD="$ac_tool_prefix$ac_prog" 5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5868 break 2 5869 fi 5870 done 5871 done 5872 IFS=$as_save_IFS 5873 5874 fi 5875 fi 5876 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5877 if test -n "$CC_FOR_BUILD"; then 5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 5879 $as_echo "$CC_FOR_BUILD" >&6; } 5880 else 5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5882 $as_echo "no" >&6; } 5883 fi 5884 5885 5886 test -n "$CC_FOR_BUILD" && break 5887 done 5888 fi 5889 if test -z "$CC_FOR_BUILD"; then 5890 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD 5891 for ac_prog in cl.exe 5892 do 5893 # Extract the first word of "$ac_prog", so it can be a program name with args. 5894 set dummy $ac_prog; ac_word=$2 5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5896 $as_echo_n "checking for $ac_word... " >&6; } 5897 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then : 5898 $as_echo_n "(cached) " >&6 5899 else 5900 if test -n "$ac_ct_CC_FOR_BUILD"; then 5901 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test. 5902 else 5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5904 for as_dir in $PATH 5905 do 5906 IFS=$as_save_IFS 5907 test -z "$as_dir" && as_dir=. 5908 for ac_exec_ext in '' $ac_executable_extensions; do 5909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5910 ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog" 5911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5912 break 2 5913 fi 5914 done 5915 done 5916 IFS=$as_save_IFS 5917 5918 fi 5919 fi 5920 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD 5921 if test -n "$ac_ct_CC_FOR_BUILD"; then 5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 5923 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; } 5924 else 5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5926 $as_echo "no" >&6; } 5927 fi 5928 5929 5930 test -n "$ac_ct_CC_FOR_BUILD" && break 5931 done 5932 5933 if test "x$ac_ct_CC_FOR_BUILD" = x; then 5934 CC_FOR_BUILD="" 5935 else 5936 case $cross_compiling:$ac_tool_warned in 5937 yes:) 5938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5 5939 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;} 5940 ac_tool_warned=yes ;; 5941 esac 5942 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD 5943 fi 5944 fi 5945 5946 fi 5947 5948 5949 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5951 as_fn_error $? "no acceptable C compiler found in \$PATH 5952 See \`config.log' for more details" "$LINENO" 5; } 5953 5954 # Provide some information about the compiler. 5955 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5956 set X $ac_compile 5957 ac_compiler=$2 5958 for ac_option in --version -v -V -qversion; do 5959 { { ac_try="$ac_compiler $ac_option >&5" 5960 case "(($ac_try" in 5961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5962 *) ac_try_echo=$ac_try;; 5963 esac 5964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5965 $as_echo "$ac_try_echo"; } >&5 5966 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5967 ac_status=$? 5968 if test -s conftest.err; then 5969 sed '10a\ 5970 ... rest of stderr output deleted ... 5971 10q' conftest.err >conftest.er1 5972 cat conftest.er1 >&5 5973 fi 5974 rm -f conftest.er1 conftest.err 5975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5976 test $ac_status = 0; } 5977 done 5978 5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5980 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5981 if ${ac_cv_c_compiler_gnu+:} false; then : 5982 $as_echo_n "(cached) " >&6 5983 else 5984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5985 /* end confdefs.h. */ 5986 5987 int 5988 main () 5989 { 5990 #ifndef __GNUC__ 5991 choke me 5992 #endif 5993 5994 ; 5995 return 0; 5996 } 5997 _ACEOF 5998 if ac_fn_c_try_compile "$LINENO"; then : 5999 ac_compiler_gnu=yes 6000 else 6001 ac_compiler_gnu=no 6002 fi 6003 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6004 ac_cv_c_compiler_gnu=$ac_compiler_gnu 6005 6006 fi 6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 6008 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 6009 if test $ac_compiler_gnu = yes; then 6010 GCC=yes 6011 else 6012 GCC= 6013 fi 6014 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set} 6015 ac_save_CFLAGS=$CFLAGS_FOR_BUILD 6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5 6017 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; } 6018 if ${ac_cv_build_prog_cc_g+:} false; then : 6019 $as_echo_n "(cached) " >&6 6020 else 6021 ac_save_c_werror_flag=$ac_c_werror_flag 6022 ac_c_werror_flag=yes 6023 ac_cv_build_prog_cc_g=no 6024 CFLAGS_FOR_BUILD="-g" 6025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6026 /* end confdefs.h. */ 6027 6028 int 6029 main () 6030 { 6031 6032 ; 6033 return 0; 6034 } 6035 _ACEOF 6036 if ac_fn_c_try_compile "$LINENO"; then : 6037 ac_cv_build_prog_cc_g=yes 6038 else 6039 CFLAGS_FOR_BUILD="" 6040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6041 /* end confdefs.h. */ 6042 6043 int 6044 main () 6045 { 6046 6047 ; 6048 return 0; 6049 } 6050 _ACEOF 6051 if ac_fn_c_try_compile "$LINENO"; then : 6052 6053 else 6054 ac_c_werror_flag=$ac_save_c_werror_flag 6055 CFLAGS_FOR_BUILD="-g" 6056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6057 /* end confdefs.h. */ 6058 6059 int 6060 main () 6061 { 6062 6063 ; 6064 return 0; 6065 } 6066 _ACEOF 6067 if ac_fn_c_try_compile "$LINENO"; then : 6068 ac_cv_build_prog_cc_g=yes 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 fi 6074 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6075 ac_c_werror_flag=$ac_save_c_werror_flag 6076 fi 6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5 6078 $as_echo "$ac_cv_build_prog_cc_g" >&6; } 6079 if test "$ac_test_CFLAGS" = set; then 6080 CFLAGS_FOR_BUILD=$ac_save_CFLAGS 6081 elif test $ac_cv_build_prog_cc_g = yes; then 6082 if test "$GCC" = yes; then 6083 CFLAGS_FOR_BUILD="-g -O2" 6084 else 6085 CFLAGS_FOR_BUILD="-g" 6086 fi 6087 else 6088 if test "$GCC" = yes; then 6089 CFLAGS_FOR_BUILD="-O2" 6090 else 6091 CFLAGS_FOR_BUILD= 6092 fi 6093 fi 6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5 6095 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; } 6096 if ${ac_cv_build_prog_cc_c89+:} false; then : 6097 $as_echo_n "(cached) " >&6 6098 else 6099 ac_cv_build_prog_cc_c89=no 6100 ac_save_CC=$CC_FOR_BUILD 6101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6102 /* end confdefs.h. */ 6103 #include <stdarg.h> 6104 #include <stdio.h> 6105 struct stat; 6106 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 6107 struct buf { int x; }; 6108 FILE * (*rcsopen) (struct buf *, struct stat *, int); 6109 static char *e (p, i) 6110 char **p; 6111 int i; 6112 { 6113 return p[i]; 6114 } 6115 static char *f (char * (*g) (char **, int), char **p, ...) 6116 { 6117 char *s; 6118 va_list v; 6119 va_start (v,p); 6120 s = g (p, va_arg (v,int)); 6121 va_end (v); 6122 return s; 6123 } 6124 6125 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 6126 function prototypes and stuff, but not '\xHH' hex character constants. 6127 These don't provoke an error unfortunately, instead are silently treated 6128 as 'x'. The following induces an error, until -std is added to get 6129 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 6130 array size at least. It's necessary to write '\x00'==0 to get something 6131 that's true only with -std. */ 6132 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 6133 6134 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 6135 inside strings and character constants. */ 6136 #define FOO(x) 'x' 6137 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 6138 6139 int test (int i, double x); 6140 struct s1 {int (*f) (int a);}; 6141 struct s2 {int (*f) (double a);}; 6142 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 6143 int argc; 6144 char **argv; 6145 int 6146 main () 6147 { 6148 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 6149 ; 6150 return 0; 6151 } 6152 _ACEOF 6153 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 6154 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 6155 do 6156 CC_FOR_BUILD="$ac_save_CC $ac_arg" 6157 if ac_fn_c_try_compile "$LINENO"; then : 6158 ac_cv_build_prog_cc_c89=$ac_arg 6159 fi 6160 rm -f core conftest.err conftest.$ac_build_objext 6161 test "x$ac_cv_build_prog_cc_c89" != "xno" && break 6162 done 6163 rm -f conftest.$ac_ext 6164 CC_FOR_BUILD=$ac_save_CC 6165 6166 fi 6167 # AC_CACHE_VAL 6168 case "x$ac_cv_build_prog_cc_c89" in 6169 x) 6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 6171 $as_echo "none needed" >&6; } ;; 6172 xno) 6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 6174 $as_echo "unsupported" >&6; } ;; 6175 *) 6176 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c89" 6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c89" >&5 6178 $as_echo "$ac_cv_build_prog_cc_c89" >&6; } ;; 6179 esac 6180 if test "x$ac_cv_build_prog_cc_c89" != xno; then : 6181 6182 fi 6183 6184 ac_ext=c 6185 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6186 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6187 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6188 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6189 6190 ac_ext=c 6191 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6192 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6193 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6194 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5 6196 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; } 6197 if ${am_cv_build_prog_cc_c_o+:} false; then : 6198 $as_echo_n "(cached) " >&6 6199 else 6200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6201 /* end confdefs.h. */ 6202 6203 int 6204 main () 6205 { 6206 6207 ; 6208 return 0; 6209 } 6210 _ACEOF 6211 # Make sure it works both with $CC and with simple cc. 6212 # Following AC_PROG_CC_C_O, we do the test twice because some 6213 # compilers refuse to overwrite an existing .o file with -o, 6214 # though they will create one. 6215 am_cv_build_prog_cc_c_o=yes 6216 for am_i in 1 2; do 6217 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5 6218 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5 6219 ac_status=$? 6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6221 (exit $ac_status); } \ 6222 && test -f conftest2.$ac_build_objext; then 6223 : OK 6224 else 6225 am_cv_build_prog_cc_c_o=no 6226 break 6227 fi 6228 done 6229 rm -f core conftest* 6230 unset am_i 6231 fi 6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_prog_cc_c_o" >&5 6233 $as_echo "$am_cv_build_prog_cc_c_o" >&6; } 6234 if test "$am_cv_build_prog_cc_c_o" != yes; then 6235 # Losing compiler, so override with the script. 6236 # FIXME: It is wrong to rewrite CC. 6237 # But if we don't then we get into trouble of one sort or another. 6238 # A longer-term fix would be to have automake use am__CC in this case, 6239 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 6240 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD" 6241 fi 6242 ac_ext=c 6243 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6244 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6245 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6246 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6247 6248 6249 depcc="$CC_FOR_BUILD" am_compiler_list= 6250 6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 6252 $as_echo_n "checking dependency style of $depcc... " >&6; } 6253 if ${am_cv_build_CC_dependencies_compiler_type+:} false; then : 6254 $as_echo_n "(cached) " >&6 6255 else 6256 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6257 # We make a subdir and do the tests there. Otherwise we can end up 6258 # making bogus files that we don't know about and never remove. For 6259 # instance it was reported that on HP-UX the gcc test will end up 6260 # making a dummy file named 'D' -- because '-MD' means "put the output 6261 # in D". 6262 rm -rf conftest.dir 6263 mkdir conftest.dir 6264 # Copy depcomp to subdir because otherwise we won't find it if we're 6265 # using a relative directory. 6266 cp "$am_depcomp" conftest.dir 6267 cd conftest.dir 6268 # We will build objects and dependencies in a subdirectory because 6269 # it helps to detect inapplicable dependency modes. For instance 6270 # both Tru64's cc and ICC support -MD to output dependencies as a 6271 # side effect of compilation, but ICC will put the dependencies in 6272 # the current directory while Tru64 will put them in the object 6273 # directory. 6274 mkdir sub 6275 6276 am_cv_build_CC_dependencies_compiler_type=none 6277 if test "$am_compiler_list" = ""; then 6278 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6279 fi 6280 am__universal=false 6281 case " $depcc " in #( 6282 *\ -arch\ *\ -arch\ *) am__universal=true ;; 6283 esac 6284 6285 for depmode in $am_compiler_list; do 6286 # Setup a source with many dependencies, because some compilers 6287 # like to wrap large dependency lists on column 80 (with \), and 6288 # we should not choose a depcomp mode which is confused by this. 6289 # 6290 # We need to recreate these files for each test, as the compiler may 6291 # overwrite some of them when testing with obscure command lines. 6292 # This happens at least with the AIX C compiler. 6293 : > sub/conftest.c 6294 for i in 1 2 3 4 5 6; do 6295 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6296 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 6297 # Solaris 10 /bin/sh. 6298 echo '/* dummy */' > sub/conftst$i.h 6299 done 6300 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6301 6302 # We check with '-c' and '-o' for the sake of the "dashmstdout" 6303 # mode. It turns out that the SunPro C++ compiler does not properly 6304 # handle '-M -o', and we need to detect this. Also, some Intel 6305 # versions had trouble with output in subdirs. 6306 am__obj=sub/conftest.${OBJEXT-o} 6307 am__minus_obj="-o $am__obj" 6308 case $depmode in 6309 gcc) 6310 # This depmode causes a compiler race in universal mode. 6311 test "$am__universal" = false || continue 6312 ;; 6313 nosideeffect) 6314 # After this tag, mechanisms are not by side-effect, so they'll 6315 # only be used when explicitly requested. 6316 if test "x$enable_dependency_tracking" = xyes; then 6317 continue 6318 else 6319 break 6320 fi 6321 ;; 6322 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 6323 # This compiler won't grok '-c -o', but also, the minuso test has 6324 # not run yet. These depmodes are late enough in the game, and 6325 # so weak that their functioning should not be impacted. 6326 am__obj=conftest.${OBJEXT-o} 6327 am__minus_obj= 6328 ;; 6329 none) break ;; 6330 esac 6331 if depmode=$depmode \ 6332 source=sub/conftest.c object=$am__obj \ 6333 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6334 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6335 >/dev/null 2>conftest.err && 6336 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 6337 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6338 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6339 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6340 # icc doesn't choke on unknown options, it will just issue warnings 6341 # or remarks (even with -Werror). So we grep stderr for any message 6342 # that says an option was ignored or not supported. 6343 # When given -MP, icc 7.0 and 7.1 complain thusly: 6344 # icc: Command line warning: ignoring option '-M'; no argument required 6345 # The diagnosis changed in icc 8.0: 6346 # icc: Command line remark: option '-MP' not supported 6347 if (grep 'ignoring option' conftest.err || 6348 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6349 am_cv_build_CC_dependencies_compiler_type=$depmode 6350 break 6351 fi 6352 fi 6353 done 6354 6355 cd .. 6356 rm -rf conftest.dir 6357 else 6358 am_cv_build_CC_dependencies_compiler_type=none 6359 fi 6360 6361 fi 6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_CC_dependencies_compiler_type" >&5 6363 $as_echo "$am_cv_build_CC_dependencies_compiler_type" >&6; } 6364 CCDEPMODE=depmode=$am_cv_build_CC_dependencies_compiler_type 6365 6366 if 6367 test "x$enable_dependency_tracking" != xno \ 6368 && test "$am_cv_build_CC_dependencies_compiler_type" = gcc3; then 6369 am__fastdepCC_TRUE= 6370 am__fastdepCC_FALSE='#' 6371 else 6372 am__fastdepCC_TRUE='#' 6373 am__fastdepCC_FALSE= 6374 fi 6375 6376 6377 ac_ext=c 6378 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6379 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6380 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6381 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6383 $as_echo_n "checking how to run the C preprocessor... " >&6; } 6384 # On Suns, sometimes $CPP names a directory. 6385 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then 6386 CPP_FOR_BUILD= 6387 fi 6388 if test -z "$CPP_FOR_BUILD"; then 6389 if ${ac_cv_build_prog_CPP+:} false; then : 6390 $as_echo_n "(cached) " >&6 6391 else 6392 # Double quotes because CPP needs to be expanded 6393 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp" 6394 do 6395 ac_preproc_ok=false 6396 for ac_c_preproc_warn_flag in '' yes 6397 do 6398 # Use a header file that comes with gcc, so configuring glibc 6399 # with a fresh cross-compiler works. 6400 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6401 # <limits.h> exists even on freestanding compilers. 6402 # On the NeXT, cc -E runs the code through the compiler's parser, 6403 # not just through cpp. "Syntax error" is here to catch this case. 6404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6405 /* end confdefs.h. */ 6406 #ifdef __STDC__ 6407 # include <limits.h> 6408 #else 6409 # include <assert.h> 6410 #endif 6411 Syntax error 6412 _ACEOF 6413 if ac_fn_c_try_cpp "$LINENO"; then : 6414 6415 else 6416 # Broken: fails on valid input. 6417 continue 6418 fi 6419 rm -f conftest.err conftest.i conftest.$ac_ext 6420 6421 # OK, works on sane cases. Now check whether nonexistent headers 6422 # can be detected and how. 6423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6424 /* end confdefs.h. */ 6425 #include <ac_nonexistent.h> 6426 _ACEOF 6427 if ac_fn_c_try_cpp "$LINENO"; then : 6428 # Broken: success on invalid input. 6429 continue 6430 else 6431 # Passes both tests. 6432 ac_preproc_ok=: 6433 break 6434 fi 6435 rm -f conftest.err conftest.i conftest.$ac_ext 6436 6437 done 6438 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6439 rm -f conftest.i conftest.err conftest.$ac_ext 6440 if $ac_preproc_ok; then : 6441 break 6442 fi 6443 6444 done 6445 ac_cv_build_prog_CPP=$CPP_FOR_BUILD 6446 6447 fi 6448 CPP_FOR_BUILD=$ac_cv_build_prog_CPP 6449 else 6450 ac_cv_build_prog_CPP=$CPP_FOR_BUILD 6451 fi 6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5 6453 $as_echo "$CPP_FOR_BUILD" >&6; } 6454 ac_preproc_ok=false 6455 for ac_c_preproc_warn_flag in '' yes 6456 do 6457 # Use a header file that comes with gcc, so configuring glibc 6458 # with a fresh cross-compiler works. 6459 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6460 # <limits.h> exists even on freestanding compilers. 6461 # On the NeXT, cc -E runs the code through the compiler's parser, 6462 # not just through cpp. "Syntax error" is here to catch this case. 6463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6464 /* end confdefs.h. */ 6465 #ifdef __STDC__ 6466 # include <limits.h> 6467 #else 6468 # include <assert.h> 6469 #endif 6470 Syntax error 6471 _ACEOF 6472 if ac_fn_c_try_cpp "$LINENO"; then : 6473 6474 else 6475 # Broken: fails on valid input. 6476 continue 6477 fi 6478 rm -f conftest.err conftest.i conftest.$ac_ext 6479 6480 # OK, works on sane cases. Now check whether nonexistent headers 6481 # can be detected and how. 6482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6483 /* end confdefs.h. */ 6484 #include <ac_nonexistent.h> 6485 _ACEOF 6486 if ac_fn_c_try_cpp "$LINENO"; then : 6487 # Broken: success on invalid input. 6488 continue 6489 else 6490 # Passes both tests. 6491 ac_preproc_ok=: 6492 break 6493 fi 6494 rm -f conftest.err conftest.i conftest.$ac_ext 6495 6496 done 6497 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6498 rm -f conftest.i conftest.err conftest.$ac_ext 6499 if $ac_preproc_ok; then : 6500 6501 else 6502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6504 as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check 6505 See \`config.log' for more details" "$LINENO" 5; } 6506 fi 6507 6508 ac_ext=c 6509 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6510 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6511 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6512 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6513 6514 6515 6516 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6518 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6519 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6520 $as_echo_n "(cached) " >&6 6521 else 6522 6523 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6524 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6526 /* end confdefs.h. */ 6527 6528 int 6529 main () 6530 { 6531 6532 ; 6533 return 0; 6534 } 6535 _ACEOF 6536 if ac_fn_c_try_link "$LINENO"; then : 6537 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6538 else 6539 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6540 fi 6541 rm -f core conftest.err conftest.$ac_build_objext \ 6542 conftest$ac_build_exeext conftest.$ac_ext 6543 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6544 6545 fi 6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6547 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6548 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6549 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6550 else 6551 gl_build_unknown_warnings_are_errors= 6552 fi 6553 6554 6555 fi 6556 6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wall" >&5 6558 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wall... " >&6; } 6559 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wall+:} false; then : 6560 $as_echo_n "(cached) " >&6 6561 else 6562 6563 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6564 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wall" 6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6566 /* end confdefs.h. */ 6567 6568 int 6569 main () 6570 { 6571 6572 ; 6573 return 0; 6574 } 6575 _ACEOF 6576 if ac_fn_c_try_link "$LINENO"; then : 6577 gl_cv_warn_CFLAGS_FOR_BUILD__Wall=yes 6578 else 6579 gl_cv_warn_CFLAGS_FOR_BUILD__Wall=no 6580 fi 6581 rm -f core conftest.err conftest.$ac_build_objext \ 6582 conftest$ac_build_exeext conftest.$ac_ext 6583 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6584 6585 fi 6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&5 6587 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&6; } 6588 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" = xyes; then : 6589 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wall" 6590 fi 6591 6592 6593 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6595 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6596 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6597 $as_echo_n "(cached) " >&6 6598 else 6599 6600 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6601 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6603 /* end confdefs.h. */ 6604 6605 int 6606 main () 6607 { 6608 6609 ; 6610 return 0; 6611 } 6612 _ACEOF 6613 if ac_fn_c_try_link "$LINENO"; then : 6614 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6615 else 6616 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6617 fi 6618 rm -f core conftest.err conftest.$ac_build_objext \ 6619 conftest$ac_build_exeext conftest.$ac_ext 6620 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6621 6622 fi 6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6624 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6625 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6626 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6627 else 6628 gl_build_unknown_warnings_are_errors= 6629 fi 6630 6631 6632 fi 6633 6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wempty-body" >&5 6635 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wempty-body... " >&6; } 6636 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body+:} false; then : 6637 $as_echo_n "(cached) " >&6 6638 else 6639 6640 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6641 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wempty-body" 6642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6643 /* end confdefs.h. */ 6644 6645 int 6646 main () 6647 { 6648 6649 ; 6650 return 0; 6651 } 6652 _ACEOF 6653 if ac_fn_c_try_link "$LINENO"; then : 6654 gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=yes 6655 else 6656 gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=no 6657 fi 6658 rm -f core conftest.err conftest.$ac_build_objext \ 6659 conftest$ac_build_exeext conftest.$ac_ext 6660 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6661 6662 fi 6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&5 6664 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&6; } 6665 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" = xyes; then : 6666 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wempty-body" 6667 fi 6668 6669 6670 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6672 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6673 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6674 $as_echo_n "(cached) " >&6 6675 else 6676 6677 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6678 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6680 /* end confdefs.h. */ 6681 6682 int 6683 main () 6684 { 6685 6686 ; 6687 return 0; 6688 } 6689 _ACEOF 6690 if ac_fn_c_try_link "$LINENO"; then : 6691 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6692 else 6693 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6694 fi 6695 rm -f core conftest.err conftest.$ac_build_objext \ 6696 conftest$ac_build_exeext conftest.$ac_ext 6697 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6698 6699 fi 6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6701 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6702 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6703 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6704 else 6705 gl_build_unknown_warnings_are_errors= 6706 fi 6707 6708 6709 fi 6710 6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wformat-security" >&5 6712 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wformat-security... " >&6; } 6713 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security+:} false; then : 6714 $as_echo_n "(cached) " >&6 6715 else 6716 6717 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6718 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wformat-security" 6719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6720 /* end confdefs.h. */ 6721 6722 int 6723 main () 6724 { 6725 6726 ; 6727 return 0; 6728 } 6729 _ACEOF 6730 if ac_fn_c_try_link "$LINENO"; then : 6731 gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=yes 6732 else 6733 gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=no 6734 fi 6735 rm -f core conftest.err conftest.$ac_build_objext \ 6736 conftest$ac_build_exeext conftest.$ac_ext 6737 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6738 6739 fi 6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&5 6741 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&6; } 6742 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" = xyes; then : 6743 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wformat-security" 6744 fi 6745 6746 6747 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6749 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6750 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6751 $as_echo_n "(cached) " >&6 6752 else 6753 6754 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6755 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6757 /* end confdefs.h. */ 6758 6759 int 6760 main () 6761 { 6762 6763 ; 6764 return 0; 6765 } 6766 _ACEOF 6767 if ac_fn_c_try_link "$LINENO"; then : 6768 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6769 else 6770 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6771 fi 6772 rm -f core conftest.err conftest.$ac_build_objext \ 6773 conftest$ac_build_exeext conftest.$ac_ext 6774 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6775 6776 fi 6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6778 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6779 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6780 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6781 else 6782 gl_build_unknown_warnings_are_errors= 6783 fi 6784 6785 6786 fi 6787 6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wignored-qualifiers" >&5 6789 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wignored-qualifiers... " >&6; } 6790 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers+:} false; then : 6791 $as_echo_n "(cached) " >&6 6792 else 6793 6794 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6795 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wignored-qualifiers" 6796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6797 /* end confdefs.h. */ 6798 6799 int 6800 main () 6801 { 6802 6803 ; 6804 return 0; 6805 } 6806 _ACEOF 6807 if ac_fn_c_try_link "$LINENO"; then : 6808 gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=yes 6809 else 6810 gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=no 6811 fi 6812 rm -f core conftest.err conftest.$ac_build_objext \ 6813 conftest$ac_build_exeext conftest.$ac_ext 6814 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6815 6816 fi 6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&5 6818 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&6; } 6819 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" = xyes; then : 6820 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wignored-qualifiers" 6821 fi 6822 6823 6824 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6826 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6827 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6828 $as_echo_n "(cached) " >&6 6829 else 6830 6831 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6832 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6834 /* end confdefs.h. */ 6835 6836 int 6837 main () 6838 { 6839 6840 ; 6841 return 0; 6842 } 6843 _ACEOF 6844 if ac_fn_c_try_link "$LINENO"; then : 6845 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6846 else 6847 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6848 fi 6849 rm -f core conftest.err conftest.$ac_build_objext \ 6850 conftest$ac_build_exeext conftest.$ac_ext 6851 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6852 6853 fi 6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6855 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6856 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6857 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6858 else 6859 gl_build_unknown_warnings_are_errors= 6860 fi 6861 6862 6863 fi 6864 6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Winit-self" >&5 6866 $as_echo_n "checking whether $CC_FOR_BUILD handles -Winit-self... " >&6; } 6867 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self+:} false; then : 6868 $as_echo_n "(cached) " >&6 6869 else 6870 6871 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6872 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Winit-self" 6873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6874 /* end confdefs.h. */ 6875 6876 int 6877 main () 6878 { 6879 6880 ; 6881 return 0; 6882 } 6883 _ACEOF 6884 if ac_fn_c_try_link "$LINENO"; then : 6885 gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=yes 6886 else 6887 gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=no 6888 fi 6889 rm -f core conftest.err conftest.$ac_build_objext \ 6890 conftest$ac_build_exeext conftest.$ac_ext 6891 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6892 6893 fi 6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&5 6895 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&6; } 6896 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" = xyes; then : 6897 as_fn_append WARN_CFLAGS_FOR_BUILD " -Winit-self" 6898 fi 6899 6900 6901 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6903 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6904 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6905 $as_echo_n "(cached) " >&6 6906 else 6907 6908 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6909 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6911 /* end confdefs.h. */ 6912 6913 int 6914 main () 6915 { 6916 6917 ; 6918 return 0; 6919 } 6920 _ACEOF 6921 if ac_fn_c_try_link "$LINENO"; then : 6922 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6923 else 6924 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6925 fi 6926 rm -f core conftest.err conftest.$ac_build_objext \ 6927 conftest$ac_build_exeext conftest.$ac_ext 6928 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6929 6930 fi 6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 6932 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 6933 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 6934 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 6935 else 6936 gl_build_unknown_warnings_are_errors= 6937 fi 6938 6939 6940 fi 6941 6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wlogical-op" >&5 6943 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wlogical-op... " >&6; } 6944 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op+:} false; then : 6945 $as_echo_n "(cached) " >&6 6946 else 6947 6948 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6949 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wlogical-op" 6950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6951 /* end confdefs.h. */ 6952 6953 int 6954 main () 6955 { 6956 6957 ; 6958 return 0; 6959 } 6960 _ACEOF 6961 if ac_fn_c_try_link "$LINENO"; then : 6962 gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=yes 6963 else 6964 gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=no 6965 fi 6966 rm -f core conftest.err conftest.$ac_build_objext \ 6967 conftest$ac_build_exeext conftest.$ac_ext 6968 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 6969 6970 fi 6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&5 6972 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&6; } 6973 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" = xyes; then : 6974 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wlogical-op" 6975 fi 6976 6977 6978 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 6980 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 6981 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6982 $as_echo_n "(cached) " >&6 6983 else 6984 6985 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 6986 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 6987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6988 /* end confdefs.h. */ 6989 6990 int 6991 main () 6992 { 6993 6994 ; 6995 return 0; 6996 } 6997 _ACEOF 6998 if ac_fn_c_try_link "$LINENO"; then : 6999 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7000 else 7001 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7002 fi 7003 rm -f core conftest.err conftest.$ac_build_objext \ 7004 conftest$ac_build_exeext conftest.$ac_ext 7005 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7006 7007 fi 7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7009 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7010 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7011 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7012 else 7013 gl_build_unknown_warnings_are_errors= 7014 fi 7015 7016 7017 fi 7018 7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type" >&5 7020 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type... " >&6; } 7021 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type+:} false; then : 7022 $as_echo_n "(cached) " >&6 7023 else 7024 7025 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7026 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wmissing-parameter-type" 7027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7028 /* end confdefs.h. */ 7029 7030 int 7031 main () 7032 { 7033 7034 ; 7035 return 0; 7036 } 7037 _ACEOF 7038 if ac_fn_c_try_link "$LINENO"; then : 7039 gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=yes 7040 else 7041 gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=no 7042 fi 7043 rm -f core conftest.err conftest.$ac_build_objext \ 7044 conftest$ac_build_exeext conftest.$ac_ext 7045 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7046 7047 fi 7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&5 7049 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&6; } 7050 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" = xyes; then : 7051 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wmissing-parameter-type" 7052 fi 7053 7054 7055 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7057 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7058 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7059 $as_echo_n "(cached) " >&6 7060 else 7061 7062 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7063 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7065 /* end confdefs.h. */ 7066 7067 int 7068 main () 7069 { 7070 7071 ; 7072 return 0; 7073 } 7074 _ACEOF 7075 if ac_fn_c_try_link "$LINENO"; then : 7076 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7077 else 7078 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7079 fi 7080 rm -f core conftest.err conftest.$ac_build_objext \ 7081 conftest$ac_build_exeext conftest.$ac_ext 7082 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7083 7084 fi 7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7086 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7087 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7088 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7089 else 7090 gl_build_unknown_warnings_are_errors= 7091 fi 7092 7093 7094 fi 7095 7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wnested-externs" >&5 7097 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wnested-externs... " >&6; } 7098 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs+:} false; then : 7099 $as_echo_n "(cached) " >&6 7100 else 7101 7102 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7103 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wnested-externs" 7104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7105 /* end confdefs.h. */ 7106 7107 int 7108 main () 7109 { 7110 7111 ; 7112 return 0; 7113 } 7114 _ACEOF 7115 if ac_fn_c_try_link "$LINENO"; then : 7116 gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=yes 7117 else 7118 gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=no 7119 fi 7120 rm -f core conftest.err conftest.$ac_build_objext \ 7121 conftest$ac_build_exeext conftest.$ac_ext 7122 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7123 7124 fi 7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&5 7126 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&6; } 7127 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" = xyes; then : 7128 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wnested-externs" 7129 fi 7130 7131 7132 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7134 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7135 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7136 $as_echo_n "(cached) " >&6 7137 else 7138 7139 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7140 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7142 /* end confdefs.h. */ 7143 7144 int 7145 main () 7146 { 7147 7148 ; 7149 return 0; 7150 } 7151 _ACEOF 7152 if ac_fn_c_try_link "$LINENO"; then : 7153 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7154 else 7155 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7156 fi 7157 rm -f core conftest.err conftest.$ac_build_objext \ 7158 conftest$ac_build_exeext conftest.$ac_ext 7159 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7160 7161 fi 7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7163 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7164 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7165 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7166 else 7167 gl_build_unknown_warnings_are_errors= 7168 fi 7169 7170 7171 fi 7172 7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-declaration" >&5 7174 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-declaration... " >&6; } 7175 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration+:} false; then : 7176 $as_echo_n "(cached) " >&6 7177 else 7178 7179 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7180 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-declaration" 7181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7182 /* end confdefs.h. */ 7183 7184 int 7185 main () 7186 { 7187 7188 ; 7189 return 0; 7190 } 7191 _ACEOF 7192 if ac_fn_c_try_link "$LINENO"; then : 7193 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=yes 7194 else 7195 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=no 7196 fi 7197 rm -f core conftest.err conftest.$ac_build_objext \ 7198 conftest$ac_build_exeext conftest.$ac_ext 7199 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7200 7201 fi 7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&5 7203 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&6; } 7204 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" = xyes; then : 7205 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-declaration" 7206 fi 7207 7208 7209 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7211 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7212 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7213 $as_echo_n "(cached) " >&6 7214 else 7215 7216 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7217 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7219 /* end confdefs.h. */ 7220 7221 int 7222 main () 7223 { 7224 7225 ; 7226 return 0; 7227 } 7228 _ACEOF 7229 if ac_fn_c_try_link "$LINENO"; then : 7230 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7231 else 7232 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7233 fi 7234 rm -f core conftest.err conftest.$ac_build_objext \ 7235 conftest$ac_build_exeext conftest.$ac_ext 7236 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7237 7238 fi 7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7240 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7241 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7242 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7243 else 7244 gl_build_unknown_warnings_are_errors= 7245 fi 7246 7247 7248 fi 7249 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-definition" >&5 7251 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-definition... " >&6; } 7252 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition+:} false; then : 7253 $as_echo_n "(cached) " >&6 7254 else 7255 7256 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7257 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-definition" 7258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7259 /* end confdefs.h. */ 7260 7261 int 7262 main () 7263 { 7264 7265 ; 7266 return 0; 7267 } 7268 _ACEOF 7269 if ac_fn_c_try_link "$LINENO"; then : 7270 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=yes 7271 else 7272 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=no 7273 fi 7274 rm -f core conftest.err conftest.$ac_build_objext \ 7275 conftest$ac_build_exeext conftest.$ac_ext 7276 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7277 7278 fi 7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&5 7280 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&6; } 7281 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" = xyes; then : 7282 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-definition" 7283 fi 7284 7285 7286 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7288 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7289 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7290 $as_echo_n "(cached) " >&6 7291 else 7292 7293 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7294 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7296 /* end confdefs.h. */ 7297 7298 int 7299 main () 7300 { 7301 7302 ; 7303 return 0; 7304 } 7305 _ACEOF 7306 if ac_fn_c_try_link "$LINENO"; then : 7307 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7308 else 7309 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7310 fi 7311 rm -f core conftest.err conftest.$ac_build_objext \ 7312 conftest$ac_build_exeext conftest.$ac_ext 7313 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7314 7315 fi 7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7317 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7318 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7319 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7320 else 7321 gl_build_unknown_warnings_are_errors= 7322 fi 7323 7324 7325 fi 7326 7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wsign-compare" >&5 7328 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wsign-compare... " >&6; } 7329 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare+:} false; then : 7330 $as_echo_n "(cached) " >&6 7331 else 7332 7333 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7334 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wsign-compare" 7335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7336 /* end confdefs.h. */ 7337 7338 int 7339 main () 7340 { 7341 7342 ; 7343 return 0; 7344 } 7345 _ACEOF 7346 if ac_fn_c_try_link "$LINENO"; then : 7347 gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=yes 7348 else 7349 gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=no 7350 fi 7351 rm -f core conftest.err conftest.$ac_build_objext \ 7352 conftest$ac_build_exeext conftest.$ac_ext 7353 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7354 7355 fi 7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&5 7357 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&6; } 7358 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" = xyes; then : 7359 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wsign-compare" 7360 fi 7361 7362 7363 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7365 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7366 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7367 $as_echo_n "(cached) " >&6 7368 else 7369 7370 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7371 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7373 /* end confdefs.h. */ 7374 7375 int 7376 main () 7377 { 7378 7379 ; 7380 return 0; 7381 } 7382 _ACEOF 7383 if ac_fn_c_try_link "$LINENO"; then : 7384 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7385 else 7386 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7387 fi 7388 rm -f core conftest.err conftest.$ac_build_objext \ 7389 conftest$ac_build_exeext conftest.$ac_ext 7390 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7391 7392 fi 7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7394 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7395 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7396 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7397 else 7398 gl_build_unknown_warnings_are_errors= 7399 fi 7400 7401 7402 fi 7403 7404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wtype-limits" >&5 7405 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wtype-limits... " >&6; } 7406 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits+:} false; then : 7407 $as_echo_n "(cached) " >&6 7408 else 7409 7410 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7411 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wtype-limits" 7412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7413 /* end confdefs.h. */ 7414 7415 int 7416 main () 7417 { 7418 7419 ; 7420 return 0; 7421 } 7422 _ACEOF 7423 if ac_fn_c_try_link "$LINENO"; then : 7424 gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=yes 7425 else 7426 gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=no 7427 fi 7428 rm -f core conftest.err conftest.$ac_build_objext \ 7429 conftest$ac_build_exeext conftest.$ac_ext 7430 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7431 7432 fi 7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&5 7434 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&6; } 7435 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" = xyes; then : 7436 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wtype-limits" 7437 fi 7438 7439 7440 if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7442 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7443 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7444 $as_echo_n "(cached) " >&6 7445 else 7446 7447 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7448 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7450 /* end confdefs.h. */ 7451 7452 int 7453 main () 7454 { 7455 7456 ; 7457 return 0; 7458 } 7459 _ACEOF 7460 if ac_fn_c_try_link "$LINENO"; then : 7461 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7462 else 7463 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7464 fi 7465 rm -f core conftest.err conftest.$ac_build_objext \ 7466 conftest$ac_build_exeext conftest.$ac_ext 7467 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7468 7469 fi 7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7471 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7472 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7473 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7474 else 7475 gl_build_unknown_warnings_are_errors= 7476 fi 7477 7478 7479 fi 7480 7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wwrite-strings" >&5 7482 $as_echo_n "checking whether $CC_FOR_BUILD handles -Wwrite-strings... " >&6; } 7483 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings+:} false; then : 7484 $as_echo_n "(cached) " >&6 7485 else 7486 7487 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7488 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wwrite-strings" 7489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7490 /* end confdefs.h. */ 7491 7492 int 7493 main () 7494 { 7495 7496 ; 7497 return 0; 7498 } 7499 _ACEOF 7500 if ac_fn_c_try_link "$LINENO"; then : 7501 gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=yes 7502 else 7503 gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=no 7504 fi 7505 rm -f core conftest.err conftest.$ac_build_objext \ 7506 conftest$ac_build_exeext conftest.$ac_ext 7507 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7508 7509 fi 7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&5 7511 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&6; } 7512 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" = xyes; then : 7513 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wwrite-strings" 7514 fi 7515 7516 7517 # Check whether --enable-gcc-Werror was given. 7518 if test "${enable_gcc_Werror+set}" = set; then : 7519 enableval=$enable_gcc_Werror; case $enableval in 7520 yes) if test x${gl_build_unknown_warnings_are_errors+set} = x; then : 7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5 7522 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; } 7523 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7524 $as_echo_n "(cached) " >&6 7525 else 7526 7527 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7528 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option" 7529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7530 /* end confdefs.h. */ 7531 7532 int 7533 main () 7534 { 7535 7536 ; 7537 return 0; 7538 } 7539 _ACEOF 7540 if ac_fn_c_try_link "$LINENO"; then : 7541 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7542 else 7543 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7544 fi 7545 rm -f core conftest.err conftest.$ac_build_objext \ 7546 conftest$ac_build_exeext conftest.$ac_ext 7547 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7548 7549 fi 7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5 7551 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; } 7552 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then : 7553 gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 7554 else 7555 gl_build_unknown_warnings_are_errors= 7556 fi 7557 7558 7559 fi 7560 7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror" >&5 7562 $as_echo_n "checking whether $CC_FOR_BUILD handles -Werror... " >&6; } 7563 if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror+:} false; then : 7564 $as_echo_n "(cached) " >&6 7565 else 7566 7567 gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD" 7568 as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror" 7569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7570 /* end confdefs.h. */ 7571 7572 int 7573 main () 7574 { 7575 7576 ; 7577 return 0; 7578 } 7579 _ACEOF 7580 if ac_fn_c_try_link "$LINENO"; then : 7581 gl_cv_warn_CFLAGS_FOR_BUILD__Werror=yes 7582 else 7583 gl_cv_warn_CFLAGS_FOR_BUILD__Werror=no 7584 fi 7585 rm -f core conftest.err conftest.$ac_build_objext \ 7586 conftest$ac_build_exeext conftest.$ac_ext 7587 CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS" 7588 7589 fi 7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&5 7591 $as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&6; } 7592 if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" = xyes; then : 7593 as_fn_append WARN_CFLAGS_FOR_BUILD " -Werror" 7594 fi 7595 7596 ;; 7597 no) ;; 7598 *) as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;; 7599 esac 7600 7601 fi 7602 7603 7604 7605 7606 if test -n "${st_saved_cross_compiling+set}"; then : 7607 cross_compiling="${st_saved_cross_compiling}"; unset st_saved_cross_compiling 7608 fi 7609 7610 if test -n "${st_saved_ac_tool_prefix+set}"; then : 7611 ac_tool_prefix="${st_saved_ac_tool_prefix}"; unset st_saved_ac_tool_prefix 7612 fi 7613 7614 if test -n "${st_saved_ac_link+set}"; then : 7615 ac_link="${st_saved_ac_link}"; unset st_saved_ac_link 7616 fi 7617 7618 if test -n "${st_saved_ac_cv_c_decl_report+set}"; then : 7619 ac_cv_c_decl_report="${st_saved_ac_cv_c_decl_report}"; unset st_saved_ac_cv_c_decl_report 7620 fi 7621 7622 if test -n "${st_saved_ac_cv_c_compiler_gnu+set}"; then : 7623 ac_cv_c_compiler_gnu="${st_saved_ac_cv_c_compiler_gnu}"; unset st_saved_ac_cv_c_compiler_gnu 7624 fi 7625 7626 if test -n "${st_saved_ac_cpp+set}"; then : 7627 ac_cpp="${st_saved_ac_cpp}"; unset st_saved_ac_cpp 7628 fi 7629 7630 if test -n "${st_saved_ac_compiler_gnu+set}"; then : 7631 ac_compiler_gnu="${st_saved_ac_compiler_gnu}"; unset st_saved_ac_compiler_gnu 7632 fi 7633 7634 if test -n "${st_saved_ac_compile+set}"; then : 7635 ac_compile="${st_saved_ac_compile}"; unset st_saved_ac_compile 7636 fi 7637 7638 if test -n "${st_saved_ac_c_werror_flag+set}"; then : 7639 ac_c_werror_flag="${st_saved_ac_c_werror_flag}"; unset st_saved_ac_c_werror_flag 7640 fi 7641 7642 if test -n "${st_saved_ac_c_preproc_warn_flag+set}"; then : 7643 ac_c_preproc_warn_flag="${st_saved_ac_c_preproc_warn_flag}"; unset st_saved_ac_c_preproc_warn_flag 7644 fi 7645 7646 if test -n "${st_saved_ac_c_decl_warn_flag+set}"; then : 7647 ac_c_decl_warn_flag="${st_saved_ac_c_decl_warn_flag}"; unset st_saved_ac_c_decl_warn_flag 7648 fi 7649 7650 7651 7652 BUILD_EXEEXT=$ac_build_exeext 7653 BUILD_OBJEXT=$ac_build_objext 7654 7655 7656 if test -n "$ac_tool_prefix"; then 7657 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7658 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7660 $as_echo_n "checking for $ac_word... " >&6; } 7661 if ${ac_cv_prog_RANLIB+:} false; then : 7662 $as_echo_n "(cached) " >&6 7663 else 7664 if test -n "$RANLIB"; then 7665 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7666 else 7667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7668 for as_dir in $PATH 7669 do 7670 IFS=$as_save_IFS 7671 test -z "$as_dir" && as_dir=. 7672 for ac_exec_ext in '' $ac_executable_extensions; do 7673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7674 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7676 break 2 7677 fi 7678 done 7679 done 7680 IFS=$as_save_IFS 7681 7682 fi 7683 fi 7684 RANLIB=$ac_cv_prog_RANLIB 7685 if test -n "$RANLIB"; then 7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7687 $as_echo "$RANLIB" >&6; } 7688 else 7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7690 $as_echo "no" >&6; } 7691 fi 7692 7693 7694 fi 7695 if test -z "$ac_cv_prog_RANLIB"; then 7696 ac_ct_RANLIB=$RANLIB 7697 # Extract the first word of "ranlib", so it can be a program name with args. 7698 set dummy ranlib; ac_word=$2 7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7700 $as_echo_n "checking for $ac_word... " >&6; } 7701 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7702 $as_echo_n "(cached) " >&6 7703 else 7704 if test -n "$ac_ct_RANLIB"; then 7705 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7706 else 7707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7708 for as_dir in $PATH 7709 do 7710 IFS=$as_save_IFS 7711 test -z "$as_dir" && as_dir=. 7712 for ac_exec_ext in '' $ac_executable_extensions; do 7713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7714 ac_cv_prog_ac_ct_RANLIB="ranlib" 7715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7716 break 2 7717 fi 7718 done 7719 done 7720 IFS=$as_save_IFS 7721 7722 fi 7723 fi 7724 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7725 if test -n "$ac_ct_RANLIB"; then 7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7727 $as_echo "$ac_ct_RANLIB" >&6; } 7728 else 7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7730 $as_echo "no" >&6; } 7731 fi 7732 7733 if test "x$ac_ct_RANLIB" = x; then 7734 RANLIB=":" 7735 else 7736 case $cross_compiling:$ac_tool_warned in 7737 yes:) 7738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7740 ac_tool_warned=yes ;; 7741 esac 7742 RANLIB=$ac_ct_RANLIB 7743 fi 7744 else 7745 RANLIB="$ac_cv_prog_RANLIB" 7746 fi 7747 7748 7749 7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 7751 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 7752 if ${ac_cv_path_GREP+:} false; then : 7753 $as_echo_n "(cached) " >&6 7754 else 7755 if test -z "$GREP"; then 7756 ac_path_GREP_found=false 7757 # Loop through the user's path and test for each of PROGNAME-LIST 7758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7759 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7760 do 7761 IFS=$as_save_IFS 7762 test -z "$as_dir" && as_dir=. 7763 for ac_prog in grep ggrep; do 7764 for ac_exec_ext in '' $ac_executable_extensions; do 7765 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 7766 as_fn_executable_p "$ac_path_GREP" || continue 7767 # Check for GNU ac_path_GREP and select it if it is found. 7768 # Check for GNU $ac_path_GREP 7769 case `"$ac_path_GREP" --version 2>&1` in 7770 *GNU*) 7771 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 7772 *) 7773 ac_count=0 7774 $as_echo_n 0123456789 >"conftest.in" 7775 while : 7776 do 7777 cat "conftest.in" "conftest.in" >"conftest.tmp" 7778 mv "conftest.tmp" "conftest.in" 7779 cp "conftest.in" "conftest.nl" 7780 $as_echo 'GREP' >> "conftest.nl" 7781 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 7782 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7783 as_fn_arith $ac_count + 1 && ac_count=$as_val 7784 if test $ac_count -gt ${ac_path_GREP_max-0}; then 7785 # Best one so far, save it but keep looking for a better one 7786 ac_cv_path_GREP="$ac_path_GREP" 7787 ac_path_GREP_max=$ac_count 7788 fi 7789 # 10*(2^10) chars as input seems more than enough 7790 test $ac_count -gt 10 && break 7791 done 7792 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7793 esac 7794 7795 $ac_path_GREP_found && break 3 7796 done 7797 done 7798 done 7799 IFS=$as_save_IFS 7800 if test -z "$ac_cv_path_GREP"; then 7801 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 7802 fi 7803 else 7804 ac_cv_path_GREP=$GREP 7805 fi 7806 7807 fi 7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 7809 $as_echo "$ac_cv_path_GREP" >&6; } 7810 GREP="$ac_cv_path_GREP" 7811 7812 7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 7814 $as_echo_n "checking for egrep... " >&6; } 7815 if ${ac_cv_path_EGREP+:} false; then : 7816 $as_echo_n "(cached) " >&6 7817 else 7818 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 7819 then ac_cv_path_EGREP="$GREP -E" 7820 else 7821 if test -z "$EGREP"; then 7822 ac_path_EGREP_found=false 7823 # Loop through the user's path and test for each of PROGNAME-LIST 7824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7825 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7826 do 7827 IFS=$as_save_IFS 7828 test -z "$as_dir" && as_dir=. 7829 for ac_prog in egrep; do 7830 for ac_exec_ext in '' $ac_executable_extensions; do 7831 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 7832 as_fn_executable_p "$ac_path_EGREP" || continue 7833 # Check for GNU ac_path_EGREP and select it if it is found. 7834 # Check for GNU $ac_path_EGREP 7835 case `"$ac_path_EGREP" --version 2>&1` in 7836 *GNU*) 7837 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 7838 *) 7839 ac_count=0 7840 $as_echo_n 0123456789 >"conftest.in" 7841 while : 7842 do 7843 cat "conftest.in" "conftest.in" >"conftest.tmp" 7844 mv "conftest.tmp" "conftest.in" 7845 cp "conftest.in" "conftest.nl" 7846 $as_echo 'EGREP' >> "conftest.nl" 7847 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 7848 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7849 as_fn_arith $ac_count + 1 && ac_count=$as_val 7850 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 7851 # Best one so far, save it but keep looking for a better one 7852 ac_cv_path_EGREP="$ac_path_EGREP" 7853 ac_path_EGREP_max=$ac_count 7854 fi 7855 # 10*(2^10) chars as input seems more than enough 7856 test $ac_count -gt 10 && break 7857 done 7858 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7859 esac 7860 7861 $ac_path_EGREP_found && break 3 7862 done 7863 done 7864 done 7865 IFS=$as_save_IFS 7866 if test -z "$ac_cv_path_EGREP"; then 7867 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 7868 fi 7869 else 7870 ac_cv_path_EGREP=$EGREP 7871 fi 7872 7873 fi 7874 fi 7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 7876 $as_echo "$ac_cv_path_EGREP" >&6; } 7877 EGREP="$ac_cv_path_EGREP" 7878 7879 7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7881 $as_echo_n "checking for ANSI C header files... " >&6; } 7882 if ${ac_cv_header_stdc+:} false; then : 7883 $as_echo_n "(cached) " >&6 7884 else 7885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7886 /* end confdefs.h. */ 7887 #include <stdlib.h> 7888 #include <stdarg.h> 7889 #include <string.h> 7890 #include <float.h> 7891 7892 int 7893 main () 7894 { 7895 7896 ; 7897 return 0; 7898 } 7899 _ACEOF 7900 if ac_fn_c_try_compile "$LINENO"; then : 7901 ac_cv_header_stdc=yes 7902 else 7903 ac_cv_header_stdc=no 7904 fi 7905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7906 7907 if test $ac_cv_header_stdc = yes; then 7908 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7910 /* end confdefs.h. */ 7911 #include <string.h> 7912 7913 _ACEOF 7914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7915 $EGREP "memchr" >/dev/null 2>&1; then : 7916 7917 else 7918 ac_cv_header_stdc=no 7919 fi 7920 rm -f conftest* 7921 7922 fi 7923 7924 if test $ac_cv_header_stdc = yes; then 7925 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7927 /* end confdefs.h. */ 7928 #include <stdlib.h> 7929 7930 _ACEOF 7931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7932 $EGREP "free" >/dev/null 2>&1; then : 7933 7934 else 7935 ac_cv_header_stdc=no 7936 fi 7937 rm -f conftest* 7938 7939 fi 7940 7941 if test $ac_cv_header_stdc = yes; then 7942 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7943 if test "$cross_compiling" = yes; then : 7944 : 7945 else 7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7947 /* end confdefs.h. */ 7948 #include <ctype.h> 7949 #include <stdlib.h> 7950 #if ((' ' & 0x0FF) == 0x020) 7951 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7952 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7953 #else 7954 # define ISLOWER(c) \ 7955 (('a' <= (c) && (c) <= 'i') \ 7956 || ('j' <= (c) && (c) <= 'r') \ 7957 || ('s' <= (c) && (c) <= 'z')) 7958 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7959 #endif 7960 7961 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7962 int 7963 main () 7964 { 7965 int i; 7966 for (i = 0; i < 256; i++) 7967 if (XOR (islower (i), ISLOWER (i)) 7968 || toupper (i) != TOUPPER (i)) 7969 return 2; 7970 return 0; 7971 } 7972 _ACEOF 7973 if ac_fn_c_try_run "$LINENO"; then : 7974 7975 else 7976 ac_cv_header_stdc=no 7977 fi 7978 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7979 conftest.$ac_objext conftest.beam conftest.$ac_ext 7980 fi 7981 7982 fi 7983 fi 7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7985 $as_echo "$ac_cv_header_stdc" >&6; } 7986 if test $ac_cv_header_stdc = yes; then 7987 7988 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 7989 7990 fi 7991 7992 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 7993 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7994 inttypes.h stdint.h unistd.h 7995 do : 7996 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7997 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7998 " 7999 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8000 cat >>confdefs.h <<_ACEOF 8001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8002 _ACEOF 8003 8004 fi 8005 8006 done 8007 8008 8009 8010 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 8011 if test "x$ac_cv_header_minix_config_h" = xyes; then : 8012 MINIX=yes 8013 else 8014 MINIX= 8015 fi 8016 8017 8018 if test "$MINIX" = yes; then 8019 8020 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 8021 8022 8023 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 8024 8025 8026 $as_echo "#define _MINIX 1" >>confdefs.h 8027 8028 fi 8029 8030 8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 8032 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 8033 if ${ac_cv_safe_to_define___extensions__+:} false; then : 8034 $as_echo_n "(cached) " >&6 8035 else 8036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8037 /* end confdefs.h. */ 8038 8039 # define __EXTENSIONS__ 1 8040 $ac_includes_default 8041 int 8042 main () 8043 { 8044 8045 ; 8046 return 0; 8047 } 8048 _ACEOF 8049 if ac_fn_c_try_compile "$LINENO"; then : 8050 ac_cv_safe_to_define___extensions__=yes 8051 else 8052 ac_cv_safe_to_define___extensions__=no 8053 fi 8054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8055 fi 8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 8057 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 8058 test $ac_cv_safe_to_define___extensions__ = yes && 8059 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 8060 8061 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 8062 8063 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 8064 8065 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 8066 8067 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 8068 8069 8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 8071 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 8072 if ${ac_cv_path_SED+:} false; then : 8073 $as_echo_n "(cached) " >&6 8074 else 8075 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 8076 for ac_i in 1 2 3 4 5 6 7; do 8077 ac_script="$ac_script$as_nl$ac_script" 8078 done 8079 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 8080 { ac_script=; unset ac_script;} 8081 if test -z "$SED"; then 8082 ac_path_SED_found=false 8083 # Loop through the user's path and test for each of PROGNAME-LIST 8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8085 for as_dir in $PATH 8086 do 8087 IFS=$as_save_IFS 8088 test -z "$as_dir" && as_dir=. 8089 for ac_prog in sed gsed; do 8090 for ac_exec_ext in '' $ac_executable_extensions; do 8091 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8092 as_fn_executable_p "$ac_path_SED" || continue 8093 # Check for GNU ac_path_SED and select it if it is found. 8094 # Check for GNU $ac_path_SED 8095 case `"$ac_path_SED" --version 2>&1` in 8096 *GNU*) 8097 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 8098 *) 8099 ac_count=0 8100 $as_echo_n 0123456789 >"conftest.in" 8101 while : 8102 do 8103 cat "conftest.in" "conftest.in" >"conftest.tmp" 8104 mv "conftest.tmp" "conftest.in" 8105 cp "conftest.in" "conftest.nl" 8106 $as_echo '' >> "conftest.nl" 8107 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 8108 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 8109 as_fn_arith $ac_count + 1 && ac_count=$as_val 8110 if test $ac_count -gt ${ac_path_SED_max-0}; then 8111 # Best one so far, save it but keep looking for a better one 8112 ac_cv_path_SED="$ac_path_SED" 8113 ac_path_SED_max=$ac_count 8114 fi 8115 # 10*(2^10) chars as input seems more than enough 8116 test $ac_count -gt 10 && break 8117 done 8118 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 8119 esac 8120 8121 $ac_path_SED_found && break 3 8122 done 8123 done 8124 done 8125 IFS=$as_save_IFS 8126 if test -z "$ac_cv_path_SED"; then 8127 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 8128 fi 8129 else 8130 ac_cv_path_SED=$SED 8131 fi 8132 8133 fi 8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 8135 $as_echo "$ac_cv_path_SED" >&6; } 8136 SED="$ac_cv_path_SED" 8137 rm -f conftest.sed 8138 8139 8140 8141 8142 # allow to override gcov location 8143 8144 # Check whether --with-gcov was given. 8145 if test "${with_gcov+set}" = set; then : 8146 withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov 8147 else 8148 _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov 8149 fi 8150 8151 8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5 8153 $as_echo_n "checking whether to build with code coverage support... " >&6; } 8154 # Check whether --enable-code-coverage was given. 8155 if test "${enable_code_coverage+set}" = set; then : 8156 enableval=$enable_code_coverage; 8157 else 8158 enable_code_coverage=no 8159 fi 8160 8161 8162 if test x$enable_code_coverage = xyes; then 8163 CODE_COVERAGE_ENABLED_TRUE= 8164 CODE_COVERAGE_ENABLED_FALSE='#' 8165 else 8166 CODE_COVERAGE_ENABLED_TRUE='#' 8167 CODE_COVERAGE_ENABLED_FALSE= 8168 fi 8169 8170 CODE_COVERAGE_ENABLED=$enable_code_coverage 8171 8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5 8173 $as_echo "$enable_code_coverage" >&6; } 8174 8175 if test "$enable_code_coverage" = "yes" ; then : 8176 8177 # check for gcov 8178 if test -n "$ac_tool_prefix"; then 8179 # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. 8180 set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8182 $as_echo_n "checking for $ac_word... " >&6; } 8183 if ${ac_cv_prog_GCOV+:} false; then : 8184 $as_echo_n "(cached) " >&6 8185 else 8186 if test -n "$GCOV"; then 8187 ac_cv_prog_GCOV="$GCOV" # Let the user override the test. 8188 else 8189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8190 for as_dir in $PATH 8191 do 8192 IFS=$as_save_IFS 8193 test -z "$as_dir" && as_dir=. 8194 for ac_exec_ext in '' $ac_executable_extensions; do 8195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8196 ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH" 8197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8198 break 2 8199 fi 8200 done 8201 done 8202 IFS=$as_save_IFS 8203 8204 fi 8205 fi 8206 GCOV=$ac_cv_prog_GCOV 8207 if test -n "$GCOV"; then 8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 8209 $as_echo "$GCOV" >&6; } 8210 else 8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8212 $as_echo "no" >&6; } 8213 fi 8214 8215 8216 fi 8217 if test -z "$ac_cv_prog_GCOV"; then 8218 ac_ct_GCOV=$GCOV 8219 # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. 8220 set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8222 $as_echo_n "checking for $ac_word... " >&6; } 8223 if ${ac_cv_prog_ac_ct_GCOV+:} false; then : 8224 $as_echo_n "(cached) " >&6 8225 else 8226 if test -n "$ac_ct_GCOV"; then 8227 ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test. 8228 else 8229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8230 for as_dir in $PATH 8231 do 8232 IFS=$as_save_IFS 8233 test -z "$as_dir" && as_dir=. 8234 for ac_exec_ext in '' $ac_executable_extensions; do 8235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8236 ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH" 8237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8238 break 2 8239 fi 8240 done 8241 done 8242 IFS=$as_save_IFS 8243 8244 fi 8245 fi 8246 ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV 8247 if test -n "$ac_ct_GCOV"; then 8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5 8249 $as_echo "$ac_ct_GCOV" >&6; } 8250 else 8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8252 $as_echo "no" >&6; } 8253 fi 8254 8255 if test "x$ac_ct_GCOV" = x; then 8256 GCOV=":" 8257 else 8258 case $cross_compiling:$ac_tool_warned in 8259 yes:) 8260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8262 ac_tool_warned=yes ;; 8263 esac 8264 GCOV=$ac_ct_GCOV 8265 fi 8266 else 8267 GCOV="$ac_cv_prog_GCOV" 8268 fi 8269 8270 if test "X$GCOV" = "X:"; then : 8271 as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5 8272 fi 8273 8274 8275 if test "$GCC" = "no" ; then : 8276 8277 as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5 8278 8279 fi 8280 8281 # List of supported lcov versions. 8282 lcov_version_list="1.6 1.7 1.8 1.9 1.10 1.11 1.12" 8283 8284 # Extract the first word of "lcov", so it can be a program name with args. 8285 set dummy lcov; ac_word=$2 8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8287 $as_echo_n "checking for $ac_word... " >&6; } 8288 if ${ac_cv_prog_LCOV+:} false; then : 8289 $as_echo_n "(cached) " >&6 8290 else 8291 if test -n "$LCOV"; then 8292 ac_cv_prog_LCOV="$LCOV" # Let the user override the test. 8293 else 8294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8295 for as_dir in $PATH 8296 do 8297 IFS=$as_save_IFS 8298 test -z "$as_dir" && as_dir=. 8299 for ac_exec_ext in '' $ac_executable_extensions; do 8300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8301 ac_cv_prog_LCOV="lcov" 8302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8303 break 2 8304 fi 8305 done 8306 done 8307 IFS=$as_save_IFS 8308 8309 fi 8310 fi 8311 LCOV=$ac_cv_prog_LCOV 8312 if test -n "$LCOV"; then 8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 8314 $as_echo "$LCOV" >&6; } 8315 else 8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8317 $as_echo "no" >&6; } 8318 fi 8319 8320 8321 # Extract the first word of "genhtml", so it can be a program name with args. 8322 set dummy genhtml; ac_word=$2 8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8324 $as_echo_n "checking for $ac_word... " >&6; } 8325 if ${ac_cv_prog_GENHTML+:} false; then : 8326 $as_echo_n "(cached) " >&6 8327 else 8328 if test -n "$GENHTML"; then 8329 ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test. 8330 else 8331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8332 for as_dir in $PATH 8333 do 8334 IFS=$as_save_IFS 8335 test -z "$as_dir" && as_dir=. 8336 for ac_exec_ext in '' $ac_executable_extensions; do 8337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8338 ac_cv_prog_GENHTML="genhtml" 8339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8340 break 2 8341 fi 8342 done 8343 done 8344 IFS=$as_save_IFS 8345 8346 fi 8347 fi 8348 GENHTML=$ac_cv_prog_GENHTML 8349 if test -n "$GENHTML"; then 8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5 8351 $as_echo "$GENHTML" >&6; } 8352 else 8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8354 $as_echo "no" >&6; } 8355 fi 8356 8357 8358 8359 if test "$LCOV" ; then : 8360 8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5 8362 $as_echo_n "checking for lcov version... " >&6; } 8363 if ${ax_cv_lcov_version+:} false; then : 8364 $as_echo_n "(cached) " >&6 8365 else 8366 8367 ax_cv_lcov_version=invalid 8368 lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'` 8369 for lcov_check_version in $lcov_version_list; do 8370 if test "$lcov_version" = "$lcov_check_version"; then 8371 ax_cv_lcov_version="$lcov_check_version (ok)" 8372 fi 8373 done 8374 8375 fi 8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lcov_version" >&5 8377 $as_echo "$ax_cv_lcov_version" >&6; } 8378 8379 else 8380 8381 lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list" 8382 as_fn_error $? "$lcov_msg" "$LINENO" 5 8383 8384 fi 8385 8386 case $ax_cv_lcov_version in 8387 ""|invalid) 8388 lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)." 8389 as_fn_error $? "$lcov_msg" "$LINENO" 5 8390 LCOV="exit 0;" 8391 ;; 8392 esac 8393 8394 if test -z "$GENHTML" ; then : 8395 8396 as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5 8397 8398 fi 8399 8400 CODE_COVERAGE_CPPFLAGS="-DENABLE_COVERAGE_GCOV -DNDEBUG" 8401 CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" 8402 CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" 8403 CODE_COVERAGE_LDFLAGS="-lgcov" 8404 8405 8406 8407 8408 8409 8410 fi 8411 8412 CODE_COVERAGE_RULES=' 8413 # Code coverage 8414 # 8415 # Optional: 8416 # - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting. 8417 # Multiple directories may be specified, separated by whitespace. 8418 # (Default: $(top_builddir)) 8419 # - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated 8420 # by lcov for code coverage. (Default: 8421 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info) 8422 # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage 8423 # reports to be created. (Default: 8424 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) 8425 # - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage, 8426 # set to 0 to disable it and leave empty to stay with the default. 8427 # (Default: empty) 8428 # - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov 8429 # instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) 8430 # - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov 8431 # instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) 8432 # - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov 8433 # - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the 8434 # collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) 8435 # - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov 8436 # instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) 8437 # - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering 8438 # lcov instance. (Default: empty) 8439 # - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov 8440 # instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) 8441 # - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the 8442 # genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) 8443 # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml 8444 # instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) 8445 # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore 8446 # 8447 # The generated report will be titled using the $(PACKAGE_NAME) and 8448 # $(PACKAGE_VERSION). In order to add the current git hash to the title, 8449 # use the git-version-gen script, available online. 8450 8451 # Optional variables 8452 CODE_COVERAGE_DIRECTORY ?= $(top_builddir) 8453 CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info 8454 CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage 8455 CODE_COVERAGE_BRANCH_COVERAGE ?= 8456 CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ 8457 --rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) 8458 CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) 8459 CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" 8460 CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) 8461 CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) 8462 CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?= 8463 CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) 8464 CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\ 8465 $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ 8466 --rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) 8467 CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULTS) 8468 CODE_COVERAGE_IGNORE_PATTERN ?= 8469 8470 code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V)) 8471 code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY)) 8472 code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\ 8473 $(CODE_COVERAGE_OUTPUT_FILE); 8474 code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V)) 8475 code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY)) 8476 code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\ 8477 $(CODE_COVERAGE_IGNORE_PATTERN); 8478 code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V)) 8479 code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY)) 8480 code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY); 8481 code_coverage_quiet = $(code_coverage_quiet_$(V)) 8482 code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY)) 8483 code_coverage_quiet_0 = --quiet 8484 8485 # sanitizes the test-name: replaces with underscores: dashes and dots 8486 code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1))) 8487 8488 # Use recursive makes in order to ignore errors during check 8489 check-code-coverage: 8490 ifeq ($(CODE_COVERAGE_ENABLED),yes) 8491 -$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check 8492 $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture 8493 else 8494 @echo "Need to reconfigure with --enable-code-coverage" 8495 endif 8496 8497 # Capture code coverage data 8498 code-coverage-capture: code-coverage-capture-hook 8499 ifeq ($(CODE_COVERAGE_ENABLED),yes) 8500 $(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) 8501 $(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) 8502 -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp 8503 $(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) 8504 @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html" 8505 else 8506 @echo "Need to reconfigure with --enable-code-coverage" 8507 endif 8508 8509 # Hook rule executed before code-coverage-capture, overridable by the user 8510 code-coverage-capture-hook: 8511 8512 ifeq ($(CODE_COVERAGE_ENABLED),yes) 8513 clean: code-coverage-clean 8514 distclean: code-coverage-clean 8515 code-coverage-clean: 8516 -$(LCOV) --directory $(top_builddir) -z 8517 -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY) 8518 -find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete 8519 endif 8520 8521 GITIGNOREFILES ?= 8522 GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY) 8523 8524 A''M_DISTCHECK_CONFIGURE_FLAGS ?= 8525 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage 8526 8527 .PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean 8528 ' 8529 8530 8531 8532 8533 8534 8535 $as_echo "#define COPYRIGHT_YEAR \"2017\"" >>confdefs.h 8536 8537 COPYRIGHT_YEAR=2017 8538 8539 8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported architecture" >&5 8541 $as_echo_n "checking for supported architecture... " >&6; } 8542 arch_m32= 8543 arch_mx32= 8544 case "$host_cpu" in 8545 bfin) 8546 arch=bfin 8547 8548 $as_echo "#define BFIN 1" >>confdefs.h 8549 8550 ;; 8551 i[3456]86|pentium) 8552 arch=i386 8553 8554 $as_echo "#define I386 1" >>confdefs.h 8555 8556 ;; 8557 ia64) 8558 arch=ia64 8559 8560 $as_echo "#define IA64 1" >>confdefs.h 8561 8562 ;; 8563 m68k) 8564 arch=m68k 8565 8566 $as_echo "#define M68K 1" >>confdefs.h 8567 8568 ;; 8569 sparc64*) 8570 arch=sparc64 8571 arch_m32=sparc 8572 8573 $as_echo "#define SPARC64 1" >>confdefs.h 8574 8575 ;; 8576 sparc*) 8577 arch=sparc 8578 8579 $as_echo "#define SPARC 1" >>confdefs.h 8580 8581 ;; 8582 metag*) 8583 arch=metag 8584 8585 $as_echo "#define METAG 1" >>confdefs.h 8586 8587 ;; 8588 mips*) 8589 arch=mips 8590 8591 $as_echo "#define MIPS 1" >>confdefs.h 8592 8593 ;; 8594 alpha*) 8595 arch=alpha 8596 8597 $as_echo "#define ALPHA 1" >>confdefs.h 8598 8599 ;; 8600 powerpc*) 8601 8602 $as_echo "#define POWERPC 1" >>confdefs.h 8603 8604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8605 /* end confdefs.h. */ 8606 #ifndef __LP64__ 8607 # error 32 bit 8608 #endif 8609 int 8610 main () 8611 { 8612 8613 ; 8614 return 0; 8615 } 8616 _ACEOF 8617 if ac_fn_c_try_compile "$LINENO"; then : 8618 arch=powerpc64 8619 else 8620 arch=powerpc 8621 fi 8622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8623 if test "$arch" = "powerpc64"; then 8624 arch_m32=powerpc 8625 8626 $as_echo "#define POWERPC64 1" >>confdefs.h 8627 8628 fi 8629 ;; 8630 arm*) 8631 arch=arm 8632 8633 $as_echo "#define ARM 1" >>confdefs.h 8634 8635 ;; 8636 aarch64*) 8637 arch=aarch64 8638 arch_m32=arm 8639 8640 $as_echo "#define AARCH64 1" >>confdefs.h 8641 8642 ;; 8643 avr32*) 8644 arch=avr32 8645 8646 $as_echo "#define AVR32 1" >>confdefs.h 8647 8648 ;; 8649 arc*) 8650 arch=arc 8651 8652 $as_echo "#define ARC 1" >>confdefs.h 8653 8654 ;; 8655 s390) 8656 arch=s390 8657 8658 $as_echo "#define S390 1" >>confdefs.h 8659 8660 ;; 8661 s390x) 8662 arch=s390x 8663 8664 $as_echo "#define S390X 1" >>confdefs.h 8665 8666 ;; 8667 hppa*|parisc*) 8668 arch=hppa 8669 8670 $as_echo "#define HPPA 1" >>confdefs.h 8671 8672 ;; 8673 sh64*) 8674 arch=sh64 8675 8676 $as_echo "#define SH64 1" >>confdefs.h 8677 8678 ;; 8679 sh*) 8680 arch=sh 8681 8682 $as_echo "#define SH 1" >>confdefs.h 8683 8684 ;; 8685 x86?64*) 8686 arch_m32=i386 8687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8688 /* end confdefs.h. */ 8689 #ifndef __ILP32__ 8690 # error not x32 8691 #endif 8692 int 8693 main () 8694 { 8695 8696 ; 8697 return 0; 8698 } 8699 _ACEOF 8700 if ac_fn_c_try_compile "$LINENO"; then : 8701 arch=x32 8702 else 8703 arch=x86_64 8704 fi 8705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8706 if test "$arch" = "x86_64"; then 8707 arch_mx32=x32 8708 8709 $as_echo "#define X86_64 1" >>confdefs.h 8710 8711 else 8712 8713 $as_echo "#define X32 1" >>confdefs.h 8714 8715 fi 8716 ;; 8717 cris|crisv10) 8718 arch=crisv10 8719 8720 $as_echo "#define CRISV10 1" >>confdefs.h 8721 8722 ;; 8723 crisv32) 8724 arch=crisv32 8725 8726 $as_echo "#define CRISV32 1" >>confdefs.h 8727 8728 ;; 8729 tile*) 8730 arch=tile 8731 8732 $as_echo "#define TILE 1" >>confdefs.h 8733 8734 ;; 8735 microblaze*) 8736 arch=microblaze 8737 8738 $as_echo "#define MICROBLAZE 1" >>confdefs.h 8739 8740 ;; 8741 nios2*) 8742 arch=nios2 8743 8744 $as_echo "#define NIOS2 1" >>confdefs.h 8745 8746 ;; 8747 8748 or1k*) 8749 arch=or1k 8750 8751 $as_echo "#define OR1K 1" >>confdefs.h 8752 8753 ;; 8754 8755 xtensa*) 8756 arch=xtensa 8757 8758 $as_echo "#define XTENSA 1" >>confdefs.h 8759 8760 ;; 8761 8762 riscv*) 8763 arch=riscv 8764 8765 $as_echo "#define RISCV 1" >>confdefs.h 8766 8767 ;; 8768 8769 *) 8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: NO!" >&5 8771 $as_echo "NO!" >&6; } 8772 as_fn_error $? "architecture $host_cpu is not supported by strace" "$LINENO" 5 8773 ;; 8774 esac 8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arch" >&5 8776 $as_echo "$arch" >&6; } 8777 8778 test -n "$arch_m32" || 8779 arch_m32=$arch 8780 test -n "$arch_mx32" || 8781 arch_mx32=$arch 8782 8783 8784 8785 8786 MIPS_ABI= 8787 if test "$arch" = mips; then 8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _MIPS_SIM" >&5 8789 $as_echo_n "checking for _MIPS_SIM... " >&6; } 8790 if ${st_cv__MIPS_SIM+:} false; then : 8791 $as_echo_n "(cached) " >&6 8792 else 8793 if ac_fn_c_compute_int "$LINENO" "_MIPS_SIM" "st_cv__MIPS_SIM" ""; then : 8794 8795 else 8796 as_fn_error $? "_MIPS_SIM cannot be determined" "$LINENO" 5 8797 fi 8798 8799 fi 8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv__MIPS_SIM" >&5 8801 $as_echo "$st_cv__MIPS_SIM" >&6; } 8802 8803 # requires GCC >= 3.4 8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MIPS ABI" >&5 8805 $as_echo_n "checking for MIPS ABI... " >&6; } 8806 if ${st_cv_mips_abi+:} false; then : 8807 $as_echo_n "(cached) " >&6 8808 else 8809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8810 /* end confdefs.h. */ 8811 8812 int 8813 main () 8814 { 8815 int i[_MIPS_SIM == _ABIO32 ? 1 : - 1]; 8816 ; 8817 return 0; 8818 } 8819 _ACEOF 8820 if ac_fn_c_try_compile "$LINENO"; then : 8821 st_cv_mips_abi=o32 8822 else 8823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8824 /* end confdefs.h. */ 8825 8826 int 8827 main () 8828 { 8829 int i[_MIPS_SIM == _ABIN32 ? 1 : - 1]; 8830 ; 8831 return 0; 8832 } 8833 _ACEOF 8834 if ac_fn_c_try_compile "$LINENO"; then : 8835 st_cv_mips_abi=n32 8836 else 8837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8838 /* end confdefs.h. */ 8839 8840 int 8841 main () 8842 { 8843 int i[_MIPS_SIM == _ABI64 ? 1 : - 1]; 8844 ; 8845 return 0; 8846 } 8847 _ACEOF 8848 if ac_fn_c_try_compile "$LINENO"; then : 8849 st_cv_mips_abi=n64 8850 else 8851 st_cv_mips_abi=unknown 8852 fi 8853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8854 fi 8855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8856 fi 8857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8858 fi 8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mips_abi" >&5 8860 $as_echo "$st_cv_mips_abi" >&6; } 8861 8862 case "$st_cv_mips_abi" in 8863 o32) 8864 $as_echo "#define LINUX_MIPSO32 1" >>confdefs.h 8865 ;; 8866 n32) 8867 $as_echo "#define LINUX_MIPSN32 1" >>confdefs.h 8868 ;; 8869 n64) 8870 $as_echo "#define LINUX_MIPSN64 1" >>confdefs.h 8871 ;; 8872 *) as_fn_error $? "Unsupported _MIPS_SIM" "$LINENO" 5;; 8873 esac 8874 MIPS_ABI="$st_cv_mips_abi" 8875 fi 8876 8877 8878 # Check whether --enable-arm-oabi was given. 8879 if test "${enable_arm_oabi+set}" = set; then : 8880 enableval=$enable_arm_oabi; 8881 else 8882 enable_arm_oabi=no 8883 fi 8884 8885 case "$enable_arm_oabi" in 8886 yes) enable_arm_oabi=1 ;; 8887 no) enable_arm_oabi=0 ;; 8888 *) as_fn_error $? "bad value $enable_arm_oabi for arm-oabi option" "$LINENO" 5 ;; 8889 esac 8890 8891 cat >>confdefs.h <<_ACEOF 8892 #define ENABLE_ARM_OABI $enable_arm_oabi 8893 _ACEOF 8894 8895 8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 8897 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 8898 if ${ac_cv_c_bigendian+:} false; then : 8899 $as_echo_n "(cached) " >&6 8900 else 8901 ac_cv_c_bigendian=unknown 8902 # See if we're dealing with a universal compiler. 8903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8904 /* end confdefs.h. */ 8905 #ifndef __APPLE_CC__ 8906 not a universal capable compiler 8907 #endif 8908 typedef int dummy; 8909 8910 _ACEOF 8911 if ac_fn_c_try_compile "$LINENO"; then : 8912 8913 # Check for potential -arch flags. It is not universal unless 8914 # there are at least two -arch flags with different values. 8915 ac_arch= 8916 ac_prev= 8917 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 8918 if test -n "$ac_prev"; then 8919 case $ac_word in 8920 i?86 | x86_64 | ppc | ppc64) 8921 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 8922 ac_arch=$ac_word 8923 else 8924 ac_cv_c_bigendian=universal 8925 break 8926 fi 8927 ;; 8928 esac 8929 ac_prev= 8930 elif test "x$ac_word" = "x-arch"; then 8931 ac_prev=arch 8932 fi 8933 done 8934 fi 8935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8936 if test $ac_cv_c_bigendian = unknown; then 8937 # See if sys/param.h defines the BYTE_ORDER macro. 8938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8939 /* end confdefs.h. */ 8940 #include <sys/types.h> 8941 #include <sys/param.h> 8942 8943 int 8944 main () 8945 { 8946 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8947 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8948 && LITTLE_ENDIAN) 8949 bogus endian macros 8950 #endif 8951 8952 ; 8953 return 0; 8954 } 8955 _ACEOF 8956 if ac_fn_c_try_compile "$LINENO"; then : 8957 # It does; now see whether it defined to BIG_ENDIAN or not. 8958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8959 /* end confdefs.h. */ 8960 #include <sys/types.h> 8961 #include <sys/param.h> 8962 8963 int 8964 main () 8965 { 8966 #if BYTE_ORDER != BIG_ENDIAN 8967 not big endian 8968 #endif 8969 8970 ; 8971 return 0; 8972 } 8973 _ACEOF 8974 if ac_fn_c_try_compile "$LINENO"; then : 8975 ac_cv_c_bigendian=yes 8976 else 8977 ac_cv_c_bigendian=no 8978 fi 8979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8980 fi 8981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8982 fi 8983 if test $ac_cv_c_bigendian = unknown; then 8984 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8986 /* end confdefs.h. */ 8987 #include <limits.h> 8988 8989 int 8990 main () 8991 { 8992 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8993 bogus endian macros 8994 #endif 8995 8996 ; 8997 return 0; 8998 } 8999 _ACEOF 9000 if ac_fn_c_try_compile "$LINENO"; then : 9001 # It does; now see whether it defined to _BIG_ENDIAN or not. 9002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9003 /* end confdefs.h. */ 9004 #include <limits.h> 9005 9006 int 9007 main () 9008 { 9009 #ifndef _BIG_ENDIAN 9010 not big endian 9011 #endif 9012 9013 ; 9014 return 0; 9015 } 9016 _ACEOF 9017 if ac_fn_c_try_compile "$LINENO"; then : 9018 ac_cv_c_bigendian=yes 9019 else 9020 ac_cv_c_bigendian=no 9021 fi 9022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9023 fi 9024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9025 fi 9026 if test $ac_cv_c_bigendian = unknown; then 9027 # Compile a test program. 9028 if test "$cross_compiling" = yes; then : 9029 # Try to guess by grepping values from an object file. 9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9031 /* end confdefs.h. */ 9032 short int ascii_mm[] = 9033 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 9034 short int ascii_ii[] = 9035 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 9036 int use_ascii (int i) { 9037 return ascii_mm[i] + ascii_ii[i]; 9038 } 9039 short int ebcdic_ii[] = 9040 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 9041 short int ebcdic_mm[] = 9042 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 9043 int use_ebcdic (int i) { 9044 return ebcdic_mm[i] + ebcdic_ii[i]; 9045 } 9046 extern int foo; 9047 9048 int 9049 main () 9050 { 9051 return use_ascii (foo) == use_ebcdic (foo); 9052 ; 9053 return 0; 9054 } 9055 _ACEOF 9056 if ac_fn_c_try_compile "$LINENO"; then : 9057 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9058 ac_cv_c_bigendian=yes 9059 fi 9060 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 9061 if test "$ac_cv_c_bigendian" = unknown; then 9062 ac_cv_c_bigendian=no 9063 else 9064 # finding both strings is unlikely to happen, but who knows? 9065 ac_cv_c_bigendian=unknown 9066 fi 9067 fi 9068 fi 9069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9070 else 9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9072 /* end confdefs.h. */ 9073 $ac_includes_default 9074 int 9075 main () 9076 { 9077 9078 /* Are we little or big endian? From Harbison&Steele. */ 9079 union 9080 { 9081 long int l; 9082 char c[sizeof (long int)]; 9083 } u; 9084 u.l = 1; 9085 return u.c[sizeof (long int) - 1] == 1; 9086 9087 ; 9088 return 0; 9089 } 9090 _ACEOF 9091 if ac_fn_c_try_run "$LINENO"; then : 9092 ac_cv_c_bigendian=no 9093 else 9094 ac_cv_c_bigendian=yes 9095 fi 9096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9097 conftest.$ac_objext conftest.beam conftest.$ac_ext 9098 fi 9099 9100 fi 9101 fi 9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9103 $as_echo "$ac_cv_c_bigendian" >&6; } 9104 case $ac_cv_c_bigendian in #( 9105 yes) 9106 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9107 ;; #( 9108 no) 9109 ;; #( 9110 universal) 9111 9112 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9113 9114 ;; #( 9115 *) 9116 as_fn_error $? "unknown endianness 9117 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9118 esac 9119 9120 9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof syntax and keyword spelling" >&5 9122 $as_echo_n "checking for typeof syntax and keyword spelling... " >&6; } 9123 if ${ac_cv_c_typeof+:} false; then : 9124 $as_echo_n "(cached) " >&6 9125 else 9126 ac_cv_c_typeof=no 9127 for ac_kw in typeof __typeof__ no; do 9128 test $ac_kw = no && break 9129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9130 /* end confdefs.h. */ 9131 9132 int 9133 main () 9134 { 9135 9136 int value; 9137 typedef struct { 9138 char a [1 9139 + ! (($ac_kw (value)) 9140 (($ac_kw (value)) 0 < ($ac_kw (value)) -1 9141 ? ($ac_kw (value)) - 1 9142 : ~ (~ ($ac_kw (value)) 0 9143 << sizeof ($ac_kw (value)))))]; } 9144 ac__typeof_type_; 9145 return 9146 (! ((void) ((ac__typeof_type_ *) 0), 0)); 9147 9148 ; 9149 return 0; 9150 } 9151 _ACEOF 9152 if ac_fn_c_try_compile "$LINENO"; then : 9153 ac_cv_c_typeof=$ac_kw 9154 fi 9155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9156 test $ac_cv_c_typeof != no && break 9157 done 9158 fi 9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_typeof" >&5 9160 $as_echo "$ac_cv_c_typeof" >&6; } 9161 if test $ac_cv_c_typeof != no; then 9162 9163 $as_echo "#define HAVE_TYPEOF 1" >>confdefs.h 9164 9165 if test $ac_cv_c_typeof != typeof; then 9166 9167 cat >>confdefs.h <<_ACEOF 9168 #define typeof $ac_cv_c_typeof 9169 _ACEOF 9170 9171 fi 9172 fi 9173 9174 9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 9176 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } 9177 if ${ac_cv_type_uid_t+:} false; then : 9178 $as_echo_n "(cached) " >&6 9179 else 9180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9181 /* end confdefs.h. */ 9182 #include <sys/types.h> 9183 9184 _ACEOF 9185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9186 $EGREP "uid_t" >/dev/null 2>&1; then : 9187 ac_cv_type_uid_t=yes 9188 else 9189 ac_cv_type_uid_t=no 9190 fi 9191 rm -f conftest* 9192 9193 fi 9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 9195 $as_echo "$ac_cv_type_uid_t" >&6; } 9196 if test $ac_cv_type_uid_t = no; then 9197 9198 $as_echo "#define uid_t int" >>confdefs.h 9199 9200 9201 $as_echo "#define gid_t int" >>confdefs.h 9202 9203 fi 9204 9205 9206 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 strndup strsignal sync_file_range utimensat 9207 do : 9208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9210 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 9211 cat >>confdefs.h <<_ACEOF 9212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9213 _ACEOF 9214 9215 fi 9216 done 9217 9218 9219 ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h> 9220 " 9221 if test "x$ac_cv_type_sig_atomic_t" = xyes; then : 9222 9223 cat >>confdefs.h <<_ACEOF 9224 #define HAVE_SIG_ATOMIC_T 1 9225 _ACEOF 9226 9227 9228 fi 9229 ac_fn_c_check_type "$LINENO" "struct sigcontext" "ac_cv_type_struct_sigcontext" "#include <signal.h> 9230 " 9231 if test "x$ac_cv_type_struct_sigcontext" = xyes; then : 9232 9233 cat >>confdefs.h <<_ACEOF 9234 #define HAVE_STRUCT_SIGCONTEXT 1 9235 _ACEOF 9236 9237 9238 fi 9239 9240 9241 ac_fn_c_check_type "$LINENO" "struct mmsghdr" "ac_cv_type_struct_mmsghdr" "#include <sys/socket.h> 9242 " 9243 if test "x$ac_cv_type_struct_mmsghdr" = xyes; then : 9244 9245 cat >>confdefs.h <<_ACEOF 9246 #define HAVE_STRUCT_MMSGHDR 1 9247 _ACEOF 9248 9249 9250 fi 9251 9252 9253 ac_fn_c_check_type "$LINENO" "__kernel_long_t" "ac_cv_type___kernel_long_t" "#include <asm/posix_types.h> 9254 " 9255 if test "x$ac_cv_type___kernel_long_t" = xyes; then : 9256 9257 cat >>confdefs.h <<_ACEOF 9258 #define HAVE___KERNEL_LONG_T 1 9259 _ACEOF 9260 9261 9262 fi 9263 ac_fn_c_check_type "$LINENO" "__kernel_ulong_t" "ac_cv_type___kernel_ulong_t" "#include <asm/posix_types.h> 9264 " 9265 if test "x$ac_cv_type___kernel_ulong_t" = xyes; then : 9266 9267 cat >>confdefs.h <<_ACEOF 9268 #define HAVE___KERNEL_ULONG_T 1 9269 _ACEOF 9270 9271 9272 fi 9273 9274 9275 ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 9276 #include <asm/stat.h> 9277 " 9278 if test "x$ac_cv_type_struct_stat64" = xyes; then : 9279 9280 cat >>confdefs.h <<_ACEOF 9281 #define HAVE_STRUCT_STAT64 1 9282 _ACEOF 9283 9284 9285 fi 9286 ac_fn_c_check_type "$LINENO" "struct __old_kernel_stat" "ac_cv_type_struct___old_kernel_stat" "#include <sys/types.h> 9287 #include <asm/stat.h> 9288 " 9289 if test "x$ac_cv_type_struct___old_kernel_stat" = xyes; then : 9290 9291 cat >>confdefs.h <<_ACEOF 9292 #define HAVE_STRUCT___OLD_KERNEL_STAT 1 9293 _ACEOF 9294 9295 9296 fi 9297 9298 9299 ac_fn_c_check_type "$LINENO" "struct user_desc" "ac_cv_type_struct_user_desc" "#include <asm/ldt.h> 9300 " 9301 if test "x$ac_cv_type_struct_user_desc" = xyes; then : 9302 9303 cat >>confdefs.h <<_ACEOF 9304 #define HAVE_STRUCT_USER_DESC 1 9305 _ACEOF 9306 9307 9308 fi 9309 9310 9311 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h> 9312 #include <asm/stat.h> 9313 " 9314 if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 9315 9316 cat >>confdefs.h <<_ACEOF 9317 #define HAVE_STRUCT_STAT_ST_MTIME_NSEC 1 9318 _ACEOF 9319 9320 9321 fi 9322 ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h> 9323 #include <asm/stat.h> 9324 " 9325 if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 9326 9327 cat >>confdefs.h <<_ACEOF 9328 #define HAVE_STRUCT_STAT64_ST_MTIME_NSEC 1 9329 _ACEOF 9330 9331 9332 fi 9333 9334 9335 ac_fn_c_check_type "$LINENO" "struct pt_all_user_regs" "ac_cv_type_struct_pt_all_user_regs" "#include <sys/ptrace.h> 9336 " 9337 if test "x$ac_cv_type_struct_pt_all_user_regs" = xyes; then : 9338 9339 cat >>confdefs.h <<_ACEOF 9340 #define HAVE_STRUCT_PT_ALL_USER_REGS 1 9341 _ACEOF 9342 9343 9344 fi 9345 ac_fn_c_check_type "$LINENO" "struct ia64_fpreg" "ac_cv_type_struct_ia64_fpreg" "#include <sys/ptrace.h> 9346 " 9347 if test "x$ac_cv_type_struct_ia64_fpreg" = xyes; then : 9348 9349 cat >>confdefs.h <<_ACEOF 9350 #define HAVE_STRUCT_IA64_FPREG 1 9351 _ACEOF 9352 9353 9354 fi 9355 ac_fn_c_check_type "$LINENO" "struct ptrace_peeksiginfo_args" "ac_cv_type_struct_ptrace_peeksiginfo_args" "#include <sys/ptrace.h> 9356 " 9357 if test "x$ac_cv_type_struct_ptrace_peeksiginfo_args" = xyes; then : 9358 9359 cat >>confdefs.h <<_ACEOF 9360 #define HAVE_STRUCT_PTRACE_PEEKSIGINFO_ARGS 1 9361 _ACEOF 9362 9363 9364 fi 9365 9366 9367 ac_fn_c_check_type "$LINENO" "struct flock" "ac_cv_type_struct_flock" "#include <sys/types.h> 9368 #include <linux/fcntl.h> 9369 " 9370 if test "x$ac_cv_type_struct_flock" = xyes; then : 9371 9372 cat >>confdefs.h <<_ACEOF 9373 #define HAVE_STRUCT_FLOCK 1 9374 _ACEOF 9375 9376 9377 fi 9378 ac_fn_c_check_type "$LINENO" "struct flock64" "ac_cv_type_struct_flock64" "#include <sys/types.h> 9379 #include <linux/fcntl.h> 9380 " 9381 if test "x$ac_cv_type_struct_flock64" = xyes; then : 9382 9383 cat >>confdefs.h <<_ACEOF 9384 #define HAVE_STRUCT_FLOCK64 1 9385 _ACEOF 9386 9387 9388 fi 9389 ac_fn_c_check_type "$LINENO" "struct __kernel_flock" "ac_cv_type_struct___kernel_flock" "#include <sys/types.h> 9390 #include <linux/fcntl.h> 9391 " 9392 if test "x$ac_cv_type_struct___kernel_flock" = xyes; then : 9393 9394 cat >>confdefs.h <<_ACEOF 9395 #define HAVE_STRUCT___KERNEL_FLOCK 1 9396 _ACEOF 9397 9398 9399 fi 9400 ac_fn_c_check_type "$LINENO" "struct __kernel_flock64" "ac_cv_type_struct___kernel_flock64" "#include <sys/types.h> 9401 #include <linux/fcntl.h> 9402 " 9403 if test "x$ac_cv_type_struct___kernel_flock64" = xyes; then : 9404 9405 cat >>confdefs.h <<_ACEOF 9406 #define HAVE_STRUCT___KERNEL_FLOCK64 1 9407 _ACEOF 9408 9409 9410 fi 9411 9412 9413 ac_fn_c_check_member "$LINENO" "struct timex" "tai" "ac_cv_member_struct_timex_tai" "#include <sys/timex.h> 9414 " 9415 if test "x$ac_cv_member_struct_timex_tai" = xyes; then : 9416 9417 cat >>confdefs.h <<_ACEOF 9418 #define HAVE_STRUCT_TIMEX_TAI 1 9419 _ACEOF 9420 9421 9422 fi 9423 9424 9425 ac_fn_c_check_member "$LINENO" "struct utsname" "domainname" "ac_cv_member_struct_utsname_domainname" "#include <sys/utsname.h> 9426 " 9427 if test "x$ac_cv_member_struct_utsname_domainname" = xyes; then : 9428 9429 cat >>confdefs.h <<_ACEOF 9430 #define HAVE_STRUCT_UTSNAME_DOMAINNAME 1 9431 _ACEOF 9432 9433 9434 fi 9435 9436 9437 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_syscall" "ac_cv_member_siginfo_t_si_syscall" "#include <signal.h> 9438 " 9439 if test "x$ac_cv_member_siginfo_t_si_syscall" = xyes; then : 9440 9441 cat >>confdefs.h <<_ACEOF 9442 #define HAVE_SIGINFO_T_SI_SYSCALL 1 9443 _ACEOF 9444 9445 9446 fi 9447 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_timerid" "ac_cv_member_siginfo_t_si_timerid" "#include <signal.h> 9448 " 9449 if test "x$ac_cv_member_siginfo_t_si_timerid" = xyes; then : 9450 9451 cat >>confdefs.h <<_ACEOF 9452 #define HAVE_SIGINFO_T_SI_TIMERID 1 9453 _ACEOF 9454 9455 9456 fi 9457 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_overrun" "ac_cv_member_siginfo_t_si_overrun" "#include <signal.h> 9458 " 9459 if test "x$ac_cv_member_siginfo_t_si_overrun" = xyes; then : 9460 9461 cat >>confdefs.h <<_ACEOF 9462 #define HAVE_SIGINFO_T_SI_OVERRUN 1 9463 _ACEOF 9464 9465 9466 fi 9467 9468 9469 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> 9470 " 9471 if test "x$ac_cv_member_struct_perf_event_attr_precise_ip" = xyes; then : 9472 9473 cat >>confdefs.h <<_ACEOF 9474 #define HAVE_STRUCT_PERF_EVENT_ATTR_PRECISE_IP 1 9475 _ACEOF 9476 9477 9478 fi 9479 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> 9480 " 9481 if test "x$ac_cv_member_struct_perf_event_attr_mmap_data" = xyes; then : 9482 9483 cat >>confdefs.h <<_ACEOF 9484 #define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP_DATA 1 9485 _ACEOF 9486 9487 9488 fi 9489 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> 9490 " 9491 if test "x$ac_cv_member_struct_perf_event_attr_sample_id_all" = xyes; then : 9492 9493 cat >>confdefs.h <<_ACEOF 9494 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_ID_ALL 1 9495 _ACEOF 9496 9497 9498 fi 9499 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> 9500 " 9501 if test "x$ac_cv_member_struct_perf_event_attr_exclude_host" = xyes; then : 9502 9503 cat >>confdefs.h <<_ACEOF 9504 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_HOST 1 9505 _ACEOF 9506 9507 9508 fi 9509 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> 9510 " 9511 if test "x$ac_cv_member_struct_perf_event_attr_exclude_guest" = xyes; then : 9512 9513 cat >>confdefs.h <<_ACEOF 9514 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_GUEST 1 9515 _ACEOF 9516 9517 9518 fi 9519 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> 9520 " 9521 if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_kernel" = xyes; then : 9522 9523 cat >>confdefs.h <<_ACEOF 9524 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_KERNEL 1 9525 _ACEOF 9526 9527 9528 fi 9529 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> 9530 " 9531 if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_user" = xyes; then : 9532 9533 cat >>confdefs.h <<_ACEOF 9534 #define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_USER 1 9535 _ACEOF 9536 9537 9538 fi 9539 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "mmap2" "ac_cv_member_struct_perf_event_attr_mmap2" "#include <linux/perf_event.h> 9540 " 9541 if test "x$ac_cv_member_struct_perf_event_attr_mmap2" = xyes; then : 9542 9543 cat >>confdefs.h <<_ACEOF 9544 #define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP2 1 9545 _ACEOF 9546 9547 9548 fi 9549 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> 9550 " 9551 if test "x$ac_cv_member_struct_perf_event_attr_comm_exec" = xyes; then : 9552 9553 cat >>confdefs.h <<_ACEOF 9554 #define HAVE_STRUCT_PERF_EVENT_ATTR_COMM_EXEC 1 9555 _ACEOF 9556 9557 9558 fi 9559 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> 9560 " 9561 if test "x$ac_cv_member_struct_perf_event_attr_use_clockid" = xyes; then : 9562 9563 cat >>confdefs.h <<_ACEOF 9564 #define HAVE_STRUCT_PERF_EVENT_ATTR_USE_CLOCKID 1 9565 _ACEOF 9566 9567 9568 fi 9569 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> 9570 " 9571 if test "x$ac_cv_member_struct_perf_event_attr_context_switch" = xyes; then : 9572 9573 cat >>confdefs.h <<_ACEOF 9574 #define HAVE_STRUCT_PERF_EVENT_ATTR_CONTEXT_SWITCH 1 9575 _ACEOF 9576 9577 9578 fi 9579 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> 9580 " 9581 if test "x$ac_cv_member_struct_perf_event_attr_write_backward" = xyes; then : 9582 9583 cat >>confdefs.h <<_ACEOF 9584 #define HAVE_STRUCT_PERF_EVENT_ATTR_WRITE_BACKWARD 1 9585 _ACEOF 9586 9587 9588 fi 9589 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> 9590 " 9591 if test "x$ac_cv_member_struct_perf_event_attr_bp_type" = xyes; then : 9592 9593 cat >>confdefs.h <<_ACEOF 9594 #define HAVE_STRUCT_PERF_EVENT_ATTR_BP_TYPE 1 9595 _ACEOF 9596 9597 9598 fi 9599 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config1" "ac_cv_member_struct_perf_event_attr_config1" "#include <linux/perf_event.h> 9600 " 9601 if test "x$ac_cv_member_struct_perf_event_attr_config1" = xyes; then : 9602 9603 cat >>confdefs.h <<_ACEOF 9604 #define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG1 1 9605 _ACEOF 9606 9607 9608 fi 9609 ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config2" "ac_cv_member_struct_perf_event_attr_config2" "#include <linux/perf_event.h> 9610 " 9611 if test "x$ac_cv_member_struct_perf_event_attr_config2" = xyes; then : 9612 9613 cat >>confdefs.h <<_ACEOF 9614 #define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG2 1 9615 _ACEOF 9616 9617 9618 fi 9619 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> 9620 " 9621 if test "x$ac_cv_member_struct_perf_event_attr_branch_sample_type" = xyes; then : 9622 9623 cat >>confdefs.h <<_ACEOF 9624 #define HAVE_STRUCT_PERF_EVENT_ATTR_BRANCH_SAMPLE_TYPE 1 9625 _ACEOF 9626 9627 9628 fi 9629 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> 9630 " 9631 if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_user" = xyes; then : 9632 9633 cat >>confdefs.h <<_ACEOF 9634 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_USER 1 9635 _ACEOF 9636 9637 9638 fi 9639 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> 9640 " 9641 if test "x$ac_cv_member_struct_perf_event_attr_sample_stack_user" = xyes; then : 9642 9643 cat >>confdefs.h <<_ACEOF 9644 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_STACK_USER 1 9645 _ACEOF 9646 9647 9648 fi 9649 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> 9650 " 9651 if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_intr" = xyes; then : 9652 9653 cat >>confdefs.h <<_ACEOF 9654 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_INTR 1 9655 _ACEOF 9656 9657 9658 fi 9659 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> 9660 " 9661 if test "x$ac_cv_member_struct_perf_event_attr_aux_watermark" = xyes; then : 9662 9663 cat >>confdefs.h <<_ACEOF 9664 #define HAVE_STRUCT_PERF_EVENT_ATTR_AUX_WATERMARK 1 9665 _ACEOF 9666 9667 9668 fi 9669 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> 9670 " 9671 if test "x$ac_cv_member_struct_perf_event_attr_sample_max_stack" = xyes; then : 9672 9673 cat >>confdefs.h <<_ACEOF 9674 #define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_MAX_STACK 1 9675 _ACEOF 9676 9677 9678 fi 9679 9680 9681 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/genetlink.h linux/hiddev.h linux/ip_vs.h linux/ipc.h linux/mmtimer.h linux/msg.h linux/netfilter/nfnetlink.h linux/nsfs.h linux/perf_event.h linux/quota.h linux/seccomp.h linux/securebits.h linux/sem.h linux/shm.h linux/userfaultfd.h linux/utsname.h mqueue.h netinet/sctp.h netipx/ipx.h 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 9682 do : 9683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9684 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 9685 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9686 cat >>confdefs.h <<_ACEOF 9687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9688 _ACEOF 9689 9690 fi 9691 9692 done 9693 9694 9695 for ac_header in asm/sigcontext.h 9696 do : 9697 ac_fn_c_check_header_compile "$LINENO" "asm/sigcontext.h" "ac_cv_header_asm_sigcontext_h" "#include <signal.h> 9698 " 9699 if test "x$ac_cv_header_asm_sigcontext_h" = xyes; then : 9700 cat >>confdefs.h <<_ACEOF 9701 #define HAVE_ASM_SIGCONTEXT_H 1 9702 _ACEOF 9703 9704 fi 9705 9706 done 9707 9708 9709 for ac_header in netinet/tcp.h netinet/udp.h 9710 do : 9711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9712 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h> 9713 " 9714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9715 cat >>confdefs.h <<_ACEOF 9716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9717 _ACEOF 9718 9719 fi 9720 9721 done 9722 9723 9724 for ac_header in linux/mqueue.h 9725 do : 9726 ac_fn_c_check_header_compile "$LINENO" "linux/mqueue.h" "ac_cv_header_linux_mqueue_h" "#include <linux/types.h> 9727 " 9728 if test "x$ac_cv_header_linux_mqueue_h" = xyes; then : 9729 cat >>confdefs.h <<_ACEOF 9730 #define HAVE_LINUX_MQUEUE_H 1 9731 _ACEOF 9732 9733 fi 9734 9735 done 9736 9737 9738 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 9739 do : 9740 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9741 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h> 9742 #include <net/if.h> 9743 " 9744 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9745 cat >>confdefs.h <<_ACEOF 9746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9747 _ACEOF 9748 9749 fi 9750 9751 done 9752 9753 9754 for ac_header in linux/input.h 9755 do : 9756 ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default" 9757 if test "x$ac_cv_header_linux_input_h" = xyes; then : 9758 cat >>confdefs.h <<_ACEOF 9759 #define HAVE_LINUX_INPUT_H 1 9760 _ACEOF 9761 9762 ac_fn_c_check_member "$LINENO" "struct input_absinfo" "resolution" "ac_cv_member_struct_input_absinfo_resolution" "#include <linux/input.h> 9763 " 9764 if test "x$ac_cv_member_struct_input_absinfo_resolution" = xyes; then : 9765 9766 cat >>confdefs.h <<_ACEOF 9767 #define HAVE_STRUCT_INPUT_ABSINFO_RESOLUTION 1 9768 _ACEOF 9769 9770 9771 fi 9772 9773 9774 fi 9775 9776 done 9777 9778 9779 for ac_header in linux/bpf.h 9780 do : 9781 ac_fn_c_check_header_mongrel "$LINENO" "linux/bpf.h" "ac_cv_header_linux_bpf_h" "$ac_includes_default" 9782 if test "x$ac_cv_header_linux_bpf_h" = xyes; then : 9783 cat >>confdefs.h <<_ACEOF 9784 #define HAVE_LINUX_BPF_H 1 9785 _ACEOF 9786 9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether union bpf_attr.log_buf initialization works" >&5 9788 $as_echo_n "checking whether union bpf_attr.log_buf initialization works... " >&6; } 9789 if ${st_cv_have_union_bpf_attr_log_buf+:} false; then : 9790 $as_echo_n "(cached) " >&6 9791 else 9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9793 /* end confdefs.h. */ 9794 #include <linux/bpf.h> 9795 int 9796 main () 9797 { 9798 union bpf_attr a = { .log_buf = 0 }; 9799 ; 9800 return 0; 9801 } 9802 _ACEOF 9803 if ac_fn_c_try_compile "$LINENO"; then : 9804 st_cv_have_union_bpf_attr_log_buf=yes 9805 else 9806 st_cv_have_union_bpf_attr_log_buf=no 9807 fi 9808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9809 fi 9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have_union_bpf_attr_log_buf" >&5 9811 $as_echo "$st_cv_have_union_bpf_attr_log_buf" >&6; } 9812 if test $st_cv_have_union_bpf_attr_log_buf = yes; then 9813 9814 $as_echo "#define HAVE_UNION_BPF_ATTR_LOG_BUF 1" >>confdefs.h 9815 9816 fi 9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether union bpf_attr.bpf_fd initialization works" >&5 9818 $as_echo_n "checking whether union bpf_attr.bpf_fd initialization works... " >&6; } 9819 if ${st_cv_have_union_bpf_attr_bpf_fd+:} false; then : 9820 $as_echo_n "(cached) " >&6 9821 else 9822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9823 /* end confdefs.h. */ 9824 #include <linux/bpf.h> 9825 int 9826 main () 9827 { 9828 union bpf_attr a = { .bpf_fd = 0 }; 9829 ; 9830 return 0; 9831 } 9832 _ACEOF 9833 if ac_fn_c_try_compile "$LINENO"; then : 9834 st_cv_have_union_bpf_attr_bpf_fd=yes 9835 else 9836 st_cv_have_union_bpf_attr_bpf_fd=no 9837 fi 9838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9839 fi 9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have_union_bpf_attr_bpf_fd" >&5 9841 $as_echo "$st_cv_have_union_bpf_attr_bpf_fd" >&6; } 9842 if test $st_cv_have_union_bpf_attr_bpf_fd = yes; then 9843 9844 $as_echo "#define HAVE_UNION_BPF_ATTR_BPF_FD 1" >>confdefs.h 9845 9846 fi 9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether union bpf_attr.attach_flags initialization works" >&5 9848 $as_echo_n "checking whether union bpf_attr.attach_flags initialization works... " >&6; } 9849 if ${st_cv_have_union_bpf_attr_attach_flags+:} false; then : 9850 $as_echo_n "(cached) " >&6 9851 else 9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9853 /* end confdefs.h. */ 9854 #include <linux/bpf.h> 9855 int 9856 main () 9857 { 9858 union bpf_attr a = { .attach_flags = 0 }; 9859 ; 9860 return 0; 9861 } 9862 _ACEOF 9863 if ac_fn_c_try_compile "$LINENO"; then : 9864 st_cv_have_union_bpf_attr_attach_flags=yes 9865 else 9866 st_cv_have_union_bpf_attr_attach_flags=no 9867 fi 9868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9869 fi 9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have_union_bpf_attr_attach_flags" >&5 9871 $as_echo "$st_cv_have_union_bpf_attr_attach_flags" >&6; } 9872 if test $st_cv_have_union_bpf_attr_attach_flags = yes; then 9873 9874 $as_echo "#define HAVE_UNION_BPF_ATTR_ATTACH_FLAGS 1" >>confdefs.h 9875 9876 fi 9877 9878 fi 9879 9880 done 9881 9882 9883 ac_fn_c_check_type "$LINENO" "struct statfs" "ac_cv_type_struct_statfs" "#include <linux/types.h> 9884 #include <asm/statfs.h> 9885 " 9886 if test "x$ac_cv_type_struct_statfs" = xyes; then : 9887 9888 cat >>confdefs.h <<_ACEOF 9889 #define HAVE_STRUCT_STATFS 1 9890 _ACEOF 9891 9892 9893 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <linux/types.h> 9894 #include <asm/statfs.h> 9895 " 9896 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then : 9897 9898 cat >>confdefs.h <<_ACEOF 9899 #define HAVE_STRUCT_STATFS_F_FRSIZE 1 9900 _ACEOF 9901 9902 9903 fi 9904 9905 ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "#include <linux/types.h> 9906 #include <asm/statfs.h> 9907 " 9908 if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then : 9909 9910 cat >>confdefs.h <<_ACEOF 9911 #define HAVE_STRUCT_STATFS_F_FLAGS 1 9912 _ACEOF 9913 9914 9915 fi 9916 9917 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.val" "ac_cv_member_struct_statfs_f_fsid_val" "#include <linux/types.h> 9918 #include <asm/statfs.h> 9919 " 9920 if test "x$ac_cv_member_struct_statfs_f_fsid_val" = xyes; then : 9921 9922 cat >>confdefs.h <<_ACEOF 9923 #define HAVE_STRUCT_STATFS_F_FSID_VAL 1 9924 _ACEOF 9925 9926 9927 fi 9928 9929 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.__val" "ac_cv_member_struct_statfs_f_fsid___val" "#include <linux/types.h> 9930 #include <asm/statfs.h> 9931 " 9932 if test "x$ac_cv_member_struct_statfs_f_fsid___val" = xyes; then : 9933 9934 cat >>confdefs.h <<_ACEOF 9935 #define HAVE_STRUCT_STATFS_F_FSID___VAL 1 9936 _ACEOF 9937 9938 9939 fi 9940 9941 9942 fi 9943 9944 9945 ac_fn_c_check_type "$LINENO" "struct statfs64" "ac_cv_type_struct_statfs64" "#include <linux/types.h> 9946 #include <asm/statfs.h> 9947 " 9948 if test "x$ac_cv_type_struct_statfs64" = xyes; then : 9949 9950 cat >>confdefs.h <<_ACEOF 9951 #define HAVE_STRUCT_STATFS64 1 9952 _ACEOF 9953 9954 9955 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_frsize" "ac_cv_member_struct_statfs64_f_frsize" "#include <linux/types.h> 9956 #include <asm/statfs.h> 9957 " 9958 if test "x$ac_cv_member_struct_statfs64_f_frsize" = xyes; then : 9959 9960 cat >>confdefs.h <<_ACEOF 9961 #define HAVE_STRUCT_STATFS64_F_FRSIZE 1 9962 _ACEOF 9963 9964 9965 fi 9966 9967 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_flags" "ac_cv_member_struct_statfs64_f_flags" "#include <linux/types.h> 9968 #include <asm/statfs.h> 9969 " 9970 if test "x$ac_cv_member_struct_statfs64_f_flags" = xyes; then : 9971 9972 cat >>confdefs.h <<_ACEOF 9973 #define HAVE_STRUCT_STATFS64_F_FLAGS 1 9974 _ACEOF 9975 9976 9977 fi 9978 9979 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.val" "ac_cv_member_struct_statfs64_f_fsid_val" "#include <linux/types.h> 9980 #include <asm/statfs.h> 9981 " 9982 if test "x$ac_cv_member_struct_statfs64_f_fsid_val" = xyes; then : 9983 9984 cat >>confdefs.h <<_ACEOF 9985 #define HAVE_STRUCT_STATFS64_F_FSID_VAL 1 9986 _ACEOF 9987 9988 9989 fi 9990 9991 ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.__val" "ac_cv_member_struct_statfs64_f_fsid___val" "#include <linux/types.h> 9992 #include <asm/statfs.h> 9993 " 9994 if test "x$ac_cv_member_struct_statfs64_f_fsid___val" = xyes; then : 9995 9996 cat >>confdefs.h <<_ACEOF 9997 #define HAVE_STRUCT_STATFS64_F_FSID___VAL 1 9998 _ACEOF 9999 10000 10001 fi 10002 10003 10004 fi 10005 10006 10007 ac_fn_c_check_type "$LINENO" "struct blk_user_trace_setup" "ac_cv_type_struct_blk_user_trace_setup" "#include <linux/blktrace_api.h> 10008 " 10009 if test "x$ac_cv_type_struct_blk_user_trace_setup" = xyes; then : 10010 10011 cat >>confdefs.h <<_ACEOF 10012 #define HAVE_STRUCT_BLK_USER_TRACE_SETUP 1 10013 _ACEOF 10014 10015 10016 fi 10017 10018 10019 for ac_header in linux/btrfs.h 10020 do : 10021 ac_fn_c_check_header_mongrel "$LINENO" "linux/btrfs.h" "ac_cv_header_linux_btrfs_h" "$ac_includes_default" 10022 if test "x$ac_cv_header_linux_btrfs_h" = xyes; then : 10023 cat >>confdefs.h <<_ACEOF 10024 #define HAVE_LINUX_BTRFS_H 1 10025 _ACEOF 10026 10027 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> 10028 #include <linux/btrfs.h> 10029 " 10030 if test "x$ac_cv_member_struct_btrfs_ioctl_feature_flags_compat_flags" = xyes; then : 10031 10032 cat >>confdefs.h <<_ACEOF 10033 #define HAVE_STRUCT_BTRFS_IOCTL_FEATURE_FLAGS_COMPAT_FLAGS 1 10034 _ACEOF 10035 10036 10037 fi 10038 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> 10039 #include <linux/btrfs.h> 10040 " 10041 if test "x$ac_cv_member_struct_btrfs_ioctl_fs_info_args_nodesize" = xyes; then : 10042 10043 cat >>confdefs.h <<_ACEOF 10044 #define HAVE_STRUCT_BTRFS_IOCTL_FS_INFO_ARGS_NODESIZE 1 10045 _ACEOF 10046 10047 10048 fi 10049 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> 10050 #include <linux/btrfs.h> 10051 " 10052 if test "x$ac_cv_member_struct_btrfs_ioctl_defrag_range_args_start" = xyes; then : 10053 10054 cat >>confdefs.h <<_ACEOF 10055 #define HAVE_STRUCT_BTRFS_IOCTL_DEFRAG_RANGE_ARGS_START 1 10056 _ACEOF 10057 10058 10059 fi 10060 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> 10061 #include <linux/btrfs.h> 10062 " 10063 if test "x$ac_cv_member_struct_btrfs_ioctl_search_args_v2_buf_size" = xyes; then : 10064 10065 cat >>confdefs.h <<_ACEOF 10066 #define HAVE_STRUCT_BTRFS_IOCTL_SEARCH_ARGS_V2_BUF_SIZE 1 10067 _ACEOF 10068 10069 10070 fi 10071 10072 ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_NONE" "ac_cv_have_decl_BTRFS_COMPRESS_NONE" " #include <stdio.h> 10073 #include <linux/btrfs.h> 10074 " 10075 if test "x$ac_cv_have_decl_BTRFS_COMPRESS_NONE" = xyes; then : 10076 ac_have_decl=1 10077 else 10078 ac_have_decl=0 10079 fi 10080 10081 cat >>confdefs.h <<_ACEOF 10082 #define HAVE_DECL_BTRFS_COMPRESS_NONE $ac_have_decl 10083 _ACEOF 10084 ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_ZLIB" "ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" " #include <stdio.h> 10085 #include <linux/btrfs.h> 10086 " 10087 if test "x$ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" = xyes; then : 10088 ac_have_decl=1 10089 else 10090 ac_have_decl=0 10091 fi 10092 10093 cat >>confdefs.h <<_ACEOF 10094 #define HAVE_DECL_BTRFS_COMPRESS_ZLIB $ac_have_decl 10095 _ACEOF 10096 ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_LZO" "ac_cv_have_decl_BTRFS_COMPRESS_LZO" " #include <stdio.h> 10097 #include <linux/btrfs.h> 10098 " 10099 if test "x$ac_cv_have_decl_BTRFS_COMPRESS_LZO" = xyes; then : 10100 ac_have_decl=1 10101 else 10102 ac_have_decl=0 10103 fi 10104 10105 cat >>confdefs.h <<_ACEOF 10106 #define HAVE_DECL_BTRFS_COMPRESS_LZO $ac_have_decl 10107 _ACEOF 10108 10109 fi 10110 10111 done 10112 10113 10114 ac_fn_c_check_decl "$LINENO" "sys_errlist" "ac_cv_have_decl_sys_errlist" "$ac_includes_default" 10115 if test "x$ac_cv_have_decl_sys_errlist" = xyes; then : 10116 ac_have_decl=1 10117 else 10118 ac_have_decl=0 10119 fi 10120 10121 cat >>confdefs.h <<_ACEOF 10122 #define HAVE_DECL_SYS_ERRLIST $ac_have_decl 10123 _ACEOF 10124 10125 ac_fn_c_check_decl "$LINENO" "PTRACE_PEEKUSER" "ac_cv_have_decl_PTRACE_PEEKUSER" "#include <sys/ptrace.h> 10126 " 10127 if test "x$ac_cv_have_decl_PTRACE_PEEKUSER" = xyes; then : 10128 ac_have_decl=1 10129 else 10130 ac_have_decl=0 10131 fi 10132 10133 cat >>confdefs.h <<_ACEOF 10134 #define HAVE_DECL_PTRACE_PEEKUSER $ac_have_decl 10135 _ACEOF 10136 ac_fn_c_check_decl "$LINENO" "PTRACE_POKEUSER" "ac_cv_have_decl_PTRACE_POKEUSER" "#include <sys/ptrace.h> 10137 " 10138 if test "x$ac_cv_have_decl_PTRACE_POKEUSER" = xyes; then : 10139 ac_have_decl=1 10140 else 10141 ac_have_decl=0 10142 fi 10143 10144 cat >>confdefs.h <<_ACEOF 10145 #define HAVE_DECL_PTRACE_POKEUSER $ac_have_decl 10146 _ACEOF 10147 10148 10149 ac_fn_c_check_decl "$LINENO" "P_PID" "ac_cv_have_decl_P_PID" "#include <sys/wait.h> 10150 " 10151 if test "x$ac_cv_have_decl_P_PID" = xyes; then : 10152 ac_have_decl=1 10153 else 10154 ac_have_decl=0 10155 fi 10156 10157 cat >>confdefs.h <<_ACEOF 10158 #define HAVE_DECL_P_PID $ac_have_decl 10159 _ACEOF 10160 ac_fn_c_check_decl "$LINENO" "P_PPID" "ac_cv_have_decl_P_PPID" "#include <sys/wait.h> 10161 " 10162 if test "x$ac_cv_have_decl_P_PPID" = xyes; then : 10163 ac_have_decl=1 10164 else 10165 ac_have_decl=0 10166 fi 10167 10168 cat >>confdefs.h <<_ACEOF 10169 #define HAVE_DECL_P_PPID $ac_have_decl 10170 _ACEOF 10171 ac_fn_c_check_decl "$LINENO" "P_PGID" "ac_cv_have_decl_P_PGID" "#include <sys/wait.h> 10172 " 10173 if test "x$ac_cv_have_decl_P_PGID" = xyes; then : 10174 ac_have_decl=1 10175 else 10176 ac_have_decl=0 10177 fi 10178 10179 cat >>confdefs.h <<_ACEOF 10180 #define HAVE_DECL_P_PGID $ac_have_decl 10181 _ACEOF 10182 ac_fn_c_check_decl "$LINENO" "P_SID" "ac_cv_have_decl_P_SID" "#include <sys/wait.h> 10183 " 10184 if test "x$ac_cv_have_decl_P_SID" = xyes; then : 10185 ac_have_decl=1 10186 else 10187 ac_have_decl=0 10188 fi 10189 10190 cat >>confdefs.h <<_ACEOF 10191 #define HAVE_DECL_P_SID $ac_have_decl 10192 _ACEOF 10193 ac_fn_c_check_decl "$LINENO" "P_CID" "ac_cv_have_decl_P_CID" "#include <sys/wait.h> 10194 " 10195 if test "x$ac_cv_have_decl_P_CID" = xyes; then : 10196 ac_have_decl=1 10197 else 10198 ac_have_decl=0 10199 fi 10200 10201 cat >>confdefs.h <<_ACEOF 10202 #define HAVE_DECL_P_CID $ac_have_decl 10203 _ACEOF 10204 ac_fn_c_check_decl "$LINENO" "P_UID" "ac_cv_have_decl_P_UID" "#include <sys/wait.h> 10205 " 10206 if test "x$ac_cv_have_decl_P_UID" = xyes; then : 10207 ac_have_decl=1 10208 else 10209 ac_have_decl=0 10210 fi 10211 10212 cat >>confdefs.h <<_ACEOF 10213 #define HAVE_DECL_P_UID $ac_have_decl 10214 _ACEOF 10215 ac_fn_c_check_decl "$LINENO" "P_GID" "ac_cv_have_decl_P_GID" "#include <sys/wait.h> 10216 " 10217 if test "x$ac_cv_have_decl_P_GID" = xyes; then : 10218 ac_have_decl=1 10219 else 10220 ac_have_decl=0 10221 fi 10222 10223 cat >>confdefs.h <<_ACEOF 10224 #define HAVE_DECL_P_GID $ac_have_decl 10225 _ACEOF 10226 ac_fn_c_check_decl "$LINENO" "P_ALL" "ac_cv_have_decl_P_ALL" "#include <sys/wait.h> 10227 " 10228 if test "x$ac_cv_have_decl_P_ALL" = xyes; then : 10229 ac_have_decl=1 10230 else 10231 ac_have_decl=0 10232 fi 10233 10234 cat >>confdefs.h <<_ACEOF 10235 #define HAVE_DECL_P_ALL $ac_have_decl 10236 _ACEOF 10237 ac_fn_c_check_decl "$LINENO" "P_LWPID" "ac_cv_have_decl_P_LWPID" "#include <sys/wait.h> 10238 " 10239 if test "x$ac_cv_have_decl_P_LWPID" = xyes; then : 10240 ac_have_decl=1 10241 else 10242 ac_have_decl=0 10243 fi 10244 10245 cat >>confdefs.h <<_ACEOF 10246 #define HAVE_DECL_P_LWPID $ac_have_decl 10247 _ACEOF 10248 10249 10250 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_READ_ONLY" "ac_cv_have_decl_LO_FLAGS_READ_ONLY" "#include <linux/loop.h> 10251 " 10252 if test "x$ac_cv_have_decl_LO_FLAGS_READ_ONLY" = xyes; then : 10253 ac_have_decl=1 10254 else 10255 ac_have_decl=0 10256 fi 10257 10258 cat >>confdefs.h <<_ACEOF 10259 #define HAVE_DECL_LO_FLAGS_READ_ONLY $ac_have_decl 10260 _ACEOF 10261 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_USE_AOPS" "ac_cv_have_decl_LO_FLAGS_USE_AOPS" "#include <linux/loop.h> 10262 " 10263 if test "x$ac_cv_have_decl_LO_FLAGS_USE_AOPS" = xyes; then : 10264 ac_have_decl=1 10265 else 10266 ac_have_decl=0 10267 fi 10268 10269 cat >>confdefs.h <<_ACEOF 10270 #define HAVE_DECL_LO_FLAGS_USE_AOPS $ac_have_decl 10271 _ACEOF 10272 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_AUTOCLEAR" "ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" "#include <linux/loop.h> 10273 " 10274 if test "x$ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" = xyes; then : 10275 ac_have_decl=1 10276 else 10277 ac_have_decl=0 10278 fi 10279 10280 cat >>confdefs.h <<_ACEOF 10281 #define HAVE_DECL_LO_FLAGS_AUTOCLEAR $ac_have_decl 10282 _ACEOF 10283 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_PARTSCAN" "ac_cv_have_decl_LO_FLAGS_PARTSCAN" "#include <linux/loop.h> 10284 " 10285 if test "x$ac_cv_have_decl_LO_FLAGS_PARTSCAN" = xyes; then : 10286 ac_have_decl=1 10287 else 10288 ac_have_decl=0 10289 fi 10290 10291 cat >>confdefs.h <<_ACEOF 10292 #define HAVE_DECL_LO_FLAGS_PARTSCAN $ac_have_decl 10293 _ACEOF 10294 ac_fn_c_check_decl "$LINENO" "LO_FLAGS_DIRECT_IO" "ac_cv_have_decl_LO_FLAGS_DIRECT_IO" "#include <linux/loop.h> 10295 " 10296 if test "x$ac_cv_have_decl_LO_FLAGS_DIRECT_IO" = xyes; then : 10297 ac_have_decl=1 10298 else 10299 ac_have_decl=0 10300 fi 10301 10302 cat >>confdefs.h <<_ACEOF 10303 #define HAVE_DECL_LO_FLAGS_DIRECT_IO $ac_have_decl 10304 _ACEOF 10305 10306 10307 ac_fn_c_check_decl "$LINENO" "CTL_PROC" "ac_cv_have_decl_CTL_PROC" "#include <sys/types.h> 10308 #include <linux/sysctl.h> 10309 " 10310 if test "x$ac_cv_have_decl_CTL_PROC" = xyes; then : 10311 ac_have_decl=1 10312 else 10313 ac_have_decl=0 10314 fi 10315 10316 cat >>confdefs.h <<_ACEOF 10317 #define HAVE_DECL_CTL_PROC $ac_have_decl 10318 _ACEOF 10319 ac_fn_c_check_decl "$LINENO" "CTL_ARLAN" "ac_cv_have_decl_CTL_ARLAN" "#include <sys/types.h> 10320 #include <linux/sysctl.h> 10321 " 10322 if test "x$ac_cv_have_decl_CTL_ARLAN" = xyes; then : 10323 ac_have_decl=1 10324 else 10325 ac_have_decl=0 10326 fi 10327 10328 cat >>confdefs.h <<_ACEOF 10329 #define HAVE_DECL_CTL_ARLAN $ac_have_decl 10330 _ACEOF 10331 ac_fn_c_check_decl "$LINENO" "CTL_S390DBF" "ac_cv_have_decl_CTL_S390DBF" "#include <sys/types.h> 10332 #include <linux/sysctl.h> 10333 " 10334 if test "x$ac_cv_have_decl_CTL_S390DBF" = xyes; then : 10335 ac_have_decl=1 10336 else 10337 ac_have_decl=0 10338 fi 10339 10340 cat >>confdefs.h <<_ACEOF 10341 #define HAVE_DECL_CTL_S390DBF $ac_have_decl 10342 _ACEOF 10343 ac_fn_c_check_decl "$LINENO" "CTL_SUNRPC" "ac_cv_have_decl_CTL_SUNRPC" "#include <sys/types.h> 10344 #include <linux/sysctl.h> 10345 " 10346 if test "x$ac_cv_have_decl_CTL_SUNRPC" = xyes; then : 10347 ac_have_decl=1 10348 else 10349 ac_have_decl=0 10350 fi 10351 10352 cat >>confdefs.h <<_ACEOF 10353 #define HAVE_DECL_CTL_SUNRPC $ac_have_decl 10354 _ACEOF 10355 ac_fn_c_check_decl "$LINENO" "CTL_PM" "ac_cv_have_decl_CTL_PM" "#include <sys/types.h> 10356 #include <linux/sysctl.h> 10357 " 10358 if test "x$ac_cv_have_decl_CTL_PM" = xyes; then : 10359 ac_have_decl=1 10360 else 10361 ac_have_decl=0 10362 fi 10363 10364 cat >>confdefs.h <<_ACEOF 10365 #define HAVE_DECL_CTL_PM $ac_have_decl 10366 _ACEOF 10367 ac_fn_c_check_decl "$LINENO" "CTL_FRV" "ac_cv_have_decl_CTL_FRV" "#include <sys/types.h> 10368 #include <linux/sysctl.h> 10369 " 10370 if test "x$ac_cv_have_decl_CTL_FRV" = xyes; then : 10371 ac_have_decl=1 10372 else 10373 ac_have_decl=0 10374 fi 10375 10376 cat >>confdefs.h <<_ACEOF 10377 #define HAVE_DECL_CTL_FRV $ac_have_decl 10378 _ACEOF 10379 ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT" "#include <sys/types.h> 10380 #include <linux/sysctl.h> 10381 " 10382 if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT" = xyes; then : 10383 ac_have_decl=1 10384 else 10385 ac_have_decl=0 10386 fi 10387 10388 cat >>confdefs.h <<_ACEOF 10389 #define HAVE_DECL_KERN_PRINTK_RATELIMIT $ac_have_decl 10390 _ACEOF 10391 ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT_BURST" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" "#include <sys/types.h> 10392 #include <linux/sysctl.h> 10393 " 10394 if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" = xyes; then : 10395 ac_have_decl=1 10396 else 10397 ac_have_decl=0 10398 fi 10399 10400 cat >>confdefs.h <<_ACEOF 10401 #define HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST $ac_have_decl 10402 _ACEOF 10403 ac_fn_c_check_decl "$LINENO" "KERN_PTY" "ac_cv_have_decl_KERN_PTY" "#include <sys/types.h> 10404 #include <linux/sysctl.h> 10405 " 10406 if test "x$ac_cv_have_decl_KERN_PTY" = xyes; then : 10407 ac_have_decl=1 10408 else 10409 ac_have_decl=0 10410 fi 10411 10412 cat >>confdefs.h <<_ACEOF 10413 #define HAVE_DECL_KERN_PTY $ac_have_decl 10414 _ACEOF 10415 ac_fn_c_check_decl "$LINENO" "KERN_NGROUPS_MAX" "ac_cv_have_decl_KERN_NGROUPS_MAX" "#include <sys/types.h> 10416 #include <linux/sysctl.h> 10417 " 10418 if test "x$ac_cv_have_decl_KERN_NGROUPS_MAX" = xyes; then : 10419 ac_have_decl=1 10420 else 10421 ac_have_decl=0 10422 fi 10423 10424 cat >>confdefs.h <<_ACEOF 10425 #define HAVE_DECL_KERN_NGROUPS_MAX $ac_have_decl 10426 _ACEOF 10427 ac_fn_c_check_decl "$LINENO" "KERN_SPARC_SCONS_PWROFF" "ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" "#include <sys/types.h> 10428 #include <linux/sysctl.h> 10429 " 10430 if test "x$ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" = xyes; then : 10431 ac_have_decl=1 10432 else 10433 ac_have_decl=0 10434 fi 10435 10436 cat >>confdefs.h <<_ACEOF 10437 #define HAVE_DECL_KERN_SPARC_SCONS_PWROFF $ac_have_decl 10438 _ACEOF 10439 ac_fn_c_check_decl "$LINENO" "KERN_HZ_TIMER" "ac_cv_have_decl_KERN_HZ_TIMER" "#include <sys/types.h> 10440 #include <linux/sysctl.h> 10441 " 10442 if test "x$ac_cv_have_decl_KERN_HZ_TIMER" = xyes; then : 10443 ac_have_decl=1 10444 else 10445 ac_have_decl=0 10446 fi 10447 10448 cat >>confdefs.h <<_ACEOF 10449 #define HAVE_DECL_KERN_HZ_TIMER $ac_have_decl 10450 _ACEOF 10451 ac_fn_c_check_decl "$LINENO" "KERN_UNKNOWN_NMI_PANIC" "ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" "#include <sys/types.h> 10452 #include <linux/sysctl.h> 10453 " 10454 if test "x$ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" = xyes; then : 10455 ac_have_decl=1 10456 else 10457 ac_have_decl=0 10458 fi 10459 10460 cat >>confdefs.h <<_ACEOF 10461 #define HAVE_DECL_KERN_UNKNOWN_NMI_PANIC $ac_have_decl 10462 _ACEOF 10463 ac_fn_c_check_decl "$LINENO" "KERN_BOOTLOADER_TYPE" "ac_cv_have_decl_KERN_BOOTLOADER_TYPE" "#include <sys/types.h> 10464 #include <linux/sysctl.h> 10465 " 10466 if test "x$ac_cv_have_decl_KERN_BOOTLOADER_TYPE" = xyes; then : 10467 ac_have_decl=1 10468 else 10469 ac_have_decl=0 10470 fi 10471 10472 cat >>confdefs.h <<_ACEOF 10473 #define HAVE_DECL_KERN_BOOTLOADER_TYPE $ac_have_decl 10474 _ACEOF 10475 ac_fn_c_check_decl "$LINENO" "KERN_RANDOMIZE" "ac_cv_have_decl_KERN_RANDOMIZE" "#include <sys/types.h> 10476 #include <linux/sysctl.h> 10477 " 10478 if test "x$ac_cv_have_decl_KERN_RANDOMIZE" = xyes; then : 10479 ac_have_decl=1 10480 else 10481 ac_have_decl=0 10482 fi 10483 10484 cat >>confdefs.h <<_ACEOF 10485 #define HAVE_DECL_KERN_RANDOMIZE $ac_have_decl 10486 _ACEOF 10487 ac_fn_c_check_decl "$LINENO" "KERN_SETUID_DUMPABLE" "ac_cv_have_decl_KERN_SETUID_DUMPABLE" "#include <sys/types.h> 10488 #include <linux/sysctl.h> 10489 " 10490 if test "x$ac_cv_have_decl_KERN_SETUID_DUMPABLE" = xyes; then : 10491 ac_have_decl=1 10492 else 10493 ac_have_decl=0 10494 fi 10495 10496 cat >>confdefs.h <<_ACEOF 10497 #define HAVE_DECL_KERN_SETUID_DUMPABLE $ac_have_decl 10498 _ACEOF 10499 ac_fn_c_check_decl "$LINENO" "KERN_SPIN_RETRY" "ac_cv_have_decl_KERN_SPIN_RETRY" "#include <sys/types.h> 10500 #include <linux/sysctl.h> 10501 " 10502 if test "x$ac_cv_have_decl_KERN_SPIN_RETRY" = xyes; then : 10503 ac_have_decl=1 10504 else 10505 ac_have_decl=0 10506 fi 10507 10508 cat >>confdefs.h <<_ACEOF 10509 #define HAVE_DECL_KERN_SPIN_RETRY $ac_have_decl 10510 _ACEOF 10511 ac_fn_c_check_decl "$LINENO" "KERN_ACPI_VIDEO_FLAGS" "ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" "#include <sys/types.h> 10512 #include <linux/sysctl.h> 10513 " 10514 if test "x$ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" = xyes; then : 10515 ac_have_decl=1 10516 else 10517 ac_have_decl=0 10518 fi 10519 10520 cat >>confdefs.h <<_ACEOF 10521 #define HAVE_DECL_KERN_ACPI_VIDEO_FLAGS $ac_have_decl 10522 _ACEOF 10523 ac_fn_c_check_decl "$LINENO" "KERN_IA64_UNALIGNED" "ac_cv_have_decl_KERN_IA64_UNALIGNED" "#include <sys/types.h> 10524 #include <linux/sysctl.h> 10525 " 10526 if test "x$ac_cv_have_decl_KERN_IA64_UNALIGNED" = xyes; then : 10527 ac_have_decl=1 10528 else 10529 ac_have_decl=0 10530 fi 10531 10532 cat >>confdefs.h <<_ACEOF 10533 #define HAVE_DECL_KERN_IA64_UNALIGNED $ac_have_decl 10534 _ACEOF 10535 ac_fn_c_check_decl "$LINENO" "KERN_COMPAT_LOG" "ac_cv_have_decl_KERN_COMPAT_LOG" "#include <sys/types.h> 10536 #include <linux/sysctl.h> 10537 " 10538 if test "x$ac_cv_have_decl_KERN_COMPAT_LOG" = xyes; then : 10539 ac_have_decl=1 10540 else 10541 ac_have_decl=0 10542 fi 10543 10544 cat >>confdefs.h <<_ACEOF 10545 #define HAVE_DECL_KERN_COMPAT_LOG $ac_have_decl 10546 _ACEOF 10547 ac_fn_c_check_decl "$LINENO" "KERN_MAX_LOCK_DEPTH" "ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" "#include <sys/types.h> 10548 #include <linux/sysctl.h> 10549 " 10550 if test "x$ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" = xyes; then : 10551 ac_have_decl=1 10552 else 10553 ac_have_decl=0 10554 fi 10555 10556 cat >>confdefs.h <<_ACEOF 10557 #define HAVE_DECL_KERN_MAX_LOCK_DEPTH $ac_have_decl 10558 _ACEOF 10559 ac_fn_c_check_decl "$LINENO" "KERN_NMI_WATCHDOG" "ac_cv_have_decl_KERN_NMI_WATCHDOG" "#include <sys/types.h> 10560 #include <linux/sysctl.h> 10561 " 10562 if test "x$ac_cv_have_decl_KERN_NMI_WATCHDOG" = xyes; then : 10563 ac_have_decl=1 10564 else 10565 ac_have_decl=0 10566 fi 10567 10568 cat >>confdefs.h <<_ACEOF 10569 #define HAVE_DECL_KERN_NMI_WATCHDOG $ac_have_decl 10570 _ACEOF 10571 ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_NMI" "ac_cv_have_decl_KERN_PANIC_ON_NMI" "#include <sys/types.h> 10572 #include <linux/sysctl.h> 10573 " 10574 if test "x$ac_cv_have_decl_KERN_PANIC_ON_NMI" = xyes; then : 10575 ac_have_decl=1 10576 else 10577 ac_have_decl=0 10578 fi 10579 10580 cat >>confdefs.h <<_ACEOF 10581 #define HAVE_DECL_KERN_PANIC_ON_NMI $ac_have_decl 10582 _ACEOF 10583 ac_fn_c_check_decl "$LINENO" "NET_LLC" "ac_cv_have_decl_NET_LLC" "#include <sys/types.h> 10584 #include <linux/sysctl.h> 10585 " 10586 if test "x$ac_cv_have_decl_NET_LLC" = xyes; then : 10587 ac_have_decl=1 10588 else 10589 ac_have_decl=0 10590 fi 10591 10592 cat >>confdefs.h <<_ACEOF 10593 #define HAVE_DECL_NET_LLC $ac_have_decl 10594 _ACEOF 10595 ac_fn_c_check_decl "$LINENO" "NET_NETFILTER" "ac_cv_have_decl_NET_NETFILTER" "#include <sys/types.h> 10596 #include <linux/sysctl.h> 10597 " 10598 if test "x$ac_cv_have_decl_NET_NETFILTER" = xyes; then : 10599 ac_have_decl=1 10600 else 10601 ac_have_decl=0 10602 fi 10603 10604 cat >>confdefs.h <<_ACEOF 10605 #define HAVE_DECL_NET_NETFILTER $ac_have_decl 10606 _ACEOF 10607 ac_fn_c_check_decl "$LINENO" "NET_DCCP" "ac_cv_have_decl_NET_DCCP" "#include <sys/types.h> 10608 #include <linux/sysctl.h> 10609 " 10610 if test "x$ac_cv_have_decl_NET_DCCP" = xyes; then : 10611 ac_have_decl=1 10612 else 10613 ac_have_decl=0 10614 fi 10615 10616 cat >>confdefs.h <<_ACEOF 10617 #define HAVE_DECL_NET_DCCP $ac_have_decl 10618 _ACEOF 10619 ac_fn_c_check_decl "$LINENO" "NET_IRDA" "ac_cv_have_decl_NET_IRDA" "#include <sys/types.h> 10620 #include <linux/sysctl.h> 10621 " 10622 if test "x$ac_cv_have_decl_NET_IRDA" = xyes; then : 10623 ac_have_decl=1 10624 else 10625 ac_have_decl=0 10626 fi 10627 10628 cat >>confdefs.h <<_ACEOF 10629 #define HAVE_DECL_NET_IRDA $ac_have_decl 10630 _ACEOF 10631 ac_fn_c_check_decl "$LINENO" "NET_CORE_DESTROY_DELAY" "ac_cv_have_decl_NET_CORE_DESTROY_DELAY" "#include <sys/types.h> 10632 #include <linux/sysctl.h> 10633 " 10634 if test "x$ac_cv_have_decl_NET_CORE_DESTROY_DELAY" = xyes; then : 10635 ac_have_decl=1 10636 else 10637 ac_have_decl=0 10638 fi 10639 10640 cat >>confdefs.h <<_ACEOF 10641 #define HAVE_DECL_NET_CORE_DESTROY_DELAY $ac_have_decl 10642 _ACEOF 10643 ac_fn_c_check_decl "$LINENO" "NET_CORE_BUDGET" "ac_cv_have_decl_NET_CORE_BUDGET" "#include <sys/types.h> 10644 #include <linux/sysctl.h> 10645 " 10646 if test "x$ac_cv_have_decl_NET_CORE_BUDGET" = xyes; then : 10647 ac_have_decl=1 10648 else 10649 ac_have_decl=0 10650 fi 10651 10652 cat >>confdefs.h <<_ACEOF 10653 #define HAVE_DECL_NET_CORE_BUDGET $ac_have_decl 10654 _ACEOF 10655 ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_ETIME" "ac_cv_have_decl_NET_CORE_AEVENT_ETIME" "#include <sys/types.h> 10656 #include <linux/sysctl.h> 10657 " 10658 if test "x$ac_cv_have_decl_NET_CORE_AEVENT_ETIME" = xyes; then : 10659 ac_have_decl=1 10660 else 10661 ac_have_decl=0 10662 fi 10663 10664 cat >>confdefs.h <<_ACEOF 10665 #define HAVE_DECL_NET_CORE_AEVENT_ETIME $ac_have_decl 10666 _ACEOF 10667 ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_RSEQTH" "ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" "#include <sys/types.h> 10668 #include <linux/sysctl.h> 10669 " 10670 if test "x$ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" = xyes; then : 10671 ac_have_decl=1 10672 else 10673 ac_have_decl=0 10674 fi 10675 10676 cat >>confdefs.h <<_ACEOF 10677 #define HAVE_DECL_NET_CORE_AEVENT_RSEQTH $ac_have_decl 10678 _ACEOF 10679 ac_fn_c_check_decl "$LINENO" "NET_CORE_WARNINGS" "ac_cv_have_decl_NET_CORE_WARNINGS" "#include <sys/types.h> 10680 #include <linux/sysctl.h> 10681 " 10682 if test "x$ac_cv_have_decl_NET_CORE_WARNINGS" = xyes; then : 10683 ac_have_decl=1 10684 else 10685 ac_have_decl=0 10686 fi 10687 10688 cat >>confdefs.h <<_ACEOF 10689 #define HAVE_DECL_NET_CORE_WARNINGS $ac_have_decl 10690 _ACEOF 10691 ac_fn_c_check_decl "$LINENO" "NET_IPV4_IGMP_MAX_MSF" "ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" "#include <sys/types.h> 10692 #include <linux/sysctl.h> 10693 " 10694 if test "x$ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" = xyes; then : 10695 ac_have_decl=1 10696 else 10697 ac_have_decl=0 10698 fi 10699 10700 cat >>confdefs.h <<_ACEOF 10701 #define HAVE_DECL_NET_IPV4_IGMP_MAX_MSF $ac_have_decl 10702 _ACEOF 10703 ac_fn_c_check_decl "$LINENO" "NET_TCP_NO_METRICS_SAVE" "ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" "#include <sys/types.h> 10704 #include <linux/sysctl.h> 10705 " 10706 if test "x$ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" = xyes; then : 10707 ac_have_decl=1 10708 else 10709 ac_have_decl=0 10710 fi 10711 10712 cat >>confdefs.h <<_ACEOF 10713 #define HAVE_DECL_NET_TCP_NO_METRICS_SAVE $ac_have_decl 10714 _ACEOF 10715 ac_fn_c_check_decl "$LINENO" "NET_TCP_DEFAULT_WIN_SCALE" "ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" "#include <sys/types.h> 10716 #include <linux/sysctl.h> 10717 " 10718 if test "x$ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" = xyes; then : 10719 ac_have_decl=1 10720 else 10721 ac_have_decl=0 10722 fi 10723 10724 cat >>confdefs.h <<_ACEOF 10725 #define HAVE_DECL_NET_TCP_DEFAULT_WIN_SCALE $ac_have_decl 10726 _ACEOF 10727 ac_fn_c_check_decl "$LINENO" "NET_TCP_MODERATE_RCVBUF" "ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" "#include <sys/types.h> 10728 #include <linux/sysctl.h> 10729 " 10730 if test "x$ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" = xyes; then : 10731 ac_have_decl=1 10732 else 10733 ac_have_decl=0 10734 fi 10735 10736 cat >>confdefs.h <<_ACEOF 10737 #define HAVE_DECL_NET_TCP_MODERATE_RCVBUF $ac_have_decl 10738 _ACEOF 10739 ac_fn_c_check_decl "$LINENO" "NET_TCP_TSO_WIN_DIVISOR" "ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" "#include <sys/types.h> 10740 #include <linux/sysctl.h> 10741 " 10742 if test "x$ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" = xyes; then : 10743 ac_have_decl=1 10744 else 10745 ac_have_decl=0 10746 fi 10747 10748 cat >>confdefs.h <<_ACEOF 10749 #define HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR $ac_have_decl 10750 _ACEOF 10751 ac_fn_c_check_decl "$LINENO" "NET_TCP_BIC_BETA" "ac_cv_have_decl_NET_TCP_BIC_BETA" "#include <sys/types.h> 10752 #include <linux/sysctl.h> 10753 " 10754 if test "x$ac_cv_have_decl_NET_TCP_BIC_BETA" = xyes; then : 10755 ac_have_decl=1 10756 else 10757 ac_have_decl=0 10758 fi 10759 10760 cat >>confdefs.h <<_ACEOF 10761 #define HAVE_DECL_NET_TCP_BIC_BETA $ac_have_decl 10762 _ACEOF 10763 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> 10764 #include <linux/sysctl.h> 10765 " 10766 if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" = xyes; then : 10767 ac_have_decl=1 10768 else 10769 ac_have_decl=0 10770 fi 10771 10772 cat >>confdefs.h <<_ACEOF 10773 #define HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR $ac_have_decl 10774 _ACEOF 10775 ac_fn_c_check_decl "$LINENO" "NET_TCP_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_CONG_CONTROL" "#include <sys/types.h> 10776 #include <linux/sysctl.h> 10777 " 10778 if test "x$ac_cv_have_decl_NET_TCP_CONG_CONTROL" = xyes; then : 10779 ac_have_decl=1 10780 else 10781 ac_have_decl=0 10782 fi 10783 10784 cat >>confdefs.h <<_ACEOF 10785 #define HAVE_DECL_NET_TCP_CONG_CONTROL $ac_have_decl 10786 _ACEOF 10787 ac_fn_c_check_decl "$LINENO" "NET_TCP_ABC" "ac_cv_have_decl_NET_TCP_ABC" "#include <sys/types.h> 10788 #include <linux/sysctl.h> 10789 " 10790 if test "x$ac_cv_have_decl_NET_TCP_ABC" = xyes; then : 10791 ac_have_decl=1 10792 else 10793 ac_have_decl=0 10794 fi 10795 10796 cat >>confdefs.h <<_ACEOF 10797 #define HAVE_DECL_NET_TCP_ABC $ac_have_decl 10798 _ACEOF 10799 ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_MAX_DIST" "ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" "#include <sys/types.h> 10800 #include <linux/sysctl.h> 10801 " 10802 if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" = xyes; then : 10803 ac_have_decl=1 10804 else 10805 ac_have_decl=0 10806 fi 10807 10808 cat >>confdefs.h <<_ACEOF 10809 #define HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST $ac_have_decl 10810 _ACEOF 10811 ac_fn_c_check_decl "$LINENO" "NET_TCP_MTU_PROBING" "ac_cv_have_decl_NET_TCP_MTU_PROBING" "#include <sys/types.h> 10812 #include <linux/sysctl.h> 10813 " 10814 if test "x$ac_cv_have_decl_NET_TCP_MTU_PROBING" = xyes; then : 10815 ac_have_decl=1 10816 else 10817 ac_have_decl=0 10818 fi 10819 10820 cat >>confdefs.h <<_ACEOF 10821 #define HAVE_DECL_NET_TCP_MTU_PROBING $ac_have_decl 10822 _ACEOF 10823 ac_fn_c_check_decl "$LINENO" "NET_TCP_BASE_MSS" "ac_cv_have_decl_NET_TCP_BASE_MSS" "#include <sys/types.h> 10824 #include <linux/sysctl.h> 10825 " 10826 if test "x$ac_cv_have_decl_NET_TCP_BASE_MSS" = xyes; then : 10827 ac_have_decl=1 10828 else 10829 ac_have_decl=0 10830 fi 10831 10832 cat >>confdefs.h <<_ACEOF 10833 #define HAVE_DECL_NET_TCP_BASE_MSS $ac_have_decl 10834 _ACEOF 10835 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> 10836 #include <linux/sysctl.h> 10837 " 10838 if test "x$ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" = xyes; then : 10839 ac_have_decl=1 10840 else 10841 ac_have_decl=0 10842 fi 10843 10844 cat >>confdefs.h <<_ACEOF 10845 #define HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS $ac_have_decl 10846 _ACEOF 10847 ac_fn_c_check_decl "$LINENO" "NET_TCP_DMA_COPYBREAK" "ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" "#include <sys/types.h> 10848 #include <linux/sysctl.h> 10849 " 10850 if test "x$ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" = xyes; then : 10851 ac_have_decl=1 10852 else 10853 ac_have_decl=0 10854 fi 10855 10856 cat >>confdefs.h <<_ACEOF 10857 #define HAVE_DECL_NET_TCP_DMA_COPYBREAK $ac_have_decl 10858 _ACEOF 10859 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> 10860 #include <linux/sysctl.h> 10861 " 10862 if test "x$ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" = xyes; then : 10863 ac_have_decl=1 10864 else 10865 ac_have_decl=0 10866 fi 10867 10868 cat >>confdefs.h <<_ACEOF 10869 #define HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE $ac_have_decl 10870 _ACEOF 10871 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_ENABLE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" "#include <sys/types.h> 10872 #include <linux/sysctl.h> 10873 " 10874 if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" = xyes; then : 10875 ac_have_decl=1 10876 else 10877 ac_have_decl=0 10878 fi 10879 10880 cat >>confdefs.h <<_ACEOF 10881 #define HAVE_DECL_NET_CIPSOV4_CACHE_ENABLE $ac_have_decl 10882 _ACEOF 10883 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_BUCKET_SIZE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" "#include <sys/types.h> 10884 #include <linux/sysctl.h> 10885 " 10886 if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" = xyes; then : 10887 ac_have_decl=1 10888 else 10889 ac_have_decl=0 10890 fi 10891 10892 cat >>confdefs.h <<_ACEOF 10893 #define HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE $ac_have_decl 10894 _ACEOF 10895 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_OPTFMT" "ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" "#include <sys/types.h> 10896 #include <linux/sysctl.h> 10897 " 10898 if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" = xyes; then : 10899 ac_have_decl=1 10900 else 10901 ac_have_decl=0 10902 fi 10903 10904 cat >>confdefs.h <<_ACEOF 10905 #define HAVE_DECL_NET_CIPSOV4_RBM_OPTFMT $ac_have_decl 10906 _ACEOF 10907 ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_STRICTVALID" "ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" "#include <sys/types.h> 10908 #include <linux/sysctl.h> 10909 " 10910 if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" = xyes; then : 10911 ac_have_decl=1 10912 else 10913 ac_have_decl=0 10914 fi 10915 10916 cat >>confdefs.h <<_ACEOF 10917 #define HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID $ac_have_decl 10918 _ACEOF 10919 ac_fn_c_check_decl "$LINENO" "NET_TCP_AVAIL_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" "#include <sys/types.h> 10920 #include <linux/sysctl.h> 10921 " 10922 if test "x$ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" = xyes; then : 10923 ac_have_decl=1 10924 else 10925 ac_have_decl=0 10926 fi 10927 10928 cat >>confdefs.h <<_ACEOF 10929 #define HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL $ac_have_decl 10930 _ACEOF 10931 ac_fn_c_check_decl "$LINENO" "NET_TCP_ALLOWED_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" "#include <sys/types.h> 10932 #include <linux/sysctl.h> 10933 " 10934 if test "x$ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" = xyes; then : 10935 ac_have_decl=1 10936 else 10937 ac_have_decl=0 10938 fi 10939 10940 cat >>confdefs.h <<_ACEOF 10941 #define HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL $ac_have_decl 10942 _ACEOF 10943 ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_SSTHRESH" "ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" "#include <sys/types.h> 10944 #include <linux/sysctl.h> 10945 " 10946 if test "x$ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" = xyes; then : 10947 ac_have_decl=1 10948 else 10949 ac_have_decl=0 10950 fi 10951 10952 cat >>confdefs.h <<_ACEOF 10953 #define HAVE_DECL_NET_TCP_MAX_SSTHRESH $ac_have_decl 10954 _ACEOF 10955 ac_fn_c_check_decl "$LINENO" "NET_TCP_FRTO_RESPONSE" "ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" "#include <sys/types.h> 10956 #include <linux/sysctl.h> 10957 " 10958 if test "x$ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" = xyes; then : 10959 ac_have_decl=1 10960 else 10961 ac_have_decl=0 10962 fi 10963 10964 cat >>confdefs.h <<_ACEOF 10965 #define HAVE_DECL_NET_TCP_FRTO_RESPONSE $ac_have_decl 10966 _ACEOF 10967 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> 10968 #include <linux/sysctl.h> 10969 " 10970 if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then : 10971 ac_have_decl=1 10972 else 10973 ac_have_decl=0 10974 fi 10975 10976 cat >>confdefs.h <<_ACEOF 10977 #define HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl 10978 _ACEOF 10979 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> 10980 #include <linux/sysctl.h> 10981 " 10982 if test "x$ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" = xyes; then : 10983 ac_have_decl=1 10984 else 10985 ac_have_decl=0 10986 fi 10987 10988 cat >>confdefs.h <<_ACEOF 10989 #define HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION $ac_have_decl 10990 _ACEOF 10991 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ANNOUNCE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" "#include <sys/types.h> 10992 #include <linux/sysctl.h> 10993 " 10994 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" = xyes; then : 10995 ac_have_decl=1 10996 else 10997 ac_have_decl=0 10998 fi 10999 11000 cat >>confdefs.h <<_ACEOF 11001 #define HAVE_DECL_NET_IPV4_CONF_ARP_ANNOUNCE $ac_have_decl 11002 _ACEOF 11003 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_IGNORE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" "#include <sys/types.h> 11004 #include <linux/sysctl.h> 11005 " 11006 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" = xyes; then : 11007 ac_have_decl=1 11008 else 11009 ac_have_decl=0 11010 fi 11011 11012 cat >>confdefs.h <<_ACEOF 11013 #define HAVE_DECL_NET_IPV4_CONF_ARP_IGNORE $ac_have_decl 11014 _ACEOF 11015 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_PROMOTE_SECONDARIES" "ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" "#include <sys/types.h> 11016 #include <linux/sysctl.h> 11017 " 11018 if test "x$ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" = xyes; then : 11019 ac_have_decl=1 11020 else 11021 ac_have_decl=0 11022 fi 11023 11024 cat >>confdefs.h <<_ACEOF 11025 #define HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES $ac_have_decl 11026 _ACEOF 11027 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ACCEPT" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" "#include <sys/types.h> 11028 #include <linux/sysctl.h> 11029 " 11030 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" = xyes; then : 11031 ac_have_decl=1 11032 else 11033 ac_have_decl=0 11034 fi 11035 11036 cat >>confdefs.h <<_ACEOF 11037 #define HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT $ac_have_decl 11038 _ACEOF 11039 ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_NOTIFY" "ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" "#include <sys/types.h> 11040 #include <linux/sysctl.h> 11041 " 11042 if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" = xyes; then : 11043 ac_have_decl=1 11044 else 11045 ac_have_decl=0 11046 fi 11047 11048 cat >>confdefs.h <<_ACEOF 11049 #define HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY $ac_have_decl 11050 _ACEOF 11051 ac_fn_c_check_decl "$LINENO" "NET_IPV6_MLD_MAX_MSF" "ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" "#include <sys/types.h> 11052 #include <linux/sysctl.h> 11053 " 11054 if test "x$ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" = xyes; then : 11055 ac_have_decl=1 11056 else 11057 ac_have_decl=0 11058 fi 11059 11060 cat >>confdefs.h <<_ACEOF 11061 #define HAVE_DECL_NET_IPV6_MLD_MAX_MSF $ac_have_decl 11062 _ACEOF 11063 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> 11064 #include <linux/sysctl.h> 11065 " 11066 if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then : 11067 ac_have_decl=1 11068 else 11069 ac_have_decl=0 11070 fi 11071 11072 cat >>confdefs.h <<_ACEOF 11073 #define HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl 11074 _ACEOF 11075 ac_fn_c_check_decl "$LINENO" "VM_MAX_MAP_COUNT" "ac_cv_have_decl_VM_MAX_MAP_COUNT" "#include <sys/types.h> 11076 #include <linux/sysctl.h> 11077 " 11078 if test "x$ac_cv_have_decl_VM_MAX_MAP_COUNT" = xyes; then : 11079 ac_have_decl=1 11080 else 11081 ac_have_decl=0 11082 fi 11083 11084 cat >>confdefs.h <<_ACEOF 11085 #define HAVE_DECL_VM_MAX_MAP_COUNT $ac_have_decl 11086 _ACEOF 11087 ac_fn_c_check_decl "$LINENO" "VM_LAPTOP_MODE" "ac_cv_have_decl_VM_LAPTOP_MODE" "#include <sys/types.h> 11088 #include <linux/sysctl.h> 11089 " 11090 if test "x$ac_cv_have_decl_VM_LAPTOP_MODE" = xyes; then : 11091 ac_have_decl=1 11092 else 11093 ac_have_decl=0 11094 fi 11095 11096 cat >>confdefs.h <<_ACEOF 11097 #define HAVE_DECL_VM_LAPTOP_MODE $ac_have_decl 11098 _ACEOF 11099 ac_fn_c_check_decl "$LINENO" "VM_BLOCK_DUMP" "ac_cv_have_decl_VM_BLOCK_DUMP" "#include <sys/types.h> 11100 #include <linux/sysctl.h> 11101 " 11102 if test "x$ac_cv_have_decl_VM_BLOCK_DUMP" = xyes; then : 11103 ac_have_decl=1 11104 else 11105 ac_have_decl=0 11106 fi 11107 11108 cat >>confdefs.h <<_ACEOF 11109 #define HAVE_DECL_VM_BLOCK_DUMP $ac_have_decl 11110 _ACEOF 11111 ac_fn_c_check_decl "$LINENO" "VM_HUGETLB_GROUP" "ac_cv_have_decl_VM_HUGETLB_GROUP" "#include <sys/types.h> 11112 #include <linux/sysctl.h> 11113 " 11114 if test "x$ac_cv_have_decl_VM_HUGETLB_GROUP" = xyes; then : 11115 ac_have_decl=1 11116 else 11117 ac_have_decl=0 11118 fi 11119 11120 cat >>confdefs.h <<_ACEOF 11121 #define HAVE_DECL_VM_HUGETLB_GROUP $ac_have_decl 11122 _ACEOF 11123 ac_fn_c_check_decl "$LINENO" "VM_VFS_CACHE_PRESSURE" "ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" "#include <sys/types.h> 11124 #include <linux/sysctl.h> 11125 " 11126 if test "x$ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" = xyes; then : 11127 ac_have_decl=1 11128 else 11129 ac_have_decl=0 11130 fi 11131 11132 cat >>confdefs.h <<_ACEOF 11133 #define HAVE_DECL_VM_VFS_CACHE_PRESSURE $ac_have_decl 11134 _ACEOF 11135 ac_fn_c_check_decl "$LINENO" "VM_LEGACY_VA_LAYOUT" "ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" "#include <sys/types.h> 11136 #include <linux/sysctl.h> 11137 " 11138 if test "x$ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" = xyes; then : 11139 ac_have_decl=1 11140 else 11141 ac_have_decl=0 11142 fi 11143 11144 cat >>confdefs.h <<_ACEOF 11145 #define HAVE_DECL_VM_LEGACY_VA_LAYOUT $ac_have_decl 11146 _ACEOF 11147 ac_fn_c_check_decl "$LINENO" "VM_SWAP_TOKEN_TIMEOUT" "ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" "#include <sys/types.h> 11148 #include <linux/sysctl.h> 11149 " 11150 if test "x$ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" = xyes; then : 11151 ac_have_decl=1 11152 else 11153 ac_have_decl=0 11154 fi 11155 11156 cat >>confdefs.h <<_ACEOF 11157 #define HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT $ac_have_decl 11158 _ACEOF 11159 11160 11161 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_ANY" "ac_cv_have_decl_V4L2_FIELD_ANY" "#include <sys/time.h> 11162 #include <linux/ioctl.h> 11163 #include <linux/types.h> 11164 #include <linux/videodev2.h> 11165 " 11166 if test "x$ac_cv_have_decl_V4L2_FIELD_ANY" = xyes; then : 11167 ac_have_decl=1 11168 else 11169 ac_have_decl=0 11170 fi 11171 11172 cat >>confdefs.h <<_ACEOF 11173 #define HAVE_DECL_V4L2_FIELD_ANY $ac_have_decl 11174 _ACEOF 11175 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_NONE" "ac_cv_have_decl_V4L2_FIELD_NONE" "#include <sys/time.h> 11176 #include <linux/ioctl.h> 11177 #include <linux/types.h> 11178 #include <linux/videodev2.h> 11179 " 11180 if test "x$ac_cv_have_decl_V4L2_FIELD_NONE" = xyes; then : 11181 ac_have_decl=1 11182 else 11183 ac_have_decl=0 11184 fi 11185 11186 cat >>confdefs.h <<_ACEOF 11187 #define HAVE_DECL_V4L2_FIELD_NONE $ac_have_decl 11188 _ACEOF 11189 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_TOP" "ac_cv_have_decl_V4L2_FIELD_TOP" "#include <sys/time.h> 11190 #include <linux/ioctl.h> 11191 #include <linux/types.h> 11192 #include <linux/videodev2.h> 11193 " 11194 if test "x$ac_cv_have_decl_V4L2_FIELD_TOP" = xyes; then : 11195 ac_have_decl=1 11196 else 11197 ac_have_decl=0 11198 fi 11199 11200 cat >>confdefs.h <<_ACEOF 11201 #define HAVE_DECL_V4L2_FIELD_TOP $ac_have_decl 11202 _ACEOF 11203 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_BOTTOM" "ac_cv_have_decl_V4L2_FIELD_BOTTOM" "#include <sys/time.h> 11204 #include <linux/ioctl.h> 11205 #include <linux/types.h> 11206 #include <linux/videodev2.h> 11207 " 11208 if test "x$ac_cv_have_decl_V4L2_FIELD_BOTTOM" = xyes; then : 11209 ac_have_decl=1 11210 else 11211 ac_have_decl=0 11212 fi 11213 11214 cat >>confdefs.h <<_ACEOF 11215 #define HAVE_DECL_V4L2_FIELD_BOTTOM $ac_have_decl 11216 _ACEOF 11217 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED" "ac_cv_have_decl_V4L2_FIELD_INTERLACED" "#include <sys/time.h> 11218 #include <linux/ioctl.h> 11219 #include <linux/types.h> 11220 #include <linux/videodev2.h> 11221 " 11222 if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED" = xyes; then : 11223 ac_have_decl=1 11224 else 11225 ac_have_decl=0 11226 fi 11227 11228 cat >>confdefs.h <<_ACEOF 11229 #define HAVE_DECL_V4L2_FIELD_INTERLACED $ac_have_decl 11230 _ACEOF 11231 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_SEQ_TB" "ac_cv_have_decl_V4L2_FIELD_SEQ_TB" "#include <sys/time.h> 11232 #include <linux/ioctl.h> 11233 #include <linux/types.h> 11234 #include <linux/videodev2.h> 11235 " 11236 if test "x$ac_cv_have_decl_V4L2_FIELD_SEQ_TB" = xyes; then : 11237 ac_have_decl=1 11238 else 11239 ac_have_decl=0 11240 fi 11241 11242 cat >>confdefs.h <<_ACEOF 11243 #define HAVE_DECL_V4L2_FIELD_SEQ_TB $ac_have_decl 11244 _ACEOF 11245 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_SEQ_BT" "ac_cv_have_decl_V4L2_FIELD_SEQ_BT" "#include <sys/time.h> 11246 #include <linux/ioctl.h> 11247 #include <linux/types.h> 11248 #include <linux/videodev2.h> 11249 " 11250 if test "x$ac_cv_have_decl_V4L2_FIELD_SEQ_BT" = xyes; then : 11251 ac_have_decl=1 11252 else 11253 ac_have_decl=0 11254 fi 11255 11256 cat >>confdefs.h <<_ACEOF 11257 #define HAVE_DECL_V4L2_FIELD_SEQ_BT $ac_have_decl 11258 _ACEOF 11259 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_ALTERNATE" "ac_cv_have_decl_V4L2_FIELD_ALTERNATE" "#include <sys/time.h> 11260 #include <linux/ioctl.h> 11261 #include <linux/types.h> 11262 #include <linux/videodev2.h> 11263 " 11264 if test "x$ac_cv_have_decl_V4L2_FIELD_ALTERNATE" = xyes; then : 11265 ac_have_decl=1 11266 else 11267 ac_have_decl=0 11268 fi 11269 11270 cat >>confdefs.h <<_ACEOF 11271 #define HAVE_DECL_V4L2_FIELD_ALTERNATE $ac_have_decl 11272 _ACEOF 11273 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED_TB" "ac_cv_have_decl_V4L2_FIELD_INTERLACED_TB" "#include <sys/time.h> 11274 #include <linux/ioctl.h> 11275 #include <linux/types.h> 11276 #include <linux/videodev2.h> 11277 " 11278 if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED_TB" = xyes; then : 11279 ac_have_decl=1 11280 else 11281 ac_have_decl=0 11282 fi 11283 11284 cat >>confdefs.h <<_ACEOF 11285 #define HAVE_DECL_V4L2_FIELD_INTERLACED_TB $ac_have_decl 11286 _ACEOF 11287 ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED_BT" "ac_cv_have_decl_V4L2_FIELD_INTERLACED_BT" "#include <sys/time.h> 11288 #include <linux/ioctl.h> 11289 #include <linux/types.h> 11290 #include <linux/videodev2.h> 11291 " 11292 if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED_BT" = xyes; then : 11293 ac_have_decl=1 11294 else 11295 ac_have_decl=0 11296 fi 11297 11298 cat >>confdefs.h <<_ACEOF 11299 #define HAVE_DECL_V4L2_FIELD_INTERLACED_BT $ac_have_decl 11300 _ACEOF 11301 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" "#include <sys/time.h> 11302 #include <linux/ioctl.h> 11303 #include <linux/types.h> 11304 #include <linux/videodev2.h> 11305 " 11306 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" = xyes; then : 11307 ac_have_decl=1 11308 else 11309 ac_have_decl=0 11310 fi 11311 11312 cat >>confdefs.h <<_ACEOF 11313 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE $ac_have_decl 11314 _ACEOF 11315 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> 11316 #include <linux/ioctl.h> 11317 #include <linux/types.h> 11318 #include <linux/videodev2.h> 11319 " 11320 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" = xyes; then : 11321 ac_have_decl=1 11322 else 11323 ac_have_decl=0 11324 fi 11325 11326 cat >>confdefs.h <<_ACEOF 11327 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE $ac_have_decl 11328 _ACEOF 11329 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" "#include <sys/time.h> 11330 #include <linux/ioctl.h> 11331 #include <linux/types.h> 11332 #include <linux/videodev2.h> 11333 " 11334 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" = xyes; then : 11335 ac_have_decl=1 11336 else 11337 ac_have_decl=0 11338 fi 11339 11340 cat >>confdefs.h <<_ACEOF 11341 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT $ac_have_decl 11342 _ACEOF 11343 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> 11344 #include <linux/ioctl.h> 11345 #include <linux/types.h> 11346 #include <linux/videodev2.h> 11347 " 11348 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" = xyes; then : 11349 ac_have_decl=1 11350 else 11351 ac_have_decl=0 11352 fi 11353 11354 cat >>confdefs.h <<_ACEOF 11355 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE $ac_have_decl 11356 _ACEOF 11357 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OVERLAY" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" "#include <sys/time.h> 11358 #include <linux/ioctl.h> 11359 #include <linux/types.h> 11360 #include <linux/videodev2.h> 11361 " 11362 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" = xyes; then : 11363 ac_have_decl=1 11364 else 11365 ac_have_decl=0 11366 fi 11367 11368 cat >>confdefs.h <<_ACEOF 11369 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OVERLAY $ac_have_decl 11370 _ACEOF 11371 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VBI_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" "#include <sys/time.h> 11372 #include <linux/ioctl.h> 11373 #include <linux/types.h> 11374 #include <linux/videodev2.h> 11375 " 11376 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" = xyes; then : 11377 ac_have_decl=1 11378 else 11379 ac_have_decl=0 11380 fi 11381 11382 cat >>confdefs.h <<_ACEOF 11383 #define HAVE_DECL_V4L2_BUF_TYPE_VBI_CAPTURE $ac_have_decl 11384 _ACEOF 11385 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VBI_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" "#include <sys/time.h> 11386 #include <linux/ioctl.h> 11387 #include <linux/types.h> 11388 #include <linux/videodev2.h> 11389 " 11390 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" = xyes; then : 11391 ac_have_decl=1 11392 else 11393 ac_have_decl=0 11394 fi 11395 11396 cat >>confdefs.h <<_ACEOF 11397 #define HAVE_DECL_V4L2_BUF_TYPE_VBI_OUTPUT $ac_have_decl 11398 _ACEOF 11399 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> 11400 #include <linux/ioctl.h> 11401 #include <linux/types.h> 11402 #include <linux/videodev2.h> 11403 " 11404 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" = xyes; then : 11405 ac_have_decl=1 11406 else 11407 ac_have_decl=0 11408 fi 11409 11410 cat >>confdefs.h <<_ACEOF 11411 #define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE $ac_have_decl 11412 _ACEOF 11413 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> 11414 #include <linux/ioctl.h> 11415 #include <linux/types.h> 11416 #include <linux/videodev2.h> 11417 " 11418 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" = xyes; then : 11419 ac_have_decl=1 11420 else 11421 ac_have_decl=0 11422 fi 11423 11424 cat >>confdefs.h <<_ACEOF 11425 #define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT $ac_have_decl 11426 _ACEOF 11427 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> 11428 #include <linux/ioctl.h> 11429 #include <linux/types.h> 11430 #include <linux/videodev2.h> 11431 " 11432 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" = xyes; then : 11433 ac_have_decl=1 11434 else 11435 ac_have_decl=0 11436 fi 11437 11438 cat >>confdefs.h <<_ACEOF 11439 #define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY $ac_have_decl 11440 _ACEOF 11441 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SDR_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_SDR_CAPTURE" "#include <sys/time.h> 11442 #include <linux/ioctl.h> 11443 #include <linux/types.h> 11444 #include <linux/videodev2.h> 11445 " 11446 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SDR_CAPTURE" = xyes; then : 11447 ac_have_decl=1 11448 else 11449 ac_have_decl=0 11450 fi 11451 11452 cat >>confdefs.h <<_ACEOF 11453 #define HAVE_DECL_V4L2_BUF_TYPE_SDR_CAPTURE $ac_have_decl 11454 _ACEOF 11455 ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SDR_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_SDR_OUTPUT" "#include <sys/time.h> 11456 #include <linux/ioctl.h> 11457 #include <linux/types.h> 11458 #include <linux/videodev2.h> 11459 " 11460 if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SDR_OUTPUT" = xyes; then : 11461 ac_have_decl=1 11462 else 11463 ac_have_decl=0 11464 fi 11465 11466 cat >>confdefs.h <<_ACEOF 11467 #define HAVE_DECL_V4L2_BUF_TYPE_SDR_OUTPUT $ac_have_decl 11468 _ACEOF 11469 ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_RADIO" "ac_cv_have_decl_V4L2_TUNER_RADIO" "#include <sys/time.h> 11470 #include <linux/ioctl.h> 11471 #include <linux/types.h> 11472 #include <linux/videodev2.h> 11473 " 11474 if test "x$ac_cv_have_decl_V4L2_TUNER_RADIO" = xyes; then : 11475 ac_have_decl=1 11476 else 11477 ac_have_decl=0 11478 fi 11479 11480 cat >>confdefs.h <<_ACEOF 11481 #define HAVE_DECL_V4L2_TUNER_RADIO $ac_have_decl 11482 _ACEOF 11483 ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_ANALOG_TV" "ac_cv_have_decl_V4L2_TUNER_ANALOG_TV" "#include <sys/time.h> 11484 #include <linux/ioctl.h> 11485 #include <linux/types.h> 11486 #include <linux/videodev2.h> 11487 " 11488 if test "x$ac_cv_have_decl_V4L2_TUNER_ANALOG_TV" = xyes; then : 11489 ac_have_decl=1 11490 else 11491 ac_have_decl=0 11492 fi 11493 11494 cat >>confdefs.h <<_ACEOF 11495 #define HAVE_DECL_V4L2_TUNER_ANALOG_TV $ac_have_decl 11496 _ACEOF 11497 ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_DIGITAL_TV" "ac_cv_have_decl_V4L2_TUNER_DIGITAL_TV" "#include <sys/time.h> 11498 #include <linux/ioctl.h> 11499 #include <linux/types.h> 11500 #include <linux/videodev2.h> 11501 " 11502 if test "x$ac_cv_have_decl_V4L2_TUNER_DIGITAL_TV" = xyes; then : 11503 ac_have_decl=1 11504 else 11505 ac_have_decl=0 11506 fi 11507 11508 cat >>confdefs.h <<_ACEOF 11509 #define HAVE_DECL_V4L2_TUNER_DIGITAL_TV $ac_have_decl 11510 _ACEOF 11511 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_MMAP" "ac_cv_have_decl_V4L2_MEMORY_MMAP" "#include <sys/time.h> 11512 #include <linux/ioctl.h> 11513 #include <linux/types.h> 11514 #include <linux/videodev2.h> 11515 " 11516 if test "x$ac_cv_have_decl_V4L2_MEMORY_MMAP" = xyes; then : 11517 ac_have_decl=1 11518 else 11519 ac_have_decl=0 11520 fi 11521 11522 cat >>confdefs.h <<_ACEOF 11523 #define HAVE_DECL_V4L2_MEMORY_MMAP $ac_have_decl 11524 _ACEOF 11525 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_USERPTR" "ac_cv_have_decl_V4L2_MEMORY_USERPTR" "#include <sys/time.h> 11526 #include <linux/ioctl.h> 11527 #include <linux/types.h> 11528 #include <linux/videodev2.h> 11529 " 11530 if test "x$ac_cv_have_decl_V4L2_MEMORY_USERPTR" = xyes; then : 11531 ac_have_decl=1 11532 else 11533 ac_have_decl=0 11534 fi 11535 11536 cat >>confdefs.h <<_ACEOF 11537 #define HAVE_DECL_V4L2_MEMORY_USERPTR $ac_have_decl 11538 _ACEOF 11539 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_OVERLAY" "ac_cv_have_decl_V4L2_MEMORY_OVERLAY" "#include <sys/time.h> 11540 #include <linux/ioctl.h> 11541 #include <linux/types.h> 11542 #include <linux/videodev2.h> 11543 " 11544 if test "x$ac_cv_have_decl_V4L2_MEMORY_OVERLAY" = xyes; then : 11545 ac_have_decl=1 11546 else 11547 ac_have_decl=0 11548 fi 11549 11550 cat >>confdefs.h <<_ACEOF 11551 #define HAVE_DECL_V4L2_MEMORY_OVERLAY $ac_have_decl 11552 _ACEOF 11553 ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_DMABUF" "ac_cv_have_decl_V4L2_MEMORY_DMABUF" "#include <sys/time.h> 11554 #include <linux/ioctl.h> 11555 #include <linux/types.h> 11556 #include <linux/videodev2.h> 11557 " 11558 if test "x$ac_cv_have_decl_V4L2_MEMORY_DMABUF" = xyes; then : 11559 ac_have_decl=1 11560 else 11561 ac_have_decl=0 11562 fi 11563 11564 cat >>confdefs.h <<_ACEOF 11565 #define HAVE_DECL_V4L2_MEMORY_DMABUF $ac_have_decl 11566 _ACEOF 11567 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SMPTE170M" "ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" "#include <sys/time.h> 11568 #include <linux/ioctl.h> 11569 #include <linux/types.h> 11570 #include <linux/videodev2.h> 11571 " 11572 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" = xyes; then : 11573 ac_have_decl=1 11574 else 11575 ac_have_decl=0 11576 fi 11577 11578 cat >>confdefs.h <<_ACEOF 11579 #define HAVE_DECL_V4L2_COLORSPACE_SMPTE170M $ac_have_decl 11580 _ACEOF 11581 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SMPTE240M" "ac_cv_have_decl_V4L2_COLORSPACE_SMPTE240M" "#include <sys/time.h> 11582 #include <linux/ioctl.h> 11583 #include <linux/types.h> 11584 #include <linux/videodev2.h> 11585 " 11586 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE240M" = xyes; then : 11587 ac_have_decl=1 11588 else 11589 ac_have_decl=0 11590 fi 11591 11592 cat >>confdefs.h <<_ACEOF 11593 #define HAVE_DECL_V4L2_COLORSPACE_SMPTE240M $ac_have_decl 11594 _ACEOF 11595 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_REC709" "ac_cv_have_decl_V4L2_COLORSPACE_REC709" "#include <sys/time.h> 11596 #include <linux/ioctl.h> 11597 #include <linux/types.h> 11598 #include <linux/videodev2.h> 11599 " 11600 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_REC709" = xyes; then : 11601 ac_have_decl=1 11602 else 11603 ac_have_decl=0 11604 fi 11605 11606 cat >>confdefs.h <<_ACEOF 11607 #define HAVE_DECL_V4L2_COLORSPACE_REC709 $ac_have_decl 11608 _ACEOF 11609 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_BT878" "ac_cv_have_decl_V4L2_COLORSPACE_BT878" "#include <sys/time.h> 11610 #include <linux/ioctl.h> 11611 #include <linux/types.h> 11612 #include <linux/videodev2.h> 11613 " 11614 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_BT878" = xyes; then : 11615 ac_have_decl=1 11616 else 11617 ac_have_decl=0 11618 fi 11619 11620 cat >>confdefs.h <<_ACEOF 11621 #define HAVE_DECL_V4L2_COLORSPACE_BT878 $ac_have_decl 11622 _ACEOF 11623 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_470_SYSTEM_M" "ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_M" "#include <sys/time.h> 11624 #include <linux/ioctl.h> 11625 #include <linux/types.h> 11626 #include <linux/videodev2.h> 11627 " 11628 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_M" = xyes; then : 11629 ac_have_decl=1 11630 else 11631 ac_have_decl=0 11632 fi 11633 11634 cat >>confdefs.h <<_ACEOF 11635 #define HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_M $ac_have_decl 11636 _ACEOF 11637 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_470_SYSTEM_BG" "ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_BG" "#include <sys/time.h> 11638 #include <linux/ioctl.h> 11639 #include <linux/types.h> 11640 #include <linux/videodev2.h> 11641 " 11642 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_BG" = xyes; then : 11643 ac_have_decl=1 11644 else 11645 ac_have_decl=0 11646 fi 11647 11648 cat >>confdefs.h <<_ACEOF 11649 #define HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_BG $ac_have_decl 11650 _ACEOF 11651 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_JPEG" "ac_cv_have_decl_V4L2_COLORSPACE_JPEG" "#include <sys/time.h> 11652 #include <linux/ioctl.h> 11653 #include <linux/types.h> 11654 #include <linux/videodev2.h> 11655 " 11656 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_JPEG" = xyes; then : 11657 ac_have_decl=1 11658 else 11659 ac_have_decl=0 11660 fi 11661 11662 cat >>confdefs.h <<_ACEOF 11663 #define HAVE_DECL_V4L2_COLORSPACE_JPEG $ac_have_decl 11664 _ACEOF 11665 ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SRGB" "ac_cv_have_decl_V4L2_COLORSPACE_SRGB" "#include <sys/time.h> 11666 #include <linux/ioctl.h> 11667 #include <linux/types.h> 11668 #include <linux/videodev2.h> 11669 " 11670 if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SRGB" = xyes; then : 11671 ac_have_decl=1 11672 else 11673 ac_have_decl=0 11674 fi 11675 11676 cat >>confdefs.h <<_ACEOF 11677 #define HAVE_DECL_V4L2_COLORSPACE_SRGB $ac_have_decl 11678 _ACEOF 11679 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_UNSET" "ac_cv_have_decl_V4L2_PRIORITY_UNSET" "#include <sys/time.h> 11680 #include <linux/ioctl.h> 11681 #include <linux/types.h> 11682 #include <linux/videodev2.h> 11683 " 11684 if test "x$ac_cv_have_decl_V4L2_PRIORITY_UNSET" = xyes; then : 11685 ac_have_decl=1 11686 else 11687 ac_have_decl=0 11688 fi 11689 11690 cat >>confdefs.h <<_ACEOF 11691 #define HAVE_DECL_V4L2_PRIORITY_UNSET $ac_have_decl 11692 _ACEOF 11693 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_BACKGROUND" "ac_cv_have_decl_V4L2_PRIORITY_BACKGROUND" "#include <sys/time.h> 11694 #include <linux/ioctl.h> 11695 #include <linux/types.h> 11696 #include <linux/videodev2.h> 11697 " 11698 if test "x$ac_cv_have_decl_V4L2_PRIORITY_BACKGROUND" = xyes; then : 11699 ac_have_decl=1 11700 else 11701 ac_have_decl=0 11702 fi 11703 11704 cat >>confdefs.h <<_ACEOF 11705 #define HAVE_DECL_V4L2_PRIORITY_BACKGROUND $ac_have_decl 11706 _ACEOF 11707 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_INTERACTIVE" "ac_cv_have_decl_V4L2_PRIORITY_INTERACTIVE" "#include <sys/time.h> 11708 #include <linux/ioctl.h> 11709 #include <linux/types.h> 11710 #include <linux/videodev2.h> 11711 " 11712 if test "x$ac_cv_have_decl_V4L2_PRIORITY_INTERACTIVE" = xyes; then : 11713 ac_have_decl=1 11714 else 11715 ac_have_decl=0 11716 fi 11717 11718 cat >>confdefs.h <<_ACEOF 11719 #define HAVE_DECL_V4L2_PRIORITY_INTERACTIVE $ac_have_decl 11720 _ACEOF 11721 ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_RECORD" "ac_cv_have_decl_V4L2_PRIORITY_RECORD" "#include <sys/time.h> 11722 #include <linux/ioctl.h> 11723 #include <linux/types.h> 11724 #include <linux/videodev2.h> 11725 " 11726 if test "x$ac_cv_have_decl_V4L2_PRIORITY_RECORD" = xyes; then : 11727 ac_have_decl=1 11728 else 11729 ac_have_decl=0 11730 fi 11731 11732 cat >>confdefs.h <<_ACEOF 11733 #define HAVE_DECL_V4L2_PRIORITY_RECORD $ac_have_decl 11734 _ACEOF 11735 ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_DISCRETE" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_DISCRETE" "#include <sys/time.h> 11736 #include <linux/ioctl.h> 11737 #include <linux/types.h> 11738 #include <linux/videodev2.h> 11739 " 11740 if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_DISCRETE" = xyes; then : 11741 ac_have_decl=1 11742 else 11743 ac_have_decl=0 11744 fi 11745 11746 cat >>confdefs.h <<_ACEOF 11747 #define HAVE_DECL_V4L2_FRMSIZE_TYPE_DISCRETE $ac_have_decl 11748 _ACEOF 11749 ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_CONTINUOUS" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_CONTINUOUS" "#include <sys/time.h> 11750 #include <linux/ioctl.h> 11751 #include <linux/types.h> 11752 #include <linux/videodev2.h> 11753 " 11754 if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_CONTINUOUS" = xyes; then : 11755 ac_have_decl=1 11756 else 11757 ac_have_decl=0 11758 fi 11759 11760 cat >>confdefs.h <<_ACEOF 11761 #define HAVE_DECL_V4L2_FRMSIZE_TYPE_CONTINUOUS $ac_have_decl 11762 _ACEOF 11763 ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_STEPWISE" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_STEPWISE" "#include <sys/time.h> 11764 #include <linux/ioctl.h> 11765 #include <linux/types.h> 11766 #include <linux/videodev2.h> 11767 " 11768 if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_STEPWISE" = xyes; then : 11769 ac_have_decl=1 11770 else 11771 ac_have_decl=0 11772 fi 11773 11774 cat >>confdefs.h <<_ACEOF 11775 #define HAVE_DECL_V4L2_FRMSIZE_TYPE_STEPWISE $ac_have_decl 11776 _ACEOF 11777 ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_DISCRETE" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_DISCRETE" "#include <sys/time.h> 11778 #include <linux/ioctl.h> 11779 #include <linux/types.h> 11780 #include <linux/videodev2.h> 11781 " 11782 if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_DISCRETE" = xyes; then : 11783 ac_have_decl=1 11784 else 11785 ac_have_decl=0 11786 fi 11787 11788 cat >>confdefs.h <<_ACEOF 11789 #define HAVE_DECL_V4L2_FRMIVAL_TYPE_DISCRETE $ac_have_decl 11790 _ACEOF 11791 ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_CONTINUOUS" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_CONTINUOUS" "#include <sys/time.h> 11792 #include <linux/ioctl.h> 11793 #include <linux/types.h> 11794 #include <linux/videodev2.h> 11795 " 11796 if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_CONTINUOUS" = xyes; then : 11797 ac_have_decl=1 11798 else 11799 ac_have_decl=0 11800 fi 11801 11802 cat >>confdefs.h <<_ACEOF 11803 #define HAVE_DECL_V4L2_FRMIVAL_TYPE_CONTINUOUS $ac_have_decl 11804 _ACEOF 11805 ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_STEPWISE" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_STEPWISE" "#include <sys/time.h> 11806 #include <linux/ioctl.h> 11807 #include <linux/types.h> 11808 #include <linux/videodev2.h> 11809 " 11810 if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_STEPWISE" = xyes; then : 11811 ac_have_decl=1 11812 else 11813 ac_have_decl=0 11814 fi 11815 11816 cat >>confdefs.h <<_ACEOF 11817 #define HAVE_DECL_V4L2_FRMIVAL_TYPE_STEPWISE $ac_have_decl 11818 _ACEOF 11819 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER" "#include <sys/time.h> 11820 #include <linux/ioctl.h> 11821 #include <linux/types.h> 11822 #include <linux/videodev2.h> 11823 " 11824 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER" = xyes; then : 11825 ac_have_decl=1 11826 else 11827 ac_have_decl=0 11828 fi 11829 11830 cat >>confdefs.h <<_ACEOF 11831 #define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER $ac_have_decl 11832 _ACEOF 11833 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BOOLEAN" "ac_cv_have_decl_V4L2_CTRL_TYPE_BOOLEAN" "#include <sys/time.h> 11834 #include <linux/ioctl.h> 11835 #include <linux/types.h> 11836 #include <linux/videodev2.h> 11837 " 11838 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BOOLEAN" = xyes; then : 11839 ac_have_decl=1 11840 else 11841 ac_have_decl=0 11842 fi 11843 11844 cat >>confdefs.h <<_ACEOF 11845 #define HAVE_DECL_V4L2_CTRL_TYPE_BOOLEAN $ac_have_decl 11846 _ACEOF 11847 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_MENU" "ac_cv_have_decl_V4L2_CTRL_TYPE_MENU" "#include <sys/time.h> 11848 #include <linux/ioctl.h> 11849 #include <linux/types.h> 11850 #include <linux/videodev2.h> 11851 " 11852 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_MENU" = xyes; then : 11853 ac_have_decl=1 11854 else 11855 ac_have_decl=0 11856 fi 11857 11858 cat >>confdefs.h <<_ACEOF 11859 #define HAVE_DECL_V4L2_CTRL_TYPE_MENU $ac_have_decl 11860 _ACEOF 11861 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BUTTON" "ac_cv_have_decl_V4L2_CTRL_TYPE_BUTTON" "#include <sys/time.h> 11862 #include <linux/ioctl.h> 11863 #include <linux/types.h> 11864 #include <linux/videodev2.h> 11865 " 11866 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BUTTON" = xyes; then : 11867 ac_have_decl=1 11868 else 11869 ac_have_decl=0 11870 fi 11871 11872 cat >>confdefs.h <<_ACEOF 11873 #define HAVE_DECL_V4L2_CTRL_TYPE_BUTTON $ac_have_decl 11874 _ACEOF 11875 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER64" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER64" "#include <sys/time.h> 11876 #include <linux/ioctl.h> 11877 #include <linux/types.h> 11878 #include <linux/videodev2.h> 11879 " 11880 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER64" = xyes; then : 11881 ac_have_decl=1 11882 else 11883 ac_have_decl=0 11884 fi 11885 11886 cat >>confdefs.h <<_ACEOF 11887 #define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER64 $ac_have_decl 11888 _ACEOF 11889 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_CTRL_CLASS" "ac_cv_have_decl_V4L2_CTRL_TYPE_CTRL_CLASS" "#include <sys/time.h> 11890 #include <linux/ioctl.h> 11891 #include <linux/types.h> 11892 #include <linux/videodev2.h> 11893 " 11894 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_CTRL_CLASS" = xyes; then : 11895 ac_have_decl=1 11896 else 11897 ac_have_decl=0 11898 fi 11899 11900 cat >>confdefs.h <<_ACEOF 11901 #define HAVE_DECL_V4L2_CTRL_TYPE_CTRL_CLASS $ac_have_decl 11902 _ACEOF 11903 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_STRING" "ac_cv_have_decl_V4L2_CTRL_TYPE_STRING" "#include <sys/time.h> 11904 #include <linux/ioctl.h> 11905 #include <linux/types.h> 11906 #include <linux/videodev2.h> 11907 " 11908 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_STRING" = xyes; then : 11909 ac_have_decl=1 11910 else 11911 ac_have_decl=0 11912 fi 11913 11914 cat >>confdefs.h <<_ACEOF 11915 #define HAVE_DECL_V4L2_CTRL_TYPE_STRING $ac_have_decl 11916 _ACEOF 11917 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BITMASK" "ac_cv_have_decl_V4L2_CTRL_TYPE_BITMASK" "#include <sys/time.h> 11918 #include <linux/ioctl.h> 11919 #include <linux/types.h> 11920 #include <linux/videodev2.h> 11921 " 11922 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BITMASK" = xyes; then : 11923 ac_have_decl=1 11924 else 11925 ac_have_decl=0 11926 fi 11927 11928 cat >>confdefs.h <<_ACEOF 11929 #define HAVE_DECL_V4L2_CTRL_TYPE_BITMASK $ac_have_decl 11930 _ACEOF 11931 ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER_MENU" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER_MENU" "#include <sys/time.h> 11932 #include <linux/ioctl.h> 11933 #include <linux/types.h> 11934 #include <linux/videodev2.h> 11935 " 11936 if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER_MENU" = xyes; then : 11937 ac_have_decl=1 11938 else 11939 ac_have_decl=0 11940 fi 11941 11942 cat >>confdefs.h <<_ACEOF 11943 #define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER_MENU $ac_have_decl 11944 _ACEOF 11945 11946 11947 ac_fn_c_check_member "$LINENO" "struct v4l2_window" "global_alpha" "ac_cv_member_struct_v4l2_window_global_alpha" "#include <sys/time.h> 11948 #include <linux/ioctl.h> 11949 #include <linux/types.h> 11950 #include <linux/videodev2.h> 11951 " 11952 if test "x$ac_cv_member_struct_v4l2_window_global_alpha" = xyes; then : 11953 11954 cat >>confdefs.h <<_ACEOF 11955 #define HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA 1 11956 _ACEOF 11957 11958 11959 fi 11960 ac_fn_c_check_member "$LINENO" "struct v4l2_sdr_format" "buffersize" "ac_cv_member_struct_v4l2_sdr_format_buffersize" "#include <sys/time.h> 11961 #include <linux/ioctl.h> 11962 #include <linux/types.h> 11963 #include <linux/videodev2.h> 11964 " 11965 if test "x$ac_cv_member_struct_v4l2_sdr_format_buffersize" = xyes; then : 11966 11967 cat >>confdefs.h <<_ACEOF 11968 #define HAVE_STRUCT_V4L2_SDR_FORMAT_BUFFERSIZE 1 11969 _ACEOF 11970 11971 11972 fi 11973 11974 11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLKGETSIZE64" >&5 11976 $as_echo_n "checking for BLKGETSIZE64... " >&6; } 11977 if ${ac_cv_have_blkgetsize64+:} false; then : 11978 $as_echo_n "(cached) " >&6 11979 else 11980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11981 /* end confdefs.h. */ 11982 11983 #include <stdlib.h> 11984 #include <linux/fs.h> 11985 int 11986 main () 11987 { 11988 return !BLKGETSIZE64; 11989 ; 11990 return 0; 11991 } 11992 _ACEOF 11993 if ac_fn_c_try_compile "$LINENO"; then : 11994 ac_cv_have_blkgetsize64=yes 11995 else 11996 ac_cv_have_blkgetsize64=no 11997 fi 11998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11999 if test $ac_cv_have_blkgetsize64 = yes; then 12000 12001 $as_echo "#define HAVE_BLKGETSIZE64 1" >>confdefs.h 12002 12003 fi 12004 fi 12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_blkgetsize64" >&5 12006 $as_echo "$ac_cv_have_blkgetsize64" >&6; } 12007 12008 # The cast to long int works around a bug in the HP C Compiler 12009 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12010 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12011 # This bug is HP SR number 8606223364. 12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 12013 $as_echo_n "checking size of long... " >&6; } 12014 if ${ac_cv_sizeof_long+:} false; then : 12015 $as_echo_n "(cached) " >&6 12016 else 12017 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 12018 12019 else 12020 if test "$ac_cv_type_long" = yes; then 12021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12023 as_fn_error 77 "cannot compute sizeof (long) 12024 See \`config.log' for more details" "$LINENO" 5; } 12025 else 12026 ac_cv_sizeof_long=0 12027 fi 12028 fi 12029 12030 fi 12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 12032 $as_echo "$ac_cv_sizeof_long" >&6; } 12033 12034 12035 12036 cat >>confdefs.h <<_ACEOF 12037 #define SIZEOF_LONG $ac_cv_sizeof_long 12038 _ACEOF 12039 12040 12041 # The cast to long int works around a bug in the HP C Compiler 12042 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12043 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12044 # This bug is HP SR number 8606223364. 12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 12046 $as_echo_n "checking size of long long... " >&6; } 12047 if ${ac_cv_sizeof_long_long+:} false; then : 12048 $as_echo_n "(cached) " >&6 12049 else 12050 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 12051 12052 else 12053 if test "$ac_cv_type_long_long" = yes; then 12054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12056 as_fn_error 77 "cannot compute sizeof (long long) 12057 See \`config.log' for more details" "$LINENO" 5; } 12058 else 12059 ac_cv_sizeof_long_long=0 12060 fi 12061 fi 12062 12063 fi 12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 12065 $as_echo "$ac_cv_sizeof_long_long" >&6; } 12066 12067 12068 12069 cat >>confdefs.h <<_ACEOF 12070 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long 12071 _ACEOF 12072 12073 12074 # The cast to long int works around a bug in the HP C Compiler 12075 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12076 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12077 # This bug is HP SR number 8606223364. 12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 12079 $as_echo_n "checking size of off_t... " >&6; } 12080 if ${ac_cv_sizeof_off_t+:} false; then : 12081 $as_echo_n "(cached) " >&6 12082 else 12083 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "#include <sys/types.h> 12084 "; then : 12085 12086 else 12087 if test "$ac_cv_type_off_t" = yes; then 12088 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12090 as_fn_error 77 "cannot compute sizeof (off_t) 12091 See \`config.log' for more details" "$LINENO" 5; } 12092 else 12093 ac_cv_sizeof_off_t=0 12094 fi 12095 fi 12096 12097 fi 12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 12099 $as_echo "$ac_cv_sizeof_off_t" >&6; } 12100 12101 12102 12103 cat >>confdefs.h <<_ACEOF 12104 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t 12105 _ACEOF 12106 12107 12108 # The cast to long int works around a bug in the HP C Compiler 12109 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12110 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12111 # This bug is HP SR number 8606223364. 12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of kernel_long_t" >&5 12113 $as_echo_n "checking size of kernel_long_t... " >&6; } 12114 if ${ac_cv_sizeof_kernel_long_t+:} false; then : 12115 $as_echo_n "(cached) " >&6 12116 else 12117 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (kernel_long_t))" "ac_cv_sizeof_kernel_long_t" "#include \"$srcdir/kernel_types.h\" 12118 "; then : 12119 12120 else 12121 if test "$ac_cv_type_kernel_long_t" = yes; then 12122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12124 as_fn_error 77 "cannot compute sizeof (kernel_long_t) 12125 See \`config.log' for more details" "$LINENO" 5; } 12126 else 12127 ac_cv_sizeof_kernel_long_t=0 12128 fi 12129 fi 12130 12131 fi 12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_kernel_long_t" >&5 12133 $as_echo "$ac_cv_sizeof_kernel_long_t" >&6; } 12134 12135 12136 12137 cat >>confdefs.h <<_ACEOF 12138 #define SIZEOF_KERNEL_LONG_T $ac_cv_sizeof_kernel_long_t 12139 _ACEOF 12140 12141 12142 # The cast to long int works around a bug in the HP C Compiler 12143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12144 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12145 # This bug is HP SR number 8606223364. 12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct i64_i32" >&5 12147 $as_echo_n "checking size of struct i64_i32... " >&6; } 12148 if ${ac_cv_sizeof_struct_i64_i32+:} false; then : 12149 $as_echo_n "(cached) " >&6 12150 else 12151 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;}; 12152 "; then : 12153 12154 else 12155 if test "$ac_cv_type_struct_i64_i32" = yes; then 12156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12158 as_fn_error 77 "cannot compute sizeof (struct i64_i32) 12159 See \`config.log' for more details" "$LINENO" 5; } 12160 else 12161 ac_cv_sizeof_struct_i64_i32=0 12162 fi 12163 fi 12164 12165 fi 12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_i64_i32" >&5 12167 $as_echo "$ac_cv_sizeof_struct_i64_i32" >&6; } 12168 12169 12170 12171 cat >>confdefs.h <<_ACEOF 12172 #define SIZEOF_STRUCT_I64_I32 $ac_cv_sizeof_struct_i64_i32 12173 _ACEOF 12174 12175 12176 12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGRTMIN" >&5 12178 $as_echo_n "checking for SIGRTMIN... " >&6; } 12179 if ${st_cv_SIGRTMIN+:} false; then : 12180 $as_echo_n "(cached) " >&6 12181 else 12182 st_cv_SIGRTMIN="$(echo SIGRTMIN | 12183 $CPP $CPPFLAGS -P -imacros asm/signal.h - | 12184 grep '^[0-9]')" 12185 test -n "$st_cv_SIGRTMIN" || st_cv_SIGRTMIN=no 12186 fi 12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_SIGRTMIN" >&5 12188 $as_echo "$st_cv_SIGRTMIN" >&6; } 12189 if test "x$st_cv_SIGRTMIN" != xno; then 12190 12191 cat >>confdefs.h <<_ACEOF 12192 #define ASM_SIGRTMIN $st_cv_SIGRTMIN 12193 _ACEOF 12194 12195 fi 12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SA_RESTORER" >&5 12197 $as_echo_n "checking for SA_RESTORER... " >&6; } 12198 if ${st_cv_SA_RESTORER+:} false; then : 12199 $as_echo_n "(cached) " >&6 12200 else 12201 st_cv_SA_RESTORER="$(echo SA_RESTORER | 12202 $CPP $CPPFLAGS -P -imacros asm/signal.h - | 12203 grep ^0x)" 12204 test -n "$st_cv_SA_RESTORER" || st_cv_SA_RESTORER=no 12205 fi 12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_SA_RESTORER" >&5 12207 $as_echo "$st_cv_SA_RESTORER" >&6; } 12208 if test "x$st_cv_SA_RESTORER" != xno; then 12209 12210 cat >>confdefs.h <<_ACEOF 12211 #define ASM_SA_RESTORER $st_cv_SA_RESTORER 12212 _ACEOF 12213 12214 fi 12215 12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5 12217 $as_echo_n "checking for __builtin_popcount... " >&6; } 12218 if ${st_cv_have___builtin_popcount+:} false; then : 12219 $as_echo_n "(cached) " >&6 12220 else 12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12222 /* end confdefs.h. */ 12223 12224 int 12225 main () 12226 { 12227 __builtin_popcount(0) 12228 ; 12229 return 0; 12230 } 12231 _ACEOF 12232 if ac_fn_c_try_link "$LINENO"; then : 12233 st_cv_have___builtin_popcount=yes 12234 else 12235 st_cv_have___builtin_popcount=no 12236 fi 12237 rm -f core conftest.err conftest.$ac_objext \ 12238 conftest$ac_exeext conftest.$ac_ext 12239 fi 12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have___builtin_popcount" >&5 12241 $as_echo "$st_cv_have___builtin_popcount" >&6; } 12242 if test "x$st_cv_have___builtin_popcount" = xyes; then 12243 12244 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h 12245 12246 fi 12247 12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for program_invocation_name" >&5 12249 $as_echo_n "checking for program_invocation_name... " >&6; } 12250 if ${st_cv_have_program_invocation_name+:} false; then : 12251 $as_echo_n "(cached) " >&6 12252 else 12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12254 /* end confdefs.h. */ 12255 #include <errno.h> 12256 int 12257 main () 12258 { 12259 return !*program_invocation_name 12260 ; 12261 return 0; 12262 } 12263 _ACEOF 12264 if ac_fn_c_try_link "$LINENO"; then : 12265 st_cv_have_program_invocation_name=yes 12266 else 12267 st_cv_have_program_invocation_name=no 12268 fi 12269 rm -f core conftest.err conftest.$ac_objext \ 12270 conftest$ac_exeext conftest.$ac_ext 12271 fi 12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have_program_invocation_name" >&5 12273 $as_echo "$st_cv_have_program_invocation_name" >&6; } 12274 if test "x$st_cv_have_program_invocation_name" = xyes; then 12275 12276 $as_echo "#define HAVE_PROGRAM_INVOCATION_NAME 1" >>confdefs.h 12277 12278 fi 12279 12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5 12281 $as_echo_n "checking for dladdr in -ldl... " >&6; } 12282 if ${ac_cv_lib_dl_dladdr+:} false; then : 12283 $as_echo_n "(cached) " >&6 12284 else 12285 ac_check_lib_save_LIBS=$LIBS 12286 LIBS="-ldl $LIBS" 12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12288 /* end confdefs.h. */ 12289 12290 /* Override any GCC internal prototype to avoid an error. 12291 Use char because int might match the return type of a GCC 12292 builtin and then its argument prototype would still apply. */ 12293 #ifdef __cplusplus 12294 extern "C" 12295 #endif 12296 char dladdr (); 12297 int 12298 main () 12299 { 12300 return dladdr (); 12301 ; 12302 return 0; 12303 } 12304 _ACEOF 12305 if ac_fn_c_try_link "$LINENO"; then : 12306 ac_cv_lib_dl_dladdr=yes 12307 else 12308 ac_cv_lib_dl_dladdr=no 12309 fi 12310 rm -f core conftest.err conftest.$ac_objext \ 12311 conftest$ac_exeext conftest.$ac_ext 12312 LIBS=$ac_check_lib_save_LIBS 12313 fi 12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5 12315 $as_echo "$ac_cv_lib_dl_dladdr" >&6; } 12316 if test "x$ac_cv_lib_dl_dladdr" = xyes; then : 12317 dl_LIBS='-ldl' 12318 else 12319 dl_LIBS= 12320 fi 12321 12322 if test "x$ac_cv_lib_dl_dladdr" = xyes; then 12323 12324 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h 12325 12326 fi 12327 12328 12329 # Extract the first word of "perl", so it can be a program name with args. 12330 set dummy perl; ac_word=$2 12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12332 $as_echo_n "checking for $ac_word... " >&6; } 12333 if ${ac_cv_path_PERL+:} false; then : 12334 $as_echo_n "(cached) " >&6 12335 else 12336 case $PERL in 12337 [\\/]* | ?:[\\/]*) 12338 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 12339 ;; 12340 *) 12341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12342 for as_dir in $PATH 12343 do 12344 IFS=$as_save_IFS 12345 test -z "$as_dir" && as_dir=. 12346 for ac_exec_ext in '' $ac_executable_extensions; do 12347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12348 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12350 break 2 12351 fi 12352 done 12353 done 12354 IFS=$as_save_IFS 12355 12356 ;; 12357 esac 12358 fi 12359 PERL=$ac_cv_path_PERL 12360 if test -n "$PERL"; then 12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 12362 $as_echo "$PERL" >&6; } 12363 else 12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12365 $as_echo "no" >&6; } 12366 fi 12367 12368 12369 12370 libunwind_CPPFLAGS= 12371 libunwind_LDFLAGS= 12372 libunwind_LIBS= 12373 12374 # Check whether --with-libunwind was given. 12375 if test "${with_libunwind+set}" = set; then : 12376 withval=$with_libunwind; case "${withval}" in 12377 yes|no|check) ;; 12378 *) with_libunwind=yes 12379 libunwind_CPPFLAGS="-I${withval}/include" 12380 libunwind_LDFLAGS="-L${withval}/lib" ;; 12381 esac 12382 else 12383 with_libunwind=check 12384 12385 fi 12386 12387 12388 use_libunwind=no 12389 if test "x$with_libunwind" != xno; then : 12390 saved_CPPFLAGS="$CPPFLAGS" 12391 CPPFLAGS="$CPPFLAGS $libunwind_CPPFLAGS" 12392 12393 for ac_header in libunwind-ptrace.h 12394 do : 12395 ac_fn_c_check_header_mongrel "$LINENO" "libunwind-ptrace.h" "ac_cv_header_libunwind_ptrace_h" "$ac_includes_default" 12396 if test "x$ac_cv_header_libunwind_ptrace_h" = xyes; then : 12397 cat >>confdefs.h <<_ACEOF 12398 #define HAVE_LIBUNWIND_PTRACE_H 1 12399 _ACEOF 12400 saved_LDFLAGS="$LDFLAGS" 12401 LDFLAGS="$LDFLAGS $libunwind_LDFLAGS" 12402 12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lunwind" >&5 12404 $as_echo_n "checking for backtrace in -lunwind... " >&6; } 12405 if ${ac_cv_lib_unwind_backtrace+:} false; then : 12406 $as_echo_n "(cached) " >&6 12407 else 12408 ac_check_lib_save_LIBS=$LIBS 12409 LIBS="-lunwind $libunwind_LIBS 12410 $LIBS" 12411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12412 /* end confdefs.h. */ 12413 12414 /* Override any GCC internal prototype to avoid an error. 12415 Use char because int might match the return type of a GCC 12416 builtin and then its argument prototype would still apply. */ 12417 #ifdef __cplusplus 12418 extern "C" 12419 #endif 12420 char backtrace (); 12421 int 12422 main () 12423 { 12424 return backtrace (); 12425 ; 12426 return 0; 12427 } 12428 _ACEOF 12429 if ac_fn_c_try_link "$LINENO"; then : 12430 ac_cv_lib_unwind_backtrace=yes 12431 else 12432 ac_cv_lib_unwind_backtrace=no 12433 fi 12434 rm -f core conftest.err conftest.$ac_objext \ 12435 conftest$ac_exeext conftest.$ac_ext 12436 LIBS=$ac_check_lib_save_LIBS 12437 fi 12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_backtrace" >&5 12439 $as_echo "$ac_cv_lib_unwind_backtrace" >&6; } 12440 if test "x$ac_cv_lib_unwind_backtrace" = xyes; then : 12441 libunwind_LIBS="-lunwind $libunwind_LIBS" 12442 12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_create_addr_space in libunwind-generic" >&5 12444 $as_echo_n "checking for unw_create_addr_space in libunwind-generic... " >&6; } 12445 saved_LIBS="$LIBS" 12446 LIBS="-lunwind-generic $libunwind_LIBS $LIBS" 12447 12448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12449 /* end confdefs.h. */ 12450 #include <libunwind-ptrace.h> 12451 int 12452 main () 12453 { 12454 return !unw_create_addr_space(0, 0) 12455 ; 12456 return 0; 12457 } 12458 12459 _ACEOF 12460 if ac_fn_c_try_link "$LINENO"; then : 12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12462 $as_echo "yes" >&6; } 12463 libunwind_LIBS="-lunwind-generic $libunwind_LIBS" 12464 12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _UPT_create in -lunwind-ptrace" >&5 12466 $as_echo_n "checking for _UPT_create in -lunwind-ptrace... " >&6; } 12467 if ${ac_cv_lib_unwind_ptrace__UPT_create+:} false; then : 12468 $as_echo_n "(cached) " >&6 12469 else 12470 ac_check_lib_save_LIBS=$LIBS 12471 LIBS="-lunwind-ptrace $libunwind_LIBS 12472 $LIBS" 12473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12474 /* end confdefs.h. */ 12475 12476 /* Override any GCC internal prototype to avoid an error. 12477 Use char because int might match the return type of a GCC 12478 builtin and then its argument prototype would still apply. */ 12479 #ifdef __cplusplus 12480 extern "C" 12481 #endif 12482 char _UPT_create (); 12483 int 12484 main () 12485 { 12486 return _UPT_create (); 12487 ; 12488 return 0; 12489 } 12490 _ACEOF 12491 if ac_fn_c_try_link "$LINENO"; then : 12492 ac_cv_lib_unwind_ptrace__UPT_create=yes 12493 else 12494 ac_cv_lib_unwind_ptrace__UPT_create=no 12495 fi 12496 rm -f core conftest.err conftest.$ac_objext \ 12497 conftest$ac_exeext conftest.$ac_ext 12498 LIBS=$ac_check_lib_save_LIBS 12499 fi 12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_ptrace__UPT_create" >&5 12501 $as_echo "$ac_cv_lib_unwind_ptrace__UPT_create" >&6; } 12502 if test "x$ac_cv_lib_unwind_ptrace__UPT_create" = xyes; then : 12503 libunwind_LIBS="-lunwind-ptrace $libunwind_LIBS" 12504 use_libunwind=yes 12505 12506 else 12507 if test "x$with_libunwind" != xcheck; then 12508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12510 as_fn_error $? "failed to find _UPT_create in libunwind-ptrace 12511 See \`config.log' for more details" "$LINENO" 5; } 12512 fi 12513 12514 fi 12515 12516 12517 else 12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12519 $as_echo "no" >&6; } 12520 if test "x$with_libunwind" != xcheck; then 12521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12523 as_fn_error $? "failed to find unw_create_addr_space in libunwind-generic 12524 See \`config.log' for more details" "$LINENO" 5; } 12525 fi 12526 12527 12528 fi 12529 rm -f core conftest.err conftest.$ac_objext \ 12530 conftest$ac_exeext conftest.$ac_ext 12531 12532 LIBS="$saved_LIBS" 12533 12534 else 12535 if test "x$with_libunwind" != xcheck; then 12536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12538 as_fn_error $? "failed to find libunwind 12539 See \`config.log' for more details" "$LINENO" 5; } 12540 fi 12541 12542 fi 12543 12544 12545 LDFLAGS="$saved_LDFLAGS" 12546 12547 else 12548 if test "x$with_libunwind" != xcheck; then 12549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12551 as_fn_error $? "failed to find libunwind-ptrace.h 12552 See \`config.log' for more details" "$LINENO" 5; } 12553 fi 12554 12555 12556 fi 12557 12558 done 12559 12560 12561 CPPFLAGS="$saved_CPPFLAGS" 12562 12563 12564 fi 12565 12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable stack tracing support using libunwind" >&5 12567 $as_echo_n "checking whether to enable stack tracing support using libunwind... " >&6; } 12568 if test "x$use_libunwind" = xyes; then 12569 12570 $as_echo "#define USE_LIBUNWIND 1" >>confdefs.h 12571 12572 12573 12574 12575 fi 12576 if test "x$use_libunwind" = xyes; then 12577 USE_LIBUNWIND_TRUE= 12578 USE_LIBUNWIND_FALSE='#' 12579 else 12580 USE_LIBUNWIND_TRUE='#' 12581 USE_LIBUNWIND_FALSE= 12582 fi 12583 12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_libunwind" >&5 12585 $as_echo "$use_libunwind" >&6; } 12586 12587 if test "$arch" = mips && test "$no_create" != yes; then 12588 mkdir -p linux/mips 12589 if $srcdir/linux/mips/genstub.sh linux/mips; then 12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Generated MIPS syscallent stubs" >&5 12591 $as_echo "Generated MIPS syscallent stubs" >&6; } 12592 else 12593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12595 as_fn_error $? "Failed to generate syscallent stubs 12596 See \`config.log' for more details" "$LINENO" 5; } 12597 fi 12598 fi 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 case "$arch" in 12612 aarch64|powerpc64|sparc64|tile|x32|x86_64) 12613 12614 12615 12616 for ac_header in gnu/stubs-32.h 12617 do : 12618 ac_fn_c_check_header_mongrel "$LINENO" "gnu/stubs-32.h" "ac_cv_header_gnu_stubs_32_h" "$ac_includes_default" 12619 if test "x$ac_cv_header_gnu_stubs_32_h" = xyes; then : 12620 cat >>confdefs.h <<_ACEOF 12621 #define HAVE_GNU_STUBS_32_H 1 12622 _ACEOF 12623 IFLAG= 12624 else 12625 mkdir -p gnu 12626 : > gnu/stubs-32.h 12627 { $as_echo "$as_me:${as_lineno-$LINENO}: Created empty gnu/stubs-32.h" >&5 12628 $as_echo "$as_me: Created empty gnu/stubs-32.h" >&6;} 12629 IFLAG=-I. 12630 fi 12631 12632 done 12633 12634 12635 saved_CFLAGS="$CFLAGS" 12636 CFLAGS="$CFLAGS -m32 $IFLAG" 12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -m32 compile support" >&5 12638 $as_echo_n "checking for -m32 compile support... " >&6; } 12639 if ${st_cv_m32_cc+:} false; then : 12640 $as_echo_n "(cached) " >&6 12641 else 12642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12643 /* end confdefs.h. */ 12644 #include <stdint.h> 12645 int main(){return 0;} 12646 _ACEOF 12647 if ac_fn_c_try_compile "$LINENO"; then : 12648 st_cv_m32_cc=yes 12649 else 12650 st_cv_m32_cc=no 12651 fi 12652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12653 fi 12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_cc" >&5 12655 $as_echo "$st_cv_m32_cc" >&6; } 12656 if test $st_cv_m32_cc = yes; then 12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -m32 runtime support" >&5 12658 $as_echo_n "checking for -m32 runtime support... " >&6; } 12659 if ${st_cv_m32_runtime+:} false; then : 12660 $as_echo_n "(cached) " >&6 12661 else 12662 if test "$cross_compiling" = yes; then : 12663 st_cv_m32_runtime=no 12664 else 12665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12666 /* end confdefs.h. */ 12667 #include <stdint.h> 12668 int main(){return 0;} 12669 _ACEOF 12670 if ac_fn_c_try_run "$LINENO"; then : 12671 st_cv_m32_runtime=yes 12672 else 12673 st_cv_m32_runtime=no 12674 fi 12675 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12676 conftest.$ac_objext conftest.beam conftest.$ac_ext 12677 fi 12678 12679 fi 12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_runtime" >&5 12681 $as_echo "$st_cv_m32_runtime" >&6; } 12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mpers.sh -m32 works" >&5 12683 $as_echo_n "checking whether mpers.sh -m32 works... " >&6; } 12684 if ${st_cv_m32_mpers+:} false; then : 12685 $as_echo_n "(cached) " >&6 12686 else 12687 if CC="$CC" CPP="$CPP" CPPFLAGS="$CPPFLAGS" \ 12688 $srcdir/mpers_test.sh m32; then 12689 st_cv_m32_mpers=yes 12690 else 12691 st_cv_m32_mpers=no 12692 fi 12693 fi 12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_mpers" >&5 12695 $as_echo "$st_cv_m32_mpers" >&6; } 12696 if test $st_cv_m32_mpers = yes; then 12697 12698 $as_echo "#define HAVE_M32_MPERS 1" >>confdefs.h 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 if test -n "${ac_cv_type_struct_stat+set}"; then : 12709 saved_ac_cv_type_struct_stat="${ac_cv_type_struct_stat}"; unset ac_cv_type_struct_stat 12710 fi 12711 if test -n "${ac_cv_m32_type_struct_stat+set}"; then : 12712 ac_cv_type_struct_stat="${ac_cv_m32_type_struct_stat}" 12713 fi 12714 12715 12716 12717 12718 12719 12720 ac_fn_c_check_type "$LINENO" "struct stat" "ac_cv_type_struct_stat" "#include <sys/types.h> 12721 #include <asm/stat.h> 12722 " 12723 if test "x$ac_cv_type_struct_stat" = xyes; then : 12724 12725 $as_echo "#define HAVE_M32_STRUCT_STAT 1" >>confdefs.h 12726 12727 fi 12728 12729 12730 12731 12732 12733 12734 12735 if test -n "${ac_cv_type_struct_stat+set}"; then : 12736 ac_cv_m32_type_struct_stat="${ac_cv_type_struct_stat}" 12737 fi 12738 if test -n "${saved_ac_cv_type_struct_stat+set}"; then : 12739 ac_cv_type_struct_stat="${saved_ac_cv_type_struct_stat}"; unset saved_ac_cv_type_struct_stat 12740 fi 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 12755 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 12756 fi 12757 if test -n "${ac_cv_m32_member_struct_stat_st_mtime_nsec+set}"; then : 12758 ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_m32_member_struct_stat_st_mtime_nsec}" 12759 fi 12760 12761 12762 12763 12764 12765 12766 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h> 12767 #include <asm/stat.h> 12768 " 12769 if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 12770 12771 $as_echo "#define HAVE_M32_STRUCT_STAT_ST_MTIME_NSEC 1" >>confdefs.h 12772 12773 fi 12774 12775 12776 12777 12778 12779 12780 12781 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 12782 ac_cv_m32_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}" 12783 fi 12784 if test -n "${saved_ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 12785 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 12786 fi 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 if test -n "${ac_cv_type_struct_stat64+set}"; then : 12804 saved_ac_cv_type_struct_stat64="${ac_cv_type_struct_stat64}"; unset ac_cv_type_struct_stat64 12805 fi 12806 if test -n "${ac_cv_m32_type_struct_stat64+set}"; then : 12807 ac_cv_type_struct_stat64="${ac_cv_m32_type_struct_stat64}" 12808 fi 12809 12810 12811 12812 12813 12814 12815 ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 12816 #include <asm/stat.h> 12817 " 12818 if test "x$ac_cv_type_struct_stat64" = xyes; then : 12819 12820 $as_echo "#define HAVE_M32_STRUCT_STAT64 1" >>confdefs.h 12821 12822 fi 12823 12824 12825 12826 12827 12828 12829 12830 if test -n "${ac_cv_type_struct_stat64+set}"; then : 12831 ac_cv_m32_type_struct_stat64="${ac_cv_type_struct_stat64}" 12832 fi 12833 if test -n "${saved_ac_cv_type_struct_stat64+set}"; then : 12834 ac_cv_type_struct_stat64="${saved_ac_cv_type_struct_stat64}"; unset saved_ac_cv_type_struct_stat64 12835 fi 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 12850 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 12851 fi 12852 if test -n "${ac_cv_m32_member_struct_stat64_st_mtime_nsec+set}"; then : 12853 ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_m32_member_struct_stat64_st_mtime_nsec}" 12854 fi 12855 12856 12857 12858 12859 12860 12861 ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h> 12862 #include <asm/stat.h> 12863 " 12864 if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 12865 12866 $as_echo "#define HAVE_M32_STRUCT_STAT64_ST_MTIME_NSEC 1" >>confdefs.h 12867 12868 fi 12869 12870 12871 12872 12873 12874 12875 12876 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 12877 ac_cv_m32_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}" 12878 fi 12879 if test -n "${saved_ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 12880 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 12881 fi 12882 12883 12884 12885 12886 12887 12888 12889 12890 fi 12891 fi 12892 CFLAGS="$saved_CFLAGS" 12893 ;; 12894 12895 *) 12896 st_cv_m32_runtime=no 12897 st_cv_m32_mpers=no 12898 ;; 12899 esac 12900 12901 if test "$st_cv_m32_mpers$st_cv_m32_runtime" = yesyes; then 12902 HAVE_M32_RUNTIME_TRUE= 12903 HAVE_M32_RUNTIME_FALSE='#' 12904 else 12905 HAVE_M32_RUNTIME_TRUE='#' 12906 HAVE_M32_RUNTIME_FALSE= 12907 fi 12908 12909 if test "$st_cv_m32_mpers" = yes; then 12910 HAVE_M32_MPERS_TRUE= 12911 HAVE_M32_MPERS_FALSE='#' 12912 else 12913 HAVE_M32_MPERS_TRUE='#' 12914 HAVE_M32_MPERS_FALSE= 12915 fi 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 case "$arch" in 12940 x86_64) 12941 12942 12943 12944 for ac_header in gnu/stubs-x32.h 12945 do : 12946 ac_fn_c_check_header_mongrel "$LINENO" "gnu/stubs-x32.h" "ac_cv_header_gnu_stubs_x32_h" "$ac_includes_default" 12947 if test "x$ac_cv_header_gnu_stubs_x32_h" = xyes; then : 12948 cat >>confdefs.h <<_ACEOF 12949 #define HAVE_GNU_STUBS_X32_H 1 12950 _ACEOF 12951 IFLAG= 12952 else 12953 mkdir -p gnu 12954 : > gnu/stubs-x32.h 12955 { $as_echo "$as_me:${as_lineno-$LINENO}: Created empty gnu/stubs-x32.h" >&5 12956 $as_echo "$as_me: Created empty gnu/stubs-x32.h" >&6;} 12957 IFLAG=-I. 12958 fi 12959 12960 done 12961 12962 12963 saved_CFLAGS="$CFLAGS" 12964 CFLAGS="$CFLAGS -mx32 $IFLAG" 12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mx32 compile support" >&5 12966 $as_echo_n "checking for -mx32 compile support... " >&6; } 12967 if ${st_cv_mx32_cc+:} false; then : 12968 $as_echo_n "(cached) " >&6 12969 else 12970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12971 /* end confdefs.h. */ 12972 #include <stdint.h> 12973 int main(){return 0;} 12974 _ACEOF 12975 if ac_fn_c_try_compile "$LINENO"; then : 12976 st_cv_mx32_cc=yes 12977 else 12978 st_cv_mx32_cc=no 12979 fi 12980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12981 fi 12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_cc" >&5 12983 $as_echo "$st_cv_mx32_cc" >&6; } 12984 if test $st_cv_mx32_cc = yes; then 12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mx32 runtime support" >&5 12986 $as_echo_n "checking for -mx32 runtime support... " >&6; } 12987 if ${st_cv_mx32_runtime+:} false; then : 12988 $as_echo_n "(cached) " >&6 12989 else 12990 if test "$cross_compiling" = yes; then : 12991 st_cv_mx32_runtime=no 12992 else 12993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12994 /* end confdefs.h. */ 12995 #include <stdint.h> 12996 int main(){return 0;} 12997 _ACEOF 12998 if ac_fn_c_try_run "$LINENO"; then : 12999 st_cv_mx32_runtime=yes 13000 else 13001 st_cv_mx32_runtime=no 13002 fi 13003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13004 conftest.$ac_objext conftest.beam conftest.$ac_ext 13005 fi 13006 13007 fi 13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_runtime" >&5 13009 $as_echo "$st_cv_mx32_runtime" >&6; } 13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mpers.sh -mx32 works" >&5 13011 $as_echo_n "checking whether mpers.sh -mx32 works... " >&6; } 13012 if ${st_cv_mx32_mpers+:} false; then : 13013 $as_echo_n "(cached) " >&6 13014 else 13015 if CC="$CC" CPP="$CPP" CPPFLAGS="$CPPFLAGS" \ 13016 $srcdir/mpers_test.sh mx32; then 13017 st_cv_mx32_mpers=yes 13018 else 13019 st_cv_mx32_mpers=no 13020 fi 13021 fi 13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_mpers" >&5 13023 $as_echo "$st_cv_mx32_mpers" >&6; } 13024 if test $st_cv_mx32_mpers = yes; then 13025 13026 $as_echo "#define HAVE_MX32_MPERS 1" >>confdefs.h 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 if test -n "${ac_cv_type_struct_stat+set}"; then : 13037 saved_ac_cv_type_struct_stat="${ac_cv_type_struct_stat}"; unset ac_cv_type_struct_stat 13038 fi 13039 if test -n "${ac_cv_mx32_type_struct_stat+set}"; then : 13040 ac_cv_type_struct_stat="${ac_cv_mx32_type_struct_stat}" 13041 fi 13042 13043 13044 13045 13046 13047 13048 ac_fn_c_check_type "$LINENO" "struct stat" "ac_cv_type_struct_stat" "#include <sys/types.h> 13049 #include <asm/stat.h> 13050 " 13051 if test "x$ac_cv_type_struct_stat" = xyes; then : 13052 13053 $as_echo "#define HAVE_MX32_STRUCT_STAT 1" >>confdefs.h 13054 13055 fi 13056 13057 13058 13059 13060 13061 13062 13063 if test -n "${ac_cv_type_struct_stat+set}"; then : 13064 ac_cv_mx32_type_struct_stat="${ac_cv_type_struct_stat}" 13065 fi 13066 if test -n "${saved_ac_cv_type_struct_stat+set}"; then : 13067 ac_cv_type_struct_stat="${saved_ac_cv_type_struct_stat}"; unset saved_ac_cv_type_struct_stat 13068 fi 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 13083 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 13084 fi 13085 if test -n "${ac_cv_mx32_member_struct_stat_st_mtime_nsec+set}"; then : 13086 ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_mx32_member_struct_stat_st_mtime_nsec}" 13087 fi 13088 13089 13090 13091 13092 13093 13094 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h> 13095 #include <asm/stat.h> 13096 " 13097 if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 13098 13099 $as_echo "#define HAVE_MX32_STRUCT_STAT_ST_MTIME_NSEC 1" >>confdefs.h 13100 13101 fi 13102 13103 13104 13105 13106 13107 13108 13109 if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 13110 ac_cv_mx32_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}" 13111 fi 13112 if test -n "${saved_ac_cv_member_struct_stat_st_mtime_nsec+set}"; then : 13113 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 13114 fi 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 if test -n "${ac_cv_type_struct_stat64+set}"; then : 13132 saved_ac_cv_type_struct_stat64="${ac_cv_type_struct_stat64}"; unset ac_cv_type_struct_stat64 13133 fi 13134 if test -n "${ac_cv_mx32_type_struct_stat64+set}"; then : 13135 ac_cv_type_struct_stat64="${ac_cv_mx32_type_struct_stat64}" 13136 fi 13137 13138 13139 13140 13141 13142 13143 ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 13144 #include <asm/stat.h> 13145 " 13146 if test "x$ac_cv_type_struct_stat64" = xyes; then : 13147 13148 $as_echo "#define HAVE_MX32_STRUCT_STAT64 1" >>confdefs.h 13149 13150 fi 13151 13152 13153 13154 13155 13156 13157 13158 if test -n "${ac_cv_type_struct_stat64+set}"; then : 13159 ac_cv_mx32_type_struct_stat64="${ac_cv_type_struct_stat64}" 13160 fi 13161 if test -n "${saved_ac_cv_type_struct_stat64+set}"; then : 13162 ac_cv_type_struct_stat64="${saved_ac_cv_type_struct_stat64}"; unset saved_ac_cv_type_struct_stat64 13163 fi 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 13178 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 13179 fi 13180 if test -n "${ac_cv_mx32_member_struct_stat64_st_mtime_nsec+set}"; then : 13181 ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_mx32_member_struct_stat64_st_mtime_nsec}" 13182 fi 13183 13184 13185 13186 13187 13188 13189 ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h> 13190 #include <asm/stat.h> 13191 " 13192 if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 13193 13194 $as_echo "#define HAVE_MX32_STRUCT_STAT64_ST_MTIME_NSEC 1" >>confdefs.h 13195 13196 fi 13197 13198 13199 13200 13201 13202 13203 13204 if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 13205 ac_cv_mx32_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}" 13206 fi 13207 if test -n "${saved_ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then : 13208 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 13209 fi 13210 13211 13212 13213 13214 13215 13216 13217 13218 fi 13219 fi 13220 CFLAGS="$saved_CFLAGS" 13221 ;; 13222 13223 *) 13224 st_cv_mx32_runtime=no 13225 st_cv_mx32_mpers=no 13226 ;; 13227 esac 13228 13229 if test "$st_cv_mx32_mpers$st_cv_mx32_runtime" = yesyes; then 13230 HAVE_MX32_RUNTIME_TRUE= 13231 HAVE_MX32_RUNTIME_FALSE='#' 13232 else 13233 HAVE_MX32_RUNTIME_TRUE='#' 13234 HAVE_MX32_RUNTIME_FALSE= 13235 fi 13236 13237 if test "$st_cv_mx32_mpers" = yes; then 13238 HAVE_MX32_MPERS_TRUE= 13239 HAVE_MX32_MPERS_FALSE='#' 13240 else 13241 HAVE_MX32_MPERS_TRUE='#' 13242 HAVE_MX32_MPERS_FALSE= 13243 fi 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 # Check whether --enable-valgrind was given. 13262 if test "${enable_valgrind+set}" = set; then : 13263 enableval=$enable_valgrind; enable_valgrind=$enableval 13264 else 13265 enable_valgrind= 13266 fi 13267 13268 13269 if test "$enable_valgrind" != "no"; then : 13270 13271 # Check for Valgrind. 13272 # Extract the first word of "valgrind", so it can be a program name with args. 13273 set dummy valgrind; ac_word=$2 13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13275 $as_echo_n "checking for $ac_word... " >&6; } 13276 if ${ac_cv_prog_VALGRIND+:} false; then : 13277 $as_echo_n "(cached) " >&6 13278 else 13279 if test -n "$VALGRIND"; then 13280 ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test. 13281 else 13282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13283 for as_dir in $PATH 13284 do 13285 IFS=$as_save_IFS 13286 test -z "$as_dir" && as_dir=. 13287 for ac_exec_ext in '' $ac_executable_extensions; do 13288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13289 ac_cv_prog_VALGRIND="valgrind" 13290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13291 break 2 13292 fi 13293 done 13294 done 13295 IFS=$as_save_IFS 13296 13297 fi 13298 fi 13299 VALGRIND=$ac_cv_prog_VALGRIND 13300 if test -n "$VALGRIND"; then 13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5 13302 $as_echo "$VALGRIND" >&6; } 13303 else 13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13305 $as_echo "no" >&6; } 13306 fi 13307 13308 13309 if test "$VALGRIND" = ""; then : 13310 13311 if test "$enable_valgrind" = "yes"; then : 13312 13313 as_fn_error $? "Could not find valgrind; either install it or reconfigure with --disable-valgrind" "$LINENO" 5 13314 13315 else 13316 13317 enable_valgrind=no 13318 13319 fi 13320 13321 else 13322 13323 enable_valgrind=yes 13324 13325 fi 13326 13327 fi 13328 13329 if test "$enable_valgrind" = "yes"; then 13330 VALGRIND_ENABLED_TRUE= 13331 VALGRIND_ENABLED_FALSE='#' 13332 else 13333 VALGRIND_ENABLED_TRUE='#' 13334 VALGRIND_ENABLED_FALSE= 13335 fi 13336 13337 VALGRIND_ENABLED=$enable_valgrind 13338 13339 13340 # Check for Valgrind tools we care about. 13341 valgrind_enabled_tools= 13342 13343 # Check whether --enable-valgrind-memcheck was given. 13344 if test "${enable_valgrind_memcheck+set}" = set; then : 13345 enableval=$enable_valgrind_memcheck; enable_valgrind_memcheck=$enableval 13346 else 13347 enable_valgrind_memcheck= 13348 fi 13349 13350 if test "$enable_valgrind" = "no"; then : 13351 13352 enable_valgrind_memcheck=no 13353 elif test "$enable_valgrind_memcheck" != "no"; then : 13354 13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool memcheck" >&5 13356 $as_echo_n "checking for Valgrind tool memcheck... " >&6; } 13357 if ${ax_cv_valgrind_tool_memcheck+:} false; then : 13358 $as_echo_n "(cached) " >&6 13359 else 13360 13361 ax_cv_valgrind_tool_memcheck=no 13362 13363 if `$VALGRIND --tool=memcheck --help >/dev/null 2>&1`; then : 13364 13365 ax_cv_valgrind_tool_memcheck=yes 13366 13367 fi 13368 13369 fi 13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_memcheck" >&5 13371 $as_echo "$ax_cv_valgrind_tool_memcheck" >&6; } 13372 if test "$ax_cv_valgrind_tool_memcheck" = "no"; then : 13373 13374 if test "$enable_valgrind_memcheck" = "yes"; then : 13375 13376 as_fn_error $? "Valgrind does not support memcheck; reconfigure with --disable-valgrind-memcheck" "$LINENO" 5 13377 13378 else 13379 13380 enable_valgrind_memcheck=no 13381 13382 fi 13383 13384 else 13385 13386 enable_valgrind_memcheck=yes 13387 13388 fi 13389 13390 fi 13391 if test "$enable_valgrind_memcheck" = "yes"; then : 13392 13393 valgrind_enabled_tools="$valgrind_enabled_tools memcheck" 13394 13395 fi 13396 ENABLE_VALGRIND_memcheck=$enable_valgrind_memcheck 13397 13398 13399 # Check whether --enable-valgrind-helgrind was given. 13400 if test "${enable_valgrind_helgrind+set}" = set; then : 13401 enableval=$enable_valgrind_helgrind; enable_valgrind_helgrind=$enableval 13402 else 13403 enable_valgrind_helgrind= 13404 fi 13405 13406 if test "$enable_valgrind" = "no"; then : 13407 13408 enable_valgrind_helgrind=no 13409 elif test "$enable_valgrind_helgrind" != "no"; then : 13410 13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool helgrind" >&5 13412 $as_echo_n "checking for Valgrind tool helgrind... " >&6; } 13413 if ${ax_cv_valgrind_tool_helgrind+:} false; then : 13414 $as_echo_n "(cached) " >&6 13415 else 13416 13417 ax_cv_valgrind_tool_helgrind=no 13418 13419 if `$VALGRIND --tool=helgrind --help >/dev/null 2>&1`; then : 13420 13421 ax_cv_valgrind_tool_helgrind=yes 13422 13423 fi 13424 13425 fi 13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_helgrind" >&5 13427 $as_echo "$ax_cv_valgrind_tool_helgrind" >&6; } 13428 if test "$ax_cv_valgrind_tool_helgrind" = "no"; then : 13429 13430 if test "$enable_valgrind_helgrind" = "yes"; then : 13431 13432 as_fn_error $? "Valgrind does not support helgrind; reconfigure with --disable-valgrind-helgrind" "$LINENO" 5 13433 13434 else 13435 13436 enable_valgrind_helgrind=no 13437 13438 fi 13439 13440 else 13441 13442 enable_valgrind_helgrind=yes 13443 13444 fi 13445 13446 fi 13447 if test "$enable_valgrind_helgrind" = "yes"; then : 13448 13449 valgrind_enabled_tools="$valgrind_enabled_tools helgrind" 13450 13451 fi 13452 ENABLE_VALGRIND_helgrind=$enable_valgrind_helgrind 13453 13454 13455 # Check whether --enable-valgrind-drd was given. 13456 if test "${enable_valgrind_drd+set}" = set; then : 13457 enableval=$enable_valgrind_drd; enable_valgrind_drd=$enableval 13458 else 13459 enable_valgrind_drd= 13460 fi 13461 13462 if test "$enable_valgrind" = "no"; then : 13463 13464 enable_valgrind_drd=no 13465 elif test "$enable_valgrind_drd" != "no"; then : 13466 13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool drd" >&5 13468 $as_echo_n "checking for Valgrind tool drd... " >&6; } 13469 if ${ax_cv_valgrind_tool_drd+:} false; then : 13470 $as_echo_n "(cached) " >&6 13471 else 13472 13473 ax_cv_valgrind_tool_drd=no 13474 13475 if `$VALGRIND --tool=drd --help >/dev/null 2>&1`; then : 13476 13477 ax_cv_valgrind_tool_drd=yes 13478 13479 fi 13480 13481 fi 13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_drd" >&5 13483 $as_echo "$ax_cv_valgrind_tool_drd" >&6; } 13484 if test "$ax_cv_valgrind_tool_drd" = "no"; then : 13485 13486 if test "$enable_valgrind_drd" = "yes"; then : 13487 13488 as_fn_error $? "Valgrind does not support drd; reconfigure with --disable-valgrind-drd" "$LINENO" 5 13489 13490 else 13491 13492 enable_valgrind_drd=no 13493 13494 fi 13495 13496 else 13497 13498 enable_valgrind_drd=yes 13499 13500 fi 13501 13502 fi 13503 if test "$enable_valgrind_drd" = "yes"; then : 13504 13505 valgrind_enabled_tools="$valgrind_enabled_tools drd" 13506 13507 fi 13508 ENABLE_VALGRIND_drd=$enable_valgrind_drd 13509 13510 13511 # Check whether --enable-valgrind-sgcheck was given. 13512 if test "${enable_valgrind_sgcheck+set}" = set; then : 13513 enableval=$enable_valgrind_sgcheck; enable_valgrind_sgcheck=$enableval 13514 else 13515 enable_valgrind_sgcheck= 13516 fi 13517 13518 if test "$enable_valgrind" = "no"; then : 13519 13520 enable_valgrind_sgcheck=no 13521 elif test "$enable_valgrind_sgcheck" = "yes"; then : 13522 13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool sgcheck" >&5 13524 $as_echo_n "checking for Valgrind tool sgcheck... " >&6; } 13525 if ${ax_cv_valgrind_tool_sgcheck+:} false; then : 13526 $as_echo_n "(cached) " >&6 13527 else 13528 13529 ax_cv_valgrind_tool_sgcheck=no 13530 13531 if `$VALGRIND --tool=exp-sgcheck --help >/dev/null 2>&1`; then : 13532 13533 ax_cv_valgrind_tool_sgcheck=yes 13534 13535 fi 13536 13537 fi 13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_sgcheck" >&5 13539 $as_echo "$ax_cv_valgrind_tool_sgcheck" >&6; } 13540 if test "$ax_cv_valgrind_tool_sgcheck" = "no"; then : 13541 13542 if test "$enable_valgrind_sgcheck" = "yes"; then : 13543 13544 as_fn_error $? "Valgrind does not support sgcheck; reconfigure with --disable-valgrind-sgcheck" "$LINENO" 5 13545 13546 else 13547 13548 enable_valgrind_sgcheck=no 13549 13550 fi 13551 13552 else 13553 13554 enable_valgrind_sgcheck=yes 13555 13556 fi 13557 13558 fi 13559 if test "$enable_valgrind_sgcheck" = "yes"; then : 13560 13561 valgrind_enabled_tools="$valgrind_enabled_tools sgcheck" 13562 13563 fi 13564 ENABLE_VALGRIND_sgcheck=$enable_valgrind_sgcheck 13565 13566 13567 valgrind_tools="memcheck helgrind drd sgcheck" 13568 13569 valgrind_enabled_tools=$valgrind_enabled_tools 13570 13571 13572 VALGRIND_CHECK_RULES=' 13573 # Valgrind check 13574 # 13575 # Optional: 13576 # - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions 13577 # files to load. (Default: empty) 13578 # - VALGRIND_FLAGS: General flags to pass to all Valgrind tools. 13579 # (Default: --num-callers=30) 13580 # - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of: 13581 # memcheck, helgrind, drd, sgcheck). (Default: various) 13582 13583 # Optional variables 13584 VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES)) 13585 VALGRIND_FLAGS ?= --num-callers=30 13586 VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no 13587 VALGRIND_helgrind_FLAGS ?= --history-level=approx 13588 VALGRIND_drd_FLAGS ?= 13589 VALGRIND_sgcheck_FLAGS ?= 13590 13591 # Internal use 13592 valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools))) 13593 13594 valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS) 13595 valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS) 13596 valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS) 13597 valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS) 13598 13599 valgrind_quiet = $(valgrind_quiet_$(V)) 13600 valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY)) 13601 valgrind_quiet_0 = --quiet 13602 valgrind_v_use = $(valgrind_v_use_$(V)) 13603 valgrind_v_use_ = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY)) 13604 valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%,%,$''@):; 13605 13606 # Support running with and without libtool. 13607 ifneq ($(LIBTOOL),) 13608 valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute 13609 else 13610 valgrind_lt = 13611 endif 13612 13613 # Use recursive makes in order to ignore errors during check 13614 check-valgrind: 13615 ifeq ($(VALGRIND_ENABLED),yes) 13616 -$(A''M_V_at)$(foreach tool,$(valgrind_enabled_tools), \ 13617 $(MAKE) $(AM_MAKEFLAGS) -k check-valgrind-$(tool); \ 13618 ) 13619 else 13620 @echo "Need to reconfigure with --enable-valgrind" 13621 endif 13622 13623 # Valgrind running 13624 VALGRIND_TESTS_ENVIRONMENT = \ 13625 $(TESTS_ENVIRONMENT) \ 13626 env VALGRIND=$(VALGRIND) \ 13627 G_SLICE=always-malloc,debug-blocks \ 13628 G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly 13629 13630 VALGRIND_LOG_COMPILER = \ 13631 $(valgrind_lt) \ 13632 $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS) 13633 13634 define valgrind_tool_rule = 13635 check-valgrind-$(1): $$(BUILT_SOURCES) 13636 ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes) 13637 $$(valgrind_v_use)$$(MAKE) $$(AM_MAKEFLAGS) check-am \ 13638 TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \ 13639 LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \ 13640 LOG_FLAGS="$$(valgrind_$(1)_flags)" \ 13641 TEST_SUITE_LOG=test-suite-$(1).log 13642 else ifeq ($$(VALGRIND_ENABLED),yes) 13643 @echo "Need to reconfigure with --enable-valgrind-$(1)" 13644 else 13645 @echo "Need to reconfigure with --enable-valgrind" 13646 endif 13647 endef 13648 13649 $(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool)))) 13650 13651 A''M_DISTCHECK_CONFIGURE_FLAGS ?= 13652 A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind 13653 13654 MOSTLYCLEANFILES ?= 13655 MOSTLYCLEANFILES += $(valgrind_log_files) 13656 13657 .PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools)) 13658 ' 13659 13660 13661 13662 13663 13664 ac_config_files="$ac_config_files Makefile tests/Makefile tests-m32/Makefile tests-mx32/Makefile strace.spec debian/changelog" 13665 13666 cat >confcache <<\_ACEOF 13667 # This file is a shell script that caches the results of configure 13668 # tests run on this system so they can be shared between configure 13669 # scripts and configure runs, see configure's option --config-cache. 13670 # It is not useful on other systems. If it contains results you don't 13671 # want to keep, you may remove or edit it. 13672 # 13673 # config.status only pays attention to the cache file if you give it 13674 # the --recheck option to rerun configure. 13675 # 13676 # `ac_cv_env_foo' variables (set or unset) will be overridden when 13677 # loading this file, other *unset* `ac_cv_foo' will be assigned the 13678 # following values. 13679 13680 _ACEOF 13681 13682 # The following way of writing the cache mishandles newlines in values, 13683 # but we know of no workaround that is simple, portable, and efficient. 13684 # So, we kill variables containing newlines. 13685 # Ultrix sh set writes to stderr and can't be redirected directly, 13686 # and sets the high bit in the cache file unless we assign to the vars. 13687 ( 13688 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13689 eval ac_val=\$$ac_var 13690 case $ac_val in #( 13691 *${as_nl}*) 13692 case $ac_var in #( 13693 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13694 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13695 esac 13696 case $ac_var in #( 13697 _ | IFS | as_nl) ;; #( 13698 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13699 *) { eval $ac_var=; unset $ac_var;} ;; 13700 esac ;; 13701 esac 13702 done 13703 13704 (set) 2>&1 | 13705 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13706 *${as_nl}ac_space=\ *) 13707 # `set' does not quote correctly, so add quotes: double-quote 13708 # substitution turns \\\\ into \\, and sed turns \\ into \. 13709 sed -n \ 13710 "s/'/'\\\\''/g; 13711 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13712 ;; #( 13713 *) 13714 # `set' quotes correctly as required by POSIX, so do not add quotes. 13715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13716 ;; 13717 esac | 13718 sort 13719 ) | 13720 sed ' 13721 /^ac_cv_env_/b end 13722 t clear 13723 :clear 13724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13725 t end 13726 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13727 :end' >>confcache 13728 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13729 if test -w "$cache_file"; then 13730 if test "x$cache_file" != "x/dev/null"; then 13731 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13732 $as_echo "$as_me: updating cache $cache_file" >&6;} 13733 if test ! -f "$cache_file" || test -h "$cache_file"; then 13734 cat confcache >"$cache_file" 13735 else 13736 case $cache_file in #( 13737 */* | ?:*) 13738 mv -f confcache "$cache_file"$$ && 13739 mv -f "$cache_file"$$ "$cache_file" ;; #( 13740 *) 13741 mv -f confcache "$cache_file" ;; 13742 esac 13743 fi 13744 fi 13745 else 13746 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13747 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13748 fi 13749 fi 13750 rm -f confcache 13751 13752 test "x$prefix" = xNONE && prefix=$ac_default_prefix 13753 # Let make expand exec_prefix. 13754 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13755 13756 DEFS=-DHAVE_CONFIG_H 13757 13758 ac_libobjs= 13759 ac_ltlibobjs= 13760 U= 13761 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13762 # 1. Remove the extension, and $U if already installed. 13763 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13764 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13765 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13766 # will be set to the directory where LIBOBJS objects are built. 13767 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13768 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13769 done 13770 LIBOBJS=$ac_libobjs 13771 13772 LTLIBOBJS=$ac_ltlibobjs 13773 13774 13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 13776 $as_echo_n "checking that generated files are newer than configure... " >&6; } 13777 if test -n "$am_sleep_pid"; then 13778 # Hide warnings about reused PIDs. 13779 wait $am_sleep_pid 2>/dev/null 13780 fi 13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 13782 $as_echo "done" >&6; } 13783 if test -n "$EXEEXT"; then 13784 am__EXEEXT_TRUE= 13785 am__EXEEXT_FALSE='#' 13786 else 13787 am__EXEEXT_TRUE='#' 13788 am__EXEEXT_FALSE= 13789 fi 13790 13791 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 13792 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 13793 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13794 fi 13795 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13796 as_fn_error $? "conditional \"AMDEP\" was never defined. 13797 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13798 fi 13799 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13800 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13801 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13802 fi 13803 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13804 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13805 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13806 fi 13807 if test -z "${CODE_COVERAGE_ENABLED_TRUE}" && test -z "${CODE_COVERAGE_ENABLED_FALSE}"; then 13808 as_fn_error $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined. 13809 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13810 fi 13811 13812 if test -z "${USE_LIBUNWIND_TRUE}" && test -z "${USE_LIBUNWIND_FALSE}"; then 13813 as_fn_error $? "conditional \"USE_LIBUNWIND\" was never defined. 13814 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13815 fi 13816 if test -z "${HAVE_M32_RUNTIME_TRUE}" && test -z "${HAVE_M32_RUNTIME_FALSE}"; then 13817 as_fn_error $? "conditional \"HAVE_M32_RUNTIME\" was never defined. 13818 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13819 fi 13820 if test -z "${HAVE_M32_MPERS_TRUE}" && test -z "${HAVE_M32_MPERS_FALSE}"; then 13821 as_fn_error $? "conditional \"HAVE_M32_MPERS\" was never defined. 13822 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13823 fi 13824 if test -z "${HAVE_MX32_RUNTIME_TRUE}" && test -z "${HAVE_MX32_RUNTIME_FALSE}"; then 13825 as_fn_error $? "conditional \"HAVE_MX32_RUNTIME\" was never defined. 13826 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13827 fi 13828 if test -z "${HAVE_MX32_MPERS_TRUE}" && test -z "${HAVE_MX32_MPERS_FALSE}"; then 13829 as_fn_error $? "conditional \"HAVE_MX32_MPERS\" was never defined. 13830 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13831 fi 13832 if test -z "${VALGRIND_ENABLED_TRUE}" && test -z "${VALGRIND_ENABLED_FALSE}"; then 13833 as_fn_error $? "conditional \"VALGRIND_ENABLED\" was never defined. 13834 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13835 fi 13836 13837 : "${CONFIG_STATUS=./config.status}" 13838 ac_write_fail=0 13839 ac_clean_files_save=$ac_clean_files 13840 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13841 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13842 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13843 as_write_fail=0 13844 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13845 #! $SHELL 13846 # Generated by $as_me. 13847 # Run this file to recreate the current configuration. 13848 # Compiler output produced by configure, useful for debugging 13849 # configure, is in config.log if it exists. 13850 13851 debug=false 13852 ac_cs_recheck=false 13853 ac_cs_silent=false 13854 13855 SHELL=\${CONFIG_SHELL-$SHELL} 13856 export SHELL 13857 _ASEOF 13858 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13859 ## -------------------- ## 13860 ## M4sh Initialization. ## 13861 ## -------------------- ## 13862 13863 # Be more Bourne compatible 13864 DUALCASE=1; export DUALCASE # for MKS sh 13865 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13866 emulate sh 13867 NULLCMD=: 13868 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13869 # is contrary to our usage. Disable this feature. 13870 alias -g '${1+"$@"}'='"$@"' 13871 setopt NO_GLOB_SUBST 13872 else 13873 case `(set -o) 2>/dev/null` in #( 13874 *posix*) : 13875 set -o posix ;; #( 13876 *) : 13877 ;; 13878 esac 13879 fi 13880 13881 13882 as_nl=' 13883 ' 13884 export as_nl 13885 # Printing a long string crashes Solaris 7 /usr/bin/printf. 13886 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13887 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13888 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13889 # Prefer a ksh shell builtin over an external printf program on Solaris, 13890 # but without wasting forks for bash or zsh. 13891 if test -z "$BASH_VERSION$ZSH_VERSION" \ 13892 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13893 as_echo='print -r --' 13894 as_echo_n='print -rn --' 13895 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13896 as_echo='printf %s\n' 13897 as_echo_n='printf %s' 13898 else 13899 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13900 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13901 as_echo_n='/usr/ucb/echo -n' 13902 else 13903 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13904 as_echo_n_body='eval 13905 arg=$1; 13906 case $arg in #( 13907 *"$as_nl"*) 13908 expr "X$arg" : "X\\(.*\\)$as_nl"; 13909 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13910 esac; 13911 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13912 ' 13913 export as_echo_n_body 13914 as_echo_n='sh -c $as_echo_n_body as_echo' 13915 fi 13916 export as_echo_body 13917 as_echo='sh -c $as_echo_body as_echo' 13918 fi 13919 13920 # The user is always right. 13921 if test "${PATH_SEPARATOR+set}" != set; then 13922 PATH_SEPARATOR=: 13923 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13924 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13925 PATH_SEPARATOR=';' 13926 } 13927 fi 13928 13929 13930 # IFS 13931 # We need space, tab and new line, in precisely that order. Quoting is 13932 # there to prevent editors from complaining about space-tab. 13933 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 13934 # splitting by setting IFS to empty value.) 13935 IFS=" "" $as_nl" 13936 13937 # Find who we are. Look in the path if we contain no directory separator. 13938 as_myself= 13939 case $0 in #(( 13940 *[\\/]* ) as_myself=$0 ;; 13941 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13942 for as_dir in $PATH 13943 do 13944 IFS=$as_save_IFS 13945 test -z "$as_dir" && as_dir=. 13946 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13947 done 13948 IFS=$as_save_IFS 13949 13950 ;; 13951 esac 13952 # We did not find ourselves, most probably we were run as `sh COMMAND' 13953 # in which case we are not to be found in the path. 13954 if test "x$as_myself" = x; then 13955 as_myself=$0 13956 fi 13957 if test ! -f "$as_myself"; then 13958 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13959 exit 1 13960 fi 13961 13962 # Unset variables that we do not need and which cause bugs (e.g. in 13963 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13964 # suppresses any "Segmentation fault" message there. '((' could 13965 # trigger a bug in pdksh 5.2.14. 13966 for as_var in BASH_ENV ENV MAIL MAILPATH 13967 do eval test x\${$as_var+set} = xset \ 13968 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13969 done 13970 PS1='$ ' 13971 PS2='> ' 13972 PS4='+ ' 13973 13974 # NLS nuisances. 13975 LC_ALL=C 13976 export LC_ALL 13977 LANGUAGE=C 13978 export LANGUAGE 13979 13980 # CDPATH. 13981 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13982 13983 13984 # as_fn_error STATUS ERROR [LINENO LOG_FD] 13985 # ---------------------------------------- 13986 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13987 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13988 # script with STATUS, using 1 if that was 0. 13989 as_fn_error () 13990 { 13991 as_status=$1; test $as_status -eq 0 && as_status=1 13992 if test "$4"; then 13993 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13994 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13995 fi 13996 $as_echo "$as_me: error: $2" >&2 13997 as_fn_exit $as_status 13998 } # as_fn_error 13999 14000 14001 # as_fn_set_status STATUS 14002 # ----------------------- 14003 # Set $? to STATUS, without forking. 14004 as_fn_set_status () 14005 { 14006 return $1 14007 } # as_fn_set_status 14008 14009 # as_fn_exit STATUS 14010 # ----------------- 14011 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 14012 as_fn_exit () 14013 { 14014 set +e 14015 as_fn_set_status $1 14016 exit $1 14017 } # as_fn_exit 14018 14019 # as_fn_unset VAR 14020 # --------------- 14021 # Portably unset VAR. 14022 as_fn_unset () 14023 { 14024 { eval $1=; unset $1;} 14025 } 14026 as_unset=as_fn_unset 14027 # as_fn_append VAR VALUE 14028 # ---------------------- 14029 # Append the text in VALUE to the end of the definition contained in VAR. Take 14030 # advantage of any shell optimizations that allow amortized linear growth over 14031 # repeated appends, instead of the typical quadratic growth present in naive 14032 # implementations. 14033 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 14034 eval 'as_fn_append () 14035 { 14036 eval $1+=\$2 14037 }' 14038 else 14039 as_fn_append () 14040 { 14041 eval $1=\$$1\$2 14042 } 14043 fi # as_fn_append 14044 14045 # as_fn_arith ARG... 14046 # ------------------ 14047 # Perform arithmetic evaluation on the ARGs, and store the result in the 14048 # global $as_val. Take advantage of shells that can avoid forks. The arguments 14049 # must be portable across $(()) and expr. 14050 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 14051 eval 'as_fn_arith () 14052 { 14053 as_val=$(( $* )) 14054 }' 14055 else 14056 as_fn_arith () 14057 { 14058 as_val=`expr "$@" || test $? -eq 1` 14059 } 14060 fi # as_fn_arith 14061 14062 14063 if expr a : '\(a\)' >/dev/null 2>&1 && 14064 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14065 as_expr=expr 14066 else 14067 as_expr=false 14068 fi 14069 14070 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14071 as_basename=basename 14072 else 14073 as_basename=false 14074 fi 14075 14076 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14077 as_dirname=dirname 14078 else 14079 as_dirname=false 14080 fi 14081 14082 as_me=`$as_basename -- "$0" || 14083 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14084 X"$0" : 'X\(//\)$' \| \ 14085 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14086 $as_echo X/"$0" | 14087 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14088 s//\1/ 14089 q 14090 } 14091 /^X\/\(\/\/\)$/{ 14092 s//\1/ 14093 q 14094 } 14095 /^X\/\(\/\).*/{ 14096 s//\1/ 14097 q 14098 } 14099 s/.*/./; q'` 14100 14101 # Avoid depending upon Character Ranges. 14102 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14103 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14104 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14105 as_cr_digits='0123456789' 14106 as_cr_alnum=$as_cr_Letters$as_cr_digits 14107 14108 ECHO_C= ECHO_N= ECHO_T= 14109 case `echo -n x` in #((((( 14110 -n*) 14111 case `echo 'xy\c'` in 14112 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14113 xy) ECHO_C='\c';; 14114 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 14115 ECHO_T=' ';; 14116 esac;; 14117 *) 14118 ECHO_N='-n';; 14119 esac 14120 14121 rm -f conf$$ conf$$.exe conf$$.file 14122 if test -d conf$$.dir; then 14123 rm -f conf$$.dir/conf$$.file 14124 else 14125 rm -f conf$$.dir 14126 mkdir conf$$.dir 2>/dev/null 14127 fi 14128 if (echo >conf$$.file) 2>/dev/null; then 14129 if ln -s conf$$.file conf$$ 2>/dev/null; then 14130 as_ln_s='ln -s' 14131 # ... but there are two gotchas: 14132 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14133 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14134 # In both cases, we have to default to `cp -pR'. 14135 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14136 as_ln_s='cp -pR' 14137 elif ln conf$$.file conf$$ 2>/dev/null; then 14138 as_ln_s=ln 14139 else 14140 as_ln_s='cp -pR' 14141 fi 14142 else 14143 as_ln_s='cp -pR' 14144 fi 14145 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14146 rmdir conf$$.dir 2>/dev/null 14147 14148 14149 # as_fn_mkdir_p 14150 # ------------- 14151 # Create "$as_dir" as a directory, including parents if necessary. 14152 as_fn_mkdir_p () 14153 { 14154 14155 case $as_dir in #( 14156 -*) as_dir=./$as_dir;; 14157 esac 14158 test -d "$as_dir" || eval $as_mkdir_p || { 14159 as_dirs= 14160 while :; do 14161 case $as_dir in #( 14162 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14163 *) as_qdir=$as_dir;; 14164 esac 14165 as_dirs="'$as_qdir' $as_dirs" 14166 as_dir=`$as_dirname -- "$as_dir" || 14167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14168 X"$as_dir" : 'X\(//\)[^/]' \| \ 14169 X"$as_dir" : 'X\(//\)$' \| \ 14170 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14171 $as_echo X"$as_dir" | 14172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14173 s//\1/ 14174 q 14175 } 14176 /^X\(\/\/\)[^/].*/{ 14177 s//\1/ 14178 q 14179 } 14180 /^X\(\/\/\)$/{ 14181 s//\1/ 14182 q 14183 } 14184 /^X\(\/\).*/{ 14185 s//\1/ 14186 q 14187 } 14188 s/.*/./; q'` 14189 test -d "$as_dir" && break 14190 done 14191 test -z "$as_dirs" || eval "mkdir $as_dirs" 14192 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14193 14194 14195 } # as_fn_mkdir_p 14196 if mkdir -p . 2>/dev/null; then 14197 as_mkdir_p='mkdir -p "$as_dir"' 14198 else 14199 test -d ./-p && rmdir ./-p 14200 as_mkdir_p=false 14201 fi 14202 14203 14204 # as_fn_executable_p FILE 14205 # ----------------------- 14206 # Test if FILE is an executable regular file. 14207 as_fn_executable_p () 14208 { 14209 test -f "$1" && test -x "$1" 14210 } # as_fn_executable_p 14211 as_test_x='test -x' 14212 as_executable_p=as_fn_executable_p 14213 14214 # Sed expression to map a string onto a valid CPP name. 14215 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14216 14217 # Sed expression to map a string onto a valid variable name. 14218 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14219 14220 14221 exec 6>&1 14222 ## ----------------------------------- ## 14223 ## Main body of $CONFIG_STATUS script. ## 14224 ## ----------------------------------- ## 14225 _ASEOF 14226 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14227 14228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14229 # Save the log message, to keep $0 and so on meaningful, and to 14230 # report actual input values of CONFIG_FILES etc. instead of their 14231 # values after options handling. 14232 ac_log=" 14233 This file was extended by strace $as_me 4.18, which was 14234 generated by GNU Autoconf 2.69. Invocation command line was 14235 14236 CONFIG_FILES = $CONFIG_FILES 14237 CONFIG_HEADERS = $CONFIG_HEADERS 14238 CONFIG_LINKS = $CONFIG_LINKS 14239 CONFIG_COMMANDS = $CONFIG_COMMANDS 14240 $ $0 $@ 14241 14242 on `(hostname || uname -n) 2>/dev/null | sed 1q` 14243 " 14244 14245 _ACEOF 14246 14247 case $ac_config_files in *" 14248 "*) set x $ac_config_files; shift; ac_config_files=$*;; 14249 esac 14250 14251 case $ac_config_headers in *" 14252 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14253 esac 14254 14255 14256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14257 # Files that config.status was made for. 14258 config_files="$ac_config_files" 14259 config_headers="$ac_config_headers" 14260 config_commands="$ac_config_commands" 14261 14262 _ACEOF 14263 14264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14265 ac_cs_usage="\ 14266 \`$as_me' instantiates files and other configuration actions 14267 from templates according to the current configuration. Unless the files 14268 and actions are specified as TAGs, all are instantiated by default. 14269 14270 Usage: $0 [OPTION]... [TAG]... 14271 14272 -h, --help print this help, then exit 14273 -V, --version print version number and configuration settings, then exit 14274 --config print configuration, then exit 14275 -q, --quiet, --silent 14276 do not print progress messages 14277 -d, --debug don't remove temporary files 14278 --recheck update $as_me by reconfiguring in the same conditions 14279 --file=FILE[:TEMPLATE] 14280 instantiate the configuration file FILE 14281 --header=FILE[:TEMPLATE] 14282 instantiate the configuration header FILE 14283 14284 Configuration files: 14285 $config_files 14286 14287 Configuration headers: 14288 $config_headers 14289 14290 Configuration commands: 14291 $config_commands 14292 14293 Report bugs to <strace-devel@lists.sourceforge.net>. 14294 strace home page: <https://strace.io>." 14295 14296 _ACEOF 14297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14298 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14299 ac_cs_version="\\ 14300 strace config.status 4.18 14301 configured by $0, generated by GNU Autoconf 2.69, 14302 with options \\"\$ac_cs_config\\" 14303 14304 Copyright (C) Free Software Foundation, Inc. 14305 This config.status script is free software; the Free Software Foundation 14306 gives unlimited permission to copy, distribute and modify it." 14307 14308 ac_pwd='$ac_pwd' 14309 srcdir='$srcdir' 14310 INSTALL='$INSTALL' 14311 MKDIR_P='$MKDIR_P' 14312 AWK='$AWK' 14313 test -n "\$AWK" || AWK=awk 14314 _ACEOF 14315 14316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14317 # The default lists apply if the user does not specify any file. 14318 ac_need_defaults=: 14319 while test $# != 0 14320 do 14321 case $1 in 14322 --*=?*) 14323 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14324 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14325 ac_shift=: 14326 ;; 14327 --*=) 14328 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14329 ac_optarg= 14330 ac_shift=: 14331 ;; 14332 *) 14333 ac_option=$1 14334 ac_optarg=$2 14335 ac_shift=shift 14336 ;; 14337 esac 14338 14339 case $ac_option in 14340 # Handling of the options. 14341 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14342 ac_cs_recheck=: ;; 14343 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14344 $as_echo "$ac_cs_version"; exit ;; 14345 --config | --confi | --conf | --con | --co | --c ) 14346 $as_echo "$ac_cs_config"; exit ;; 14347 --debug | --debu | --deb | --de | --d | -d ) 14348 debug=: ;; 14349 --file | --fil | --fi | --f ) 14350 $ac_shift 14351 case $ac_optarg in 14352 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14353 '') as_fn_error $? "missing file argument" ;; 14354 esac 14355 as_fn_append CONFIG_FILES " '$ac_optarg'" 14356 ac_need_defaults=false;; 14357 --header | --heade | --head | --hea ) 14358 $ac_shift 14359 case $ac_optarg in 14360 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14361 esac 14362 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 14363 ac_need_defaults=false;; 14364 --he | --h) 14365 # Conflict between --help and --header 14366 as_fn_error $? "ambiguous option: \`$1' 14367 Try \`$0 --help' for more information.";; 14368 --help | --hel | -h ) 14369 $as_echo "$ac_cs_usage"; exit ;; 14370 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14371 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14372 ac_cs_silent=: ;; 14373 14374 # This is an error. 14375 -*) as_fn_error $? "unrecognized option: \`$1' 14376 Try \`$0 --help' for more information." ;; 14377 14378 *) as_fn_append ac_config_targets " $1" 14379 ac_need_defaults=false ;; 14380 14381 esac 14382 shift 14383 done 14384 14385 ac_configure_extra_args= 14386 14387 if $ac_cs_silent; then 14388 exec 6>/dev/null 14389 ac_configure_extra_args="$ac_configure_extra_args --silent" 14390 fi 14391 14392 _ACEOF 14393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14394 if \$ac_cs_recheck; then 14395 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14396 shift 14397 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14398 CONFIG_SHELL='$SHELL' 14399 export CONFIG_SHELL 14400 exec "\$@" 14401 fi 14402 14403 _ACEOF 14404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14405 exec 5>>config.log 14406 { 14407 echo 14408 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14409 ## Running $as_me. ## 14410 _ASBOX 14411 $as_echo "$ac_log" 14412 } >&5 14413 14414 _ACEOF 14415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14416 # 14417 # INIT-COMMANDS 14418 # 14419 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14420 14421 _ACEOF 14422 14423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14424 14425 # Handling of arguments. 14426 for ac_config_target in $ac_config_targets 14427 do 14428 case $ac_config_target in 14429 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14430 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14431 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14432 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 14433 "tests-m32/Makefile") CONFIG_FILES="$CONFIG_FILES tests-m32/Makefile" ;; 14434 "tests-mx32/Makefile") CONFIG_FILES="$CONFIG_FILES tests-mx32/Makefile" ;; 14435 "strace.spec") CONFIG_FILES="$CONFIG_FILES strace.spec" ;; 14436 "debian/changelog") CONFIG_FILES="$CONFIG_FILES debian/changelog" ;; 14437 14438 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14439 esac 14440 done 14441 14442 14443 # If the user did not use the arguments to specify the items to instantiate, 14444 # then the envvar interface is used. Set only those that are not. 14445 # We use the long form for the default assignment because of an extremely 14446 # bizarre bug on SunOS 4.1.3. 14447 if $ac_need_defaults; then 14448 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14449 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14450 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14451 fi 14452 14453 # Have a temporary directory for convenience. Make it in the build tree 14454 # simply because there is no reason against having it here, and in addition, 14455 # creating and moving files from /tmp can sometimes cause problems. 14456 # Hook for its removal unless debugging. 14457 # Note that there is a small window in which the directory will not be cleaned: 14458 # after its creation but before its name has been assigned to `$tmp'. 14459 $debug || 14460 { 14461 tmp= ac_tmp= 14462 trap 'exit_status=$? 14463 : "${ac_tmp:=$tmp}" 14464 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14465 ' 0 14466 trap 'as_fn_exit 1' 1 2 13 15 14467 } 14468 # Create a (secure) tmp directory for tmp files. 14469 14470 { 14471 tmp=`(umask 077 && mktemp -d "./confXXXXXX")` && 14472 test -n "$tmp" && test -d "$tmp" 14473 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14474 ac_tmp=$tmp 14475 14476 # Set up the scripts for CONFIG_FILES section. 14477 # No need to generate them if there are no CONFIG_FILES. 14478 # This happens for instance with `./config.status config.h'. 14479 if test -n "$CONFIG_FILES"; then 14480 14481 14482 ac_cr=`echo X | tr X '\015'` 14483 # On cygwin, bash can eat \r inside `` if the user requested igncr. 14484 # But we know of no other shell where ac_cr would be empty at this 14485 # point, so we can use a bashism as a fallback. 14486 if test "x$ac_cr" = x; then 14487 eval ac_cr=\$\'\\r\' 14488 fi 14489 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14490 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14491 ac_cs_awk_cr='\\r' 14492 else 14493 ac_cs_awk_cr=$ac_cr 14494 fi 14495 14496 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 14497 _ACEOF 14498 14499 14500 { 14501 echo "cat >conf$$subs.awk <<_ACEOF" && 14502 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14503 echo "_ACEOF" 14504 } >conf$$subs.sh || 14505 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14506 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14507 ac_delim='%!_!# ' 14508 for ac_last_try in false false false false false :; do 14509 . ./conf$$subs.sh || 14510 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14511 14512 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14513 if test $ac_delim_n = $ac_delim_num; then 14514 break 14515 elif $ac_last_try; then 14516 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14517 else 14518 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14519 fi 14520 done 14521 rm -f conf$$subs.sh 14522 14523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14524 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14525 _ACEOF 14526 sed -n ' 14527 h 14528 s/^/S["/; s/!.*/"]=/ 14529 p 14530 g 14531 s/^[^!]*!// 14532 :repl 14533 t repl 14534 s/'"$ac_delim"'$// 14535 t delim 14536 :nl 14537 h 14538 s/\(.\{148\}\)..*/\1/ 14539 t more1 14540 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14541 p 14542 n 14543 b repl 14544 :more1 14545 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14546 p 14547 g 14548 s/.\{148\}// 14549 t nl 14550 :delim 14551 h 14552 s/\(.\{148\}\)..*/\1/ 14553 t more2 14554 s/["\\]/\\&/g; s/^/"/; s/$/"/ 14555 p 14556 b 14557 :more2 14558 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14559 p 14560 g 14561 s/.\{148\}// 14562 t delim 14563 ' <conf$$subs.awk | sed ' 14564 /^[^""]/{ 14565 N 14566 s/\n// 14567 } 14568 ' >>$CONFIG_STATUS || ac_write_fail=1 14569 rm -f conf$$subs.awk 14570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14571 _ACAWK 14572 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14573 for (key in S) S_is_set[key] = 1 14574 FS = "" 14575 14576 } 14577 { 14578 line = $ 0 14579 nfields = split(line, field, "@") 14580 substed = 0 14581 len = length(field[1]) 14582 for (i = 2; i < nfields; i++) { 14583 key = field[i] 14584 keylen = length(key) 14585 if (S_is_set[key]) { 14586 value = S[key] 14587 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14588 len += length(value) + length(field[++i]) 14589 substed = 1 14590 } else 14591 len += 1 + keylen 14592 } 14593 14594 print line 14595 } 14596 14597 _ACAWK 14598 _ACEOF 14599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14600 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14601 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14602 else 14603 cat 14604 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 14605 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 14606 _ACEOF 14607 14608 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 14609 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14610 # trailing colons and then remove the whole line if VPATH becomes empty 14611 # (actually we leave an empty line to preserve line numbers). 14612 if test "x$srcdir" = x.; then 14613 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14614 h 14615 s/// 14616 s/^/:/ 14617 s/[ ]*$/:/ 14618 s/:\$(srcdir):/:/g 14619 s/:\${srcdir}:/:/g 14620 s/:@srcdir@:/:/g 14621 s/^:*// 14622 s/:*$// 14623 x 14624 s/\(=[ ]*\).*/\1/ 14625 G 14626 s/\n// 14627 s/^[^=]*=[ ]*$// 14628 }' 14629 fi 14630 14631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14632 fi # test -n "$CONFIG_FILES" 14633 14634 # Set up the scripts for CONFIG_HEADERS section. 14635 # No need to generate them if there are no CONFIG_HEADERS. 14636 # This happens for instance with `./config.status Makefile'. 14637 if test -n "$CONFIG_HEADERS"; then 14638 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14639 BEGIN { 14640 _ACEOF 14641 14642 # Transform confdefs.h into an awk script `defines.awk', embedded as 14643 # here-document in config.status, that substitutes the proper values into 14644 # config.h.in to produce config.h. 14645 14646 # Create a delimiter string that does not exist in confdefs.h, to ease 14647 # handling of long lines. 14648 ac_delim='%!_!# ' 14649 for ac_last_try in false false :; do 14650 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 14651 if test -z "$ac_tt"; then 14652 break 14653 elif $ac_last_try; then 14654 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14655 else 14656 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14657 fi 14658 done 14659 14660 # For the awk script, D is an array of macro values keyed by name, 14661 # likewise P contains macro parameters if any. Preserve backslash 14662 # newline sequences. 14663 14664 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14665 sed -n ' 14666 s/.\{148\}/&'"$ac_delim"'/g 14667 t rset 14668 :rset 14669 s/^[ ]*#[ ]*define[ ][ ]*/ / 14670 t def 14671 d 14672 :def 14673 s/\\$// 14674 t bsnl 14675 s/["\\]/\\&/g 14676 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14677 D["\1"]=" \3"/p 14678 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14679 d 14680 :bsnl 14681 s/["\\]/\\&/g 14682 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14683 D["\1"]=" \3\\\\\\n"\\/p 14684 t cont 14685 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14686 t cont 14687 d 14688 :cont 14689 n 14690 s/.\{148\}/&'"$ac_delim"'/g 14691 t clear 14692 :clear 14693 s/\\$// 14694 t bsnlc 14695 s/["\\]/\\&/g; s/^/"/; s/$/"/p 14696 d 14697 :bsnlc 14698 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14699 b cont 14700 ' <confdefs.h | sed ' 14701 s/'"$ac_delim"'/"\\\ 14702 "/g' >>$CONFIG_STATUS || ac_write_fail=1 14703 14704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14705 for (key in D) D_is_set[key] = 1 14706 FS = "" 14707 } 14708 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14709 line = \$ 0 14710 split(line, arg, " ") 14711 if (arg[1] == "#") { 14712 defundef = arg[2] 14713 mac1 = arg[3] 14714 } else { 14715 defundef = substr(arg[1], 2) 14716 mac1 = arg[2] 14717 } 14718 split(mac1, mac2, "(") #) 14719 macro = mac2[1] 14720 prefix = substr(line, 1, index(line, defundef) - 1) 14721 if (D_is_set[macro]) { 14722 # Preserve the white space surrounding the "#". 14723 print prefix "define", macro P[macro] D[macro] 14724 next 14725 } else { 14726 # Replace #undef with comments. This is necessary, for example, 14727 # in the case of _POSIX_SOURCE, which is predefined and required 14728 # on some systems where configure will not decide to define it. 14729 if (defundef == "undef") { 14730 print "/*", prefix defundef, macro, "*/" 14731 next 14732 } 14733 } 14734 } 14735 { print } 14736 _ACAWK 14737 _ACEOF 14738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14739 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14740 fi # test -n "$CONFIG_HEADERS" 14741 14742 14743 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14744 shift 14745 for ac_tag 14746 do 14747 case $ac_tag in 14748 :[FHLC]) ac_mode=$ac_tag; continue;; 14749 esac 14750 case $ac_mode$ac_tag in 14751 :[FHL]*:*);; 14752 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14753 :[FH]-) ac_tag=-:-;; 14754 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14755 esac 14756 ac_save_IFS=$IFS 14757 IFS=: 14758 set x $ac_tag 14759 IFS=$ac_save_IFS 14760 shift 14761 ac_file=$1 14762 shift 14763 14764 case $ac_mode in 14765 :L) ac_source=$1;; 14766 :[FH]) 14767 ac_file_inputs= 14768 for ac_f 14769 do 14770 case $ac_f in 14771 -) ac_f="$ac_tmp/stdin";; 14772 *) # Look for the file first in the build tree, then in the source tree 14773 # (if the path is not absolute). The absolute path cannot be DOS-style, 14774 # because $ac_f cannot contain `:'. 14775 test -f "$ac_f" || 14776 case $ac_f in 14777 [\\/$]*) false;; 14778 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14779 esac || 14780 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14781 esac 14782 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14783 as_fn_append ac_file_inputs " '$ac_f'" 14784 done 14785 14786 # Let's still pretend it is `configure' which instantiates (i.e., don't 14787 # use $as_me), people would be surprised to read: 14788 # /* config.h. Generated by config.status. */ 14789 configure_input='Generated from '` 14790 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14791 `' by configure.' 14792 if test x"$ac_file" != x-; then 14793 configure_input="$ac_file. $configure_input" 14794 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14795 $as_echo "$as_me: creating $ac_file" >&6;} 14796 fi 14797 # Neutralize special characters interpreted by sed in replacement strings. 14798 case $configure_input in #( 14799 *\&* | *\|* | *\\* ) 14800 ac_sed_conf_input=`$as_echo "$configure_input" | 14801 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14802 *) ac_sed_conf_input=$configure_input;; 14803 esac 14804 14805 case $ac_tag in 14806 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14807 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14808 esac 14809 ;; 14810 esac 14811 14812 ac_dir=`$as_dirname -- "$ac_file" || 14813 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14814 X"$ac_file" : 'X\(//\)[^/]' \| \ 14815 X"$ac_file" : 'X\(//\)$' \| \ 14816 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14817 $as_echo X"$ac_file" | 14818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14819 s//\1/ 14820 q 14821 } 14822 /^X\(\/\/\)[^/].*/{ 14823 s//\1/ 14824 q 14825 } 14826 /^X\(\/\/\)$/{ 14827 s//\1/ 14828 q 14829 } 14830 /^X\(\/\).*/{ 14831 s//\1/ 14832 q 14833 } 14834 s/.*/./; q'` 14835 as_dir="$ac_dir"; as_fn_mkdir_p 14836 ac_builddir=. 14837 14838 case "$ac_dir" in 14839 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14840 *) 14841 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14842 # A ".." for each directory in $ac_dir_suffix. 14843 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14844 case $ac_top_builddir_sub in 14845 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14846 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14847 esac ;; 14848 esac 14849 ac_abs_top_builddir=$ac_pwd 14850 ac_abs_builddir=$ac_pwd$ac_dir_suffix 14851 # for backward compatibility: 14852 ac_top_builddir=$ac_top_build_prefix 14853 14854 case $srcdir in 14855 .) # We are building in place. 14856 ac_srcdir=. 14857 ac_top_srcdir=$ac_top_builddir_sub 14858 ac_abs_top_srcdir=$ac_pwd ;; 14859 [\\/]* | ?:[\\/]* ) # Absolute name. 14860 ac_srcdir=$srcdir$ac_dir_suffix; 14861 ac_top_srcdir=$srcdir 14862 ac_abs_top_srcdir=$srcdir ;; 14863 *) # Relative name. 14864 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14865 ac_top_srcdir=$ac_top_build_prefix$srcdir 14866 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14867 esac 14868 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14869 14870 14871 case $ac_mode in 14872 :F) 14873 # 14874 # CONFIG_FILE 14875 # 14876 14877 case $INSTALL in 14878 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14879 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14880 esac 14881 ac_MKDIR_P=$MKDIR_P 14882 case $MKDIR_P in 14883 [\\/$]* | ?:[\\/]* ) ;; 14884 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14885 esac 14886 _ACEOF 14887 14888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14889 # If the template does not know about datarootdir, expand it. 14890 # FIXME: This hack should be removed a few years after 2.60. 14891 ac_datarootdir_hack=; ac_datarootdir_seen= 14892 ac_sed_dataroot=' 14893 /datarootdir/ { 14894 p 14895 q 14896 } 14897 /@datadir@/p 14898 /@docdir@/p 14899 /@infodir@/p 14900 /@localedir@/p 14901 /@mandir@/p' 14902 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14903 *datarootdir*) ac_datarootdir_seen=yes;; 14904 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14906 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14907 _ACEOF 14908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14909 ac_datarootdir_hack=' 14910 s&@datadir@&$datadir&g 14911 s&@docdir@&$docdir&g 14912 s&@infodir@&$infodir&g 14913 s&@localedir@&$localedir&g 14914 s&@mandir@&$mandir&g 14915 s&\\\${datarootdir}&$datarootdir&g' ;; 14916 esac 14917 _ACEOF 14918 14919 # Neutralize VPATH when `$srcdir' = `.'. 14920 # Shell code in configure.ac might set extrasub. 14921 # FIXME: do we really want to maintain this feature? 14922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14923 ac_sed_extra="$ac_vpsub 14924 $extrasub 14925 _ACEOF 14926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14927 :t 14928 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14929 s|@configure_input@|$ac_sed_conf_input|;t t 14930 s&@top_builddir@&$ac_top_builddir_sub&;t t 14931 s&@top_build_prefix@&$ac_top_build_prefix&;t t 14932 s&@srcdir@&$ac_srcdir&;t t 14933 s&@abs_srcdir@&$ac_abs_srcdir&;t t 14934 s&@top_srcdir@&$ac_top_srcdir&;t t 14935 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14936 s&@builddir@&$ac_builddir&;t t 14937 s&@abs_builddir@&$ac_abs_builddir&;t t 14938 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14939 s&@INSTALL@&$ac_INSTALL&;t t 14940 s&@MKDIR_P@&$ac_MKDIR_P&;t t 14941 $ac_datarootdir_hack 14942 " 14943 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14944 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14945 14946 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14947 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14948 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14949 "$ac_tmp/out"`; test -z "$ac_out"; } && 14950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14951 which seems to be undefined. Please make sure it is defined" >&5 14952 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14953 which seems to be undefined. Please make sure it is defined" >&2;} 14954 14955 rm -f "$ac_tmp/stdin" 14956 case $ac_file in 14957 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14958 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14959 esac \ 14960 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14961 ;; 14962 :H) 14963 # 14964 # CONFIG_HEADER 14965 # 14966 if test x"$ac_file" != x-; then 14967 { 14968 $as_echo "/* $configure_input */" \ 14969 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14970 } >"$ac_tmp/config.h" \ 14971 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14972 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14973 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14974 $as_echo "$as_me: $ac_file is unchanged" >&6;} 14975 else 14976 rm -f "$ac_file" 14977 mv "$ac_tmp/config.h" "$ac_file" \ 14978 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14979 fi 14980 else 14981 $as_echo "/* $configure_input */" \ 14982 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14983 || as_fn_error $? "could not create -" "$LINENO" 5 14984 fi 14985 # Compute "$ac_file"'s index in $config_headers. 14986 _am_arg="$ac_file" 14987 _am_stamp_count=1 14988 for _am_header in $config_headers :; do 14989 case $_am_header in 14990 $_am_arg | $_am_arg:* ) 14991 break ;; 14992 * ) 14993 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14994 esac 14995 done 14996 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14997 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14998 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14999 X"$_am_arg" : 'X\(//\)$' \| \ 15000 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 15001 $as_echo X"$_am_arg" | 15002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15003 s//\1/ 15004 q 15005 } 15006 /^X\(\/\/\)[^/].*/{ 15007 s//\1/ 15008 q 15009 } 15010 /^X\(\/\/\)$/{ 15011 s//\1/ 15012 q 15013 } 15014 /^X\(\/\).*/{ 15015 s//\1/ 15016 q 15017 } 15018 s/.*/./; q'`/stamp-h$_am_stamp_count 15019 ;; 15020 15021 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 15022 $as_echo "$as_me: executing $ac_file commands" >&6;} 15023 ;; 15024 esac 15025 15026 15027 case $ac_file$ac_mode in 15028 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 15029 # Older Autoconf quotes --file arguments for eval, but not when files 15030 # are listed without --file. Let's play safe and only enable the eval 15031 # if we detect the quoting. 15032 case $CONFIG_FILES in 15033 *\'*) eval set x "$CONFIG_FILES" ;; 15034 *) set x $CONFIG_FILES ;; 15035 esac 15036 shift 15037 for mf 15038 do 15039 # Strip MF so we end up with the name of the file. 15040 mf=`echo "$mf" | sed -e 's/:.*$//'` 15041 # Check whether this is an Automake generated Makefile or not. 15042 # We used to match only the files named 'Makefile.in', but 15043 # some people rename them; so instead we look at the file content. 15044 # Grep'ing the first line is not enough: some people post-process 15045 # each Makefile.in and add a new line on top of each file to say so. 15046 # Grep'ing the whole file is not good either: AIX grep has a line 15047 # limit of 2048, but all sed's we know have understand at least 4000. 15048 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 15049 dirpart=`$as_dirname -- "$mf" || 15050 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15051 X"$mf" : 'X\(//\)[^/]' \| \ 15052 X"$mf" : 'X\(//\)$' \| \ 15053 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 15054 $as_echo X"$mf" | 15055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15056 s//\1/ 15057 q 15058 } 15059 /^X\(\/\/\)[^/].*/{ 15060 s//\1/ 15061 q 15062 } 15063 /^X\(\/\/\)$/{ 15064 s//\1/ 15065 q 15066 } 15067 /^X\(\/\).*/{ 15068 s//\1/ 15069 q 15070 } 15071 s/.*/./; q'` 15072 else 15073 continue 15074 fi 15075 # Extract the definition of DEPDIR, am__include, and am__quote 15076 # from the Makefile without running 'make'. 15077 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15078 test -z "$DEPDIR" && continue 15079 am__include=`sed -n 's/^am__include = //p' < "$mf"` 15080 test -z "$am__include" && continue 15081 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 15082 # Find all dependency output files, they are included files with 15083 # $(DEPDIR) in their names. We invoke sed twice because it is the 15084 # simplest approach to changing $(DEPDIR) to its actual value in the 15085 # expansion. 15086 for file in `sed -n " 15087 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15088 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 15089 # Make sure the directory exists. 15090 test -f "$dirpart/$file" && continue 15091 fdir=`$as_dirname -- "$file" || 15092 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15093 X"$file" : 'X\(//\)[^/]' \| \ 15094 X"$file" : 'X\(//\)$' \| \ 15095 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15096 $as_echo X"$file" | 15097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15098 s//\1/ 15099 q 15100 } 15101 /^X\(\/\/\)[^/].*/{ 15102 s//\1/ 15103 q 15104 } 15105 /^X\(\/\/\)$/{ 15106 s//\1/ 15107 q 15108 } 15109 /^X\(\/\).*/{ 15110 s//\1/ 15111 q 15112 } 15113 s/.*/./; q'` 15114 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15115 # echo "creating $dirpart/$file" 15116 echo '# dummy' > "$dirpart/$file" 15117 done 15118 done 15119 } 15120 ;; 15121 15122 esac 15123 done # for ac_tag 15124 15125 15126 as_fn_exit 0 15127 _ACEOF 15128 ac_clean_files=$ac_clean_files_save 15129 15130 test $ac_write_fail = 0 || 15131 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15132 15133 15134 # configure is writing to config.log, and then calls config.status. 15135 # config.status does its own redirection, appending to config.log. 15136 # Unfortunately, on DOS this fails, as config.log is still kept open 15137 # by configure, so config.status won't be able to write to it; its 15138 # output is simply discarded. So we exec the FD to /dev/null, 15139 # effectively closing config.log, so it can be properly (re)opened and 15140 # appended to by config.status. When coming back to configure, we 15141 # need to make the FD available again. 15142 if test "$no_create" != yes; then 15143 ac_cs_success=: 15144 ac_config_status_args= 15145 test "$silent" = yes && 15146 ac_config_status_args="$ac_config_status_args --quiet" 15147 exec 5>/dev/null 15148 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15149 exec 5>>config.log 15150 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15151 # would make configure fail if this is the last instruction. 15152 $ac_cs_success || as_fn_exit 1 15153 fi 15154 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15156 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15157 fi 15158 15159