11.1Spooka#! /bin/sh 21.1Spooka# Guess values for system-dependent variables and create Makefiles. 31.1Spooka# Generated by GNU Autoconf 2.69 for rumpuser-posix 999. 41.1Spooka# 51.6Slukem# Report bugs to <https://github.com/rumpkernel/>. 61.1Spooka# 71.1Spooka# 81.1Spooka# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 91.1Spooka# 101.1Spooka# 111.1Spooka# This configure script is free software; the Free Software Foundation 121.1Spooka# gives unlimited permission to copy, distribute and modify it. 131.1Spooka## -------------------- ## 141.1Spooka## M4sh Initialization. ## 151.1Spooka## -------------------- ## 161.1Spooka 171.1Spooka# Be more Bourne compatible 181.1SpookaDUALCASE=1; export DUALCASE # for MKS sh 191.1Spookaif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 201.1Spooka emulate sh 211.1Spooka NULLCMD=: 221.1Spooka # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 231.1Spooka # is contrary to our usage. Disable this feature. 241.1Spooka alias -g '${1+"$@"}'='"$@"' 251.1Spooka setopt NO_GLOB_SUBST 261.1Spookaelse 271.1Spooka case `(set -o) 2>/dev/null` in #( 281.1Spooka *posix*) : 291.1Spooka set -o posix ;; #( 301.1Spooka *) : 311.1Spooka ;; 321.1Spookaesac 331.1Spookafi 341.1Spooka 351.1Spooka 361.1Spookaas_nl=' 371.1Spooka' 381.1Spookaexport as_nl 391.1Spooka# Printing a long string crashes Solaris 7 /usr/bin/printf. 401.1Spookaas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 411.1Spookaas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 421.1Spookaas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 431.1Spooka# Prefer a ksh shell builtin over an external printf program on Solaris, 441.1Spooka# but without wasting forks for bash or zsh. 451.1Spookaif test -z "$BASH_VERSION$ZSH_VERSION" \ 461.1Spooka && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 471.1Spooka as_echo='print -r --' 481.1Spooka as_echo_n='print -rn --' 491.1Spookaelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 501.1Spooka as_echo='printf %s\n' 511.1Spooka as_echo_n='printf %s' 521.1Spookaelse 531.1Spooka if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 541.1Spooka as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 551.1Spooka as_echo_n='/usr/ucb/echo -n' 561.1Spooka else 571.1Spooka as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 581.1Spooka as_echo_n_body='eval 591.1Spooka arg=$1; 601.1Spooka case $arg in #( 611.1Spooka *"$as_nl"*) 621.1Spooka expr "X$arg" : "X\\(.*\\)$as_nl"; 631.1Spooka arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 641.1Spooka esac; 651.1Spooka expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 661.1Spooka ' 671.1Spooka export as_echo_n_body 681.1Spooka as_echo_n='sh -c $as_echo_n_body as_echo' 691.1Spooka fi 701.1Spooka export as_echo_body 711.1Spooka as_echo='sh -c $as_echo_body as_echo' 721.1Spookafi 731.1Spooka 741.1Spooka# The user is always right. 751.1Spookaif test "${PATH_SEPARATOR+set}" != set; then 761.1Spooka PATH_SEPARATOR=: 771.1Spooka (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 781.1Spooka (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 791.1Spooka PATH_SEPARATOR=';' 801.1Spooka } 811.1Spookafi 821.1Spooka 831.1Spooka 841.1Spooka# IFS 851.1Spooka# We need space, tab and new line, in precisely that order. Quoting is 861.1Spooka# there to prevent editors from complaining about space-tab. 871.1Spooka# (If _AS_PATH_WALK were called with IFS unset, it would disable word 881.1Spooka# splitting by setting IFS to empty value.) 891.1SpookaIFS=" "" $as_nl" 901.1Spooka 911.1Spooka# Find who we are. Look in the path if we contain no directory separator. 921.1Spookaas_myself= 931.1Spookacase $0 in #(( 941.1Spooka *[\\/]* ) as_myself=$0 ;; 951.1Spooka *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 961.1Spookafor as_dir in $PATH 971.1Spookado 981.1Spooka IFS=$as_save_IFS 991.1Spooka test -z "$as_dir" && as_dir=. 1001.1Spooka test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1011.1Spooka done 1021.1SpookaIFS=$as_save_IFS 1031.1Spooka 1041.1Spooka ;; 1051.1Spookaesac 1061.1Spooka# We did not find ourselves, most probably we were run as `sh COMMAND' 1071.1Spooka# in which case we are not to be found in the path. 1081.1Spookaif test "x$as_myself" = x; then 1091.1Spooka as_myself=$0 1101.1Spookafi 1111.1Spookaif test ! -f "$as_myself"; then 1121.1Spooka $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1131.1Spooka exit 1 1141.1Spookafi 1151.1Spooka 1161.1Spooka# Unset variables that we do not need and which cause bugs (e.g. in 1171.1Spooka# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1181.1Spooka# suppresses any "Segmentation fault" message there. '((' could 1191.1Spooka# trigger a bug in pdksh 5.2.14. 1201.1Spookafor as_var in BASH_ENV ENV MAIL MAILPATH 1211.1Spookado eval test x\${$as_var+set} = xset \ 1221.1Spooka && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1231.1Spookadone 1241.1SpookaPS1='$ ' 1251.1SpookaPS2='> ' 1261.1SpookaPS4='+ ' 1271.1Spooka 1281.1Spooka# NLS nuisances. 1291.1SpookaLC_ALL=C 1301.1Spookaexport LC_ALL 1311.1SpookaLANGUAGE=C 1321.1Spookaexport LANGUAGE 1331.1Spooka 1341.1Spooka# CDPATH. 1351.1Spooka(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1361.1Spooka 1371.1Spooka# Use a proper internal environment variable to ensure we don't fall 1381.1Spooka # into an infinite loop, continuously re-executing ourselves. 1391.1Spooka if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 1401.1Spooka _as_can_reexec=no; export _as_can_reexec; 1411.1Spooka # We cannot yet assume a decent shell, so we have to provide a 1421.1Spooka# neutralization value for shells without unset; and this also 1431.1Spooka# works around shells that cannot unset nonexistent variables. 1441.1Spooka# Preserve -v and -x to the replacement shell. 1451.1SpookaBASH_ENV=/dev/null 1461.1SpookaENV=/dev/null 1471.1Spooka(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 1481.1Spookacase $- in # (((( 1491.1Spooka *v*x* | *x*v* ) as_opts=-vx ;; 1501.1Spooka *v* ) as_opts=-v ;; 1511.1Spooka *x* ) as_opts=-x ;; 1521.1Spooka * ) as_opts= ;; 1531.1Spookaesac 1541.1Spookaexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 1551.1Spooka# Admittedly, this is quite paranoid, since all the known shells bail 1561.1Spooka# out after a failed `exec'. 1571.1Spooka$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 1581.1Spookaas_fn_exit 255 1591.1Spooka fi 1601.1Spooka # We don't want this to propagate to other subprocesses. 1611.1Spooka { _as_can_reexec=; unset _as_can_reexec;} 1621.1Spookaif test "x$CONFIG_SHELL" = x; then 1631.1Spooka as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1641.1Spooka emulate sh 1651.1Spooka NULLCMD=: 1661.1Spooka # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1671.1Spooka # is contrary to our usage. Disable this feature. 1681.1Spooka alias -g '\${1+\"\$@\"}'='\"\$@\"' 1691.1Spooka setopt NO_GLOB_SUBST 1701.1Spookaelse 1711.1Spooka case \`(set -o) 2>/dev/null\` in #( 1721.1Spooka *posix*) : 1731.1Spooka set -o posix ;; #( 1741.1Spooka *) : 1751.1Spooka ;; 1761.1Spookaesac 1771.1Spookafi 1781.1Spooka" 1791.1Spooka as_required="as_fn_return () { (exit \$1); } 1801.1Spookaas_fn_success () { as_fn_return 0; } 1811.1Spookaas_fn_failure () { as_fn_return 1; } 1821.1Spookaas_fn_ret_success () { return 0; } 1831.1Spookaas_fn_ret_failure () { return 1; } 1841.1Spooka 1851.1Spookaexitcode=0 1861.1Spookaas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1871.1Spookaas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1881.1Spookaas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1891.1Spookaas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1901.1Spookaif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1911.1Spooka 1921.1Spookaelse 1931.1Spooka exitcode=1; echo positional parameters were not saved. 1941.1Spookafi 1951.1Spookatest x\$exitcode = x0 || exit 1 1961.1Spookatest -x / || exit 1" 1971.1Spooka as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1981.1Spooka as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1991.1Spooka eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 2001.1Spooka test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 2011.1Spookatest \$(( 1 + 1 )) = 2 || exit 1" 2021.1Spooka if (eval "$as_required") 2>/dev/null; then : 2031.1Spooka as_have_required=yes 2041.1Spookaelse 2051.1Spooka as_have_required=no 2061.1Spookafi 2071.1Spooka if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 2081.1Spooka 2091.1Spookaelse 2101.1Spooka as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2111.1Spookaas_found=false 2121.1Spookafor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2131.1Spookado 2141.1Spooka IFS=$as_save_IFS 2151.1Spooka test -z "$as_dir" && as_dir=. 2161.1Spooka as_found=: 2171.1Spooka case $as_dir in #( 2181.1Spooka /*) 2191.1Spooka for as_base in sh bash ksh sh5; do 2201.1Spooka # Try only shells that exist, to save several forks. 2211.1Spooka as_shell=$as_dir/$as_base 2221.1Spooka if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2231.1Spooka { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 2241.1Spooka CONFIG_SHELL=$as_shell as_have_required=yes 2251.1Spooka if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2261.1Spooka break 2 2271.1Spookafi 2281.1Spookafi 2291.1Spooka done;; 2301.1Spooka esac 2311.1Spooka as_found=false 2321.1Spookadone 2331.1Spooka$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2341.1Spooka { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2351.1Spooka CONFIG_SHELL=$SHELL as_have_required=yes 2361.1Spookafi; } 2371.1SpookaIFS=$as_save_IFS 2381.1Spooka 2391.1Spooka 2401.1Spooka if test "x$CONFIG_SHELL" != x; then : 2411.1Spooka export CONFIG_SHELL 2421.1Spooka # We cannot yet assume a decent shell, so we have to provide a 2431.1Spooka# neutralization value for shells without unset; and this also 2441.1Spooka# works around shells that cannot unset nonexistent variables. 2451.1Spooka# Preserve -v and -x to the replacement shell. 2461.1SpookaBASH_ENV=/dev/null 2471.1SpookaENV=/dev/null 2481.1Spooka(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2491.1Spookacase $- in # (((( 2501.1Spooka *v*x* | *x*v* ) as_opts=-vx ;; 2511.1Spooka *v* ) as_opts=-v ;; 2521.1Spooka *x* ) as_opts=-x ;; 2531.1Spooka * ) as_opts= ;; 2541.1Spookaesac 2551.1Spookaexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 2561.1Spooka# Admittedly, this is quite paranoid, since all the known shells bail 2571.1Spooka# out after a failed `exec'. 2581.1Spooka$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 2591.1Spookaexit 255 2601.1Spookafi 2611.1Spooka 2621.1Spooka if test x$as_have_required = xno; then : 2631.1Spooka $as_echo "$0: This script requires a shell more modern than all" 2641.1Spooka $as_echo "$0: the shells that I found on your system." 2651.1Spooka if test x${ZSH_VERSION+set} = xset ; then 2661.1Spooka $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2671.1Spooka $as_echo "$0: be upgraded to zsh 4.3.4 or later." 2681.1Spooka else 2691.1Spooka $as_echo "$0: Please tell bug-autoconf@gnu.org and 2701.6Slukem$0: https://github.com/rumpkernel/ about your system, 2711.6Slukem$0: including any error possibly output before this 2721.6Slukem$0: message. Then install a modern shell, or manually run 2731.6Slukem$0: the script under such a shell if you do have one." 2741.1Spooka fi 2751.1Spooka exit 1 2761.1Spookafi 2771.1Spookafi 2781.1Spookafi 2791.1SpookaSHELL=${CONFIG_SHELL-/bin/sh} 2801.1Spookaexport SHELL 2811.1Spooka# Unset more variables known to interfere with behavior of common tools. 2821.1SpookaCLICOLOR_FORCE= GREP_OPTIONS= 2831.1Spookaunset CLICOLOR_FORCE GREP_OPTIONS 2841.1Spooka 2851.1Spooka## --------------------- ## 2861.1Spooka## M4sh Shell Functions. ## 2871.1Spooka## --------------------- ## 2881.1Spooka# as_fn_unset VAR 2891.1Spooka# --------------- 2901.1Spooka# Portably unset VAR. 2911.1Spookaas_fn_unset () 2921.1Spooka{ 2931.1Spooka { eval $1=; unset $1;} 2941.1Spooka} 2951.1Spookaas_unset=as_fn_unset 2961.1Spooka 2971.1Spooka# as_fn_set_status STATUS 2981.1Spooka# ----------------------- 2991.1Spooka# Set $? to STATUS, without forking. 3001.1Spookaas_fn_set_status () 3011.1Spooka{ 3021.1Spooka return $1 3031.1Spooka} # as_fn_set_status 3041.1Spooka 3051.1Spooka# as_fn_exit STATUS 3061.1Spooka# ----------------- 3071.1Spooka# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3081.1Spookaas_fn_exit () 3091.1Spooka{ 3101.1Spooka set +e 3111.1Spooka as_fn_set_status $1 3121.1Spooka exit $1 3131.1Spooka} # as_fn_exit 3141.1Spooka 3151.1Spooka# as_fn_mkdir_p 3161.1Spooka# ------------- 3171.1Spooka# Create "$as_dir" as a directory, including parents if necessary. 3181.1Spookaas_fn_mkdir_p () 3191.1Spooka{ 3201.1Spooka 3211.1Spooka case $as_dir in #( 3221.1Spooka -*) as_dir=./$as_dir;; 3231.1Spooka esac 3241.1Spooka test -d "$as_dir" || eval $as_mkdir_p || { 3251.1Spooka as_dirs= 3261.1Spooka while :; do 3271.1Spooka case $as_dir in #( 3281.1Spooka *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3291.1Spooka *) as_qdir=$as_dir;; 3301.1Spooka esac 3311.1Spooka as_dirs="'$as_qdir' $as_dirs" 3321.1Spooka as_dir=`$as_dirname -- "$as_dir" || 3331.1Spooka$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3341.1Spooka X"$as_dir" : 'X\(//\)[^/]' \| \ 3351.1Spooka X"$as_dir" : 'X\(//\)$' \| \ 3361.1Spooka X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3371.1Spooka$as_echo X"$as_dir" | 3381.1Spooka sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3391.1Spooka s//\1/ 3401.1Spooka q 3411.1Spooka } 3421.1Spooka /^X\(\/\/\)[^/].*/{ 3431.1Spooka s//\1/ 3441.1Spooka q 3451.1Spooka } 3461.1Spooka /^X\(\/\/\)$/{ 3471.1Spooka s//\1/ 3481.1Spooka q 3491.1Spooka } 3501.1Spooka /^X\(\/\).*/{ 3511.1Spooka s//\1/ 3521.1Spooka q 3531.1Spooka } 3541.1Spooka s/.*/./; q'` 3551.1Spooka test -d "$as_dir" && break 3561.1Spooka done 3571.1Spooka test -z "$as_dirs" || eval "mkdir $as_dirs" 3581.1Spooka } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3591.1Spooka 3601.1Spooka 3611.1Spooka} # as_fn_mkdir_p 3621.1Spooka 3631.1Spooka# as_fn_executable_p FILE 3641.1Spooka# ----------------------- 3651.1Spooka# Test if FILE is an executable regular file. 3661.1Spookaas_fn_executable_p () 3671.1Spooka{ 3681.1Spooka test -f "$1" && test -x "$1" 3691.1Spooka} # as_fn_executable_p 3701.1Spooka# as_fn_append VAR VALUE 3711.1Spooka# ---------------------- 3721.1Spooka# Append the text in VALUE to the end of the definition contained in VAR. Take 3731.1Spooka# advantage of any shell optimizations that allow amortized linear growth over 3741.1Spooka# repeated appends, instead of the typical quadratic growth present in naive 3751.1Spooka# implementations. 3761.1Spookaif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3771.1Spooka eval 'as_fn_append () 3781.1Spooka { 3791.1Spooka eval $1+=\$2 3801.1Spooka }' 3811.1Spookaelse 3821.1Spooka as_fn_append () 3831.1Spooka { 3841.1Spooka eval $1=\$$1\$2 3851.1Spooka } 3861.1Spookafi # as_fn_append 3871.1Spooka 3881.1Spooka# as_fn_arith ARG... 3891.1Spooka# ------------------ 3901.1Spooka# Perform arithmetic evaluation on the ARGs, and store the result in the 3911.1Spooka# global $as_val. Take advantage of shells that can avoid forks. The arguments 3921.1Spooka# must be portable across $(()) and expr. 3931.1Spookaif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3941.1Spooka eval 'as_fn_arith () 3951.1Spooka { 3961.1Spooka as_val=$(( $* )) 3971.1Spooka }' 3981.1Spookaelse 3991.1Spooka as_fn_arith () 4001.1Spooka { 4011.1Spooka as_val=`expr "$@" || test $? -eq 1` 4021.1Spooka } 4031.1Spookafi # as_fn_arith 4041.1Spooka 4051.1Spooka 4061.1Spooka# as_fn_error STATUS ERROR [LINENO LOG_FD] 4071.1Spooka# ---------------------------------------- 4081.1Spooka# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4091.1Spooka# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4101.1Spooka# script with STATUS, using 1 if that was 0. 4111.1Spookaas_fn_error () 4121.1Spooka{ 4131.1Spooka as_status=$1; test $as_status -eq 0 && as_status=1 4141.1Spooka if test "$4"; then 4151.1Spooka as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4161.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4171.1Spooka fi 4181.1Spooka $as_echo "$as_me: error: $2" >&2 4191.1Spooka as_fn_exit $as_status 4201.1Spooka} # as_fn_error 4211.1Spooka 4221.1Spookaif expr a : '\(a\)' >/dev/null 2>&1 && 4231.1Spooka test "X`expr 00001 : '.*\(...\)'`" = X001; then 4241.1Spooka as_expr=expr 4251.1Spookaelse 4261.1Spooka as_expr=false 4271.1Spookafi 4281.1Spooka 4291.1Spookaif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4301.1Spooka as_basename=basename 4311.1Spookaelse 4321.1Spooka as_basename=false 4331.1Spookafi 4341.1Spooka 4351.1Spookaif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4361.1Spooka as_dirname=dirname 4371.1Spookaelse 4381.1Spooka as_dirname=false 4391.1Spookafi 4401.1Spooka 4411.1Spookaas_me=`$as_basename -- "$0" || 4421.1Spooka$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4431.1Spooka X"$0" : 'X\(//\)$' \| \ 4441.1Spooka X"$0" : 'X\(/\)' \| . 2>/dev/null || 4451.1Spooka$as_echo X/"$0" | 4461.1Spooka sed '/^.*\/\([^/][^/]*\)\/*$/{ 4471.1Spooka s//\1/ 4481.1Spooka q 4491.1Spooka } 4501.1Spooka /^X\/\(\/\/\)$/{ 4511.1Spooka s//\1/ 4521.1Spooka q 4531.1Spooka } 4541.1Spooka /^X\/\(\/\).*/{ 4551.1Spooka s//\1/ 4561.1Spooka q 4571.1Spooka } 4581.1Spooka s/.*/./; q'` 4591.1Spooka 4601.1Spooka# Avoid depending upon Character Ranges. 4611.1Spookaas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4621.1Spookaas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4631.1Spookaas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4641.1Spookaas_cr_digits='0123456789' 4651.1Spookaas_cr_alnum=$as_cr_Letters$as_cr_digits 4661.1Spooka 4671.1Spooka 4681.1Spooka as_lineno_1=$LINENO as_lineno_1a=$LINENO 4691.1Spooka as_lineno_2=$LINENO as_lineno_2a=$LINENO 4701.1Spooka eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4711.1Spooka test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4721.1Spooka # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4731.1Spooka sed -n ' 4741.1Spooka p 4751.1Spooka /[$]LINENO/= 4761.1Spooka ' <$as_myself | 4771.1Spooka sed ' 4781.1Spooka s/[$]LINENO.*/&-/ 4791.1Spooka t lineno 4801.1Spooka b 4811.1Spooka :lineno 4821.1Spooka N 4831.1Spooka :loop 4841.1Spooka s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4851.1Spooka t loop 4861.1Spooka s/-\n.*// 4871.1Spooka ' >$as_me.lineno && 4881.1Spooka chmod +x "$as_me.lineno" || 4891.1Spooka { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 4901.1Spooka 4911.1Spooka # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 4921.1Spooka # already done that, so ensure we don't try to do so again and fall 4931.1Spooka # in an infinite loop. This has already happened in practice. 4941.1Spooka _as_can_reexec=no; export _as_can_reexec 4951.1Spooka # Don't try to exec as it changes $[0], causing all sort of problems 4961.1Spooka # (the dirname of $[0] is not the place where we might find the 4971.1Spooka # original and so on. Autoconf is especially sensitive to this). 4981.1Spooka . "./$as_me.lineno" 4991.1Spooka # Exit status is that of the last command. 5001.1Spooka exit 5011.1Spooka} 5021.1Spooka 5031.1SpookaECHO_C= ECHO_N= ECHO_T= 5041.1Spookacase `echo -n x` in #((((( 5051.1Spooka-n*) 5061.1Spooka case `echo 'xy\c'` in 5071.1Spooka *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5081.1Spooka xy) ECHO_C='\c';; 5091.1Spooka *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5101.1Spooka ECHO_T=' ';; 5111.1Spooka esac;; 5121.1Spooka*) 5131.1Spooka ECHO_N='-n';; 5141.1Spookaesac 5151.1Spooka 5161.1Spookarm -f conf$$ conf$$.exe conf$$.file 5171.1Spookaif test -d conf$$.dir; then 5181.1Spooka rm -f conf$$.dir/conf$$.file 5191.1Spookaelse 5201.1Spooka rm -f conf$$.dir 5211.1Spooka mkdir conf$$.dir 2>/dev/null 5221.1Spookafi 5231.1Spookaif (echo >conf$$.file) 2>/dev/null; then 5241.1Spooka if ln -s conf$$.file conf$$ 2>/dev/null; then 5251.1Spooka as_ln_s='ln -s' 5261.1Spooka # ... but there are two gotchas: 5271.1Spooka # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5281.1Spooka # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5291.1Spooka # In both cases, we have to default to `cp -pR'. 5301.1Spooka ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5311.1Spooka as_ln_s='cp -pR' 5321.1Spooka elif ln conf$$.file conf$$ 2>/dev/null; then 5331.1Spooka as_ln_s=ln 5341.1Spooka else 5351.1Spooka as_ln_s='cp -pR' 5361.1Spooka fi 5371.1Spookaelse 5381.1Spooka as_ln_s='cp -pR' 5391.1Spookafi 5401.1Spookarm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5411.1Spookarmdir conf$$.dir 2>/dev/null 5421.1Spooka 5431.1Spookaif mkdir -p . 2>/dev/null; then 5441.1Spooka as_mkdir_p='mkdir -p "$as_dir"' 5451.1Spookaelse 5461.1Spooka test -d ./-p && rmdir ./-p 5471.1Spooka as_mkdir_p=false 5481.1Spookafi 5491.1Spooka 5501.1Spookaas_test_x='test -x' 5511.1Spookaas_executable_p=as_fn_executable_p 5521.1Spooka 5531.1Spooka# Sed expression to map a string onto a valid CPP name. 5541.1Spookaas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5551.1Spooka 5561.1Spooka# Sed expression to map a string onto a valid variable name. 5571.1Spookaas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5581.1Spooka 5591.1Spooka 5601.1Spookatest -n "$DJDIR" || exec 7<&0 </dev/null 5611.1Spookaexec 6>&1 5621.1Spooka 5631.1Spooka# Name of the host. 5641.1Spooka# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 5651.1Spooka# so uname gets run too. 5661.1Spookaac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5671.1Spooka 5681.1Spooka# 5691.1Spooka# Initializations. 5701.1Spooka# 5711.1Spookaac_default_prefix=/usr/local 5721.1Spookaac_clean_files= 5731.1Spookaac_config_libobj_dir=. 5741.1SpookaLIBOBJS= 5751.1Spookacross_compiling=no 5761.1Spookasubdirs= 5771.1SpookaMFLAGS= 5781.1SpookaMAKEFLAGS= 5791.1Spooka 5801.1Spooka# Identity of this package. 5811.1SpookaPACKAGE_NAME='rumpuser-posix' 5821.1SpookaPACKAGE_TARNAME='rumpuser-posix' 5831.1SpookaPACKAGE_VERSION='999' 5841.1SpookaPACKAGE_STRING='rumpuser-posix 999' 5851.6SlukemPACKAGE_BUGREPORT='https://github.com/rumpkernel/' 5861.1SpookaPACKAGE_URL='' 5871.1Spooka 5881.1Spooka# Factoring default headers for most tests. 5891.1Spookaac_includes_default="\ 5901.1Spooka#include <stdio.h> 5911.1Spooka#ifdef HAVE_SYS_TYPES_H 5921.1Spooka# include <sys/types.h> 5931.1Spooka#endif 5941.1Spooka#ifdef HAVE_SYS_STAT_H 5951.1Spooka# include <sys/stat.h> 5961.1Spooka#endif 5971.1Spooka#ifdef STDC_HEADERS 5981.1Spooka# include <stdlib.h> 5991.1Spooka# include <stddef.h> 6001.1Spooka#else 6011.1Spooka# ifdef HAVE_STDLIB_H 6021.1Spooka# include <stdlib.h> 6031.1Spooka# endif 6041.1Spooka#endif 6051.1Spooka#ifdef HAVE_STRING_H 6061.1Spooka# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 6071.1Spooka# include <memory.h> 6081.1Spooka# endif 6091.1Spooka# include <string.h> 6101.1Spooka#endif 6111.1Spooka#ifdef HAVE_STRINGS_H 6121.1Spooka# include <strings.h> 6131.1Spooka#endif 6141.1Spooka#ifdef HAVE_INTTYPES_H 6151.1Spooka# include <inttypes.h> 6161.1Spooka#endif 6171.1Spooka#ifdef HAVE_STDINT_H 6181.1Spooka# include <stdint.h> 6191.1Spooka#endif 6201.1Spooka#ifdef HAVE_UNISTD_H 6211.1Spooka# include <unistd.h> 6221.1Spooka#endif" 6231.1Spooka 6241.1Spookaac_subst_vars='LTLIBOBJS 6251.1SpookaLIBOBJS 6261.1Spookatarget_os 6271.1Spookatarget_vendor 6281.1Spookatarget_cpu 6291.1Spookatarget 6301.1Spookahost_os 6311.1Spookahost_vendor 6321.1Spookahost_cpu 6331.1Spookahost 6341.1Spookabuild_os 6351.1Spookabuild_vendor 6361.1Spookabuild_cpu 6371.1Spookabuild 6381.1SpookaEGREP 6391.1SpookaGREP 6401.1SpookaCPP 6411.1SpookaOBJEXT 6421.1SpookaEXEEXT 6431.1Spookaac_ct_CC 6441.1SpookaCPPFLAGS 6451.1SpookaLDFLAGS 6461.1SpookaCFLAGS 6471.1SpookaCC 6481.1Spookatarget_alias 6491.1Spookahost_alias 6501.1Spookabuild_alias 6511.1SpookaLIBS 6521.1SpookaECHO_T 6531.1SpookaECHO_N 6541.1SpookaECHO_C 6551.1SpookaDEFS 6561.1Spookamandir 6571.1Spookalocaledir 6581.1Spookalibdir 6591.1Spookapsdir 6601.1Spookapdfdir 6611.1Spookadvidir 6621.1Spookahtmldir 6631.1Spookainfodir 6641.1Spookadocdir 6651.1Spookaoldincludedir 6661.1Spookaincludedir 6671.1Spookalocalstatedir 6681.1Spookasharedstatedir 6691.1Spookasysconfdir 6701.1Spookadatadir 6711.1Spookadatarootdir 6721.1Spookalibexecdir 6731.1Spookasbindir 6741.1Spookabindir 6751.1Spookaprogram_transform_name 6761.1Spookaprefix 6771.1Spookaexec_prefix 6781.1SpookaPACKAGE_URL 6791.1SpookaPACKAGE_BUGREPORT 6801.1SpookaPACKAGE_STRING 6811.1SpookaPACKAGE_VERSION 6821.1SpookaPACKAGE_TARNAME 6831.1SpookaPACKAGE_NAME 6841.1SpookaPATH_SEPARATOR 6851.1SpookaSHELL' 6861.1Spookaac_subst_files='' 6871.1Spookaac_user_opts=' 6881.1Spookaenable_option_checking 6891.1Spookaenable_largefile 6901.1Spooka' 6911.1Spooka ac_precious_vars='build_alias 6921.1Spookahost_alias 6931.1Spookatarget_alias 6941.1SpookaCC 6951.1SpookaCFLAGS 6961.1SpookaLDFLAGS 6971.1SpookaLIBS 6981.1SpookaCPPFLAGS 6991.1SpookaCPP' 7001.1Spooka 7011.1Spooka 7021.1Spooka# Initialize some variables set by options. 7031.1Spookaac_init_help= 7041.1Spookaac_init_version=false 7051.1Spookaac_unrecognized_opts= 7061.1Spookaac_unrecognized_sep= 7071.1Spooka# The variables have the same names as the options, with 7081.1Spooka# dashes changed to underlines. 7091.1Spookacache_file=/dev/null 7101.1Spookaexec_prefix=NONE 7111.1Spookano_create= 7121.1Spookano_recursion= 7131.1Spookaprefix=NONE 7141.1Spookaprogram_prefix=NONE 7151.1Spookaprogram_suffix=NONE 7161.1Spookaprogram_transform_name=s,x,x, 7171.1Spookasilent= 7181.1Spookasite= 7191.1Spookasrcdir= 7201.1Spookaverbose= 7211.1Spookax_includes=NONE 7221.1Spookax_libraries=NONE 7231.1Spooka 7241.1Spooka# Installation directory options. 7251.1Spooka# These are left unexpanded so users can "make install exec_prefix=/foo" 7261.1Spooka# and all the variables that are supposed to be based on exec_prefix 7271.1Spooka# by default will actually change. 7281.1Spooka# Use braces instead of parens because sh, perl, etc. also accept them. 7291.1Spooka# (The list follows the same order as the GNU Coding Standards.) 7301.1Spookabindir='${exec_prefix}/bin' 7311.1Spookasbindir='${exec_prefix}/sbin' 7321.1Spookalibexecdir='${exec_prefix}/libexec' 7331.1Spookadatarootdir='${prefix}/share' 7341.1Spookadatadir='${datarootdir}' 7351.1Spookasysconfdir='${prefix}/etc' 7361.1Spookasharedstatedir='${prefix}/com' 7371.1Spookalocalstatedir='${prefix}/var' 7381.1Spookaincludedir='${prefix}/include' 7391.1Spookaoldincludedir='/usr/include' 7401.1Spookadocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7411.1Spookainfodir='${datarootdir}/info' 7421.1Spookahtmldir='${docdir}' 7431.1Spookadvidir='${docdir}' 7441.1Spookapdfdir='${docdir}' 7451.1Spookapsdir='${docdir}' 7461.1Spookalibdir='${exec_prefix}/lib' 7471.1Spookalocaledir='${datarootdir}/locale' 7481.1Spookamandir='${datarootdir}/man' 7491.1Spooka 7501.1Spookaac_prev= 7511.1Spookaac_dashdash= 7521.1Spookafor ac_option 7531.1Spookado 7541.1Spooka # If the previous option needs an argument, assign it. 7551.1Spooka if test -n "$ac_prev"; then 7561.1Spooka eval $ac_prev=\$ac_option 7571.1Spooka ac_prev= 7581.1Spooka continue 7591.1Spooka fi 7601.1Spooka 7611.1Spooka case $ac_option in 7621.1Spooka *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 7631.1Spooka *=) ac_optarg= ;; 7641.1Spooka *) ac_optarg=yes ;; 7651.1Spooka esac 7661.1Spooka 7671.1Spooka # Accept the important Cygnus configure options, so we can diagnose typos. 7681.1Spooka 7691.1Spooka case $ac_dashdash$ac_option in 7701.1Spooka --) 7711.1Spooka ac_dashdash=yes ;; 7721.1Spooka 7731.1Spooka -bindir | --bindir | --bindi | --bind | --bin | --bi) 7741.1Spooka ac_prev=bindir ;; 7751.1Spooka -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 7761.1Spooka bindir=$ac_optarg ;; 7771.1Spooka 7781.1Spooka -build | --build | --buil | --bui | --bu) 7791.1Spooka ac_prev=build_alias ;; 7801.1Spooka -build=* | --build=* | --buil=* | --bui=* | --bu=*) 7811.1Spooka build_alias=$ac_optarg ;; 7821.1Spooka 7831.1Spooka -cache-file | --cache-file | --cache-fil | --cache-fi \ 7841.1Spooka | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 7851.1Spooka ac_prev=cache_file ;; 7861.1Spooka -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 7871.1Spooka | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 7881.1Spooka cache_file=$ac_optarg ;; 7891.1Spooka 7901.1Spooka --config-cache | -C) 7911.1Spooka cache_file=config.cache ;; 7921.1Spooka 7931.1Spooka -datadir | --datadir | --datadi | --datad) 7941.1Spooka ac_prev=datadir ;; 7951.1Spooka -datadir=* | --datadir=* | --datadi=* | --datad=*) 7961.1Spooka datadir=$ac_optarg ;; 7971.1Spooka 7981.1Spooka -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 7991.1Spooka | --dataroo | --dataro | --datar) 8001.1Spooka ac_prev=datarootdir ;; 8011.1Spooka -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8021.1Spooka | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8031.1Spooka datarootdir=$ac_optarg ;; 8041.1Spooka 8051.1Spooka -disable-* | --disable-*) 8061.1Spooka ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8071.1Spooka # Reject names that are not valid shell variable names. 8081.1Spooka expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8091.1Spooka as_fn_error $? "invalid feature name: $ac_useropt" 8101.1Spooka ac_useropt_orig=$ac_useropt 8111.1Spooka ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8121.1Spooka case $ac_user_opts in 8131.1Spooka *" 8141.1Spooka"enable_$ac_useropt" 8151.1Spooka"*) ;; 8161.1Spooka *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8171.1Spooka ac_unrecognized_sep=', ';; 8181.1Spooka esac 8191.1Spooka eval enable_$ac_useropt=no ;; 8201.1Spooka 8211.1Spooka -docdir | --docdir | --docdi | --doc | --do) 8221.1Spooka ac_prev=docdir ;; 8231.1Spooka -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8241.1Spooka docdir=$ac_optarg ;; 8251.1Spooka 8261.1Spooka -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8271.1Spooka ac_prev=dvidir ;; 8281.1Spooka -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8291.1Spooka dvidir=$ac_optarg ;; 8301.1Spooka 8311.1Spooka -enable-* | --enable-*) 8321.1Spooka ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8331.1Spooka # Reject names that are not valid shell variable names. 8341.1Spooka expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8351.1Spooka as_fn_error $? "invalid feature name: $ac_useropt" 8361.1Spooka ac_useropt_orig=$ac_useropt 8371.1Spooka ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8381.1Spooka case $ac_user_opts in 8391.1Spooka *" 8401.1Spooka"enable_$ac_useropt" 8411.1Spooka"*) ;; 8421.1Spooka *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8431.1Spooka ac_unrecognized_sep=', ';; 8441.1Spooka esac 8451.1Spooka eval enable_$ac_useropt=\$ac_optarg ;; 8461.1Spooka 8471.1Spooka -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 8481.1Spooka | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 8491.1Spooka | --exec | --exe | --ex) 8501.1Spooka ac_prev=exec_prefix ;; 8511.1Spooka -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 8521.1Spooka | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 8531.1Spooka | --exec=* | --exe=* | --ex=*) 8541.1Spooka exec_prefix=$ac_optarg ;; 8551.1Spooka 8561.1Spooka -gas | --gas | --ga | --g) 8571.1Spooka # Obsolete; use --with-gas. 8581.1Spooka with_gas=yes ;; 8591.1Spooka 8601.1Spooka -help | --help | --hel | --he | -h) 8611.1Spooka ac_init_help=long ;; 8621.1Spooka -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 8631.1Spooka ac_init_help=recursive ;; 8641.1Spooka -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 8651.1Spooka ac_init_help=short ;; 8661.1Spooka 8671.1Spooka -host | --host | --hos | --ho) 8681.1Spooka ac_prev=host_alias ;; 8691.1Spooka -host=* | --host=* | --hos=* | --ho=*) 8701.1Spooka host_alias=$ac_optarg ;; 8711.1Spooka 8721.1Spooka -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 8731.1Spooka ac_prev=htmldir ;; 8741.1Spooka -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 8751.1Spooka | --ht=*) 8761.1Spooka htmldir=$ac_optarg ;; 8771.1Spooka 8781.1Spooka -includedir | --includedir | --includedi | --included | --include \ 8791.1Spooka | --includ | --inclu | --incl | --inc) 8801.1Spooka ac_prev=includedir ;; 8811.1Spooka -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 8821.1Spooka | --includ=* | --inclu=* | --incl=* | --inc=*) 8831.1Spooka includedir=$ac_optarg ;; 8841.1Spooka 8851.1Spooka -infodir | --infodir | --infodi | --infod | --info | --inf) 8861.1Spooka ac_prev=infodir ;; 8871.1Spooka -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 8881.1Spooka infodir=$ac_optarg ;; 8891.1Spooka 8901.1Spooka -libdir | --libdir | --libdi | --libd) 8911.1Spooka ac_prev=libdir ;; 8921.1Spooka -libdir=* | --libdir=* | --libdi=* | --libd=*) 8931.1Spooka libdir=$ac_optarg ;; 8941.1Spooka 8951.1Spooka -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 8961.1Spooka | --libexe | --libex | --libe) 8971.1Spooka ac_prev=libexecdir ;; 8981.1Spooka -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 8991.1Spooka | --libexe=* | --libex=* | --libe=*) 9001.1Spooka libexecdir=$ac_optarg ;; 9011.1Spooka 9021.1Spooka -localedir | --localedir | --localedi | --localed | --locale) 9031.1Spooka ac_prev=localedir ;; 9041.1Spooka -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9051.1Spooka localedir=$ac_optarg ;; 9061.1Spooka 9071.1Spooka -localstatedir | --localstatedir | --localstatedi | --localstated \ 9081.1Spooka | --localstate | --localstat | --localsta | --localst | --locals) 9091.1Spooka ac_prev=localstatedir ;; 9101.1Spooka -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9111.1Spooka | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9121.1Spooka localstatedir=$ac_optarg ;; 9131.1Spooka 9141.1Spooka -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9151.1Spooka ac_prev=mandir ;; 9161.1Spooka -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9171.1Spooka mandir=$ac_optarg ;; 9181.1Spooka 9191.1Spooka -nfp | --nfp | --nf) 9201.1Spooka # Obsolete; use --without-fp. 9211.1Spooka with_fp=no ;; 9221.1Spooka 9231.1Spooka -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9241.1Spooka | --no-cr | --no-c | -n) 9251.1Spooka no_create=yes ;; 9261.1Spooka 9271.1Spooka -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9281.1Spooka | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9291.1Spooka no_recursion=yes ;; 9301.1Spooka 9311.1Spooka -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9321.1Spooka | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9331.1Spooka | --oldin | --oldi | --old | --ol | --o) 9341.1Spooka ac_prev=oldincludedir ;; 9351.1Spooka -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9361.1Spooka | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9371.1Spooka | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9381.1Spooka oldincludedir=$ac_optarg ;; 9391.1Spooka 9401.1Spooka -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9411.1Spooka ac_prev=prefix ;; 9421.1Spooka -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9431.1Spooka prefix=$ac_optarg ;; 9441.1Spooka 9451.1Spooka -program-prefix | --program-prefix | --program-prefi | --program-pref \ 9461.1Spooka | --program-pre | --program-pr | --program-p) 9471.1Spooka ac_prev=program_prefix ;; 9481.1Spooka -program-prefix=* | --program-prefix=* | --program-prefi=* \ 9491.1Spooka | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 9501.1Spooka program_prefix=$ac_optarg ;; 9511.1Spooka 9521.1Spooka -program-suffix | --program-suffix | --program-suffi | --program-suff \ 9531.1Spooka | --program-suf | --program-su | --program-s) 9541.1Spooka ac_prev=program_suffix ;; 9551.1Spooka -program-suffix=* | --program-suffix=* | --program-suffi=* \ 9561.1Spooka | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 9571.1Spooka program_suffix=$ac_optarg ;; 9581.1Spooka 9591.1Spooka -program-transform-name | --program-transform-name \ 9601.1Spooka | --program-transform-nam | --program-transform-na \ 9611.1Spooka | --program-transform-n | --program-transform- \ 9621.1Spooka | --program-transform | --program-transfor \ 9631.1Spooka | --program-transfo | --program-transf \ 9641.1Spooka | --program-trans | --program-tran \ 9651.1Spooka | --progr-tra | --program-tr | --program-t) 9661.1Spooka ac_prev=program_transform_name ;; 9671.1Spooka -program-transform-name=* | --program-transform-name=* \ 9681.1Spooka | --program-transform-nam=* | --program-transform-na=* \ 9691.1Spooka | --program-transform-n=* | --program-transform-=* \ 9701.1Spooka | --program-transform=* | --program-transfor=* \ 9711.1Spooka | --program-transfo=* | --program-transf=* \ 9721.1Spooka | --program-trans=* | --program-tran=* \ 9731.1Spooka | --progr-tra=* | --program-tr=* | --program-t=*) 9741.1Spooka program_transform_name=$ac_optarg ;; 9751.1Spooka 9761.1Spooka -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 9771.1Spooka ac_prev=pdfdir ;; 9781.1Spooka -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 9791.1Spooka pdfdir=$ac_optarg ;; 9801.1Spooka 9811.1Spooka -psdir | --psdir | --psdi | --psd | --ps) 9821.1Spooka ac_prev=psdir ;; 9831.1Spooka -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 9841.1Spooka psdir=$ac_optarg ;; 9851.1Spooka 9861.1Spooka -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9871.1Spooka | -silent | --silent | --silen | --sile | --sil) 9881.1Spooka silent=yes ;; 9891.1Spooka 9901.1Spooka -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 9911.1Spooka ac_prev=sbindir ;; 9921.1Spooka -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 9931.1Spooka | --sbi=* | --sb=*) 9941.1Spooka sbindir=$ac_optarg ;; 9951.1Spooka 9961.1Spooka -sharedstatedir | --sharedstatedir | --sharedstatedi \ 9971.1Spooka | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 9981.1Spooka | --sharedst | --shareds | --shared | --share | --shar \ 9991.1Spooka | --sha | --sh) 10001.1Spooka ac_prev=sharedstatedir ;; 10011.1Spooka -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10021.1Spooka | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10031.1Spooka | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10041.1Spooka | --sha=* | --sh=*) 10051.1Spooka sharedstatedir=$ac_optarg ;; 10061.1Spooka 10071.1Spooka -site | --site | --sit) 10081.1Spooka ac_prev=site ;; 10091.1Spooka -site=* | --site=* | --sit=*) 10101.1Spooka site=$ac_optarg ;; 10111.1Spooka 10121.1Spooka -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10131.1Spooka ac_prev=srcdir ;; 10141.1Spooka -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10151.1Spooka srcdir=$ac_optarg ;; 10161.1Spooka 10171.1Spooka -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10181.1Spooka | --syscon | --sysco | --sysc | --sys | --sy) 10191.1Spooka ac_prev=sysconfdir ;; 10201.1Spooka -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10211.1Spooka | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10221.1Spooka sysconfdir=$ac_optarg ;; 10231.1Spooka 10241.1Spooka -target | --target | --targe | --targ | --tar | --ta | --t) 10251.1Spooka ac_prev=target_alias ;; 10261.1Spooka -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10271.1Spooka target_alias=$ac_optarg ;; 10281.1Spooka 10291.1Spooka -v | -verbose | --verbose | --verbos | --verbo | --verb) 10301.1Spooka verbose=yes ;; 10311.1Spooka 10321.1Spooka -version | --version | --versio | --versi | --vers | -V) 10331.1Spooka ac_init_version=: ;; 10341.1Spooka 10351.1Spooka -with-* | --with-*) 10361.1Spooka ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10371.1Spooka # Reject names that are not valid shell variable names. 10381.1Spooka expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10391.1Spooka as_fn_error $? "invalid package name: $ac_useropt" 10401.1Spooka ac_useropt_orig=$ac_useropt 10411.1Spooka ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10421.1Spooka case $ac_user_opts in 10431.1Spooka *" 10441.1Spooka"with_$ac_useropt" 10451.1Spooka"*) ;; 10461.1Spooka *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10471.1Spooka ac_unrecognized_sep=', ';; 10481.1Spooka esac 10491.1Spooka eval with_$ac_useropt=\$ac_optarg ;; 10501.1Spooka 10511.1Spooka -without-* | --without-*) 10521.1Spooka ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 10531.1Spooka # Reject names that are not valid shell variable names. 10541.1Spooka expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10551.1Spooka as_fn_error $? "invalid package name: $ac_useropt" 10561.1Spooka ac_useropt_orig=$ac_useropt 10571.1Spooka ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10581.1Spooka case $ac_user_opts in 10591.1Spooka *" 10601.1Spooka"with_$ac_useropt" 10611.1Spooka"*) ;; 10621.1Spooka *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 10631.1Spooka ac_unrecognized_sep=', ';; 10641.1Spooka esac 10651.1Spooka eval with_$ac_useropt=no ;; 10661.1Spooka 10671.1Spooka --x) 10681.1Spooka # Obsolete; use --with-x. 10691.1Spooka with_x=yes ;; 10701.1Spooka 10711.1Spooka -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 10721.1Spooka | --x-incl | --x-inc | --x-in | --x-i) 10731.1Spooka ac_prev=x_includes ;; 10741.1Spooka -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 10751.1Spooka | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 10761.1Spooka x_includes=$ac_optarg ;; 10771.1Spooka 10781.1Spooka -x-libraries | --x-libraries | --x-librarie | --x-librari \ 10791.1Spooka | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 10801.1Spooka ac_prev=x_libraries ;; 10811.1Spooka -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 10821.1Spooka | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 10831.1Spooka x_libraries=$ac_optarg ;; 10841.1Spooka 10851.1Spooka -*) as_fn_error $? "unrecognized option: \`$ac_option' 10861.1SpookaTry \`$0 --help' for more information" 10871.1Spooka ;; 10881.1Spooka 10891.1Spooka *=*) 10901.1Spooka ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 10911.1Spooka # Reject names that are not valid shell variable names. 10921.1Spooka case $ac_envvar in #( 10931.1Spooka '' | [0-9]* | *[!_$as_cr_alnum]* ) 10941.1Spooka as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 10951.1Spooka esac 10961.1Spooka eval $ac_envvar=\$ac_optarg 10971.1Spooka export $ac_envvar ;; 10981.1Spooka 10991.1Spooka *) 11001.1Spooka # FIXME: should be removed in autoconf 3.0. 11011.1Spooka $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 11021.1Spooka expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11031.1Spooka $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 11041.1Spooka : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 11051.1Spooka ;; 11061.1Spooka 11071.1Spooka esac 11081.1Spookadone 11091.1Spooka 11101.1Spookaif test -n "$ac_prev"; then 11111.1Spooka ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11121.1Spooka as_fn_error $? "missing argument to $ac_option" 11131.1Spookafi 11141.1Spooka 11151.1Spookaif test -n "$ac_unrecognized_opts"; then 11161.1Spooka case $enable_option_checking in 11171.1Spooka no) ;; 11181.1Spooka fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11191.1Spooka *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11201.1Spooka esac 11211.1Spookafi 11221.1Spooka 11231.1Spooka# Check all directory arguments for consistency. 11241.1Spookafor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11251.1Spooka datadir sysconfdir sharedstatedir localstatedir includedir \ 11261.1Spooka oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11271.1Spooka libdir localedir mandir 11281.1Spookado 11291.1Spooka eval ac_val=\$$ac_var 11301.1Spooka # Remove trailing slashes. 11311.1Spooka case $ac_val in 11321.1Spooka */ ) 11331.1Spooka ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11341.1Spooka eval $ac_var=\$ac_val;; 11351.1Spooka esac 11361.1Spooka # Be sure to have absolute directory names. 11371.1Spooka case $ac_val in 11381.1Spooka [\\/$]* | ?:[\\/]* ) continue;; 11391.1Spooka NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11401.1Spooka esac 11411.1Spooka as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 11421.1Spookadone 11431.1Spooka 11441.1Spooka# There might be people who depend on the old broken behavior: `$host' 11451.1Spooka# used to hold the argument of --host etc. 11461.1Spooka# FIXME: To remove some day. 11471.1Spookabuild=$build_alias 11481.1Spookahost=$host_alias 11491.1Spookatarget=$target_alias 11501.1Spooka 11511.1Spooka# FIXME: To remove some day. 11521.1Spookaif test "x$host_alias" != x; then 11531.1Spooka if test "x$build_alias" = x; then 11541.1Spooka cross_compiling=maybe 11551.1Spooka elif test "x$build_alias" != "x$host_alias"; then 11561.1Spooka cross_compiling=yes 11571.1Spooka fi 11581.1Spookafi 11591.1Spooka 11601.1Spookaac_tool_prefix= 11611.1Spookatest -n "$host_alias" && ac_tool_prefix=$host_alias- 11621.1Spooka 11631.1Spookatest "$silent" = yes && exec 6>/dev/null 11641.1Spooka 11651.1Spooka 11661.1Spookaac_pwd=`pwd` && test -n "$ac_pwd" && 11671.1Spookaac_ls_di=`ls -di .` && 11681.1Spookaac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 11691.1Spooka as_fn_error $? "working directory cannot be determined" 11701.1Spookatest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 11711.1Spooka as_fn_error $? "pwd does not report name of working directory" 11721.1Spooka 11731.1Spooka 11741.1Spooka# Find the source files, if location was not specified. 11751.1Spookaif test -z "$srcdir"; then 11761.1Spooka ac_srcdir_defaulted=yes 11771.1Spooka # Try the directory containing this script, then the parent directory. 11781.1Spooka ac_confdir=`$as_dirname -- "$as_myself" || 11791.1Spooka$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11801.1Spooka X"$as_myself" : 'X\(//\)[^/]' \| \ 11811.1Spooka X"$as_myself" : 'X\(//\)$' \| \ 11821.1Spooka X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 11831.1Spooka$as_echo X"$as_myself" | 11841.1Spooka sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11851.1Spooka s//\1/ 11861.1Spooka q 11871.1Spooka } 11881.1Spooka /^X\(\/\/\)[^/].*/{ 11891.1Spooka s//\1/ 11901.1Spooka q 11911.1Spooka } 11921.1Spooka /^X\(\/\/\)$/{ 11931.1Spooka s//\1/ 11941.1Spooka q 11951.1Spooka } 11961.1Spooka /^X\(\/\).*/{ 11971.1Spooka s//\1/ 11981.1Spooka q 11991.1Spooka } 12001.1Spooka s/.*/./; q'` 12011.1Spooka srcdir=$ac_confdir 12021.1Spooka if test ! -r "$srcdir/$ac_unique_file"; then 12031.1Spooka srcdir=.. 12041.1Spooka fi 12051.1Spookaelse 12061.1Spooka ac_srcdir_defaulted=no 12071.1Spookafi 12081.1Spookaif test ! -r "$srcdir/$ac_unique_file"; then 12091.1Spooka test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12101.1Spooka as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 12111.1Spookafi 12121.1Spookaac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12131.1Spookaac_abs_confdir=`( 12141.1Spooka cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12151.1Spooka pwd)` 12161.1Spooka# When building in place, set srcdir=. 12171.1Spookaif test "$ac_abs_confdir" = "$ac_pwd"; then 12181.1Spooka srcdir=. 12191.1Spookafi 12201.1Spooka# Remove unnecessary trailing slashes from srcdir. 12211.1Spooka# Double slashes in file names in object file debugging info 12221.1Spooka# mess up M-x gdb in Emacs. 12231.1Spookacase $srcdir in 12241.1Spooka*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12251.1Spookaesac 12261.1Spookafor ac_var in $ac_precious_vars; do 12271.1Spooka eval ac_env_${ac_var}_set=\${${ac_var}+set} 12281.1Spooka eval ac_env_${ac_var}_value=\$${ac_var} 12291.1Spooka eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12301.1Spooka eval ac_cv_env_${ac_var}_value=\$${ac_var} 12311.1Spookadone 12321.1Spooka 12331.1Spooka# 12341.1Spooka# Report the --help message. 12351.1Spooka# 12361.1Spookaif test "$ac_init_help" = "long"; then 12371.1Spooka # Omit some internal or obsolete options to make the list less imposing. 12381.1Spooka # This message is too long to be a string in the A/UX 3.1 sh. 12391.1Spooka cat <<_ACEOF 12401.1Spooka\`configure' configures rumpuser-posix 999 to adapt to many kinds of systems. 12411.1Spooka 12421.1SpookaUsage: $0 [OPTION]... [VAR=VALUE]... 12431.1Spooka 12441.1SpookaTo assign environment variables (e.g., CC, CFLAGS...), specify them as 12451.1SpookaVAR=VALUE. See below for descriptions of some of the useful variables. 12461.1Spooka 12471.1SpookaDefaults for the options are specified in brackets. 12481.1Spooka 12491.1SpookaConfiguration: 12501.1Spooka -h, --help display this help and exit 12511.1Spooka --help=short display options specific to this package 12521.1Spooka --help=recursive display the short help of all the included packages 12531.1Spooka -V, --version display version information and exit 12541.1Spooka -q, --quiet, --silent do not print \`checking ...' messages 12551.1Spooka --cache-file=FILE cache test results in FILE [disabled] 12561.1Spooka -C, --config-cache alias for \`--cache-file=config.cache' 12571.1Spooka -n, --no-create do not create output files 12581.1Spooka --srcdir=DIR find the sources in DIR [configure dir or \`..'] 12591.1Spooka 12601.1SpookaInstallation directories: 12611.1Spooka --prefix=PREFIX install architecture-independent files in PREFIX 12621.1Spooka [$ac_default_prefix] 12631.1Spooka --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 12641.1Spooka [PREFIX] 12651.1Spooka 12661.1SpookaBy default, \`make install' will install all the files in 12671.1Spooka\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 12681.1Spookaan installation prefix other than \`$ac_default_prefix' using \`--prefix', 12691.1Spookafor instance \`--prefix=\$HOME'. 12701.1Spooka 12711.1SpookaFor better control, use the options below. 12721.1Spooka 12731.1SpookaFine tuning of the installation directories: 12741.1Spooka --bindir=DIR user executables [EPREFIX/bin] 12751.1Spooka --sbindir=DIR system admin executables [EPREFIX/sbin] 12761.1Spooka --libexecdir=DIR program executables [EPREFIX/libexec] 12771.1Spooka --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 12781.1Spooka --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 12791.1Spooka --localstatedir=DIR modifiable single-machine data [PREFIX/var] 12801.1Spooka --libdir=DIR object code libraries [EPREFIX/lib] 12811.1Spooka --includedir=DIR C header files [PREFIX/include] 12821.1Spooka --oldincludedir=DIR C header files for non-gcc [/usr/include] 12831.1Spooka --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 12841.1Spooka --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 12851.1Spooka --infodir=DIR info documentation [DATAROOTDIR/info] 12861.1Spooka --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 12871.1Spooka --mandir=DIR man documentation [DATAROOTDIR/man] 12881.1Spooka --docdir=DIR documentation root [DATAROOTDIR/doc/rumpuser-posix] 12891.1Spooka --htmldir=DIR html documentation [DOCDIR] 12901.1Spooka --dvidir=DIR dvi documentation [DOCDIR] 12911.1Spooka --pdfdir=DIR pdf documentation [DOCDIR] 12921.1Spooka --psdir=DIR ps documentation [DOCDIR] 12931.1Spooka_ACEOF 12941.1Spooka 12951.1Spooka cat <<\_ACEOF 12961.1Spooka 12971.1SpookaSystem types: 12981.1Spooka --build=BUILD configure for building on BUILD [guessed] 12991.1Spooka --host=HOST cross-compile to build programs to run on HOST [BUILD] 13001.1Spooka --target=TARGET configure for building compilers for TARGET [HOST] 13011.1Spooka_ACEOF 13021.1Spookafi 13031.1Spooka 13041.1Spookaif test -n "$ac_init_help"; then 13051.1Spooka case $ac_init_help in 13061.1Spooka short | recursive ) echo "Configuration of rumpuser-posix 999:";; 13071.1Spooka esac 13081.1Spooka cat <<\_ACEOF 13091.1Spooka 13101.1SpookaOptional Features: 13111.1Spooka --disable-option-checking ignore unrecognized --enable/--with options 13121.1Spooka --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 13131.1Spooka --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13141.1Spooka --disable-largefile omit support for large files 13151.1Spooka 13161.1SpookaSome influential environment variables: 13171.1Spooka CC C compiler command 13181.1Spooka CFLAGS C compiler flags 13191.1Spooka LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13201.1Spooka nonstandard directory <lib dir> 13211.1Spooka LIBS libraries to pass to the linker, e.g. -l<library> 13221.1Spooka CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13231.1Spooka you have headers in a nonstandard directory <include dir> 13241.1Spooka CPP C preprocessor 13251.1Spooka 13261.1SpookaUse these variables to override the choices made by `configure' or to help 13271.1Spookait to find libraries and programs with nonstandard names/locations. 13281.1Spooka 13291.6SlukemReport bugs to <https://github.com/rumpkernel/>. 13301.1Spooka_ACEOF 13311.1Spookaac_status=$? 13321.1Spookafi 13331.1Spooka 13341.1Spookaif test "$ac_init_help" = "recursive"; then 13351.1Spooka # If there are subdirs, report their specific --help. 13361.1Spooka for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 13371.1Spooka test -d "$ac_dir" || 13381.1Spooka { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 13391.1Spooka continue 13401.1Spooka ac_builddir=. 13411.1Spooka 13421.1Spookacase "$ac_dir" in 13431.1Spooka.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13441.1Spooka*) 13451.1Spooka ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13461.1Spooka # A ".." for each directory in $ac_dir_suffix. 13471.1Spooka ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13481.1Spooka case $ac_top_builddir_sub in 13491.1Spooka "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13501.1Spooka *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13511.1Spooka esac ;; 13521.1Spookaesac 13531.1Spookaac_abs_top_builddir=$ac_pwd 13541.1Spookaac_abs_builddir=$ac_pwd$ac_dir_suffix 13551.1Spooka# for backward compatibility: 13561.1Spookaac_top_builddir=$ac_top_build_prefix 13571.1Spooka 13581.1Spookacase $srcdir in 13591.1Spooka .) # We are building in place. 13601.1Spooka ac_srcdir=. 13611.1Spooka ac_top_srcdir=$ac_top_builddir_sub 13621.1Spooka ac_abs_top_srcdir=$ac_pwd ;; 13631.1Spooka [\\/]* | ?:[\\/]* ) # Absolute name. 13641.1Spooka ac_srcdir=$srcdir$ac_dir_suffix; 13651.1Spooka ac_top_srcdir=$srcdir 13661.1Spooka ac_abs_top_srcdir=$srcdir ;; 13671.1Spooka *) # Relative name. 13681.1Spooka ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13691.1Spooka ac_top_srcdir=$ac_top_build_prefix$srcdir 13701.1Spooka ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13711.1Spookaesac 13721.1Spookaac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13731.1Spooka 13741.1Spooka cd "$ac_dir" || { ac_status=$?; continue; } 13751.1Spooka # Check for guested configure. 13761.1Spooka if test -f "$ac_srcdir/configure.gnu"; then 13771.1Spooka echo && 13781.1Spooka $SHELL "$ac_srcdir/configure.gnu" --help=recursive 13791.1Spooka elif test -f "$ac_srcdir/configure"; then 13801.1Spooka echo && 13811.1Spooka $SHELL "$ac_srcdir/configure" --help=recursive 13821.1Spooka else 13831.1Spooka $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 13841.1Spooka fi || ac_status=$? 13851.1Spooka cd "$ac_pwd" || { ac_status=$?; break; } 13861.1Spooka done 13871.1Spookafi 13881.1Spooka 13891.1Spookatest -n "$ac_init_help" && exit $ac_status 13901.1Spookaif $ac_init_version; then 13911.1Spooka cat <<\_ACEOF 13921.1Spookarumpuser-posix configure 999 13931.1Spookagenerated by GNU Autoconf 2.69 13941.1Spooka 13951.1SpookaCopyright (C) 2012 Free Software Foundation, Inc. 13961.1SpookaThis configure script is free software; the Free Software Foundation 13971.1Spookagives unlimited permission to copy, distribute and modify it. 13981.1Spooka_ACEOF 13991.1Spooka exit 14001.1Spookafi 14011.1Spooka 14021.1Spooka## ------------------------ ## 14031.1Spooka## Autoconf initialization. ## 14041.1Spooka## ------------------------ ## 14051.1Spooka 14061.1Spooka# ac_fn_c_try_compile LINENO 14071.1Spooka# -------------------------- 14081.1Spooka# Try to compile conftest.$ac_ext, and return whether this succeeded. 14091.1Spookaac_fn_c_try_compile () 14101.1Spooka{ 14111.1Spooka as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14121.1Spooka rm -f conftest.$ac_objext 14131.1Spooka if { { ac_try="$ac_compile" 14141.1Spookacase "(($ac_try" in 14151.1Spooka *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14161.1Spooka *) ac_try_echo=$ac_try;; 14171.1Spookaesac 14181.1Spookaeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14191.1Spooka$as_echo "$ac_try_echo"; } >&5 14201.1Spooka (eval "$ac_compile") 2>conftest.err 14211.1Spooka ac_status=$? 14221.1Spooka if test -s conftest.err; then 14231.1Spooka grep -v '^ *+' conftest.err >conftest.er1 14241.1Spooka cat conftest.er1 >&5 14251.1Spooka mv -f conftest.er1 conftest.err 14261.1Spooka fi 14271.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14281.1Spooka test $ac_status = 0; } && { 14291.1Spooka test -z "$ac_c_werror_flag" || 14301.1Spooka test ! -s conftest.err 14311.1Spooka } && test -s conftest.$ac_objext; then : 14321.1Spooka ac_retval=0 14331.1Spookaelse 14341.1Spooka $as_echo "$as_me: failed program was:" >&5 14351.1Spookased 's/^/| /' conftest.$ac_ext >&5 14361.1Spooka 14371.1Spooka ac_retval=1 14381.1Spookafi 14391.1Spooka eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 14401.1Spooka as_fn_set_status $ac_retval 14411.1Spooka 14421.1Spooka} # ac_fn_c_try_compile 14431.1Spooka 14441.1Spooka# ac_fn_c_try_cpp LINENO 14451.1Spooka# ---------------------- 14461.1Spooka# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 14471.1Spookaac_fn_c_try_cpp () 14481.1Spooka{ 14491.1Spooka as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14501.1Spooka if { { ac_try="$ac_cpp conftest.$ac_ext" 14511.1Spookacase "(($ac_try" in 14521.1Spooka *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14531.1Spooka *) ac_try_echo=$ac_try;; 14541.1Spookaesac 14551.1Spookaeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14561.1Spooka$as_echo "$ac_try_echo"; } >&5 14571.1Spooka (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 14581.1Spooka ac_status=$? 14591.1Spooka if test -s conftest.err; then 14601.1Spooka grep -v '^ *+' conftest.err >conftest.er1 14611.1Spooka cat conftest.er1 >&5 14621.1Spooka mv -f conftest.er1 conftest.err 14631.1Spooka fi 14641.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14651.1Spooka test $ac_status = 0; } > conftest.i && { 14661.1Spooka test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14671.1Spooka test ! -s conftest.err 14681.1Spooka }; then : 14691.1Spooka ac_retval=0 14701.1Spookaelse 14711.1Spooka $as_echo "$as_me: failed program was:" >&5 14721.1Spookased 's/^/| /' conftest.$ac_ext >&5 14731.1Spooka 14741.1Spooka ac_retval=1 14751.1Spookafi 14761.1Spooka eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 14771.1Spooka as_fn_set_status $ac_retval 14781.1Spooka 14791.1Spooka} # ac_fn_c_try_cpp 14801.1Spooka 14811.1Spooka# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 14821.1Spooka# ------------------------------------------------------- 14831.1Spooka# Tests whether HEADER exists, giving a warning if it cannot be compiled using 14841.1Spooka# the include files in INCLUDES and setting the cache variable VAR 14851.1Spooka# accordingly. 14861.1Spookaac_fn_c_check_header_mongrel () 14871.1Spooka{ 14881.1Spooka as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14891.1Spooka if eval \${$3+:} false; then : 14901.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 14911.1Spooka$as_echo_n "checking for $2... " >&6; } 14921.1Spookaif eval \${$3+:} false; then : 14931.1Spooka $as_echo_n "(cached) " >&6 14941.1Spookafi 14951.1Spookaeval ac_res=\$$3 14961.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 14971.1Spooka$as_echo "$ac_res" >&6; } 14981.1Spookaelse 14991.1Spooka # Is the header compilable? 15001.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 15011.1Spooka$as_echo_n "checking $2 usability... " >&6; } 15021.1Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 15031.1Spooka/* end confdefs.h. */ 15041.1Spooka$4 15051.1Spooka#include <$2> 15061.1Spooka_ACEOF 15071.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 15081.1Spooka ac_header_compiler=yes 15091.1Spookaelse 15101.1Spooka ac_header_compiler=no 15111.1Spookafi 15121.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15131.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 15141.1Spooka$as_echo "$ac_header_compiler" >&6; } 15151.1Spooka 15161.1Spooka# Is the header present? 15171.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 15181.1Spooka$as_echo_n "checking $2 presence... " >&6; } 15191.1Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 15201.1Spooka/* end confdefs.h. */ 15211.1Spooka#include <$2> 15221.1Spooka_ACEOF 15231.1Spookaif ac_fn_c_try_cpp "$LINENO"; then : 15241.1Spooka ac_header_preproc=yes 15251.1Spookaelse 15261.1Spooka ac_header_preproc=no 15271.1Spookafi 15281.1Spookarm -f conftest.err conftest.i conftest.$ac_ext 15291.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 15301.1Spooka$as_echo "$ac_header_preproc" >&6; } 15311.1Spooka 15321.1Spooka# So? What about this header? 15331.1Spookacase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 15341.1Spooka yes:no: ) 15351.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 15361.1Spooka$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 15371.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 15381.1Spooka$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 15391.1Spooka ;; 15401.1Spooka no:yes:* ) 15411.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 15421.1Spooka$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 15431.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 15441.1Spooka$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 15451.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 15461.1Spooka$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 15471.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 15481.1Spooka$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 15491.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 15501.1Spooka$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 15511.6Slukem( $as_echo "## --------------------------------------------- ## 15521.6Slukem## Report this to https://github.com/rumpkernel/ ## 15531.6Slukem## --------------------------------------------- ##" 15541.1Spooka ) | sed "s/^/$as_me: WARNING: /" >&2 15551.1Spooka ;; 15561.1Spookaesac 15571.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 15581.1Spooka$as_echo_n "checking for $2... " >&6; } 15591.1Spookaif eval \${$3+:} false; then : 15601.1Spooka $as_echo_n "(cached) " >&6 15611.1Spookaelse 15621.1Spooka eval "$3=\$ac_header_compiler" 15631.1Spookafi 15641.1Spookaeval ac_res=\$$3 15651.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15661.1Spooka$as_echo "$ac_res" >&6; } 15671.1Spookafi 15681.1Spooka eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15691.1Spooka 15701.1Spooka} # ac_fn_c_check_header_mongrel 15711.1Spooka 15721.1Spooka# ac_fn_c_try_run LINENO 15731.1Spooka# ---------------------- 15741.1Spooka# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 15751.1Spooka# that executables *can* be run. 15761.1Spookaac_fn_c_try_run () 15771.1Spooka{ 15781.1Spooka as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15791.1Spooka if { { ac_try="$ac_link" 15801.1Spookacase "(($ac_try" in 15811.1Spooka *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15821.1Spooka *) ac_try_echo=$ac_try;; 15831.1Spookaesac 15841.1Spookaeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15851.1Spooka$as_echo "$ac_try_echo"; } >&5 15861.1Spooka (eval "$ac_link") 2>&5 15871.1Spooka ac_status=$? 15881.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15891.1Spooka test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 15901.1Spooka { { case "(($ac_try" in 15911.1Spooka *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15921.1Spooka *) ac_try_echo=$ac_try;; 15931.1Spookaesac 15941.1Spookaeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15951.1Spooka$as_echo "$ac_try_echo"; } >&5 15961.1Spooka (eval "$ac_try") 2>&5 15971.1Spooka ac_status=$? 15981.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15991.1Spooka test $ac_status = 0; }; }; then : 16001.1Spooka ac_retval=0 16011.1Spookaelse 16021.1Spooka $as_echo "$as_me: program exited with status $ac_status" >&5 16031.1Spooka $as_echo "$as_me: failed program was:" >&5 16041.1Spookased 's/^/| /' conftest.$ac_ext >&5 16051.1Spooka 16061.1Spooka ac_retval=$ac_status 16071.1Spookafi 16081.1Spooka rm -rf conftest.dSYM conftest_ipa8_conftest.oo 16091.1Spooka eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16101.1Spooka as_fn_set_status $ac_retval 16111.1Spooka 16121.1Spooka} # ac_fn_c_try_run 16131.1Spooka 16141.1Spooka# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 16151.1Spooka# ------------------------------------------------------- 16161.1Spooka# Tests whether HEADER exists and can be compiled using the include files in 16171.1Spooka# INCLUDES, setting the cache variable VAR accordingly. 16181.1Spookaac_fn_c_check_header_compile () 16191.1Spooka{ 16201.1Spooka as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16211.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16221.1Spooka$as_echo_n "checking for $2... " >&6; } 16231.1Spookaif eval \${$3+:} false; then : 16241.1Spooka $as_echo_n "(cached) " >&6 16251.1Spookaelse 16261.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16271.1Spooka/* end confdefs.h. */ 16281.1Spooka$4 16291.1Spooka#include <$2> 16301.1Spooka_ACEOF 16311.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 16321.1Spooka eval "$3=yes" 16331.1Spookaelse 16341.1Spooka eval "$3=no" 16351.1Spookafi 16361.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16371.1Spookafi 16381.1Spookaeval ac_res=\$$3 16391.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16401.1Spooka$as_echo "$ac_res" >&6; } 16411.1Spooka eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16421.1Spooka 16431.1Spooka} # ac_fn_c_check_header_compile 16441.1Spooka 16451.1Spooka# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 16461.1Spooka# ------------------------------------------- 16471.1Spooka# Tests whether TYPE exists after having included INCLUDES, setting cache 16481.1Spooka# variable VAR accordingly. 16491.1Spookaac_fn_c_check_type () 16501.1Spooka{ 16511.1Spooka as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16521.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16531.1Spooka$as_echo_n "checking for $2... " >&6; } 16541.1Spookaif eval \${$3+:} false; then : 16551.1Spooka $as_echo_n "(cached) " >&6 16561.1Spookaelse 16571.1Spooka eval "$3=no" 16581.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16591.1Spooka/* end confdefs.h. */ 16601.1Spooka$4 16611.1Spookaint 16621.1Spookamain () 16631.1Spooka{ 16641.1Spookaif (sizeof ($2)) 16651.1Spooka return 0; 16661.1Spooka ; 16671.1Spooka return 0; 16681.1Spooka} 16691.1Spooka_ACEOF 16701.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 16711.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16721.1Spooka/* end confdefs.h. */ 16731.1Spooka$4 16741.1Spookaint 16751.1Spookamain () 16761.1Spooka{ 16771.1Spookaif (sizeof (($2))) 16781.1Spooka return 0; 16791.1Spooka ; 16801.1Spooka return 0; 16811.1Spooka} 16821.1Spooka_ACEOF 16831.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 16841.1Spooka 16851.1Spookaelse 16861.1Spooka eval "$3=yes" 16871.1Spookafi 16881.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16891.1Spookafi 16901.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16911.1Spookafi 16921.1Spookaeval ac_res=\$$3 16931.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16941.1Spooka$as_echo "$ac_res" >&6; } 16951.1Spooka eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16961.1Spooka 16971.1Spooka} # ac_fn_c_check_type 16981.1Spooka 16991.1Spooka# ac_fn_c_try_link LINENO 17001.1Spooka# ----------------------- 17011.1Spooka# Try to link conftest.$ac_ext, and return whether this succeeded. 17021.1Spookaac_fn_c_try_link () 17031.1Spooka{ 17041.1Spooka as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17051.1Spooka rm -f conftest.$ac_objext conftest$ac_exeext 17061.1Spooka if { { ac_try="$ac_link" 17071.1Spookacase "(($ac_try" in 17081.1Spooka *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17091.1Spooka *) ac_try_echo=$ac_try;; 17101.1Spookaesac 17111.1Spookaeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 17121.1Spooka$as_echo "$ac_try_echo"; } >&5 17131.1Spooka (eval "$ac_link") 2>conftest.err 17141.1Spooka ac_status=$? 17151.1Spooka if test -s conftest.err; then 17161.1Spooka grep -v '^ *+' conftest.err >conftest.er1 17171.1Spooka cat conftest.er1 >&5 17181.1Spooka mv -f conftest.er1 conftest.err 17191.1Spooka fi 17201.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17211.1Spooka test $ac_status = 0; } && { 17221.1Spooka test -z "$ac_c_werror_flag" || 17231.1Spooka test ! -s conftest.err 17241.1Spooka } && test -s conftest$ac_exeext && { 17251.1Spooka test "$cross_compiling" = yes || 17261.1Spooka test -x conftest$ac_exeext 17271.1Spooka }; then : 17281.1Spooka ac_retval=0 17291.1Spookaelse 17301.1Spooka $as_echo "$as_me: failed program was:" >&5 17311.1Spookased 's/^/| /' conftest.$ac_ext >&5 17321.1Spooka 17331.1Spooka ac_retval=1 17341.1Spookafi 17351.1Spooka # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 17361.1Spooka # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 17371.1Spooka # interfere with the next link command; also delete a directory that is 17381.1Spooka # left behind by Apple's compiler. We do this before executing the actions. 17391.1Spooka rm -rf conftest.dSYM conftest_ipa8_conftest.oo 17401.1Spooka eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 17411.1Spooka as_fn_set_status $ac_retval 17421.1Spooka 17431.1Spooka} # ac_fn_c_try_link 17441.1Spooka 17451.1Spooka# ac_fn_c_check_func LINENO FUNC VAR 17461.1Spooka# ---------------------------------- 17471.1Spooka# Tests whether FUNC exists, setting the cache variable VAR accordingly 17481.1Spookaac_fn_c_check_func () 17491.1Spooka{ 17501.1Spooka as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17511.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 17521.1Spooka$as_echo_n "checking for $2... " >&6; } 17531.1Spookaif eval \${$3+:} false; then : 17541.1Spooka $as_echo_n "(cached) " >&6 17551.1Spookaelse 17561.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17571.1Spooka/* end confdefs.h. */ 17581.1Spooka/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 17591.1Spooka For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17601.1Spooka#define $2 innocuous_$2 17611.1Spooka 17621.1Spooka/* System header to define __stub macros and hopefully few prototypes, 17631.1Spooka which can conflict with char $2 (); below. 17641.1Spooka Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17651.1Spooka <limits.h> exists even on freestanding compilers. */ 17661.1Spooka 17671.1Spooka#ifdef __STDC__ 17681.1Spooka# include <limits.h> 17691.1Spooka#else 17701.1Spooka# include <assert.h> 17711.1Spooka#endif 17721.1Spooka 17731.1Spooka#undef $2 17741.1Spooka 17751.1Spooka/* Override any GCC internal prototype to avoid an error. 17761.1Spooka Use char because int might match the return type of a GCC 17771.1Spooka builtin and then its argument prototype would still apply. */ 17781.1Spooka#ifdef __cplusplus 17791.1Spookaextern "C" 17801.1Spooka#endif 17811.1Spookachar $2 (); 17821.1Spooka/* The GNU C library defines this for functions which it implements 17831.1Spooka to always fail with ENOSYS. Some functions are actually named 17841.1Spooka something starting with __ and the normal name is an alias. */ 17851.1Spooka#if defined __stub_$2 || defined __stub___$2 17861.1Spookachoke me 17871.1Spooka#endif 17881.1Spooka 17891.1Spookaint 17901.1Spookamain () 17911.1Spooka{ 17921.1Spookareturn $2 (); 17931.1Spooka ; 17941.1Spooka return 0; 17951.1Spooka} 17961.1Spooka_ACEOF 17971.1Spookaif ac_fn_c_try_link "$LINENO"; then : 17981.1Spooka eval "$3=yes" 17991.1Spookaelse 18001.1Spooka eval "$3=no" 18011.1Spookafi 18021.1Spookarm -f core conftest.err conftest.$ac_objext \ 18031.1Spooka conftest$ac_exeext conftest.$ac_ext 18041.1Spookafi 18051.1Spookaeval ac_res=\$$3 18061.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18071.1Spooka$as_echo "$ac_res" >&6; } 18081.1Spooka eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 18091.1Spooka 18101.1Spooka} # ac_fn_c_check_func 18111.1Spooka 18121.1Spooka# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 18131.1Spooka# ---------------------------------------------------- 18141.1Spooka# Tries to find if the field MEMBER exists in type AGGR, after including 18151.1Spooka# INCLUDES, setting cache variable VAR accordingly. 18161.1Spookaac_fn_c_check_member () 18171.1Spooka{ 18181.1Spooka as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 18191.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 18201.1Spooka$as_echo_n "checking for $2.$3... " >&6; } 18211.1Spookaif eval \${$4+:} false; then : 18221.1Spooka $as_echo_n "(cached) " >&6 18231.1Spookaelse 18241.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18251.1Spooka/* end confdefs.h. */ 18261.1Spooka$5 18271.1Spookaint 18281.1Spookamain () 18291.1Spooka{ 18301.1Spookastatic $2 ac_aggr; 18311.1Spookaif (ac_aggr.$3) 18321.1Spookareturn 0; 18331.1Spooka ; 18341.1Spooka return 0; 18351.1Spooka} 18361.1Spooka_ACEOF 18371.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 18381.1Spooka eval "$4=yes" 18391.1Spookaelse 18401.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18411.1Spooka/* end confdefs.h. */ 18421.1Spooka$5 18431.1Spookaint 18441.1Spookamain () 18451.1Spooka{ 18461.1Spookastatic $2 ac_aggr; 18471.1Spookaif (sizeof ac_aggr.$3) 18481.1Spookareturn 0; 18491.1Spooka ; 18501.1Spooka return 0; 18511.1Spooka} 18521.1Spooka_ACEOF 18531.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 18541.1Spooka eval "$4=yes" 18551.1Spookaelse 18561.1Spooka eval "$4=no" 18571.1Spookafi 18581.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18591.1Spookafi 18601.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18611.1Spookafi 18621.1Spookaeval ac_res=\$$4 18631.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18641.1Spooka$as_echo "$ac_res" >&6; } 18651.1Spooka eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 18661.1Spooka 18671.1Spooka} # ac_fn_c_check_member 18681.1Spookacat >config.log <<_ACEOF 18691.1SpookaThis file contains any messages produced by compilers while 18701.1Spookarunning configure, to aid debugging if configure makes a mistake. 18711.1Spooka 18721.1SpookaIt was created by rumpuser-posix $as_me 999, which was 18731.1Spookagenerated by GNU Autoconf 2.69. Invocation command line was 18741.1Spooka 18751.1Spooka $ $0 $@ 18761.1Spooka 18771.1Spooka_ACEOF 18781.1Spookaexec 5>>config.log 18791.1Spooka{ 18801.1Spookacat <<_ASUNAME 18811.1Spooka## --------- ## 18821.1Spooka## Platform. ## 18831.1Spooka## --------- ## 18841.1Spooka 18851.1Spookahostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 18861.1Spookauname -m = `(uname -m) 2>/dev/null || echo unknown` 18871.1Spookauname -r = `(uname -r) 2>/dev/null || echo unknown` 18881.1Spookauname -s = `(uname -s) 2>/dev/null || echo unknown` 18891.1Spookauname -v = `(uname -v) 2>/dev/null || echo unknown` 18901.1Spooka 18911.1Spooka/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 18921.1Spooka/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 18931.1Spooka 18941.1Spooka/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 18951.1Spooka/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 18961.1Spooka/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 18971.1Spooka/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 18981.1Spooka/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 18991.1Spooka/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 19001.1Spooka/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 19011.1Spooka 19021.1Spooka_ASUNAME 19031.1Spooka 19041.1Spookaas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19051.1Spookafor as_dir in $PATH 19061.1Spookado 19071.1Spooka IFS=$as_save_IFS 19081.1Spooka test -z "$as_dir" && as_dir=. 19091.1Spooka $as_echo "PATH: $as_dir" 19101.1Spooka done 19111.1SpookaIFS=$as_save_IFS 19121.1Spooka 19131.1Spooka} >&5 19141.1Spooka 19151.1Spookacat >&5 <<_ACEOF 19161.1Spooka 19171.1Spooka 19181.1Spooka## ----------- ## 19191.1Spooka## Core tests. ## 19201.1Spooka## ----------- ## 19211.1Spooka 19221.1Spooka_ACEOF 19231.1Spooka 19241.1Spooka 19251.1Spooka# Keep a trace of the command line. 19261.1Spooka# Strip out --no-create and --no-recursion so they do not pile up. 19271.1Spooka# Strip out --silent because we don't want to record it for future runs. 19281.1Spooka# Also quote any args containing shell meta-characters. 19291.1Spooka# Make two passes to allow for proper duplicate-argument suppression. 19301.1Spookaac_configure_args= 19311.1Spookaac_configure_args0= 19321.1Spookaac_configure_args1= 19331.1Spookaac_must_keep_next=false 19341.1Spookafor ac_pass in 1 2 19351.1Spookado 19361.1Spooka for ac_arg 19371.1Spooka do 19381.1Spooka case $ac_arg in 19391.1Spooka -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 19401.1Spooka -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 19411.1Spooka | -silent | --silent | --silen | --sile | --sil) 19421.1Spooka continue ;; 19431.1Spooka *\'*) 19441.1Spooka ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 19451.1Spooka esac 19461.1Spooka case $ac_pass in 19471.1Spooka 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 19481.1Spooka 2) 19491.1Spooka as_fn_append ac_configure_args1 " '$ac_arg'" 19501.1Spooka if test $ac_must_keep_next = true; then 19511.1Spooka ac_must_keep_next=false # Got value, back to normal. 19521.1Spooka else 19531.1Spooka case $ac_arg in 19541.1Spooka *=* | --config-cache | -C | -disable-* | --disable-* \ 19551.1Spooka | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 19561.1Spooka | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 19571.1Spooka | -with-* | --with-* | -without-* | --without-* | --x) 19581.1Spooka case "$ac_configure_args0 " in 19591.1Spooka "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 19601.1Spooka esac 19611.1Spooka ;; 19621.1Spooka -* ) ac_must_keep_next=true ;; 19631.1Spooka esac 19641.1Spooka fi 19651.1Spooka as_fn_append ac_configure_args " '$ac_arg'" 19661.1Spooka ;; 19671.1Spooka esac 19681.1Spooka done 19691.1Spookadone 19701.1Spooka{ ac_configure_args0=; unset ac_configure_args0;} 19711.1Spooka{ ac_configure_args1=; unset ac_configure_args1;} 19721.1Spooka 19731.1Spooka# When interrupted or exit'd, cleanup temporary files, and complete 19741.1Spooka# config.log. We remove comments because anyway the quotes in there 19751.1Spooka# would cause problems or look ugly. 19761.1Spooka# WARNING: Use '\'' to represent an apostrophe within the trap. 19771.1Spooka# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 19781.1Spookatrap 'exit_status=$? 19791.1Spooka # Save into config.log some information that might help in debugging. 19801.1Spooka { 19811.1Spooka echo 19821.1Spooka 19831.1Spooka $as_echo "## ---------------- ## 19841.1Spooka## Cache variables. ## 19851.1Spooka## ---------------- ##" 19861.1Spooka echo 19871.1Spooka # The following way of writing the cache mishandles newlines in values, 19881.1Spooka( 19891.1Spooka for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 19901.1Spooka eval ac_val=\$$ac_var 19911.1Spooka case $ac_val in #( 19921.1Spooka *${as_nl}*) 19931.1Spooka case $ac_var in #( 19941.1Spooka *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 19951.1Spooka$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 19961.1Spooka esac 19971.1Spooka case $ac_var in #( 19981.1Spooka _ | IFS | as_nl) ;; #( 19991.1Spooka BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 20001.1Spooka *) { eval $ac_var=; unset $ac_var;} ;; 20011.1Spooka esac ;; 20021.1Spooka esac 20031.1Spooka done 20041.1Spooka (set) 2>&1 | 20051.1Spooka case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 20061.1Spooka *${as_nl}ac_space=\ *) 20071.1Spooka sed -n \ 20081.1Spooka "s/'\''/'\''\\\\'\'''\''/g; 20091.1Spooka s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 20101.1Spooka ;; #( 20111.1Spooka *) 20121.1Spooka sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 20131.1Spooka ;; 20141.1Spooka esac | 20151.1Spooka sort 20161.1Spooka) 20171.1Spooka echo 20181.1Spooka 20191.1Spooka $as_echo "## ----------------- ## 20201.1Spooka## Output variables. ## 20211.1Spooka## ----------------- ##" 20221.1Spooka echo 20231.1Spooka for ac_var in $ac_subst_vars 20241.1Spooka do 20251.1Spooka eval ac_val=\$$ac_var 20261.1Spooka case $ac_val in 20271.1Spooka *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 20281.1Spooka esac 20291.1Spooka $as_echo "$ac_var='\''$ac_val'\''" 20301.1Spooka done | sort 20311.1Spooka echo 20321.1Spooka 20331.1Spooka if test -n "$ac_subst_files"; then 20341.1Spooka $as_echo "## ------------------- ## 20351.1Spooka## File substitutions. ## 20361.1Spooka## ------------------- ##" 20371.1Spooka echo 20381.1Spooka for ac_var in $ac_subst_files 20391.1Spooka do 20401.1Spooka eval ac_val=\$$ac_var 20411.1Spooka case $ac_val in 20421.1Spooka *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 20431.1Spooka esac 20441.1Spooka $as_echo "$ac_var='\''$ac_val'\''" 20451.1Spooka done | sort 20461.1Spooka echo 20471.1Spooka fi 20481.1Spooka 20491.1Spooka if test -s confdefs.h; then 20501.1Spooka $as_echo "## ----------- ## 20511.1Spooka## confdefs.h. ## 20521.1Spooka## ----------- ##" 20531.1Spooka echo 20541.1Spooka cat confdefs.h 20551.1Spooka echo 20561.1Spooka fi 20571.1Spooka test "$ac_signal" != 0 && 20581.1Spooka $as_echo "$as_me: caught signal $ac_signal" 20591.1Spooka $as_echo "$as_me: exit $exit_status" 20601.1Spooka } >&5 20611.1Spooka rm -f core *.core core.conftest.* && 20621.1Spooka rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 20631.1Spooka exit $exit_status 20641.1Spooka' 0 20651.1Spookafor ac_signal in 1 2 13 15; do 20661.1Spooka trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 20671.1Spookadone 20681.1Spookaac_signal=0 20691.1Spooka 20701.1Spooka# confdefs.h avoids OS command line length limits that DEFS can exceed. 20711.1Spookarm -f -r conftest* confdefs.h 20721.1Spooka 20731.1Spooka$as_echo "/* confdefs.h */" > confdefs.h 20741.1Spooka 20751.1Spooka# Predefined preprocessor variables. 20761.1Spooka 20771.1Spookacat >>confdefs.h <<_ACEOF 20781.1Spooka#define PACKAGE_NAME "$PACKAGE_NAME" 20791.1Spooka_ACEOF 20801.1Spooka 20811.1Spookacat >>confdefs.h <<_ACEOF 20821.1Spooka#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 20831.1Spooka_ACEOF 20841.1Spooka 20851.1Spookacat >>confdefs.h <<_ACEOF 20861.1Spooka#define PACKAGE_VERSION "$PACKAGE_VERSION" 20871.1Spooka_ACEOF 20881.1Spooka 20891.1Spookacat >>confdefs.h <<_ACEOF 20901.1Spooka#define PACKAGE_STRING "$PACKAGE_STRING" 20911.1Spooka_ACEOF 20921.1Spooka 20931.1Spookacat >>confdefs.h <<_ACEOF 20941.1Spooka#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 20951.1Spooka_ACEOF 20961.1Spooka 20971.1Spookacat >>confdefs.h <<_ACEOF 20981.1Spooka#define PACKAGE_URL "$PACKAGE_URL" 20991.1Spooka_ACEOF 21001.1Spooka 21011.1Spooka 21021.1Spooka# Let the site file select an alternate cache file if it wants to. 21031.1Spooka# Prefer an explicitly selected file to automatically selected ones. 21041.1Spookaac_site_file1=NONE 21051.1Spookaac_site_file2=NONE 21061.1Spookaif test -n "$CONFIG_SITE"; then 21071.1Spooka # We do not want a PATH search for config.site. 21081.1Spooka case $CONFIG_SITE in #(( 21091.1Spooka -*) ac_site_file1=./$CONFIG_SITE;; 21101.1Spooka */*) ac_site_file1=$CONFIG_SITE;; 21111.1Spooka *) ac_site_file1=./$CONFIG_SITE;; 21121.1Spooka esac 21131.1Spookaelif test "x$prefix" != xNONE; then 21141.1Spooka ac_site_file1=$prefix/share/config.site 21151.1Spooka ac_site_file2=$prefix/etc/config.site 21161.1Spookaelse 21171.1Spooka ac_site_file1=$ac_default_prefix/share/config.site 21181.1Spooka ac_site_file2=$ac_default_prefix/etc/config.site 21191.1Spookafi 21201.1Spookafor ac_site_file in "$ac_site_file1" "$ac_site_file2" 21211.1Spookado 21221.1Spooka test "x$ac_site_file" = xNONE && continue 21231.1Spooka if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 21241.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 21251.1Spooka$as_echo "$as_me: loading site script $ac_site_file" >&6;} 21261.1Spooka sed 's/^/| /' "$ac_site_file" >&5 21271.1Spooka . "$ac_site_file" \ 21281.1Spooka || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21291.1Spooka$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21301.1Spookaas_fn_error $? "failed to load site script $ac_site_file 21311.1SpookaSee \`config.log' for more details" "$LINENO" 5; } 21321.1Spooka fi 21331.1Spookadone 21341.1Spooka 21351.1Spookaif test -r "$cache_file"; then 21361.1Spooka # Some versions of bash will fail to source /dev/null (special files 21371.1Spooka # actually), so we avoid doing that. DJGPP emulates it as a regular file. 21381.1Spooka if test /dev/null != "$cache_file" && test -f "$cache_file"; then 21391.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 21401.1Spooka$as_echo "$as_me: loading cache $cache_file" >&6;} 21411.1Spooka case $cache_file in 21421.1Spooka [\\/]* | ?:[\\/]* ) . "$cache_file";; 21431.1Spooka *) . "./$cache_file";; 21441.1Spooka esac 21451.1Spooka fi 21461.1Spookaelse 21471.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 21481.1Spooka$as_echo "$as_me: creating cache $cache_file" >&6;} 21491.1Spooka >$cache_file 21501.1Spookafi 21511.1Spooka 21521.1Spooka# Check that the precious variables saved in the cache have kept the same 21531.1Spooka# value. 21541.1Spookaac_cache_corrupted=false 21551.1Spookafor ac_var in $ac_precious_vars; do 21561.1Spooka eval ac_old_set=\$ac_cv_env_${ac_var}_set 21571.1Spooka eval ac_new_set=\$ac_env_${ac_var}_set 21581.1Spooka eval ac_old_val=\$ac_cv_env_${ac_var}_value 21591.1Spooka eval ac_new_val=\$ac_env_${ac_var}_value 21601.1Spooka case $ac_old_set,$ac_new_set in 21611.1Spooka set,) 21621.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 21631.1Spooka$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 21641.1Spooka ac_cache_corrupted=: ;; 21651.1Spooka ,set) 21661.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 21671.1Spooka$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 21681.1Spooka ac_cache_corrupted=: ;; 21691.1Spooka ,);; 21701.1Spooka *) 21711.1Spooka if test "x$ac_old_val" != "x$ac_new_val"; then 21721.1Spooka # differences in whitespace do not lead to failure. 21731.1Spooka ac_old_val_w=`echo x $ac_old_val` 21741.1Spooka ac_new_val_w=`echo x $ac_new_val` 21751.1Spooka if test "$ac_old_val_w" != "$ac_new_val_w"; then 21761.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 21771.1Spooka$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 21781.1Spooka ac_cache_corrupted=: 21791.1Spooka else 21801.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 21811.1Spooka$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 21821.1Spooka eval $ac_var=\$ac_old_val 21831.1Spooka fi 21841.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 21851.1Spooka$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 21861.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 21871.1Spooka$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 21881.1Spooka fi;; 21891.1Spooka esac 21901.1Spooka # Pass precious variables to config.status. 21911.1Spooka if test "$ac_new_set" = set; then 21921.1Spooka case $ac_new_val in 21931.1Spooka *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 21941.1Spooka *) ac_arg=$ac_var=$ac_new_val ;; 21951.1Spooka esac 21961.1Spooka case " $ac_configure_args " in 21971.1Spooka *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 21981.1Spooka *) as_fn_append ac_configure_args " '$ac_arg'" ;; 21991.1Spooka esac 22001.1Spooka fi 22011.1Spookadone 22021.1Spookaif $ac_cache_corrupted; then 22031.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 22041.1Spooka$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 22051.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 22061.1Spooka$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 22071.1Spooka as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 22081.1Spookafi 22091.1Spooka## -------------------- ## 22101.1Spooka## Main body of script. ## 22111.1Spooka## -------------------- ## 22121.1Spooka 22131.1Spookaac_ext=c 22141.1Spookaac_cpp='$CPP $CPPFLAGS' 22151.1Spookaac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22161.1Spookaac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22171.1Spookaac_compiler_gnu=$ac_cv_c_compiler_gnu 22181.1Spooka 22191.1Spooka 22201.1Spooka 22211.1Spookaac_config_headers="$ac_config_headers rumpuser_config.h" 22221.1Spooka 22231.1Spookaac_aux_dir= 22241.1Spookafor ac_dir in build-aux "$srcdir"/build-aux; do 22251.1Spooka if test -f "$ac_dir/install-sh"; then 22261.1Spooka ac_aux_dir=$ac_dir 22271.1Spooka ac_install_sh="$ac_aux_dir/install-sh -c" 22281.1Spooka break 22291.1Spooka elif test -f "$ac_dir/install.sh"; then 22301.1Spooka ac_aux_dir=$ac_dir 22311.1Spooka ac_install_sh="$ac_aux_dir/install.sh -c" 22321.1Spooka break 22331.1Spooka elif test -f "$ac_dir/shtool"; then 22341.1Spooka ac_aux_dir=$ac_dir 22351.1Spooka ac_install_sh="$ac_aux_dir/shtool install -c" 22361.1Spooka break 22371.1Spooka fi 22381.1Spookadone 22391.1Spookaif test -z "$ac_aux_dir"; then 22401.1Spooka as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 22411.1Spookafi 22421.1Spooka 22431.1Spooka# These three variables are undocumented and unsupported, 22441.1Spooka# and are intended to be withdrawn in a future Autoconf release. 22451.1Spooka# They can cause serious problems if a builder's source tree is in a directory 22461.1Spooka# whose full name contains unusual characters. 22471.1Spookaac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 22481.1Spookaac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 22491.1Spookaac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 22501.1Spooka 22511.1Spooka 22521.1Spooka 22531.1Spooka 22541.1Spookaac_ext=c 22551.1Spookaac_cpp='$CPP $CPPFLAGS' 22561.1Spookaac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22571.1Spookaac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22581.1Spookaac_compiler_gnu=$ac_cv_c_compiler_gnu 22591.1Spooka 22601.1Spooka 22611.1Spookaac_ext=c 22621.1Spookaac_cpp='$CPP $CPPFLAGS' 22631.1Spookaac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22641.1Spookaac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22651.1Spookaac_compiler_gnu=$ac_cv_c_compiler_gnu 22661.1Spookaif test -n "$ac_tool_prefix"; then 22671.1Spooka # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 22681.1Spookaset dummy ${ac_tool_prefix}gcc; ac_word=$2 22691.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22701.1Spooka$as_echo_n "checking for $ac_word... " >&6; } 22711.1Spookaif ${ac_cv_prog_CC+:} false; then : 22721.1Spooka $as_echo_n "(cached) " >&6 22731.1Spookaelse 22741.1Spooka if test -n "$CC"; then 22751.1Spooka ac_cv_prog_CC="$CC" # Let the user override the test. 22761.1Spookaelse 22771.1Spookaas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22781.1Spookafor as_dir in $PATH 22791.1Spookado 22801.1Spooka IFS=$as_save_IFS 22811.1Spooka test -z "$as_dir" && as_dir=. 22821.1Spooka for ac_exec_ext in '' $ac_executable_extensions; do 22831.1Spooka if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22841.1Spooka ac_cv_prog_CC="${ac_tool_prefix}gcc" 22851.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22861.1Spooka break 2 22871.1Spooka fi 22881.1Spookadone 22891.1Spooka done 22901.1SpookaIFS=$as_save_IFS 22911.1Spooka 22921.1Spookafi 22931.1Spookafi 22941.1SpookaCC=$ac_cv_prog_CC 22951.1Spookaif test -n "$CC"; then 22961.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 22971.1Spooka$as_echo "$CC" >&6; } 22981.1Spookaelse 22991.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23001.1Spooka$as_echo "no" >&6; } 23011.1Spookafi 23021.1Spooka 23031.1Spooka 23041.1Spookafi 23051.1Spookaif test -z "$ac_cv_prog_CC"; then 23061.1Spooka ac_ct_CC=$CC 23071.1Spooka # Extract the first word of "gcc", so it can be a program name with args. 23081.1Spookaset dummy gcc; ac_word=$2 23091.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23101.1Spooka$as_echo_n "checking for $ac_word... " >&6; } 23111.1Spookaif ${ac_cv_prog_ac_ct_CC+:} false; then : 23121.1Spooka $as_echo_n "(cached) " >&6 23131.1Spookaelse 23141.1Spooka if test -n "$ac_ct_CC"; then 23151.1Spooka ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 23161.1Spookaelse 23171.1Spookaas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23181.1Spookafor as_dir in $PATH 23191.1Spookado 23201.1Spooka IFS=$as_save_IFS 23211.1Spooka test -z "$as_dir" && as_dir=. 23221.1Spooka for ac_exec_ext in '' $ac_executable_extensions; do 23231.1Spooka if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23241.1Spooka ac_cv_prog_ac_ct_CC="gcc" 23251.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23261.1Spooka break 2 23271.1Spooka fi 23281.1Spookadone 23291.1Spooka done 23301.1SpookaIFS=$as_save_IFS 23311.1Spooka 23321.1Spookafi 23331.1Spookafi 23341.1Spookaac_ct_CC=$ac_cv_prog_ac_ct_CC 23351.1Spookaif test -n "$ac_ct_CC"; then 23361.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 23371.1Spooka$as_echo "$ac_ct_CC" >&6; } 23381.1Spookaelse 23391.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23401.1Spooka$as_echo "no" >&6; } 23411.1Spookafi 23421.1Spooka 23431.1Spooka if test "x$ac_ct_CC" = x; then 23441.1Spooka CC="" 23451.1Spooka else 23461.1Spooka case $cross_compiling:$ac_tool_warned in 23471.1Spookayes:) 23481.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23491.1Spooka$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23501.1Spookaac_tool_warned=yes ;; 23511.1Spookaesac 23521.1Spooka CC=$ac_ct_CC 23531.1Spooka fi 23541.1Spookaelse 23551.1Spooka CC="$ac_cv_prog_CC" 23561.1Spookafi 23571.1Spooka 23581.1Spookaif test -z "$CC"; then 23591.1Spooka if test -n "$ac_tool_prefix"; then 23601.1Spooka # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 23611.1Spookaset dummy ${ac_tool_prefix}cc; ac_word=$2 23621.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23631.1Spooka$as_echo_n "checking for $ac_word... " >&6; } 23641.1Spookaif ${ac_cv_prog_CC+:} false; then : 23651.1Spooka $as_echo_n "(cached) " >&6 23661.1Spookaelse 23671.1Spooka if test -n "$CC"; then 23681.1Spooka ac_cv_prog_CC="$CC" # Let the user override the test. 23691.1Spookaelse 23701.1Spookaas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23711.1Spookafor as_dir in $PATH 23721.1Spookado 23731.1Spooka IFS=$as_save_IFS 23741.1Spooka test -z "$as_dir" && as_dir=. 23751.1Spooka for ac_exec_ext in '' $ac_executable_extensions; do 23761.1Spooka if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23771.1Spooka ac_cv_prog_CC="${ac_tool_prefix}cc" 23781.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23791.1Spooka break 2 23801.1Spooka fi 23811.1Spookadone 23821.1Spooka done 23831.1SpookaIFS=$as_save_IFS 23841.1Spooka 23851.1Spookafi 23861.1Spookafi 23871.1SpookaCC=$ac_cv_prog_CC 23881.1Spookaif test -n "$CC"; then 23891.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 23901.1Spooka$as_echo "$CC" >&6; } 23911.1Spookaelse 23921.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23931.1Spooka$as_echo "no" >&6; } 23941.1Spookafi 23951.1Spooka 23961.1Spooka 23971.1Spooka fi 23981.1Spookafi 23991.1Spookaif test -z "$CC"; then 24001.1Spooka # Extract the first word of "cc", so it can be a program name with args. 24011.1Spookaset dummy cc; ac_word=$2 24021.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24031.1Spooka$as_echo_n "checking for $ac_word... " >&6; } 24041.1Spookaif ${ac_cv_prog_CC+:} false; then : 24051.1Spooka $as_echo_n "(cached) " >&6 24061.1Spookaelse 24071.1Spooka if test -n "$CC"; then 24081.1Spooka ac_cv_prog_CC="$CC" # Let the user override the test. 24091.1Spookaelse 24101.1Spooka ac_prog_rejected=no 24111.1Spookaas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24121.1Spookafor as_dir in $PATH 24131.1Spookado 24141.1Spooka IFS=$as_save_IFS 24151.1Spooka test -z "$as_dir" && as_dir=. 24161.1Spooka for ac_exec_ext in '' $ac_executable_extensions; do 24171.1Spooka if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24181.1Spooka if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 24191.1Spooka ac_prog_rejected=yes 24201.1Spooka continue 24211.1Spooka fi 24221.1Spooka ac_cv_prog_CC="cc" 24231.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24241.1Spooka break 2 24251.1Spooka fi 24261.1Spookadone 24271.1Spooka done 24281.1SpookaIFS=$as_save_IFS 24291.1Spooka 24301.1Spookaif test $ac_prog_rejected = yes; then 24311.1Spooka # We found a bogon in the path, so make sure we never use it. 24321.1Spooka set dummy $ac_cv_prog_CC 24331.1Spooka shift 24341.1Spooka if test $# != 0; then 24351.1Spooka # We chose a different compiler from the bogus one. 24361.1Spooka # However, it has the same basename, so the bogon will be chosen 24371.1Spooka # first if we set CC to just the basename; use the full file name. 24381.1Spooka shift 24391.1Spooka ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 24401.1Spooka fi 24411.1Spookafi 24421.1Spookafi 24431.1Spookafi 24441.1SpookaCC=$ac_cv_prog_CC 24451.1Spookaif test -n "$CC"; then 24461.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 24471.1Spooka$as_echo "$CC" >&6; } 24481.1Spookaelse 24491.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24501.1Spooka$as_echo "no" >&6; } 24511.1Spookafi 24521.1Spooka 24531.1Spooka 24541.1Spookafi 24551.1Spookaif test -z "$CC"; then 24561.1Spooka if test -n "$ac_tool_prefix"; then 24571.1Spooka for ac_prog in cl.exe 24581.1Spooka do 24591.1Spooka # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 24601.1Spookaset dummy $ac_tool_prefix$ac_prog; ac_word=$2 24611.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24621.1Spooka$as_echo_n "checking for $ac_word... " >&6; } 24631.1Spookaif ${ac_cv_prog_CC+:} false; then : 24641.1Spooka $as_echo_n "(cached) " >&6 24651.1Spookaelse 24661.1Spooka if test -n "$CC"; then 24671.1Spooka ac_cv_prog_CC="$CC" # Let the user override the test. 24681.1Spookaelse 24691.1Spookaas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24701.1Spookafor as_dir in $PATH 24711.1Spookado 24721.1Spooka IFS=$as_save_IFS 24731.1Spooka test -z "$as_dir" && as_dir=. 24741.1Spooka for ac_exec_ext in '' $ac_executable_extensions; do 24751.1Spooka if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24761.1Spooka ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 24771.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24781.1Spooka break 2 24791.1Spooka fi 24801.1Spookadone 24811.1Spooka done 24821.1SpookaIFS=$as_save_IFS 24831.1Spooka 24841.1Spookafi 24851.1Spookafi 24861.1SpookaCC=$ac_cv_prog_CC 24871.1Spookaif test -n "$CC"; then 24881.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 24891.1Spooka$as_echo "$CC" >&6; } 24901.1Spookaelse 24911.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24921.1Spooka$as_echo "no" >&6; } 24931.1Spookafi 24941.1Spooka 24951.1Spooka 24961.1Spooka test -n "$CC" && break 24971.1Spooka done 24981.1Spookafi 24991.1Spookaif test -z "$CC"; then 25001.1Spooka ac_ct_CC=$CC 25011.1Spooka for ac_prog in cl.exe 25021.1Spookado 25031.1Spooka # Extract the first word of "$ac_prog", so it can be a program name with args. 25041.1Spookaset dummy $ac_prog; ac_word=$2 25051.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25061.1Spooka$as_echo_n "checking for $ac_word... " >&6; } 25071.1Spookaif ${ac_cv_prog_ac_ct_CC+:} false; then : 25081.1Spooka $as_echo_n "(cached) " >&6 25091.1Spookaelse 25101.1Spooka if test -n "$ac_ct_CC"; then 25111.1Spooka ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 25121.1Spookaelse 25131.1Spookaas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25141.1Spookafor as_dir in $PATH 25151.1Spookado 25161.1Spooka IFS=$as_save_IFS 25171.1Spooka test -z "$as_dir" && as_dir=. 25181.1Spooka for ac_exec_ext in '' $ac_executable_extensions; do 25191.1Spooka if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25201.1Spooka ac_cv_prog_ac_ct_CC="$ac_prog" 25211.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25221.1Spooka break 2 25231.1Spooka fi 25241.1Spookadone 25251.1Spooka done 25261.1SpookaIFS=$as_save_IFS 25271.1Spooka 25281.1Spookafi 25291.1Spookafi 25301.1Spookaac_ct_CC=$ac_cv_prog_ac_ct_CC 25311.1Spookaif test -n "$ac_ct_CC"; then 25321.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 25331.1Spooka$as_echo "$ac_ct_CC" >&6; } 25341.1Spookaelse 25351.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25361.1Spooka$as_echo "no" >&6; } 25371.1Spookafi 25381.1Spooka 25391.1Spooka 25401.1Spooka test -n "$ac_ct_CC" && break 25411.1Spookadone 25421.1Spooka 25431.1Spooka if test "x$ac_ct_CC" = x; then 25441.1Spooka CC="" 25451.1Spooka else 25461.1Spooka case $cross_compiling:$ac_tool_warned in 25471.1Spookayes:) 25481.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 25491.1Spooka$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 25501.1Spookaac_tool_warned=yes ;; 25511.1Spookaesac 25521.1Spooka CC=$ac_ct_CC 25531.1Spooka fi 25541.1Spookafi 25551.1Spooka 25561.1Spookafi 25571.1Spooka 25581.1Spooka 25591.1Spookatest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 25601.1Spooka$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 25611.1Spookaas_fn_error $? "no acceptable C compiler found in \$PATH 25621.1SpookaSee \`config.log' for more details" "$LINENO" 5; } 25631.1Spooka 25641.1Spooka# Provide some information about the compiler. 25651.1Spooka$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 25661.1Spookaset X $ac_compile 25671.1Spookaac_compiler=$2 25681.1Spookafor ac_option in --version -v -V -qversion; do 25691.1Spooka { { ac_try="$ac_compiler $ac_option >&5" 25701.1Spookacase "(($ac_try" in 25711.1Spooka *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25721.1Spooka *) ac_try_echo=$ac_try;; 25731.1Spookaesac 25741.1Spookaeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 25751.1Spooka$as_echo "$ac_try_echo"; } >&5 25761.1Spooka (eval "$ac_compiler $ac_option >&5") 2>conftest.err 25771.1Spooka ac_status=$? 25781.1Spooka if test -s conftest.err; then 25791.1Spooka sed '10a\ 25801.1Spooka... rest of stderr output deleted ... 25811.1Spooka 10q' conftest.err >conftest.er1 25821.1Spooka cat conftest.er1 >&5 25831.1Spooka fi 25841.1Spooka rm -f conftest.er1 conftest.err 25851.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25861.1Spooka test $ac_status = 0; } 25871.1Spookadone 25881.1Spooka 25891.1Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 25901.1Spooka/* end confdefs.h. */ 25911.1Spooka 25921.1Spookaint 25931.1Spookamain () 25941.1Spooka{ 25951.1Spooka 25961.1Spooka ; 25971.1Spooka return 0; 25981.1Spooka} 25991.1Spooka_ACEOF 26001.1Spookaac_clean_files_save=$ac_clean_files 26011.1Spookaac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 26021.1Spooka# Try to create an executable without -o first, disregard a.out. 26031.1Spooka# It will help us diagnose broken compilers, and finding out an intuition 26041.1Spooka# of exeext. 26051.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 26061.1Spooka$as_echo_n "checking whether the C compiler works... " >&6; } 26071.1Spookaac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 26081.1Spooka 26091.1Spooka# The possible output files: 26101.1Spookaac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 26111.1Spooka 26121.1Spookaac_rmfiles= 26131.1Spookafor ac_file in $ac_files 26141.1Spookado 26151.1Spooka case $ac_file in 26161.1Spooka *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 26171.1Spooka * ) ac_rmfiles="$ac_rmfiles $ac_file";; 26181.1Spooka esac 26191.1Spookadone 26201.1Spookarm -f $ac_rmfiles 26211.1Spooka 26221.1Spookaif { { ac_try="$ac_link_default" 26231.1Spookacase "(($ac_try" in 26241.1Spooka *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26251.1Spooka *) ac_try_echo=$ac_try;; 26261.1Spookaesac 26271.1Spookaeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 26281.1Spooka$as_echo "$ac_try_echo"; } >&5 26291.1Spooka (eval "$ac_link_default") 2>&5 26301.1Spooka ac_status=$? 26311.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26321.1Spooka test $ac_status = 0; }; then : 26331.1Spooka # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 26341.1Spooka# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 26351.1Spooka# in a Makefile. We should not override ac_cv_exeext if it was cached, 26361.1Spooka# so that the user can short-circuit this test for compilers unknown to 26371.1Spooka# Autoconf. 26381.1Spookafor ac_file in $ac_files '' 26391.1Spookado 26401.1Spooka test -f "$ac_file" || continue 26411.1Spooka case $ac_file in 26421.1Spooka *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 26431.1Spooka ;; 26441.1Spooka [ab].out ) 26451.1Spooka # We found the default executable, but exeext='' is most 26461.1Spooka # certainly right. 26471.1Spooka break;; 26481.1Spooka *.* ) 26491.1Spooka if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 26501.1Spooka then :; else 26511.1Spooka ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 26521.1Spooka fi 26531.1Spooka # We set ac_cv_exeext here because the later test for it is not 26541.1Spooka # safe: cross compilers may not add the suffix if given an `-o' 26551.1Spooka # argument, so we may need to know it at that point already. 26561.1Spooka # Even if this section looks crufty: it has the advantage of 26571.1Spooka # actually working. 26581.1Spooka break;; 26591.1Spooka * ) 26601.1Spooka break;; 26611.1Spooka esac 26621.1Spookadone 26631.1Spookatest "$ac_cv_exeext" = no && ac_cv_exeext= 26641.1Spooka 26651.1Spookaelse 26661.1Spooka ac_file='' 26671.1Spookafi 26681.1Spookaif test -z "$ac_file"; then : 26691.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26701.1Spooka$as_echo "no" >&6; } 26711.1Spooka$as_echo "$as_me: failed program was:" >&5 26721.1Spookased 's/^/| /' conftest.$ac_ext >&5 26731.1Spooka 26741.1Spooka{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 26751.1Spooka$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 26761.1Spookaas_fn_error 77 "C compiler cannot create executables 26771.1SpookaSee \`config.log' for more details" "$LINENO" 5; } 26781.1Spookaelse 26791.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26801.1Spooka$as_echo "yes" >&6; } 26811.1Spookafi 26821.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 26831.1Spooka$as_echo_n "checking for C compiler default output file name... " >&6; } 26841.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 26851.1Spooka$as_echo "$ac_file" >&6; } 26861.1Spookaac_exeext=$ac_cv_exeext 26871.1Spooka 26881.1Spookarm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 26891.1Spookaac_clean_files=$ac_clean_files_save 26901.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 26911.1Spooka$as_echo_n "checking for suffix of executables... " >&6; } 26921.1Spookaif { { ac_try="$ac_link" 26931.1Spookacase "(($ac_try" in 26941.1Spooka *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26951.1Spooka *) ac_try_echo=$ac_try;; 26961.1Spookaesac 26971.1Spookaeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 26981.1Spooka$as_echo "$ac_try_echo"; } >&5 26991.1Spooka (eval "$ac_link") 2>&5 27001.1Spooka ac_status=$? 27011.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27021.1Spooka test $ac_status = 0; }; then : 27031.1Spooka # If both `conftest.exe' and `conftest' are `present' (well, observable) 27041.1Spooka# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 27051.1Spooka# work properly (i.e., refer to `conftest.exe'), while it won't with 27061.1Spooka# `rm'. 27071.1Spookafor ac_file in conftest.exe conftest conftest.*; do 27081.1Spooka test -f "$ac_file" || continue 27091.1Spooka case $ac_file in 27101.1Spooka *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 27111.1Spooka *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 27121.1Spooka break;; 27131.1Spooka * ) break;; 27141.1Spooka esac 27151.1Spookadone 27161.1Spookaelse 27171.1Spooka { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27181.1Spooka$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27191.1Spookaas_fn_error $? "cannot compute suffix of executables: cannot compile and link 27201.1SpookaSee \`config.log' for more details" "$LINENO" 5; } 27211.1Spookafi 27221.1Spookarm -f conftest conftest$ac_cv_exeext 27231.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 27241.1Spooka$as_echo "$ac_cv_exeext" >&6; } 27251.1Spooka 27261.1Spookarm -f conftest.$ac_ext 27271.1SpookaEXEEXT=$ac_cv_exeext 27281.1Spookaac_exeext=$EXEEXT 27291.1Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 27301.1Spooka/* end confdefs.h. */ 27311.1Spooka#include <stdio.h> 27321.1Spookaint 27331.1Spookamain () 27341.1Spooka{ 27351.1SpookaFILE *f = fopen ("conftest.out", "w"); 27361.1Spooka return ferror (f) || fclose (f) != 0; 27371.1Spooka 27381.1Spooka ; 27391.1Spooka return 0; 27401.1Spooka} 27411.1Spooka_ACEOF 27421.1Spookaac_clean_files="$ac_clean_files conftest.out" 27431.1Spooka# Check that the compiler produces executables we can run. If not, either 27441.1Spooka# the compiler is broken, or we cross compile. 27451.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 27461.1Spooka$as_echo_n "checking whether we are cross compiling... " >&6; } 27471.1Spookaif test "$cross_compiling" != yes; then 27481.1Spooka { { ac_try="$ac_link" 27491.1Spookacase "(($ac_try" in 27501.1Spooka *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27511.1Spooka *) ac_try_echo=$ac_try;; 27521.1Spookaesac 27531.1Spookaeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 27541.1Spooka$as_echo "$ac_try_echo"; } >&5 27551.1Spooka (eval "$ac_link") 2>&5 27561.1Spooka ac_status=$? 27571.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27581.1Spooka test $ac_status = 0; } 27591.1Spooka if { ac_try='./conftest$ac_cv_exeext' 27601.1Spooka { { case "(($ac_try" in 27611.1Spooka *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27621.1Spooka *) ac_try_echo=$ac_try;; 27631.1Spookaesac 27641.1Spookaeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 27651.1Spooka$as_echo "$ac_try_echo"; } >&5 27661.1Spooka (eval "$ac_try") 2>&5 27671.1Spooka ac_status=$? 27681.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27691.1Spooka test $ac_status = 0; }; }; then 27701.1Spooka cross_compiling=no 27711.1Spooka else 27721.1Spooka if test "$cross_compiling" = maybe; then 27731.1Spooka cross_compiling=yes 27741.1Spooka else 27751.1Spooka { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27761.1Spooka$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27771.1Spookaas_fn_error $? "cannot run C compiled programs. 27781.1SpookaIf you meant to cross compile, use \`--host'. 27791.1SpookaSee \`config.log' for more details" "$LINENO" 5; } 27801.1Spooka fi 27811.1Spooka fi 27821.1Spookafi 27831.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 27841.1Spooka$as_echo "$cross_compiling" >&6; } 27851.1Spooka 27861.1Spookarm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 27871.1Spookaac_clean_files=$ac_clean_files_save 27881.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 27891.1Spooka$as_echo_n "checking for suffix of object files... " >&6; } 27901.1Spookaif ${ac_cv_objext+:} false; then : 27911.1Spooka $as_echo_n "(cached) " >&6 27921.1Spookaelse 27931.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27941.1Spooka/* end confdefs.h. */ 27951.1Spooka 27961.1Spookaint 27971.1Spookamain () 27981.1Spooka{ 27991.1Spooka 28001.1Spooka ; 28011.1Spooka return 0; 28021.1Spooka} 28031.1Spooka_ACEOF 28041.1Spookarm -f conftest.o conftest.obj 28051.1Spookaif { { ac_try="$ac_compile" 28061.1Spookacase "(($ac_try" in 28071.1Spooka *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28081.1Spooka *) ac_try_echo=$ac_try;; 28091.1Spookaesac 28101.1Spookaeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 28111.1Spooka$as_echo "$ac_try_echo"; } >&5 28121.1Spooka (eval "$ac_compile") 2>&5 28131.1Spooka ac_status=$? 28141.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28151.1Spooka test $ac_status = 0; }; then : 28161.1Spooka for ac_file in conftest.o conftest.obj conftest.*; do 28171.1Spooka test -f "$ac_file" || continue; 28181.1Spooka case $ac_file in 28191.1Spooka *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 28201.1Spooka *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 28211.1Spooka break;; 28221.1Spooka esac 28231.1Spookadone 28241.1Spookaelse 28251.1Spooka $as_echo "$as_me: failed program was:" >&5 28261.1Spookased 's/^/| /' conftest.$ac_ext >&5 28271.1Spooka 28281.1Spooka{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28291.1Spooka$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28301.1Spookaas_fn_error $? "cannot compute suffix of object files: cannot compile 28311.1SpookaSee \`config.log' for more details" "$LINENO" 5; } 28321.1Spookafi 28331.1Spookarm -f conftest.$ac_cv_objext conftest.$ac_ext 28341.1Spookafi 28351.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 28361.1Spooka$as_echo "$ac_cv_objext" >&6; } 28371.1SpookaOBJEXT=$ac_cv_objext 28381.1Spookaac_objext=$OBJEXT 28391.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 28401.1Spooka$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 28411.1Spookaif ${ac_cv_c_compiler_gnu+:} false; then : 28421.1Spooka $as_echo_n "(cached) " >&6 28431.1Spookaelse 28441.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28451.1Spooka/* end confdefs.h. */ 28461.1Spooka 28471.1Spookaint 28481.1Spookamain () 28491.1Spooka{ 28501.1Spooka#ifndef __GNUC__ 28511.1Spooka choke me 28521.1Spooka#endif 28531.1Spooka 28541.1Spooka ; 28551.1Spooka return 0; 28561.1Spooka} 28571.1Spooka_ACEOF 28581.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 28591.1Spooka ac_compiler_gnu=yes 28601.1Spookaelse 28611.1Spooka ac_compiler_gnu=no 28621.1Spookafi 28631.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28641.1Spookaac_cv_c_compiler_gnu=$ac_compiler_gnu 28651.1Spooka 28661.1Spookafi 28671.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 28681.1Spooka$as_echo "$ac_cv_c_compiler_gnu" >&6; } 28691.1Spookaif test $ac_compiler_gnu = yes; then 28701.1Spooka GCC=yes 28711.1Spookaelse 28721.1Spooka GCC= 28731.1Spookafi 28741.1Spookaac_test_CFLAGS=${CFLAGS+set} 28751.1Spookaac_save_CFLAGS=$CFLAGS 28761.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 28771.1Spooka$as_echo_n "checking whether $CC accepts -g... " >&6; } 28781.1Spookaif ${ac_cv_prog_cc_g+:} false; then : 28791.1Spooka $as_echo_n "(cached) " >&6 28801.1Spookaelse 28811.1Spooka ac_save_c_werror_flag=$ac_c_werror_flag 28821.1Spooka ac_c_werror_flag=yes 28831.1Spooka ac_cv_prog_cc_g=no 28841.1Spooka CFLAGS="-g" 28851.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28861.1Spooka/* end confdefs.h. */ 28871.1Spooka 28881.1Spookaint 28891.1Spookamain () 28901.1Spooka{ 28911.1Spooka 28921.1Spooka ; 28931.1Spooka return 0; 28941.1Spooka} 28951.1Spooka_ACEOF 28961.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 28971.1Spooka ac_cv_prog_cc_g=yes 28981.1Spookaelse 28991.1Spooka CFLAGS="" 29001.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29011.1Spooka/* end confdefs.h. */ 29021.1Spooka 29031.1Spookaint 29041.1Spookamain () 29051.1Spooka{ 29061.1Spooka 29071.1Spooka ; 29081.1Spooka return 0; 29091.1Spooka} 29101.1Spooka_ACEOF 29111.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 29121.1Spooka 29131.1Spookaelse 29141.1Spooka ac_c_werror_flag=$ac_save_c_werror_flag 29151.1Spooka CFLAGS="-g" 29161.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29171.1Spooka/* end confdefs.h. */ 29181.1Spooka 29191.1Spookaint 29201.1Spookamain () 29211.1Spooka{ 29221.1Spooka 29231.1Spooka ; 29241.1Spooka return 0; 29251.1Spooka} 29261.1Spooka_ACEOF 29271.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 29281.1Spooka ac_cv_prog_cc_g=yes 29291.1Spookafi 29301.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29311.1Spookafi 29321.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29331.1Spookafi 29341.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29351.1Spooka ac_c_werror_flag=$ac_save_c_werror_flag 29361.1Spookafi 29371.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 29381.1Spooka$as_echo "$ac_cv_prog_cc_g" >&6; } 29391.1Spookaif test "$ac_test_CFLAGS" = set; then 29401.1Spooka CFLAGS=$ac_save_CFLAGS 29411.1Spookaelif test $ac_cv_prog_cc_g = yes; then 29421.1Spooka if test "$GCC" = yes; then 29431.1Spooka CFLAGS="-g -O2" 29441.1Spooka else 29451.1Spooka CFLAGS="-g" 29461.1Spooka fi 29471.1Spookaelse 29481.1Spooka if test "$GCC" = yes; then 29491.1Spooka CFLAGS="-O2" 29501.1Spooka else 29511.1Spooka CFLAGS= 29521.1Spooka fi 29531.1Spookafi 29541.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 29551.1Spooka$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 29561.1Spookaif ${ac_cv_prog_cc_c89+:} false; then : 29571.1Spooka $as_echo_n "(cached) " >&6 29581.1Spookaelse 29591.1Spooka ac_cv_prog_cc_c89=no 29601.1Spookaac_save_CC=$CC 29611.1Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 29621.1Spooka/* end confdefs.h. */ 29631.1Spooka#include <stdarg.h> 29641.1Spooka#include <stdio.h> 29651.1Spookastruct stat; 29661.1Spooka/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 29671.1Spookastruct buf { int x; }; 29681.1SpookaFILE * (*rcsopen) (struct buf *, struct stat *, int); 29691.1Spookastatic char *e (p, i) 29701.1Spooka char **p; 29711.1Spooka int i; 29721.1Spooka{ 29731.1Spooka return p[i]; 29741.1Spooka} 29751.1Spookastatic char *f (char * (*g) (char **, int), char **p, ...) 29761.1Spooka{ 29771.1Spooka char *s; 29781.1Spooka va_list v; 29791.1Spooka va_start (v,p); 29801.1Spooka s = g (p, va_arg (v,int)); 29811.1Spooka va_end (v); 29821.1Spooka return s; 29831.1Spooka} 29841.1Spooka 29851.1Spooka/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 29861.1Spooka function prototypes and stuff, but not '\xHH' hex character constants. 29871.1Spooka These don't provoke an error unfortunately, instead are silently treated 29881.1Spooka as 'x'. The following induces an error, until -std is added to get 29891.1Spooka proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 29901.1Spooka array size at least. It's necessary to write '\x00'==0 to get something 29911.1Spooka that's true only with -std. */ 29921.1Spookaint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 29931.1Spooka 29941.1Spooka/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 29951.1Spooka inside strings and character constants. */ 29961.1Spooka#define FOO(x) 'x' 29971.1Spookaint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 29981.1Spooka 29991.1Spookaint test (int i, double x); 30001.1Spookastruct s1 {int (*f) (int a);}; 30011.1Spookastruct s2 {int (*f) (double a);}; 30021.1Spookaint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 30031.1Spookaint argc; 30041.1Spookachar **argv; 30051.1Spookaint 30061.1Spookamain () 30071.1Spooka{ 30081.1Spookareturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 30091.1Spooka ; 30101.1Spooka return 0; 30111.1Spooka} 30121.1Spooka_ACEOF 30131.1Spookafor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 30141.1Spooka -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 30151.1Spookado 30161.1Spooka CC="$ac_save_CC $ac_arg" 30171.1Spooka if ac_fn_c_try_compile "$LINENO"; then : 30181.1Spooka ac_cv_prog_cc_c89=$ac_arg 30191.1Spookafi 30201.1Spookarm -f core conftest.err conftest.$ac_objext 30211.1Spooka test "x$ac_cv_prog_cc_c89" != "xno" && break 30221.1Spookadone 30231.1Spookarm -f conftest.$ac_ext 30241.1SpookaCC=$ac_save_CC 30251.1Spooka 30261.1Spookafi 30271.1Spooka# AC_CACHE_VAL 30281.1Spookacase "x$ac_cv_prog_cc_c89" in 30291.1Spooka x) 30301.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 30311.1Spooka$as_echo "none needed" >&6; } ;; 30321.1Spooka xno) 30331.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 30341.1Spooka$as_echo "unsupported" >&6; } ;; 30351.1Spooka *) 30361.1Spooka CC="$CC $ac_cv_prog_cc_c89" 30371.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 30381.1Spooka$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 30391.1Spookaesac 30401.1Spookaif test "x$ac_cv_prog_cc_c89" != xno; then : 30411.1Spooka 30421.1Spookafi 30431.1Spooka 30441.1Spookaac_ext=c 30451.1Spookaac_cpp='$CPP $CPPFLAGS' 30461.1Spookaac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 30471.1Spookaac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 30481.1Spookaac_compiler_gnu=$ac_cv_c_compiler_gnu 30491.1Spooka 30501.1Spooka 30511.1Spooka# Check whether --enable-largefile was given. 30521.1Spookaif test "${enable_largefile+set}" = set; then : 30531.1Spooka enableval=$enable_largefile; 30541.1Spookafi 30551.1Spooka 30561.1Spookaif test "$enable_largefile" != no; then 30571.1Spooka 30581.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 30591.1Spooka$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 30601.1Spookaif ${ac_cv_sys_largefile_CC+:} false; then : 30611.1Spooka $as_echo_n "(cached) " >&6 30621.1Spookaelse 30631.1Spooka ac_cv_sys_largefile_CC=no 30641.1Spooka if test "$GCC" != yes; then 30651.1Spooka ac_save_CC=$CC 30661.1Spooka while :; do 30671.1Spooka # IRIX 6.2 and later do not support large files by default, 30681.1Spooka # so use the C compiler's -n32 option if that helps. 30691.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30701.1Spooka/* end confdefs.h. */ 30711.1Spooka#include <sys/types.h> 30721.1Spooka /* Check that off_t can represent 2**63 - 1 correctly. 30731.1Spooka We can't simply define LARGE_OFF_T to be 9223372036854775807, 30741.1Spooka since some C++ compilers masquerading as C compilers 30751.1Spooka incorrectly reject 9223372036854775807. */ 30761.6Slukem#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 30771.1Spooka int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 30781.1Spooka && LARGE_OFF_T % 2147483647 == 1) 30791.1Spooka ? 1 : -1]; 30801.1Spookaint 30811.1Spookamain () 30821.1Spooka{ 30831.1Spooka 30841.1Spooka ; 30851.1Spooka return 0; 30861.1Spooka} 30871.1Spooka_ACEOF 30881.1Spooka if ac_fn_c_try_compile "$LINENO"; then : 30891.1Spooka break 30901.1Spookafi 30911.1Spookarm -f core conftest.err conftest.$ac_objext 30921.1Spooka CC="$CC -n32" 30931.1Spooka if ac_fn_c_try_compile "$LINENO"; then : 30941.1Spooka ac_cv_sys_largefile_CC=' -n32'; break 30951.1Spookafi 30961.1Spookarm -f core conftest.err conftest.$ac_objext 30971.1Spooka break 30981.1Spooka done 30991.1Spooka CC=$ac_save_CC 31001.1Spooka rm -f conftest.$ac_ext 31011.1Spooka fi 31021.1Spookafi 31031.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 31041.1Spooka$as_echo "$ac_cv_sys_largefile_CC" >&6; } 31051.1Spooka if test "$ac_cv_sys_largefile_CC" != no; then 31061.1Spooka CC=$CC$ac_cv_sys_largefile_CC 31071.1Spooka fi 31081.1Spooka 31091.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 31101.1Spooka$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 31111.1Spookaif ${ac_cv_sys_file_offset_bits+:} false; then : 31121.1Spooka $as_echo_n "(cached) " >&6 31131.1Spookaelse 31141.1Spooka while :; do 31151.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31161.1Spooka/* end confdefs.h. */ 31171.1Spooka#include <sys/types.h> 31181.1Spooka /* Check that off_t can represent 2**63 - 1 correctly. 31191.1Spooka We can't simply define LARGE_OFF_T to be 9223372036854775807, 31201.1Spooka since some C++ compilers masquerading as C compilers 31211.1Spooka incorrectly reject 9223372036854775807. */ 31221.6Slukem#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 31231.1Spooka int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 31241.1Spooka && LARGE_OFF_T % 2147483647 == 1) 31251.1Spooka ? 1 : -1]; 31261.1Spookaint 31271.1Spookamain () 31281.1Spooka{ 31291.1Spooka 31301.1Spooka ; 31311.1Spooka return 0; 31321.1Spooka} 31331.1Spooka_ACEOF 31341.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 31351.1Spooka ac_cv_sys_file_offset_bits=no; break 31361.1Spookafi 31371.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 31381.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31391.1Spooka/* end confdefs.h. */ 31401.1Spooka#define _FILE_OFFSET_BITS 64 31411.1Spooka#include <sys/types.h> 31421.1Spooka /* Check that off_t can represent 2**63 - 1 correctly. 31431.1Spooka We can't simply define LARGE_OFF_T to be 9223372036854775807, 31441.1Spooka since some C++ compilers masquerading as C compilers 31451.1Spooka incorrectly reject 9223372036854775807. */ 31461.6Slukem#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 31471.1Spooka int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 31481.1Spooka && LARGE_OFF_T % 2147483647 == 1) 31491.1Spooka ? 1 : -1]; 31501.1Spookaint 31511.1Spookamain () 31521.1Spooka{ 31531.1Spooka 31541.1Spooka ; 31551.1Spooka return 0; 31561.1Spooka} 31571.1Spooka_ACEOF 31581.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 31591.1Spooka ac_cv_sys_file_offset_bits=64; break 31601.1Spookafi 31611.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 31621.1Spooka ac_cv_sys_file_offset_bits=unknown 31631.1Spooka break 31641.1Spookadone 31651.1Spookafi 31661.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 31671.1Spooka$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 31681.1Spookacase $ac_cv_sys_file_offset_bits in #( 31691.1Spooka no | unknown) ;; 31701.1Spooka *) 31711.1Spookacat >>confdefs.h <<_ACEOF 31721.1Spooka#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 31731.1Spooka_ACEOF 31741.1Spooka;; 31751.1Spookaesac 31761.1Spookarm -rf conftest* 31771.1Spooka if test $ac_cv_sys_file_offset_bits = unknown; then 31781.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 31791.1Spooka$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 31801.1Spookaif ${ac_cv_sys_large_files+:} false; then : 31811.1Spooka $as_echo_n "(cached) " >&6 31821.1Spookaelse 31831.1Spooka while :; do 31841.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31851.1Spooka/* end confdefs.h. */ 31861.1Spooka#include <sys/types.h> 31871.1Spooka /* Check that off_t can represent 2**63 - 1 correctly. 31881.1Spooka We can't simply define LARGE_OFF_T to be 9223372036854775807, 31891.1Spooka since some C++ compilers masquerading as C compilers 31901.1Spooka incorrectly reject 9223372036854775807. */ 31911.6Slukem#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 31921.1Spooka int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 31931.1Spooka && LARGE_OFF_T % 2147483647 == 1) 31941.1Spooka ? 1 : -1]; 31951.1Spookaint 31961.1Spookamain () 31971.1Spooka{ 31981.1Spooka 31991.1Spooka ; 32001.1Spooka return 0; 32011.1Spooka} 32021.1Spooka_ACEOF 32031.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 32041.1Spooka ac_cv_sys_large_files=no; break 32051.1Spookafi 32061.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32071.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32081.1Spooka/* end confdefs.h. */ 32091.1Spooka#define _LARGE_FILES 1 32101.1Spooka#include <sys/types.h> 32111.1Spooka /* Check that off_t can represent 2**63 - 1 correctly. 32121.1Spooka We can't simply define LARGE_OFF_T to be 9223372036854775807, 32131.1Spooka since some C++ compilers masquerading as C compilers 32141.1Spooka incorrectly reject 9223372036854775807. */ 32151.6Slukem#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 32161.1Spooka int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 32171.1Spooka && LARGE_OFF_T % 2147483647 == 1) 32181.1Spooka ? 1 : -1]; 32191.1Spookaint 32201.1Spookamain () 32211.1Spooka{ 32221.1Spooka 32231.1Spooka ; 32241.1Spooka return 0; 32251.1Spooka} 32261.1Spooka_ACEOF 32271.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 32281.1Spooka ac_cv_sys_large_files=1; break 32291.1Spookafi 32301.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32311.1Spooka ac_cv_sys_large_files=unknown 32321.1Spooka break 32331.1Spookadone 32341.1Spookafi 32351.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 32361.1Spooka$as_echo "$ac_cv_sys_large_files" >&6; } 32371.1Spookacase $ac_cv_sys_large_files in #( 32381.1Spooka no | unknown) ;; 32391.1Spooka *) 32401.1Spookacat >>confdefs.h <<_ACEOF 32411.1Spooka#define _LARGE_FILES $ac_cv_sys_large_files 32421.1Spooka_ACEOF 32431.1Spooka;; 32441.1Spookaesac 32451.1Spookarm -rf conftest* 32461.1Spooka fi 32471.1Spooka 32481.1Spooka 32491.1Spookafi 32501.1Spooka 32511.1Spooka 32521.1Spookaac_ext=c 32531.1Spookaac_cpp='$CPP $CPPFLAGS' 32541.1Spookaac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 32551.1Spookaac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 32561.1Spookaac_compiler_gnu=$ac_cv_c_compiler_gnu 32571.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 32581.1Spooka$as_echo_n "checking how to run the C preprocessor... " >&6; } 32591.1Spooka# On Suns, sometimes $CPP names a directory. 32601.1Spookaif test -n "$CPP" && test -d "$CPP"; then 32611.1Spooka CPP= 32621.1Spookafi 32631.1Spookaif test -z "$CPP"; then 32641.1Spooka if ${ac_cv_prog_CPP+:} false; then : 32651.1Spooka $as_echo_n "(cached) " >&6 32661.1Spookaelse 32671.1Spooka # Double quotes because CPP needs to be expanded 32681.1Spooka for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 32691.1Spooka do 32701.1Spooka ac_preproc_ok=false 32711.1Spookafor ac_c_preproc_warn_flag in '' yes 32721.1Spookado 32731.1Spooka # Use a header file that comes with gcc, so configuring glibc 32741.1Spooka # with a fresh cross-compiler works. 32751.1Spooka # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 32761.1Spooka # <limits.h> exists even on freestanding compilers. 32771.1Spooka # On the NeXT, cc -E runs the code through the compiler's parser, 32781.1Spooka # not just through cpp. "Syntax error" is here to catch this case. 32791.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32801.1Spooka/* end confdefs.h. */ 32811.1Spooka#ifdef __STDC__ 32821.1Spooka# include <limits.h> 32831.1Spooka#else 32841.1Spooka# include <assert.h> 32851.1Spooka#endif 32861.1Spooka Syntax error 32871.1Spooka_ACEOF 32881.1Spookaif ac_fn_c_try_cpp "$LINENO"; then : 32891.1Spooka 32901.1Spookaelse 32911.1Spooka # Broken: fails on valid input. 32921.1Spookacontinue 32931.1Spookafi 32941.1Spookarm -f conftest.err conftest.i conftest.$ac_ext 32951.1Spooka 32961.1Spooka # OK, works on sane cases. Now check whether nonexistent headers 32971.1Spooka # can be detected and how. 32981.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32991.1Spooka/* end confdefs.h. */ 33001.1Spooka#include <ac_nonexistent.h> 33011.1Spooka_ACEOF 33021.1Spookaif ac_fn_c_try_cpp "$LINENO"; then : 33031.1Spooka # Broken: success on invalid input. 33041.1Spookacontinue 33051.1Spookaelse 33061.1Spooka # Passes both tests. 33071.1Spookaac_preproc_ok=: 33081.1Spookabreak 33091.1Spookafi 33101.1Spookarm -f conftest.err conftest.i conftest.$ac_ext 33111.1Spooka 33121.1Spookadone 33131.1Spooka# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 33141.1Spookarm -f conftest.i conftest.err conftest.$ac_ext 33151.1Spookaif $ac_preproc_ok; then : 33161.1Spooka break 33171.1Spookafi 33181.1Spooka 33191.1Spooka done 33201.1Spooka ac_cv_prog_CPP=$CPP 33211.1Spooka 33221.1Spookafi 33231.1Spooka CPP=$ac_cv_prog_CPP 33241.1Spookaelse 33251.1Spooka ac_cv_prog_CPP=$CPP 33261.1Spookafi 33271.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 33281.1Spooka$as_echo "$CPP" >&6; } 33291.1Spookaac_preproc_ok=false 33301.1Spookafor ac_c_preproc_warn_flag in '' yes 33311.1Spookado 33321.1Spooka # Use a header file that comes with gcc, so configuring glibc 33331.1Spooka # with a fresh cross-compiler works. 33341.1Spooka # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 33351.1Spooka # <limits.h> exists even on freestanding compilers. 33361.1Spooka # On the NeXT, cc -E runs the code through the compiler's parser, 33371.1Spooka # not just through cpp. "Syntax error" is here to catch this case. 33381.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33391.1Spooka/* end confdefs.h. */ 33401.1Spooka#ifdef __STDC__ 33411.1Spooka# include <limits.h> 33421.1Spooka#else 33431.1Spooka# include <assert.h> 33441.1Spooka#endif 33451.1Spooka Syntax error 33461.1Spooka_ACEOF 33471.1Spookaif ac_fn_c_try_cpp "$LINENO"; then : 33481.1Spooka 33491.1Spookaelse 33501.1Spooka # Broken: fails on valid input. 33511.1Spookacontinue 33521.1Spookafi 33531.1Spookarm -f conftest.err conftest.i conftest.$ac_ext 33541.1Spooka 33551.1Spooka # OK, works on sane cases. Now check whether nonexistent headers 33561.1Spooka # can be detected and how. 33571.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33581.1Spooka/* end confdefs.h. */ 33591.1Spooka#include <ac_nonexistent.h> 33601.1Spooka_ACEOF 33611.1Spookaif ac_fn_c_try_cpp "$LINENO"; then : 33621.1Spooka # Broken: success on invalid input. 33631.1Spookacontinue 33641.1Spookaelse 33651.1Spooka # Passes both tests. 33661.1Spookaac_preproc_ok=: 33671.1Spookabreak 33681.1Spookafi 33691.1Spookarm -f conftest.err conftest.i conftest.$ac_ext 33701.1Spooka 33711.1Spookadone 33721.1Spooka# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 33731.1Spookarm -f conftest.i conftest.err conftest.$ac_ext 33741.1Spookaif $ac_preproc_ok; then : 33751.1Spooka 33761.1Spookaelse 33771.1Spooka { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 33781.1Spooka$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 33791.1Spookaas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 33801.1SpookaSee \`config.log' for more details" "$LINENO" 5; } 33811.1Spookafi 33821.1Spooka 33831.1Spookaac_ext=c 33841.1Spookaac_cpp='$CPP $CPPFLAGS' 33851.1Spookaac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 33861.1Spookaac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 33871.1Spookaac_compiler_gnu=$ac_cv_c_compiler_gnu 33881.1Spooka 33891.1Spooka 33901.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 33911.1Spooka$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 33921.1Spookaif ${ac_cv_path_GREP+:} false; then : 33931.1Spooka $as_echo_n "(cached) " >&6 33941.1Spookaelse 33951.1Spooka if test -z "$GREP"; then 33961.1Spooka ac_path_GREP_found=false 33971.1Spooka # Loop through the user's path and test for each of PROGNAME-LIST 33981.1Spooka as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 33991.1Spookafor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 34001.1Spookado 34011.1Spooka IFS=$as_save_IFS 34021.1Spooka test -z "$as_dir" && as_dir=. 34031.1Spooka for ac_prog in grep ggrep; do 34041.1Spooka for ac_exec_ext in '' $ac_executable_extensions; do 34051.1Spooka ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 34061.1Spooka as_fn_executable_p "$ac_path_GREP" || continue 34071.1Spooka# Check for GNU ac_path_GREP and select it if it is found. 34081.1Spooka # Check for GNU $ac_path_GREP 34091.1Spookacase `"$ac_path_GREP" --version 2>&1` in 34101.1Spooka*GNU*) 34111.1Spooka ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 34121.1Spooka*) 34131.1Spooka ac_count=0 34141.1Spooka $as_echo_n 0123456789 >"conftest.in" 34151.1Spooka while : 34161.1Spooka do 34171.1Spooka cat "conftest.in" "conftest.in" >"conftest.tmp" 34181.1Spooka mv "conftest.tmp" "conftest.in" 34191.1Spooka cp "conftest.in" "conftest.nl" 34201.1Spooka $as_echo 'GREP' >> "conftest.nl" 34211.1Spooka "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 34221.1Spooka diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 34231.1Spooka as_fn_arith $ac_count + 1 && ac_count=$as_val 34241.1Spooka if test $ac_count -gt ${ac_path_GREP_max-0}; then 34251.1Spooka # Best one so far, save it but keep looking for a better one 34261.1Spooka ac_cv_path_GREP="$ac_path_GREP" 34271.1Spooka ac_path_GREP_max=$ac_count 34281.1Spooka fi 34291.1Spooka # 10*(2^10) chars as input seems more than enough 34301.1Spooka test $ac_count -gt 10 && break 34311.1Spooka done 34321.1Spooka rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 34331.1Spookaesac 34341.1Spooka 34351.1Spooka $ac_path_GREP_found && break 3 34361.1Spooka done 34371.1Spooka done 34381.1Spooka done 34391.1SpookaIFS=$as_save_IFS 34401.1Spooka if test -z "$ac_cv_path_GREP"; then 34411.1Spooka as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 34421.1Spooka fi 34431.1Spookaelse 34441.1Spooka ac_cv_path_GREP=$GREP 34451.1Spookafi 34461.1Spooka 34471.1Spookafi 34481.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 34491.1Spooka$as_echo "$ac_cv_path_GREP" >&6; } 34501.1Spooka GREP="$ac_cv_path_GREP" 34511.1Spooka 34521.1Spooka 34531.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 34541.1Spooka$as_echo_n "checking for egrep... " >&6; } 34551.1Spookaif ${ac_cv_path_EGREP+:} false; then : 34561.1Spooka $as_echo_n "(cached) " >&6 34571.1Spookaelse 34581.1Spooka if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 34591.1Spooka then ac_cv_path_EGREP="$GREP -E" 34601.1Spooka else 34611.1Spooka if test -z "$EGREP"; then 34621.1Spooka ac_path_EGREP_found=false 34631.1Spooka # Loop through the user's path and test for each of PROGNAME-LIST 34641.1Spooka as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 34651.1Spookafor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 34661.1Spookado 34671.1Spooka IFS=$as_save_IFS 34681.1Spooka test -z "$as_dir" && as_dir=. 34691.1Spooka for ac_prog in egrep; do 34701.1Spooka for ac_exec_ext in '' $ac_executable_extensions; do 34711.1Spooka ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 34721.1Spooka as_fn_executable_p "$ac_path_EGREP" || continue 34731.1Spooka# Check for GNU ac_path_EGREP and select it if it is found. 34741.1Spooka # Check for GNU $ac_path_EGREP 34751.1Spookacase `"$ac_path_EGREP" --version 2>&1` in 34761.1Spooka*GNU*) 34771.1Spooka ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 34781.1Spooka*) 34791.1Spooka ac_count=0 34801.1Spooka $as_echo_n 0123456789 >"conftest.in" 34811.1Spooka while : 34821.1Spooka do 34831.1Spooka cat "conftest.in" "conftest.in" >"conftest.tmp" 34841.1Spooka mv "conftest.tmp" "conftest.in" 34851.1Spooka cp "conftest.in" "conftest.nl" 34861.1Spooka $as_echo 'EGREP' >> "conftest.nl" 34871.1Spooka "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 34881.1Spooka diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 34891.1Spooka as_fn_arith $ac_count + 1 && ac_count=$as_val 34901.1Spooka if test $ac_count -gt ${ac_path_EGREP_max-0}; then 34911.1Spooka # Best one so far, save it but keep looking for a better one 34921.1Spooka ac_cv_path_EGREP="$ac_path_EGREP" 34931.1Spooka ac_path_EGREP_max=$ac_count 34941.1Spooka fi 34951.1Spooka # 10*(2^10) chars as input seems more than enough 34961.1Spooka test $ac_count -gt 10 && break 34971.1Spooka done 34981.1Spooka rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 34991.1Spookaesac 35001.1Spooka 35011.1Spooka $ac_path_EGREP_found && break 3 35021.1Spooka done 35031.1Spooka done 35041.1Spooka done 35051.1SpookaIFS=$as_save_IFS 35061.1Spooka if test -z "$ac_cv_path_EGREP"; then 35071.1Spooka as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 35081.1Spooka fi 35091.1Spookaelse 35101.1Spooka ac_cv_path_EGREP=$EGREP 35111.1Spookafi 35121.1Spooka 35131.1Spooka fi 35141.1Spookafi 35151.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 35161.1Spooka$as_echo "$ac_cv_path_EGREP" >&6; } 35171.1Spooka EGREP="$ac_cv_path_EGREP" 35181.1Spooka 35191.1Spooka 35201.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 35211.1Spooka$as_echo_n "checking for ANSI C header files... " >&6; } 35221.1Spookaif ${ac_cv_header_stdc+:} false; then : 35231.1Spooka $as_echo_n "(cached) " >&6 35241.1Spookaelse 35251.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35261.1Spooka/* end confdefs.h. */ 35271.1Spooka#include <stdlib.h> 35281.1Spooka#include <stdarg.h> 35291.1Spooka#include <string.h> 35301.1Spooka#include <float.h> 35311.1Spooka 35321.1Spookaint 35331.1Spookamain () 35341.1Spooka{ 35351.1Spooka 35361.1Spooka ; 35371.1Spooka return 0; 35381.1Spooka} 35391.1Spooka_ACEOF 35401.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 35411.1Spooka ac_cv_header_stdc=yes 35421.1Spookaelse 35431.1Spooka ac_cv_header_stdc=no 35441.1Spookafi 35451.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 35461.1Spooka 35471.1Spookaif test $ac_cv_header_stdc = yes; then 35481.1Spooka # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 35491.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35501.1Spooka/* end confdefs.h. */ 35511.1Spooka#include <string.h> 35521.1Spooka 35531.1Spooka_ACEOF 35541.1Spookaif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 35551.1Spooka $EGREP "memchr" >/dev/null 2>&1; then : 35561.1Spooka 35571.1Spookaelse 35581.1Spooka ac_cv_header_stdc=no 35591.1Spookafi 35601.1Spookarm -f conftest* 35611.1Spooka 35621.1Spookafi 35631.1Spooka 35641.1Spookaif test $ac_cv_header_stdc = yes; then 35651.1Spooka # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 35661.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35671.1Spooka/* end confdefs.h. */ 35681.1Spooka#include <stdlib.h> 35691.1Spooka 35701.1Spooka_ACEOF 35711.1Spookaif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 35721.1Spooka $EGREP "free" >/dev/null 2>&1; then : 35731.1Spooka 35741.1Spookaelse 35751.1Spooka ac_cv_header_stdc=no 35761.1Spookafi 35771.1Spookarm -f conftest* 35781.1Spooka 35791.1Spookafi 35801.1Spooka 35811.1Spookaif test $ac_cv_header_stdc = yes; then 35821.1Spooka # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 35831.1Spooka if test "$cross_compiling" = yes; then : 35841.1Spooka : 35851.1Spookaelse 35861.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35871.1Spooka/* end confdefs.h. */ 35881.1Spooka#include <ctype.h> 35891.1Spooka#include <stdlib.h> 35901.1Spooka#if ((' ' & 0x0FF) == 0x020) 35911.1Spooka# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 35921.1Spooka# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 35931.1Spooka#else 35941.1Spooka# define ISLOWER(c) \ 35951.1Spooka (('a' <= (c) && (c) <= 'i') \ 35961.1Spooka || ('j' <= (c) && (c) <= 'r') \ 35971.1Spooka || ('s' <= (c) && (c) <= 'z')) 35981.1Spooka# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 35991.1Spooka#endif 36001.1Spooka 36011.1Spooka#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 36021.1Spookaint 36031.1Spookamain () 36041.1Spooka{ 36051.1Spooka int i; 36061.1Spooka for (i = 0; i < 256; i++) 36071.1Spooka if (XOR (islower (i), ISLOWER (i)) 36081.1Spooka || toupper (i) != TOUPPER (i)) 36091.1Spooka return 2; 36101.1Spooka return 0; 36111.1Spooka} 36121.1Spooka_ACEOF 36131.1Spookaif ac_fn_c_try_run "$LINENO"; then : 36141.1Spooka 36151.1Spookaelse 36161.1Spooka ac_cv_header_stdc=no 36171.1Spookafi 36181.1Spookarm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 36191.1Spooka conftest.$ac_objext conftest.beam conftest.$ac_ext 36201.1Spookafi 36211.1Spooka 36221.1Spookafi 36231.1Spookafi 36241.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 36251.1Spooka$as_echo "$ac_cv_header_stdc" >&6; } 36261.1Spookaif test $ac_cv_header_stdc = yes; then 36271.1Spooka 36281.1Spooka$as_echo "#define STDC_HEADERS 1" >>confdefs.h 36291.1Spooka 36301.1Spookafi 36311.1Spooka 36321.1Spooka# On IRIX 5.3, sys/types and inttypes.h are conflicting. 36331.1Spookafor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 36341.1Spooka inttypes.h stdint.h unistd.h 36351.1Spookado : 36361.1Spooka as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36371.1Spookaac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 36381.1Spooka" 36391.1Spookaif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36401.1Spooka cat >>confdefs.h <<_ACEOF 36411.1Spooka#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36421.1Spooka_ACEOF 36431.1Spooka 36441.1Spookafi 36451.1Spooka 36461.1Spookadone 36471.1Spooka 36481.1Spooka 36491.4Spookafor ac_header in sys/param.h sys/sysctl.h sys/disk.h \ 36501.1Spooka sys/disklabel.h sys/dkio.h sys/atomic.h paths.h 36511.1Spookado : 36521.1Spooka as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36531.1Spookaac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36541.1Spookaif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36551.1Spooka cat >>confdefs.h <<_ACEOF 36561.1Spooka#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36571.1Spooka_ACEOF 36581.1Spooka 36591.1Spookafi 36601.1Spooka 36611.1Spookadone 36621.1Spooka 36631.1Spooka 36641.1Spooka# Make sure we can run config.sub. 36651.1Spooka$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 36661.1Spooka as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 36671.1Spooka 36681.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 36691.1Spooka$as_echo_n "checking build system type... " >&6; } 36701.1Spookaif ${ac_cv_build+:} false; then : 36711.1Spooka $as_echo_n "(cached) " >&6 36721.1Spookaelse 36731.1Spooka ac_build_alias=$build_alias 36741.1Spookatest "x$ac_build_alias" = x && 36751.1Spooka ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 36761.1Spookatest "x$ac_build_alias" = x && 36771.1Spooka as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 36781.1Spookaac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 36791.1Spooka as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 36801.1Spooka 36811.1Spookafi 36821.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 36831.1Spooka$as_echo "$ac_cv_build" >&6; } 36841.1Spookacase $ac_cv_build in 36851.1Spooka*-*-*) ;; 36861.1Spooka*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 36871.1Spookaesac 36881.1Spookabuild=$ac_cv_build 36891.1Spookaac_save_IFS=$IFS; IFS='-' 36901.1Spookaset x $ac_cv_build 36911.1Spookashift 36921.1Spookabuild_cpu=$1 36931.1Spookabuild_vendor=$2 36941.1Spookashift; shift 36951.1Spooka# Remember, the first character of IFS is used to create $*, 36961.1Spooka# except with old shells: 36971.1Spookabuild_os=$* 36981.1SpookaIFS=$ac_save_IFS 36991.1Spookacase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 37001.1Spooka 37011.1Spooka 37021.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 37031.1Spooka$as_echo_n "checking host system type... " >&6; } 37041.1Spookaif ${ac_cv_host+:} false; then : 37051.1Spooka $as_echo_n "(cached) " >&6 37061.1Spookaelse 37071.1Spooka if test "x$host_alias" = x; then 37081.1Spooka ac_cv_host=$ac_cv_build 37091.1Spookaelse 37101.1Spooka ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 37111.1Spooka as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 37121.1Spookafi 37131.1Spooka 37141.1Spookafi 37151.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 37161.1Spooka$as_echo "$ac_cv_host" >&6; } 37171.1Spookacase $ac_cv_host in 37181.1Spooka*-*-*) ;; 37191.1Spooka*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 37201.1Spookaesac 37211.1Spookahost=$ac_cv_host 37221.1Spookaac_save_IFS=$IFS; IFS='-' 37231.1Spookaset x $ac_cv_host 37241.1Spookashift 37251.1Spookahost_cpu=$1 37261.1Spookahost_vendor=$2 37271.1Spookashift; shift 37281.1Spooka# Remember, the first character of IFS is used to create $*, 37291.1Spooka# except with old shells: 37301.1Spookahost_os=$* 37311.1SpookaIFS=$ac_save_IFS 37321.1Spookacase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 37331.1Spooka 37341.1Spooka 37351.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 37361.1Spooka$as_echo_n "checking target system type... " >&6; } 37371.1Spookaif ${ac_cv_target+:} false; then : 37381.1Spooka $as_echo_n "(cached) " >&6 37391.1Spookaelse 37401.1Spooka if test "x$target_alias" = x; then 37411.1Spooka ac_cv_target=$ac_cv_host 37421.1Spookaelse 37431.1Spooka ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 37441.1Spooka as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 37451.1Spookafi 37461.1Spooka 37471.1Spookafi 37481.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 37491.1Spooka$as_echo "$ac_cv_target" >&6; } 37501.1Spookacase $ac_cv_target in 37511.1Spooka*-*-*) ;; 37521.1Spooka*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 37531.1Spookaesac 37541.1Spookatarget=$ac_cv_target 37551.1Spookaac_save_IFS=$IFS; IFS='-' 37561.1Spookaset x $ac_cv_target 37571.1Spookashift 37581.1Spookatarget_cpu=$1 37591.1Spookatarget_vendor=$2 37601.1Spookashift; shift 37611.1Spooka# Remember, the first character of IFS is used to create $*, 37621.1Spooka# except with old shells: 37631.1Spookatarget_os=$* 37641.1SpookaIFS=$ac_save_IFS 37651.1Spookacase $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 37661.1Spooka 37671.1Spooka 37681.1Spooka# The aliases save the names the user supplied, while $host etc. 37691.1Spooka# will get canonicalized. 37701.1Spookatest -n "$target_alias" && 37711.1Spooka test "$program_prefix$program_suffix$program_transform_name" = \ 37721.1Spooka NONENONEs,x,x, && 37731.1Spooka program_prefix=${target_alias}- 37741.1Spooka 37751.1Spookaac_fn_c_check_type "$LINENO" "clockid_t" "ac_cv_type_clockid_t" "$ac_includes_default" 37761.1Spookaif test "x$ac_cv_type_clockid_t" = xyes; then : 37771.1Spooka 37781.1Spookacat >>confdefs.h <<_ACEOF 37791.1Spooka#define HAVE_CLOCKID_T 1 37801.1Spooka_ACEOF 37811.1Spooka 37821.1Spooka 37831.1Spookafi 37841.1Spookaac_fn_c_check_type "$LINENO" "register_t" "ac_cv_type_register_t" "$ac_includes_default" 37851.1Spookaif test "x$ac_cv_type_register_t" = xyes; then : 37861.1Spooka 37871.1Spookacat >>confdefs.h <<_ACEOF 37881.1Spooka#define HAVE_REGISTER_T 1 37891.1Spooka_ACEOF 37901.1Spooka 37911.1Spooka 37921.1Spookafi 37931.1Spooka 37941.1Spooka 37951.1Spookafor ac_func in kqueue chflags strsuftoll setprogname getprogname \ 37961.3Spooka getenv_r posix_memalign memalign aligned_alloc \ 37971.7Sozaki arc4random_buf getsubopt fsync_range __quotactl utimensat \ 37981.7Sozaki preadv pwritev 37991.1Spookado : 38001.1Spooka as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 38011.1Spookaac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 38021.1Spookaif eval test \"x\$"$as_ac_var"\" = x"yes"; then : 38031.1Spooka cat >>confdefs.h <<_ACEOF 38041.1Spooka#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 38051.1Spooka_ACEOF 38061.1Spooka 38071.1Spookafi 38081.1Spookadone 38091.1Spooka 38101.1Spooka 38111.1Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 38121.1Spooka/* end confdefs.h. */ 38131.1Spooka 38141.1Spooka/* Override any GCC internal prototype to avoid an error. 38151.1Spooka Use char because int might match the return type of a GCC 38161.1Spooka builtin and then its argument prototype would still apply. */ 38171.1Spooka#ifdef __cplusplus 38181.1Spookaextern "C" 38191.1Spooka#endif 38201.1Spookachar clock_nanosleep (); 38211.1Spookaint 38221.1Spookamain () 38231.1Spooka{ 38241.1Spookareturn clock_nanosleep (); 38251.1Spooka ; 38261.1Spooka return 0; 38271.1Spooka} 38281.1Spooka_ACEOF 38291.1Spookaif ac_fn_c_try_link "$LINENO"; then : 38301.1Spooka 38311.1Spookaelse 38321.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_nanosleep in -lrt" >&5 38331.1Spooka$as_echo_n "checking for clock_nanosleep in -lrt... " >&6; } 38341.1Spookaif ${ac_cv_lib_rt_clock_nanosleep+:} false; then : 38351.1Spooka $as_echo_n "(cached) " >&6 38361.1Spookaelse 38371.1Spooka ac_check_lib_save_LIBS=$LIBS 38381.1SpookaLIBS="-lrt $LIBS" 38391.1Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 38401.1Spooka/* end confdefs.h. */ 38411.1Spooka 38421.1Spooka/* Override any GCC internal prototype to avoid an error. 38431.1Spooka Use char because int might match the return type of a GCC 38441.1Spooka builtin and then its argument prototype would still apply. */ 38451.1Spooka#ifdef __cplusplus 38461.1Spookaextern "C" 38471.1Spooka#endif 38481.1Spookachar clock_nanosleep (); 38491.1Spookaint 38501.1Spookamain () 38511.1Spooka{ 38521.1Spookareturn clock_nanosleep (); 38531.1Spooka ; 38541.1Spooka return 0; 38551.1Spooka} 38561.1Spooka_ACEOF 38571.1Spookaif ac_fn_c_try_link "$LINENO"; then : 38581.1Spooka ac_cv_lib_rt_clock_nanosleep=yes 38591.1Spookaelse 38601.1Spooka ac_cv_lib_rt_clock_nanosleep=no 38611.1Spookafi 38621.1Spookarm -f core conftest.err conftest.$ac_objext \ 38631.1Spooka conftest$ac_exeext conftest.$ac_ext 38641.1SpookaLIBS=$ac_check_lib_save_LIBS 38651.1Spookafi 38661.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_nanosleep" >&5 38671.1Spooka$as_echo "$ac_cv_lib_rt_clock_nanosleep" >&6; } 38681.1Spookaif test "x$ac_cv_lib_rt_clock_nanosleep" = xyes; then : 38691.1Spooka cat >>confdefs.h <<_ACEOF 38701.1Spooka#define HAVE_LIBRT 1 38711.1Spooka_ACEOF 38721.1Spooka 38731.1Spooka LIBS="-lrt $LIBS" 38741.1Spooka 38751.1Spookafi 38761.1Spooka 38771.1Spooka 38781.1Spookafi 38791.1Spookarm -f core conftest.err conftest.$ac_objext \ 38801.1Spooka conftest$ac_exeext conftest.$ac_ext 38811.3Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 38821.3Spooka$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 38831.3Spookaif ${ac_cv_lib_rt_clock_gettime+:} false; then : 38841.3Spooka $as_echo_n "(cached) " >&6 38851.3Spookaelse 38861.3Spooka ac_check_lib_save_LIBS=$LIBS 38871.3SpookaLIBS="-lrt $LIBS" 38881.3Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 38891.3Spooka/* end confdefs.h. */ 38901.3Spooka 38911.3Spooka/* Override any GCC internal prototype to avoid an error. 38921.3Spooka Use char because int might match the return type of a GCC 38931.3Spooka builtin and then its argument prototype would still apply. */ 38941.3Spooka#ifdef __cplusplus 38951.3Spookaextern "C" 38961.3Spooka#endif 38971.3Spookachar clock_gettime (); 38981.3Spookaint 38991.3Spookamain () 39001.3Spooka{ 39011.3Spookareturn clock_gettime (); 39021.3Spooka ; 39031.3Spooka return 0; 39041.3Spooka} 39051.3Spooka_ACEOF 39061.3Spookaif ac_fn_c_try_link "$LINENO"; then : 39071.3Spooka ac_cv_lib_rt_clock_gettime=yes 39081.3Spookaelse 39091.3Spooka ac_cv_lib_rt_clock_gettime=no 39101.3Spookafi 39111.3Spookarm -f core conftest.err conftest.$ac_objext \ 39121.3Spooka conftest$ac_exeext conftest.$ac_ext 39131.3SpookaLIBS=$ac_check_lib_save_LIBS 39141.3Spookafi 39151.3Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 39161.3Spooka$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 39171.3Spookaif test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : 39181.3Spooka 39191.3Spooka$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h 39201.3Spooka 39211.3Spookaelse 39221.3Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39231.3Spooka/* end confdefs.h. */ 39241.3Spooka 39251.3Spooka/* Override any GCC internal prototype to avoid an error. 39261.3Spooka Use char because int might match the return type of a GCC 39271.3Spooka builtin and then its argument prototype would still apply. */ 39281.3Spooka#ifdef __cplusplus 39291.3Spookaextern "C" 39301.3Spooka#endif 39311.3Spookachar clock_gettime (); 39321.3Spookaint 39331.3Spookamain () 39341.3Spooka{ 39351.3Spookareturn clock_gettime (); 39361.3Spooka ; 39371.3Spooka return 0; 39381.3Spooka} 39391.3Spooka_ACEOF 39401.3Spookaif ac_fn_c_try_link "$LINENO"; then : 39411.3Spooka 39421.3Spooka$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h 39431.3Spooka 39441.3Spookafi 39451.3Spookarm -f core conftest.err conftest.$ac_objext \ 39461.3Spooka conftest$ac_exeext conftest.$ac_ext 39471.3Spookafi 39481.3Spooka 39491.2Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_nanosleep in -lrt" >&5 39501.2Spooka$as_echo_n "checking for clock_nanosleep in -lrt... " >&6; } 39511.2Spookaif ${ac_cv_lib_rt_clock_nanosleep+:} false; then : 39521.2Spooka $as_echo_n "(cached) " >&6 39531.2Spookaelse 39541.2Spooka ac_check_lib_save_LIBS=$LIBS 39551.2SpookaLIBS="-lrt $LIBS" 39561.1Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 39571.1Spooka/* end confdefs.h. */ 39581.1Spooka 39591.1Spooka/* Override any GCC internal prototype to avoid an error. 39601.1Spooka Use char because int might match the return type of a GCC 39611.1Spooka builtin and then its argument prototype would still apply. */ 39621.1Spooka#ifdef __cplusplus 39631.1Spookaextern "C" 39641.1Spooka#endif 39651.2Spookachar clock_nanosleep (); 39661.1Spookaint 39671.1Spookamain () 39681.1Spooka{ 39691.2Spookareturn clock_nanosleep (); 39701.1Spooka ; 39711.1Spooka return 0; 39721.1Spooka} 39731.1Spooka_ACEOF 39741.1Spookaif ac_fn_c_try_link "$LINENO"; then : 39751.2Spooka ac_cv_lib_rt_clock_nanosleep=yes 39761.2Spookaelse 39771.2Spooka ac_cv_lib_rt_clock_nanosleep=no 39781.2Spookafi 39791.2Spookarm -f core conftest.err conftest.$ac_objext \ 39801.2Spooka conftest$ac_exeext conftest.$ac_ext 39811.2SpookaLIBS=$ac_check_lib_save_LIBS 39821.2Spookafi 39831.2Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_nanosleep" >&5 39841.2Spooka$as_echo "$ac_cv_lib_rt_clock_nanosleep" >&6; } 39851.2Spookaif test "x$ac_cv_lib_rt_clock_nanosleep" = xyes; then : 39861.2Spooka 39871.2Spooka$as_echo "#define HAVE_CLOCK_NANOSLEEP 1" >>confdefs.h 39881.1Spooka 39891.1Spookaelse 39901.2Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39911.1Spooka/* end confdefs.h. */ 39921.1Spooka 39931.1Spooka/* Override any GCC internal prototype to avoid an error. 39941.1Spooka Use char because int might match the return type of a GCC 39951.1Spooka builtin and then its argument prototype would still apply. */ 39961.1Spooka#ifdef __cplusplus 39971.1Spookaextern "C" 39981.1Spooka#endif 39991.2Spookachar clock_nanosleep (); 40001.1Spookaint 40011.1Spookamain () 40021.1Spooka{ 40031.2Spookareturn clock_nanosleep (); 40041.1Spooka ; 40051.1Spooka return 0; 40061.1Spooka} 40071.1Spooka_ACEOF 40081.1Spookaif ac_fn_c_try_link "$LINENO"; then : 40091.2Spooka 40101.2Spooka$as_echo "#define HAVE_CLOCK_NANOSLEEP 1" >>confdefs.h 40111.2Spooka 40121.1Spookafi 40131.1Spookarm -f core conftest.err conftest.$ac_objext \ 40141.1Spooka conftest$ac_exeext conftest.$ac_ext 40151.1Spookafi 40161.1Spooka 40171.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlinfo in -ldl" >&5 40181.1Spooka$as_echo_n "checking for dlinfo in -ldl... " >&6; } 40191.1Spookaif ${ac_cv_lib_dl_dlinfo+:} false; then : 40201.1Spooka $as_echo_n "(cached) " >&6 40211.1Spookaelse 40221.1Spooka ac_check_lib_save_LIBS=$LIBS 40231.1SpookaLIBS="-ldl $LIBS" 40241.1Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 40251.1Spooka/* end confdefs.h. */ 40261.1Spooka 40271.1Spooka/* Override any GCC internal prototype to avoid an error. 40281.1Spooka Use char because int might match the return type of a GCC 40291.1Spooka builtin and then its argument prototype would still apply. */ 40301.1Spooka#ifdef __cplusplus 40311.1Spookaextern "C" 40321.1Spooka#endif 40331.1Spookachar dlinfo (); 40341.1Spookaint 40351.1Spookamain () 40361.1Spooka{ 40371.1Spookareturn dlinfo (); 40381.1Spooka ; 40391.1Spooka return 0; 40401.1Spooka} 40411.1Spooka_ACEOF 40421.1Spookaif ac_fn_c_try_link "$LINENO"; then : 40431.1Spooka ac_cv_lib_dl_dlinfo=yes 40441.1Spookaelse 40451.1Spooka ac_cv_lib_dl_dlinfo=no 40461.1Spookafi 40471.1Spookarm -f core conftest.err conftest.$ac_objext \ 40481.1Spooka conftest$ac_exeext conftest.$ac_ext 40491.1SpookaLIBS=$ac_check_lib_save_LIBS 40501.1Spookafi 40511.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlinfo" >&5 40521.1Spooka$as_echo "$ac_cv_lib_dl_dlinfo" >&6; } 40531.1Spookaif test "x$ac_cv_lib_dl_dlinfo" = xyes; then : 40541.1Spooka 40551.1Spooka$as_echo "#define HAVE_DLINFO 1" >>confdefs.h 40561.1Spooka 40571.1Spookaelse 40581.1Spooka cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40591.1Spooka/* end confdefs.h. */ 40601.1Spooka 40611.1Spooka/* Override any GCC internal prototype to avoid an error. 40621.1Spooka Use char because int might match the return type of a GCC 40631.1Spooka builtin and then its argument prototype would still apply. */ 40641.1Spooka#ifdef __cplusplus 40651.1Spookaextern "C" 40661.1Spooka#endif 40671.1Spookachar dlinfo (); 40681.1Spookaint 40691.1Spookamain () 40701.1Spooka{ 40711.1Spookareturn dlinfo (); 40721.1Spooka ; 40731.1Spooka return 0; 40741.1Spooka} 40751.1Spooka_ACEOF 40761.1Spookaif ac_fn_c_try_link "$LINENO"; then : 40771.1Spooka 40781.1Spooka$as_echo "#define HAVE_DLINFO 1" >>confdefs.h 40791.1Spooka 40801.1Spookafi 40811.1Spookarm -f core conftest.err conftest.$ac_objext \ 40821.1Spooka conftest$ac_exeext conftest.$ac_ext 40831.1Spookafi 40841.1Spooka 40851.1Spooka 40861.1Spookaac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <netinet/in.h> 40871.1Spooka" 40881.1Spookaif test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : 40891.1Spooka 40901.1Spookacat >>confdefs.h <<_ACEOF 40911.1Spooka#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 40921.1Spooka_ACEOF 40931.1Spooka 40941.1Spooka 40951.1Spookafi 40961.1Spooka 40971.1Spooka 40981.1SpookaSAVE_CFLAGS="${CFLAGS}" 40991.1SpookaCFLAGS="${SAVE_CFLAGS} -Werror" 41001.4Spooka 41011.4Spookafor ac_header in sys/cdefs.h 41021.4Spookado : 41031.4Spooka ac_fn_c_check_header_compile "$LINENO" "sys/cdefs.h" "ac_cv_header_sys_cdefs_h" "#include <sys/cdefs.h> 41041.4Spooka" 41051.4Spookaif test "x$ac_cv_header_sys_cdefs_h" = xyes; then : 41061.4Spooka cat >>confdefs.h <<_ACEOF 41071.4Spooka#define HAVE_SYS_CDEFS_H 1 41081.4Spooka_ACEOF 41091.4Spooka 41101.4Spookafi 41111.4Spooka 41121.4Spookadone 41131.4Spooka 41141.4Spooka 41151.1SpookaSAVE_LIBS="${LIBS}" 41161.1SpookaLIBS="${LIBS} -lpthread" 41171.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument pthread_setname_np()" >&5 41181.1Spooka$as_echo_n "checking for two-argument pthread_setname_np()... " >&6; } 41191.1Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 41201.1Spooka/* end confdefs.h. */ 41211.1Spooka#define _GNU_SOURCE 41221.1Spooka #include <pthread.h> 41231.1Spookaint 41241.1Spookamain () 41251.1Spooka{ 41261.1Spookapthread_t pt; 41271.1Spooka pthread_setname_np(pt, "x");return 0; 41281.1Spooka ; 41291.1Spooka return 0; 41301.1Spooka} 41311.1Spooka 41321.1Spooka_ACEOF 41331.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 41341.1Spooka 41351.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 41361.1Spooka$as_echo "yes" >&6; } 41371.1Spooka 41381.1Spooka$as_echo "#define HAVE_PTHREAD_SETNAME2 1" >>confdefs.h 41391.1Spooka 41401.1Spooka 41411.1Spookaelse 41421.1Spooka 41431.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41441.1Spooka$as_echo "no" >&6; } 41451.1Spooka 41461.1Spookafi 41471.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41481.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for three-argument pthread_setname_np()" >&5 41491.1Spooka$as_echo_n "checking for three-argument pthread_setname_np()... " >&6; } 41501.1Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 41511.1Spooka/* end confdefs.h. */ 41521.1Spooka#define _GNU_SOURCE 41531.1Spooka #include <pthread.h> 41541.1Spookaint 41551.1Spookamain () 41561.1Spooka{ 41571.1Spookapthread_t pt; 41581.1Spooka pthread_setname_np(pt, "X", (void *)0);return 0; 41591.1Spooka ; 41601.1Spooka return 0; 41611.1Spooka} 41621.1Spooka 41631.1Spooka_ACEOF 41641.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 41651.1Spooka 41661.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 41671.1Spooka$as_echo "yes" >&6; } 41681.1Spooka 41691.1Spooka$as_echo "#define HAVE_PTHREAD_SETNAME3 1" >>confdefs.h 41701.1Spooka 41711.1Spooka 41721.1Spookaelse 41731.1Spooka 41741.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41751.1Spooka$as_echo "no" >&6; } 41761.1Spooka 41771.1Spookafi 41781.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41791.1SpookaLIBS="${SAVELIBS}" 41801.1Spooka 41811.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl cmd being int" >&5 41821.1Spooka$as_echo_n "checking for ioctl cmd being int... " >&6; } 41831.1Spookacat confdefs.h - <<_ACEOF >conftest.$ac_ext 41841.1Spooka/* end confdefs.h. */ 41851.1Spooka#include <sys/ioctl.h> 41861.1Spooka #include <unistd.h> 41871.1Spooka int ioctl(int fd, int, ...); 41881.1Spookaint 41891.1Spookamain () 41901.1Spooka{ 41911.1Spooka 41921.1Spooka return 0; 41931.1Spooka ; 41941.1Spooka return 0; 41951.1Spooka} 41961.1Spooka 41971.1Spooka_ACEOF 41981.1Spookaif ac_fn_c_try_compile "$LINENO"; then : 41991.1Spooka 42001.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 42011.1Spooka$as_echo "yes" >&6; } 42021.1Spooka 42031.1Spooka$as_echo "#define HAVE_IOCTL_CMD_INT 1" >>confdefs.h 42041.1Spooka 42051.1Spooka 42061.1Spookaelse 42071.1Spooka 42081.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42091.1Spooka$as_echo "no" >&6; } 42101.1Spooka 42111.1Spookafi 42121.1Spookarm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 42131.1SpookaCFLAGS="${SAVE_CFLAGS}" 42141.1Spooka 42151.1Spookacat >confcache <<\_ACEOF 42161.1Spooka# This file is a shell script that caches the results of configure 42171.1Spooka# tests run on this system so they can be shared between configure 42181.1Spooka# scripts and configure runs, see configure's option --config-cache. 42191.1Spooka# It is not useful on other systems. If it contains results you don't 42201.1Spooka# want to keep, you may remove or edit it. 42211.1Spooka# 42221.1Spooka# config.status only pays attention to the cache file if you give it 42231.1Spooka# the --recheck option to rerun configure. 42241.1Spooka# 42251.1Spooka# `ac_cv_env_foo' variables (set or unset) will be overridden when 42261.1Spooka# loading this file, other *unset* `ac_cv_foo' will be assigned the 42271.1Spooka# following values. 42281.1Spooka 42291.1Spooka_ACEOF 42301.1Spooka 42311.1Spooka# The following way of writing the cache mishandles newlines in values, 42321.1Spooka# but we know of no workaround that is simple, portable, and efficient. 42331.1Spooka# So, we kill variables containing newlines. 42341.1Spooka# Ultrix sh set writes to stderr and can't be redirected directly, 42351.1Spooka# and sets the high bit in the cache file unless we assign to the vars. 42361.1Spooka( 42371.1Spooka for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 42381.1Spooka eval ac_val=\$$ac_var 42391.1Spooka case $ac_val in #( 42401.1Spooka *${as_nl}*) 42411.1Spooka case $ac_var in #( 42421.1Spooka *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 42431.1Spooka$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 42441.1Spooka esac 42451.1Spooka case $ac_var in #( 42461.1Spooka _ | IFS | as_nl) ;; #( 42471.1Spooka BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 42481.1Spooka *) { eval $ac_var=; unset $ac_var;} ;; 42491.1Spooka esac ;; 42501.1Spooka esac 42511.1Spooka done 42521.1Spooka 42531.1Spooka (set) 2>&1 | 42541.1Spooka case $as_nl`(ac_space=' '; set) 2>&1` in #( 42551.1Spooka *${as_nl}ac_space=\ *) 42561.1Spooka # `set' does not quote correctly, so add quotes: double-quote 42571.1Spooka # substitution turns \\\\ into \\, and sed turns \\ into \. 42581.1Spooka sed -n \ 42591.1Spooka "s/'/'\\\\''/g; 42601.1Spooka s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 42611.1Spooka ;; #( 42621.1Spooka *) 42631.1Spooka # `set' quotes correctly as required by POSIX, so do not add quotes. 42641.1Spooka sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 42651.1Spooka ;; 42661.1Spooka esac | 42671.1Spooka sort 42681.1Spooka) | 42691.1Spooka sed ' 42701.1Spooka /^ac_cv_env_/b end 42711.1Spooka t clear 42721.1Spooka :clear 42731.1Spooka s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 42741.1Spooka t end 42751.1Spooka s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 42761.1Spooka :end' >>confcache 42771.1Spookaif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 42781.1Spooka if test -w "$cache_file"; then 42791.1Spooka if test "x$cache_file" != "x/dev/null"; then 42801.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 42811.1Spooka$as_echo "$as_me: updating cache $cache_file" >&6;} 42821.1Spooka if test ! -f "$cache_file" || test -h "$cache_file"; then 42831.1Spooka cat confcache >"$cache_file" 42841.1Spooka else 42851.1Spooka case $cache_file in #( 42861.1Spooka */* | ?:*) 42871.1Spooka mv -f confcache "$cache_file"$$ && 42881.1Spooka mv -f "$cache_file"$$ "$cache_file" ;; #( 42891.1Spooka *) 42901.1Spooka mv -f confcache "$cache_file" ;; 42911.1Spooka esac 42921.1Spooka fi 42931.1Spooka fi 42941.1Spooka else 42951.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 42961.1Spooka$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 42971.1Spooka fi 42981.1Spookafi 42991.1Spookarm -f confcache 43001.1Spooka 43011.1Spookatest "x$prefix" = xNONE && prefix=$ac_default_prefix 43021.1Spooka# Let make expand exec_prefix. 43031.1Spookatest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 43041.1Spooka 43051.1SpookaDEFS=-DHAVE_CONFIG_H 43061.1Spooka 43071.1Spookaac_libobjs= 43081.1Spookaac_ltlibobjs= 43091.1SpookaU= 43101.1Spookafor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 43111.1Spooka # 1. Remove the extension, and $U if already installed. 43121.1Spooka ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 43131.1Spooka ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 43141.1Spooka # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 43151.1Spooka # will be set to the directory where LIBOBJS objects are built. 43161.1Spooka as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 43171.1Spooka as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 43181.1Spookadone 43191.1SpookaLIBOBJS=$ac_libobjs 43201.1Spooka 43211.1SpookaLTLIBOBJS=$ac_ltlibobjs 43221.1Spooka 43231.1Spooka 43241.1Spooka 43251.1Spooka: "${CONFIG_STATUS=./config.status}" 43261.1Spookaac_write_fail=0 43271.1Spookaac_clean_files_save=$ac_clean_files 43281.1Spookaac_clean_files="$ac_clean_files $CONFIG_STATUS" 43291.1Spooka{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 43301.1Spooka$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 43311.1Spookaas_write_fail=0 43321.1Spookacat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 43331.1Spooka#! $SHELL 43341.1Spooka# Generated by $as_me. 43351.1Spooka# Run this file to recreate the current configuration. 43361.1Spooka# Compiler output produced by configure, useful for debugging 43371.1Spooka# configure, is in config.log if it exists. 43381.1Spooka 43391.1Spookadebug=false 43401.1Spookaac_cs_recheck=false 43411.1Spookaac_cs_silent=false 43421.1Spooka 43431.1SpookaSHELL=\${CONFIG_SHELL-$SHELL} 43441.1Spookaexport SHELL 43451.1Spooka_ASEOF 43461.1Spookacat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 43471.1Spooka## -------------------- ## 43481.1Spooka## M4sh Initialization. ## 43491.1Spooka## -------------------- ## 43501.1Spooka 43511.1Spooka# Be more Bourne compatible 43521.1SpookaDUALCASE=1; export DUALCASE # for MKS sh 43531.1Spookaif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 43541.1Spooka emulate sh 43551.1Spooka NULLCMD=: 43561.1Spooka # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 43571.1Spooka # is contrary to our usage. Disable this feature. 43581.1Spooka alias -g '${1+"$@"}'='"$@"' 43591.1Spooka setopt NO_GLOB_SUBST 43601.1Spookaelse 43611.1Spooka case `(set -o) 2>/dev/null` in #( 43621.1Spooka *posix*) : 43631.1Spooka set -o posix ;; #( 43641.1Spooka *) : 43651.1Spooka ;; 43661.1Spookaesac 43671.1Spookafi 43681.1Spooka 43691.1Spooka 43701.1Spookaas_nl=' 43711.1Spooka' 43721.1Spookaexport as_nl 43731.1Spooka# Printing a long string crashes Solaris 7 /usr/bin/printf. 43741.1Spookaas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43751.1Spookaas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 43761.1Spookaas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43771.1Spooka# Prefer a ksh shell builtin over an external printf program on Solaris, 43781.1Spooka# but without wasting forks for bash or zsh. 43791.1Spookaif test -z "$BASH_VERSION$ZSH_VERSION" \ 43801.1Spooka && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 43811.1Spooka as_echo='print -r --' 43821.1Spooka as_echo_n='print -rn --' 43831.1Spookaelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 43841.1Spooka as_echo='printf %s\n' 43851.1Spooka as_echo_n='printf %s' 43861.1Spookaelse 43871.1Spooka if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 43881.1Spooka as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 43891.1Spooka as_echo_n='/usr/ucb/echo -n' 43901.1Spooka else 43911.1Spooka as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 43921.1Spooka as_echo_n_body='eval 43931.1Spooka arg=$1; 43941.1Spooka case $arg in #( 43951.1Spooka *"$as_nl"*) 43961.1Spooka expr "X$arg" : "X\\(.*\\)$as_nl"; 43971.1Spooka arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 43981.1Spooka esac; 43991.1Spooka expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 44001.1Spooka ' 44011.1Spooka export as_echo_n_body 44021.1Spooka as_echo_n='sh -c $as_echo_n_body as_echo' 44031.1Spooka fi 44041.1Spooka export as_echo_body 44051.1Spooka as_echo='sh -c $as_echo_body as_echo' 44061.1Spookafi 44071.1Spooka 44081.1Spooka# The user is always right. 44091.1Spookaif test "${PATH_SEPARATOR+set}" != set; then 44101.1Spooka PATH_SEPARATOR=: 44111.1Spooka (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 44121.1Spooka (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 44131.1Spooka PATH_SEPARATOR=';' 44141.1Spooka } 44151.1Spookafi 44161.1Spooka 44171.1Spooka 44181.1Spooka# IFS 44191.1Spooka# We need space, tab and new line, in precisely that order. Quoting is 44201.1Spooka# there to prevent editors from complaining about space-tab. 44211.1Spooka# (If _AS_PATH_WALK were called with IFS unset, it would disable word 44221.1Spooka# splitting by setting IFS to empty value.) 44231.1SpookaIFS=" "" $as_nl" 44241.1Spooka 44251.1Spooka# Find who we are. Look in the path if we contain no directory separator. 44261.1Spookaas_myself= 44271.1Spookacase $0 in #(( 44281.1Spooka *[\\/]* ) as_myself=$0 ;; 44291.1Spooka *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 44301.1Spookafor as_dir in $PATH 44311.1Spookado 44321.1Spooka IFS=$as_save_IFS 44331.1Spooka test -z "$as_dir" && as_dir=. 44341.1Spooka test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 44351.1Spooka done 44361.1SpookaIFS=$as_save_IFS 44371.1Spooka 44381.1Spooka ;; 44391.1Spookaesac 44401.1Spooka# We did not find ourselves, most probably we were run as `sh COMMAND' 44411.1Spooka# in which case we are not to be found in the path. 44421.1Spookaif test "x$as_myself" = x; then 44431.1Spooka as_myself=$0 44441.1Spookafi 44451.1Spookaif test ! -f "$as_myself"; then 44461.1Spooka $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 44471.1Spooka exit 1 44481.1Spookafi 44491.1Spooka 44501.1Spooka# Unset variables that we do not need and which cause bugs (e.g. in 44511.1Spooka# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 44521.1Spooka# suppresses any "Segmentation fault" message there. '((' could 44531.1Spooka# trigger a bug in pdksh 5.2.14. 44541.1Spookafor as_var in BASH_ENV ENV MAIL MAILPATH 44551.1Spookado eval test x\${$as_var+set} = xset \ 44561.1Spooka && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 44571.1Spookadone 44581.1SpookaPS1='$ ' 44591.1SpookaPS2='> ' 44601.1SpookaPS4='+ ' 44611.1Spooka 44621.1Spooka# NLS nuisances. 44631.1SpookaLC_ALL=C 44641.1Spookaexport LC_ALL 44651.1SpookaLANGUAGE=C 44661.1Spookaexport LANGUAGE 44671.1Spooka 44681.1Spooka# CDPATH. 44691.1Spooka(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 44701.1Spooka 44711.1Spooka 44721.1Spooka# as_fn_error STATUS ERROR [LINENO LOG_FD] 44731.1Spooka# ---------------------------------------- 44741.1Spooka# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 44751.1Spooka# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 44761.1Spooka# script with STATUS, using 1 if that was 0. 44771.1Spookaas_fn_error () 44781.1Spooka{ 44791.1Spooka as_status=$1; test $as_status -eq 0 && as_status=1 44801.1Spooka if test "$4"; then 44811.1Spooka as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 44821.1Spooka $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 44831.1Spooka fi 44841.1Spooka $as_echo "$as_me: error: $2" >&2 44851.1Spooka as_fn_exit $as_status 44861.1Spooka} # as_fn_error 44871.1Spooka 44881.1Spooka 44891.1Spooka# as_fn_set_status STATUS 44901.1Spooka# ----------------------- 44911.1Spooka# Set $? to STATUS, without forking. 44921.1Spookaas_fn_set_status () 44931.1Spooka{ 44941.1Spooka return $1 44951.1Spooka} # as_fn_set_status 44961.1Spooka 44971.1Spooka# as_fn_exit STATUS 44981.1Spooka# ----------------- 44991.1Spooka# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 45001.1Spookaas_fn_exit () 45011.1Spooka{ 45021.1Spooka set +e 45031.1Spooka as_fn_set_status $1 45041.1Spooka exit $1 45051.1Spooka} # as_fn_exit 45061.1Spooka 45071.1Spooka# as_fn_unset VAR 45081.1Spooka# --------------- 45091.1Spooka# Portably unset VAR. 45101.1Spookaas_fn_unset () 45111.1Spooka{ 45121.1Spooka { eval $1=; unset $1;} 45131.1Spooka} 45141.1Spookaas_unset=as_fn_unset 45151.1Spooka# as_fn_append VAR VALUE 45161.1Spooka# ---------------------- 45171.1Spooka# Append the text in VALUE to the end of the definition contained in VAR. Take 45181.1Spooka# advantage of any shell optimizations that allow amortized linear growth over 45191.1Spooka# repeated appends, instead of the typical quadratic growth present in naive 45201.1Spooka# implementations. 45211.1Spookaif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 45221.1Spooka eval 'as_fn_append () 45231.1Spooka { 45241.1Spooka eval $1+=\$2 45251.1Spooka }' 45261.1Spookaelse 45271.1Spooka as_fn_append () 45281.1Spooka { 45291.1Spooka eval $1=\$$1\$2 45301.1Spooka } 45311.1Spookafi # as_fn_append 45321.1Spooka 45331.1Spooka# as_fn_arith ARG... 45341.1Spooka# ------------------ 45351.1Spooka# Perform arithmetic evaluation on the ARGs, and store the result in the 45361.1Spooka# global $as_val. Take advantage of shells that can avoid forks. The arguments 45371.1Spooka# must be portable across $(()) and expr. 45381.1Spookaif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 45391.1Spooka eval 'as_fn_arith () 45401.1Spooka { 45411.1Spooka as_val=$(( $* )) 45421.1Spooka }' 45431.1Spookaelse 45441.1Spooka as_fn_arith () 45451.1Spooka { 45461.1Spooka as_val=`expr "$@" || test $? -eq 1` 45471.1Spooka } 45481.1Spookafi # as_fn_arith 45491.1Spooka 45501.1Spooka 45511.1Spookaif expr a : '\(a\)' >/dev/null 2>&1 && 45521.1Spooka test "X`expr 00001 : '.*\(...\)'`" = X001; then 45531.1Spooka as_expr=expr 45541.1Spookaelse 45551.1Spooka as_expr=false 45561.1Spookafi 45571.1Spooka 45581.1Spookaif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 45591.1Spooka as_basename=basename 45601.1Spookaelse 45611.1Spooka as_basename=false 45621.1Spookafi 45631.1Spooka 45641.1Spookaif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 45651.1Spooka as_dirname=dirname 45661.1Spookaelse 45671.1Spooka as_dirname=false 45681.1Spookafi 45691.1Spooka 45701.1Spookaas_me=`$as_basename -- "$0" || 45711.1Spooka$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 45721.1Spooka X"$0" : 'X\(//\)$' \| \ 45731.1Spooka X"$0" : 'X\(/\)' \| . 2>/dev/null || 45741.1Spooka$as_echo X/"$0" | 45751.1Spooka sed '/^.*\/\([^/][^/]*\)\/*$/{ 45761.1Spooka s//\1/ 45771.1Spooka q 45781.1Spooka } 45791.1Spooka /^X\/\(\/\/\)$/{ 45801.1Spooka s//\1/ 45811.1Spooka q 45821.1Spooka } 45831.1Spooka /^X\/\(\/\).*/{ 45841.1Spooka s//\1/ 45851.1Spooka q 45861.1Spooka } 45871.1Spooka s/.*/./; q'` 45881.1Spooka 45891.1Spooka# Avoid depending upon Character Ranges. 45901.1Spookaas_cr_letters='abcdefghijklmnopqrstuvwxyz' 45911.1Spookaas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 45921.1Spookaas_cr_Letters=$as_cr_letters$as_cr_LETTERS 45931.1Spookaas_cr_digits='0123456789' 45941.1Spookaas_cr_alnum=$as_cr_Letters$as_cr_digits 45951.1Spooka 45961.1SpookaECHO_C= ECHO_N= ECHO_T= 45971.1Spookacase `echo -n x` in #((((( 45981.1Spooka-n*) 45991.1Spooka case `echo 'xy\c'` in 46001.1Spooka *c*) ECHO_T=' ';; # ECHO_T is single tab character. 46011.1Spooka xy) ECHO_C='\c';; 46021.1Spooka *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 46031.1Spooka ECHO_T=' ';; 46041.1Spooka esac;; 46051.1Spooka*) 46061.1Spooka ECHO_N='-n';; 46071.1Spookaesac 46081.1Spooka 46091.1Spookarm -f conf$$ conf$$.exe conf$$.file 46101.1Spookaif test -d conf$$.dir; then 46111.1Spooka rm -f conf$$.dir/conf$$.file 46121.1Spookaelse 46131.1Spooka rm -f conf$$.dir 46141.1Spooka mkdir conf$$.dir 2>/dev/null 46151.1Spookafi 46161.1Spookaif (echo >conf$$.file) 2>/dev/null; then 46171.1Spooka if ln -s conf$$.file conf$$ 2>/dev/null; then 46181.1Spooka as_ln_s='ln -s' 46191.1Spooka # ... but there are two gotchas: 46201.1Spooka # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 46211.1Spooka # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 46221.1Spooka # In both cases, we have to default to `cp -pR'. 46231.1Spooka ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 46241.1Spooka as_ln_s='cp -pR' 46251.1Spooka elif ln conf$$.file conf$$ 2>/dev/null; then 46261.1Spooka as_ln_s=ln 46271.1Spooka else 46281.1Spooka as_ln_s='cp -pR' 46291.1Spooka fi 46301.1Spookaelse 46311.1Spooka as_ln_s='cp -pR' 46321.1Spookafi 46331.1Spookarm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 46341.1Spookarmdir conf$$.dir 2>/dev/null 46351.1Spooka 46361.1Spooka 46371.1Spooka# as_fn_mkdir_p 46381.1Spooka# ------------- 46391.1Spooka# Create "$as_dir" as a directory, including parents if necessary. 46401.1Spookaas_fn_mkdir_p () 46411.1Spooka{ 46421.1Spooka 46431.1Spooka case $as_dir in #( 46441.1Spooka -*) as_dir=./$as_dir;; 46451.1Spooka esac 46461.1Spooka test -d "$as_dir" || eval $as_mkdir_p || { 46471.1Spooka as_dirs= 46481.1Spooka while :; do 46491.1Spooka case $as_dir in #( 46501.1Spooka *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 46511.1Spooka *) as_qdir=$as_dir;; 46521.1Spooka esac 46531.1Spooka as_dirs="'$as_qdir' $as_dirs" 46541.1Spooka as_dir=`$as_dirname -- "$as_dir" || 46551.1Spooka$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 46561.1Spooka X"$as_dir" : 'X\(//\)[^/]' \| \ 46571.1Spooka X"$as_dir" : 'X\(//\)$' \| \ 46581.1Spooka X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 46591.1Spooka$as_echo X"$as_dir" | 46601.1Spooka sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 46611.1Spooka s//\1/ 46621.1Spooka q 46631.1Spooka } 46641.1Spooka /^X\(\/\/\)[^/].*/{ 46651.1Spooka s//\1/ 46661.1Spooka q 46671.1Spooka } 46681.1Spooka /^X\(\/\/\)$/{ 46691.1Spooka s//\1/ 46701.1Spooka q 46711.1Spooka } 46721.1Spooka /^X\(\/\).*/{ 46731.1Spooka s//\1/ 46741.1Spooka q 46751.1Spooka } 46761.1Spooka s/.*/./; q'` 46771.1Spooka test -d "$as_dir" && break 46781.1Spooka done 46791.1Spooka test -z "$as_dirs" || eval "mkdir $as_dirs" 46801.1Spooka } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 46811.1Spooka 46821.1Spooka 46831.1Spooka} # as_fn_mkdir_p 46841.1Spookaif mkdir -p . 2>/dev/null; then 46851.1Spooka as_mkdir_p='mkdir -p "$as_dir"' 46861.1Spookaelse 46871.1Spooka test -d ./-p && rmdir ./-p 46881.1Spooka as_mkdir_p=false 46891.1Spookafi 46901.1Spooka 46911.1Spooka 46921.1Spooka# as_fn_executable_p FILE 46931.1Spooka# ----------------------- 46941.1Spooka# Test if FILE is an executable regular file. 46951.1Spookaas_fn_executable_p () 46961.1Spooka{ 46971.1Spooka test -f "$1" && test -x "$1" 46981.1Spooka} # as_fn_executable_p 46991.1Spookaas_test_x='test -x' 47001.1Spookaas_executable_p=as_fn_executable_p 47011.1Spooka 47021.1Spooka# Sed expression to map a string onto a valid CPP name. 47031.1Spookaas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 47041.1Spooka 47051.1Spooka# Sed expression to map a string onto a valid variable name. 47061.1Spookaas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 47071.1Spooka 47081.1Spooka 47091.1Spookaexec 6>&1 47101.1Spooka## ----------------------------------- ## 47111.1Spooka## Main body of $CONFIG_STATUS script. ## 47121.1Spooka## ----------------------------------- ## 47131.1Spooka_ASEOF 47141.1Spookatest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 47151.1Spooka 47161.1Spookacat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47171.1Spooka# Save the log message, to keep $0 and so on meaningful, and to 47181.1Spooka# report actual input values of CONFIG_FILES etc. instead of their 47191.1Spooka# values after options handling. 47201.1Spookaac_log=" 47211.1SpookaThis file was extended by rumpuser-posix $as_me 999, which was 47221.1Spookagenerated by GNU Autoconf 2.69. Invocation command line was 47231.1Spooka 47241.1Spooka CONFIG_FILES = $CONFIG_FILES 47251.1Spooka CONFIG_HEADERS = $CONFIG_HEADERS 47261.1Spooka CONFIG_LINKS = $CONFIG_LINKS 47271.1Spooka CONFIG_COMMANDS = $CONFIG_COMMANDS 47281.1Spooka $ $0 $@ 47291.1Spooka 47301.1Spookaon `(hostname || uname -n) 2>/dev/null | sed 1q` 47311.1Spooka" 47321.1Spooka 47331.1Spooka_ACEOF 47341.1Spooka 47351.1Spooka 47361.1Spookacase $ac_config_headers in *" 47371.1Spooka"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 47381.1Spookaesac 47391.1Spooka 47401.1Spooka 47411.1Spookacat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47421.1Spooka# Files that config.status was made for. 47431.1Spookaconfig_headers="$ac_config_headers" 47441.1Spooka 47451.1Spooka_ACEOF 47461.1Spooka 47471.1Spookacat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47481.1Spookaac_cs_usage="\ 47491.1Spooka\`$as_me' instantiates files and other configuration actions 47501.1Spookafrom templates according to the current configuration. Unless the files 47511.1Spookaand actions are specified as TAGs, all are instantiated by default. 47521.1Spooka 47531.1SpookaUsage: $0 [OPTION]... [TAG]... 47541.1Spooka 47551.1Spooka -h, --help print this help, then exit 47561.1Spooka -V, --version print version number and configuration settings, then exit 47571.1Spooka --config print configuration, then exit 47581.1Spooka -q, --quiet, --silent 47591.1Spooka do not print progress messages 47601.1Spooka -d, --debug don't remove temporary files 47611.1Spooka --recheck update $as_me by reconfiguring in the same conditions 47621.1Spooka --header=FILE[:TEMPLATE] 47631.1Spooka instantiate the configuration header FILE 47641.1Spooka 47651.1SpookaConfiguration headers: 47661.1Spooka$config_headers 47671.1Spooka 47681.6SlukemReport bugs to <https://github.com/rumpkernel/>." 47691.1Spooka 47701.1Spooka_ACEOF 47711.1Spookacat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 47721.1Spookaac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 47731.1Spookaac_cs_version="\\ 47741.1Spookarumpuser-posix config.status 999 47751.1Spookaconfigured by $0, generated by GNU Autoconf 2.69, 47761.1Spooka with options \\"\$ac_cs_config\\" 47771.1Spooka 47781.1SpookaCopyright (C) 2012 Free Software Foundation, Inc. 47791.1SpookaThis config.status script is free software; the Free Software Foundation 47801.1Spookagives unlimited permission to copy, distribute and modify it." 47811.1Spooka 47821.1Spookaac_pwd='$ac_pwd' 47831.1Spookasrcdir='$srcdir' 47841.1Spookatest -n "\$AWK" || AWK=awk 47851.1Spooka_ACEOF 47861.1Spooka 47871.1Spookacat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 47881.1Spooka# The default lists apply if the user does not specify any file. 47891.1Spookaac_need_defaults=: 47901.1Spookawhile test $# != 0 47911.1Spookado 47921.1Spooka case $1 in 47931.1Spooka --*=?*) 47941.1Spooka ac_option=`expr "X$1" : 'X\([^=]*\)='` 47951.1Spooka ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 47961.1Spooka ac_shift=: 47971.1Spooka ;; 47981.1Spooka --*=) 47991.1Spooka ac_option=`expr "X$1" : 'X\([^=]*\)='` 48001.1Spooka ac_optarg= 48011.1Spooka ac_shift=: 48021.1Spooka ;; 48031.1Spooka *) 48041.1Spooka ac_option=$1 48051.1Spooka ac_optarg=$2 48061.1Spooka ac_shift=shift 48071.1Spooka ;; 48081.1Spooka esac 48091.1Spooka 48101.1Spooka case $ac_option in 48111.1Spooka # Handling of the options. 48121.1Spooka -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 48131.1Spooka ac_cs_recheck=: ;; 48141.1Spooka --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 48151.1Spooka $as_echo "$ac_cs_version"; exit ;; 48161.1Spooka --config | --confi | --conf | --con | --co | --c ) 48171.1Spooka $as_echo "$ac_cs_config"; exit ;; 48181.1Spooka --debug | --debu | --deb | --de | --d | -d ) 48191.1Spooka debug=: ;; 48201.1Spooka --header | --heade | --head | --hea ) 48211.1Spooka $ac_shift 48221.1Spooka case $ac_optarg in 48231.1Spooka *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 48241.1Spooka esac 48251.1Spooka as_fn_append CONFIG_HEADERS " '$ac_optarg'" 48261.1Spooka ac_need_defaults=false;; 48271.1Spooka --he | --h) 48281.1Spooka # Conflict between --help and --header 48291.1Spooka as_fn_error $? "ambiguous option: \`$1' 48301.1SpookaTry \`$0 --help' for more information.";; 48311.1Spooka --help | --hel | -h ) 48321.1Spooka $as_echo "$ac_cs_usage"; exit ;; 48331.1Spooka -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 48341.1Spooka | -silent | --silent | --silen | --sile | --sil | --si | --s) 48351.1Spooka ac_cs_silent=: ;; 48361.1Spooka 48371.1Spooka # This is an error. 48381.1Spooka -*) as_fn_error $? "unrecognized option: \`$1' 48391.1SpookaTry \`$0 --help' for more information." ;; 48401.1Spooka 48411.1Spooka *) as_fn_append ac_config_targets " $1" 48421.1Spooka ac_need_defaults=false ;; 48431.1Spooka 48441.1Spooka esac 48451.1Spooka shift 48461.1Spookadone 48471.1Spooka 48481.1Spookaac_configure_extra_args= 48491.1Spooka 48501.1Spookaif $ac_cs_silent; then 48511.1Spooka exec 6>/dev/null 48521.1Spooka ac_configure_extra_args="$ac_configure_extra_args --silent" 48531.1Spookafi 48541.1Spooka 48551.1Spooka_ACEOF 48561.1Spookacat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 48571.1Spookaif \$ac_cs_recheck; then 48581.1Spooka set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 48591.1Spooka shift 48601.1Spooka \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 48611.1Spooka CONFIG_SHELL='$SHELL' 48621.1Spooka export CONFIG_SHELL 48631.1Spooka exec "\$@" 48641.1Spookafi 48651.1Spooka 48661.1Spooka_ACEOF 48671.1Spookacat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 48681.1Spookaexec 5>>config.log 48691.1Spooka{ 48701.1Spooka echo 48711.1Spooka sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 48721.1Spooka## Running $as_me. ## 48731.1Spooka_ASBOX 48741.1Spooka $as_echo "$ac_log" 48751.1Spooka} >&5 48761.1Spooka 48771.1Spooka_ACEOF 48781.1Spookacat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 48791.1Spooka_ACEOF 48801.1Spooka 48811.1Spookacat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 48821.1Spooka 48831.1Spooka# Handling of arguments. 48841.1Spookafor ac_config_target in $ac_config_targets 48851.1Spookado 48861.1Spooka case $ac_config_target in 48871.1Spooka "rumpuser_config.h") CONFIG_HEADERS="$CONFIG_HEADERS rumpuser_config.h" ;; 48881.1Spooka 48891.1Spooka *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 48901.1Spooka esac 48911.1Spookadone 48921.1Spooka 48931.1Spooka 48941.1Spooka# If the user did not use the arguments to specify the items to instantiate, 48951.1Spooka# then the envvar interface is used. Set only those that are not. 48961.1Spooka# We use the long form for the default assignment because of an extremely 48971.1Spooka# bizarre bug on SunOS 4.1.3. 48981.1Spookaif $ac_need_defaults; then 48991.1Spooka test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 49001.1Spookafi 49011.1Spooka 49021.1Spooka# Have a temporary directory for convenience. Make it in the build tree 49031.1Spooka# simply because there is no reason against having it here, and in addition, 49041.1Spooka# creating and moving files from /tmp can sometimes cause problems. 49051.1Spooka# Hook for its removal unless debugging. 49061.1Spooka# Note that there is a small window in which the directory will not be cleaned: 49071.1Spooka# after its creation but before its name has been assigned to `$tmp'. 49081.1Spooka$debug || 49091.1Spooka{ 49101.1Spooka tmp= ac_tmp= 49111.1Spooka trap 'exit_status=$? 49121.1Spooka : "${ac_tmp:=$tmp}" 49131.1Spooka { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 49141.1Spooka' 0 49151.1Spooka trap 'as_fn_exit 1' 1 2 13 15 49161.1Spooka} 49171.1Spooka# Create a (secure) tmp directory for tmp files. 49181.1Spooka 49191.1Spooka{ 49201.1Spooka tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 49211.1Spooka test -d "$tmp" 49221.1Spooka} || 49231.1Spooka{ 49241.1Spooka tmp=./conf$$-$RANDOM 49251.1Spooka (umask 077 && mkdir "$tmp") 49261.1Spooka} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 49271.1Spookaac_tmp=$tmp 49281.1Spooka 49291.1Spooka# Set up the scripts for CONFIG_HEADERS section. 49301.1Spooka# No need to generate them if there are no CONFIG_HEADERS. 49311.1Spooka# This happens for instance with `./config.status Makefile'. 49321.1Spookaif test -n "$CONFIG_HEADERS"; then 49331.1Spookacat >"$ac_tmp/defines.awk" <<\_ACAWK || 49341.1SpookaBEGIN { 49351.1Spooka_ACEOF 49361.1Spooka 49371.1Spooka# Transform confdefs.h into an awk script `defines.awk', embedded as 49381.1Spooka# here-document in config.status, that substitutes the proper values into 49391.1Spooka# config.h.in to produce config.h. 49401.1Spooka 49411.1Spooka# Create a delimiter string that does not exist in confdefs.h, to ease 49421.1Spooka# handling of long lines. 49431.1Spookaac_delim='%!_!# ' 49441.1Spookafor ac_last_try in false false :; do 49451.1Spooka ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 49461.1Spooka if test -z "$ac_tt"; then 49471.1Spooka break 49481.1Spooka elif $ac_last_try; then 49491.1Spooka as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 49501.1Spooka else 49511.1Spooka ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 49521.1Spooka fi 49531.1Spookadone 49541.1Spooka 49551.1Spooka# For the awk script, D is an array of macro values keyed by name, 49561.1Spooka# likewise P contains macro parameters if any. Preserve backslash 49571.1Spooka# newline sequences. 49581.1Spooka 49591.1Spookaac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 49601.1Spookased -n ' 49611.1Spookas/.\{148\}/&'"$ac_delim"'/g 49621.1Spookat rset 49631.1Spooka:rset 49641.1Spookas/^[ ]*#[ ]*define[ ][ ]*/ / 49651.1Spookat def 49661.1Spookad 49671.1Spooka:def 49681.1Spookas/\\$// 49691.1Spookat bsnl 49701.1Spookas/["\\]/\\&/g 49711.1Spookas/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 49721.1SpookaD["\1"]=" \3"/p 49731.1Spookas/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 49741.1Spookad 49751.1Spooka:bsnl 49761.1Spookas/["\\]/\\&/g 49771.1Spookas/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 49781.1SpookaD["\1"]=" \3\\\\\\n"\\/p 49791.1Spookat cont 49801.1Spookas/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 49811.1Spookat cont 49821.1Spookad 49831.1Spooka:cont 49841.1Spookan 49851.1Spookas/.\{148\}/&'"$ac_delim"'/g 49861.1Spookat clear 49871.1Spooka:clear 49881.1Spookas/\\$// 49891.1Spookat bsnlc 49901.1Spookas/["\\]/\\&/g; s/^/"/; s/$/"/p 49911.1Spookad 49921.1Spooka:bsnlc 49931.1Spookas/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 49941.1Spookab cont 49951.1Spooka' <confdefs.h | sed ' 49961.1Spookas/'"$ac_delim"'/"\\\ 49971.1Spooka"/g' >>$CONFIG_STATUS || ac_write_fail=1 49981.1Spooka 49991.1Spookacat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 50001.1Spooka for (key in D) D_is_set[key] = 1 50011.1Spooka FS = "" 50021.1Spooka} 50031.1Spooka/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 50041.1Spooka line = \$ 0 50051.1Spooka split(line, arg, " ") 50061.1Spooka if (arg[1] == "#") { 50071.1Spooka defundef = arg[2] 50081.1Spooka mac1 = arg[3] 50091.1Spooka } else { 50101.1Spooka defundef = substr(arg[1], 2) 50111.1Spooka mac1 = arg[2] 50121.1Spooka } 50131.1Spooka split(mac1, mac2, "(") #) 50141.1Spooka macro = mac2[1] 50151.1Spooka prefix = substr(line, 1, index(line, defundef) - 1) 50161.1Spooka if (D_is_set[macro]) { 50171.1Spooka # Preserve the white space surrounding the "#". 50181.1Spooka print prefix "define", macro P[macro] D[macro] 50191.1Spooka next 50201.1Spooka } else { 50211.1Spooka # Replace #undef with comments. This is necessary, for example, 50221.1Spooka # in the case of _POSIX_SOURCE, which is predefined and required 50231.1Spooka # on some systems where configure will not decide to define it. 50241.1Spooka if (defundef == "undef") { 50251.1Spooka print "/*", prefix defundef, macro, "*/" 50261.1Spooka next 50271.1Spooka } 50281.1Spooka } 50291.1Spooka} 50301.1Spooka{ print } 50311.1Spooka_ACAWK 50321.1Spooka_ACEOF 50331.1Spookacat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 50341.1Spooka as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 50351.1Spookafi # test -n "$CONFIG_HEADERS" 50361.1Spooka 50371.1Spooka 50381.1Spookaeval set X " :H $CONFIG_HEADERS " 50391.1Spookashift 50401.1Spookafor ac_tag 50411.1Spookado 50421.1Spooka case $ac_tag in 50431.1Spooka :[FHLC]) ac_mode=$ac_tag; continue;; 50441.1Spooka esac 50451.1Spooka case $ac_mode$ac_tag in 50461.1Spooka :[FHL]*:*);; 50471.1Spooka :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 50481.1Spooka :[FH]-) ac_tag=-:-;; 50491.1Spooka :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 50501.1Spooka esac 50511.1Spooka ac_save_IFS=$IFS 50521.1Spooka IFS=: 50531.1Spooka set x $ac_tag 50541.1Spooka IFS=$ac_save_IFS 50551.1Spooka shift 50561.1Spooka ac_file=$1 50571.1Spooka shift 50581.1Spooka 50591.1Spooka case $ac_mode in 50601.1Spooka :L) ac_source=$1;; 50611.1Spooka :[FH]) 50621.1Spooka ac_file_inputs= 50631.1Spooka for ac_f 50641.1Spooka do 50651.1Spooka case $ac_f in 50661.1Spooka -) ac_f="$ac_tmp/stdin";; 50671.1Spooka *) # Look for the file first in the build tree, then in the source tree 50681.1Spooka # (if the path is not absolute). The absolute path cannot be DOS-style, 50691.1Spooka # because $ac_f cannot contain `:'. 50701.1Spooka test -f "$ac_f" || 50711.1Spooka case $ac_f in 50721.1Spooka [\\/$]*) false;; 50731.1Spooka *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 50741.1Spooka esac || 50751.1Spooka as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 50761.1Spooka esac 50771.1Spooka case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 50781.1Spooka as_fn_append ac_file_inputs " '$ac_f'" 50791.1Spooka done 50801.1Spooka 50811.1Spooka # Let's still pretend it is `configure' which instantiates (i.e., don't 50821.1Spooka # use $as_me), people would be surprised to read: 50831.1Spooka # /* config.h. Generated by config.status. */ 50841.1Spooka configure_input='Generated from '` 50851.1Spooka $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 50861.1Spooka `' by configure.' 50871.1Spooka if test x"$ac_file" != x-; then 50881.1Spooka configure_input="$ac_file. $configure_input" 50891.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 50901.1Spooka$as_echo "$as_me: creating $ac_file" >&6;} 50911.1Spooka fi 50921.1Spooka # Neutralize special characters interpreted by sed in replacement strings. 50931.1Spooka case $configure_input in #( 50941.1Spooka *\&* | *\|* | *\\* ) 50951.1Spooka ac_sed_conf_input=`$as_echo "$configure_input" | 50961.1Spooka sed 's/[\\\\&|]/\\\\&/g'`;; #( 50971.1Spooka *) ac_sed_conf_input=$configure_input;; 50981.1Spooka esac 50991.1Spooka 51001.1Spooka case $ac_tag in 51011.1Spooka *:-:* | *:-) cat >"$ac_tmp/stdin" \ 51021.1Spooka || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 51031.1Spooka esac 51041.1Spooka ;; 51051.1Spooka esac 51061.1Spooka 51071.1Spooka ac_dir=`$as_dirname -- "$ac_file" || 51081.1Spooka$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 51091.1Spooka X"$ac_file" : 'X\(//\)[^/]' \| \ 51101.1Spooka X"$ac_file" : 'X\(//\)$' \| \ 51111.1Spooka X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 51121.1Spooka$as_echo X"$ac_file" | 51131.1Spooka sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 51141.1Spooka s//\1/ 51151.1Spooka q 51161.1Spooka } 51171.1Spooka /^X\(\/\/\)[^/].*/{ 51181.1Spooka s//\1/ 51191.1Spooka q 51201.1Spooka } 51211.1Spooka /^X\(\/\/\)$/{ 51221.1Spooka s//\1/ 51231.1Spooka q 51241.1Spooka } 51251.1Spooka /^X\(\/\).*/{ 51261.1Spooka s//\1/ 51271.1Spooka q 51281.1Spooka } 51291.1Spooka s/.*/./; q'` 51301.1Spooka as_dir="$ac_dir"; as_fn_mkdir_p 51311.1Spooka ac_builddir=. 51321.1Spooka 51331.1Spookacase "$ac_dir" in 51341.1Spooka.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 51351.1Spooka*) 51361.1Spooka ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 51371.1Spooka # A ".." for each directory in $ac_dir_suffix. 51381.1Spooka ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 51391.1Spooka case $ac_top_builddir_sub in 51401.1Spooka "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 51411.1Spooka *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 51421.1Spooka esac ;; 51431.1Spookaesac 51441.1Spookaac_abs_top_builddir=$ac_pwd 51451.1Spookaac_abs_builddir=$ac_pwd$ac_dir_suffix 51461.1Spooka# for backward compatibility: 51471.1Spookaac_top_builddir=$ac_top_build_prefix 51481.1Spooka 51491.1Spookacase $srcdir in 51501.1Spooka .) # We are building in place. 51511.1Spooka ac_srcdir=. 51521.1Spooka ac_top_srcdir=$ac_top_builddir_sub 51531.1Spooka ac_abs_top_srcdir=$ac_pwd ;; 51541.1Spooka [\\/]* | ?:[\\/]* ) # Absolute name. 51551.1Spooka ac_srcdir=$srcdir$ac_dir_suffix; 51561.1Spooka ac_top_srcdir=$srcdir 51571.1Spooka ac_abs_top_srcdir=$srcdir ;; 51581.1Spooka *) # Relative name. 51591.1Spooka ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 51601.1Spooka ac_top_srcdir=$ac_top_build_prefix$srcdir 51611.1Spooka ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 51621.1Spookaesac 51631.1Spookaac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 51641.1Spooka 51651.1Spooka 51661.1Spooka case $ac_mode in 51671.1Spooka 51681.1Spooka :H) 51691.1Spooka # 51701.1Spooka # CONFIG_HEADER 51711.1Spooka # 51721.1Spooka if test x"$ac_file" != x-; then 51731.1Spooka { 51741.1Spooka $as_echo "/* $configure_input */" \ 51751.1Spooka && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 51761.1Spooka } >"$ac_tmp/config.h" \ 51771.1Spooka || as_fn_error $? "could not create $ac_file" "$LINENO" 5 51781.1Spooka if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 51791.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 51801.1Spooka$as_echo "$as_me: $ac_file is unchanged" >&6;} 51811.1Spooka else 51821.1Spooka rm -f "$ac_file" 51831.1Spooka mv "$ac_tmp/config.h" "$ac_file" \ 51841.1Spooka || as_fn_error $? "could not create $ac_file" "$LINENO" 5 51851.1Spooka fi 51861.1Spooka else 51871.1Spooka $as_echo "/* $configure_input */" \ 51881.1Spooka && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 51891.1Spooka || as_fn_error $? "could not create -" "$LINENO" 5 51901.1Spooka fi 51911.1Spooka ;; 51921.1Spooka 51931.1Spooka 51941.1Spooka esac 51951.1Spooka 51961.1Spookadone # for ac_tag 51971.1Spooka 51981.1Spooka 51991.1Spookaas_fn_exit 0 52001.1Spooka_ACEOF 52011.1Spookaac_clean_files=$ac_clean_files_save 52021.1Spooka 52031.1Spookatest $ac_write_fail = 0 || 52041.1Spooka as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 52051.1Spooka 52061.1Spooka 52071.1Spooka# configure is writing to config.log, and then calls config.status. 52081.1Spooka# config.status does its own redirection, appending to config.log. 52091.1Spooka# Unfortunately, on DOS this fails, as config.log is still kept open 52101.1Spooka# by configure, so config.status won't be able to write to it; its 52111.1Spooka# output is simply discarded. So we exec the FD to /dev/null, 52121.1Spooka# effectively closing config.log, so it can be properly (re)opened and 52131.1Spooka# appended to by config.status. When coming back to configure, we 52141.1Spooka# need to make the FD available again. 52151.1Spookaif test "$no_create" != yes; then 52161.1Spooka ac_cs_success=: 52171.1Spooka ac_config_status_args= 52181.1Spooka test "$silent" = yes && 52191.1Spooka ac_config_status_args="$ac_config_status_args --quiet" 52201.1Spooka exec 5>/dev/null 52211.1Spooka $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 52221.1Spooka exec 5>>config.log 52231.1Spooka # Use ||, not &&, to avoid exiting from the if with $? = 1, which 52241.1Spooka # would make configure fail if this is the last instruction. 52251.1Spooka $ac_cs_success || as_fn_exit 1 52261.1Spookafi 52271.1Spookaif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 52281.1Spooka { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 52291.1Spooka$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 52301.1Spookafi 52311.1Spooka 5232