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@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 20DUALCASE=1; export DUALCASE # for MKS sh 21if 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 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_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. 47if 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 --' 51elif (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' 54else 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' 74fi 75 76# The user is always right. 77if 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 } 83fi 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.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94as_myself= 95case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98for as_dir in $PATH 99do 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 104IFS=$as_save_IFS 105 106 ;; 107esac 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. 110if test "x$as_myself" = x; then 111 as_myself=$0 112fi 113if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116fi 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. 122for as_var in BASH_ENV ENV MAIL MAILPATH 123do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export 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. 147BASH_ENV=/dev/null 148ENV=/dev/null 149(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 150case $- in # (((( 151 *v*x* | *x*v* ) as_opts=-vx ;; 152 *v* ) as_opts=-v ;; 153 *x* ) as_opts=-x ;; 154 * ) as_opts= ;; 155esac 156exec $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 160as_fn_exit 255 161 fi 162 # We don't want this to propagate to other subprocesses. 163 { _as_can_reexec=; unset _as_can_reexec;} 164if 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 172else 173 case \`(set -o) 2>/dev/null\` in #( 174 *posix*) : 175 set -o posix ;; #( 176 *) : 177 ;; 178esac 179fi 180" 181 as_required="as_fn_return () { (exit \$1); } 182as_fn_success () { as_fn_return 0; } 183as_fn_failure () { as_fn_return 1; } 184as_fn_ret_success () { return 0; } 185as_fn_ret_failure () { return 1; } 186 187exitcode=0 188as_fn_success || { exitcode=1; echo as_fn_success failed.; } 189as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 190as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 191as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 192if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 193 194else 195 exitcode=1; echo positional parameters were not saved. 196fi 197test x\$exitcode = x0 || exit 1 198test -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 203test \$(( 1 + 1 )) = 2 || exit 1" 204 if (eval "$as_required") 2>/dev/null; then : 205 as_have_required=yes 206else 207 as_have_required=no 208fi 209 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 210 211else 212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 213as_found=false 214for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 215do 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 229fi 230fi 231 done;; 232 esac 233 as_found=false 234done 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 238fi; } 239IFS=$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. 248BASH_ENV=/dev/null 249ENV=/dev/null 250(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 251case $- in # (((( 252 *v*x* | *x*v* ) as_opts=-vx ;; 253 *v* ) as_opts=-v ;; 254 *x* ) as_opts=-x ;; 255 * ) as_opts= ;; 256esac 257exec $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 261exit 255 262fi 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@gnu.org and 272$0: strace-devel@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 278fi 279fi 280fi 281SHELL=${CONFIG_SHELL-/bin/sh} 282export SHELL 283# Unset more variables known to interfere with behavior of common tools. 284CLICOLOR_FORCE= GREP_OPTIONS= 285unset CLICOLOR_FORCE GREP_OPTIONS 286 287## --------------------- ## 288## M4sh Shell Functions. ## 289## --------------------- ## 290# as_fn_unset VAR 291# --------------- 292# Portably unset VAR. 293as_fn_unset () 294{ 295 { eval $1=; unset $1;} 296} 297as_unset=as_fn_unset 298 299# as_fn_set_status STATUS 300# ----------------------- 301# Set $? to STATUS, without forking. 302as_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. 310as_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. 320as_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. 368as_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. 378if (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 }' 383else 384 as_fn_append () 385 { 386 eval $1=\$$1\$2 387 } 388fi # 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. 395if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 396 eval 'as_fn_arith () 397 { 398 as_val=$(( $* )) 399 }' 400else 401 as_fn_arith () 402 { 403 as_val=`expr "$@" || test $? -eq 1` 404 } 405fi # 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. 413as_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 424if expr a : '\(a\)' >/dev/null 2>&1 && 425 test "X`expr 00001 : '.*\(...\)'`" = X001; then 426 as_expr=expr 427else 428 as_expr=false 429fi 430 431if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 432 as_basename=basename 433else 434 as_basename=false 435fi 436 437if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 438 as_dirname=dirname 439else 440 as_dirname=false 441fi 442 443as_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. 463as_cr_letters='abcdefghijklmnopqrstuvwxyz' 464as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 465as_cr_Letters=$as_cr_letters$as_cr_LETTERS 466as_cr_digits='0123456789' 467as_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 505ECHO_C= ECHO_N= ECHO_T= 506case `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';; 516esac 517 518rm -f conf$$ conf$$.exe conf$$.file 519if test -d conf$$.dir; then 520 rm -f conf$$.dir/conf$$.file 521else 522 rm -f conf$$.dir 523 mkdir conf$$.dir 2>/dev/null 524fi 525if (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 539else 540 as_ln_s='cp -pR' 541fi 542rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 543rmdir conf$$.dir 2>/dev/null 544 545if mkdir -p . 2>/dev/null; then 546 as_mkdir_p='mkdir -p "$as_dir"' 547else 548 test -d ./-p && rmdir ./-p 549 as_mkdir_p=false 550fi 551 552as_test_x='test -x' 553as_executable_p=as_fn_executable_p 554 555# Sed expression to map a string onto a valid CPP name. 556as_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. 559as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 560 561 562test -n "$DJDIR" || exec 7<&0 </dev/null 563exec 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. 568ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 569 570# 571# Initializations. 572# 573ac_default_prefix=/usr/local 574ac_clean_files= 575ac_config_libobj_dir=. 576LIBOBJS= 577cross_compiling=no 578subdirs= 579MFLAGS= 580MAKEFLAGS= 581 582# Identity of this package. 583PACKAGE_NAME='strace' 584PACKAGE_TARNAME='strace' 585PACKAGE_VERSION='4.18' 586PACKAGE_STRING='strace 4.18' 587PACKAGE_BUGREPORT='strace-devel@lists.sourceforge.net' 588PACKAGE_URL='https://strace.io' 589 590ac_unique_file="strace.c" 591# Factoring default headers for most tests. 592ac_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 627ac_subst_vars='am__EXEEXT_FALSE 628am__EXEEXT_TRUE 629LTLIBOBJS 630LIBOBJS 631VALGRIND_CHECK_RULES 632valgrind_enabled_tools 633valgrind_tools 634ENABLE_VALGRIND_sgcheck 635ENABLE_VALGRIND_drd 636ENABLE_VALGRIND_helgrind 637ENABLE_VALGRIND_memcheck 638VALGRIND_ENABLED 639VALGRIND_ENABLED_FALSE 640VALGRIND_ENABLED_TRUE 641VALGRIND 642HAVE_MX32_MPERS_FALSE 643HAVE_MX32_MPERS_TRUE 644HAVE_MX32_RUNTIME_FALSE 645HAVE_MX32_RUNTIME_TRUE 646HAVE_M32_MPERS_FALSE 647HAVE_M32_MPERS_TRUE 648HAVE_M32_RUNTIME_FALSE 649HAVE_M32_RUNTIME_TRUE 650USE_LIBUNWIND_FALSE 651USE_LIBUNWIND_TRUE 652libunwind_CPPFLAGS 653libunwind_LDFLAGS 654libunwind_LIBS 655PERL 656dl_LIBS 657MIPS_ABI 658arch_mx32 659arch_m32 660arch 661COPYRIGHT_YEAR 662CODE_COVERAGE_RULES 663CODE_COVERAGE_LDFLAGS 664CODE_COVERAGE_CXXFLAGS 665CODE_COVERAGE_CFLAGS 666CODE_COVERAGE_CPPFLAGS 667GENHTML 668LCOV 669GCOV 670CODE_COVERAGE_ENABLED 671CODE_COVERAGE_ENABLED_FALSE 672CODE_COVERAGE_ENABLED_TRUE 673SED 674EGREP 675GREP 676RANLIB 677WARN_CFLAGS_FOR_BUILD 678LDFLAGS_FOR_BUILD 679CPPFLAGS_FOR_BUILD 680CFLAGS_FOR_BUILD 681BUILD_OBJEXT 682BUILD_EXEEXT 683CPP_FOR_BUILD 684ac_ct_CC_FOR_BUILD 685CC_FOR_BUILD 686WARN_CFLAGS 687CPP 688am__fastdepCC_FALSE 689am__fastdepCC_TRUE 690CCDEPMODE 691am__nodep 692AMDEPBACKSLASH 693AMDEP_FALSE 694AMDEP_TRUE 695am__quote 696am__include 697DEPDIR 698OBJEXT 699EXEEXT 700ac_ct_CC 701CPPFLAGS 702LDFLAGS 703CFLAGS 704CC 705DEB_CHANGELOGTIME 706RPM_CHANGELOGTIME 707host_os 708host_vendor 709host_cpu 710host 711build_os 712build_vendor 713build_cpu 714build 715MAINT 716MAINTAINER_MODE_FALSE 717MAINTAINER_MODE_TRUE 718AM_BACKSLASH 719AM_DEFAULT_VERBOSITY 720AM_DEFAULT_V 721AM_V 722am__untar 723am__tar 724AMTAR 725am__leading_dot 726SET_MAKE 727AWK 728mkdir_p 729MKDIR_P 730INSTALL_STRIP_PROGRAM 731STRIP 732install_sh 733MAKEINFO 734AUTOHEADER 735AUTOMAKE 736AUTOCONF 737ACLOCAL 738VERSION 739PACKAGE 740CYGPATH_W 741am__isrc 742INSTALL_DATA 743INSTALL_SCRIPT 744INSTALL_PROGRAM 745target_alias 746host_alias 747build_alias 748LIBS 749ECHO_T 750ECHO_N 751ECHO_C 752DEFS 753mandir 754localedir 755libdir 756psdir 757pdfdir 758dvidir 759htmldir 760infodir 761docdir 762oldincludedir 763includedir 764localstatedir 765sharedstatedir 766sysconfdir 767datadir 768datarootdir 769libexecdir 770sbindir 771bindir 772program_transform_name 773prefix 774exec_prefix 775PACKAGE_URL 776PACKAGE_BUGREPORT 777PACKAGE_STRING 778PACKAGE_VERSION 779PACKAGE_TARNAME 780PACKAGE_NAME 781PATH_SEPARATOR 782SHELL' 783ac_subst_files='' 784ac_user_opts=' 785enable_option_checking 786enable_silent_rules 787enable_maintainer_mode 788enable_dependency_tracking 789enable_gcc_Werror 790with_gcov 791enable_code_coverage 792enable_arm_oabi 793with_libunwind 794enable_valgrind 795enable_valgrind_memcheck 796enable_valgrind_helgrind 797enable_valgrind_drd 798enable_valgrind_sgcheck 799' 800 ac_precious_vars='build_alias 801host_alias 802target_alias 803CC 804CFLAGS 805LDFLAGS 806LIBS 807CPPFLAGS 808CPP' 809 810 811# Initialize some variables set by options. 812ac_init_help= 813ac_init_version=false 814ac_unrecognized_opts= 815ac_unrecognized_sep= 816# The variables have the same names as the options, with 817# dashes changed to underlines. 818cache_file=/dev/null 819exec_prefix=NONE 820no_create= 821no_recursion= 822prefix=NONE 823program_prefix=NONE 824program_suffix=NONE 825program_transform_name=s,x,x, 826silent= 827site= 828srcdir= 829verbose= 830x_includes=NONE 831x_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.) 839bindir='${exec_prefix}/bin' 840sbindir='${exec_prefix}/sbin' 841libexecdir='${exec_prefix}/libexec' 842datarootdir='${prefix}/share' 843datadir='${datarootdir}' 844sysconfdir='${prefix}/etc' 845sharedstatedir='${prefix}/com' 846localstatedir='${prefix}/var' 847includedir='${prefix}/include' 848oldincludedir='/usr/include' 849docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 850infodir='${datarootdir}/info' 851htmldir='${docdir}' 852dvidir='${docdir}' 853pdfdir='${docdir}' 854psdir='${docdir}' 855libdir='${exec_prefix}/lib' 856localedir='${datarootdir}/locale' 857mandir='${datarootdir}/man' 858 859ac_prev= 860ac_dashdash= 861for ac_option 862do 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' 1195Try \`$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 1217done 1218 1219if test -n "$ac_prev"; then 1220 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1221 as_fn_error $? "missing argument to $ac_option" 1222fi 1223 1224if 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 1230fi 1231 1232# Check all directory arguments for consistency. 1233for 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 1237do 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" 1251done 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. 1256build=$build_alias 1257host=$host_alias 1258target=$target_alias 1259 1260# FIXME: To remove some day. 1261if 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 1267fi 1268 1269ac_tool_prefix= 1270test -n "$host_alias" && ac_tool_prefix=$host_alias- 1271 1272test "$silent" = yes && exec 6>/dev/null 1273 1274 1275ac_pwd=`pwd` && test -n "$ac_pwd" && 1276ac_ls_di=`ls -di .` && 1277ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1278 as_fn_error $? "working directory cannot be determined" 1279test "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. 1284if 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 1314else 1315 ac_srcdir_defaulted=no 1316fi 1317if 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" 1320fi 1321ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1322ac_abs_confdir=`( 1323 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1324 pwd)` 1325# When building in place, set srcdir=. 1326if test "$ac_abs_confdir" = "$ac_pwd"; then 1327 srcdir=. 1328fi 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. 1332case $srcdir in 1333*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1334esac 1335for 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} 1340done 1341 1342# 1343# Report the --help message. 1344# 1345if 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 1351Usage: $0 [OPTION]... [VAR=VALUE]... 1352 1353To assign environment variables (e.g., CC, CFLAGS...), specify them as 1354VAR=VALUE. See below for descriptions of some of the useful variables. 1355 1356Defaults for the options are specified in brackets. 1357 1358Configuration: 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 1369Installation 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 1375By default, \`make install' will install all the files in 1376\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1377an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1378for instance \`--prefix=\$HOME'. 1379 1380For better control, use the options below. 1381 1382Fine 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 1406Program 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 1411System 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 1415fi 1416 1417if 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 1423Optional 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 1448Optional 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 1454Some 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 1464Use these variables to override the choices made by `configure' or to help 1465it to find libraries and programs with nonstandard names/locations. 1466 1467Report bugs to <strace-devel@lists.sourceforge.net>. 1468strace home page: <https://strace.io>. 1469_ACEOF 1470ac_status=$? 1471fi 1472 1473if 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 1481case "$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 ;; 1491esac 1492ac_abs_top_builddir=$ac_pwd 1493ac_abs_builddir=$ac_pwd$ac_dir_suffix 1494# for backward compatibility: 1495ac_top_builddir=$ac_top_build_prefix 1496 1497case $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 ;; 1510esac 1511ac_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 1526fi 1527 1528test -n "$ac_init_help" && exit $ac_status 1529if $ac_init_version; then 1530 cat <<\_ACEOF 1531strace configure 4.18 1532generated by GNU Autoconf 2.69 1533 1534Copyright (C) 2012 Free Software Foundation, Inc. 1535This configure script is free software; the Free Software Foundation 1536gives unlimited permission to copy, distribute and modify it. 1537 1538Copyright (c) 1999-2017 The strace developers. 1539_ACEOF 1540 exit 1541fi 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. 1550ac_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" 1555case "(($ac_try" in 1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1557 *) ac_try_echo=$ac_try;; 1558esac 1559eval 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 1574else 1575 $as_echo "$as_me: failed program was:" >&5 1576sed 's/^/| /' conftest.$ac_ext >&5 1577 1578 ac_retval=1 1579fi 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. 1588ac_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" 1592case "(($ac_try" in 1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1594 *) ac_try_echo=$ac_try;; 1595esac 1596eval 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 1611else 1612 $as_echo "$as_me: failed program was:" >&5 1613sed 's/^/| /' conftest.$ac_ext >&5 1614 1615 ac_retval=1 1616fi 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. 1625ac_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" 1630case "(($ac_try" in 1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1632 *) ac_try_echo=$ac_try;; 1633esac 1634eval 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 1652else 1653 $as_echo "$as_me: failed program was:" >&5 1654sed 's/^/| /' conftest.$ac_ext >&5 1655 1656 ac_retval=1 1657fi 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. 1673ac_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; } 1679if eval \${$3+:} false; then : 1680 $as_echo_n "(cached) " >&6 1681fi 1682eval ac_res=\$$3 1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1684$as_echo "$ac_res" >&6; } 1685else 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; } 1689cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1690/* end confdefs.h. */ 1691$4 1692#include <$2> 1693_ACEOF 1694if ac_fn_c_try_compile "$LINENO"; then : 1695 ac_header_compiler=yes 1696else 1697 ac_header_compiler=no 1698fi 1699rm -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; } 1706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1707/* end confdefs.h. */ 1708#include <$2> 1709_ACEOF 1710if ac_fn_c_try_cpp "$LINENO"; then : 1711 ac_header_preproc=yes 1712else 1713 ac_header_preproc=no 1714fi 1715rm -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? 1720case $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@lists.sourceforge.net ## 1740## ------------------------------------------------- ##" 1741 ) | sed "s/^/$as_me: WARNING: /" >&2 1742 ;; 1743esac 1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1745$as_echo_n "checking for $2... " >&6; } 1746if eval \${$3+:} false; then : 1747 $as_echo_n "(cached) " >&6 1748else 1749 eval "$3=\$ac_header_compiler" 1750fi 1751eval ac_res=\$$3 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1753$as_echo "$ac_res" >&6; } 1754fi 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. 1763ac_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" 1767case "(($ac_try" in 1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1769 *) ac_try_echo=$ac_try;; 1770esac 1771eval 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;; 1780esac 1781eval 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 1788else 1789 $as_echo "$as_me: program exited with status $ac_status" >&5 1790 $as_echo "$as_me: failed program was:" >&5 1791sed 's/^/| /' conftest.$ac_ext >&5 1792 1793 ac_retval=$ac_status 1794fi 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. 1805ac_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; } 1810if eval \${$3+:} false; then : 1811 $as_echo_n "(cached) " >&6 1812else 1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1814/* end confdefs.h. */ 1815$4 1816#include <$2> 1817_ACEOF 1818if ac_fn_c_try_compile "$LINENO"; then : 1819 eval "$3=yes" 1820else 1821 eval "$3=no" 1822fi 1823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1824fi 1825eval 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 1837ac_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. 1842cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1843/* end confdefs.h. */ 1844$4 1845int 1846main () 1847{ 1848static int test_array [1 - 2 * !(($2) >= 0)]; 1849test_array [0] = 0; 1850return test_array [0]; 1851 1852 ; 1853 return 0; 1854} 1855_ACEOF 1856if 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 1862int 1863main () 1864{ 1865static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1866test_array [0] = 0; 1867return test_array [0]; 1868 1869 ; 1870 return 0; 1871} 1872_ACEOF 1873if ac_fn_c_try_compile "$LINENO"; then : 1874 ac_hi=$ac_mid; break 1875else 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 1882fi 1883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1884 done 1885else 1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1887/* end confdefs.h. */ 1888$4 1889int 1890main () 1891{ 1892static int test_array [1 - 2 * !(($2) < 0)]; 1893test_array [0] = 0; 1894return test_array [0]; 1895 1896 ; 1897 return 0; 1898} 1899_ACEOF 1900if 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 1906int 1907main () 1908{ 1909static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1910test_array [0] = 0; 1911return test_array [0]; 1912 1913 ; 1914 return 0; 1915} 1916_ACEOF 1917if ac_fn_c_try_compile "$LINENO"; then : 1918 ac_lo=$ac_mid; break 1919else 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 1926fi 1927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1928 done 1929else 1930 ac_lo= ac_hi= 1931fi 1932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1933fi 1934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1935# Binary search between lo and hi bounds. 1936while 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 1941int 1942main () 1943{ 1944static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1945test_array [0] = 0; 1946return test_array [0]; 1947 1948 ; 1949 return 0; 1950} 1951_ACEOF 1952if ac_fn_c_try_compile "$LINENO"; then : 1953 ac_hi=$ac_mid 1954else 1955 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1956fi 1957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1958done 1959case $ac_lo in #(( 1960?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1961'') ac_retval=1 ;; 1962esac 1963 else 1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1965/* end confdefs.h. */ 1966$4 1967static long int longval () { return $2; } 1968static unsigned long int ulongval () { return $2; } 1969#include <stdio.h> 1970#include <stdlib.h> 1971int 1972main () 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 2000if ac_fn_c_try_run "$LINENO"; then : 2001 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2002else 2003 ac_retval=1 2004fi 2005rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2006 conftest.$ac_objext conftest.beam conftest.$ac_ext 2007rm -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 2018ac_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; } 2023if eval \${$3+:} false; then : 2024 $as_echo_n "(cached) " >&6 2025else 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 2052extern "C" 2053#endif 2054char $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 2059choke me 2060#endif 2061 2062int 2063main () 2064{ 2065return $2 (); 2066 ; 2067 return 0; 2068} 2069_ACEOF 2070if ac_fn_c_try_link "$LINENO"; then : 2071 eval "$3=yes" 2072else 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 2082int 2083main () 2084{ 2085return f != $2; 2086 ; 2087 return 0; 2088} 2089_ACEOF 2090if ac_fn_c_try_link "$LINENO"; then : 2091 eval "$3=yes" 2092else 2093 eval "$3=no" 2094fi 2095rm -f core conftest.err conftest.$ac_objext \ 2096 conftest$ac_exeext conftest.$ac_ext 2097 else 2098 eval "$3=no" 2099 fi 2100fi 2101rm -f core conftest.err conftest.$ac_objext \ 2102 conftest$ac_exeext conftest.$ac_ext 2103fi 2104eval 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. 2115ac_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; } 2120if eval \${$3+:} false; then : 2121 $as_echo_n "(cached) " >&6 2122else 2123 eval "$3=no" 2124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2125/* end confdefs.h. */ 2126$4 2127int 2128main () 2129{ 2130if (sizeof ($2)) 2131 return 0; 2132 ; 2133 return 0; 2134} 2135_ACEOF 2136if ac_fn_c_try_compile "$LINENO"; then : 2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2138/* end confdefs.h. */ 2139$4 2140int 2141main () 2142{ 2143if (sizeof (($2))) 2144 return 0; 2145 ; 2146 return 0; 2147} 2148_ACEOF 2149if ac_fn_c_try_compile "$LINENO"; then : 2150 2151else 2152 eval "$3=yes" 2153fi 2154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2155fi 2156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2157fi 2158eval 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. 2169ac_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; } 2174if eval \${$4+:} false; then : 2175 $as_echo_n "(cached) " >&6 2176else 2177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2178/* end confdefs.h. */ 2179$5 2180int 2181main () 2182{ 2183static $2 ac_aggr; 2184if (ac_aggr.$3) 2185return 0; 2186 ; 2187 return 0; 2188} 2189_ACEOF 2190if ac_fn_c_try_compile "$LINENO"; then : 2191 eval "$4=yes" 2192else 2193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2194/* end confdefs.h. */ 2195$5 2196int 2197main () 2198{ 2199static $2 ac_aggr; 2200if (sizeof ac_aggr.$3) 2201return 0; 2202 ; 2203 return 0; 2204} 2205_ACEOF 2206if ac_fn_c_try_compile "$LINENO"; then : 2207 eval "$4=yes" 2208else 2209 eval "$4=no" 2210fi 2211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2212fi 2213rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2214fi 2215eval 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. 2226ac_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; } 2233if eval \${$3+:} false; then : 2234 $as_echo_n "(cached) " >&6 2235else 2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2237/* end confdefs.h. */ 2238$4 2239int 2240main () 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 2254if ac_fn_c_try_compile "$LINENO"; then : 2255 eval "$3=yes" 2256else 2257 eval "$3=no" 2258fi 2259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2260fi 2261eval 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 2267cat >config.log <<_ACEOF 2268This file contains any messages produced by compilers while 2269running configure, to aid debugging if configure makes a mistake. 2270 2271It was created by strace $as_me 4.18, which was 2272generated by GNU Autoconf 2.69. Invocation command line was 2273 2274 $ $0 $@ 2275 2276_ACEOF 2277exec 5>>config.log 2278{ 2279cat <<_ASUNAME 2280## --------- ## 2281## Platform. ## 2282## --------- ## 2283 2284hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2285uname -m = `(uname -m) 2>/dev/null || echo unknown` 2286uname -r = `(uname -r) 2>/dev/null || echo unknown` 2287uname -s = `(uname -s) 2>/dev/null || echo unknown` 2288uname -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 2303as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2304for as_dir in $PATH 2305do 2306 IFS=$as_save_IFS 2307 test -z "$as_dir" && as_dir=. 2308 $as_echo "PATH: $as_dir" 2309 done 2310IFS=$as_save_IFS 2311 2312} >&5 2313 2314cat >&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. 2329ac_configure_args= 2330ac_configure_args0= 2331ac_configure_args1= 2332ac_must_keep_next=false 2333for ac_pass in 1 2 2334do 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 2368done 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. 2377trap '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 2466for ac_signal in 1 2 13 15; do 2467 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2468done 2469ac_signal=0 2470 2471# confdefs.h avoids OS command line length limits that DEFS can exceed. 2472rm -f -r conftest* confdefs.h 2473 2474$as_echo "/* confdefs.h */" > confdefs.h 2475 2476# Predefined preprocessor variables. 2477 2478cat >>confdefs.h <<_ACEOF 2479#define PACKAGE_NAME "$PACKAGE_NAME" 2480_ACEOF 2481 2482cat >>confdefs.h <<_ACEOF 2483#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2484_ACEOF 2485 2486cat >>confdefs.h <<_ACEOF 2487#define PACKAGE_VERSION "$PACKAGE_VERSION" 2488_ACEOF 2489 2490cat >>confdefs.h <<_ACEOF 2491#define PACKAGE_STRING "$PACKAGE_STRING" 2492_ACEOF 2493 2494cat >>confdefs.h <<_ACEOF 2495#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2496_ACEOF 2497 2498cat >>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. 2505ac_site_file1=NONE 2506ac_site_file2=NONE 2507if 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 2514elif test "x$prefix" != xNONE; then 2515 ac_site_file1=$prefix/share/config.site 2516 ac_site_file2=$prefix/etc/config.site 2517else 2518 ac_site_file1=$ac_default_prefix/share/config.site 2519 ac_site_file2=$ac_default_prefix/etc/config.site 2520fi 2521for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2522do 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;} 2531as_fn_error $? "failed to load site script $ac_site_file 2532See \`config.log' for more details" "$LINENO" 5; } 2533 fi 2534done 2535 2536if 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 2547else 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 2551fi 2552 2553# Check that the precious variables saved in the cache have kept the same 2554# value. 2555ac_cache_corrupted=false 2556for 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 2602done 2603if $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 2609fi 2610## -------------------- ## 2611## Main body of script. ## 2612## -------------------- ## 2613 2614ac_ext=c 2615ac_cpp='$CPP $CPPFLAGS' 2616ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2617ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2618ac_compiler_gnu=$ac_cv_c_compiler_gnu 2619 2620 2621 2622 2623 2624ac_aux_dir= 2625for 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 2639done 2640if test -z "$ac_aux_dir"; then 2641 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 2642fi 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. 2648ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2649ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2650ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2651 2652 2653ac_config_headers="$ac_config_headers config.h" 2654 2655am__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; } 2673if test -z "$INSTALL"; then 2674if ${ac_cv_path_install+:} false; then : 2675 $as_echo_n "(cached) " >&6 2676else 2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2678for as_dir in $PATH 2679do 2680 IFS=$as_save_IFS 2681 test -z "$as_dir" && as_dir=. 2682 # Account for people who put trailing slashes in PATH elements. 2683case $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 ;; 2721esac 2722 2723 done 2724IFS=$as_save_IFS 2725 2726rm -rf conftest.one conftest.two conftest.dir 2727 2728fi 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 2738fi 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. 2744test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2745 2746test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2747 2748test -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. 2754am_lf=' 2755' 2756case `pwd` in 2757 *[\\\"\#\$\&\'\`$am_lf]*) 2758 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2759esac 2760case $srcdir in 2761 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2762 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2763esac 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). 2770if ( 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 ) 2798then 2799 # Ok. 2800 : 2801else 2802 as_fn_error $? "newly created file is older than distributed files! 2803Check your system clock" "$LINENO" 5 2804fi 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. 2809am_sleep_pid= 2810if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2811 ( sleep 1 ) & 2812 am_sleep_pid=$! 2813fi 2814 2815rm -f conftest.file 2816 2817test "$program_prefix" != NONE && 2818 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2819# Use a double $ so make ignores it. 2820test "$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. 2824ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2825program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2826 2827# expand $ac_aux_dir to an absolute path 2828am_aux_dir=`cd $ac_aux_dir && pwd` 2829 2830if 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 2837fi 2838# Use eval to expand $SHELL 2839if eval "$MISSING --is-lightweight"; then 2840 am_missing_run="$MISSING " 2841else 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;} 2845fi 2846 2847if 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 2854fi 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. 2860if 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. 2863set 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; } 2866if ${ac_cv_prog_STRIP+:} false; then : 2867 $as_echo_n "(cached) " >&6 2868else 2869 if test -n "$STRIP"; then 2870 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2871else 2872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2873for as_dir in $PATH 2874do 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 2883done 2884 done 2885IFS=$as_save_IFS 2886 2887fi 2888fi 2889STRIP=$ac_cv_prog_STRIP 2890if test -n "$STRIP"; then 2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2892$as_echo "$STRIP" >&6; } 2893else 2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2895$as_echo "no" >&6; } 2896fi 2897 2898 2899fi 2900if 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. 2903set 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; } 2906if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2907 $as_echo_n "(cached) " >&6 2908else 2909 if test -n "$ac_ct_STRIP"; then 2910 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2911else 2912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2913for as_dir in $PATH 2914do 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 2923done 2924 done 2925IFS=$as_save_IFS 2926 2927fi 2928fi 2929ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2930if 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; } 2933else 2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2935$as_echo "no" >&6; } 2936fi 2937 2938 if test "x$ac_ct_STRIP" = x; then 2939 STRIP=":" 2940 else 2941 case $cross_compiling:$ac_tool_warned in 2942yes:) 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;} 2945ac_tool_warned=yes ;; 2946esac 2947 STRIP=$ac_ct_STRIP 2948 fi 2949else 2950 STRIP="$ac_cv_prog_STRIP" 2951fi 2952 2953fi 2954INSTALL_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; } 2958if test -z "$MKDIR_P"; then 2959 if ${ac_cv_path_mkdir+:} false; then : 2960 $as_echo_n "(cached) " >&6 2961else 2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2963for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2964do 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 2980IFS=$as_save_IFS 2981 2982fi 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 2994fi 2995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2996$as_echo "$MKDIR_P" >&6; } 2997 2998for ac_prog in gawk mawk nawk awk 2999do 3000 # Extract the first word of "$ac_prog", so it can be a program name with args. 3001set 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; } 3004if ${ac_cv_prog_AWK+:} false; then : 3005 $as_echo_n "(cached) " >&6 3006else 3007 if test -n "$AWK"; then 3008 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3009else 3010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3011for as_dir in $PATH 3012do 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 3021done 3022 done 3023IFS=$as_save_IFS 3024 3025fi 3026fi 3027AWK=$ac_cv_prog_AWK 3028if test -n "$AWK"; then 3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3030$as_echo "$AWK" >&6; } 3031else 3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3033$as_echo "no" >&6; } 3034fi 3035 3036 3037 test -n "$AWK" && break 3038done 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; } 3042set x ${MAKE-make} 3043ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3044if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3045 $as_echo_n "(cached) " >&6 3046else 3047 cat >conftest.make <<\_ACEOF 3048SHELL = /bin/sh 3049all: 3050 @echo '@@@%%%=$(MAKE)=@@@%%%' 3051_ACEOF 3052# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3053case `${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;; 3058esac 3059rm -f conftest.make 3060fi 3061if 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= 3065else 3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3067$as_echo "no" >&6; } 3068 SET_MAKE="MAKE=${MAKE-make}" 3069fi 3070 3071rm -rf .tst 2>/dev/null 3072mkdir .tst 2>/dev/null 3073if test -d .tst; then 3074 am__leading_dot=. 3075else 3076 am__leading_dot=_ 3077fi 3078rmdir .tst 2>/dev/null 3079 3080# Check whether --enable-silent-rules was given. 3081if test "${enable_silent_rules+set}" = set; then : 3082 enableval=$enable_silent_rules; 3083fi 3084 3085case $enable_silent_rules in # ((( 3086 yes) AM_DEFAULT_VERBOSITY=0;; 3087 no) AM_DEFAULT_VERBOSITY=1;; 3088 *) AM_DEFAULT_VERBOSITY=1;; 3089esac 3090am_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; } 3093if ${am_cv_make_support_nested_variables+:} false; then : 3094 $as_echo_n "(cached) " >&6 3095else 3096 if $as_echo 'TRUE=$(BAR$(V)) 3097BAR0=false 3098BAR1=true 3099V=1 3100am__doit: 3101 @$(TRUE) 3102.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3103 am_cv_make_support_nested_variables=yes 3104else 3105 am_cv_make_support_nested_variables=no 3106fi 3107fi 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; } 3110if test $am_cv_make_support_nested_variables = yes; then 3111 AM_V='$(V)' 3112 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3113else 3114 AM_V=$AM_DEFAULT_VERBOSITY 3115 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3116fi 3117AM_BACKSLASH='\' 3118 3119if 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 3127fi 3128 3129# test whether we have cygpath 3130if 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 3136fi 3137 3138 3139# Define the identity of the package. 3140 PACKAGE='strace' 3141 VERSION='4.18' 3142 3143 3144cat >>confdefs.h <<_ACEOF 3145#define PACKAGE "$PACKAGE" 3146_ACEOF 3147 3148 3149cat >>confdefs.h <<_ACEOF 3150#define VERSION "$VERSION" 3151_ACEOF 3152 3153# Some tools Automake needs. 3154 3155ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3156 3157 3158AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3159 3160 3161AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3162 3163 3164AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3165 3166 3167MAKEINFO=${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> 3173mkdir_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 ... 3179AMTAR='$${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 3185am__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. 3200if rm -f && rm -fr && rm -rf; then : OK; else 3201 cat >&2 <<'END' 3202Oops! 3203 3204Your 'rm' program seems unable to run without file operands specified 3205on the command line, even when the '-f' option is present. This is contrary 3206to the behaviour of most rm programs out there, and not conforming with 3207the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3208 3209Please tell bug-automake@gnu.org about your system, including the value 3210of your $PATH and any error possibly output before this message. This 3211can help us improve future automake versions. 3212 3213END 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' 3220Aborting the configuration process, to ensure you take notice of the issue. 3221 3222You can download and install GNU coreutils to get an 'rm' implementation 3223that behaves properly: <http://www.gnu.org/software/coreutils/>. 3224 3225If you want to complete the configuration process using your problematic 3226'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3227to "yes", and re-run configure. 3228 3229END 3230 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3231 fi 3232fi 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. 3238if test "${enable_maintainer_mode+set}" = set; then : 3239 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3240else 3241 USE_MAINTAINER_MODE=no 3242fi 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='#' 3249else 3250 MAINTAINER_MODE_TRUE='#' 3251 MAINTAINER_MODE_FALSE= 3252fi 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; } 3263if ${ac_cv_build+:} false; then : 3264 $as_echo_n "(cached) " >&6 3265else 3266 ac_build_alias=$build_alias 3267test "x$ac_build_alias" = x && 3268 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3269test "x$ac_build_alias" = x && 3270 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3271ac_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 3274fi 3275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3276$as_echo "$ac_cv_build" >&6; } 3277case $ac_cv_build in 3278*-*-*) ;; 3279*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3280esac 3281build=$ac_cv_build 3282ac_save_IFS=$IFS; IFS='-' 3283set x $ac_cv_build 3284shift 3285build_cpu=$1 3286build_vendor=$2 3287shift; shift 3288# Remember, the first character of IFS is used to create $*, 3289# except with old shells: 3290build_os=$* 3291IFS=$ac_save_IFS 3292case $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; } 3297if ${ac_cv_host+:} false; then : 3298 $as_echo_n "(cached) " >&6 3299else 3300 if test "x$host_alias" = x; then 3301 ac_cv_host=$ac_cv_build 3302else 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 3305fi 3306 3307fi 3308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3309$as_echo "$ac_cv_host" >&6; } 3310case $ac_cv_host in 3311*-*-*) ;; 3312*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3313esac 3314host=$ac_cv_host 3315ac_save_IFS=$IFS; IFS='-' 3316set x $ac_cv_host 3317shift 3318host_cpu=$1 3319host_vendor=$2 3320shift; shift 3321# Remember, the first character of IFS is used to create $*, 3322# except with old shells: 3323host_os=$* 3324IFS=$ac_save_IFS 3325case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3326 3327 3328 3329RPM_CHANGELOGTIME="$(LC_TIME=C date '+%a %b %d %Y')" 3330 3331DEB_CHANGELOGTIME="$(LC_TIME=C date -R)" 3332 3333 3334ac_ext=c 3335ac_cpp='$CPP $CPPFLAGS' 3336ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3337ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3338ac_compiler_gnu=$ac_cv_c_compiler_gnu 3339if 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. 3341set 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; } 3344if ${ac_cv_prog_CC+:} false; then : 3345 $as_echo_n "(cached) " >&6 3346else 3347 if test -n "$CC"; then 3348 ac_cv_prog_CC="$CC" # Let the user override the test. 3349else 3350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3351for as_dir in $PATH 3352do 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 3361done 3362 done 3363IFS=$as_save_IFS 3364 3365fi 3366fi 3367CC=$ac_cv_prog_CC 3368if test -n "$CC"; then 3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3370$as_echo "$CC" >&6; } 3371else 3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3373$as_echo "no" >&6; } 3374fi 3375 3376 3377fi 3378if 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. 3381set 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; } 3384if ${ac_cv_prog_ac_ct_CC+:} false; then : 3385 $as_echo_n "(cached) " >&6 3386else 3387 if test -n "$ac_ct_CC"; then 3388 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3389else 3390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3391for as_dir in $PATH 3392do 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 3401done 3402 done 3403IFS=$as_save_IFS 3404 3405fi 3406fi 3407ac_ct_CC=$ac_cv_prog_ac_ct_CC 3408if 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; } 3411else 3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3413$as_echo "no" >&6; } 3414fi 3415 3416 if test "x$ac_ct_CC" = x; then 3417 CC="" 3418 else 3419 case $cross_compiling:$ac_tool_warned in 3420yes:) 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;} 3423ac_tool_warned=yes ;; 3424esac 3425 CC=$ac_ct_CC 3426 fi 3427else 3428 CC="$ac_cv_prog_CC" 3429fi 3430 3431if 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. 3434set 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; } 3437if ${ac_cv_prog_CC+:} false; then : 3438 $as_echo_n "(cached) " >&6 3439else 3440 if test -n "$CC"; then 3441 ac_cv_prog_CC="$CC" # Let the user override the test. 3442else 3443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3444for as_dir in $PATH 3445do 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 3454done 3455 done 3456IFS=$as_save_IFS 3457 3458fi 3459fi 3460CC=$ac_cv_prog_CC 3461if test -n "$CC"; then 3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3463$as_echo "$CC" >&6; } 3464else 3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3466$as_echo "no" >&6; } 3467fi 3468 3469 3470 fi 3471fi 3472if test -z "$CC"; then 3473 # Extract the first word of "cc", so it can be a program name with args. 3474set 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; } 3477if ${ac_cv_prog_CC+:} false; then : 3478 $as_echo_n "(cached) " >&6 3479else 3480 if test -n "$CC"; then 3481 ac_cv_prog_CC="$CC" # Let the user override the test. 3482else 3483 ac_prog_rejected=no 3484as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3485for as_dir in $PATH 3486do 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 3499done 3500 done 3501IFS=$as_save_IFS 3502 3503if 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 3514fi 3515fi 3516fi 3517CC=$ac_cv_prog_CC 3518if test -n "$CC"; then 3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3520$as_echo "$CC" >&6; } 3521else 3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3523$as_echo "no" >&6; } 3524fi 3525 3526 3527fi 3528if 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. 3533set 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; } 3536if ${ac_cv_prog_CC+:} false; then : 3537 $as_echo_n "(cached) " >&6 3538else 3539 if test -n "$CC"; then 3540 ac_cv_prog_CC="$CC" # Let the user override the test. 3541else 3542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3543for as_dir in $PATH 3544do 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 3553done 3554 done 3555IFS=$as_save_IFS 3556 3557fi 3558fi 3559CC=$ac_cv_prog_CC 3560if test -n "$CC"; then 3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3562$as_echo "$CC" >&6; } 3563else 3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3565$as_echo "no" >&6; } 3566fi 3567 3568 3569 test -n "$CC" && break 3570 done 3571fi 3572if test -z "$CC"; then 3573 ac_ct_CC=$CC 3574 for ac_prog in cl.exe 3575do 3576 # Extract the first word of "$ac_prog", so it can be a program name with args. 3577set 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; } 3580if ${ac_cv_prog_ac_ct_CC+:} false; then : 3581 $as_echo_n "(cached) " >&6 3582else 3583 if test -n "$ac_ct_CC"; then 3584 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3585else 3586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3587for as_dir in $PATH 3588do 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 3597done 3598 done 3599IFS=$as_save_IFS 3600 3601fi 3602fi 3603ac_ct_CC=$ac_cv_prog_ac_ct_CC 3604if 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; } 3607else 3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3609$as_echo "no" >&6; } 3610fi 3611 3612 3613 test -n "$ac_ct_CC" && break 3614done 3615 3616 if test "x$ac_ct_CC" = x; then 3617 CC="" 3618 else 3619 case $cross_compiling:$ac_tool_warned in 3620yes:) 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;} 3623ac_tool_warned=yes ;; 3624esac 3625 CC=$ac_ct_CC 3626 fi 3627fi 3628 3629fi 3630 3631 3632test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3633$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3634as_fn_error $? "no acceptable C compiler found in \$PATH 3635See \`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 3639set X $ac_compile 3640ac_compiler=$2 3641for ac_option in --version -v -V -qversion; do 3642 { { ac_try="$ac_compiler $ac_option >&5" 3643case "(($ac_try" in 3644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3645 *) ac_try_echo=$ac_try;; 3646esac 3647eval 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; } 3660done 3661 3662cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3663/* end confdefs.h. */ 3664 3665int 3666main () 3667{ 3668 3669 ; 3670 return 0; 3671} 3672_ACEOF 3673ac_clean_files_save=$ac_clean_files 3674ac_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; } 3680ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3681 3682# The possible output files: 3683ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3684 3685ac_rmfiles= 3686for ac_file in $ac_files 3687do 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 3692done 3693rm -f $ac_rmfiles 3694 3695if { { ac_try="$ac_link_default" 3696case "(($ac_try" in 3697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3698 *) ac_try_echo=$ac_try;; 3699esac 3700eval 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. 3711for ac_file in $ac_files '' 3712do 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 3735done 3736test "$ac_cv_exeext" = no && ac_cv_exeext= 3737 3738else 3739 ac_file='' 3740fi 3741if 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 3745sed '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;} 3749as_fn_error 77 "C compiler cannot create executables 3750See \`config.log' for more details" "$LINENO" 5; } 3751else 3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3753$as_echo "yes" >&6; } 3754fi 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; } 3759ac_exeext=$ac_cv_exeext 3760 3761rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3762ac_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; } 3765if { { ac_try="$ac_link" 3766case "(($ac_try" in 3767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3768 *) ac_try_echo=$ac_try;; 3769esac 3770eval 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'. 3780for 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 3788done 3789else 3790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3791$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3792as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3793See \`config.log' for more details" "$LINENO" 5; } 3794fi 3795rm -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 3799rm -f conftest.$ac_ext 3800EXEEXT=$ac_cv_exeext 3801ac_exeext=$EXEEXT 3802cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3803/* end confdefs.h. */ 3804#include <stdio.h> 3805int 3806main () 3807{ 3808FILE *f = fopen ("conftest.out", "w"); 3809 return ferror (f) || fclose (f) != 0; 3810 3811 ; 3812 return 0; 3813} 3814_ACEOF 3815ac_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; } 3820if test "$cross_compiling" != yes; then 3821 { { ac_try="$ac_link" 3822case "(($ac_try" in 3823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3824 *) ac_try_echo=$ac_try;; 3825esac 3826eval 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;; 3836esac 3837eval 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;} 3850as_fn_error $? "cannot run C compiled programs. 3851If you meant to cross compile, use \`--host'. 3852See \`config.log' for more details" "$LINENO" 5; } 3853 fi 3854 fi 3855fi 3856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3857$as_echo "$cross_compiling" >&6; } 3858 3859rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3860ac_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; } 3863if ${ac_cv_objext+:} false; then : 3864 $as_echo_n "(cached) " >&6 3865else 3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3867/* end confdefs.h. */ 3868 3869int 3870main () 3871{ 3872 3873 ; 3874 return 0; 3875} 3876_ACEOF 3877rm -f conftest.o conftest.obj 3878if { { ac_try="$ac_compile" 3879case "(($ac_try" in 3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3881 *) ac_try_echo=$ac_try;; 3882esac 3883eval 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 3896done 3897else 3898 $as_echo "$as_me: failed program was:" >&5 3899sed '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;} 3903as_fn_error $? "cannot compute suffix of object files: cannot compile 3904See \`config.log' for more details" "$LINENO" 5; } 3905fi 3906rm -f conftest.$ac_cv_objext conftest.$ac_ext 3907fi 3908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3909$as_echo "$ac_cv_objext" >&6; } 3910OBJEXT=$ac_cv_objext 3911ac_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; } 3914if ${ac_cv_c_compiler_gnu+:} false; then : 3915 $as_echo_n "(cached) " >&6 3916else 3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3918/* end confdefs.h. */ 3919 3920int 3921main () 3922{ 3923#ifndef __GNUC__ 3924 choke me 3925#endif 3926 3927 ; 3928 return 0; 3929} 3930_ACEOF 3931if ac_fn_c_try_compile "$LINENO"; then : 3932 ac_compiler_gnu=yes 3933else 3934 ac_compiler_gnu=no 3935fi 3936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3937ac_cv_c_compiler_gnu=$ac_compiler_gnu 3938 3939fi 3940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3941$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3942if test $ac_compiler_gnu = yes; then 3943 GCC=yes 3944else 3945 GCC= 3946fi 3947ac_test_CFLAGS=${CFLAGS+set} 3948ac_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; } 3951if ${ac_cv_prog_cc_g+:} false; then : 3952 $as_echo_n "(cached) " >&6 3953else 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 3961int 3962main () 3963{ 3964 3965 ; 3966 return 0; 3967} 3968_ACEOF 3969if ac_fn_c_try_compile "$LINENO"; then : 3970 ac_cv_prog_cc_g=yes 3971else 3972 CFLAGS="" 3973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3974/* end confdefs.h. */ 3975 3976int 3977main () 3978{ 3979 3980 ; 3981 return 0; 3982} 3983_ACEOF 3984if ac_fn_c_try_compile "$LINENO"; then : 3985 3986else 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 3992int 3993main () 3994{ 3995 3996 ; 3997 return 0; 3998} 3999_ACEOF 4000if ac_fn_c_try_compile "$LINENO"; then : 4001 ac_cv_prog_cc_g=yes 4002fi 4003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4004fi 4005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4006fi 4007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4008 ac_c_werror_flag=$ac_save_c_werror_flag 4009fi 4010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4011$as_echo "$ac_cv_prog_cc_g" >&6; } 4012if test "$ac_test_CFLAGS" = set; then 4013 CFLAGS=$ac_save_CFLAGS 4014elif 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 4020else 4021 if test "$GCC" = yes; then 4022 CFLAGS="-O2" 4023 else 4024 CFLAGS= 4025 fi 4026fi 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; } 4029if ${ac_cv_prog_cc_c89+:} false; then : 4030 $as_echo_n "(cached) " >&6 4031else 4032 ac_cv_prog_cc_c89=no 4033ac_save_CC=$CC 4034cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4035/* end confdefs.h. */ 4036#include <stdarg.h> 4037#include <stdio.h> 4038struct stat; 4039/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4040struct buf { int x; }; 4041FILE * (*rcsopen) (struct buf *, struct stat *, int); 4042static char *e (p, i) 4043 char **p; 4044 int i; 4045{ 4046 return p[i]; 4047} 4048static 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. */ 4065int 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' 4070int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4071 4072int test (int i, double x); 4073struct s1 {int (*f) (int a);}; 4074struct s2 {int (*f) (double a);}; 4075int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4076int argc; 4077char **argv; 4078int 4079main () 4080{ 4081return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4082 ; 4083 return 0; 4084} 4085_ACEOF 4086for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4087 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4088do 4089 CC="$ac_save_CC $ac_arg" 4090 if ac_fn_c_try_compile "$LINENO"; then : 4091 ac_cv_prog_cc_c89=$ac_arg 4092fi 4093rm -f core conftest.err conftest.$ac_objext 4094 test "x$ac_cv_prog_cc_c89" != "xno" && break 4095done 4096rm -f conftest.$ac_ext 4097CC=$ac_save_CC 4098 4099fi 4100# AC_CACHE_VAL 4101case "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; } ;; 4112esac 4113if test "x$ac_cv_prog_cc_c89" != xno; then : 4114 4115fi 4116 4117ac_ext=c 4118ac_cpp='$CPP $CPPFLAGS' 4119ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4120ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4121ac_compiler_gnu=$ac_cv_c_compiler_gnu 4122 4123ac_ext=c 4124ac_cpp='$CPP $CPPFLAGS' 4125ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4126ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4127ac_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; } 4130if ${am_cv_prog_cc_c_o+:} false; then : 4131 $as_echo_n "(cached) " >&6 4132else 4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4134/* end confdefs.h. */ 4135 4136int 4137main () 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 4164fi 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; } 4167if 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" 4174fi 4175ac_ext=c 4176ac_cpp='$CPP $CPPFLAGS' 4177ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4178ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4179ac_compiler_gnu=$ac_cv_c_compiler_gnu 4180 4181DEPDIR="${am__leading_dot}deps" 4182 4183ac_config_commands="$ac_config_commands depfiles" 4184 4185 4186am_make=${MAKE-make} 4187cat > confinc << 'END' 4188am__doit: 4189 @echo this is the am__doit target 4190.PHONY: am__doit 4191END 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; } 4195am__include="#" 4196am__quote= 4197_am_result=none 4198# First try GNU make style include. 4199echo "include confinc" > confmf 4200# Ignore all kinds of additional output from 'make'. 4201case `$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 ;; 4207esac 4208# Now try BSD make style include. 4209if 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 4218fi 4219 4220 4221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4222$as_echo "$_am_result" >&6; } 4223rm -f confinc confmf 4224 4225# Check whether --enable-dependency-tracking was given. 4226if test "${enable_dependency_tracking+set}" = set; then : 4227 enableval=$enable_dependency_tracking; 4228fi 4229 4230if test "x$enable_dependency_tracking" != xno; then 4231 am_depcomp="$ac_aux_dir/depcomp" 4232 AMDEPBACKSLASH='\' 4233 am__nodep='_no' 4234fi 4235 if test "x$enable_dependency_tracking" != xno; then 4236 AMDEP_TRUE= 4237 AMDEP_FALSE='#' 4238else 4239 AMDEP_TRUE='#' 4240 AMDEP_FALSE= 4241fi 4242 4243 4244 4245depcc="$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; } 4249if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4250 $as_echo_n "(cached) " >&6 4251else 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 4353else 4354 am_cv_CC_dependencies_compiler_type=none 4355fi 4356 4357fi 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; } 4360CCDEPMODE=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='#' 4367else 4368 am__fastdepCC_TRUE='#' 4369 am__fastdepCC_FALSE= 4370fi 4371 4372 4373ac_ext=c 4374ac_cpp='$CPP $CPPFLAGS' 4375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4377ac_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. 4381if test -n "$CPP" && test -d "$CPP"; then 4382 CPP= 4383fi 4384if test -z "$CPP"; then 4385 if ${ac_cv_prog_CPP+:} false; then : 4386 $as_echo_n "(cached) " >&6 4387else 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 4392for ac_c_preproc_warn_flag in '' yes 4393do 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 4409if ac_fn_c_try_cpp "$LINENO"; then : 4410 4411else 4412 # Broken: fails on valid input. 4413continue 4414fi 4415rm -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 4423if ac_fn_c_try_cpp "$LINENO"; then : 4424 # Broken: success on invalid input. 4425continue 4426else 4427 # Passes both tests. 4428ac_preproc_ok=: 4429break 4430fi 4431rm -f conftest.err conftest.i conftest.$ac_ext 4432 4433done 4434# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4435rm -f conftest.i conftest.err conftest.$ac_ext 4436if $ac_preproc_ok; then : 4437 break 4438fi 4439 4440 done 4441 ac_cv_prog_CPP=$CPP 4442 4443fi 4444 CPP=$ac_cv_prog_CPP 4445else 4446 ac_cv_prog_CPP=$CPP 4447fi 4448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4449$as_echo "$CPP" >&6; } 4450ac_preproc_ok=false 4451for ac_c_preproc_warn_flag in '' yes 4452do 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 4468if ac_fn_c_try_cpp "$LINENO"; then : 4469 4470else 4471 # Broken: fails on valid input. 4472continue 4473fi 4474rm -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 4482if ac_fn_c_try_cpp "$LINENO"; then : 4483 # Broken: success on invalid input. 4484continue 4485else 4486 # Passes both tests. 4487ac_preproc_ok=: 4488break 4489fi 4490rm -f conftest.err conftest.i conftest.$ac_ext 4491 4492done 4493# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4494rm -f conftest.i conftest.err conftest.$ac_ext 4495if $ac_preproc_ok; then : 4496 4497else 4498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4499$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4500as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4501See \`config.log' for more details" "$LINENO" 5; } 4502fi 4503 4504ac_ext=c 4505ac_cpp='$CPP $CPPFLAGS' 4506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4508ac_compiler_gnu=$ac_cv_c_compiler_gnu 4509 4510 4511if 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; } 4514if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4515 $as_echo_n "(cached) " >&6 4516else 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 4523int 4524main () 4525{ 4526 4527 ; 4528 return 0; 4529} 4530_ACEOF 4531if ac_fn_c_try_link "$LINENO"; then : 4532 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4533else 4534 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4535fi 4536rm -f core conftest.err conftest.$ac_objext \ 4537 conftest$ac_exeext conftest.$ac_ext 4538 CFLAGS="$gl_save_compiler_FLAGS" 4539 4540fi 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; } 4543if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4544 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4545else 4546 gl_unknown_warnings_are_errors= 4547fi 4548 4549 4550fi 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; } 4554if ${gl_cv_warn_CFLAGS__Wall+:} false; then : 4555 $as_echo_n "(cached) " >&6 4556else 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 4563int 4564main () 4565{ 4566 4567 ; 4568 return 0; 4569} 4570_ACEOF 4571if ac_fn_c_try_link "$LINENO"; then : 4572 gl_cv_warn_CFLAGS__Wall=yes 4573else 4574 gl_cv_warn_CFLAGS__Wall=no 4575fi 4576rm -f core conftest.err conftest.$ac_objext \ 4577 conftest$ac_exeext conftest.$ac_ext 4578 CFLAGS="$gl_save_compiler_FLAGS" 4579 4580fi 4581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wall" >&5 4582$as_echo "$gl_cv_warn_CFLAGS__Wall" >&6; } 4583if test "x$gl_cv_warn_CFLAGS__Wall" = xyes; then : 4584 as_fn_append WARN_CFLAGS " -Wall" 4585fi 4586 4587 4588if 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; } 4591if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4592 $as_echo_n "(cached) " >&6 4593else 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 4600int 4601main () 4602{ 4603 4604 ; 4605 return 0; 4606} 4607_ACEOF 4608if ac_fn_c_try_link "$LINENO"; then : 4609 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4610else 4611 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4612fi 4613rm -f core conftest.err conftest.$ac_objext \ 4614 conftest$ac_exeext conftest.$ac_ext 4615 CFLAGS="$gl_save_compiler_FLAGS" 4616 4617fi 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; } 4620if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4621 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4622else 4623 gl_unknown_warnings_are_errors= 4624fi 4625 4626 4627fi 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; } 4631if ${gl_cv_warn_CFLAGS__Wempty_body+:} false; then : 4632 $as_echo_n "(cached) " >&6 4633else 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 4640int 4641main () 4642{ 4643 4644 ; 4645 return 0; 4646} 4647_ACEOF 4648if ac_fn_c_try_link "$LINENO"; then : 4649 gl_cv_warn_CFLAGS__Wempty_body=yes 4650else 4651 gl_cv_warn_CFLAGS__Wempty_body=no 4652fi 4653rm -f core conftest.err conftest.$ac_objext \ 4654 conftest$ac_exeext conftest.$ac_ext 4655 CFLAGS="$gl_save_compiler_FLAGS" 4656 4657fi 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; } 4660if test "x$gl_cv_warn_CFLAGS__Wempty_body" = xyes; then : 4661 as_fn_append WARN_CFLAGS " -Wempty-body" 4662fi 4663 4664 4665if 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; } 4668if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4669 $as_echo_n "(cached) " >&6 4670else 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 4677int 4678main () 4679{ 4680 4681 ; 4682 return 0; 4683} 4684_ACEOF 4685if ac_fn_c_try_link "$LINENO"; then : 4686 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4687else 4688 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4689fi 4690rm -f core conftest.err conftest.$ac_objext \ 4691 conftest$ac_exeext conftest.$ac_ext 4692 CFLAGS="$gl_save_compiler_FLAGS" 4693 4694fi 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; } 4697if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4698 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4699else 4700 gl_unknown_warnings_are_errors= 4701fi 4702 4703 4704fi 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; } 4708if ${gl_cv_warn_CFLAGS__Wformat_security+:} false; then : 4709 $as_echo_n "(cached) " >&6 4710else 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 4717int 4718main () 4719{ 4720 4721 ; 4722 return 0; 4723} 4724_ACEOF 4725if ac_fn_c_try_link "$LINENO"; then : 4726 gl_cv_warn_CFLAGS__Wformat_security=yes 4727else 4728 gl_cv_warn_CFLAGS__Wformat_security=no 4729fi 4730rm -f core conftest.err conftest.$ac_objext \ 4731 conftest$ac_exeext conftest.$ac_ext 4732 CFLAGS="$gl_save_compiler_FLAGS" 4733 4734fi 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; } 4737if test "x$gl_cv_warn_CFLAGS__Wformat_security" = xyes; then : 4738 as_fn_append WARN_CFLAGS " -Wformat-security" 4739fi 4740 4741 4742if 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; } 4745if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4746 $as_echo_n "(cached) " >&6 4747else 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 4754int 4755main () 4756{ 4757 4758 ; 4759 return 0; 4760} 4761_ACEOF 4762if ac_fn_c_try_link "$LINENO"; then : 4763 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4764else 4765 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4766fi 4767rm -f core conftest.err conftest.$ac_objext \ 4768 conftest$ac_exeext conftest.$ac_ext 4769 CFLAGS="$gl_save_compiler_FLAGS" 4770 4771fi 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; } 4774if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4775 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4776else 4777 gl_unknown_warnings_are_errors= 4778fi 4779 4780 4781fi 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; } 4785if ${gl_cv_warn_CFLAGS__Wignored_qualifiers+:} false; then : 4786 $as_echo_n "(cached) " >&6 4787else 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 4794int 4795main () 4796{ 4797 4798 ; 4799 return 0; 4800} 4801_ACEOF 4802if ac_fn_c_try_link "$LINENO"; then : 4803 gl_cv_warn_CFLAGS__Wignored_qualifiers=yes 4804else 4805 gl_cv_warn_CFLAGS__Wignored_qualifiers=no 4806fi 4807rm -f core conftest.err conftest.$ac_objext \ 4808 conftest$ac_exeext conftest.$ac_ext 4809 CFLAGS="$gl_save_compiler_FLAGS" 4810 4811fi 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; } 4814if test "x$gl_cv_warn_CFLAGS__Wignored_qualifiers" = xyes; then : 4815 as_fn_append WARN_CFLAGS " -Wignored-qualifiers" 4816fi 4817 4818 4819if 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; } 4822if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4823 $as_echo_n "(cached) " >&6 4824else 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 4831int 4832main () 4833{ 4834 4835 ; 4836 return 0; 4837} 4838_ACEOF 4839if ac_fn_c_try_link "$LINENO"; then : 4840 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4841else 4842 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4843fi 4844rm -f core conftest.err conftest.$ac_objext \ 4845 conftest$ac_exeext conftest.$ac_ext 4846 CFLAGS="$gl_save_compiler_FLAGS" 4847 4848fi 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; } 4851if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4852 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4853else 4854 gl_unknown_warnings_are_errors= 4855fi 4856 4857 4858fi 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; } 4862if ${gl_cv_warn_CFLAGS__Winit_self+:} false; then : 4863 $as_echo_n "(cached) " >&6 4864else 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 4871int 4872main () 4873{ 4874 4875 ; 4876 return 0; 4877} 4878_ACEOF 4879if ac_fn_c_try_link "$LINENO"; then : 4880 gl_cv_warn_CFLAGS__Winit_self=yes 4881else 4882 gl_cv_warn_CFLAGS__Winit_self=no 4883fi 4884rm -f core conftest.err conftest.$ac_objext \ 4885 conftest$ac_exeext conftest.$ac_ext 4886 CFLAGS="$gl_save_compiler_FLAGS" 4887 4888fi 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; } 4891if test "x$gl_cv_warn_CFLAGS__Winit_self" = xyes; then : 4892 as_fn_append WARN_CFLAGS " -Winit-self" 4893fi 4894 4895 4896if 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; } 4899if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4900 $as_echo_n "(cached) " >&6 4901else 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 4908int 4909main () 4910{ 4911 4912 ; 4913 return 0; 4914} 4915_ACEOF 4916if ac_fn_c_try_link "$LINENO"; then : 4917 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4918else 4919 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4920fi 4921rm -f core conftest.err conftest.$ac_objext \ 4922 conftest$ac_exeext conftest.$ac_ext 4923 CFLAGS="$gl_save_compiler_FLAGS" 4924 4925fi 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; } 4928if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 4929 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 4930else 4931 gl_unknown_warnings_are_errors= 4932fi 4933 4934 4935fi 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; } 4939if ${gl_cv_warn_CFLAGS__Wlogical_op+:} false; then : 4940 $as_echo_n "(cached) " >&6 4941else 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 4948int 4949main () 4950{ 4951 4952 ; 4953 return 0; 4954} 4955_ACEOF 4956if ac_fn_c_try_link "$LINENO"; then : 4957 gl_cv_warn_CFLAGS__Wlogical_op=yes 4958else 4959 gl_cv_warn_CFLAGS__Wlogical_op=no 4960fi 4961rm -f core conftest.err conftest.$ac_objext \ 4962 conftest$ac_exeext conftest.$ac_ext 4963 CFLAGS="$gl_save_compiler_FLAGS" 4964 4965fi 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; } 4968if test "x$gl_cv_warn_CFLAGS__Wlogical_op" = xyes; then : 4969 as_fn_append WARN_CFLAGS " -Wlogical-op" 4970fi 4971 4972 4973if 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; } 4976if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 4977 $as_echo_n "(cached) " >&6 4978else 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 4985int 4986main () 4987{ 4988 4989 ; 4990 return 0; 4991} 4992_ACEOF 4993if ac_fn_c_try_link "$LINENO"; then : 4994 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 4995else 4996 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 4997fi 4998rm -f core conftest.err conftest.$ac_objext \ 4999 conftest$ac_exeext conftest.$ac_ext 5000 CFLAGS="$gl_save_compiler_FLAGS" 5001 5002fi 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; } 5005if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5006 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5007else 5008 gl_unknown_warnings_are_errors= 5009fi 5010 5011 5012fi 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; } 5016if ${gl_cv_warn_CFLAGS__Wmissing_parameter_type+:} false; then : 5017 $as_echo_n "(cached) " >&6 5018else 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 5025int 5026main () 5027{ 5028 5029 ; 5030 return 0; 5031} 5032_ACEOF 5033if ac_fn_c_try_link "$LINENO"; then : 5034 gl_cv_warn_CFLAGS__Wmissing_parameter_type=yes 5035else 5036 gl_cv_warn_CFLAGS__Wmissing_parameter_type=no 5037fi 5038rm -f core conftest.err conftest.$ac_objext \ 5039 conftest$ac_exeext conftest.$ac_ext 5040 CFLAGS="$gl_save_compiler_FLAGS" 5041 5042fi 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; } 5045if test "x$gl_cv_warn_CFLAGS__Wmissing_parameter_type" = xyes; then : 5046 as_fn_append WARN_CFLAGS " -Wmissing-parameter-type" 5047fi 5048 5049 5050if 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; } 5053if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5054 $as_echo_n "(cached) " >&6 5055else 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 5062int 5063main () 5064{ 5065 5066 ; 5067 return 0; 5068} 5069_ACEOF 5070if ac_fn_c_try_link "$LINENO"; then : 5071 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5072else 5073 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5074fi 5075rm -f core conftest.err conftest.$ac_objext \ 5076 conftest$ac_exeext conftest.$ac_ext 5077 CFLAGS="$gl_save_compiler_FLAGS" 5078 5079fi 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; } 5082if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5083 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5084else 5085 gl_unknown_warnings_are_errors= 5086fi 5087 5088 5089fi 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; } 5093if ${gl_cv_warn_CFLAGS__Wnested_externs+:} false; then : 5094 $as_echo_n "(cached) " >&6 5095else 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 5102int 5103main () 5104{ 5105 5106 ; 5107 return 0; 5108} 5109_ACEOF 5110if ac_fn_c_try_link "$LINENO"; then : 5111 gl_cv_warn_CFLAGS__Wnested_externs=yes 5112else 5113 gl_cv_warn_CFLAGS__Wnested_externs=no 5114fi 5115rm -f core conftest.err conftest.$ac_objext \ 5116 conftest$ac_exeext conftest.$ac_ext 5117 CFLAGS="$gl_save_compiler_FLAGS" 5118 5119fi 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; } 5122if test "x$gl_cv_warn_CFLAGS__Wnested_externs" = xyes; then : 5123 as_fn_append WARN_CFLAGS " -Wnested-externs" 5124fi 5125 5126 5127if 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; } 5130if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5131 $as_echo_n "(cached) " >&6 5132else 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 5139int 5140main () 5141{ 5142 5143 ; 5144 return 0; 5145} 5146_ACEOF 5147if ac_fn_c_try_link "$LINENO"; then : 5148 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5149else 5150 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5151fi 5152rm -f core conftest.err conftest.$ac_objext \ 5153 conftest$ac_exeext conftest.$ac_ext 5154 CFLAGS="$gl_save_compiler_FLAGS" 5155 5156fi 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; } 5159if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5160 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5161else 5162 gl_unknown_warnings_are_errors= 5163fi 5164 5165 5166fi 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; } 5170if ${gl_cv_warn_CFLAGS__Wold_style_declaration+:} false; then : 5171 $as_echo_n "(cached) " >&6 5172else 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 5179int 5180main () 5181{ 5182 5183 ; 5184 return 0; 5185} 5186_ACEOF 5187if ac_fn_c_try_link "$LINENO"; then : 5188 gl_cv_warn_CFLAGS__Wold_style_declaration=yes 5189else 5190 gl_cv_warn_CFLAGS__Wold_style_declaration=no 5191fi 5192rm -f core conftest.err conftest.$ac_objext \ 5193 conftest$ac_exeext conftest.$ac_ext 5194 CFLAGS="$gl_save_compiler_FLAGS" 5195 5196fi 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; } 5199if test "x$gl_cv_warn_CFLAGS__Wold_style_declaration" = xyes; then : 5200 as_fn_append WARN_CFLAGS " -Wold-style-declaration" 5201fi 5202 5203 5204if 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; } 5207if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5208 $as_echo_n "(cached) " >&6 5209else 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 5216int 5217main () 5218{ 5219 5220 ; 5221 return 0; 5222} 5223_ACEOF 5224if ac_fn_c_try_link "$LINENO"; then : 5225 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5226else 5227 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5228fi 5229rm -f core conftest.err conftest.$ac_objext \ 5230 conftest$ac_exeext conftest.$ac_ext 5231 CFLAGS="$gl_save_compiler_FLAGS" 5232 5233fi 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; } 5236if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5237 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5238else 5239 gl_unknown_warnings_are_errors= 5240fi 5241 5242 5243fi 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; } 5247if ${gl_cv_warn_CFLAGS__Wold_style_definition+:} false; then : 5248 $as_echo_n "(cached) " >&6 5249else 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 5256int 5257main () 5258{ 5259 5260 ; 5261 return 0; 5262} 5263_ACEOF 5264if ac_fn_c_try_link "$LINENO"; then : 5265 gl_cv_warn_CFLAGS__Wold_style_definition=yes 5266else 5267 gl_cv_warn_CFLAGS__Wold_style_definition=no 5268fi 5269rm -f core conftest.err conftest.$ac_objext \ 5270 conftest$ac_exeext conftest.$ac_ext 5271 CFLAGS="$gl_save_compiler_FLAGS" 5272 5273fi 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; } 5276if test "x$gl_cv_warn_CFLAGS__Wold_style_definition" = xyes; then : 5277 as_fn_append WARN_CFLAGS " -Wold-style-definition" 5278fi 5279 5280 5281if 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; } 5284if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5285 $as_echo_n "(cached) " >&6 5286else 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 5293int 5294main () 5295{ 5296 5297 ; 5298 return 0; 5299} 5300_ACEOF 5301if ac_fn_c_try_link "$LINENO"; then : 5302 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5303else 5304 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5305fi 5306rm -f core conftest.err conftest.$ac_objext \ 5307 conftest$ac_exeext conftest.$ac_ext 5308 CFLAGS="$gl_save_compiler_FLAGS" 5309 5310fi 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; } 5313if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5314 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5315else 5316 gl_unknown_warnings_are_errors= 5317fi 5318 5319 5320fi 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; } 5324if ${gl_cv_warn_CFLAGS__Wsign_compare+:} false; then : 5325 $as_echo_n "(cached) " >&6 5326else 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 5333int 5334main () 5335{ 5336 5337 ; 5338 return 0; 5339} 5340_ACEOF 5341if ac_fn_c_try_link "$LINENO"; then : 5342 gl_cv_warn_CFLAGS__Wsign_compare=yes 5343else 5344 gl_cv_warn_CFLAGS__Wsign_compare=no 5345fi 5346rm -f core conftest.err conftest.$ac_objext \ 5347 conftest$ac_exeext conftest.$ac_ext 5348 CFLAGS="$gl_save_compiler_FLAGS" 5349 5350fi 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; } 5353if test "x$gl_cv_warn_CFLAGS__Wsign_compare" = xyes; then : 5354 as_fn_append WARN_CFLAGS " -Wsign-compare" 5355fi 5356 5357 5358if 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; } 5361if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5362 $as_echo_n "(cached) " >&6 5363else 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 5370int 5371main () 5372{ 5373 5374 ; 5375 return 0; 5376} 5377_ACEOF 5378if ac_fn_c_try_link "$LINENO"; then : 5379 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5380else 5381 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5382fi 5383rm -f core conftest.err conftest.$ac_objext \ 5384 conftest$ac_exeext conftest.$ac_ext 5385 CFLAGS="$gl_save_compiler_FLAGS" 5386 5387fi 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; } 5390if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5391 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5392else 5393 gl_unknown_warnings_are_errors= 5394fi 5395 5396 5397fi 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; } 5401if ${gl_cv_warn_CFLAGS__Wtype_limits+:} false; then : 5402 $as_echo_n "(cached) " >&6 5403else 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 5410int 5411main () 5412{ 5413 5414 ; 5415 return 0; 5416} 5417_ACEOF 5418if ac_fn_c_try_link "$LINENO"; then : 5419 gl_cv_warn_CFLAGS__Wtype_limits=yes 5420else 5421 gl_cv_warn_CFLAGS__Wtype_limits=no 5422fi 5423rm -f core conftest.err conftest.$ac_objext \ 5424 conftest$ac_exeext conftest.$ac_ext 5425 CFLAGS="$gl_save_compiler_FLAGS" 5426 5427fi 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; } 5430if test "x$gl_cv_warn_CFLAGS__Wtype_limits" = xyes; then : 5431 as_fn_append WARN_CFLAGS " -Wtype-limits" 5432fi 5433 5434 5435if 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; } 5438if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5439 $as_echo_n "(cached) " >&6 5440else 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 5447int 5448main () 5449{ 5450 5451 ; 5452 return 0; 5453} 5454_ACEOF 5455if ac_fn_c_try_link "$LINENO"; then : 5456 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5457else 5458 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5459fi 5460rm -f core conftest.err conftest.$ac_objext \ 5461 conftest$ac_exeext conftest.$ac_ext 5462 CFLAGS="$gl_save_compiler_FLAGS" 5463 5464fi 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; } 5467if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5468 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5469else 5470 gl_unknown_warnings_are_errors= 5471fi 5472 5473 5474fi 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; } 5478if ${gl_cv_warn_CFLAGS__Wwrite_strings+:} false; then : 5479 $as_echo_n "(cached) " >&6 5480else 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 5487int 5488main () 5489{ 5490 5491 ; 5492 return 0; 5493} 5494_ACEOF 5495if ac_fn_c_try_link "$LINENO"; then : 5496 gl_cv_warn_CFLAGS__Wwrite_strings=yes 5497else 5498 gl_cv_warn_CFLAGS__Wwrite_strings=no 5499fi 5500rm -f core conftest.err conftest.$ac_objext \ 5501 conftest$ac_exeext conftest.$ac_ext 5502 CFLAGS="$gl_save_compiler_FLAGS" 5503 5504fi 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; } 5507if test "x$gl_cv_warn_CFLAGS__Wwrite_strings" = xyes; then : 5508 as_fn_append WARN_CFLAGS " -Wwrite-strings" 5509fi 5510 5511 5512# Check whether --enable-gcc-Werror was given. 5513if 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; } 5518if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then : 5519 $as_echo_n "(cached) " >&6 5520else 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 5527int 5528main () 5529{ 5530 5531 ; 5532 return 0; 5533} 5534_ACEOF 5535if ac_fn_c_try_link "$LINENO"; then : 5536 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes 5537else 5538 gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no 5539fi 5540rm -f core conftest.err conftest.$ac_objext \ 5541 conftest$ac_exeext conftest.$ac_ext 5542 CFLAGS="$gl_save_compiler_FLAGS" 5543 5544fi 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; } 5547if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then : 5548 gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' 5549else 5550 gl_unknown_warnings_are_errors= 5551fi 5552 5553 5554fi 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; } 5558if ${gl_cv_warn_CFLAGS__Werror+:} false; then : 5559 $as_echo_n "(cached) " >&6 5560else 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 5567int 5568main () 5569{ 5570 5571 ; 5572 return 0; 5573} 5574_ACEOF 5575if ac_fn_c_try_link "$LINENO"; then : 5576 gl_cv_warn_CFLAGS__Werror=yes 5577else 5578 gl_cv_warn_CFLAGS__Werror=no 5579fi 5580rm -f core conftest.err conftest.$ac_objext \ 5581 conftest$ac_exeext conftest.$ac_ext 5582 CFLAGS="$gl_save_compiler_FLAGS" 5583 5584fi 5585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror" >&5 5586$as_echo "$gl_cv_warn_CFLAGS__Werror" >&6; } 5587if test "x$gl_cv_warn_CFLAGS__Werror" = xyes; then : 5588 as_fn_append WARN_CFLAGS " -Werror" 5589fi 5590 5591 ;; 5592 no) ;; 5593 *) as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;; 5594 esac 5595 5596fi 5597 5598 5599 5600 5601 5602 5603if 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 5605fi 5606 5607if 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 5609fi 5610 5611if test -n "${ac_c_werror_flag+set}"; then : 5612 st_saved_ac_c_werror_flag="${ac_c_werror_flag}"; unset ac_c_werror_flag 5613fi 5614 5615if test -n "${ac_compile+set}"; then : 5616 st_saved_ac_compile="${ac_compile}"; unset ac_compile 5617fi 5618 5619if test -n "${ac_compiler_gnu+set}"; then : 5620 st_saved_ac_compiler_gnu="${ac_compiler_gnu}"; unset ac_compiler_gnu 5621fi 5622 5623if test -n "${ac_cpp+set}"; then : 5624 st_saved_ac_cpp="${ac_cpp}"; unset ac_cpp 5625fi 5626 5627if 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 5629fi 5630 5631if 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 5633fi 5634 5635if test -n "${ac_link+set}"; then : 5636 st_saved_ac_link="${ac_link}"; unset ac_link 5637fi 5638 5639if test -n "${ac_tool_prefix+set}"; then : 5640 st_saved_ac_tool_prefix="${ac_tool_prefix}"; unset ac_tool_prefix 5641fi 5642 5643if test -n "${cross_compiling+set}"; then : 5644 st_saved_cross_compiling="${cross_compiling}"; unset cross_compiling 5645fi 5646 5647cross_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;} 5651ac_ext=c 5652ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 5653ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 5654ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 5655ac_compiler_gnu=$ac_cv_c_compiler_gnu 5656if 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. 5658set 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; } 5661if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5662 $as_echo_n "(cached) " >&6 5663else 5664 if test -n "$CC_FOR_BUILD"; then 5665 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5666else 5667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5668for as_dir in $PATH 5669do 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 5678done 5679 done 5680IFS=$as_save_IFS 5681 5682fi 5683fi 5684CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5685if 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; } 5688else 5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5690$as_echo "no" >&6; } 5691fi 5692 5693 5694fi 5695if 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. 5698set 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; } 5701if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then : 5702 $as_echo_n "(cached) " >&6 5703else 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. 5706else 5707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5708for as_dir in $PATH 5709do 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 5718done 5719 done 5720IFS=$as_save_IFS 5721 5722fi 5723fi 5724ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD 5725if 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; } 5728else 5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5730$as_echo "no" >&6; } 5731fi 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 5737yes:) 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;} 5740ac_tool_warned=yes ;; 5741esac 5742 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD 5743 fi 5744else 5745 CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD" 5746fi 5747 5748if 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. 5751set 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; } 5754if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5755 $as_echo_n "(cached) " >&6 5756else 5757 if test -n "$CC_FOR_BUILD"; then 5758 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5759else 5760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5761for as_dir in $PATH 5762do 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 5771done 5772 done 5773IFS=$as_save_IFS 5774 5775fi 5776fi 5777CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5778if 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; } 5781else 5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5783$as_echo "no" >&6; } 5784fi 5785 5786 5787 fi 5788fi 5789if test -z "$CC_FOR_BUILD"; then 5790 # Extract the first word of "cc", so it can be a program name with args. 5791set 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; } 5794if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5795 $as_echo_n "(cached) " >&6 5796else 5797 if test -n "$CC_FOR_BUILD"; then 5798 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5799else 5800 ac_prog_rejected=no 5801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5802for as_dir in $PATH 5803do 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 5816done 5817 done 5818IFS=$as_save_IFS 5819 5820if 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 5831fi 5832fi 5833fi 5834CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5835if 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; } 5838else 5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5840$as_echo "no" >&6; } 5841fi 5842 5843 5844fi 5845if 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. 5850set 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; } 5853if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : 5854 $as_echo_n "(cached) " >&6 5855else 5856 if test -n "$CC_FOR_BUILD"; then 5857 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 5858else 5859as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5860for as_dir in $PATH 5861do 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 5870done 5871 done 5872IFS=$as_save_IFS 5873 5874fi 5875fi 5876CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 5877if 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; } 5880else 5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5882$as_echo "no" >&6; } 5883fi 5884 5885 5886 test -n "$CC_FOR_BUILD" && break 5887 done 5888fi 5889if test -z "$CC_FOR_BUILD"; then 5890 ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD 5891 for ac_prog in cl.exe 5892do 5893 # Extract the first word of "$ac_prog", so it can be a program name with args. 5894set 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; } 5897if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then : 5898 $as_echo_n "(cached) " >&6 5899else 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. 5902else 5903as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5904for as_dir in $PATH 5905do 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 5914done 5915 done 5916IFS=$as_save_IFS 5917 5918fi 5919fi 5920ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD 5921if 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; } 5924else 5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5926$as_echo "no" >&6; } 5927fi 5928 5929 5930 test -n "$ac_ct_CC_FOR_BUILD" && break 5931done 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 5937yes:) 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;} 5940ac_tool_warned=yes ;; 5941esac 5942 CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD 5943 fi 5944fi 5945 5946fi 5947 5948 5949test -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;} 5951as_fn_error $? "no acceptable C compiler found in \$PATH 5952See \`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 5956set X $ac_compile 5957ac_compiler=$2 5958for ac_option in --version -v -V -qversion; do 5959 { { ac_try="$ac_compiler $ac_option >&5" 5960case "(($ac_try" in 5961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5962 *) ac_try_echo=$ac_try;; 5963esac 5964eval 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; } 5977done 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; } 5981if ${ac_cv_c_compiler_gnu+:} false; then : 5982 $as_echo_n "(cached) " >&6 5983else 5984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5985/* end confdefs.h. */ 5986 5987int 5988main () 5989{ 5990#ifndef __GNUC__ 5991 choke me 5992#endif 5993 5994 ; 5995 return 0; 5996} 5997_ACEOF 5998if ac_fn_c_try_compile "$LINENO"; then : 5999 ac_compiler_gnu=yes 6000else 6001 ac_compiler_gnu=no 6002fi 6003rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6004ac_cv_c_compiler_gnu=$ac_compiler_gnu 6005 6006fi 6007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 6008$as_echo "$ac_cv_c_compiler_gnu" >&6; } 6009if test $ac_compiler_gnu = yes; then 6010 GCC=yes 6011else 6012 GCC= 6013fi 6014ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set} 6015ac_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; } 6018if ${ac_cv_build_prog_cc_g+:} false; then : 6019 $as_echo_n "(cached) " >&6 6020else 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 6028int 6029main () 6030{ 6031 6032 ; 6033 return 0; 6034} 6035_ACEOF 6036if ac_fn_c_try_compile "$LINENO"; then : 6037 ac_cv_build_prog_cc_g=yes 6038else 6039 CFLAGS_FOR_BUILD="" 6040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6041/* end confdefs.h. */ 6042 6043int 6044main () 6045{ 6046 6047 ; 6048 return 0; 6049} 6050_ACEOF 6051if ac_fn_c_try_compile "$LINENO"; then : 6052 6053else 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 6059int 6060main () 6061{ 6062 6063 ; 6064 return 0; 6065} 6066_ACEOF 6067if ac_fn_c_try_compile "$LINENO"; then : 6068 ac_cv_build_prog_cc_g=yes 6069fi 6070rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6071fi 6072rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6073fi 6074rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext 6075 ac_c_werror_flag=$ac_save_c_werror_flag 6076fi 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; } 6079if test "$ac_test_CFLAGS" = set; then 6080 CFLAGS_FOR_BUILD=$ac_save_CFLAGS 6081elif 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 6087else 6088 if test "$GCC" = yes; then 6089 CFLAGS_FOR_BUILD="-O2" 6090 else 6091 CFLAGS_FOR_BUILD= 6092 fi 6093fi 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; } 6096if ${ac_cv_build_prog_cc_c89+:} false; then : 6097 $as_echo_n "(cached) " >&6 6098else 6099 ac_cv_build_prog_cc_c89=no 6100ac_save_CC=$CC_FOR_BUILD 6101cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6102/* end confdefs.h. */ 6103#include <stdarg.h> 6104#include <stdio.h> 6105struct stat; 6106/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 6107struct buf { int x; }; 6108FILE * (*rcsopen) (struct buf *, struct stat *, int); 6109static char *e (p, i) 6110 char **p; 6111 int i; 6112{ 6113 return p[i]; 6114} 6115static 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. */ 6132int 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' 6137int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 6138 6139int test (int i, double x); 6140struct s1 {int (*f) (int a);}; 6141struct s2 {int (*f) (double a);}; 6142int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 6143int argc; 6144char **argv; 6145int 6146main () 6147{ 6148return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 6149 ; 6150 return 0; 6151} 6152_ACEOF 6153for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 6154 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 6155do 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 6159fi 6160rm -f core conftest.err conftest.$ac_build_objext 6161 test "x$ac_cv_build_prog_cc_c89" != "xno" && break 6162done 6163rm -f conftest.$ac_ext 6164CC_FOR_BUILD=$ac_save_CC 6165 6166fi 6167# AC_CACHE_VAL 6168case "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; } ;; 6179esac 6180if test "x$ac_cv_build_prog_cc_c89" != xno; then : 6181 6182fi 6183 6184ac_ext=c 6185ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6186ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6187ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6188ac_compiler_gnu=$ac_cv_c_compiler_gnu 6189 6190ac_ext=c 6191ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6192ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6193ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6194ac_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; } 6197if ${am_cv_build_prog_cc_c_o+:} false; then : 6198 $as_echo_n "(cached) " >&6 6199else 6200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6201/* end confdefs.h. */ 6202 6203int 6204main () 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 6231fi 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; } 6234if 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" 6241fi 6242ac_ext=c 6243ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6244ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6245ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6246ac_compiler_gnu=$ac_cv_c_compiler_gnu 6247 6248 6249depcc="$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; } 6253if ${am_cv_build_CC_dependencies_compiler_type+:} false; then : 6254 $as_echo_n "(cached) " >&6 6255else 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 6357else 6358 am_cv_build_CC_dependencies_compiler_type=none 6359fi 6360 6361fi 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; } 6364CCDEPMODE=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='#' 6371else 6372 am__fastdepCC_TRUE='#' 6373 am__fastdepCC_FALSE= 6374fi 6375 6376 6377ac_ext=c 6378ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6379ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6380ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6381ac_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. 6385if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then 6386 CPP_FOR_BUILD= 6387fi 6388if test -z "$CPP_FOR_BUILD"; then 6389 if ${ac_cv_build_prog_CPP+:} false; then : 6390 $as_echo_n "(cached) " >&6 6391else 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 6396for ac_c_preproc_warn_flag in '' yes 6397do 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 6413if ac_fn_c_try_cpp "$LINENO"; then : 6414 6415else 6416 # Broken: fails on valid input. 6417continue 6418fi 6419rm -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 6427if ac_fn_c_try_cpp "$LINENO"; then : 6428 # Broken: success on invalid input. 6429continue 6430else 6431 # Passes both tests. 6432ac_preproc_ok=: 6433break 6434fi 6435rm -f conftest.err conftest.i conftest.$ac_ext 6436 6437done 6438# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6439rm -f conftest.i conftest.err conftest.$ac_ext 6440if $ac_preproc_ok; then : 6441 break 6442fi 6443 6444 done 6445 ac_cv_build_prog_CPP=$CPP_FOR_BUILD 6446 6447fi 6448 CPP_FOR_BUILD=$ac_cv_build_prog_CPP 6449else 6450 ac_cv_build_prog_CPP=$CPP_FOR_BUILD 6451fi 6452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5 6453$as_echo "$CPP_FOR_BUILD" >&6; } 6454ac_preproc_ok=false 6455for ac_c_preproc_warn_flag in '' yes 6456do 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 6472if ac_fn_c_try_cpp "$LINENO"; then : 6473 6474else 6475 # Broken: fails on valid input. 6476continue 6477fi 6478rm -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 6486if ac_fn_c_try_cpp "$LINENO"; then : 6487 # Broken: success on invalid input. 6488continue 6489else 6490 # Passes both tests. 6491ac_preproc_ok=: 6492break 6493fi 6494rm -f conftest.err conftest.i conftest.$ac_ext 6495 6496done 6497# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6498rm -f conftest.i conftest.err conftest.$ac_ext 6499if $ac_preproc_ok; then : 6500 6501else 6502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6503$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6504as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check 6505See \`config.log' for more details" "$LINENO" 5; } 6506fi 6507 6508ac_ext=c 6509ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' 6510ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' 6511ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' 6512ac_compiler_gnu=$ac_cv_c_compiler_gnu 6513 6514 6515 6516if 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; } 6519if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6520 $as_echo_n "(cached) " >&6 6521else 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 6528int 6529main () 6530{ 6531 6532 ; 6533 return 0; 6534} 6535_ACEOF 6536if ac_fn_c_try_link "$LINENO"; then : 6537 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6538else 6539 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6540fi 6541rm -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 6545fi 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; } 6548if 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' 6550else 6551 gl_build_unknown_warnings_are_errors= 6552fi 6553 6554 6555fi 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; } 6559if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wall+:} false; then : 6560 $as_echo_n "(cached) " >&6 6561else 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 6568int 6569main () 6570{ 6571 6572 ; 6573 return 0; 6574} 6575_ACEOF 6576if ac_fn_c_try_link "$LINENO"; then : 6577 gl_cv_warn_CFLAGS_FOR_BUILD__Wall=yes 6578else 6579 gl_cv_warn_CFLAGS_FOR_BUILD__Wall=no 6580fi 6581rm -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 6585fi 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; } 6588if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" = xyes; then : 6589 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wall" 6590fi 6591 6592 6593if 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; } 6596if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6597 $as_echo_n "(cached) " >&6 6598else 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 6605int 6606main () 6607{ 6608 6609 ; 6610 return 0; 6611} 6612_ACEOF 6613if ac_fn_c_try_link "$LINENO"; then : 6614 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6615else 6616 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6617fi 6618rm -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 6622fi 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; } 6625if 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' 6627else 6628 gl_build_unknown_warnings_are_errors= 6629fi 6630 6631 6632fi 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; } 6636if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body+:} false; then : 6637 $as_echo_n "(cached) " >&6 6638else 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 6645int 6646main () 6647{ 6648 6649 ; 6650 return 0; 6651} 6652_ACEOF 6653if ac_fn_c_try_link "$LINENO"; then : 6654 gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=yes 6655else 6656 gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=no 6657fi 6658rm -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 6662fi 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; } 6665if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" = xyes; then : 6666 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wempty-body" 6667fi 6668 6669 6670if 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; } 6673if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6674 $as_echo_n "(cached) " >&6 6675else 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 6682int 6683main () 6684{ 6685 6686 ; 6687 return 0; 6688} 6689_ACEOF 6690if ac_fn_c_try_link "$LINENO"; then : 6691 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6692else 6693 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6694fi 6695rm -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 6699fi 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; } 6702if 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' 6704else 6705 gl_build_unknown_warnings_are_errors= 6706fi 6707 6708 6709fi 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; } 6713if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security+:} false; then : 6714 $as_echo_n "(cached) " >&6 6715else 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 6722int 6723main () 6724{ 6725 6726 ; 6727 return 0; 6728} 6729_ACEOF 6730if ac_fn_c_try_link "$LINENO"; then : 6731 gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=yes 6732else 6733 gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=no 6734fi 6735rm -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 6739fi 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; } 6742if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" = xyes; then : 6743 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wformat-security" 6744fi 6745 6746 6747if 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; } 6750if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6751 $as_echo_n "(cached) " >&6 6752else 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 6759int 6760main () 6761{ 6762 6763 ; 6764 return 0; 6765} 6766_ACEOF 6767if ac_fn_c_try_link "$LINENO"; then : 6768 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6769else 6770 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6771fi 6772rm -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 6776fi 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; } 6779if 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' 6781else 6782 gl_build_unknown_warnings_are_errors= 6783fi 6784 6785 6786fi 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; } 6790if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers+:} false; then : 6791 $as_echo_n "(cached) " >&6 6792else 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 6799int 6800main () 6801{ 6802 6803 ; 6804 return 0; 6805} 6806_ACEOF 6807if ac_fn_c_try_link "$LINENO"; then : 6808 gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=yes 6809else 6810 gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=no 6811fi 6812rm -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 6816fi 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; } 6819if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" = xyes; then : 6820 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wignored-qualifiers" 6821fi 6822 6823 6824if 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; } 6827if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6828 $as_echo_n "(cached) " >&6 6829else 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 6836int 6837main () 6838{ 6839 6840 ; 6841 return 0; 6842} 6843_ACEOF 6844if ac_fn_c_try_link "$LINENO"; then : 6845 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6846else 6847 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6848fi 6849rm -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 6853fi 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; } 6856if 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' 6858else 6859 gl_build_unknown_warnings_are_errors= 6860fi 6861 6862 6863fi 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; } 6867if ${gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self+:} false; then : 6868 $as_echo_n "(cached) " >&6 6869else 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 6876int 6877main () 6878{ 6879 6880 ; 6881 return 0; 6882} 6883_ACEOF 6884if ac_fn_c_try_link "$LINENO"; then : 6885 gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=yes 6886else 6887 gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=no 6888fi 6889rm -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 6893fi 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; } 6896if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" = xyes; then : 6897 as_fn_append WARN_CFLAGS_FOR_BUILD " -Winit-self" 6898fi 6899 6900 6901if 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; } 6904if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6905 $as_echo_n "(cached) " >&6 6906else 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 6913int 6914main () 6915{ 6916 6917 ; 6918 return 0; 6919} 6920_ACEOF 6921if ac_fn_c_try_link "$LINENO"; then : 6922 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 6923else 6924 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 6925fi 6926rm -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 6930fi 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; } 6933if 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' 6935else 6936 gl_build_unknown_warnings_are_errors= 6937fi 6938 6939 6940fi 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; } 6944if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op+:} false; then : 6945 $as_echo_n "(cached) " >&6 6946else 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 6953int 6954main () 6955{ 6956 6957 ; 6958 return 0; 6959} 6960_ACEOF 6961if ac_fn_c_try_link "$LINENO"; then : 6962 gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=yes 6963else 6964 gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=no 6965fi 6966rm -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 6970fi 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; } 6973if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" = xyes; then : 6974 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wlogical-op" 6975fi 6976 6977 6978if 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; } 6981if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 6982 $as_echo_n "(cached) " >&6 6983else 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 6990int 6991main () 6992{ 6993 6994 ; 6995 return 0; 6996} 6997_ACEOF 6998if ac_fn_c_try_link "$LINENO"; then : 6999 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7000else 7001 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7002fi 7003rm -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 7007fi 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; } 7010if 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' 7012else 7013 gl_build_unknown_warnings_are_errors= 7014fi 7015 7016 7017fi 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; } 7021if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type+:} false; then : 7022 $as_echo_n "(cached) " >&6 7023else 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 7030int 7031main () 7032{ 7033 7034 ; 7035 return 0; 7036} 7037_ACEOF 7038if ac_fn_c_try_link "$LINENO"; then : 7039 gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=yes 7040else 7041 gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=no 7042fi 7043rm -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 7047fi 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; } 7050if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" = xyes; then : 7051 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wmissing-parameter-type" 7052fi 7053 7054 7055if 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; } 7058if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7059 $as_echo_n "(cached) " >&6 7060else 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 7067int 7068main () 7069{ 7070 7071 ; 7072 return 0; 7073} 7074_ACEOF 7075if ac_fn_c_try_link "$LINENO"; then : 7076 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7077else 7078 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7079fi 7080rm -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 7084fi 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; } 7087if 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' 7089else 7090 gl_build_unknown_warnings_are_errors= 7091fi 7092 7093 7094fi 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; } 7098if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs+:} false; then : 7099 $as_echo_n "(cached) " >&6 7100else 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 7107int 7108main () 7109{ 7110 7111 ; 7112 return 0; 7113} 7114_ACEOF 7115if ac_fn_c_try_link "$LINENO"; then : 7116 gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=yes 7117else 7118 gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=no 7119fi 7120rm -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 7124fi 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; } 7127if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" = xyes; then : 7128 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wnested-externs" 7129fi 7130 7131 7132if 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; } 7135if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7136 $as_echo_n "(cached) " >&6 7137else 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 7144int 7145main () 7146{ 7147 7148 ; 7149 return 0; 7150} 7151_ACEOF 7152if ac_fn_c_try_link "$LINENO"; then : 7153 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7154else 7155 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7156fi 7157rm -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 7161fi 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; } 7164if 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' 7166else 7167 gl_build_unknown_warnings_are_errors= 7168fi 7169 7170 7171fi 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; } 7175if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration+:} false; then : 7176 $as_echo_n "(cached) " >&6 7177else 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 7184int 7185main () 7186{ 7187 7188 ; 7189 return 0; 7190} 7191_ACEOF 7192if ac_fn_c_try_link "$LINENO"; then : 7193 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=yes 7194else 7195 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=no 7196fi 7197rm -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 7201fi 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; } 7204if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" = xyes; then : 7205 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-declaration" 7206fi 7207 7208 7209if 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; } 7212if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7213 $as_echo_n "(cached) " >&6 7214else 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 7221int 7222main () 7223{ 7224 7225 ; 7226 return 0; 7227} 7228_ACEOF 7229if ac_fn_c_try_link "$LINENO"; then : 7230 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7231else 7232 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7233fi 7234rm -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 7238fi 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; } 7241if 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' 7243else 7244 gl_build_unknown_warnings_are_errors= 7245fi 7246 7247 7248fi 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; } 7252if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition+:} false; then : 7253 $as_echo_n "(cached) " >&6 7254else 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 7261int 7262main () 7263{ 7264 7265 ; 7266 return 0; 7267} 7268_ACEOF 7269if ac_fn_c_try_link "$LINENO"; then : 7270 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=yes 7271else 7272 gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=no 7273fi 7274rm -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 7278fi 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; } 7281if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" = xyes; then : 7282 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-definition" 7283fi 7284 7285 7286if 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; } 7289if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7290 $as_echo_n "(cached) " >&6 7291else 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 7298int 7299main () 7300{ 7301 7302 ; 7303 return 0; 7304} 7305_ACEOF 7306if ac_fn_c_try_link "$LINENO"; then : 7307 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7308else 7309 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7310fi 7311rm -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 7315fi 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; } 7318if 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' 7320else 7321 gl_build_unknown_warnings_are_errors= 7322fi 7323 7324 7325fi 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; } 7329if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare+:} false; then : 7330 $as_echo_n "(cached) " >&6 7331else 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 7338int 7339main () 7340{ 7341 7342 ; 7343 return 0; 7344} 7345_ACEOF 7346if ac_fn_c_try_link "$LINENO"; then : 7347 gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=yes 7348else 7349 gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=no 7350fi 7351rm -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 7355fi 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; } 7358if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" = xyes; then : 7359 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wsign-compare" 7360fi 7361 7362 7363if 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; } 7366if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7367 $as_echo_n "(cached) " >&6 7368else 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 7375int 7376main () 7377{ 7378 7379 ; 7380 return 0; 7381} 7382_ACEOF 7383if ac_fn_c_try_link "$LINENO"; then : 7384 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7385else 7386 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7387fi 7388rm -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 7392fi 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; } 7395if 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' 7397else 7398 gl_build_unknown_warnings_are_errors= 7399fi 7400 7401 7402fi 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; } 7406if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits+:} false; then : 7407 $as_echo_n "(cached) " >&6 7408else 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 7415int 7416main () 7417{ 7418 7419 ; 7420 return 0; 7421} 7422_ACEOF 7423if ac_fn_c_try_link "$LINENO"; then : 7424 gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=yes 7425else 7426 gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=no 7427fi 7428rm -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 7432fi 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; } 7435if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" = xyes; then : 7436 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wtype-limits" 7437fi 7438 7439 7440if 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; } 7443if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7444 $as_echo_n "(cached) " >&6 7445else 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 7452int 7453main () 7454{ 7455 7456 ; 7457 return 0; 7458} 7459_ACEOF 7460if ac_fn_c_try_link "$LINENO"; then : 7461 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7462else 7463 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7464fi 7465rm -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 7469fi 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; } 7472if 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' 7474else 7475 gl_build_unknown_warnings_are_errors= 7476fi 7477 7478 7479fi 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; } 7483if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings+:} false; then : 7484 $as_echo_n "(cached) " >&6 7485else 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 7492int 7493main () 7494{ 7495 7496 ; 7497 return 0; 7498} 7499_ACEOF 7500if ac_fn_c_try_link "$LINENO"; then : 7501 gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=yes 7502else 7503 gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=no 7504fi 7505rm -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 7509fi 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; } 7512if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" = xyes; then : 7513 as_fn_append WARN_CFLAGS_FOR_BUILD " -Wwrite-strings" 7514fi 7515 7516 7517# Check whether --enable-gcc-Werror was given. 7518if 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; } 7523if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then : 7524 $as_echo_n "(cached) " >&6 7525else 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 7532int 7533main () 7534{ 7535 7536 ; 7537 return 0; 7538} 7539_ACEOF 7540if ac_fn_c_try_link "$LINENO"; then : 7541 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes 7542else 7543 gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no 7544fi 7545rm -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 7549fi 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; } 7552if 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' 7554else 7555 gl_build_unknown_warnings_are_errors= 7556fi 7557 7558 7559fi 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; } 7563if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror+:} false; then : 7564 $as_echo_n "(cached) " >&6 7565else 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 7572int 7573main () 7574{ 7575 7576 ; 7577 return 0; 7578} 7579_ACEOF 7580if ac_fn_c_try_link "$LINENO"; then : 7581 gl_cv_warn_CFLAGS_FOR_BUILD__Werror=yes 7582else 7583 gl_cv_warn_CFLAGS_FOR_BUILD__Werror=no 7584fi 7585rm -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 7589fi 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; } 7592if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" = xyes; then : 7593 as_fn_append WARN_CFLAGS_FOR_BUILD " -Werror" 7594fi 7595 7596 ;; 7597 no) ;; 7598 *) as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;; 7599 esac 7600 7601fi 7602 7603 7604 7605 7606if test -n "${st_saved_cross_compiling+set}"; then : 7607 cross_compiling="${st_saved_cross_compiling}"; unset st_saved_cross_compiling 7608fi 7609 7610if test -n "${st_saved_ac_tool_prefix+set}"; then : 7611 ac_tool_prefix="${st_saved_ac_tool_prefix}"; unset st_saved_ac_tool_prefix 7612fi 7613 7614if test -n "${st_saved_ac_link+set}"; then : 7615 ac_link="${st_saved_ac_link}"; unset st_saved_ac_link 7616fi 7617 7618if 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 7620fi 7621 7622if 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 7624fi 7625 7626if test -n "${st_saved_ac_cpp+set}"; then : 7627 ac_cpp="${st_saved_ac_cpp}"; unset st_saved_ac_cpp 7628fi 7629 7630if test -n "${st_saved_ac_compiler_gnu+set}"; then : 7631 ac_compiler_gnu="${st_saved_ac_compiler_gnu}"; unset st_saved_ac_compiler_gnu 7632fi 7633 7634if test -n "${st_saved_ac_compile+set}"; then : 7635 ac_compile="${st_saved_ac_compile}"; unset st_saved_ac_compile 7636fi 7637 7638if 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 7640fi 7641 7642if 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 7644fi 7645 7646if 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 7648fi 7649 7650 7651 7652BUILD_EXEEXT=$ac_build_exeext 7653BUILD_OBJEXT=$ac_build_objext 7654 7655 7656if 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. 7658set 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; } 7661if ${ac_cv_prog_RANLIB+:} false; then : 7662 $as_echo_n "(cached) " >&6 7663else 7664 if test -n "$RANLIB"; then 7665 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7666else 7667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7668for as_dir in $PATH 7669do 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 7678done 7679 done 7680IFS=$as_save_IFS 7681 7682fi 7683fi 7684RANLIB=$ac_cv_prog_RANLIB 7685if test -n "$RANLIB"; then 7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7687$as_echo "$RANLIB" >&6; } 7688else 7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7690$as_echo "no" >&6; } 7691fi 7692 7693 7694fi 7695if 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. 7698set 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; } 7701if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7702 $as_echo_n "(cached) " >&6 7703else 7704 if test -n "$ac_ct_RANLIB"; then 7705 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7706else 7707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7708for as_dir in $PATH 7709do 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 7718done 7719 done 7720IFS=$as_save_IFS 7721 7722fi 7723fi 7724ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7725if 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; } 7728else 7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7730$as_echo "no" >&6; } 7731fi 7732 7733 if test "x$ac_ct_RANLIB" = x; then 7734 RANLIB=":" 7735 else 7736 case $cross_compiling:$ac_tool_warned in 7737yes:) 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;} 7740ac_tool_warned=yes ;; 7741esac 7742 RANLIB=$ac_ct_RANLIB 7743 fi 7744else 7745 RANLIB="$ac_cv_prog_RANLIB" 7746fi 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; } 7752if ${ac_cv_path_GREP+:} false; then : 7753 $as_echo_n "(cached) " >&6 7754else 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 7759for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7760do 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 7769case `"$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;; 7793esac 7794 7795 $ac_path_GREP_found && break 3 7796 done 7797 done 7798 done 7799IFS=$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 7803else 7804 ac_cv_path_GREP=$GREP 7805fi 7806 7807fi 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; } 7815if ${ac_cv_path_EGREP+:} false; then : 7816 $as_echo_n "(cached) " >&6 7817else 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 7825for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7826do 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 7835case `"$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;; 7859esac 7860 7861 $ac_path_EGREP_found && break 3 7862 done 7863 done 7864 done 7865IFS=$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 7869else 7870 ac_cv_path_EGREP=$EGREP 7871fi 7872 7873 fi 7874fi 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; } 7882if ${ac_cv_header_stdc+:} false; then : 7883 $as_echo_n "(cached) " >&6 7884else 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 7892int 7893main () 7894{ 7895 7896 ; 7897 return 0; 7898} 7899_ACEOF 7900if ac_fn_c_try_compile "$LINENO"; then : 7901 ac_cv_header_stdc=yes 7902else 7903 ac_cv_header_stdc=no 7904fi 7905rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7906 7907if 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 7914if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7915 $EGREP "memchr" >/dev/null 2>&1; then : 7916 7917else 7918 ac_cv_header_stdc=no 7919fi 7920rm -f conftest* 7921 7922fi 7923 7924if 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 7931if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7932 $EGREP "free" >/dev/null 2>&1; then : 7933 7934else 7935 ac_cv_header_stdc=no 7936fi 7937rm -f conftest* 7938 7939fi 7940 7941if 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 : 7945else 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))) 7962int 7963main () 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 7973if ac_fn_c_try_run "$LINENO"; then : 7974 7975else 7976 ac_cv_header_stdc=no 7977fi 7978rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7979 conftest.$ac_objext conftest.beam conftest.$ac_ext 7980fi 7981 7982fi 7983fi 7984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7985$as_echo "$ac_cv_header_stdc" >&6; } 7986if test $ac_cv_header_stdc = yes; then 7987 7988$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7989 7990fi 7991 7992# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7993for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7994 inttypes.h stdint.h unistd.h 7995do : 7996 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7997ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7998" 7999if 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 8004fi 8005 8006done 8007 8008 8009 8010 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 8011if test "x$ac_cv_header_minix_config_h" = xyes; then : 8012 MINIX=yes 8013else 8014 MINIX= 8015fi 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; } 8033if ${ac_cv_safe_to_define___extensions__+:} false; then : 8034 $as_echo_n "(cached) " >&6 8035else 8036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8037/* end confdefs.h. */ 8038 8039# define __EXTENSIONS__ 1 8040 $ac_includes_default 8041int 8042main () 8043{ 8044 8045 ; 8046 return 0; 8047} 8048_ACEOF 8049if ac_fn_c_try_compile "$LINENO"; then : 8050 ac_cv_safe_to_define___extensions__=yes 8051else 8052 ac_cv_safe_to_define___extensions__=no 8053fi 8054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8055fi 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; } 8072if ${ac_cv_path_SED+:} false; then : 8073 $as_echo_n "(cached) " >&6 8074else 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 8085for as_dir in $PATH 8086do 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 8095case `"$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;; 8119esac 8120 8121 $ac_path_SED_found && break 3 8122 done 8123 done 8124 done 8125IFS=$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 8129else 8130 ac_cv_path_SED=$SED 8131fi 8132 8133fi 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. 8145if test "${with_gcov+set}" = set; then : 8146 withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov 8147else 8148 _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov 8149fi 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. 8155if test "${enable_code_coverage+set}" = set; then : 8156 enableval=$enable_code_coverage; 8157else 8158 enable_code_coverage=no 8159fi 8160 8161 8162 if test x$enable_code_coverage = xyes; then 8163 CODE_COVERAGE_ENABLED_TRUE= 8164 CODE_COVERAGE_ENABLED_FALSE='#' 8165else 8166 CODE_COVERAGE_ENABLED_TRUE='#' 8167 CODE_COVERAGE_ENABLED_FALSE= 8168fi 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. 8180set 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; } 8183if ${ac_cv_prog_GCOV+:} false; then : 8184 $as_echo_n "(cached) " >&6 8185else 8186 if test -n "$GCOV"; then 8187 ac_cv_prog_GCOV="$GCOV" # Let the user override the test. 8188else 8189as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8190for as_dir in $PATH 8191do 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 8200done 8201 done 8202IFS=$as_save_IFS 8203 8204fi 8205fi 8206GCOV=$ac_cv_prog_GCOV 8207if test -n "$GCOV"; then 8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 8209$as_echo "$GCOV" >&6; } 8210else 8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8212$as_echo "no" >&6; } 8213fi 8214 8215 8216fi 8217if 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. 8220set 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; } 8223if ${ac_cv_prog_ac_ct_GCOV+:} false; then : 8224 $as_echo_n "(cached) " >&6 8225else 8226 if test -n "$ac_ct_GCOV"; then 8227 ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test. 8228else 8229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8230for as_dir in $PATH 8231do 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 8240done 8241 done 8242IFS=$as_save_IFS 8243 8244fi 8245fi 8246ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV 8247if 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; } 8250else 8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8252$as_echo "no" >&6; } 8253fi 8254 8255 if test "x$ac_ct_GCOV" = x; then 8256 GCOV=":" 8257 else 8258 case $cross_compiling:$ac_tool_warned in 8259yes:) 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;} 8262ac_tool_warned=yes ;; 8263esac 8264 GCOV=$ac_ct_GCOV 8265 fi 8266else 8267 GCOV="$ac_cv_prog_GCOV" 8268fi 8269 8270 if test "X$GCOV" = "X:"; then : 8271 as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5 8272fi 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 8279fi 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. 8285set 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; } 8288if ${ac_cv_prog_LCOV+:} false; then : 8289 $as_echo_n "(cached) " >&6 8290else 8291 if test -n "$LCOV"; then 8292 ac_cv_prog_LCOV="$LCOV" # Let the user override the test. 8293else 8294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8295for as_dir in $PATH 8296do 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 8305done 8306 done 8307IFS=$as_save_IFS 8308 8309fi 8310fi 8311LCOV=$ac_cv_prog_LCOV 8312if test -n "$LCOV"; then 8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 8314$as_echo "$LCOV" >&6; } 8315else 8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8317$as_echo "no" >&6; } 8318fi 8319 8320 8321 # Extract the first word of "genhtml", so it can be a program name with args. 8322set 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; } 8325if ${ac_cv_prog_GENHTML+:} false; then : 8326 $as_echo_n "(cached) " >&6 8327else 8328 if test -n "$GENHTML"; then 8329 ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test. 8330else 8331as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8332for as_dir in $PATH 8333do 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 8342done 8343 done 8344IFS=$as_save_IFS 8345 8346fi 8347fi 8348GENHTML=$ac_cv_prog_GENHTML 8349if test -n "$GENHTML"; then 8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5 8351$as_echo "$GENHTML" >&6; } 8352else 8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8354$as_echo "no" >&6; } 8355fi 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; } 8363if ${ax_cv_lcov_version+:} false; then : 8364 $as_echo_n "(cached) " >&6 8365else 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 8375fi 8376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lcov_version" >&5 8377$as_echo "$ax_cv_lcov_version" >&6; } 8378 8379else 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 8384fi 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 8398fi 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 8410fi 8411 8412CODE_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 8452CODE_COVERAGE_DIRECTORY ?= $(top_builddir) 8453CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info 8454CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage 8455CODE_COVERAGE_BRANCH_COVERAGE ?= 8456CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ 8457--rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) 8458CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) 8459CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" 8460CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) 8461CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) 8462CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?= 8463CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) 8464CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\ 8465$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ 8466--rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) 8467CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULTS) 8468CODE_COVERAGE_IGNORE_PATTERN ?= 8469 8470code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V)) 8471code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY)) 8472code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\ 8473 $(CODE_COVERAGE_OUTPUT_FILE); 8474code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V)) 8475code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY)) 8476code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\ 8477 $(CODE_COVERAGE_IGNORE_PATTERN); 8478code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V)) 8479code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY)) 8480code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY); 8481code_coverage_quiet = $(code_coverage_quiet_$(V)) 8482code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY)) 8483code_coverage_quiet_0 = --quiet 8484 8485# sanitizes the test-name: replaces with underscores: dashes and dots 8486code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1))) 8487 8488# Use recursive makes in order to ignore errors during check 8489check-code-coverage: 8490ifeq ($(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 8493else 8494 @echo "Need to reconfigure with --enable-code-coverage" 8495endif 8496 8497# Capture code coverage data 8498code-coverage-capture: code-coverage-capture-hook 8499ifeq ($(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" 8505else 8506 @echo "Need to reconfigure with --enable-code-coverage" 8507endif 8508 8509# Hook rule executed before code-coverage-capture, overridable by the user 8510code-coverage-capture-hook: 8511 8512ifeq ($(CODE_COVERAGE_ENABLED),yes) 8513clean: code-coverage-clean 8514distclean: code-coverage-clean 8515code-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 8519endif 8520 8521GITIGNOREFILES ?= 8522GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY) 8523 8524A''M_DISTCHECK_CONFIGURE_FLAGS ?= 8525A''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 8537COPYRIGHT_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; } 8542arch_m32= 8543arch_mx32= 8544case "$host_cpu" in 8545bfin) 8546 arch=bfin 8547 8548$as_echo "#define BFIN 1" >>confdefs.h 8549 8550 ;; 8551i[3456]86|pentium) 8552 arch=i386 8553 8554$as_echo "#define I386 1" >>confdefs.h 8555 8556 ;; 8557ia64) 8558 arch=ia64 8559 8560$as_echo "#define IA64 1" >>confdefs.h 8561 8562 ;; 8563m68k) 8564 arch=m68k 8565 8566$as_echo "#define M68K 1" >>confdefs.h 8567 8568 ;; 8569sparc64*) 8570 arch=sparc64 8571 arch_m32=sparc 8572 8573$as_echo "#define SPARC64 1" >>confdefs.h 8574 8575 ;; 8576sparc*) 8577 arch=sparc 8578 8579$as_echo "#define SPARC 1" >>confdefs.h 8580 8581 ;; 8582metag*) 8583 arch=metag 8584 8585$as_echo "#define METAG 1" >>confdefs.h 8586 8587 ;; 8588mips*) 8589 arch=mips 8590 8591$as_echo "#define MIPS 1" >>confdefs.h 8592 8593 ;; 8594alpha*) 8595 arch=alpha 8596 8597$as_echo "#define ALPHA 1" >>confdefs.h 8598 8599 ;; 8600powerpc*) 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 8609int 8610main () 8611{ 8612 8613 ; 8614 return 0; 8615} 8616_ACEOF 8617if ac_fn_c_try_compile "$LINENO"; then : 8618 arch=powerpc64 8619else 8620 arch=powerpc 8621fi 8622rm -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 ;; 8630arm*) 8631 arch=arm 8632 8633$as_echo "#define ARM 1" >>confdefs.h 8634 8635 ;; 8636aarch64*) 8637 arch=aarch64 8638 arch_m32=arm 8639 8640$as_echo "#define AARCH64 1" >>confdefs.h 8641 8642 ;; 8643avr32*) 8644 arch=avr32 8645 8646$as_echo "#define AVR32 1" >>confdefs.h 8647 8648 ;; 8649arc*) 8650 arch=arc 8651 8652$as_echo "#define ARC 1" >>confdefs.h 8653 8654 ;; 8655s390) 8656 arch=s390 8657 8658$as_echo "#define S390 1" >>confdefs.h 8659 8660 ;; 8661s390x) 8662 arch=s390x 8663 8664$as_echo "#define S390X 1" >>confdefs.h 8665 8666 ;; 8667hppa*|parisc*) 8668 arch=hppa 8669 8670$as_echo "#define HPPA 1" >>confdefs.h 8671 8672 ;; 8673sh64*) 8674 arch=sh64 8675 8676$as_echo "#define SH64 1" >>confdefs.h 8677 8678 ;; 8679sh*) 8680 arch=sh 8681 8682$as_echo "#define SH 1" >>confdefs.h 8683 8684 ;; 8685x86?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 8692int 8693main () 8694{ 8695 8696 ; 8697 return 0; 8698} 8699_ACEOF 8700if ac_fn_c_try_compile "$LINENO"; then : 8701 arch=x32 8702else 8703 arch=x86_64 8704fi 8705rm -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 ;; 8717cris|crisv10) 8718 arch=crisv10 8719 8720$as_echo "#define CRISV10 1" >>confdefs.h 8721 8722 ;; 8723crisv32) 8724 arch=crisv32 8725 8726$as_echo "#define CRISV32 1" >>confdefs.h 8727 8728 ;; 8729tile*) 8730 arch=tile 8731 8732$as_echo "#define TILE 1" >>confdefs.h 8733 8734 ;; 8735microblaze*) 8736 arch=microblaze 8737 8738$as_echo "#define MICROBLAZE 1" >>confdefs.h 8739 8740 ;; 8741nios2*) 8742 arch=nios2 8743 8744$as_echo "#define NIOS2 1" >>confdefs.h 8745 8746 ;; 8747 8748or1k*) 8749 arch=or1k 8750 8751$as_echo "#define OR1K 1" >>confdefs.h 8752 8753 ;; 8754 8755xtensa*) 8756 arch=xtensa 8757 8758$as_echo "#define XTENSA 1" >>confdefs.h 8759 8760 ;; 8761 8762riscv*) 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 ;; 8774esac 8775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $arch" >&5 8776$as_echo "$arch" >&6; } 8777 8778test -n "$arch_m32" || 8779 arch_m32=$arch 8780test -n "$arch_mx32" || 8781 arch_mx32=$arch 8782 8783 8784 8785 8786MIPS_ABI= 8787if 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; } 8790if ${st_cv__MIPS_SIM+:} false; then : 8791 $as_echo_n "(cached) " >&6 8792else 8793 if ac_fn_c_compute_int "$LINENO" "_MIPS_SIM" "st_cv__MIPS_SIM" ""; then : 8794 8795else 8796 as_fn_error $? "_MIPS_SIM cannot be determined" "$LINENO" 5 8797fi 8798 8799fi 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; } 8806if ${st_cv_mips_abi+:} false; then : 8807 $as_echo_n "(cached) " >&6 8808else 8809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8810/* end confdefs.h. */ 8811 8812int 8813main () 8814{ 8815int i[_MIPS_SIM == _ABIO32 ? 1 : - 1]; 8816 ; 8817 return 0; 8818} 8819_ACEOF 8820if ac_fn_c_try_compile "$LINENO"; then : 8821 st_cv_mips_abi=o32 8822else 8823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8824/* end confdefs.h. */ 8825 8826int 8827main () 8828{ 8829int i[_MIPS_SIM == _ABIN32 ? 1 : - 1]; 8830 ; 8831 return 0; 8832} 8833_ACEOF 8834if ac_fn_c_try_compile "$LINENO"; then : 8835 st_cv_mips_abi=n32 8836else 8837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8838/* end confdefs.h. */ 8839 8840int 8841main () 8842{ 8843int i[_MIPS_SIM == _ABI64 ? 1 : - 1]; 8844 ; 8845 return 0; 8846} 8847_ACEOF 8848if ac_fn_c_try_compile "$LINENO"; then : 8849 st_cv_mips_abi=n64 8850else 8851 st_cv_mips_abi=unknown 8852fi 8853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8854fi 8855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8856fi 8857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8858fi 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" 8875fi 8876 8877 8878# Check whether --enable-arm-oabi was given. 8879if test "${enable_arm_oabi+set}" = set; then : 8880 enableval=$enable_arm_oabi; 8881else 8882 enable_arm_oabi=no 8883fi 8884 8885case "$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 ;; 8889esac 8890 8891cat >>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; } 8898if ${ac_cv_c_bigendian+:} false; then : 8899 $as_echo_n "(cached) " >&6 8900else 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 8911if 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 8934fi 8935rm -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 8943int 8944main () 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 8956if 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 8963int 8964main () 8965{ 8966#if BYTE_ORDER != BIG_ENDIAN 8967 not big endian 8968 #endif 8969 8970 ; 8971 return 0; 8972} 8973_ACEOF 8974if ac_fn_c_try_compile "$LINENO"; then : 8975 ac_cv_c_bigendian=yes 8976else 8977 ac_cv_c_bigendian=no 8978fi 8979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8980fi 8981rm -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 8989int 8990main () 8991{ 8992#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8993 bogus endian macros 8994 #endif 8995 8996 ; 8997 return 0; 8998} 8999_ACEOF 9000if 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 9006int 9007main () 9008{ 9009#ifndef _BIG_ENDIAN 9010 not big endian 9011 #endif 9012 9013 ; 9014 return 0; 9015} 9016_ACEOF 9017if ac_fn_c_try_compile "$LINENO"; then : 9018 ac_cv_c_bigendian=yes 9019else 9020 ac_cv_c_bigendian=no 9021fi 9022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9023fi 9024rm -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. */ 9032short 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 9048int 9049main () 9050{ 9051return use_ascii (foo) == use_ebcdic (foo); 9052 ; 9053 return 0; 9054} 9055_ACEOF 9056if 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 9068fi 9069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9070else 9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9072/* end confdefs.h. */ 9073$ac_includes_default 9074int 9075main () 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 9091if ac_fn_c_try_run "$LINENO"; then : 9092 ac_cv_c_bigendian=no 9093else 9094 ac_cv_c_bigendian=yes 9095fi 9096rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9097 conftest.$ac_objext conftest.beam conftest.$ac_ext 9098fi 9099 9100 fi 9101fi 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; } 9123if ${ac_cv_c_typeof+:} false; then : 9124 $as_echo_n "(cached) " >&6 9125else 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 9132int 9133main () 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 9152if ac_fn_c_try_compile "$LINENO"; then : 9153 ac_cv_c_typeof=$ac_kw 9154fi 9155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9156 test $ac_cv_c_typeof != no && break 9157 done 9158fi 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 9167cat >>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; } 9177if ${ac_cv_type_uid_t+:} false; then : 9178 $as_echo_n "(cached) " >&6 9179else 9180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9181/* end confdefs.h. */ 9182#include <sys/types.h> 9183 9184_ACEOF 9185if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9186 $EGREP "uid_t" >/dev/null 2>&1; then : 9187 ac_cv_type_uid_t=yes 9188else 9189 ac_cv_type_uid_t=no 9190fi 9191rm -f conftest* 9192 9193fi 9194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 9195$as_echo "$ac_cv_type_uid_t" >&6; } 9196if 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 9203fi 9204 9205 9206for 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 9207do : 9208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9209ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9210if 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 9215fi 9216done 9217 9218 9219ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h> 9220" 9221if test "x$ac_cv_type_sig_atomic_t" = xyes; then : 9222 9223cat >>confdefs.h <<_ACEOF 9224#define HAVE_SIG_ATOMIC_T 1 9225_ACEOF 9226 9227 9228fi 9229ac_fn_c_check_type "$LINENO" "struct sigcontext" "ac_cv_type_struct_sigcontext" "#include <signal.h> 9230" 9231if test "x$ac_cv_type_struct_sigcontext" = xyes; then : 9232 9233cat >>confdefs.h <<_ACEOF 9234#define HAVE_STRUCT_SIGCONTEXT 1 9235_ACEOF 9236 9237 9238fi 9239 9240 9241ac_fn_c_check_type "$LINENO" "struct mmsghdr" "ac_cv_type_struct_mmsghdr" "#include <sys/socket.h> 9242" 9243if test "x$ac_cv_type_struct_mmsghdr" = xyes; then : 9244 9245cat >>confdefs.h <<_ACEOF 9246#define HAVE_STRUCT_MMSGHDR 1 9247_ACEOF 9248 9249 9250fi 9251 9252 9253ac_fn_c_check_type "$LINENO" "__kernel_long_t" "ac_cv_type___kernel_long_t" "#include <asm/posix_types.h> 9254" 9255if test "x$ac_cv_type___kernel_long_t" = xyes; then : 9256 9257cat >>confdefs.h <<_ACEOF 9258#define HAVE___KERNEL_LONG_T 1 9259_ACEOF 9260 9261 9262fi 9263ac_fn_c_check_type "$LINENO" "__kernel_ulong_t" "ac_cv_type___kernel_ulong_t" "#include <asm/posix_types.h> 9264" 9265if test "x$ac_cv_type___kernel_ulong_t" = xyes; then : 9266 9267cat >>confdefs.h <<_ACEOF 9268#define HAVE___KERNEL_ULONG_T 1 9269_ACEOF 9270 9271 9272fi 9273 9274 9275ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 9276#include <asm/stat.h> 9277" 9278if test "x$ac_cv_type_struct_stat64" = xyes; then : 9279 9280cat >>confdefs.h <<_ACEOF 9281#define HAVE_STRUCT_STAT64 1 9282_ACEOF 9283 9284 9285fi 9286ac_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" 9289if test "x$ac_cv_type_struct___old_kernel_stat" = xyes; then : 9290 9291cat >>confdefs.h <<_ACEOF 9292#define HAVE_STRUCT___OLD_KERNEL_STAT 1 9293_ACEOF 9294 9295 9296fi 9297 9298 9299ac_fn_c_check_type "$LINENO" "struct user_desc" "ac_cv_type_struct_user_desc" "#include <asm/ldt.h> 9300" 9301if test "x$ac_cv_type_struct_user_desc" = xyes; then : 9302 9303cat >>confdefs.h <<_ACEOF 9304#define HAVE_STRUCT_USER_DESC 1 9305_ACEOF 9306 9307 9308fi 9309 9310 9311ac_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" 9314if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then : 9315 9316cat >>confdefs.h <<_ACEOF 9317#define HAVE_STRUCT_STAT_ST_MTIME_NSEC 1 9318_ACEOF 9319 9320 9321fi 9322ac_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" 9325if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then : 9326 9327cat >>confdefs.h <<_ACEOF 9328#define HAVE_STRUCT_STAT64_ST_MTIME_NSEC 1 9329_ACEOF 9330 9331 9332fi 9333 9334 9335ac_fn_c_check_type "$LINENO" "struct pt_all_user_regs" "ac_cv_type_struct_pt_all_user_regs" "#include <sys/ptrace.h> 9336" 9337if test "x$ac_cv_type_struct_pt_all_user_regs" = xyes; then : 9338 9339cat >>confdefs.h <<_ACEOF 9340#define HAVE_STRUCT_PT_ALL_USER_REGS 1 9341_ACEOF 9342 9343 9344fi 9345ac_fn_c_check_type "$LINENO" "struct ia64_fpreg" "ac_cv_type_struct_ia64_fpreg" "#include <sys/ptrace.h> 9346" 9347if test "x$ac_cv_type_struct_ia64_fpreg" = xyes; then : 9348 9349cat >>confdefs.h <<_ACEOF 9350#define HAVE_STRUCT_IA64_FPREG 1 9351_ACEOF 9352 9353 9354fi 9355ac_fn_c_check_type "$LINENO" "struct ptrace_peeksiginfo_args" "ac_cv_type_struct_ptrace_peeksiginfo_args" "#include <sys/ptrace.h> 9356" 9357if test "x$ac_cv_type_struct_ptrace_peeksiginfo_args" = xyes; then : 9358 9359cat >>confdefs.h <<_ACEOF 9360#define HAVE_STRUCT_PTRACE_PEEKSIGINFO_ARGS 1 9361_ACEOF 9362 9363 9364fi 9365 9366 9367ac_fn_c_check_type "$LINENO" "struct flock" "ac_cv_type_struct_flock" "#include <sys/types.h> 9368#include <linux/fcntl.h> 9369" 9370if test "x$ac_cv_type_struct_flock" = xyes; then : 9371 9372cat >>confdefs.h <<_ACEOF 9373#define HAVE_STRUCT_FLOCK 1 9374_ACEOF 9375 9376 9377fi 9378ac_fn_c_check_type "$LINENO" "struct flock64" "ac_cv_type_struct_flock64" "#include <sys/types.h> 9379#include <linux/fcntl.h> 9380" 9381if test "x$ac_cv_type_struct_flock64" = xyes; then : 9382 9383cat >>confdefs.h <<_ACEOF 9384#define HAVE_STRUCT_FLOCK64 1 9385_ACEOF 9386 9387 9388fi 9389ac_fn_c_check_type "$LINENO" "struct __kernel_flock" "ac_cv_type_struct___kernel_flock" "#include <sys/types.h> 9390#include <linux/fcntl.h> 9391" 9392if test "x$ac_cv_type_struct___kernel_flock" = xyes; then : 9393 9394cat >>confdefs.h <<_ACEOF 9395#define HAVE_STRUCT___KERNEL_FLOCK 1 9396_ACEOF 9397 9398 9399fi 9400ac_fn_c_check_type "$LINENO" "struct __kernel_flock64" "ac_cv_type_struct___kernel_flock64" "#include <sys/types.h> 9401#include <linux/fcntl.h> 9402" 9403if test "x$ac_cv_type_struct___kernel_flock64" = xyes; then : 9404 9405cat >>confdefs.h <<_ACEOF 9406#define HAVE_STRUCT___KERNEL_FLOCK64 1 9407_ACEOF 9408 9409 9410fi 9411 9412 9413ac_fn_c_check_member "$LINENO" "struct timex" "tai" "ac_cv_member_struct_timex_tai" "#include <sys/timex.h> 9414" 9415if test "x$ac_cv_member_struct_timex_tai" = xyes; then : 9416 9417cat >>confdefs.h <<_ACEOF 9418#define HAVE_STRUCT_TIMEX_TAI 1 9419_ACEOF 9420 9421 9422fi 9423 9424 9425ac_fn_c_check_member "$LINENO" "struct utsname" "domainname" "ac_cv_member_struct_utsname_domainname" "#include <sys/utsname.h> 9426" 9427if test "x$ac_cv_member_struct_utsname_domainname" = xyes; then : 9428 9429cat >>confdefs.h <<_ACEOF 9430#define HAVE_STRUCT_UTSNAME_DOMAINNAME 1 9431_ACEOF 9432 9433 9434fi 9435 9436 9437ac_fn_c_check_member "$LINENO" "siginfo_t" "si_syscall" "ac_cv_member_siginfo_t_si_syscall" "#include <signal.h> 9438" 9439if test "x$ac_cv_member_siginfo_t_si_syscall" = xyes; then : 9440 9441cat >>confdefs.h <<_ACEOF 9442#define HAVE_SIGINFO_T_SI_SYSCALL 1 9443_ACEOF 9444 9445 9446fi 9447ac_fn_c_check_member "$LINENO" "siginfo_t" "si_timerid" "ac_cv_member_siginfo_t_si_timerid" "#include <signal.h> 9448" 9449if test "x$ac_cv_member_siginfo_t_si_timerid" = xyes; then : 9450 9451cat >>confdefs.h <<_ACEOF 9452#define HAVE_SIGINFO_T_SI_TIMERID 1 9453_ACEOF 9454 9455 9456fi 9457ac_fn_c_check_member "$LINENO" "siginfo_t" "si_overrun" "ac_cv_member_siginfo_t_si_overrun" "#include <signal.h> 9458" 9459if test "x$ac_cv_member_siginfo_t_si_overrun" = xyes; then : 9460 9461cat >>confdefs.h <<_ACEOF 9462#define HAVE_SIGINFO_T_SI_OVERRUN 1 9463_ACEOF 9464 9465 9466fi 9467 9468 9469ac_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" 9471if test "x$ac_cv_member_struct_perf_event_attr_precise_ip" = xyes; then : 9472 9473cat >>confdefs.h <<_ACEOF 9474#define HAVE_STRUCT_PERF_EVENT_ATTR_PRECISE_IP 1 9475_ACEOF 9476 9477 9478fi 9479ac_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" 9481if test "x$ac_cv_member_struct_perf_event_attr_mmap_data" = xyes; then : 9482 9483cat >>confdefs.h <<_ACEOF 9484#define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP_DATA 1 9485_ACEOF 9486 9487 9488fi 9489ac_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" 9491if test "x$ac_cv_member_struct_perf_event_attr_sample_id_all" = xyes; then : 9492 9493cat >>confdefs.h <<_ACEOF 9494#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_ID_ALL 1 9495_ACEOF 9496 9497 9498fi 9499ac_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" 9501if test "x$ac_cv_member_struct_perf_event_attr_exclude_host" = xyes; then : 9502 9503cat >>confdefs.h <<_ACEOF 9504#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_HOST 1 9505_ACEOF 9506 9507 9508fi 9509ac_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" 9511if test "x$ac_cv_member_struct_perf_event_attr_exclude_guest" = xyes; then : 9512 9513cat >>confdefs.h <<_ACEOF 9514#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_GUEST 1 9515_ACEOF 9516 9517 9518fi 9519ac_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" 9521if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_kernel" = xyes; then : 9522 9523cat >>confdefs.h <<_ACEOF 9524#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_KERNEL 1 9525_ACEOF 9526 9527 9528fi 9529ac_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" 9531if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_user" = xyes; then : 9532 9533cat >>confdefs.h <<_ACEOF 9534#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_USER 1 9535_ACEOF 9536 9537 9538fi 9539ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "mmap2" "ac_cv_member_struct_perf_event_attr_mmap2" "#include <linux/perf_event.h> 9540" 9541if test "x$ac_cv_member_struct_perf_event_attr_mmap2" = xyes; then : 9542 9543cat >>confdefs.h <<_ACEOF 9544#define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP2 1 9545_ACEOF 9546 9547 9548fi 9549ac_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" 9551if test "x$ac_cv_member_struct_perf_event_attr_comm_exec" = xyes; then : 9552 9553cat >>confdefs.h <<_ACEOF 9554#define HAVE_STRUCT_PERF_EVENT_ATTR_COMM_EXEC 1 9555_ACEOF 9556 9557 9558fi 9559ac_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" 9561if test "x$ac_cv_member_struct_perf_event_attr_use_clockid" = xyes; then : 9562 9563cat >>confdefs.h <<_ACEOF 9564#define HAVE_STRUCT_PERF_EVENT_ATTR_USE_CLOCKID 1 9565_ACEOF 9566 9567 9568fi 9569ac_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" 9571if test "x$ac_cv_member_struct_perf_event_attr_context_switch" = xyes; then : 9572 9573cat >>confdefs.h <<_ACEOF 9574#define HAVE_STRUCT_PERF_EVENT_ATTR_CONTEXT_SWITCH 1 9575_ACEOF 9576 9577 9578fi 9579ac_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" 9581if test "x$ac_cv_member_struct_perf_event_attr_write_backward" = xyes; then : 9582 9583cat >>confdefs.h <<_ACEOF 9584#define HAVE_STRUCT_PERF_EVENT_ATTR_WRITE_BACKWARD 1 9585_ACEOF 9586 9587 9588fi 9589ac_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" 9591if test "x$ac_cv_member_struct_perf_event_attr_bp_type" = xyes; then : 9592 9593cat >>confdefs.h <<_ACEOF 9594#define HAVE_STRUCT_PERF_EVENT_ATTR_BP_TYPE 1 9595_ACEOF 9596 9597 9598fi 9599ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config1" "ac_cv_member_struct_perf_event_attr_config1" "#include <linux/perf_event.h> 9600" 9601if test "x$ac_cv_member_struct_perf_event_attr_config1" = xyes; then : 9602 9603cat >>confdefs.h <<_ACEOF 9604#define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG1 1 9605_ACEOF 9606 9607 9608fi 9609ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config2" "ac_cv_member_struct_perf_event_attr_config2" "#include <linux/perf_event.h> 9610" 9611if test "x$ac_cv_member_struct_perf_event_attr_config2" = xyes; then : 9612 9613cat >>confdefs.h <<_ACEOF 9614#define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG2 1 9615_ACEOF 9616 9617 9618fi 9619ac_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" 9621if test "x$ac_cv_member_struct_perf_event_attr_branch_sample_type" = xyes; then : 9622 9623cat >>confdefs.h <<_ACEOF 9624#define HAVE_STRUCT_PERF_EVENT_ATTR_BRANCH_SAMPLE_TYPE 1 9625_ACEOF 9626 9627 9628fi 9629ac_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" 9631if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_user" = xyes; then : 9632 9633cat >>confdefs.h <<_ACEOF 9634#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_USER 1 9635_ACEOF 9636 9637 9638fi 9639ac_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" 9641if test "x$ac_cv_member_struct_perf_event_attr_sample_stack_user" = xyes; then : 9642 9643cat >>confdefs.h <<_ACEOF 9644#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_STACK_USER 1 9645_ACEOF 9646 9647 9648fi 9649ac_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" 9651if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_intr" = xyes; then : 9652 9653cat >>confdefs.h <<_ACEOF 9654#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_INTR 1 9655_ACEOF 9656 9657 9658fi 9659ac_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" 9661if test "x$ac_cv_member_struct_perf_event_attr_aux_watermark" = xyes; then : 9662 9663cat >>confdefs.h <<_ACEOF 9664#define HAVE_STRUCT_PERF_EVENT_ATTR_AUX_WATERMARK 1 9665_ACEOF 9666 9667 9668fi 9669ac_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" 9671if test "x$ac_cv_member_struct_perf_event_attr_sample_max_stack" = xyes; then : 9672 9673cat >>confdefs.h <<_ACEOF 9674#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_MAX_STACK 1 9675_ACEOF 9676 9677 9678fi 9679 9680 9681for 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 9682do : 9683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9684ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 9685if 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 9690fi 9691 9692done 9693 9694 9695for ac_header in asm/sigcontext.h 9696do : 9697 ac_fn_c_check_header_compile "$LINENO" "asm/sigcontext.h" "ac_cv_header_asm_sigcontext_h" "#include <signal.h> 9698" 9699if 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 9704fi 9705 9706done 9707 9708 9709for ac_header in netinet/tcp.h netinet/udp.h 9710do : 9711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9712ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h> 9713" 9714if 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 9719fi 9720 9721done 9722 9723 9724for ac_header in linux/mqueue.h 9725do : 9726 ac_fn_c_check_header_compile "$LINENO" "linux/mqueue.h" "ac_cv_header_linux_mqueue_h" "#include <linux/types.h> 9727" 9728if 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 9733fi 9734 9735done 9736 9737 9738for 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 9739do : 9740 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9741ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h> 9742#include <net/if.h> 9743" 9744if 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 9749fi 9750 9751done 9752 9753 9754for ac_header in linux/input.h 9755do : 9756 ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default" 9757if 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" 9764if test "x$ac_cv_member_struct_input_absinfo_resolution" = xyes; then : 9765 9766cat >>confdefs.h <<_ACEOF 9767#define HAVE_STRUCT_INPUT_ABSINFO_RESOLUTION 1 9768_ACEOF 9769 9770 9771fi 9772 9773 9774fi 9775 9776done 9777 9778 9779for ac_header in linux/bpf.h 9780do : 9781 ac_fn_c_check_header_mongrel "$LINENO" "linux/bpf.h" "ac_cv_header_linux_bpf_h" "$ac_includes_default" 9782if 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; } 9789if ${st_cv_have_union_bpf_attr_log_buf+:} false; then : 9790 $as_echo_n "(cached) " >&6 9791else 9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9793/* end confdefs.h. */ 9794#include <linux/bpf.h> 9795int 9796main () 9797{ 9798union bpf_attr a = { .log_buf = 0 }; 9799 ; 9800 return 0; 9801} 9802_ACEOF 9803if ac_fn_c_try_compile "$LINENO"; then : 9804 st_cv_have_union_bpf_attr_log_buf=yes 9805else 9806 st_cv_have_union_bpf_attr_log_buf=no 9807fi 9808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9809fi 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; } 9819if ${st_cv_have_union_bpf_attr_bpf_fd+:} false; then : 9820 $as_echo_n "(cached) " >&6 9821else 9822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9823/* end confdefs.h. */ 9824#include <linux/bpf.h> 9825int 9826main () 9827{ 9828union bpf_attr a = { .bpf_fd = 0 }; 9829 ; 9830 return 0; 9831} 9832_ACEOF 9833if ac_fn_c_try_compile "$LINENO"; then : 9834 st_cv_have_union_bpf_attr_bpf_fd=yes 9835else 9836 st_cv_have_union_bpf_attr_bpf_fd=no 9837fi 9838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9839fi 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; } 9849if ${st_cv_have_union_bpf_attr_attach_flags+:} false; then : 9850 $as_echo_n "(cached) " >&6 9851else 9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9853/* end confdefs.h. */ 9854#include <linux/bpf.h> 9855int 9856main () 9857{ 9858union bpf_attr a = { .attach_flags = 0 }; 9859 ; 9860 return 0; 9861} 9862_ACEOF 9863if ac_fn_c_try_compile "$LINENO"; then : 9864 st_cv_have_union_bpf_attr_attach_flags=yes 9865else 9866 st_cv_have_union_bpf_attr_attach_flags=no 9867fi 9868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9869fi 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 9878fi 9879 9880done 9881 9882 9883ac_fn_c_check_type "$LINENO" "struct statfs" "ac_cv_type_struct_statfs" "#include <linux/types.h> 9884#include <asm/statfs.h> 9885" 9886if test "x$ac_cv_type_struct_statfs" = xyes; then : 9887 9888cat >>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" 9896if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then : 9897 9898cat >>confdefs.h <<_ACEOF 9899#define HAVE_STRUCT_STATFS_F_FRSIZE 1 9900_ACEOF 9901 9902 9903fi 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" 9908if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then : 9909 9910cat >>confdefs.h <<_ACEOF 9911#define HAVE_STRUCT_STATFS_F_FLAGS 1 9912_ACEOF 9913 9914 9915fi 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" 9920if test "x$ac_cv_member_struct_statfs_f_fsid_val" = xyes; then : 9921 9922cat >>confdefs.h <<_ACEOF 9923#define HAVE_STRUCT_STATFS_F_FSID_VAL 1 9924_ACEOF 9925 9926 9927fi 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" 9932if test "x$ac_cv_member_struct_statfs_f_fsid___val" = xyes; then : 9933 9934cat >>confdefs.h <<_ACEOF 9935#define HAVE_STRUCT_STATFS_F_FSID___VAL 1 9936_ACEOF 9937 9938 9939fi 9940 9941 9942fi 9943 9944 9945ac_fn_c_check_type "$LINENO" "struct statfs64" "ac_cv_type_struct_statfs64" "#include <linux/types.h> 9946#include <asm/statfs.h> 9947" 9948if test "x$ac_cv_type_struct_statfs64" = xyes; then : 9949 9950cat >>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" 9958if test "x$ac_cv_member_struct_statfs64_f_frsize" = xyes; then : 9959 9960cat >>confdefs.h <<_ACEOF 9961#define HAVE_STRUCT_STATFS64_F_FRSIZE 1 9962_ACEOF 9963 9964 9965fi 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" 9970if test "x$ac_cv_member_struct_statfs64_f_flags" = xyes; then : 9971 9972cat >>confdefs.h <<_ACEOF 9973#define HAVE_STRUCT_STATFS64_F_FLAGS 1 9974_ACEOF 9975 9976 9977fi 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" 9982if test "x$ac_cv_member_struct_statfs64_f_fsid_val" = xyes; then : 9983 9984cat >>confdefs.h <<_ACEOF 9985#define HAVE_STRUCT_STATFS64_F_FSID_VAL 1 9986_ACEOF 9987 9988 9989fi 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" 9994if test "x$ac_cv_member_struct_statfs64_f_fsid___val" = xyes; then : 9995 9996cat >>confdefs.h <<_ACEOF 9997#define HAVE_STRUCT_STATFS64_F_FSID___VAL 1 9998_ACEOF 9999 10000 10001fi 10002 10003 10004fi 10005 10006 10007ac_fn_c_check_type "$LINENO" "struct blk_user_trace_setup" "ac_cv_type_struct_blk_user_trace_setup" "#include <linux/blktrace_api.h> 10008" 10009if test "x$ac_cv_type_struct_blk_user_trace_setup" = xyes; then : 10010 10011cat >>confdefs.h <<_ACEOF 10012#define HAVE_STRUCT_BLK_USER_TRACE_SETUP 1 10013_ACEOF 10014 10015 10016fi 10017 10018 10019for ac_header in linux/btrfs.h 10020do : 10021 ac_fn_c_check_header_mongrel "$LINENO" "linux/btrfs.h" "ac_cv_header_linux_btrfs_h" "$ac_includes_default" 10022if 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" 10030if test "x$ac_cv_member_struct_btrfs_ioctl_feature_flags_compat_flags" = xyes; then : 10031 10032cat >>confdefs.h <<_ACEOF 10033#define HAVE_STRUCT_BTRFS_IOCTL_FEATURE_FLAGS_COMPAT_FLAGS 1 10034_ACEOF 10035 10036 10037fi 10038ac_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" 10041if test "x$ac_cv_member_struct_btrfs_ioctl_fs_info_args_nodesize" = xyes; then : 10042 10043cat >>confdefs.h <<_ACEOF 10044#define HAVE_STRUCT_BTRFS_IOCTL_FS_INFO_ARGS_NODESIZE 1 10045_ACEOF 10046 10047 10048fi 10049ac_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" 10052if test "x$ac_cv_member_struct_btrfs_ioctl_defrag_range_args_start" = xyes; then : 10053 10054cat >>confdefs.h <<_ACEOF 10055#define HAVE_STRUCT_BTRFS_IOCTL_DEFRAG_RANGE_ARGS_START 1 10056_ACEOF 10057 10058 10059fi 10060ac_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" 10063if test "x$ac_cv_member_struct_btrfs_ioctl_search_args_v2_buf_size" = xyes; then : 10064 10065cat >>confdefs.h <<_ACEOF 10066#define HAVE_STRUCT_BTRFS_IOCTL_SEARCH_ARGS_V2_BUF_SIZE 1 10067_ACEOF 10068 10069 10070fi 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" 10075if test "x$ac_cv_have_decl_BTRFS_COMPRESS_NONE" = xyes; then : 10076 ac_have_decl=1 10077else 10078 ac_have_decl=0 10079fi 10080 10081cat >>confdefs.h <<_ACEOF 10082#define HAVE_DECL_BTRFS_COMPRESS_NONE $ac_have_decl 10083_ACEOF 10084ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_ZLIB" "ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" " #include <stdio.h> 10085#include <linux/btrfs.h> 10086" 10087if test "x$ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" = xyes; then : 10088 ac_have_decl=1 10089else 10090 ac_have_decl=0 10091fi 10092 10093cat >>confdefs.h <<_ACEOF 10094#define HAVE_DECL_BTRFS_COMPRESS_ZLIB $ac_have_decl 10095_ACEOF 10096ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_LZO" "ac_cv_have_decl_BTRFS_COMPRESS_LZO" " #include <stdio.h> 10097#include <linux/btrfs.h> 10098" 10099if test "x$ac_cv_have_decl_BTRFS_COMPRESS_LZO" = xyes; then : 10100 ac_have_decl=1 10101else 10102 ac_have_decl=0 10103fi 10104 10105cat >>confdefs.h <<_ACEOF 10106#define HAVE_DECL_BTRFS_COMPRESS_LZO $ac_have_decl 10107_ACEOF 10108 10109fi 10110 10111done 10112 10113 10114ac_fn_c_check_decl "$LINENO" "sys_errlist" "ac_cv_have_decl_sys_errlist" "$ac_includes_default" 10115if test "x$ac_cv_have_decl_sys_errlist" = xyes; then : 10116 ac_have_decl=1 10117else 10118 ac_have_decl=0 10119fi 10120 10121cat >>confdefs.h <<_ACEOF 10122#define HAVE_DECL_SYS_ERRLIST $ac_have_decl 10123_ACEOF 10124 10125ac_fn_c_check_decl "$LINENO" "PTRACE_PEEKUSER" "ac_cv_have_decl_PTRACE_PEEKUSER" "#include <sys/ptrace.h> 10126" 10127if test "x$ac_cv_have_decl_PTRACE_PEEKUSER" = xyes; then : 10128 ac_have_decl=1 10129else 10130 ac_have_decl=0 10131fi 10132 10133cat >>confdefs.h <<_ACEOF 10134#define HAVE_DECL_PTRACE_PEEKUSER $ac_have_decl 10135_ACEOF 10136ac_fn_c_check_decl "$LINENO" "PTRACE_POKEUSER" "ac_cv_have_decl_PTRACE_POKEUSER" "#include <sys/ptrace.h> 10137" 10138if test "x$ac_cv_have_decl_PTRACE_POKEUSER" = xyes; then : 10139 ac_have_decl=1 10140else 10141 ac_have_decl=0 10142fi 10143 10144cat >>confdefs.h <<_ACEOF 10145#define HAVE_DECL_PTRACE_POKEUSER $ac_have_decl 10146_ACEOF 10147 10148 10149ac_fn_c_check_decl "$LINENO" "P_PID" "ac_cv_have_decl_P_PID" "#include <sys/wait.h> 10150" 10151if test "x$ac_cv_have_decl_P_PID" = xyes; then : 10152 ac_have_decl=1 10153else 10154 ac_have_decl=0 10155fi 10156 10157cat >>confdefs.h <<_ACEOF 10158#define HAVE_DECL_P_PID $ac_have_decl 10159_ACEOF 10160ac_fn_c_check_decl "$LINENO" "P_PPID" "ac_cv_have_decl_P_PPID" "#include <sys/wait.h> 10161" 10162if test "x$ac_cv_have_decl_P_PPID" = xyes; then : 10163 ac_have_decl=1 10164else 10165 ac_have_decl=0 10166fi 10167 10168cat >>confdefs.h <<_ACEOF 10169#define HAVE_DECL_P_PPID $ac_have_decl 10170_ACEOF 10171ac_fn_c_check_decl "$LINENO" "P_PGID" "ac_cv_have_decl_P_PGID" "#include <sys/wait.h> 10172" 10173if test "x$ac_cv_have_decl_P_PGID" = xyes; then : 10174 ac_have_decl=1 10175else 10176 ac_have_decl=0 10177fi 10178 10179cat >>confdefs.h <<_ACEOF 10180#define HAVE_DECL_P_PGID $ac_have_decl 10181_ACEOF 10182ac_fn_c_check_decl "$LINENO" "P_SID" "ac_cv_have_decl_P_SID" "#include <sys/wait.h> 10183" 10184if test "x$ac_cv_have_decl_P_SID" = xyes; then : 10185 ac_have_decl=1 10186else 10187 ac_have_decl=0 10188fi 10189 10190cat >>confdefs.h <<_ACEOF 10191#define HAVE_DECL_P_SID $ac_have_decl 10192_ACEOF 10193ac_fn_c_check_decl "$LINENO" "P_CID" "ac_cv_have_decl_P_CID" "#include <sys/wait.h> 10194" 10195if test "x$ac_cv_have_decl_P_CID" = xyes; then : 10196 ac_have_decl=1 10197else 10198 ac_have_decl=0 10199fi 10200 10201cat >>confdefs.h <<_ACEOF 10202#define HAVE_DECL_P_CID $ac_have_decl 10203_ACEOF 10204ac_fn_c_check_decl "$LINENO" "P_UID" "ac_cv_have_decl_P_UID" "#include <sys/wait.h> 10205" 10206if test "x$ac_cv_have_decl_P_UID" = xyes; then : 10207 ac_have_decl=1 10208else 10209 ac_have_decl=0 10210fi 10211 10212cat >>confdefs.h <<_ACEOF 10213#define HAVE_DECL_P_UID $ac_have_decl 10214_ACEOF 10215ac_fn_c_check_decl "$LINENO" "P_GID" "ac_cv_have_decl_P_GID" "#include <sys/wait.h> 10216" 10217if test "x$ac_cv_have_decl_P_GID" = xyes; then : 10218 ac_have_decl=1 10219else 10220 ac_have_decl=0 10221fi 10222 10223cat >>confdefs.h <<_ACEOF 10224#define HAVE_DECL_P_GID $ac_have_decl 10225_ACEOF 10226ac_fn_c_check_decl "$LINENO" "P_ALL" "ac_cv_have_decl_P_ALL" "#include <sys/wait.h> 10227" 10228if test "x$ac_cv_have_decl_P_ALL" = xyes; then : 10229 ac_have_decl=1 10230else 10231 ac_have_decl=0 10232fi 10233 10234cat >>confdefs.h <<_ACEOF 10235#define HAVE_DECL_P_ALL $ac_have_decl 10236_ACEOF 10237ac_fn_c_check_decl "$LINENO" "P_LWPID" "ac_cv_have_decl_P_LWPID" "#include <sys/wait.h> 10238" 10239if test "x$ac_cv_have_decl_P_LWPID" = xyes; then : 10240 ac_have_decl=1 10241else 10242 ac_have_decl=0 10243fi 10244 10245cat >>confdefs.h <<_ACEOF 10246#define HAVE_DECL_P_LWPID $ac_have_decl 10247_ACEOF 10248 10249 10250ac_fn_c_check_decl "$LINENO" "LO_FLAGS_READ_ONLY" "ac_cv_have_decl_LO_FLAGS_READ_ONLY" "#include <linux/loop.h> 10251" 10252if test "x$ac_cv_have_decl_LO_FLAGS_READ_ONLY" = xyes; then : 10253 ac_have_decl=1 10254else 10255 ac_have_decl=0 10256fi 10257 10258cat >>confdefs.h <<_ACEOF 10259#define HAVE_DECL_LO_FLAGS_READ_ONLY $ac_have_decl 10260_ACEOF 10261ac_fn_c_check_decl "$LINENO" "LO_FLAGS_USE_AOPS" "ac_cv_have_decl_LO_FLAGS_USE_AOPS" "#include <linux/loop.h> 10262" 10263if test "x$ac_cv_have_decl_LO_FLAGS_USE_AOPS" = xyes; then : 10264 ac_have_decl=1 10265else 10266 ac_have_decl=0 10267fi 10268 10269cat >>confdefs.h <<_ACEOF 10270#define HAVE_DECL_LO_FLAGS_USE_AOPS $ac_have_decl 10271_ACEOF 10272ac_fn_c_check_decl "$LINENO" "LO_FLAGS_AUTOCLEAR" "ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" "#include <linux/loop.h> 10273" 10274if test "x$ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" = xyes; then : 10275 ac_have_decl=1 10276else 10277 ac_have_decl=0 10278fi 10279 10280cat >>confdefs.h <<_ACEOF 10281#define HAVE_DECL_LO_FLAGS_AUTOCLEAR $ac_have_decl 10282_ACEOF 10283ac_fn_c_check_decl "$LINENO" "LO_FLAGS_PARTSCAN" "ac_cv_have_decl_LO_FLAGS_PARTSCAN" "#include <linux/loop.h> 10284" 10285if test "x$ac_cv_have_decl_LO_FLAGS_PARTSCAN" = xyes; then : 10286 ac_have_decl=1 10287else 10288 ac_have_decl=0 10289fi 10290 10291cat >>confdefs.h <<_ACEOF 10292#define HAVE_DECL_LO_FLAGS_PARTSCAN $ac_have_decl 10293_ACEOF 10294ac_fn_c_check_decl "$LINENO" "LO_FLAGS_DIRECT_IO" "ac_cv_have_decl_LO_FLAGS_DIRECT_IO" "#include <linux/loop.h> 10295" 10296if test "x$ac_cv_have_decl_LO_FLAGS_DIRECT_IO" = xyes; then : 10297 ac_have_decl=1 10298else 10299 ac_have_decl=0 10300fi 10301 10302cat >>confdefs.h <<_ACEOF 10303#define HAVE_DECL_LO_FLAGS_DIRECT_IO $ac_have_decl 10304_ACEOF 10305 10306 10307ac_fn_c_check_decl "$LINENO" "CTL_PROC" "ac_cv_have_decl_CTL_PROC" "#include <sys/types.h> 10308#include <linux/sysctl.h> 10309" 10310if test "x$ac_cv_have_decl_CTL_PROC" = xyes; then : 10311 ac_have_decl=1 10312else 10313 ac_have_decl=0 10314fi 10315 10316cat >>confdefs.h <<_ACEOF 10317#define HAVE_DECL_CTL_PROC $ac_have_decl 10318_ACEOF 10319ac_fn_c_check_decl "$LINENO" "CTL_ARLAN" "ac_cv_have_decl_CTL_ARLAN" "#include <sys/types.h> 10320#include <linux/sysctl.h> 10321" 10322if test "x$ac_cv_have_decl_CTL_ARLAN" = xyes; then : 10323 ac_have_decl=1 10324else 10325 ac_have_decl=0 10326fi 10327 10328cat >>confdefs.h <<_ACEOF 10329#define HAVE_DECL_CTL_ARLAN $ac_have_decl 10330_ACEOF 10331ac_fn_c_check_decl "$LINENO" "CTL_S390DBF" "ac_cv_have_decl_CTL_S390DBF" "#include <sys/types.h> 10332#include <linux/sysctl.h> 10333" 10334if test "x$ac_cv_have_decl_CTL_S390DBF" = xyes; then : 10335 ac_have_decl=1 10336else 10337 ac_have_decl=0 10338fi 10339 10340cat >>confdefs.h <<_ACEOF 10341#define HAVE_DECL_CTL_S390DBF $ac_have_decl 10342_ACEOF 10343ac_fn_c_check_decl "$LINENO" "CTL_SUNRPC" "ac_cv_have_decl_CTL_SUNRPC" "#include <sys/types.h> 10344#include <linux/sysctl.h> 10345" 10346if test "x$ac_cv_have_decl_CTL_SUNRPC" = xyes; then : 10347 ac_have_decl=1 10348else 10349 ac_have_decl=0 10350fi 10351 10352cat >>confdefs.h <<_ACEOF 10353#define HAVE_DECL_CTL_SUNRPC $ac_have_decl 10354_ACEOF 10355ac_fn_c_check_decl "$LINENO" "CTL_PM" "ac_cv_have_decl_CTL_PM" "#include <sys/types.h> 10356#include <linux/sysctl.h> 10357" 10358if test "x$ac_cv_have_decl_CTL_PM" = xyes; then : 10359 ac_have_decl=1 10360else 10361 ac_have_decl=0 10362fi 10363 10364cat >>confdefs.h <<_ACEOF 10365#define HAVE_DECL_CTL_PM $ac_have_decl 10366_ACEOF 10367ac_fn_c_check_decl "$LINENO" "CTL_FRV" "ac_cv_have_decl_CTL_FRV" "#include <sys/types.h> 10368#include <linux/sysctl.h> 10369" 10370if test "x$ac_cv_have_decl_CTL_FRV" = xyes; then : 10371 ac_have_decl=1 10372else 10373 ac_have_decl=0 10374fi 10375 10376cat >>confdefs.h <<_ACEOF 10377#define HAVE_DECL_CTL_FRV $ac_have_decl 10378_ACEOF 10379ac_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" 10382if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT" = xyes; then : 10383 ac_have_decl=1 10384else 10385 ac_have_decl=0 10386fi 10387 10388cat >>confdefs.h <<_ACEOF 10389#define HAVE_DECL_KERN_PRINTK_RATELIMIT $ac_have_decl 10390_ACEOF 10391ac_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" 10394if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" = xyes; then : 10395 ac_have_decl=1 10396else 10397 ac_have_decl=0 10398fi 10399 10400cat >>confdefs.h <<_ACEOF 10401#define HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST $ac_have_decl 10402_ACEOF 10403ac_fn_c_check_decl "$LINENO" "KERN_PTY" "ac_cv_have_decl_KERN_PTY" "#include <sys/types.h> 10404#include <linux/sysctl.h> 10405" 10406if test "x$ac_cv_have_decl_KERN_PTY" = xyes; then : 10407 ac_have_decl=1 10408else 10409 ac_have_decl=0 10410fi 10411 10412cat >>confdefs.h <<_ACEOF 10413#define HAVE_DECL_KERN_PTY $ac_have_decl 10414_ACEOF 10415ac_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" 10418if test "x$ac_cv_have_decl_KERN_NGROUPS_MAX" = xyes; then : 10419 ac_have_decl=1 10420else 10421 ac_have_decl=0 10422fi 10423 10424cat >>confdefs.h <<_ACEOF 10425#define HAVE_DECL_KERN_NGROUPS_MAX $ac_have_decl 10426_ACEOF 10427ac_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" 10430if test "x$ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" = xyes; then : 10431 ac_have_decl=1 10432else 10433 ac_have_decl=0 10434fi 10435 10436cat >>confdefs.h <<_ACEOF 10437#define HAVE_DECL_KERN_SPARC_SCONS_PWROFF $ac_have_decl 10438_ACEOF 10439ac_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" 10442if test "x$ac_cv_have_decl_KERN_HZ_TIMER" = xyes; then : 10443 ac_have_decl=1 10444else 10445 ac_have_decl=0 10446fi 10447 10448cat >>confdefs.h <<_ACEOF 10449#define HAVE_DECL_KERN_HZ_TIMER $ac_have_decl 10450_ACEOF 10451ac_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" 10454if test "x$ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" = xyes; then : 10455 ac_have_decl=1 10456else 10457 ac_have_decl=0 10458fi 10459 10460cat >>confdefs.h <<_ACEOF 10461#define HAVE_DECL_KERN_UNKNOWN_NMI_PANIC $ac_have_decl 10462_ACEOF 10463ac_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" 10466if test "x$ac_cv_have_decl_KERN_BOOTLOADER_TYPE" = xyes; then : 10467 ac_have_decl=1 10468else 10469 ac_have_decl=0 10470fi 10471 10472cat >>confdefs.h <<_ACEOF 10473#define HAVE_DECL_KERN_BOOTLOADER_TYPE $ac_have_decl 10474_ACEOF 10475ac_fn_c_check_decl "$LINENO" "KERN_RANDOMIZE" "ac_cv_have_decl_KERN_RANDOMIZE" "#include <sys/types.h> 10476#include <linux/sysctl.h> 10477" 10478if test "x$ac_cv_have_decl_KERN_RANDOMIZE" = xyes; then : 10479 ac_have_decl=1 10480else 10481 ac_have_decl=0 10482fi 10483 10484cat >>confdefs.h <<_ACEOF 10485#define HAVE_DECL_KERN_RANDOMIZE $ac_have_decl 10486_ACEOF 10487ac_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" 10490if test "x$ac_cv_have_decl_KERN_SETUID_DUMPABLE" = xyes; then : 10491 ac_have_decl=1 10492else 10493 ac_have_decl=0 10494fi 10495 10496cat >>confdefs.h <<_ACEOF 10497#define HAVE_DECL_KERN_SETUID_DUMPABLE $ac_have_decl 10498_ACEOF 10499ac_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" 10502if test "x$ac_cv_have_decl_KERN_SPIN_RETRY" = xyes; then : 10503 ac_have_decl=1 10504else 10505 ac_have_decl=0 10506fi 10507 10508cat >>confdefs.h <<_ACEOF 10509#define HAVE_DECL_KERN_SPIN_RETRY $ac_have_decl 10510_ACEOF 10511ac_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" 10514if test "x$ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" = xyes; then : 10515 ac_have_decl=1 10516else 10517 ac_have_decl=0 10518fi 10519 10520cat >>confdefs.h <<_ACEOF 10521#define HAVE_DECL_KERN_ACPI_VIDEO_FLAGS $ac_have_decl 10522_ACEOF 10523ac_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" 10526if test "x$ac_cv_have_decl_KERN_IA64_UNALIGNED" = xyes; then : 10527 ac_have_decl=1 10528else 10529 ac_have_decl=0 10530fi 10531 10532cat >>confdefs.h <<_ACEOF 10533#define HAVE_DECL_KERN_IA64_UNALIGNED $ac_have_decl 10534_ACEOF 10535ac_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" 10538if test "x$ac_cv_have_decl_KERN_COMPAT_LOG" = xyes; then : 10539 ac_have_decl=1 10540else 10541 ac_have_decl=0 10542fi 10543 10544cat >>confdefs.h <<_ACEOF 10545#define HAVE_DECL_KERN_COMPAT_LOG $ac_have_decl 10546_ACEOF 10547ac_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" 10550if test "x$ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" = xyes; then : 10551 ac_have_decl=1 10552else 10553 ac_have_decl=0 10554fi 10555 10556cat >>confdefs.h <<_ACEOF 10557#define HAVE_DECL_KERN_MAX_LOCK_DEPTH $ac_have_decl 10558_ACEOF 10559ac_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" 10562if test "x$ac_cv_have_decl_KERN_NMI_WATCHDOG" = xyes; then : 10563 ac_have_decl=1 10564else 10565 ac_have_decl=0 10566fi 10567 10568cat >>confdefs.h <<_ACEOF 10569#define HAVE_DECL_KERN_NMI_WATCHDOG $ac_have_decl 10570_ACEOF 10571ac_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" 10574if test "x$ac_cv_have_decl_KERN_PANIC_ON_NMI" = xyes; then : 10575 ac_have_decl=1 10576else 10577 ac_have_decl=0 10578fi 10579 10580cat >>confdefs.h <<_ACEOF 10581#define HAVE_DECL_KERN_PANIC_ON_NMI $ac_have_decl 10582_ACEOF 10583ac_fn_c_check_decl "$LINENO" "NET_LLC" "ac_cv_have_decl_NET_LLC" "#include <sys/types.h> 10584#include <linux/sysctl.h> 10585" 10586if test "x$ac_cv_have_decl_NET_LLC" = xyes; then : 10587 ac_have_decl=1 10588else 10589 ac_have_decl=0 10590fi 10591 10592cat >>confdefs.h <<_ACEOF 10593#define HAVE_DECL_NET_LLC $ac_have_decl 10594_ACEOF 10595ac_fn_c_check_decl "$LINENO" "NET_NETFILTER" "ac_cv_have_decl_NET_NETFILTER" "#include <sys/types.h> 10596#include <linux/sysctl.h> 10597" 10598if test "x$ac_cv_have_decl_NET_NETFILTER" = xyes; then : 10599 ac_have_decl=1 10600else 10601 ac_have_decl=0 10602fi 10603 10604cat >>confdefs.h <<_ACEOF 10605#define HAVE_DECL_NET_NETFILTER $ac_have_decl 10606_ACEOF 10607ac_fn_c_check_decl "$LINENO" "NET_DCCP" "ac_cv_have_decl_NET_DCCP" "#include <sys/types.h> 10608#include <linux/sysctl.h> 10609" 10610if test "x$ac_cv_have_decl_NET_DCCP" = xyes; then : 10611 ac_have_decl=1 10612else 10613 ac_have_decl=0 10614fi 10615 10616cat >>confdefs.h <<_ACEOF 10617#define HAVE_DECL_NET_DCCP $ac_have_decl 10618_ACEOF 10619ac_fn_c_check_decl "$LINENO" "NET_IRDA" "ac_cv_have_decl_NET_IRDA" "#include <sys/types.h> 10620#include <linux/sysctl.h> 10621" 10622if test "x$ac_cv_have_decl_NET_IRDA" = xyes; then : 10623 ac_have_decl=1 10624else 10625 ac_have_decl=0 10626fi 10627 10628cat >>confdefs.h <<_ACEOF 10629#define HAVE_DECL_NET_IRDA $ac_have_decl 10630_ACEOF 10631ac_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" 10634if test "x$ac_cv_have_decl_NET_CORE_DESTROY_DELAY" = xyes; then : 10635 ac_have_decl=1 10636else 10637 ac_have_decl=0 10638fi 10639 10640cat >>confdefs.h <<_ACEOF 10641#define HAVE_DECL_NET_CORE_DESTROY_DELAY $ac_have_decl 10642_ACEOF 10643ac_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" 10646if test "x$ac_cv_have_decl_NET_CORE_BUDGET" = xyes; then : 10647 ac_have_decl=1 10648else 10649 ac_have_decl=0 10650fi 10651 10652cat >>confdefs.h <<_ACEOF 10653#define HAVE_DECL_NET_CORE_BUDGET $ac_have_decl 10654_ACEOF 10655ac_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" 10658if test "x$ac_cv_have_decl_NET_CORE_AEVENT_ETIME" = xyes; then : 10659 ac_have_decl=1 10660else 10661 ac_have_decl=0 10662fi 10663 10664cat >>confdefs.h <<_ACEOF 10665#define HAVE_DECL_NET_CORE_AEVENT_ETIME $ac_have_decl 10666_ACEOF 10667ac_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" 10670if test "x$ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" = xyes; then : 10671 ac_have_decl=1 10672else 10673 ac_have_decl=0 10674fi 10675 10676cat >>confdefs.h <<_ACEOF 10677#define HAVE_DECL_NET_CORE_AEVENT_RSEQTH $ac_have_decl 10678_ACEOF 10679ac_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" 10682if test "x$ac_cv_have_decl_NET_CORE_WARNINGS" = xyes; then : 10683 ac_have_decl=1 10684else 10685 ac_have_decl=0 10686fi 10687 10688cat >>confdefs.h <<_ACEOF 10689#define HAVE_DECL_NET_CORE_WARNINGS $ac_have_decl 10690_ACEOF 10691ac_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" 10694if test "x$ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" = xyes; then : 10695 ac_have_decl=1 10696else 10697 ac_have_decl=0 10698fi 10699 10700cat >>confdefs.h <<_ACEOF 10701#define HAVE_DECL_NET_IPV4_IGMP_MAX_MSF $ac_have_decl 10702_ACEOF 10703ac_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" 10706if test "x$ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" = xyes; then : 10707 ac_have_decl=1 10708else 10709 ac_have_decl=0 10710fi 10711 10712cat >>confdefs.h <<_ACEOF 10713#define HAVE_DECL_NET_TCP_NO_METRICS_SAVE $ac_have_decl 10714_ACEOF 10715ac_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" 10718if test "x$ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" = xyes; then : 10719 ac_have_decl=1 10720else 10721 ac_have_decl=0 10722fi 10723 10724cat >>confdefs.h <<_ACEOF 10725#define HAVE_DECL_NET_TCP_DEFAULT_WIN_SCALE $ac_have_decl 10726_ACEOF 10727ac_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" 10730if test "x$ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" = xyes; then : 10731 ac_have_decl=1 10732else 10733 ac_have_decl=0 10734fi 10735 10736cat >>confdefs.h <<_ACEOF 10737#define HAVE_DECL_NET_TCP_MODERATE_RCVBUF $ac_have_decl 10738_ACEOF 10739ac_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" 10742if test "x$ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" = xyes; then : 10743 ac_have_decl=1 10744else 10745 ac_have_decl=0 10746fi 10747 10748cat >>confdefs.h <<_ACEOF 10749#define HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR $ac_have_decl 10750_ACEOF 10751ac_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" 10754if test "x$ac_cv_have_decl_NET_TCP_BIC_BETA" = xyes; then : 10755 ac_have_decl=1 10756else 10757 ac_have_decl=0 10758fi 10759 10760cat >>confdefs.h <<_ACEOF 10761#define HAVE_DECL_NET_TCP_BIC_BETA $ac_have_decl 10762_ACEOF 10763ac_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" 10766if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" = xyes; then : 10767 ac_have_decl=1 10768else 10769 ac_have_decl=0 10770fi 10771 10772cat >>confdefs.h <<_ACEOF 10773#define HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR $ac_have_decl 10774_ACEOF 10775ac_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" 10778if test "x$ac_cv_have_decl_NET_TCP_CONG_CONTROL" = xyes; then : 10779 ac_have_decl=1 10780else 10781 ac_have_decl=0 10782fi 10783 10784cat >>confdefs.h <<_ACEOF 10785#define HAVE_DECL_NET_TCP_CONG_CONTROL $ac_have_decl 10786_ACEOF 10787ac_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" 10790if test "x$ac_cv_have_decl_NET_TCP_ABC" = xyes; then : 10791 ac_have_decl=1 10792else 10793 ac_have_decl=0 10794fi 10795 10796cat >>confdefs.h <<_ACEOF 10797#define HAVE_DECL_NET_TCP_ABC $ac_have_decl 10798_ACEOF 10799ac_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" 10802if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" = xyes; then : 10803 ac_have_decl=1 10804else 10805 ac_have_decl=0 10806fi 10807 10808cat >>confdefs.h <<_ACEOF 10809#define HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST $ac_have_decl 10810_ACEOF 10811ac_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" 10814if test "x$ac_cv_have_decl_NET_TCP_MTU_PROBING" = xyes; then : 10815 ac_have_decl=1 10816else 10817 ac_have_decl=0 10818fi 10819 10820cat >>confdefs.h <<_ACEOF 10821#define HAVE_DECL_NET_TCP_MTU_PROBING $ac_have_decl 10822_ACEOF 10823ac_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" 10826if test "x$ac_cv_have_decl_NET_TCP_BASE_MSS" = xyes; then : 10827 ac_have_decl=1 10828else 10829 ac_have_decl=0 10830fi 10831 10832cat >>confdefs.h <<_ACEOF 10833#define HAVE_DECL_NET_TCP_BASE_MSS $ac_have_decl 10834_ACEOF 10835ac_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" 10838if test "x$ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" = xyes; then : 10839 ac_have_decl=1 10840else 10841 ac_have_decl=0 10842fi 10843 10844cat >>confdefs.h <<_ACEOF 10845#define HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS $ac_have_decl 10846_ACEOF 10847ac_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" 10850if test "x$ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" = xyes; then : 10851 ac_have_decl=1 10852else 10853 ac_have_decl=0 10854fi 10855 10856cat >>confdefs.h <<_ACEOF 10857#define HAVE_DECL_NET_TCP_DMA_COPYBREAK $ac_have_decl 10858_ACEOF 10859ac_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" 10862if test "x$ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" = xyes; then : 10863 ac_have_decl=1 10864else 10865 ac_have_decl=0 10866fi 10867 10868cat >>confdefs.h <<_ACEOF 10869#define HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE $ac_have_decl 10870_ACEOF 10871ac_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" 10874if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" = xyes; then : 10875 ac_have_decl=1 10876else 10877 ac_have_decl=0 10878fi 10879 10880cat >>confdefs.h <<_ACEOF 10881#define HAVE_DECL_NET_CIPSOV4_CACHE_ENABLE $ac_have_decl 10882_ACEOF 10883ac_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" 10886if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" = xyes; then : 10887 ac_have_decl=1 10888else 10889 ac_have_decl=0 10890fi 10891 10892cat >>confdefs.h <<_ACEOF 10893#define HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE $ac_have_decl 10894_ACEOF 10895ac_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" 10898if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" = xyes; then : 10899 ac_have_decl=1 10900else 10901 ac_have_decl=0 10902fi 10903 10904cat >>confdefs.h <<_ACEOF 10905#define HAVE_DECL_NET_CIPSOV4_RBM_OPTFMT $ac_have_decl 10906_ACEOF 10907ac_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" 10910if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" = xyes; then : 10911 ac_have_decl=1 10912else 10913 ac_have_decl=0 10914fi 10915 10916cat >>confdefs.h <<_ACEOF 10917#define HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID $ac_have_decl 10918_ACEOF 10919ac_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" 10922if test "x$ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" = xyes; then : 10923 ac_have_decl=1 10924else 10925 ac_have_decl=0 10926fi 10927 10928cat >>confdefs.h <<_ACEOF 10929#define HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL $ac_have_decl 10930_ACEOF 10931ac_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" 10934if test "x$ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" = xyes; then : 10935 ac_have_decl=1 10936else 10937 ac_have_decl=0 10938fi 10939 10940cat >>confdefs.h <<_ACEOF 10941#define HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL $ac_have_decl 10942_ACEOF 10943ac_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" 10946if test "x$ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" = xyes; then : 10947 ac_have_decl=1 10948else 10949 ac_have_decl=0 10950fi 10951 10952cat >>confdefs.h <<_ACEOF 10953#define HAVE_DECL_NET_TCP_MAX_SSTHRESH $ac_have_decl 10954_ACEOF 10955ac_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" 10958if test "x$ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" = xyes; then : 10959 ac_have_decl=1 10960else 10961 ac_have_decl=0 10962fi 10963 10964cat >>confdefs.h <<_ACEOF 10965#define HAVE_DECL_NET_TCP_FRTO_RESPONSE $ac_have_decl 10966_ACEOF 10967ac_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" 10970if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then : 10971 ac_have_decl=1 10972else 10973 ac_have_decl=0 10974fi 10975 10976cat >>confdefs.h <<_ACEOF 10977#define HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl 10978_ACEOF 10979ac_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" 10982if test "x$ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" = xyes; then : 10983 ac_have_decl=1 10984else 10985 ac_have_decl=0 10986fi 10987 10988cat >>confdefs.h <<_ACEOF 10989#define HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION $ac_have_decl 10990_ACEOF 10991ac_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" 10994if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" = xyes; then : 10995 ac_have_decl=1 10996else 10997 ac_have_decl=0 10998fi 10999 11000cat >>confdefs.h <<_ACEOF 11001#define HAVE_DECL_NET_IPV4_CONF_ARP_ANNOUNCE $ac_have_decl 11002_ACEOF 11003ac_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" 11006if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" = xyes; then : 11007 ac_have_decl=1 11008else 11009 ac_have_decl=0 11010fi 11011 11012cat >>confdefs.h <<_ACEOF 11013#define HAVE_DECL_NET_IPV4_CONF_ARP_IGNORE $ac_have_decl 11014_ACEOF 11015ac_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" 11018if test "x$ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" = xyes; then : 11019 ac_have_decl=1 11020else 11021 ac_have_decl=0 11022fi 11023 11024cat >>confdefs.h <<_ACEOF 11025#define HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES $ac_have_decl 11026_ACEOF 11027ac_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" 11030if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" = xyes; then : 11031 ac_have_decl=1 11032else 11033 ac_have_decl=0 11034fi 11035 11036cat >>confdefs.h <<_ACEOF 11037#define HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT $ac_have_decl 11038_ACEOF 11039ac_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" 11042if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" = xyes; then : 11043 ac_have_decl=1 11044else 11045 ac_have_decl=0 11046fi 11047 11048cat >>confdefs.h <<_ACEOF 11049#define HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY $ac_have_decl 11050_ACEOF 11051ac_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" 11054if test "x$ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" = xyes; then : 11055 ac_have_decl=1 11056else 11057 ac_have_decl=0 11058fi 11059 11060cat >>confdefs.h <<_ACEOF 11061#define HAVE_DECL_NET_IPV6_MLD_MAX_MSF $ac_have_decl 11062_ACEOF 11063ac_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" 11066if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then : 11067 ac_have_decl=1 11068else 11069 ac_have_decl=0 11070fi 11071 11072cat >>confdefs.h <<_ACEOF 11073#define HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl 11074_ACEOF 11075ac_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" 11078if test "x$ac_cv_have_decl_VM_MAX_MAP_COUNT" = xyes; then : 11079 ac_have_decl=1 11080else 11081 ac_have_decl=0 11082fi 11083 11084cat >>confdefs.h <<_ACEOF 11085#define HAVE_DECL_VM_MAX_MAP_COUNT $ac_have_decl 11086_ACEOF 11087ac_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" 11090if test "x$ac_cv_have_decl_VM_LAPTOP_MODE" = xyes; then : 11091 ac_have_decl=1 11092else 11093 ac_have_decl=0 11094fi 11095 11096cat >>confdefs.h <<_ACEOF 11097#define HAVE_DECL_VM_LAPTOP_MODE $ac_have_decl 11098_ACEOF 11099ac_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" 11102if test "x$ac_cv_have_decl_VM_BLOCK_DUMP" = xyes; then : 11103 ac_have_decl=1 11104else 11105 ac_have_decl=0 11106fi 11107 11108cat >>confdefs.h <<_ACEOF 11109#define HAVE_DECL_VM_BLOCK_DUMP $ac_have_decl 11110_ACEOF 11111ac_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" 11114if test "x$ac_cv_have_decl_VM_HUGETLB_GROUP" = xyes; then : 11115 ac_have_decl=1 11116else 11117 ac_have_decl=0 11118fi 11119 11120cat >>confdefs.h <<_ACEOF 11121#define HAVE_DECL_VM_HUGETLB_GROUP $ac_have_decl 11122_ACEOF 11123ac_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" 11126if test "x$ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" = xyes; then : 11127 ac_have_decl=1 11128else 11129 ac_have_decl=0 11130fi 11131 11132cat >>confdefs.h <<_ACEOF 11133#define HAVE_DECL_VM_VFS_CACHE_PRESSURE $ac_have_decl 11134_ACEOF 11135ac_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" 11138if test "x$ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" = xyes; then : 11139 ac_have_decl=1 11140else 11141 ac_have_decl=0 11142fi 11143 11144cat >>confdefs.h <<_ACEOF 11145#define HAVE_DECL_VM_LEGACY_VA_LAYOUT $ac_have_decl 11146_ACEOF 11147ac_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" 11150if test "x$ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" = xyes; then : 11151 ac_have_decl=1 11152else 11153 ac_have_decl=0 11154fi 11155 11156cat >>confdefs.h <<_ACEOF 11157#define HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT $ac_have_decl 11158_ACEOF 11159 11160 11161ac_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" 11166if test "x$ac_cv_have_decl_V4L2_FIELD_ANY" = xyes; then : 11167 ac_have_decl=1 11168else 11169 ac_have_decl=0 11170fi 11171 11172cat >>confdefs.h <<_ACEOF 11173#define HAVE_DECL_V4L2_FIELD_ANY $ac_have_decl 11174_ACEOF 11175ac_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" 11180if test "x$ac_cv_have_decl_V4L2_FIELD_NONE" = xyes; then : 11181 ac_have_decl=1 11182else 11183 ac_have_decl=0 11184fi 11185 11186cat >>confdefs.h <<_ACEOF 11187#define HAVE_DECL_V4L2_FIELD_NONE $ac_have_decl 11188_ACEOF 11189ac_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" 11194if test "x$ac_cv_have_decl_V4L2_FIELD_TOP" = xyes; then : 11195 ac_have_decl=1 11196else 11197 ac_have_decl=0 11198fi 11199 11200cat >>confdefs.h <<_ACEOF 11201#define HAVE_DECL_V4L2_FIELD_TOP $ac_have_decl 11202_ACEOF 11203ac_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" 11208if test "x$ac_cv_have_decl_V4L2_FIELD_BOTTOM" = xyes; then : 11209 ac_have_decl=1 11210else 11211 ac_have_decl=0 11212fi 11213 11214cat >>confdefs.h <<_ACEOF 11215#define HAVE_DECL_V4L2_FIELD_BOTTOM $ac_have_decl 11216_ACEOF 11217ac_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" 11222if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED" = xyes; then : 11223 ac_have_decl=1 11224else 11225 ac_have_decl=0 11226fi 11227 11228cat >>confdefs.h <<_ACEOF 11229#define HAVE_DECL_V4L2_FIELD_INTERLACED $ac_have_decl 11230_ACEOF 11231ac_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" 11236if test "x$ac_cv_have_decl_V4L2_FIELD_SEQ_TB" = xyes; then : 11237 ac_have_decl=1 11238else 11239 ac_have_decl=0 11240fi 11241 11242cat >>confdefs.h <<_ACEOF 11243#define HAVE_DECL_V4L2_FIELD_SEQ_TB $ac_have_decl 11244_ACEOF 11245ac_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" 11250if test "x$ac_cv_have_decl_V4L2_FIELD_SEQ_BT" = xyes; then : 11251 ac_have_decl=1 11252else 11253 ac_have_decl=0 11254fi 11255 11256cat >>confdefs.h <<_ACEOF 11257#define HAVE_DECL_V4L2_FIELD_SEQ_BT $ac_have_decl 11258_ACEOF 11259ac_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" 11264if test "x$ac_cv_have_decl_V4L2_FIELD_ALTERNATE" = xyes; then : 11265 ac_have_decl=1 11266else 11267 ac_have_decl=0 11268fi 11269 11270cat >>confdefs.h <<_ACEOF 11271#define HAVE_DECL_V4L2_FIELD_ALTERNATE $ac_have_decl 11272_ACEOF 11273ac_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" 11278if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED_TB" = xyes; then : 11279 ac_have_decl=1 11280else 11281 ac_have_decl=0 11282fi 11283 11284cat >>confdefs.h <<_ACEOF 11285#define HAVE_DECL_V4L2_FIELD_INTERLACED_TB $ac_have_decl 11286_ACEOF 11287ac_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" 11292if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED_BT" = xyes; then : 11293 ac_have_decl=1 11294else 11295 ac_have_decl=0 11296fi 11297 11298cat >>confdefs.h <<_ACEOF 11299#define HAVE_DECL_V4L2_FIELD_INTERLACED_BT $ac_have_decl 11300_ACEOF 11301ac_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" 11306if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" = xyes; then : 11307 ac_have_decl=1 11308else 11309 ac_have_decl=0 11310fi 11311 11312cat >>confdefs.h <<_ACEOF 11313#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE $ac_have_decl 11314_ACEOF 11315ac_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" 11320if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" = xyes; then : 11321 ac_have_decl=1 11322else 11323 ac_have_decl=0 11324fi 11325 11326cat >>confdefs.h <<_ACEOF 11327#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE $ac_have_decl 11328_ACEOF 11329ac_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" 11334if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" = xyes; then : 11335 ac_have_decl=1 11336else 11337 ac_have_decl=0 11338fi 11339 11340cat >>confdefs.h <<_ACEOF 11341#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT $ac_have_decl 11342_ACEOF 11343ac_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" 11348if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" = xyes; then : 11349 ac_have_decl=1 11350else 11351 ac_have_decl=0 11352fi 11353 11354cat >>confdefs.h <<_ACEOF 11355#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE $ac_have_decl 11356_ACEOF 11357ac_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" 11362if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" = xyes; then : 11363 ac_have_decl=1 11364else 11365 ac_have_decl=0 11366fi 11367 11368cat >>confdefs.h <<_ACEOF 11369#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OVERLAY $ac_have_decl 11370_ACEOF 11371ac_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" 11376if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" = xyes; then : 11377 ac_have_decl=1 11378else 11379 ac_have_decl=0 11380fi 11381 11382cat >>confdefs.h <<_ACEOF 11383#define HAVE_DECL_V4L2_BUF_TYPE_VBI_CAPTURE $ac_have_decl 11384_ACEOF 11385ac_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" 11390if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" = xyes; then : 11391 ac_have_decl=1 11392else 11393 ac_have_decl=0 11394fi 11395 11396cat >>confdefs.h <<_ACEOF 11397#define HAVE_DECL_V4L2_BUF_TYPE_VBI_OUTPUT $ac_have_decl 11398_ACEOF 11399ac_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" 11404if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" = xyes; then : 11405 ac_have_decl=1 11406else 11407 ac_have_decl=0 11408fi 11409 11410cat >>confdefs.h <<_ACEOF 11411#define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE $ac_have_decl 11412_ACEOF 11413ac_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" 11418if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" = xyes; then : 11419 ac_have_decl=1 11420else 11421 ac_have_decl=0 11422fi 11423 11424cat >>confdefs.h <<_ACEOF 11425#define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT $ac_have_decl 11426_ACEOF 11427ac_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" 11432if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" = xyes; then : 11433 ac_have_decl=1 11434else 11435 ac_have_decl=0 11436fi 11437 11438cat >>confdefs.h <<_ACEOF 11439#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY $ac_have_decl 11440_ACEOF 11441ac_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" 11446if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SDR_CAPTURE" = xyes; then : 11447 ac_have_decl=1 11448else 11449 ac_have_decl=0 11450fi 11451 11452cat >>confdefs.h <<_ACEOF 11453#define HAVE_DECL_V4L2_BUF_TYPE_SDR_CAPTURE $ac_have_decl 11454_ACEOF 11455ac_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" 11460if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SDR_OUTPUT" = xyes; then : 11461 ac_have_decl=1 11462else 11463 ac_have_decl=0 11464fi 11465 11466cat >>confdefs.h <<_ACEOF 11467#define HAVE_DECL_V4L2_BUF_TYPE_SDR_OUTPUT $ac_have_decl 11468_ACEOF 11469ac_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" 11474if test "x$ac_cv_have_decl_V4L2_TUNER_RADIO" = xyes; then : 11475 ac_have_decl=1 11476else 11477 ac_have_decl=0 11478fi 11479 11480cat >>confdefs.h <<_ACEOF 11481#define HAVE_DECL_V4L2_TUNER_RADIO $ac_have_decl 11482_ACEOF 11483ac_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" 11488if test "x$ac_cv_have_decl_V4L2_TUNER_ANALOG_TV" = xyes; then : 11489 ac_have_decl=1 11490else 11491 ac_have_decl=0 11492fi 11493 11494cat >>confdefs.h <<_ACEOF 11495#define HAVE_DECL_V4L2_TUNER_ANALOG_TV $ac_have_decl 11496_ACEOF 11497ac_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" 11502if test "x$ac_cv_have_decl_V4L2_TUNER_DIGITAL_TV" = xyes; then : 11503 ac_have_decl=1 11504else 11505 ac_have_decl=0 11506fi 11507 11508cat >>confdefs.h <<_ACEOF 11509#define HAVE_DECL_V4L2_TUNER_DIGITAL_TV $ac_have_decl 11510_ACEOF 11511ac_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" 11516if test "x$ac_cv_have_decl_V4L2_MEMORY_MMAP" = xyes; then : 11517 ac_have_decl=1 11518else 11519 ac_have_decl=0 11520fi 11521 11522cat >>confdefs.h <<_ACEOF 11523#define HAVE_DECL_V4L2_MEMORY_MMAP $ac_have_decl 11524_ACEOF 11525ac_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" 11530if test "x$ac_cv_have_decl_V4L2_MEMORY_USERPTR" = xyes; then : 11531 ac_have_decl=1 11532else 11533 ac_have_decl=0 11534fi 11535 11536cat >>confdefs.h <<_ACEOF 11537#define HAVE_DECL_V4L2_MEMORY_USERPTR $ac_have_decl 11538_ACEOF 11539ac_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" 11544if test "x$ac_cv_have_decl_V4L2_MEMORY_OVERLAY" = xyes; then : 11545 ac_have_decl=1 11546else 11547 ac_have_decl=0 11548fi 11549 11550cat >>confdefs.h <<_ACEOF 11551#define HAVE_DECL_V4L2_MEMORY_OVERLAY $ac_have_decl 11552_ACEOF 11553ac_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" 11558if test "x$ac_cv_have_decl_V4L2_MEMORY_DMABUF" = xyes; then : 11559 ac_have_decl=1 11560else 11561 ac_have_decl=0 11562fi 11563 11564cat >>confdefs.h <<_ACEOF 11565#define HAVE_DECL_V4L2_MEMORY_DMABUF $ac_have_decl 11566_ACEOF 11567ac_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" 11572if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" = xyes; then : 11573 ac_have_decl=1 11574else 11575 ac_have_decl=0 11576fi 11577 11578cat >>confdefs.h <<_ACEOF 11579#define HAVE_DECL_V4L2_COLORSPACE_SMPTE170M $ac_have_decl 11580_ACEOF 11581ac_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" 11586if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE240M" = xyes; then : 11587 ac_have_decl=1 11588else 11589 ac_have_decl=0 11590fi 11591 11592cat >>confdefs.h <<_ACEOF 11593#define HAVE_DECL_V4L2_COLORSPACE_SMPTE240M $ac_have_decl 11594_ACEOF 11595ac_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" 11600if test "x$ac_cv_have_decl_V4L2_COLORSPACE_REC709" = xyes; then : 11601 ac_have_decl=1 11602else 11603 ac_have_decl=0 11604fi 11605 11606cat >>confdefs.h <<_ACEOF 11607#define HAVE_DECL_V4L2_COLORSPACE_REC709 $ac_have_decl 11608_ACEOF 11609ac_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" 11614if test "x$ac_cv_have_decl_V4L2_COLORSPACE_BT878" = xyes; then : 11615 ac_have_decl=1 11616else 11617 ac_have_decl=0 11618fi 11619 11620cat >>confdefs.h <<_ACEOF 11621#define HAVE_DECL_V4L2_COLORSPACE_BT878 $ac_have_decl 11622_ACEOF 11623ac_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" 11628if test "x$ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_M" = xyes; then : 11629 ac_have_decl=1 11630else 11631 ac_have_decl=0 11632fi 11633 11634cat >>confdefs.h <<_ACEOF 11635#define HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_M $ac_have_decl 11636_ACEOF 11637ac_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" 11642if test "x$ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_BG" = xyes; then : 11643 ac_have_decl=1 11644else 11645 ac_have_decl=0 11646fi 11647 11648cat >>confdefs.h <<_ACEOF 11649#define HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_BG $ac_have_decl 11650_ACEOF 11651ac_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" 11656if test "x$ac_cv_have_decl_V4L2_COLORSPACE_JPEG" = xyes; then : 11657 ac_have_decl=1 11658else 11659 ac_have_decl=0 11660fi 11661 11662cat >>confdefs.h <<_ACEOF 11663#define HAVE_DECL_V4L2_COLORSPACE_JPEG $ac_have_decl 11664_ACEOF 11665ac_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" 11670if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SRGB" = xyes; then : 11671 ac_have_decl=1 11672else 11673 ac_have_decl=0 11674fi 11675 11676cat >>confdefs.h <<_ACEOF 11677#define HAVE_DECL_V4L2_COLORSPACE_SRGB $ac_have_decl 11678_ACEOF 11679ac_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" 11684if test "x$ac_cv_have_decl_V4L2_PRIORITY_UNSET" = xyes; then : 11685 ac_have_decl=1 11686else 11687 ac_have_decl=0 11688fi 11689 11690cat >>confdefs.h <<_ACEOF 11691#define HAVE_DECL_V4L2_PRIORITY_UNSET $ac_have_decl 11692_ACEOF 11693ac_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" 11698if test "x$ac_cv_have_decl_V4L2_PRIORITY_BACKGROUND" = xyes; then : 11699 ac_have_decl=1 11700else 11701 ac_have_decl=0 11702fi 11703 11704cat >>confdefs.h <<_ACEOF 11705#define HAVE_DECL_V4L2_PRIORITY_BACKGROUND $ac_have_decl 11706_ACEOF 11707ac_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" 11712if test "x$ac_cv_have_decl_V4L2_PRIORITY_INTERACTIVE" = xyes; then : 11713 ac_have_decl=1 11714else 11715 ac_have_decl=0 11716fi 11717 11718cat >>confdefs.h <<_ACEOF 11719#define HAVE_DECL_V4L2_PRIORITY_INTERACTIVE $ac_have_decl 11720_ACEOF 11721ac_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" 11726if test "x$ac_cv_have_decl_V4L2_PRIORITY_RECORD" = xyes; then : 11727 ac_have_decl=1 11728else 11729 ac_have_decl=0 11730fi 11731 11732cat >>confdefs.h <<_ACEOF 11733#define HAVE_DECL_V4L2_PRIORITY_RECORD $ac_have_decl 11734_ACEOF 11735ac_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" 11740if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_DISCRETE" = xyes; then : 11741 ac_have_decl=1 11742else 11743 ac_have_decl=0 11744fi 11745 11746cat >>confdefs.h <<_ACEOF 11747#define HAVE_DECL_V4L2_FRMSIZE_TYPE_DISCRETE $ac_have_decl 11748_ACEOF 11749ac_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" 11754if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_CONTINUOUS" = xyes; then : 11755 ac_have_decl=1 11756else 11757 ac_have_decl=0 11758fi 11759 11760cat >>confdefs.h <<_ACEOF 11761#define HAVE_DECL_V4L2_FRMSIZE_TYPE_CONTINUOUS $ac_have_decl 11762_ACEOF 11763ac_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" 11768if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_STEPWISE" = xyes; then : 11769 ac_have_decl=1 11770else 11771 ac_have_decl=0 11772fi 11773 11774cat >>confdefs.h <<_ACEOF 11775#define HAVE_DECL_V4L2_FRMSIZE_TYPE_STEPWISE $ac_have_decl 11776_ACEOF 11777ac_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" 11782if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_DISCRETE" = xyes; then : 11783 ac_have_decl=1 11784else 11785 ac_have_decl=0 11786fi 11787 11788cat >>confdefs.h <<_ACEOF 11789#define HAVE_DECL_V4L2_FRMIVAL_TYPE_DISCRETE $ac_have_decl 11790_ACEOF 11791ac_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" 11796if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_CONTINUOUS" = xyes; then : 11797 ac_have_decl=1 11798else 11799 ac_have_decl=0 11800fi 11801 11802cat >>confdefs.h <<_ACEOF 11803#define HAVE_DECL_V4L2_FRMIVAL_TYPE_CONTINUOUS $ac_have_decl 11804_ACEOF 11805ac_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" 11810if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_STEPWISE" = xyes; then : 11811 ac_have_decl=1 11812else 11813 ac_have_decl=0 11814fi 11815 11816cat >>confdefs.h <<_ACEOF 11817#define HAVE_DECL_V4L2_FRMIVAL_TYPE_STEPWISE $ac_have_decl 11818_ACEOF 11819ac_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" 11824if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER" = xyes; then : 11825 ac_have_decl=1 11826else 11827 ac_have_decl=0 11828fi 11829 11830cat >>confdefs.h <<_ACEOF 11831#define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER $ac_have_decl 11832_ACEOF 11833ac_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" 11838if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BOOLEAN" = xyes; then : 11839 ac_have_decl=1 11840else 11841 ac_have_decl=0 11842fi 11843 11844cat >>confdefs.h <<_ACEOF 11845#define HAVE_DECL_V4L2_CTRL_TYPE_BOOLEAN $ac_have_decl 11846_ACEOF 11847ac_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" 11852if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_MENU" = xyes; then : 11853 ac_have_decl=1 11854else 11855 ac_have_decl=0 11856fi 11857 11858cat >>confdefs.h <<_ACEOF 11859#define HAVE_DECL_V4L2_CTRL_TYPE_MENU $ac_have_decl 11860_ACEOF 11861ac_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" 11866if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BUTTON" = xyes; then : 11867 ac_have_decl=1 11868else 11869 ac_have_decl=0 11870fi 11871 11872cat >>confdefs.h <<_ACEOF 11873#define HAVE_DECL_V4L2_CTRL_TYPE_BUTTON $ac_have_decl 11874_ACEOF 11875ac_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" 11880if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER64" = xyes; then : 11881 ac_have_decl=1 11882else 11883 ac_have_decl=0 11884fi 11885 11886cat >>confdefs.h <<_ACEOF 11887#define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER64 $ac_have_decl 11888_ACEOF 11889ac_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" 11894if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_CTRL_CLASS" = xyes; then : 11895 ac_have_decl=1 11896else 11897 ac_have_decl=0 11898fi 11899 11900cat >>confdefs.h <<_ACEOF 11901#define HAVE_DECL_V4L2_CTRL_TYPE_CTRL_CLASS $ac_have_decl 11902_ACEOF 11903ac_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" 11908if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_STRING" = xyes; then : 11909 ac_have_decl=1 11910else 11911 ac_have_decl=0 11912fi 11913 11914cat >>confdefs.h <<_ACEOF 11915#define HAVE_DECL_V4L2_CTRL_TYPE_STRING $ac_have_decl 11916_ACEOF 11917ac_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" 11922if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BITMASK" = xyes; then : 11923 ac_have_decl=1 11924else 11925 ac_have_decl=0 11926fi 11927 11928cat >>confdefs.h <<_ACEOF 11929#define HAVE_DECL_V4L2_CTRL_TYPE_BITMASK $ac_have_decl 11930_ACEOF 11931ac_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" 11936if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER_MENU" = xyes; then : 11937 ac_have_decl=1 11938else 11939 ac_have_decl=0 11940fi 11941 11942cat >>confdefs.h <<_ACEOF 11943#define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER_MENU $ac_have_decl 11944_ACEOF 11945 11946 11947ac_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" 11952if test "x$ac_cv_member_struct_v4l2_window_global_alpha" = xyes; then : 11953 11954cat >>confdefs.h <<_ACEOF 11955#define HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA 1 11956_ACEOF 11957 11958 11959fi 11960ac_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" 11965if test "x$ac_cv_member_struct_v4l2_sdr_format_buffersize" = xyes; then : 11966 11967cat >>confdefs.h <<_ACEOF 11968#define HAVE_STRUCT_V4L2_SDR_FORMAT_BUFFERSIZE 1 11969_ACEOF 11970 11971 11972fi 11973 11974 11975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLKGETSIZE64" >&5 11976$as_echo_n "checking for BLKGETSIZE64... " >&6; } 11977if ${ac_cv_have_blkgetsize64+:} false; then : 11978 $as_echo_n "(cached) " >&6 11979else 11980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11981/* end confdefs.h. */ 11982 11983#include <stdlib.h> 11984#include <linux/fs.h> 11985int 11986main () 11987{ 11988return !BLKGETSIZE64; 11989 ; 11990 return 0; 11991} 11992_ACEOF 11993if ac_fn_c_try_compile "$LINENO"; then : 11994 ac_cv_have_blkgetsize64=yes 11995else 11996 ac_cv_have_blkgetsize64=no 11997fi 11998rm -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 12004fi 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; } 12014if ${ac_cv_sizeof_long+:} false; then : 12015 $as_echo_n "(cached) " >&6 12016else 12017 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 12018 12019else 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;} 12023as_fn_error 77 "cannot compute sizeof (long) 12024See \`config.log' for more details" "$LINENO" 5; } 12025 else 12026 ac_cv_sizeof_long=0 12027 fi 12028fi 12029 12030fi 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 12036cat >>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; } 12047if ${ac_cv_sizeof_long_long+:} false; then : 12048 $as_echo_n "(cached) " >&6 12049else 12050 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 12051 12052else 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;} 12056as_fn_error 77 "cannot compute sizeof (long long) 12057See \`config.log' for more details" "$LINENO" 5; } 12058 else 12059 ac_cv_sizeof_long_long=0 12060 fi 12061fi 12062 12063fi 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 12069cat >>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; } 12080if ${ac_cv_sizeof_off_t+:} false; then : 12081 $as_echo_n "(cached) " >&6 12082else 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 12086else 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;} 12090as_fn_error 77 "cannot compute sizeof (off_t) 12091See \`config.log' for more details" "$LINENO" 5; } 12092 else 12093 ac_cv_sizeof_off_t=0 12094 fi 12095fi 12096 12097fi 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 12103cat >>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; } 12114if ${ac_cv_sizeof_kernel_long_t+:} false; then : 12115 $as_echo_n "(cached) " >&6 12116else 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 12120else 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;} 12124as_fn_error 77 "cannot compute sizeof (kernel_long_t) 12125See \`config.log' for more details" "$LINENO" 5; } 12126 else 12127 ac_cv_sizeof_kernel_long_t=0 12128 fi 12129fi 12130 12131fi 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 12137cat >>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; } 12148if ${ac_cv_sizeof_struct_i64_i32+:} false; then : 12149 $as_echo_n "(cached) " >&6 12150else 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 12154else 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;} 12158as_fn_error 77 "cannot compute sizeof (struct i64_i32) 12159See \`config.log' for more details" "$LINENO" 5; } 12160 else 12161 ac_cv_sizeof_struct_i64_i32=0 12162 fi 12163fi 12164 12165fi 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 12171cat >>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; } 12179if ${st_cv_SIGRTMIN+:} false; then : 12180 $as_echo_n "(cached) " >&6 12181else 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 12186fi 12187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_SIGRTMIN" >&5 12188$as_echo "$st_cv_SIGRTMIN" >&6; } 12189if test "x$st_cv_SIGRTMIN" != xno; then 12190 12191cat >>confdefs.h <<_ACEOF 12192#define ASM_SIGRTMIN $st_cv_SIGRTMIN 12193_ACEOF 12194 12195fi 12196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SA_RESTORER" >&5 12197$as_echo_n "checking for SA_RESTORER... " >&6; } 12198if ${st_cv_SA_RESTORER+:} false; then : 12199 $as_echo_n "(cached) " >&6 12200else 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 12205fi 12206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_SA_RESTORER" >&5 12207$as_echo "$st_cv_SA_RESTORER" >&6; } 12208if test "x$st_cv_SA_RESTORER" != xno; then 12209 12210cat >>confdefs.h <<_ACEOF 12211#define ASM_SA_RESTORER $st_cv_SA_RESTORER 12212_ACEOF 12213 12214fi 12215 12216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5 12217$as_echo_n "checking for __builtin_popcount... " >&6; } 12218if ${st_cv_have___builtin_popcount+:} false; then : 12219 $as_echo_n "(cached) " >&6 12220else 12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12222/* end confdefs.h. */ 12223 12224int 12225main () 12226{ 12227__builtin_popcount(0) 12228 ; 12229 return 0; 12230} 12231_ACEOF 12232if ac_fn_c_try_link "$LINENO"; then : 12233 st_cv_have___builtin_popcount=yes 12234else 12235 st_cv_have___builtin_popcount=no 12236fi 12237rm -f core conftest.err conftest.$ac_objext \ 12238 conftest$ac_exeext conftest.$ac_ext 12239fi 12240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have___builtin_popcount" >&5 12241$as_echo "$st_cv_have___builtin_popcount" >&6; } 12242if test "x$st_cv_have___builtin_popcount" = xyes; then 12243 12244$as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h 12245 12246fi 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; } 12250if ${st_cv_have_program_invocation_name+:} false; then : 12251 $as_echo_n "(cached) " >&6 12252else 12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12254/* end confdefs.h. */ 12255#include <errno.h> 12256int 12257main () 12258{ 12259return !*program_invocation_name 12260 ; 12261 return 0; 12262} 12263_ACEOF 12264if ac_fn_c_try_link "$LINENO"; then : 12265 st_cv_have_program_invocation_name=yes 12266else 12267 st_cv_have_program_invocation_name=no 12268fi 12269rm -f core conftest.err conftest.$ac_objext \ 12270 conftest$ac_exeext conftest.$ac_ext 12271fi 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; } 12274if test "x$st_cv_have_program_invocation_name" = xyes; then 12275 12276$as_echo "#define HAVE_PROGRAM_INVOCATION_NAME 1" >>confdefs.h 12277 12278fi 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; } 12282if ${ac_cv_lib_dl_dladdr+:} false; then : 12283 $as_echo_n "(cached) " >&6 12284else 12285 ac_check_lib_save_LIBS=$LIBS 12286LIBS="-ldl $LIBS" 12287cat 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 12294extern "C" 12295#endif 12296char dladdr (); 12297int 12298main () 12299{ 12300return dladdr (); 12301 ; 12302 return 0; 12303} 12304_ACEOF 12305if ac_fn_c_try_link "$LINENO"; then : 12306 ac_cv_lib_dl_dladdr=yes 12307else 12308 ac_cv_lib_dl_dladdr=no 12309fi 12310rm -f core conftest.err conftest.$ac_objext \ 12311 conftest$ac_exeext conftest.$ac_ext 12312LIBS=$ac_check_lib_save_LIBS 12313fi 12314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5 12315$as_echo "$ac_cv_lib_dl_dladdr" >&6; } 12316if test "x$ac_cv_lib_dl_dladdr" = xyes; then : 12317 dl_LIBS='-ldl' 12318else 12319 dl_LIBS= 12320fi 12321 12322if test "x$ac_cv_lib_dl_dladdr" = xyes; then 12323 12324$as_echo "#define HAVE_DLADDR 1" >>confdefs.h 12325 12326fi 12327 12328 12329# Extract the first word of "perl", so it can be a program name with args. 12330set 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; } 12333if ${ac_cv_path_PERL+:} false; then : 12334 $as_echo_n "(cached) " >&6 12335else 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 12342for as_dir in $PATH 12343do 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 12352done 12353 done 12354IFS=$as_save_IFS 12355 12356 ;; 12357esac 12358fi 12359PERL=$ac_cv_path_PERL 12360if test -n "$PERL"; then 12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 12362$as_echo "$PERL" >&6; } 12363else 12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12365$as_echo "no" >&6; } 12366fi 12367 12368 12369 12370libunwind_CPPFLAGS= 12371libunwind_LDFLAGS= 12372libunwind_LIBS= 12373 12374# Check whether --with-libunwind was given. 12375if 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 12382else 12383 with_libunwind=check 12384 12385fi 12386 12387 12388use_libunwind=no 12389if test "x$with_libunwind" != xno; then : 12390 saved_CPPFLAGS="$CPPFLAGS" 12391 CPPFLAGS="$CPPFLAGS $libunwind_CPPFLAGS" 12392 12393 for ac_header in libunwind-ptrace.h 12394do : 12395 ac_fn_c_check_header_mongrel "$LINENO" "libunwind-ptrace.h" "ac_cv_header_libunwind_ptrace_h" "$ac_includes_default" 12396if 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; } 12405if ${ac_cv_lib_unwind_backtrace+:} false; then : 12406 $as_echo_n "(cached) " >&6 12407else 12408 ac_check_lib_save_LIBS=$LIBS 12409LIBS="-lunwind $libunwind_LIBS 12410 $LIBS" 12411cat 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 12418extern "C" 12419#endif 12420char backtrace (); 12421int 12422main () 12423{ 12424return backtrace (); 12425 ; 12426 return 0; 12427} 12428_ACEOF 12429if ac_fn_c_try_link "$LINENO"; then : 12430 ac_cv_lib_unwind_backtrace=yes 12431else 12432 ac_cv_lib_unwind_backtrace=no 12433fi 12434rm -f core conftest.err conftest.$ac_objext \ 12435 conftest$ac_exeext conftest.$ac_ext 12436LIBS=$ac_check_lib_save_LIBS 12437fi 12438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_backtrace" >&5 12439$as_echo "$ac_cv_lib_unwind_backtrace" >&6; } 12440if 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> 12451int 12452main () 12453{ 12454return !unw_create_addr_space(0, 0) 12455 ; 12456 return 0; 12457} 12458 12459_ACEOF 12460if 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; } 12467if ${ac_cv_lib_unwind_ptrace__UPT_create+:} false; then : 12468 $as_echo_n "(cached) " >&6 12469else 12470 ac_check_lib_save_LIBS=$LIBS 12471LIBS="-lunwind-ptrace $libunwind_LIBS 12472 $LIBS" 12473cat 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 12480extern "C" 12481#endif 12482char _UPT_create (); 12483int 12484main () 12485{ 12486return _UPT_create (); 12487 ; 12488 return 0; 12489} 12490_ACEOF 12491if ac_fn_c_try_link "$LINENO"; then : 12492 ac_cv_lib_unwind_ptrace__UPT_create=yes 12493else 12494 ac_cv_lib_unwind_ptrace__UPT_create=no 12495fi 12496rm -f core conftest.err conftest.$ac_objext \ 12497 conftest$ac_exeext conftest.$ac_ext 12498LIBS=$ac_check_lib_save_LIBS 12499fi 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; } 12502if test "x$ac_cv_lib_unwind_ptrace__UPT_create" = xyes; then : 12503 libunwind_LIBS="-lunwind-ptrace $libunwind_LIBS" 12504 use_libunwind=yes 12505 12506else 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;} 12510as_fn_error $? "failed to find _UPT_create in libunwind-ptrace 12511See \`config.log' for more details" "$LINENO" 5; } 12512 fi 12513 12514fi 12515 12516 12517else 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;} 12523as_fn_error $? "failed to find unw_create_addr_space in libunwind-generic 12524See \`config.log' for more details" "$LINENO" 5; } 12525 fi 12526 12527 12528fi 12529rm -f core conftest.err conftest.$ac_objext \ 12530 conftest$ac_exeext conftest.$ac_ext 12531 12532 LIBS="$saved_LIBS" 12533 12534else 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;} 12538as_fn_error $? "failed to find libunwind 12539See \`config.log' for more details" "$LINENO" 5; } 12540 fi 12541 12542fi 12543 12544 12545 LDFLAGS="$saved_LDFLAGS" 12546 12547else 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;} 12551as_fn_error $? "failed to find libunwind-ptrace.h 12552See \`config.log' for more details" "$LINENO" 5; } 12553 fi 12554 12555 12556fi 12557 12558done 12559 12560 12561 CPPFLAGS="$saved_CPPFLAGS" 12562 12563 12564fi 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; } 12568if test "x$use_libunwind" = xyes; then 12569 12570$as_echo "#define USE_LIBUNWIND 1" >>confdefs.h 12571 12572 12573 12574 12575fi 12576 if test "x$use_libunwind" = xyes; then 12577 USE_LIBUNWIND_TRUE= 12578 USE_LIBUNWIND_FALSE='#' 12579else 12580 USE_LIBUNWIND_TRUE='#' 12581 USE_LIBUNWIND_FALSE= 12582fi 12583 12584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_libunwind" >&5 12585$as_echo "$use_libunwind" >&6; } 12586 12587if 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;} 12595as_fn_error $? "Failed to generate syscallent stubs 12596See \`config.log' for more details" "$LINENO" 5; } 12597 fi 12598fi 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611case "$arch" in 12612 aarch64|powerpc64|sparc64|tile|x32|x86_64) 12613 12614 12615 12616 for ac_header in gnu/stubs-32.h 12617do : 12618 ac_fn_c_check_header_mongrel "$LINENO" "gnu/stubs-32.h" "ac_cv_header_gnu_stubs_32_h" "$ac_includes_default" 12619if 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= 12624else 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. 12630fi 12631 12632done 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; } 12639if ${st_cv_m32_cc+:} false; then : 12640 $as_echo_n "(cached) " >&6 12641else 12642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12643/* end confdefs.h. */ 12644#include <stdint.h> 12645 int main(){return 0;} 12646_ACEOF 12647if ac_fn_c_try_compile "$LINENO"; then : 12648 st_cv_m32_cc=yes 12649else 12650 st_cv_m32_cc=no 12651fi 12652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12653fi 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; } 12659if ${st_cv_m32_runtime+:} false; then : 12660 $as_echo_n "(cached) " >&6 12661else 12662 if test "$cross_compiling" = yes; then : 12663 st_cv_m32_runtime=no 12664else 12665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12666/* end confdefs.h. */ 12667#include <stdint.h> 12668 int main(){return 0;} 12669_ACEOF 12670if ac_fn_c_try_run "$LINENO"; then : 12671 st_cv_m32_runtime=yes 12672else 12673 st_cv_m32_runtime=no 12674fi 12675rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12676 conftest.$ac_objext conftest.beam conftest.$ac_ext 12677fi 12678 12679fi 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; } 12684if ${st_cv_m32_mpers+:} false; then : 12685 $as_echo_n "(cached) " >&6 12686else 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 12693fi 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 12708if 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 12710fi 12711if test -n "${ac_cv_m32_type_struct_stat+set}"; then : 12712 ac_cv_type_struct_stat="${ac_cv_m32_type_struct_stat}" 12713fi 12714 12715 12716 12717 12718 12719 12720ac_fn_c_check_type "$LINENO" "struct stat" "ac_cv_type_struct_stat" "#include <sys/types.h> 12721#include <asm/stat.h> 12722" 12723if test "x$ac_cv_type_struct_stat" = xyes; then : 12724 12725$as_echo "#define HAVE_M32_STRUCT_STAT 1" >>confdefs.h 12726 12727fi 12728 12729 12730 12731 12732 12733 12734 12735if test -n "${ac_cv_type_struct_stat+set}"; then : 12736 ac_cv_m32_type_struct_stat="${ac_cv_type_struct_stat}" 12737fi 12738if 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 12740fi 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754if 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 12756fi 12757if 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}" 12759fi 12760 12761 12762 12763 12764 12765 12766ac_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" 12769if 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 12773fi 12774 12775 12776 12777 12778 12779 12780 12781if 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}" 12783fi 12784if 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 12786fi 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803if 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 12805fi 12806if test -n "${ac_cv_m32_type_struct_stat64+set}"; then : 12807 ac_cv_type_struct_stat64="${ac_cv_m32_type_struct_stat64}" 12808fi 12809 12810 12811 12812 12813 12814 12815ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 12816#include <asm/stat.h> 12817" 12818if test "x$ac_cv_type_struct_stat64" = xyes; then : 12819 12820$as_echo "#define HAVE_M32_STRUCT_STAT64 1" >>confdefs.h 12821 12822fi 12823 12824 12825 12826 12827 12828 12829 12830if test -n "${ac_cv_type_struct_stat64+set}"; then : 12831 ac_cv_m32_type_struct_stat64="${ac_cv_type_struct_stat64}" 12832fi 12833if 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 12835fi 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849if 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 12851fi 12852if 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}" 12854fi 12855 12856 12857 12858 12859 12860 12861ac_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" 12864if 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 12868fi 12869 12870 12871 12872 12873 12874 12875 12876if 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}" 12878fi 12879if 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 12881fi 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 ;; 12899esac 12900 12901 if test "$st_cv_m32_mpers$st_cv_m32_runtime" = yesyes; then 12902 HAVE_M32_RUNTIME_TRUE= 12903 HAVE_M32_RUNTIME_FALSE='#' 12904else 12905 HAVE_M32_RUNTIME_TRUE='#' 12906 HAVE_M32_RUNTIME_FALSE= 12907fi 12908 12909 if test "$st_cv_m32_mpers" = yes; then 12910 HAVE_M32_MPERS_TRUE= 12911 HAVE_M32_MPERS_FALSE='#' 12912else 12913 HAVE_M32_MPERS_TRUE='#' 12914 HAVE_M32_MPERS_FALSE= 12915fi 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939case "$arch" in 12940 x86_64) 12941 12942 12943 12944 for ac_header in gnu/stubs-x32.h 12945do : 12946 ac_fn_c_check_header_mongrel "$LINENO" "gnu/stubs-x32.h" "ac_cv_header_gnu_stubs_x32_h" "$ac_includes_default" 12947if 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= 12952else 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. 12958fi 12959 12960done 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; } 12967if ${st_cv_mx32_cc+:} false; then : 12968 $as_echo_n "(cached) " >&6 12969else 12970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12971/* end confdefs.h. */ 12972#include <stdint.h> 12973 int main(){return 0;} 12974_ACEOF 12975if ac_fn_c_try_compile "$LINENO"; then : 12976 st_cv_mx32_cc=yes 12977else 12978 st_cv_mx32_cc=no 12979fi 12980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12981fi 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; } 12987if ${st_cv_mx32_runtime+:} false; then : 12988 $as_echo_n "(cached) " >&6 12989else 12990 if test "$cross_compiling" = yes; then : 12991 st_cv_mx32_runtime=no 12992else 12993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12994/* end confdefs.h. */ 12995#include <stdint.h> 12996 int main(){return 0;} 12997_ACEOF 12998if ac_fn_c_try_run "$LINENO"; then : 12999 st_cv_mx32_runtime=yes 13000else 13001 st_cv_mx32_runtime=no 13002fi 13003rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13004 conftest.$ac_objext conftest.beam conftest.$ac_ext 13005fi 13006 13007fi 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; } 13012if ${st_cv_mx32_mpers+:} false; then : 13013 $as_echo_n "(cached) " >&6 13014else 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 13021fi 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 13036if 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 13038fi 13039if test -n "${ac_cv_mx32_type_struct_stat+set}"; then : 13040 ac_cv_type_struct_stat="${ac_cv_mx32_type_struct_stat}" 13041fi 13042 13043 13044 13045 13046 13047 13048ac_fn_c_check_type "$LINENO" "struct stat" "ac_cv_type_struct_stat" "#include <sys/types.h> 13049#include <asm/stat.h> 13050" 13051if test "x$ac_cv_type_struct_stat" = xyes; then : 13052 13053$as_echo "#define HAVE_MX32_STRUCT_STAT 1" >>confdefs.h 13054 13055fi 13056 13057 13058 13059 13060 13061 13062 13063if test -n "${ac_cv_type_struct_stat+set}"; then : 13064 ac_cv_mx32_type_struct_stat="${ac_cv_type_struct_stat}" 13065fi 13066if 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 13068fi 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082if 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 13084fi 13085if 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}" 13087fi 13088 13089 13090 13091 13092 13093 13094ac_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" 13097if 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 13101fi 13102 13103 13104 13105 13106 13107 13108 13109if 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}" 13111fi 13112if 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 13114fi 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131if 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 13133fi 13134if test -n "${ac_cv_mx32_type_struct_stat64+set}"; then : 13135 ac_cv_type_struct_stat64="${ac_cv_mx32_type_struct_stat64}" 13136fi 13137 13138 13139 13140 13141 13142 13143ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h> 13144#include <asm/stat.h> 13145" 13146if test "x$ac_cv_type_struct_stat64" = xyes; then : 13147 13148$as_echo "#define HAVE_MX32_STRUCT_STAT64 1" >>confdefs.h 13149 13150fi 13151 13152 13153 13154 13155 13156 13157 13158if test -n "${ac_cv_type_struct_stat64+set}"; then : 13159 ac_cv_mx32_type_struct_stat64="${ac_cv_type_struct_stat64}" 13160fi 13161if 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 13163fi 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177if 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 13179fi 13180if 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}" 13182fi 13183 13184 13185 13186 13187 13188 13189ac_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" 13192if 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 13196fi 13197 13198 13199 13200 13201 13202 13203 13204if 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}" 13206fi 13207if 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 13209fi 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 ;; 13227esac 13228 13229 if test "$st_cv_mx32_mpers$st_cv_mx32_runtime" = yesyes; then 13230 HAVE_MX32_RUNTIME_TRUE= 13231 HAVE_MX32_RUNTIME_FALSE='#' 13232else 13233 HAVE_MX32_RUNTIME_TRUE='#' 13234 HAVE_MX32_RUNTIME_FALSE= 13235fi 13236 13237 if test "$st_cv_mx32_mpers" = yes; then 13238 HAVE_MX32_MPERS_TRUE= 13239 HAVE_MX32_MPERS_FALSE='#' 13240else 13241 HAVE_MX32_MPERS_TRUE='#' 13242 HAVE_MX32_MPERS_FALSE= 13243fi 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 # Check whether --enable-valgrind was given. 13262if test "${enable_valgrind+set}" = set; then : 13263 enableval=$enable_valgrind; enable_valgrind=$enableval 13264else 13265 enable_valgrind= 13266fi 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. 13273set 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; } 13276if ${ac_cv_prog_VALGRIND+:} false; then : 13277 $as_echo_n "(cached) " >&6 13278else 13279 if test -n "$VALGRIND"; then 13280 ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test. 13281else 13282as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13283for as_dir in $PATH 13284do 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 13293done 13294 done 13295IFS=$as_save_IFS 13296 13297fi 13298fi 13299VALGRIND=$ac_cv_prog_VALGRIND 13300if test -n "$VALGRIND"; then 13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5 13302$as_echo "$VALGRIND" >&6; } 13303else 13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13305$as_echo "no" >&6; } 13306fi 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 13315else 13316 13317 enable_valgrind=no 13318 13319fi 13320 13321else 13322 13323 enable_valgrind=yes 13324 13325fi 13326 13327fi 13328 13329 if test "$enable_valgrind" = "yes"; then 13330 VALGRIND_ENABLED_TRUE= 13331 VALGRIND_ENABLED_FALSE='#' 13332else 13333 VALGRIND_ENABLED_TRUE='#' 13334 VALGRIND_ENABLED_FALSE= 13335fi 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. 13344if test "${enable_valgrind_memcheck+set}" = set; then : 13345 enableval=$enable_valgrind_memcheck; enable_valgrind_memcheck=$enableval 13346else 13347 enable_valgrind_memcheck= 13348fi 13349 13350 if test "$enable_valgrind" = "no"; then : 13351 13352 enable_valgrind_memcheck=no 13353elif 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; } 13357if ${ax_cv_valgrind_tool_memcheck+:} false; then : 13358 $as_echo_n "(cached) " >&6 13359else 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 13367fi 13368 13369fi 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 13378else 13379 13380 enable_valgrind_memcheck=no 13381 13382fi 13383 13384else 13385 13386 enable_valgrind_memcheck=yes 13387 13388fi 13389 13390fi 13391 if test "$enable_valgrind_memcheck" = "yes"; then : 13392 13393 valgrind_enabled_tools="$valgrind_enabled_tools memcheck" 13394 13395fi 13396 ENABLE_VALGRIND_memcheck=$enable_valgrind_memcheck 13397 13398 13399 # Check whether --enable-valgrind-helgrind was given. 13400if test "${enable_valgrind_helgrind+set}" = set; then : 13401 enableval=$enable_valgrind_helgrind; enable_valgrind_helgrind=$enableval 13402else 13403 enable_valgrind_helgrind= 13404fi 13405 13406 if test "$enable_valgrind" = "no"; then : 13407 13408 enable_valgrind_helgrind=no 13409elif 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; } 13413if ${ax_cv_valgrind_tool_helgrind+:} false; then : 13414 $as_echo_n "(cached) " >&6 13415else 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 13423fi 13424 13425fi 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 13434else 13435 13436 enable_valgrind_helgrind=no 13437 13438fi 13439 13440else 13441 13442 enable_valgrind_helgrind=yes 13443 13444fi 13445 13446fi 13447 if test "$enable_valgrind_helgrind" = "yes"; then : 13448 13449 valgrind_enabled_tools="$valgrind_enabled_tools helgrind" 13450 13451fi 13452 ENABLE_VALGRIND_helgrind=$enable_valgrind_helgrind 13453 13454 13455 # Check whether --enable-valgrind-drd was given. 13456if test "${enable_valgrind_drd+set}" = set; then : 13457 enableval=$enable_valgrind_drd; enable_valgrind_drd=$enableval 13458else 13459 enable_valgrind_drd= 13460fi 13461 13462 if test "$enable_valgrind" = "no"; then : 13463 13464 enable_valgrind_drd=no 13465elif 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; } 13469if ${ax_cv_valgrind_tool_drd+:} false; then : 13470 $as_echo_n "(cached) " >&6 13471else 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 13479fi 13480 13481fi 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 13490else 13491 13492 enable_valgrind_drd=no 13493 13494fi 13495 13496else 13497 13498 enable_valgrind_drd=yes 13499 13500fi 13501 13502fi 13503 if test "$enable_valgrind_drd" = "yes"; then : 13504 13505 valgrind_enabled_tools="$valgrind_enabled_tools drd" 13506 13507fi 13508 ENABLE_VALGRIND_drd=$enable_valgrind_drd 13509 13510 13511 # Check whether --enable-valgrind-sgcheck was given. 13512if test "${enable_valgrind_sgcheck+set}" = set; then : 13513 enableval=$enable_valgrind_sgcheck; enable_valgrind_sgcheck=$enableval 13514else 13515 enable_valgrind_sgcheck= 13516fi 13517 13518 if test "$enable_valgrind" = "no"; then : 13519 13520 enable_valgrind_sgcheck=no 13521elif 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; } 13525if ${ax_cv_valgrind_tool_sgcheck+:} false; then : 13526 $as_echo_n "(cached) " >&6 13527else 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 13535fi 13536 13537fi 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 13546else 13547 13548 enable_valgrind_sgcheck=no 13549 13550fi 13551 13552else 13553 13554 enable_valgrind_sgcheck=yes 13555 13556fi 13557 13558fi 13559 if test "$enable_valgrind_sgcheck" = "yes"; then : 13560 13561 valgrind_enabled_tools="$valgrind_enabled_tools sgcheck" 13562 13563fi 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 13572VALGRIND_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 13584VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES)) 13585VALGRIND_FLAGS ?= --num-callers=30 13586VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no 13587VALGRIND_helgrind_FLAGS ?= --history-level=approx 13588VALGRIND_drd_FLAGS ?= 13589VALGRIND_sgcheck_FLAGS ?= 13590 13591# Internal use 13592valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools))) 13593 13594valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS) 13595valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS) 13596valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS) 13597valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS) 13598 13599valgrind_quiet = $(valgrind_quiet_$(V)) 13600valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY)) 13601valgrind_quiet_0 = --quiet 13602valgrind_v_use = $(valgrind_v_use_$(V)) 13603valgrind_v_use_ = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY)) 13604valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%,%,$''@):; 13605 13606# Support running with and without libtool. 13607ifneq ($(LIBTOOL),) 13608valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute 13609else 13610valgrind_lt = 13611endif 13612 13613# Use recursive makes in order to ignore errors during check 13614check-valgrind: 13615ifeq ($(VALGRIND_ENABLED),yes) 13616 -$(A''M_V_at)$(foreach tool,$(valgrind_enabled_tools), \ 13617 $(MAKE) $(AM_MAKEFLAGS) -k check-valgrind-$(tool); \ 13618 ) 13619else 13620 @echo "Need to reconfigure with --enable-valgrind" 13621endif 13622 13623# Valgrind running 13624VALGRIND_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 13630VALGRIND_LOG_COMPILER = \ 13631 $(valgrind_lt) \ 13632 $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS) 13633 13634define valgrind_tool_rule = 13635check-valgrind-$(1): $$(BUILT_SOURCES) 13636ifeq ($$(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 13642else ifeq ($$(VALGRIND_ENABLED),yes) 13643 @echo "Need to reconfigure with --enable-valgrind-$(1)" 13644else 13645 @echo "Need to reconfigure with --enable-valgrind" 13646endif 13647endef 13648 13649$(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool)))) 13650 13651A''M_DISTCHECK_CONFIGURE_FLAGS ?= 13652A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind 13653 13654MOSTLYCLEANFILES ?= 13655MOSTLYCLEANFILES += $(valgrind_log_files) 13656 13657.PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools)) 13658' 13659 13660 13661 13662 13663 13664ac_config_files="$ac_config_files Makefile tests/Makefile tests-m32/Makefile tests-mx32/Makefile strace.spec debian/changelog" 13665 13666cat >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 13728if 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 13749fi 13750rm -f confcache 13751 13752test "x$prefix" = xNONE && prefix=$ac_default_prefix 13753# Let make expand exec_prefix. 13754test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13755 13756DEFS=-DHAVE_CONFIG_H 13757 13758ac_libobjs= 13759ac_ltlibobjs= 13760U= 13761for 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' 13769done 13770LIBOBJS=$ac_libobjs 13771 13772LTLIBOBJS=$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='#' 13786else 13787 am__EXEEXT_TRUE='#' 13788 am__EXEEXT_FALSE= 13789fi 13790 13791if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 13792 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 13793Usually this means the macro was only invoked conditionally." "$LINENO" 5 13794fi 13795if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13796 as_fn_error $? "conditional \"AMDEP\" was never defined. 13797Usually this means the macro was only invoked conditionally." "$LINENO" 5 13798fi 13799if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13800 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13801Usually this means the macro was only invoked conditionally." "$LINENO" 5 13802fi 13803if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13804 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13805Usually this means the macro was only invoked conditionally." "$LINENO" 5 13806fi 13807if test -z "${CODE_COVERAGE_ENABLED_TRUE}" && test -z "${CODE_COVERAGE_ENABLED_FALSE}"; then 13808 as_fn_error $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined. 13809Usually this means the macro was only invoked conditionally." "$LINENO" 5 13810fi 13811 13812if test -z "${USE_LIBUNWIND_TRUE}" && test -z "${USE_LIBUNWIND_FALSE}"; then 13813 as_fn_error $? "conditional \"USE_LIBUNWIND\" was never defined. 13814Usually this means the macro was only invoked conditionally." "$LINENO" 5 13815fi 13816if test -z "${HAVE_M32_RUNTIME_TRUE}" && test -z "${HAVE_M32_RUNTIME_FALSE}"; then 13817 as_fn_error $? "conditional \"HAVE_M32_RUNTIME\" was never defined. 13818Usually this means the macro was only invoked conditionally." "$LINENO" 5 13819fi 13820if test -z "${HAVE_M32_MPERS_TRUE}" && test -z "${HAVE_M32_MPERS_FALSE}"; then 13821 as_fn_error $? "conditional \"HAVE_M32_MPERS\" was never defined. 13822Usually this means the macro was only invoked conditionally." "$LINENO" 5 13823fi 13824if test -z "${HAVE_MX32_RUNTIME_TRUE}" && test -z "${HAVE_MX32_RUNTIME_FALSE}"; then 13825 as_fn_error $? "conditional \"HAVE_MX32_RUNTIME\" was never defined. 13826Usually this means the macro was only invoked conditionally." "$LINENO" 5 13827fi 13828if test -z "${HAVE_MX32_MPERS_TRUE}" && test -z "${HAVE_MX32_MPERS_FALSE}"; then 13829 as_fn_error $? "conditional \"HAVE_MX32_MPERS\" was never defined. 13830Usually this means the macro was only invoked conditionally." "$LINENO" 5 13831fi 13832if test -z "${VALGRIND_ENABLED_TRUE}" && test -z "${VALGRIND_ENABLED_FALSE}"; then 13833 as_fn_error $? "conditional \"VALGRIND_ENABLED\" was never defined. 13834Usually this means the macro was only invoked conditionally." "$LINENO" 5 13835fi 13836 13837: "${CONFIG_STATUS=./config.status}" 13838ac_write_fail=0 13839ac_clean_files_save=$ac_clean_files 13840ac_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;} 13843as_write_fail=0 13844cat >$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 13851debug=false 13852ac_cs_recheck=false 13853ac_cs_silent=false 13854 13855SHELL=\${CONFIG_SHELL-$SHELL} 13856export SHELL 13857_ASEOF 13858cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13859## -------------------- ## 13860## M4sh Initialization. ## 13861## -------------------- ## 13862 13863# Be more Bourne compatible 13864DUALCASE=1; export DUALCASE # for MKS sh 13865if 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 13872else 13873 case `(set -o) 2>/dev/null` in #( 13874 *posix*) : 13875 set -o posix ;; #( 13876 *) : 13877 ;; 13878esac 13879fi 13880 13881 13882as_nl=' 13883' 13884export as_nl 13885# Printing a long string crashes Solaris 7 /usr/bin/printf. 13886as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13887as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13888as_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. 13891if 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 --' 13895elif (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' 13898else 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' 13918fi 13919 13920# The user is always right. 13921if 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 } 13927fi 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.) 13935IFS=" "" $as_nl" 13936 13937# Find who we are. Look in the path if we contain no directory separator. 13938as_myself= 13939case $0 in #(( 13940 *[\\/]* ) as_myself=$0 ;; 13941 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13942for as_dir in $PATH 13943do 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 13948IFS=$as_save_IFS 13949 13950 ;; 13951esac 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. 13954if test "x$as_myself" = x; then 13955 as_myself=$0 13956fi 13957if test ! -f "$as_myself"; then 13958 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13959 exit 1 13960fi 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. 13966for as_var in BASH_ENV ENV MAIL MAILPATH 13967do eval test x\${$as_var+set} = xset \ 13968 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13969done 13970PS1='$ ' 13971PS2='> ' 13972PS4='+ ' 13973 13974# NLS nuisances. 13975LC_ALL=C 13976export LC_ALL 13977LANGUAGE=C 13978export 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. 13989as_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. 14004as_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. 14012as_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. 14022as_fn_unset () 14023{ 14024 { eval $1=; unset $1;} 14025} 14026as_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. 14033if (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 }' 14038else 14039 as_fn_append () 14040 { 14041 eval $1=\$$1\$2 14042 } 14043fi # 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. 14050if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 14051 eval 'as_fn_arith () 14052 { 14053 as_val=$(( $* )) 14054 }' 14055else 14056 as_fn_arith () 14057 { 14058 as_val=`expr "$@" || test $? -eq 1` 14059 } 14060fi # as_fn_arith 14061 14062 14063if expr a : '\(a\)' >/dev/null 2>&1 && 14064 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14065 as_expr=expr 14066else 14067 as_expr=false 14068fi 14069 14070if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14071 as_basename=basename 14072else 14073 as_basename=false 14074fi 14075 14076if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14077 as_dirname=dirname 14078else 14079 as_dirname=false 14080fi 14081 14082as_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. 14102as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14103as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14104as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14105as_cr_digits='0123456789' 14106as_cr_alnum=$as_cr_Letters$as_cr_digits 14107 14108ECHO_C= ECHO_N= ECHO_T= 14109case `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';; 14119esac 14120 14121rm -f conf$$ conf$$.exe conf$$.file 14122if test -d conf$$.dir; then 14123 rm -f conf$$.dir/conf$$.file 14124else 14125 rm -f conf$$.dir 14126 mkdir conf$$.dir 2>/dev/null 14127fi 14128if (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 14142else 14143 as_ln_s='cp -pR' 14144fi 14145rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14146rmdir conf$$.dir 2>/dev/null 14147 14148 14149# as_fn_mkdir_p 14150# ------------- 14151# Create "$as_dir" as a directory, including parents if necessary. 14152as_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 14196if mkdir -p . 2>/dev/null; then 14197 as_mkdir_p='mkdir -p "$as_dir"' 14198else 14199 test -d ./-p && rmdir ./-p 14200 as_mkdir_p=false 14201fi 14202 14203 14204# as_fn_executable_p FILE 14205# ----------------------- 14206# Test if FILE is an executable regular file. 14207as_fn_executable_p () 14208{ 14209 test -f "$1" && test -x "$1" 14210} # as_fn_executable_p 14211as_test_x='test -x' 14212as_executable_p=as_fn_executable_p 14213 14214# Sed expression to map a string onto a valid CPP name. 14215as_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. 14218as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14219 14220 14221exec 6>&1 14222## ----------------------------------- ## 14223## Main body of $CONFIG_STATUS script. ## 14224## ----------------------------------- ## 14225_ASEOF 14226test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14227 14228cat >>$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. 14232ac_log=" 14233This file was extended by strace $as_me 4.18, which was 14234generated 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 14242on `(hostname || uname -n) 2>/dev/null | sed 1q` 14243" 14244 14245_ACEOF 14246 14247case $ac_config_files in *" 14248"*) set x $ac_config_files; shift; ac_config_files=$*;; 14249esac 14250 14251case $ac_config_headers in *" 14252"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14253esac 14254 14255 14256cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14257# Files that config.status was made for. 14258config_files="$ac_config_files" 14259config_headers="$ac_config_headers" 14260config_commands="$ac_config_commands" 14261 14262_ACEOF 14263 14264cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14265ac_cs_usage="\ 14266\`$as_me' instantiates files and other configuration actions 14267from templates according to the current configuration. Unless the files 14268and actions are specified as TAGs, all are instantiated by default. 14269 14270Usage: $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 14284Configuration files: 14285$config_files 14286 14287Configuration headers: 14288$config_headers 14289 14290Configuration commands: 14291$config_commands 14292 14293Report bugs to <strace-devel@lists.sourceforge.net>. 14294strace home page: <https://strace.io>." 14295 14296_ACEOF 14297cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14298ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14299ac_cs_version="\\ 14300strace config.status 4.18 14301configured by $0, generated by GNU Autoconf 2.69, 14302 with options \\"\$ac_cs_config\\" 14303 14304Copyright (C) Free Software Foundation, Inc. 14305This config.status script is free software; the Free Software Foundation 14306gives unlimited permission to copy, distribute and modify it." 14307 14308ac_pwd='$ac_pwd' 14309srcdir='$srcdir' 14310INSTALL='$INSTALL' 14311MKDIR_P='$MKDIR_P' 14312AWK='$AWK' 14313test -n "\$AWK" || AWK=awk 14314_ACEOF 14315 14316cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14317# The default lists apply if the user does not specify any file. 14318ac_need_defaults=: 14319while test $# != 0 14320do 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' 14367Try \`$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' 14376Try \`$0 --help' for more information." ;; 14377 14378 *) as_fn_append ac_config_targets " $1" 14379 ac_need_defaults=false ;; 14380 14381 esac 14382 shift 14383done 14384 14385ac_configure_extra_args= 14386 14387if $ac_cs_silent; then 14388 exec 6>/dev/null 14389 ac_configure_extra_args="$ac_configure_extra_args --silent" 14390fi 14391 14392_ACEOF 14393cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14394if \$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 "\$@" 14401fi 14402 14403_ACEOF 14404cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14405exec 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 14415cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14416# 14417# INIT-COMMANDS 14418# 14419AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14420 14421_ACEOF 14422 14423cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14424 14425# Handling of arguments. 14426for ac_config_target in $ac_config_targets 14427do 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 14440done 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. 14447if $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 14451fi 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 14474ac_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'. 14479if test -n "$CONFIG_FILES"; then 14480 14481 14482ac_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. 14486if test "x$ac_cr" = x; then 14487 eval ac_cr=\$\'\\r\' 14488fi 14489ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14490if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14491 ac_cs_awk_cr='\\r' 14492else 14493 ac_cs_awk_cr=$ac_cr 14494fi 14495 14496echo '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 14506ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14507ac_delim='%!_!# ' 14508for 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 14520done 14521rm -f conf$$subs.sh 14522 14523cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14524cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14525_ACEOF 14526sed -n ' 14527h 14528s/^/S["/; s/!.*/"]=/ 14529p 14530g 14531s/^[^!]*!// 14532:repl 14533t repl 14534s/'"$ac_delim"'$// 14535t delim 14536:nl 14537h 14538s/\(.\{148\}\)..*/\1/ 14539t more1 14540s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14541p 14542n 14543b repl 14544:more1 14545s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14546p 14547g 14548s/.\{148\}// 14549t nl 14550:delim 14551h 14552s/\(.\{148\}\)..*/\1/ 14553t more2 14554s/["\\]/\\&/g; s/^/"/; s/$/"/ 14555p 14556b 14557:more2 14558s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14559p 14560g 14561s/.\{148\}// 14562t delim 14563' <conf$$subs.awk | sed ' 14564/^[^""]/{ 14565 N 14566 s/\n// 14567} 14568' >>$CONFIG_STATUS || ac_write_fail=1 14569rm -f conf$$subs.awk 14570cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14571_ACAWK 14572cat >>"\$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 14599cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14600if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14601 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14602else 14603 cat 14604fi < "$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). 14612if test "x$srcdir" = x.; then 14613 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14614h 14615s/// 14616s/^/:/ 14617s/[ ]*$/:/ 14618s/:\$(srcdir):/:/g 14619s/:\${srcdir}:/:/g 14620s/:@srcdir@:/:/g 14621s/^:*// 14622s/:*$// 14623x 14624s/\(=[ ]*\).*/\1/ 14625G 14626s/\n// 14627s/^[^=]*=[ ]*$// 14628}' 14629fi 14630 14631cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14632fi # 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'. 14637if test -n "$CONFIG_HEADERS"; then 14638cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14639BEGIN { 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. 14648ac_delim='%!_!# ' 14649for 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 14658done 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 14664ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14665sed -n ' 14666s/.\{148\}/&'"$ac_delim"'/g 14667t rset 14668:rset 14669s/^[ ]*#[ ]*define[ ][ ]*/ / 14670t def 14671d 14672:def 14673s/\\$// 14674t bsnl 14675s/["\\]/\\&/g 14676s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14677D["\1"]=" \3"/p 14678s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14679d 14680:bsnl 14681s/["\\]/\\&/g 14682s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14683D["\1"]=" \3\\\\\\n"\\/p 14684t cont 14685s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14686t cont 14687d 14688:cont 14689n 14690s/.\{148\}/&'"$ac_delim"'/g 14691t clear 14692:clear 14693s/\\$// 14694t bsnlc 14695s/["\\]/\\&/g; s/^/"/; s/$/"/p 14696d 14697:bsnlc 14698s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14699b cont 14700' <confdefs.h | sed ' 14701s/'"$ac_delim"'/"\\\ 14702"/g' >>$CONFIG_STATUS || ac_write_fail=1 14703 14704cat >>$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 14738cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14739 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14740fi # test -n "$CONFIG_HEADERS" 14741 14742 14743eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14744shift 14745for ac_tag 14746do 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 14838case "$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 ;; 14848esac 14849ac_abs_top_builddir=$ac_pwd 14850ac_abs_builddir=$ac_pwd$ac_dir_suffix 14851# for backward compatibility: 14852ac_top_builddir=$ac_top_build_prefix 14853 14854case $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 ;; 14867esac 14868ac_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 14888cat >>$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. 14891ac_datarootdir_hack=; ac_datarootdir_seen= 14892ac_sed_dataroot=' 14893/datarootdir/ { 14894 p 14895 q 14896} 14897/@datadir@/p 14898/@docdir@/p 14899/@infodir@/p 14900/@localedir@/p 14901/@mandir@/p' 14902case `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 14908cat >>$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' ;; 14916esac 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? 14922cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14923ac_sed_extra="$ac_vpsub 14924$extrasub 14925_ACEOF 14926cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14927:t 14928/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14929s|@configure_input@|$ac_sed_conf_input|;t t 14930s&@top_builddir@&$ac_top_builddir_sub&;t t 14931s&@top_build_prefix@&$ac_top_build_prefix&;t t 14932s&@srcdir@&$ac_srcdir&;t t 14933s&@abs_srcdir@&$ac_abs_srcdir&;t t 14934s&@top_srcdir@&$ac_top_srcdir&;t t 14935s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14936s&@builddir@&$ac_builddir&;t t 14937s&@abs_builddir@&$ac_abs_builddir&;t t 14938s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14939s&@INSTALL@&$ac_INSTALL&;t t 14940s&@MKDIR_P@&$ac_MKDIR_P&;t t 14941$ac_datarootdir_hack 14942" 14943eval 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 14946test -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' 14951which 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' 14953which 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 14988for _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 14995done 14996echo "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 15123done # for ac_tag 15124 15125 15126as_fn_exit 0 15127_ACEOF 15128ac_clean_files=$ac_clean_files_save 15129 15130test $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. 15142if 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 15153fi 15154if 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;} 15157fi 15158 15159