configure revision 1.102
11.1Stv#! /bin/sh 21.1Stv# Guess values for system-dependent variables and create Makefiles. 31.84Schristos# Generated by GNU Autoconf 2.69 for libnbcompat noversion. 41.1Stv# 51.41Ssalo# Report bugs to <lib-bug-people@NetBSD.org>. 61.1Stv# 71.84Schristos# 81.84Schristos# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 91.84Schristos# 101.84Schristos# 111.1Stv# This configure script is free software; the Free Software Foundation 121.1Stv# gives unlimited permission to copy, distribute and modify it. 131.84Schristos## -------------------- ## 141.84Schristos## M4sh Initialization. ## 151.84Schristos## -------------------- ## 161.84Schristos 171.84Schristos# Be more Bourne compatible 181.84SchristosDUALCASE=1; export DUALCASE # for MKS sh 191.84Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 201.84Schristos emulate sh 211.84Schristos NULLCMD=: 221.84Schristos # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 231.84Schristos # is contrary to our usage. Disable this feature. 241.84Schristos alias -g '${1+"$@"}'='"$@"' 251.84Schristos setopt NO_GLOB_SUBST 261.84Schristoselse 271.84Schristos case `(set -o) 2>/dev/null` in #( 281.84Schristos *posix*) : 291.84Schristos set -o posix ;; #( 301.84Schristos *) : 311.84Schristos ;; 321.84Schristosesac 331.84Schristosfi 341.84Schristos 351.84Schristos 361.84Schristosas_nl=' 371.84Schristos' 381.84Schristosexport as_nl 391.84Schristos# Printing a long string crashes Solaris 7 /usr/bin/printf. 401.84Schristosas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 411.84Schristosas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 421.84Schristosas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 431.84Schristos# Prefer a ksh shell builtin over an external printf program on Solaris, 441.84Schristos# but without wasting forks for bash or zsh. 451.84Schristosif test -z "$BASH_VERSION$ZSH_VERSION" \ 461.84Schristos && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 471.84Schristos as_echo='print -r --' 481.84Schristos as_echo_n='print -rn --' 491.84Schristoselif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 501.84Schristos as_echo='printf %s\n' 511.84Schristos as_echo_n='printf %s' 521.84Schristoselse 531.84Schristos if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 541.84Schristos as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 551.84Schristos as_echo_n='/usr/ucb/echo -n' 561.84Schristos else 571.84Schristos as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 581.84Schristos as_echo_n_body='eval 591.84Schristos arg=$1; 601.84Schristos case $arg in #( 611.84Schristos *"$as_nl"*) 621.84Schristos expr "X$arg" : "X\\(.*\\)$as_nl"; 631.84Schristos arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 641.84Schristos esac; 651.84Schristos expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 661.84Schristos ' 671.84Schristos export as_echo_n_body 681.84Schristos as_echo_n='sh -c $as_echo_n_body as_echo' 691.84Schristos fi 701.84Schristos export as_echo_body 711.84Schristos as_echo='sh -c $as_echo_body as_echo' 721.84Schristosfi 731.84Schristos 741.84Schristos# The user is always right. 751.84Schristosif test "${PATH_SEPARATOR+set}" != set; then 761.84Schristos PATH_SEPARATOR=: 771.84Schristos (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 781.84Schristos (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 791.84Schristos PATH_SEPARATOR=';' 801.84Schristos } 811.84Schristosfi 821.74Schristos 831.74Schristos 841.84Schristos# IFS 851.84Schristos# We need space, tab and new line, in precisely that order. Quoting is 861.84Schristos# there to prevent editors from complaining about space-tab. 871.84Schristos# (If _AS_PATH_WALK were called with IFS unset, it would disable word 881.84Schristos# splitting by setting IFS to empty value.) 891.84SchristosIFS=" "" $as_nl" 901.84Schristos 911.84Schristos# Find who we are. Look in the path if we contain no directory separator. 921.84Schristosas_myself= 931.84Schristoscase $0 in #(( 941.84Schristos *[\\/]* ) as_myself=$0 ;; 951.84Schristos *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 961.84Schristosfor as_dir in $PATH 971.84Schristosdo 981.84Schristos IFS=$as_save_IFS 991.84Schristos test -z "$as_dir" && as_dir=. 1001.84Schristos test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1011.84Schristos done 1021.84SchristosIFS=$as_save_IFS 1031.84Schristos 1041.84Schristos ;; 1051.84Schristosesac 1061.84Schristos# We did not find ourselves, most probably we were run as `sh COMMAND' 1071.84Schristos# in which case we are not to be found in the path. 1081.84Schristosif test "x$as_myself" = x; then 1091.84Schristos as_myself=$0 1101.84Schristosfi 1111.84Schristosif test ! -f "$as_myself"; then 1121.84Schristos $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1131.84Schristos exit 1 1141.84Schristosfi 1151.84Schristos 1161.84Schristos# Unset variables that we do not need and which cause bugs (e.g. in 1171.84Schristos# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1181.84Schristos# suppresses any "Segmentation fault" message there. '((' could 1191.84Schristos# trigger a bug in pdksh 5.2.14. 1201.84Schristosfor as_var in BASH_ENV ENV MAIL MAILPATH 1211.84Schristosdo eval test x\${$as_var+set} = xset \ 1221.84Schristos && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1231.84Schristosdone 1241.84SchristosPS1='$ ' 1251.84SchristosPS2='> ' 1261.84SchristosPS4='+ ' 1271.84Schristos 1281.84Schristos# NLS nuisances. 1291.84SchristosLC_ALL=C 1301.84Schristosexport LC_ALL 1311.84SchristosLANGUAGE=C 1321.84Schristosexport LANGUAGE 1331.74Schristos 1341.84Schristos# CDPATH. 1351.84Schristos(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1361.65Schristos 1371.84Schristos# Use a proper internal environment variable to ensure we don't fall 1381.84Schristos # into an infinite loop, continuously re-executing ourselves. 1391.84Schristos if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 1401.84Schristos _as_can_reexec=no; export _as_can_reexec; 1411.84Schristos # We cannot yet assume a decent shell, so we have to provide a 1421.84Schristos# neutralization value for shells without unset; and this also 1431.84Schristos# works around shells that cannot unset nonexistent variables. 1441.84Schristos# Preserve -v and -x to the replacement shell. 1451.84SchristosBASH_ENV=/dev/null 1461.84SchristosENV=/dev/null 1471.84Schristos(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 1481.84Schristoscase $- in # (((( 1491.84Schristos *v*x* | *x*v* ) as_opts=-vx ;; 1501.84Schristos *v* ) as_opts=-v ;; 1511.84Schristos *x* ) as_opts=-x ;; 1521.84Schristos * ) as_opts= ;; 1531.84Schristosesac 1541.84Schristosexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 1551.84Schristos# Admittedly, this is quite paranoid, since all the known shells bail 1561.84Schristos# out after a failed `exec'. 1571.84Schristos$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 1581.84Schristosas_fn_exit 255 1591.84Schristos fi 1601.84Schristos # We don't want this to propagate to other subprocesses. 1611.84Schristos { _as_can_reexec=; unset _as_can_reexec;} 1621.84Schristosif test "x$CONFIG_SHELL" = x; then 1631.84Schristos as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1641.65Schristos emulate sh 1651.65Schristos NULLCMD=: 1661.84Schristos # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1671.84Schristos # is contrary to our usage. Disable this feature. 1681.84Schristos alias -g '\${1+\"\$@\"}'='\"\$@\"' 1691.84Schristos setopt NO_GLOB_SUBST 1701.84Schristoselse 1711.84Schristos case \`(set -o) 2>/dev/null\` in #( 1721.84Schristos *posix*) : 1731.84Schristos set -o posix ;; #( 1741.84Schristos *) : 1751.84Schristos ;; 1761.84Schristosesac 1771.84Schristosfi 1781.84Schristos" 1791.84Schristos as_required="as_fn_return () { (exit \$1); } 1801.84Schristosas_fn_success () { as_fn_return 0; } 1811.84Schristosas_fn_failure () { as_fn_return 1; } 1821.84Schristosas_fn_ret_success () { return 0; } 1831.84Schristosas_fn_ret_failure () { return 1; } 1841.84Schristos 1851.84Schristosexitcode=0 1861.84Schristosas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1871.84Schristosas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1881.84Schristosas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1891.84Schristosas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1901.84Schristosif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1911.84Schristos 1921.84Schristoselse 1931.84Schristos exitcode=1; echo positional parameters were not saved. 1941.84Schristosfi 1951.84Schristostest x\$exitcode = x0 || exit 1 1961.84Schristostest -x / || exit 1" 1971.84Schristos as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1981.84Schristos as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1991.84Schristos eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 2001.84Schristos test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 2011.84Schristostest \$(( 1 + 1 )) = 2 || exit 1" 2021.84Schristos if (eval "$as_required") 2>/dev/null; then : 2031.84Schristos as_have_required=yes 2041.84Schristoselse 2051.84Schristos as_have_required=no 2061.84Schristosfi 2071.84Schristos if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 2081.84Schristos 2091.84Schristoselse 2101.84Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2111.84Schristosas_found=false 2121.84Schristosfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2131.84Schristosdo 2141.84Schristos IFS=$as_save_IFS 2151.84Schristos test -z "$as_dir" && as_dir=. 2161.84Schristos as_found=: 2171.84Schristos case $as_dir in #( 2181.84Schristos /*) 2191.84Schristos for as_base in sh bash ksh sh5; do 2201.84Schristos # Try only shells that exist, to save several forks. 2211.84Schristos as_shell=$as_dir/$as_base 2221.84Schristos if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2231.84Schristos { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 2241.84Schristos CONFIG_SHELL=$as_shell as_have_required=yes 2251.84Schristos if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2261.84Schristos break 2 2271.84Schristosfi 2281.84Schristosfi 2291.84Schristos done;; 2301.84Schristos esac 2311.84Schristos as_found=false 2321.84Schristosdone 2331.84Schristos$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2341.84Schristos { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2351.84Schristos CONFIG_SHELL=$SHELL as_have_required=yes 2361.84Schristosfi; } 2371.84SchristosIFS=$as_save_IFS 2381.84Schristos 2391.84Schristos 2401.84Schristos if test "x$CONFIG_SHELL" != x; then : 2411.84Schristos export CONFIG_SHELL 2421.84Schristos # We cannot yet assume a decent shell, so we have to provide a 2431.84Schristos# neutralization value for shells without unset; and this also 2441.84Schristos# works around shells that cannot unset nonexistent variables. 2451.84Schristos# Preserve -v and -x to the replacement shell. 2461.84SchristosBASH_ENV=/dev/null 2471.84SchristosENV=/dev/null 2481.84Schristos(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2491.84Schristoscase $- in # (((( 2501.84Schristos *v*x* | *x*v* ) as_opts=-vx ;; 2511.84Schristos *v* ) as_opts=-v ;; 2521.84Schristos *x* ) as_opts=-x ;; 2531.84Schristos * ) as_opts= ;; 2541.84Schristosesac 2551.84Schristosexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 2561.84Schristos# Admittedly, this is quite paranoid, since all the known shells bail 2571.84Schristos# out after a failed `exec'. 2581.84Schristos$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 2591.84Schristosexit 255 2601.65Schristosfi 2611.61Schristos 2621.84Schristos if test x$as_have_required = xno; then : 2631.84Schristos $as_echo "$0: This script requires a shell more modern than all" 2641.84Schristos $as_echo "$0: the shells that I found on your system." 2651.84Schristos if test x${ZSH_VERSION+set} = xset ; then 2661.84Schristos $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2671.84Schristos $as_echo "$0: be upgraded to zsh 4.3.4 or later." 2681.84Schristos else 2691.84Schristos $as_echo "$0: Please tell bug-autoconf@gnu.org and 2701.84Schristos$0: lib-bug-people@NetBSD.org about your system, including 2711.84Schristos$0: any error possibly output before this message. Then 2721.84Schristos$0: install a modern shell, or manually run the script 2731.84Schristos$0: under such a shell if you do have one." 2741.84Schristos fi 2751.84Schristos exit 1 2761.84Schristosfi 2771.84Schristosfi 2781.84Schristosfi 2791.84SchristosSHELL=${CONFIG_SHELL-/bin/sh} 2801.84Schristosexport SHELL 2811.84Schristos# Unset more variables known to interfere with behavior of common tools. 2821.84SchristosCLICOLOR_FORCE= GREP_OPTIONS= 2831.84Schristosunset CLICOLOR_FORCE GREP_OPTIONS 2841.84Schristos 2851.84Schristos## --------------------- ## 2861.84Schristos## M4sh Shell Functions. ## 2871.84Schristos## --------------------- ## 2881.84Schristos# as_fn_unset VAR 2891.84Schristos# --------------- 2901.84Schristos# Portably unset VAR. 2911.84Schristosas_fn_unset () 2921.84Schristos{ 2931.84Schristos { eval $1=; unset $1;} 2941.84Schristos} 2951.84Schristosas_unset=as_fn_unset 2961.84Schristos 2971.84Schristos# as_fn_set_status STATUS 2981.84Schristos# ----------------------- 2991.84Schristos# Set $? to STATUS, without forking. 3001.84Schristosas_fn_set_status () 3011.84Schristos{ 3021.84Schristos return $1 3031.84Schristos} # as_fn_set_status 3041.84Schristos 3051.84Schristos# as_fn_exit STATUS 3061.84Schristos# ----------------- 3071.84Schristos# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3081.84Schristosas_fn_exit () 3091.84Schristos{ 3101.84Schristos set +e 3111.84Schristos as_fn_set_status $1 3121.84Schristos exit $1 3131.84Schristos} # as_fn_exit 3141.84Schristos 3151.84Schristos# as_fn_mkdir_p 3161.84Schristos# ------------- 3171.84Schristos# Create "$as_dir" as a directory, including parents if necessary. 3181.84Schristosas_fn_mkdir_p () 3191.84Schristos{ 3201.84Schristos 3211.84Schristos case $as_dir in #( 3221.84Schristos -*) as_dir=./$as_dir;; 3231.84Schristos esac 3241.84Schristos test -d "$as_dir" || eval $as_mkdir_p || { 3251.84Schristos as_dirs= 3261.84Schristos while :; do 3271.84Schristos case $as_dir in #( 3281.84Schristos *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3291.84Schristos *) as_qdir=$as_dir;; 3301.84Schristos esac 3311.84Schristos as_dirs="'$as_qdir' $as_dirs" 3321.84Schristos as_dir=`$as_dirname -- "$as_dir" || 3331.84Schristos$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3341.84Schristos X"$as_dir" : 'X\(//\)[^/]' \| \ 3351.84Schristos X"$as_dir" : 'X\(//\)$' \| \ 3361.84Schristos X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3371.84Schristos$as_echo X"$as_dir" | 3381.84Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3391.84Schristos s//\1/ 3401.84Schristos q 3411.84Schristos } 3421.84Schristos /^X\(\/\/\)[^/].*/{ 3431.84Schristos s//\1/ 3441.84Schristos q 3451.84Schristos } 3461.84Schristos /^X\(\/\/\)$/{ 3471.84Schristos s//\1/ 3481.84Schristos q 3491.84Schristos } 3501.84Schristos /^X\(\/\).*/{ 3511.84Schristos s//\1/ 3521.84Schristos q 3531.84Schristos } 3541.84Schristos s/.*/./; q'` 3551.84Schristos test -d "$as_dir" && break 3561.84Schristos done 3571.84Schristos test -z "$as_dirs" || eval "mkdir $as_dirs" 3581.84Schristos } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3591.84Schristos 3601.84Schristos 3611.84Schristos} # as_fn_mkdir_p 3621.84Schristos 3631.84Schristos# as_fn_executable_p FILE 3641.84Schristos# ----------------------- 3651.84Schristos# Test if FILE is an executable regular file. 3661.84Schristosas_fn_executable_p () 3671.84Schristos{ 3681.84Schristos test -f "$1" && test -x "$1" 3691.84Schristos} # as_fn_executable_p 3701.84Schristos# as_fn_append VAR VALUE 3711.84Schristos# ---------------------- 3721.84Schristos# Append the text in VALUE to the end of the definition contained in VAR. Take 3731.84Schristos# advantage of any shell optimizations that allow amortized linear growth over 3741.84Schristos# repeated appends, instead of the typical quadratic growth present in naive 3751.84Schristos# implementations. 3761.84Schristosif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3771.84Schristos eval 'as_fn_append () 3781.84Schristos { 3791.84Schristos eval $1+=\$2 3801.84Schristos }' 3811.84Schristoselse 3821.84Schristos as_fn_append () 3831.84Schristos { 3841.84Schristos eval $1=\$$1\$2 3851.84Schristos } 3861.84Schristosfi # as_fn_append 3871.84Schristos 3881.84Schristos# as_fn_arith ARG... 3891.84Schristos# ------------------ 3901.84Schristos# Perform arithmetic evaluation on the ARGs, and store the result in the 3911.84Schristos# global $as_val. Take advantage of shells that can avoid forks. The arguments 3921.84Schristos# must be portable across $(()) and expr. 3931.84Schristosif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3941.84Schristos eval 'as_fn_arith () 3951.84Schristos { 3961.84Schristos as_val=$(( $* )) 3971.84Schristos }' 3981.84Schristoselse 3991.84Schristos as_fn_arith () 4001.84Schristos { 4011.84Schristos as_val=`expr "$@" || test $? -eq 1` 4021.84Schristos } 4031.84Schristosfi # as_fn_arith 4041.84Schristos 4051.84Schristos 4061.84Schristos# as_fn_error STATUS ERROR [LINENO LOG_FD] 4071.84Schristos# ---------------------------------------- 4081.84Schristos# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4091.84Schristos# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4101.84Schristos# script with STATUS, using 1 if that was 0. 4111.84Schristosas_fn_error () 4121.84Schristos{ 4131.84Schristos as_status=$1; test $as_status -eq 0 && as_status=1 4141.84Schristos if test "$4"; then 4151.84Schristos as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4161.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4171.84Schristos fi 4181.84Schristos $as_echo "$as_me: error: $2" >&2 4191.84Schristos as_fn_exit $as_status 4201.84Schristos} # as_fn_error 4211.61Schristos 4221.84Schristosif expr a : '\(a\)' >/dev/null 2>&1 && 4231.84Schristos test "X`expr 00001 : '.*\(...\)'`" = X001; then 4241.1Stv as_expr=expr 4251.1Stvelse 4261.1Stv as_expr=false 4271.1Stvfi 4281.1Stv 4291.84Schristosif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4301.84Schristos as_basename=basename 4311.84Schristoselse 4321.84Schristos as_basename=false 4331.84Schristosfi 4341.84Schristos 4351.84Schristosif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4361.84Schristos as_dirname=dirname 4371.84Schristoselse 4381.84Schristos as_dirname=false 4391.84Schristosfi 4401.84Schristos 4411.84Schristosas_me=`$as_basename -- "$0" || 4421.84Schristos$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4431.84Schristos X"$0" : 'X\(//\)$' \| \ 4441.84Schristos X"$0" : 'X\(/\)' \| . 2>/dev/null || 4451.84Schristos$as_echo X/"$0" | 4461.84Schristos sed '/^.*\/\([^/][^/]*\)\/*$/{ 4471.84Schristos s//\1/ 4481.84Schristos q 4491.84Schristos } 4501.84Schristos /^X\/\(\/\/\)$/{ 4511.84Schristos s//\1/ 4521.84Schristos q 4531.84Schristos } 4541.84Schristos /^X\/\(\/\).*/{ 4551.84Schristos s//\1/ 4561.84Schristos q 4571.84Schristos } 4581.84Schristos s/.*/./; q'` 4591.84Schristos 4601.84Schristos# Avoid depending upon Character Ranges. 4611.84Schristosas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4621.84Schristosas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4631.84Schristosas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4641.84Schristosas_cr_digits='0123456789' 4651.84Schristosas_cr_alnum=$as_cr_Letters$as_cr_digits 4661.84Schristos 4671.84Schristos 4681.84Schristos as_lineno_1=$LINENO as_lineno_1a=$LINENO 4691.84Schristos as_lineno_2=$LINENO as_lineno_2a=$LINENO 4701.84Schristos eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4711.84Schristos test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4721.84Schristos # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4731.84Schristos sed -n ' 4741.84Schristos p 4751.84Schristos /[$]LINENO/= 4761.84Schristos ' <$as_myself | 4771.84Schristos sed ' 4781.84Schristos s/[$]LINENO.*/&-/ 4791.84Schristos t lineno 4801.84Schristos b 4811.84Schristos :lineno 4821.84Schristos N 4831.84Schristos :loop 4841.84Schristos s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4851.84Schristos t loop 4861.84Schristos s/-\n.*// 4871.84Schristos ' >$as_me.lineno && 4881.84Schristos chmod +x "$as_me.lineno" || 4891.84Schristos { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 4901.84Schristos 4911.84Schristos # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 4921.84Schristos # already done that, so ensure we don't try to do so again and fall 4931.84Schristos # in an infinite loop. This has already happened in practice. 4941.84Schristos _as_can_reexec=no; export _as_can_reexec 4951.84Schristos # Don't try to exec as it changes $[0], causing all sort of problems 4961.84Schristos # (the dirname of $[0] is not the place where we might find the 4971.84Schristos # original and so on. Autoconf is especially sensitive to this). 4981.84Schristos . "./$as_me.lineno" 4991.84Schristos # Exit status is that of the last command. 5001.84Schristos exit 5011.84Schristos} 5021.84Schristos 5031.84SchristosECHO_C= ECHO_N= ECHO_T= 5041.84Schristoscase `echo -n x` in #((((( 5051.84Schristos-n*) 5061.84Schristos case `echo 'xy\c'` in 5071.84Schristos *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5081.84Schristos xy) ECHO_C='\c';; 5091.84Schristos *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5101.84Schristos ECHO_T=' ';; 5111.84Schristos esac;; 5121.84Schristos*) 5131.84Schristos ECHO_N='-n';; 5141.84Schristosesac 5151.84Schristos 5161.1Stvrm -f conf$$ conf$$.exe conf$$.file 5171.84Schristosif test -d conf$$.dir; then 5181.84Schristos rm -f conf$$.dir/conf$$.file 5191.84Schristoselse 5201.84Schristos rm -f conf$$.dir 5211.84Schristos mkdir conf$$.dir 2>/dev/null 5221.84Schristosfi 5231.84Schristosif (echo >conf$$.file) 2>/dev/null; then 5241.84Schristos if ln -s conf$$.file conf$$ 2>/dev/null; then 5251.84Schristos as_ln_s='ln -s' 5261.84Schristos # ... but there are two gotchas: 5271.84Schristos # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5281.84Schristos # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5291.84Schristos # In both cases, we have to default to `cp -pR'. 5301.84Schristos ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5311.84Schristos as_ln_s='cp -pR' 5321.84Schristos elif ln conf$$.file conf$$ 2>/dev/null; then 5331.84Schristos as_ln_s=ln 5341.76Spooka else 5351.84Schristos as_ln_s='cp -pR' 5361.66Stsutsui fi 5371.1Stvelse 5381.84Schristos as_ln_s='cp -pR' 5391.1Stvfi 5401.84Schristosrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5411.84Schristosrmdir conf$$.dir 2>/dev/null 5421.63Sapb 5431.84Schristosif mkdir -p . 2>/dev/null; then 5441.84Schristos as_mkdir_p='mkdir -p "$as_dir"' 5451.61Schristoselse 5461.84Schristos test -d ./-p && rmdir ./-p 5471.84Schristos as_mkdir_p=false 5481.61Schristosfi 5491.65Schristos 5501.84Schristosas_test_x='test -x' 5511.84Schristosas_executable_p=as_fn_executable_p 5521.84Schristos 5531.84Schristos# Sed expression to map a string onto a valid CPP name. 5541.84Schristosas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5551.84Schristos 5561.84Schristos# Sed expression to map a string onto a valid variable name. 5571.84Schristosas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5581.74Schristos 5591.74Schristos 5601.84Schristostest -n "$DJDIR" || exec 7<&0 </dev/null 5611.84Schristosexec 6>&1 5621.1Stv 5631.1Stv# Name of the host. 5641.84Schristos# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 5651.1Stv# so uname gets run too. 5661.1Stvac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5671.1Stv 5681.1Stv# 5691.1Stv# Initializations. 5701.1Stv# 5711.1Stvac_default_prefix=/usr/local 5721.84Schristosac_clean_files= 5731.84Schristosac_config_libobj_dir=. 5741.84SchristosLIBOBJS= 5751.1Stvcross_compiling=no 5761.1Stvsubdirs= 5771.84SchristosMFLAGS= 5781.84SchristosMAKEFLAGS= 5791.1Stv 5801.84Schristos# Identity of this package. 5811.84SchristosPACKAGE_NAME='libnbcompat' 5821.84SchristosPACKAGE_TARNAME='libnbcompat' 5831.84SchristosPACKAGE_VERSION='noversion' 5841.84SchristosPACKAGE_STRING='libnbcompat noversion' 5851.84SchristosPACKAGE_BUGREPORT='lib-bug-people@NetBSD.org' 5861.84SchristosPACKAGE_URL='' 5871.1Stv 5881.1Stv# Factoring default headers for most tests. 5891.1Stvac_includes_default="\ 5901.1Stv#include <stdio.h> 5911.84Schristos#ifdef HAVE_SYS_TYPES_H 5921.1Stv# include <sys/types.h> 5931.1Stv#endif 5941.84Schristos#ifdef HAVE_SYS_STAT_H 5951.1Stv# include <sys/stat.h> 5961.1Stv#endif 5971.84Schristos#ifdef STDC_HEADERS 5981.1Stv# include <stdlib.h> 5991.1Stv# include <stddef.h> 6001.1Stv#else 6011.84Schristos# ifdef HAVE_STDLIB_H 6021.1Stv# include <stdlib.h> 6031.1Stv# endif 6041.1Stv#endif 6051.84Schristos#ifdef HAVE_STRING_H 6061.84Schristos# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 6071.1Stv# include <memory.h> 6081.1Stv# endif 6091.1Stv# include <string.h> 6101.1Stv#endif 6111.84Schristos#ifdef HAVE_STRINGS_H 6121.1Stv# include <strings.h> 6131.1Stv#endif 6141.84Schristos#ifdef HAVE_INTTYPES_H 6151.1Stv# include <inttypes.h> 6161.1Stv#endif 6171.84Schristos#ifdef HAVE_STDINT_H 6181.84Schristos# include <stdint.h> 6191.84Schristos#endif 6201.84Schristos#ifdef HAVE_UNISTD_H 6211.1Stv# include <unistd.h> 6221.1Stv#endif" 6231.1Stv 6241.84Schristosac_subst_vars='LTLIBOBJS 6251.84SchristosLIBOBJS 6261.102SlukemCC_WNO_STRINGOP_TRUNCATION 6271.102SlukemCC_WNO_STRINGOP_OVERFLOW 6281.102SlukemCC_WNO_MAYBE_UNINITIALIZED 6291.102SlukemCC_WNO_FORMAT_TRUNCATION 6301.102SlukemCC_NO_CPP_PRECOMP 6311.84SchristosALLOCA 6321.84SchristosBSHELL 6331.84SchristosEGREP 6341.84SchristosGREP 6351.84SchristosCPP 6361.84SchristosOBJEXT 6371.84SchristosEXEEXT 6381.84Schristosac_ct_CC 6391.84SchristosCPPFLAGS 6401.84SchristosLDFLAGS 6411.84SchristosCFLAGS 6421.84SchristosCC 6431.84Schristostarget_alias 6441.84Schristoshost_alias 6451.84Schristosbuild_alias 6461.84SchristosLIBS 6471.84SchristosECHO_T 6481.84SchristosECHO_N 6491.84SchristosECHO_C 6501.84SchristosDEFS 6511.84Schristosmandir 6521.84Schristoslocaledir 6531.84Schristoslibdir 6541.84Schristospsdir 6551.84Schristospdfdir 6561.84Schristosdvidir 6571.84Schristoshtmldir 6581.84Schristosinfodir 6591.84Schristosdocdir 6601.84Schristosoldincludedir 6611.84Schristosincludedir 6621.84Schristoslocalstatedir 6631.84Schristossharedstatedir 6641.84Schristossysconfdir 6651.84Schristosdatadir 6661.84Schristosdatarootdir 6671.84Schristoslibexecdir 6681.84Schristossbindir 6691.84Schristosbindir 6701.84Schristosprogram_transform_name 6711.84Schristosprefix 6721.84Schristosexec_prefix 6731.84SchristosPACKAGE_URL 6741.84SchristosPACKAGE_BUGREPORT 6751.84SchristosPACKAGE_STRING 6761.84SchristosPACKAGE_VERSION 6771.84SchristosPACKAGE_TARNAME 6781.84SchristosPACKAGE_NAME 6791.84SchristosPATH_SEPARATOR 6801.84SchristosSHELL' 6811.84Schristosac_subst_files='' 6821.84Schristosac_user_opts=' 6831.84Schristosenable_option_checking 6841.84Schristos' 6851.84Schristos ac_precious_vars='build_alias 6861.84Schristoshost_alias 6871.84Schristostarget_alias 6881.84SchristosCC 6891.84SchristosCFLAGS 6901.84SchristosLDFLAGS 6911.84SchristosLIBS 6921.84SchristosCPPFLAGS 6931.84SchristosCPP' 6941.84Schristos 6951.84Schristos 6961.1Stv# Initialize some variables set by options. 6971.1Stvac_init_help= 6981.1Stvac_init_version=false 6991.84Schristosac_unrecognized_opts= 7001.84Schristosac_unrecognized_sep= 7011.1Stv# The variables have the same names as the options, with 7021.1Stv# dashes changed to underlines. 7031.1Stvcache_file=/dev/null 7041.1Stvexec_prefix=NONE 7051.1Stvno_create= 7061.1Stvno_recursion= 7071.1Stvprefix=NONE 7081.1Stvprogram_prefix=NONE 7091.1Stvprogram_suffix=NONE 7101.1Stvprogram_transform_name=s,x,x, 7111.1Stvsilent= 7121.1Stvsite= 7131.1Stvsrcdir= 7141.1Stvverbose= 7151.1Stvx_includes=NONE 7161.1Stvx_libraries=NONE 7171.1Stv 7181.1Stv# Installation directory options. 7191.1Stv# These are left unexpanded so users can "make install exec_prefix=/foo" 7201.1Stv# and all the variables that are supposed to be based on exec_prefix 7211.1Stv# by default will actually change. 7221.1Stv# Use braces instead of parens because sh, perl, etc. also accept them. 7231.84Schristos# (The list follows the same order as the GNU Coding Standards.) 7241.1Stvbindir='${exec_prefix}/bin' 7251.1Stvsbindir='${exec_prefix}/sbin' 7261.1Stvlibexecdir='${exec_prefix}/libexec' 7271.84Schristosdatarootdir='${prefix}/share' 7281.84Schristosdatadir='${datarootdir}' 7291.1Stvsysconfdir='${prefix}/etc' 7301.1Stvsharedstatedir='${prefix}/com' 7311.1Stvlocalstatedir='${prefix}/var' 7321.1Stvincludedir='${prefix}/include' 7331.1Stvoldincludedir='/usr/include' 7341.84Schristosdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7351.84Schristosinfodir='${datarootdir}/info' 7361.84Schristoshtmldir='${docdir}' 7371.84Schristosdvidir='${docdir}' 7381.84Schristospdfdir='${docdir}' 7391.84Schristospsdir='${docdir}' 7401.84Schristoslibdir='${exec_prefix}/lib' 7411.84Schristoslocaledir='${datarootdir}/locale' 7421.84Schristosmandir='${datarootdir}/man' 7431.63Sapb 7441.1Stvac_prev= 7451.84Schristosac_dashdash= 7461.1Stvfor ac_option 7471.1Stvdo 7481.1Stv # If the previous option needs an argument, assign it. 7491.1Stv if test -n "$ac_prev"; then 7501.84Schristos eval $ac_prev=\$ac_option 7511.1Stv ac_prev= 7521.1Stv continue 7531.1Stv fi 7541.1Stv 7551.84Schristos case $ac_option in 7561.84Schristos *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 7571.84Schristos *=) ac_optarg= ;; 7581.84Schristos *) ac_optarg=yes ;; 7591.84Schristos esac 7601.1Stv 7611.1Stv # Accept the important Cygnus configure options, so we can diagnose typos. 7621.1Stv 7631.84Schristos case $ac_dashdash$ac_option in 7641.84Schristos --) 7651.84Schristos ac_dashdash=yes ;; 7661.1Stv 7671.1Stv -bindir | --bindir | --bindi | --bind | --bin | --bi) 7681.1Stv ac_prev=bindir ;; 7691.1Stv -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 7701.1Stv bindir=$ac_optarg ;; 7711.1Stv 7721.1Stv -build | --build | --buil | --bui | --bu) 7731.1Stv ac_prev=build_alias ;; 7741.1Stv -build=* | --build=* | --buil=* | --bui=* | --bu=*) 7751.1Stv build_alias=$ac_optarg ;; 7761.1Stv 7771.1Stv -cache-file | --cache-file | --cache-fil | --cache-fi \ 7781.1Stv | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 7791.1Stv ac_prev=cache_file ;; 7801.1Stv -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 7811.1Stv | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 7821.1Stv cache_file=$ac_optarg ;; 7831.1Stv 7841.1Stv --config-cache | -C) 7851.1Stv cache_file=config.cache ;; 7861.1Stv 7871.84Schristos -datadir | --datadir | --datadi | --datad) 7881.1Stv ac_prev=datadir ;; 7891.84Schristos -datadir=* | --datadir=* | --datadi=* | --datad=*) 7901.1Stv datadir=$ac_optarg ;; 7911.1Stv 7921.84Schristos -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 7931.84Schristos | --dataroo | --dataro | --datar) 7941.84Schristos ac_prev=datarootdir ;; 7951.84Schristos -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 7961.84Schristos | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 7971.84Schristos datarootdir=$ac_optarg ;; 7981.84Schristos 7991.1Stv -disable-* | --disable-*) 8001.84Schristos ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8011.1Stv # Reject names that are not valid shell variable names. 8021.84Schristos expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8031.84Schristos as_fn_error $? "invalid feature name: $ac_useropt" 8041.84Schristos ac_useropt_orig=$ac_useropt 8051.84Schristos ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8061.84Schristos case $ac_user_opts in 8071.84Schristos *" 8081.84Schristos"enable_$ac_useropt" 8091.84Schristos"*) ;; 8101.84Schristos *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8111.84Schristos ac_unrecognized_sep=', ';; 8121.84Schristos esac 8131.84Schristos eval enable_$ac_useropt=no ;; 8141.84Schristos 8151.84Schristos -docdir | --docdir | --docdi | --doc | --do) 8161.84Schristos ac_prev=docdir ;; 8171.84Schristos -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8181.84Schristos docdir=$ac_optarg ;; 8191.84Schristos 8201.84Schristos -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8211.84Schristos ac_prev=dvidir ;; 8221.84Schristos -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8231.84Schristos dvidir=$ac_optarg ;; 8241.1Stv 8251.1Stv -enable-* | --enable-*) 8261.84Schristos ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8271.1Stv # Reject names that are not valid shell variable names. 8281.84Schristos expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8291.84Schristos as_fn_error $? "invalid feature name: $ac_useropt" 8301.84Schristos ac_useropt_orig=$ac_useropt 8311.84Schristos ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8321.84Schristos case $ac_user_opts in 8331.84Schristos *" 8341.84Schristos"enable_$ac_useropt" 8351.84Schristos"*) ;; 8361.84Schristos *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8371.84Schristos ac_unrecognized_sep=', ';; 8381.66Stsutsui esac 8391.84Schristos eval enable_$ac_useropt=\$ac_optarg ;; 8401.1Stv 8411.1Stv -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 8421.1Stv | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 8431.1Stv | --exec | --exe | --ex) 8441.1Stv ac_prev=exec_prefix ;; 8451.1Stv -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 8461.1Stv | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 8471.1Stv | --exec=* | --exe=* | --ex=*) 8481.1Stv exec_prefix=$ac_optarg ;; 8491.1Stv 8501.1Stv -gas | --gas | --ga | --g) 8511.1Stv # Obsolete; use --with-gas. 8521.1Stv with_gas=yes ;; 8531.1Stv 8541.1Stv -help | --help | --hel | --he | -h) 8551.1Stv ac_init_help=long ;; 8561.1Stv -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 8571.1Stv ac_init_help=recursive ;; 8581.1Stv -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 8591.1Stv ac_init_help=short ;; 8601.1Stv 8611.1Stv -host | --host | --hos | --ho) 8621.1Stv ac_prev=host_alias ;; 8631.1Stv -host=* | --host=* | --hos=* | --ho=*) 8641.1Stv host_alias=$ac_optarg ;; 8651.1Stv 8661.84Schristos -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 8671.84Schristos ac_prev=htmldir ;; 8681.84Schristos -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 8691.84Schristos | --ht=*) 8701.84Schristos htmldir=$ac_optarg ;; 8711.84Schristos 8721.1Stv -includedir | --includedir | --includedi | --included | --include \ 8731.1Stv | --includ | --inclu | --incl | --inc) 8741.1Stv ac_prev=includedir ;; 8751.1Stv -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 8761.1Stv | --includ=* | --inclu=* | --incl=* | --inc=*) 8771.1Stv includedir=$ac_optarg ;; 8781.1Stv 8791.1Stv -infodir | --infodir | --infodi | --infod | --info | --inf) 8801.1Stv ac_prev=infodir ;; 8811.1Stv -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 8821.1Stv infodir=$ac_optarg ;; 8831.1Stv 8841.1Stv -libdir | --libdir | --libdi | --libd) 8851.1Stv ac_prev=libdir ;; 8861.1Stv -libdir=* | --libdir=* | --libdi=* | --libd=*) 8871.1Stv libdir=$ac_optarg ;; 8881.1Stv 8891.1Stv -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 8901.1Stv | --libexe | --libex | --libe) 8911.1Stv ac_prev=libexecdir ;; 8921.1Stv -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 8931.1Stv | --libexe=* | --libex=* | --libe=*) 8941.1Stv libexecdir=$ac_optarg ;; 8951.1Stv 8961.84Schristos -localedir | --localedir | --localedi | --localed | --locale) 8971.84Schristos ac_prev=localedir ;; 8981.84Schristos -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 8991.84Schristos localedir=$ac_optarg ;; 9001.84Schristos 9011.1Stv -localstatedir | --localstatedir | --localstatedi | --localstated \ 9021.84Schristos | --localstate | --localstat | --localsta | --localst | --locals) 9031.1Stv ac_prev=localstatedir ;; 9041.1Stv -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9051.84Schristos | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9061.1Stv localstatedir=$ac_optarg ;; 9071.1Stv 9081.1Stv -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9091.1Stv ac_prev=mandir ;; 9101.1Stv -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9111.1Stv mandir=$ac_optarg ;; 9121.1Stv 9131.1Stv -nfp | --nfp | --nf) 9141.1Stv # Obsolete; use --without-fp. 9151.1Stv with_fp=no ;; 9161.1Stv 9171.1Stv -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9181.84Schristos | --no-cr | --no-c | -n) 9191.1Stv no_create=yes ;; 9201.1Stv 9211.1Stv -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9221.1Stv | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9231.1Stv no_recursion=yes ;; 9241.1Stv 9251.1Stv -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9261.1Stv | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9271.1Stv | --oldin | --oldi | --old | --ol | --o) 9281.1Stv ac_prev=oldincludedir ;; 9291.1Stv -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9301.1Stv | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9311.1Stv | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9321.1Stv oldincludedir=$ac_optarg ;; 9331.1Stv 9341.1Stv -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9351.1Stv ac_prev=prefix ;; 9361.1Stv -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9371.1Stv prefix=$ac_optarg ;; 9381.1Stv 9391.1Stv -program-prefix | --program-prefix | --program-prefi | --program-pref \ 9401.1Stv | --program-pre | --program-pr | --program-p) 9411.1Stv ac_prev=program_prefix ;; 9421.1Stv -program-prefix=* | --program-prefix=* | --program-prefi=* \ 9431.1Stv | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 9441.1Stv program_prefix=$ac_optarg ;; 9451.1Stv 9461.1Stv -program-suffix | --program-suffix | --program-suffi | --program-suff \ 9471.1Stv | --program-suf | --program-su | --program-s) 9481.1Stv ac_prev=program_suffix ;; 9491.1Stv -program-suffix=* | --program-suffix=* | --program-suffi=* \ 9501.1Stv | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 9511.1Stv program_suffix=$ac_optarg ;; 9521.1Stv 9531.1Stv -program-transform-name | --program-transform-name \ 9541.1Stv | --program-transform-nam | --program-transform-na \ 9551.1Stv | --program-transform-n | --program-transform- \ 9561.1Stv | --program-transform | --program-transfor \ 9571.1Stv | --program-transfo | --program-transf \ 9581.1Stv | --program-trans | --program-tran \ 9591.1Stv | --progr-tra | --program-tr | --program-t) 9601.1Stv ac_prev=program_transform_name ;; 9611.1Stv -program-transform-name=* | --program-transform-name=* \ 9621.1Stv | --program-transform-nam=* | --program-transform-na=* \ 9631.1Stv | --program-transform-n=* | --program-transform-=* \ 9641.1Stv | --program-transform=* | --program-transfor=* \ 9651.1Stv | --program-transfo=* | --program-transf=* \ 9661.1Stv | --program-trans=* | --program-tran=* \ 9671.1Stv | --progr-tra=* | --program-tr=* | --program-t=*) 9681.1Stv program_transform_name=$ac_optarg ;; 9691.1Stv 9701.84Schristos -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 9711.84Schristos ac_prev=pdfdir ;; 9721.84Schristos -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 9731.84Schristos pdfdir=$ac_optarg ;; 9741.84Schristos 9751.84Schristos -psdir | --psdir | --psdi | --psd | --ps) 9761.84Schristos ac_prev=psdir ;; 9771.84Schristos -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 9781.84Schristos psdir=$ac_optarg ;; 9791.84Schristos 9801.1Stv -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9811.1Stv | -silent | --silent | --silen | --sile | --sil) 9821.1Stv silent=yes ;; 9831.1Stv 9841.1Stv -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 9851.1Stv ac_prev=sbindir ;; 9861.1Stv -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 9871.1Stv | --sbi=* | --sb=*) 9881.1Stv sbindir=$ac_optarg ;; 9891.1Stv 9901.1Stv -sharedstatedir | --sharedstatedir | --sharedstatedi \ 9911.1Stv | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 9921.1Stv | --sharedst | --shareds | --shared | --share | --shar \ 9931.1Stv | --sha | --sh) 9941.1Stv ac_prev=sharedstatedir ;; 9951.1Stv -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 9961.1Stv | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 9971.1Stv | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 9981.1Stv | --sha=* | --sh=*) 9991.1Stv sharedstatedir=$ac_optarg ;; 10001.1Stv 10011.1Stv -site | --site | --sit) 10021.1Stv ac_prev=site ;; 10031.1Stv -site=* | --site=* | --sit=*) 10041.1Stv site=$ac_optarg ;; 10051.1Stv 10061.1Stv -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10071.1Stv ac_prev=srcdir ;; 10081.1Stv -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10091.1Stv srcdir=$ac_optarg ;; 10101.1Stv 10111.1Stv -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10121.1Stv | --syscon | --sysco | --sysc | --sys | --sy) 10131.1Stv ac_prev=sysconfdir ;; 10141.1Stv -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10151.1Stv | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10161.1Stv sysconfdir=$ac_optarg ;; 10171.1Stv 10181.1Stv -target | --target | --targe | --targ | --tar | --ta | --t) 10191.1Stv ac_prev=target_alias ;; 10201.1Stv -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10211.1Stv target_alias=$ac_optarg ;; 10221.1Stv 10231.1Stv -v | -verbose | --verbose | --verbos | --verbo | --verb) 10241.1Stv verbose=yes ;; 10251.1Stv 10261.1Stv -version | --version | --versio | --versi | --vers | -V) 10271.1Stv ac_init_version=: ;; 10281.1Stv 10291.1Stv -with-* | --with-*) 10301.84Schristos ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10311.1Stv # Reject names that are not valid shell variable names. 10321.84Schristos expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10331.84Schristos as_fn_error $? "invalid package name: $ac_useropt" 10341.84Schristos ac_useropt_orig=$ac_useropt 10351.84Schristos ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10361.84Schristos case $ac_user_opts in 10371.84Schristos *" 10381.84Schristos"with_$ac_useropt" 10391.84Schristos"*) ;; 10401.84Schristos *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10411.84Schristos ac_unrecognized_sep=', ';; 10421.66Stsutsui esac 10431.84Schristos eval with_$ac_useropt=\$ac_optarg ;; 10441.1Stv 10451.1Stv -without-* | --without-*) 10461.84Schristos ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 10471.1Stv # Reject names that are not valid shell variable names. 10481.84Schristos expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10491.84Schristos as_fn_error $? "invalid package name: $ac_useropt" 10501.84Schristos ac_useropt_orig=$ac_useropt 10511.84Schristos ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10521.84Schristos case $ac_user_opts in 10531.84Schristos *" 10541.84Schristos"with_$ac_useropt" 10551.84Schristos"*) ;; 10561.84Schristos *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 10571.84Schristos ac_unrecognized_sep=', ';; 10581.84Schristos esac 10591.84Schristos eval with_$ac_useropt=no ;; 10601.1Stv 10611.1Stv --x) 10621.1Stv # Obsolete; use --with-x. 10631.1Stv with_x=yes ;; 10641.1Stv 10651.1Stv -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 10661.1Stv | --x-incl | --x-inc | --x-in | --x-i) 10671.1Stv ac_prev=x_includes ;; 10681.1Stv -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 10691.1Stv | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 10701.1Stv x_includes=$ac_optarg ;; 10711.1Stv 10721.1Stv -x-libraries | --x-libraries | --x-librarie | --x-librari \ 10731.1Stv | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 10741.1Stv ac_prev=x_libraries ;; 10751.1Stv -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 10761.1Stv | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 10771.1Stv x_libraries=$ac_optarg ;; 10781.1Stv 10791.84Schristos -*) as_fn_error $? "unrecognized option: \`$ac_option' 10801.84SchristosTry \`$0 --help' for more information" 10811.1Stv ;; 10821.1Stv 10831.1Stv *=*) 10841.1Stv ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 10851.1Stv # Reject names that are not valid shell variable names. 10861.84Schristos case $ac_envvar in #( 10871.84Schristos '' | [0-9]* | *[!_$as_cr_alnum]* ) 10881.84Schristos as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 10891.84Schristos esac 10901.84Schristos eval $ac_envvar=\$ac_optarg 10911.1Stv export $ac_envvar ;; 10921.1Stv 10931.1Stv *) 10941.1Stv # FIXME: should be removed in autoconf 3.0. 10951.84Schristos $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 10961.1Stv expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 10971.84Schristos $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 10981.84Schristos : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 10991.1Stv ;; 11001.1Stv 11011.1Stv esac 11021.1Stvdone 11031.1Stv 11041.1Stvif test -n "$ac_prev"; then 11051.1Stv ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11061.84Schristos as_fn_error $? "missing argument to $ac_option" 11071.84Schristosfi 11081.84Schristos 11091.84Schristosif test -n "$ac_unrecognized_opts"; then 11101.84Schristos case $enable_option_checking in 11111.84Schristos no) ;; 11121.84Schristos fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11131.84Schristos *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11141.84Schristos esac 11151.74Schristosfi 11161.74Schristos 11171.84Schristos# Check all directory arguments for consistency. 11181.84Schristosfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11191.84Schristos datadir sysconfdir sharedstatedir localstatedir includedir \ 11201.84Schristos oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11211.84Schristos libdir localedir mandir 11221.76Spookado 11231.84Schristos eval ac_val=\$$ac_var 11241.84Schristos # Remove trailing slashes. 11251.76Spooka case $ac_val in 11261.84Schristos */ ) 11271.84Schristos ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11281.84Schristos eval $ac_var=\$ac_val;; 11291.74Schristos esac 11301.84Schristos # Be sure to have absolute directory names. 11311.1Stv case $ac_val in 11321.84Schristos [\\/$]* | ?:[\\/]* ) continue;; 11331.84Schristos NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11341.1Stv esac 11351.84Schristos as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 11361.1Stvdone 11371.1Stv 11381.1Stv# There might be people who depend on the old broken behavior: `$host' 11391.1Stv# used to hold the argument of --host etc. 11401.84Schristos# FIXME: To remove some day. 11411.1Stvbuild=$build_alias 11421.1Stvhost=$host_alias 11431.1Stvtarget=$target_alias 11441.1Stv 11451.84Schristos# FIXME: To remove some day. 11461.1Stvif test "x$host_alias" != x; then 11471.1Stv if test "x$build_alias" = x; then 11481.1Stv cross_compiling=maybe 11491.1Stv elif test "x$build_alias" != "x$host_alias"; then 11501.1Stv cross_compiling=yes 11511.1Stv fi 11521.1Stvfi 11531.1Stv 11541.1Stvac_tool_prefix= 11551.1Stvtest -n "$host_alias" && ac_tool_prefix=$host_alias- 11561.1Stv 11571.1Stvtest "$silent" = yes && exec 6>/dev/null 11581.1Stv 11591.84Schristos 11601.84Schristosac_pwd=`pwd` && test -n "$ac_pwd" && 11611.84Schristosac_ls_di=`ls -di .` && 11621.84Schristosac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 11631.84Schristos as_fn_error $? "working directory cannot be determined" 11641.84Schristostest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 11651.84Schristos as_fn_error $? "pwd does not report name of working directory" 11661.84Schristos 11671.84Schristos 11681.1Stv# Find the source files, if location was not specified. 11691.1Stvif test -z "$srcdir"; then 11701.1Stv ac_srcdir_defaulted=yes 11711.84Schristos # Try the directory containing this script, then the parent directory. 11721.84Schristos ac_confdir=`$as_dirname -- "$as_myself" || 11731.84Schristos$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11741.84Schristos X"$as_myself" : 'X\(//\)[^/]' \| \ 11751.84Schristos X"$as_myself" : 'X\(//\)$' \| \ 11761.84Schristos X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 11771.84Schristos$as_echo X"$as_myself" | 11781.84Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11791.84Schristos s//\1/ 11801.84Schristos q 11811.84Schristos } 11821.84Schristos /^X\(\/\/\)[^/].*/{ 11831.84Schristos s//\1/ 11841.84Schristos q 11851.84Schristos } 11861.84Schristos /^X\(\/\/\)$/{ 11871.84Schristos s//\1/ 11881.84Schristos q 11891.84Schristos } 11901.84Schristos /^X\(\/\).*/{ 11911.84Schristos s//\1/ 11921.84Schristos q 11931.84Schristos } 11941.84Schristos s/.*/./; q'` 11951.1Stv srcdir=$ac_confdir 11961.84Schristos if test ! -r "$srcdir/$ac_unique_file"; then 11971.1Stv srcdir=.. 11981.1Stv fi 11991.1Stvelse 12001.1Stv ac_srcdir_defaulted=no 12011.1Stvfi 12021.84Schristosif test ! -r "$srcdir/$ac_unique_file"; then 12031.84Schristos test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12041.84Schristos as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 12051.84Schristosfi 12061.84Schristosac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12071.84Schristosac_abs_confdir=`( 12081.84Schristos cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12091.84Schristos pwd)` 12101.84Schristos# When building in place, set srcdir=. 12111.84Schristosif test "$ac_abs_confdir" = "$ac_pwd"; then 12121.84Schristos srcdir=. 12131.84Schristosfi 12141.84Schristos# Remove unnecessary trailing slashes from srcdir. 12151.84Schristos# Double slashes in file names in object file debugging info 12161.84Schristos# mess up M-x gdb in Emacs. 12171.84Schristoscase $srcdir in 12181.84Schristos*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12191.84Schristosesac 12201.84Schristosfor ac_var in $ac_precious_vars; do 12211.84Schristos eval ac_env_${ac_var}_set=\${${ac_var}+set} 12221.84Schristos eval ac_env_${ac_var}_value=\$${ac_var} 12231.84Schristos eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12241.84Schristos eval ac_cv_env_${ac_var}_value=\$${ac_var} 12251.84Schristosdone 12261.1Stv 12271.1Stv# 12281.1Stv# Report the --help message. 12291.1Stv# 12301.1Stvif test "$ac_init_help" = "long"; then 12311.1Stv # Omit some internal or obsolete options to make the list less imposing. 12321.1Stv # This message is too long to be a string in the A/UX 3.1 sh. 12331.84Schristos cat <<_ACEOF 12341.1Stv\`configure' configures libnbcompat noversion to adapt to many kinds of systems. 12351.1Stv 12361.1StvUsage: $0 [OPTION]... [VAR=VALUE]... 12371.1Stv 12381.1StvTo assign environment variables (e.g., CC, CFLAGS...), specify them as 12391.1StvVAR=VALUE. See below for descriptions of some of the useful variables. 12401.1Stv 12411.1StvDefaults for the options are specified in brackets. 12421.1Stv 12431.1StvConfiguration: 12441.1Stv -h, --help display this help and exit 12451.1Stv --help=short display options specific to this package 12461.1Stv --help=recursive display the short help of all the included packages 12471.1Stv -V, --version display version information and exit 12481.84Schristos -q, --quiet, --silent do not print \`checking ...' messages 12491.1Stv --cache-file=FILE cache test results in FILE [disabled] 12501.1Stv -C, --config-cache alias for \`--cache-file=config.cache' 12511.1Stv -n, --no-create do not create output files 12521.1Stv --srcdir=DIR find the sources in DIR [configure dir or \`..'] 12531.1Stv 12541.1StvInstallation directories: 12551.1Stv --prefix=PREFIX install architecture-independent files in PREFIX 12561.66Stsutsui [$ac_default_prefix] 12571.1Stv --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 12581.66Stsutsui [PREFIX] 12591.1Stv 12601.1StvBy default, \`make install' will install all the files in 12611.1Stv\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 12621.1Stvan installation prefix other than \`$ac_default_prefix' using \`--prefix', 12631.1Stvfor instance \`--prefix=\$HOME'. 12641.1Stv 12651.1StvFor better control, use the options below. 12661.1Stv 12671.1StvFine tuning of the installation directories: 12681.84Schristos --bindir=DIR user executables [EPREFIX/bin] 12691.84Schristos --sbindir=DIR system admin executables [EPREFIX/sbin] 12701.84Schristos --libexecdir=DIR program executables [EPREFIX/libexec] 12711.84Schristos --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 12721.84Schristos --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 12731.84Schristos --localstatedir=DIR modifiable single-machine data [PREFIX/var] 12741.84Schristos --libdir=DIR object code libraries [EPREFIX/lib] 12751.84Schristos --includedir=DIR C header files [PREFIX/include] 12761.84Schristos --oldincludedir=DIR C header files for non-gcc [/usr/include] 12771.84Schristos --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 12781.84Schristos --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 12791.84Schristos --infodir=DIR info documentation [DATAROOTDIR/info] 12801.84Schristos --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 12811.84Schristos --mandir=DIR man documentation [DATAROOTDIR/man] 12821.84Schristos --docdir=DIR documentation root [DATAROOTDIR/doc/libnbcompat] 12831.84Schristos --htmldir=DIR html documentation [DOCDIR] 12841.84Schristos --dvidir=DIR dvi documentation [DOCDIR] 12851.84Schristos --pdfdir=DIR pdf documentation [DOCDIR] 12861.84Schristos --psdir=DIR ps documentation [DOCDIR] 12871.84Schristos_ACEOF 12881.1Stv 12891.84Schristos cat <<\_ACEOF 12901.84Schristos_ACEOF 12911.1Stvfi 12921.1Stv 12931.1Stvif test -n "$ac_init_help"; then 12941.1Stv case $ac_init_help in 12951.1Stv short | recursive ) echo "Configuration of libnbcompat noversion:";; 12961.1Stv esac 12971.84Schristos cat <<\_ACEOF 12981.1Stv 12991.1StvSome influential environment variables: 13001.1Stv CC C compiler command 13011.1Stv CFLAGS C compiler flags 13021.1Stv LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13031.1Stv nonstandard directory <lib dir> 13041.84Schristos LIBS libraries to pass to the linker, e.g. -l<library> 13051.84Schristos CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13061.84Schristos you have headers in a nonstandard directory <include dir> 13071.1Stv CPP C preprocessor 13081.1Stv 13091.1StvUse these variables to override the choices made by `configure' or to help 13101.1Stvit to find libraries and programs with nonstandard names/locations. 13111.1Stv 13121.41SsaloReport bugs to <lib-bug-people@NetBSD.org>. 13131.84Schristos_ACEOF 13141.84Schristosac_status=$? 13151.1Stvfi 13161.1Stv 13171.1Stvif test "$ac_init_help" = "recursive"; then 13181.1Stv # If there are subdirs, report their specific --help. 13191.84Schristos for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 13201.84Schristos test -d "$ac_dir" || 13211.84Schristos { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 13221.84Schristos continue 13231.84Schristos ac_builddir=. 13241.84Schristos 13251.84Schristoscase "$ac_dir" in 13261.84Schristos.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13271.84Schristos*) 13281.84Schristos ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13291.84Schristos # A ".." for each directory in $ac_dir_suffix. 13301.84Schristos ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13311.84Schristos case $ac_top_builddir_sub in 13321.84Schristos "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13331.84Schristos *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13341.84Schristos esac ;; 13351.84Schristosesac 13361.84Schristosac_abs_top_builddir=$ac_pwd 13371.84Schristosac_abs_builddir=$ac_pwd$ac_dir_suffix 13381.84Schristos# for backward compatibility: 13391.84Schristosac_top_builddir=$ac_top_build_prefix 13401.84Schristos 13411.84Schristoscase $srcdir in 13421.84Schristos .) # We are building in place. 13431.84Schristos ac_srcdir=. 13441.84Schristos ac_top_srcdir=$ac_top_builddir_sub 13451.84Schristos ac_abs_top_srcdir=$ac_pwd ;; 13461.84Schristos [\\/]* | ?:[\\/]* ) # Absolute name. 13471.84Schristos ac_srcdir=$srcdir$ac_dir_suffix; 13481.84Schristos ac_top_srcdir=$srcdir 13491.84Schristos ac_abs_top_srcdir=$srcdir ;; 13501.84Schristos *) # Relative name. 13511.84Schristos ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13521.84Schristos ac_top_srcdir=$ac_top_build_prefix$srcdir 13531.84Schristos ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13541.84Schristosesac 13551.84Schristosac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13561.1Stv 13571.84Schristos cd "$ac_dir" || { ac_status=$?; continue; } 13581.84Schristos # Check for guested configure. 13591.84Schristos if test -f "$ac_srcdir/configure.gnu"; then 13601.84Schristos echo && 13611.84Schristos $SHELL "$ac_srcdir/configure.gnu" --help=recursive 13621.84Schristos elif test -f "$ac_srcdir/configure"; then 13631.84Schristos echo && 13641.84Schristos $SHELL "$ac_srcdir/configure" --help=recursive 13651.65Schristos else 13661.84Schristos $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 13671.84Schristos fi || ac_status=$? 13681.84Schristos cd "$ac_pwd" || { ac_status=$?; break; } 13691.65Schristos done 13701.1Stvfi 13711.1Stv 13721.84Schristostest -n "$ac_init_help" && exit $ac_status 13731.1Stvif $ac_init_version; then 13741.84Schristos cat <<\_ACEOF 13751.1Stvlibnbcompat configure noversion 13761.84Schristosgenerated by GNU Autoconf 2.69 13771.1Stv 13781.84SchristosCopyright (C) 2012 Free Software Foundation, Inc. 13791.1StvThis configure script is free software; the Free Software Foundation 13801.1Stvgives unlimited permission to copy, distribute and modify it. 13811.84Schristos_ACEOF 13821.84Schristos exit 13831.1Stvfi 13841.1Stv 13851.84Schristos## ------------------------ ## 13861.84Schristos## Autoconf initialization. ## 13871.84Schristos## ------------------------ ## 13881.84Schristos 13891.84Schristos# ac_fn_c_try_compile LINENO 13901.84Schristos# -------------------------- 13911.84Schristos# Try to compile conftest.$ac_ext, and return whether this succeeded. 13921.84Schristosac_fn_c_try_compile () 13931.84Schristos{ 13941.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13951.84Schristos rm -f conftest.$ac_objext 13961.84Schristos if { { ac_try="$ac_compile" 13971.84Schristoscase "(($ac_try" in 13981.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13991.84Schristos *) ac_try_echo=$ac_try;; 14001.84Schristosesac 14011.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14021.84Schristos$as_echo "$ac_try_echo"; } >&5 14031.84Schristos (eval "$ac_compile") 2>conftest.err 14041.84Schristos ac_status=$? 14051.84Schristos if test -s conftest.err; then 14061.84Schristos grep -v '^ *+' conftest.err >conftest.er1 14071.84Schristos cat conftest.er1 >&5 14081.84Schristos mv -f conftest.er1 conftest.err 14091.84Schristos fi 14101.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14111.84Schristos test $ac_status = 0; } && { 14121.84Schristos test -z "$ac_c_werror_flag" || 14131.84Schristos test ! -s conftest.err 14141.84Schristos } && test -s conftest.$ac_objext; then : 14151.84Schristos ac_retval=0 14161.84Schristoselse 14171.84Schristos $as_echo "$as_me: failed program was:" >&5 14181.84Schristossed 's/^/| /' conftest.$ac_ext >&5 14191.84Schristos 14201.84Schristos ac_retval=1 14211.84Schristosfi 14221.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 14231.84Schristos as_fn_set_status $ac_retval 14241.84Schristos 14251.84Schristos} # ac_fn_c_try_compile 14261.84Schristos 14271.84Schristos# ac_fn_c_try_cpp LINENO 14281.84Schristos# ---------------------- 14291.84Schristos# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 14301.84Schristosac_fn_c_try_cpp () 14311.84Schristos{ 14321.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14331.84Schristos if { { ac_try="$ac_cpp conftest.$ac_ext" 14341.84Schristoscase "(($ac_try" in 14351.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14361.84Schristos *) ac_try_echo=$ac_try;; 14371.84Schristosesac 14381.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14391.84Schristos$as_echo "$ac_try_echo"; } >&5 14401.84Schristos (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 14411.84Schristos ac_status=$? 14421.84Schristos if test -s conftest.err; then 14431.84Schristos grep -v '^ *+' conftest.err >conftest.er1 14441.84Schristos cat conftest.er1 >&5 14451.84Schristos mv -f conftest.er1 conftest.err 14461.84Schristos fi 14471.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14481.84Schristos test $ac_status = 0; } > conftest.i && { 14491.84Schristos test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14501.84Schristos test ! -s conftest.err 14511.84Schristos }; then : 14521.84Schristos ac_retval=0 14531.84Schristoselse 14541.84Schristos $as_echo "$as_me: failed program was:" >&5 14551.84Schristossed 's/^/| /' conftest.$ac_ext >&5 14561.84Schristos 14571.84Schristos ac_retval=1 14581.84Schristosfi 14591.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 14601.84Schristos as_fn_set_status $ac_retval 14611.84Schristos 14621.84Schristos} # ac_fn_c_try_cpp 14631.84Schristos 14641.84Schristos# ac_fn_c_try_run LINENO 14651.84Schristos# ---------------------- 14661.84Schristos# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 14671.84Schristos# that executables *can* be run. 14681.84Schristosac_fn_c_try_run () 14691.84Schristos{ 14701.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14711.84Schristos if { { ac_try="$ac_link" 14721.84Schristoscase "(($ac_try" in 14731.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14741.84Schristos *) ac_try_echo=$ac_try;; 14751.84Schristosesac 14761.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14771.84Schristos$as_echo "$ac_try_echo"; } >&5 14781.84Schristos (eval "$ac_link") 2>&5 14791.84Schristos ac_status=$? 14801.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14811.84Schristos test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 14821.84Schristos { { case "(($ac_try" in 14831.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14841.84Schristos *) ac_try_echo=$ac_try;; 14851.84Schristosesac 14861.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14871.84Schristos$as_echo "$ac_try_echo"; } >&5 14881.84Schristos (eval "$ac_try") 2>&5 14891.84Schristos ac_status=$? 14901.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14911.84Schristos test $ac_status = 0; }; }; then : 14921.84Schristos ac_retval=0 14931.84Schristoselse 14941.84Schristos $as_echo "$as_me: program exited with status $ac_status" >&5 14951.84Schristos $as_echo "$as_me: failed program was:" >&5 14961.84Schristossed 's/^/| /' conftest.$ac_ext >&5 14971.84Schristos 14981.84Schristos ac_retval=$ac_status 14991.84Schristosfi 15001.84Schristos rm -rf conftest.dSYM conftest_ipa8_conftest.oo 15011.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15021.84Schristos as_fn_set_status $ac_retval 15031.84Schristos 15041.84Schristos} # ac_fn_c_try_run 15051.84Schristos 15061.84Schristos# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 15071.84Schristos# ------------------------------------------------------- 15081.84Schristos# Tests whether HEADER exists and can be compiled using the include files in 15091.84Schristos# INCLUDES, setting the cache variable VAR accordingly. 15101.84Schristosac_fn_c_check_header_compile () 15111.84Schristos{ 15121.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15131.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 15141.84Schristos$as_echo_n "checking for $2... " >&6; } 15151.84Schristosif eval \${$3+:} false; then : 15161.84Schristos $as_echo_n "(cached) " >&6 15171.84Schristoselse 15181.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15191.84Schristos/* end confdefs.h. */ 15201.84Schristos$4 15211.84Schristos#include <$2> 15221.84Schristos_ACEOF 15231.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 15241.84Schristos eval "$3=yes" 15251.84Schristoselse 15261.84Schristos eval "$3=no" 15271.84Schristosfi 15281.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15291.84Schristosfi 15301.84Schristoseval ac_res=\$$3 15311.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15321.84Schristos$as_echo "$ac_res" >&6; } 15331.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15341.84Schristos 15351.84Schristos} # ac_fn_c_check_header_compile 15361.84Schristos 15371.84Schristos# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 15381.84Schristos# ------------------------------------------------------- 15391.84Schristos# Tests whether HEADER exists, giving a warning if it cannot be compiled using 15401.84Schristos# the include files in INCLUDES and setting the cache variable VAR 15411.84Schristos# accordingly. 15421.84Schristosac_fn_c_check_header_mongrel () 15431.84Schristos{ 15441.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15451.84Schristos if eval \${$3+:} false; then : 15461.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 15471.84Schristos$as_echo_n "checking for $2... " >&6; } 15481.84Schristosif eval \${$3+:} false; then : 15491.84Schristos $as_echo_n "(cached) " >&6 15501.84Schristosfi 15511.84Schristoseval ac_res=\$$3 15521.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15531.84Schristos$as_echo "$ac_res" >&6; } 15541.84Schristoselse 15551.84Schristos # Is the header compilable? 15561.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 15571.84Schristos$as_echo_n "checking $2 usability... " >&6; } 15581.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 15591.84Schristos/* end confdefs.h. */ 15601.84Schristos$4 15611.84Schristos#include <$2> 15621.84Schristos_ACEOF 15631.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 15641.84Schristos ac_header_compiler=yes 15651.84Schristoselse 15661.84Schristos ac_header_compiler=no 15671.84Schristosfi 15681.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15691.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 15701.84Schristos$as_echo "$ac_header_compiler" >&6; } 15711.84Schristos 15721.84Schristos# Is the header present? 15731.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 15741.84Schristos$as_echo_n "checking $2 presence... " >&6; } 15751.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 15761.84Schristos/* end confdefs.h. */ 15771.84Schristos#include <$2> 15781.84Schristos_ACEOF 15791.84Schristosif ac_fn_c_try_cpp "$LINENO"; then : 15801.84Schristos ac_header_preproc=yes 15811.84Schristoselse 15821.84Schristos ac_header_preproc=no 15831.84Schristosfi 15841.84Schristosrm -f conftest.err conftest.i conftest.$ac_ext 15851.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 15861.84Schristos$as_echo "$ac_header_preproc" >&6; } 15871.84Schristos 15881.84Schristos# So? What about this header? 15891.84Schristoscase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 15901.84Schristos yes:no: ) 15911.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 15921.84Schristos$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 15931.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 15941.84Schristos$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 15951.84Schristos ;; 15961.84Schristos no:yes:* ) 15971.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 15981.84Schristos$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 15991.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 16001.84Schristos$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 16011.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 16021.84Schristos$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 16031.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 16041.84Schristos$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 16051.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 16061.84Schristos$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 16071.84Schristos( $as_echo "## ---------------------------------------- ## 16081.84Schristos## Report this to lib-bug-people@NetBSD.org ## 16091.84Schristos## ---------------------------------------- ##" 16101.84Schristos ) | sed "s/^/$as_me: WARNING: /" >&2 16111.84Schristos ;; 16121.84Schristosesac 16131.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16141.84Schristos$as_echo_n "checking for $2... " >&6; } 16151.84Schristosif eval \${$3+:} false; then : 16161.84Schristos $as_echo_n "(cached) " >&6 16171.84Schristoselse 16181.84Schristos eval "$3=\$ac_header_compiler" 16191.84Schristosfi 16201.84Schristoseval ac_res=\$$3 16211.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16221.84Schristos$as_echo "$ac_res" >&6; } 16231.84Schristosfi 16241.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16251.84Schristos 16261.84Schristos} # ac_fn_c_check_header_mongrel 16271.84Schristos 16281.84Schristos# ac_fn_c_try_link LINENO 16291.84Schristos# ----------------------- 16301.84Schristos# Try to link conftest.$ac_ext, and return whether this succeeded. 16311.84Schristosac_fn_c_try_link () 16321.84Schristos{ 16331.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16341.84Schristos rm -f conftest.$ac_objext conftest$ac_exeext 16351.84Schristos if { { ac_try="$ac_link" 16361.84Schristoscase "(($ac_try" in 16371.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16381.84Schristos *) ac_try_echo=$ac_try;; 16391.84Schristosesac 16401.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16411.84Schristos$as_echo "$ac_try_echo"; } >&5 16421.84Schristos (eval "$ac_link") 2>conftest.err 16431.84Schristos ac_status=$? 16441.84Schristos if test -s conftest.err; then 16451.84Schristos grep -v '^ *+' conftest.err >conftest.er1 16461.84Schristos cat conftest.er1 >&5 16471.84Schristos mv -f conftest.er1 conftest.err 16481.84Schristos fi 16491.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16501.84Schristos test $ac_status = 0; } && { 16511.84Schristos test -z "$ac_c_werror_flag" || 16521.84Schristos test ! -s conftest.err 16531.84Schristos } && test -s conftest$ac_exeext && { 16541.84Schristos test "$cross_compiling" = yes || 16551.84Schristos test -x conftest$ac_exeext 16561.84Schristos }; then : 16571.84Schristos ac_retval=0 16581.84Schristoselse 16591.84Schristos $as_echo "$as_me: failed program was:" >&5 16601.84Schristossed 's/^/| /' conftest.$ac_ext >&5 16611.84Schristos 16621.84Schristos ac_retval=1 16631.84Schristosfi 16641.84Schristos # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 16651.84Schristos # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 16661.84Schristos # interfere with the next link command; also delete a directory that is 16671.84Schristos # left behind by Apple's compiler. We do this before executing the actions. 16681.84Schristos rm -rf conftest.dSYM conftest_ipa8_conftest.oo 16691.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16701.84Schristos as_fn_set_status $ac_retval 16711.74Schristos 16721.84Schristos} # ac_fn_c_try_link 16731.1Stv 16741.84Schristos# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 16751.84Schristos# ------------------------------------------- 16761.84Schristos# Tests whether TYPE exists after having included INCLUDES, setting cache 16771.84Schristos# variable VAR accordingly. 16781.84Schristosac_fn_c_check_type () 16791.84Schristos{ 16801.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16811.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16821.84Schristos$as_echo_n "checking for $2... " >&6; } 16831.84Schristosif eval \${$3+:} false; then : 16841.84Schristos $as_echo_n "(cached) " >&6 16851.84Schristoselse 16861.84Schristos eval "$3=no" 16871.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16881.84Schristos/* end confdefs.h. */ 16891.84Schristos$4 16901.84Schristosint 16911.84Schristosmain () 16921.84Schristos{ 16931.84Schristosif (sizeof ($2)) 16941.84Schristos return 0; 16951.84Schristos ; 16961.84Schristos return 0; 16971.84Schristos} 16981.84Schristos_ACEOF 16991.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 17001.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17011.84Schristos/* end confdefs.h. */ 17021.84Schristos$4 17031.84Schristosint 17041.84Schristosmain () 17051.74Schristos{ 17061.84Schristosif (sizeof (($2))) 17071.84Schristos return 0; 17081.84Schristos ; 17091.84Schristos return 0; 17101.84Schristos} 17111.84Schristos_ACEOF 17121.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 17131.84Schristos 17141.84Schristoselse 17151.84Schristos eval "$3=yes" 17161.84Schristosfi 17171.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17181.84Schristosfi 17191.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17201.84Schristosfi 17211.84Schristoseval ac_res=\$$3 17221.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 17231.84Schristos$as_echo "$ac_res" >&6; } 17241.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 17251.84Schristos 17261.84Schristos} # ac_fn_c_check_type 17271.74Schristos 17281.84Schristos# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 17291.84Schristos# ---------------------------------------------------- 17301.84Schristos# Tries to find if the field MEMBER exists in type AGGR, after including 17311.84Schristos# INCLUDES, setting cache variable VAR accordingly. 17321.84Schristosac_fn_c_check_member () 17331.84Schristos{ 17341.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17351.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 17361.84Schristos$as_echo_n "checking for $2.$3... " >&6; } 17371.84Schristosif eval \${$4+:} false; then : 17381.84Schristos $as_echo_n "(cached) " >&6 17391.84Schristoselse 17401.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17411.84Schristos/* end confdefs.h. */ 17421.84Schristos$5 17431.84Schristosint 17441.84Schristosmain () 17451.84Schristos{ 17461.84Schristosstatic $2 ac_aggr; 17471.84Schristosif (ac_aggr.$3) 17481.84Schristosreturn 0; 17491.84Schristos ; 17501.84Schristos return 0; 17511.84Schristos} 17521.84Schristos_ACEOF 17531.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 17541.84Schristos eval "$4=yes" 17551.84Schristoselse 17561.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17571.84Schristos/* end confdefs.h. */ 17581.84Schristos$5 17591.84Schristosint 17601.84Schristosmain () 17611.84Schristos{ 17621.84Schristosstatic $2 ac_aggr; 17631.84Schristosif (sizeof ac_aggr.$3) 17641.84Schristosreturn 0; 17651.84Schristos ; 17661.84Schristos return 0; 17671.84Schristos} 17681.84Schristos_ACEOF 17691.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 17701.84Schristos eval "$4=yes" 17711.84Schristoselse 17721.84Schristos eval "$4=no" 17731.84Schristosfi 17741.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17751.84Schristosfi 17761.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17771.84Schristosfi 17781.84Schristoseval ac_res=\$$4 17791.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 17801.84Schristos$as_echo "$ac_res" >&6; } 17811.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 17821.74Schristos 17831.84Schristos} # ac_fn_c_check_member 17841.1Stv 17851.84Schristos# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 17861.84Schristos# --------------------------------------------- 17871.84Schristos# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 17881.84Schristos# accordingly. 17891.84Schristosac_fn_c_check_decl () 17901.84Schristos{ 17911.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17921.84Schristos as_decl_name=`echo $2|sed 's/ *(.*//'` 17931.84Schristos as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 17941.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 17951.84Schristos$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 17961.84Schristosif eval \${$3+:} false; then : 17971.84Schristos $as_echo_n "(cached) " >&6 17981.84Schristoselse 17991.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18001.84Schristos/* end confdefs.h. */ 18011.84Schristos$4 18021.84Schristosint 18031.84Schristosmain () 18041.84Schristos{ 18051.84Schristos#ifndef $as_decl_name 18061.84Schristos#ifdef __cplusplus 18071.84Schristos (void) $as_decl_use; 18081.84Schristos#else 18091.84Schristos (void) $as_decl_name; 18101.84Schristos#endif 18111.84Schristos#endif 18121.1Stv 18131.84Schristos ; 18141.84Schristos return 0; 18151.84Schristos} 18161.84Schristos_ACEOF 18171.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 18181.84Schristos eval "$3=yes" 18191.84Schristoselse 18201.84Schristos eval "$3=no" 18211.84Schristosfi 18221.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18231.84Schristosfi 18241.84Schristoseval ac_res=\$$3 18251.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18261.84Schristos$as_echo "$ac_res" >&6; } 18271.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 18281.1Stv 18291.84Schristos} # ac_fn_c_check_decl 18301.1Stv 18311.84Schristos# ac_fn_c_check_func LINENO FUNC VAR 18321.84Schristos# ---------------------------------- 18331.84Schristos# Tests whether FUNC exists, setting the cache variable VAR accordingly 18341.84Schristosac_fn_c_check_func () 18351.84Schristos{ 18361.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 18371.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 18381.84Schristos$as_echo_n "checking for $2... " >&6; } 18391.84Schristosif eval \${$3+:} false; then : 18401.84Schristos $as_echo_n "(cached) " >&6 18411.84Schristoselse 18421.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18431.84Schristos/* end confdefs.h. */ 18441.84Schristos/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 18451.84Schristos For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18461.84Schristos#define $2 innocuous_$2 18471.84Schristos 18481.84Schristos/* System header to define __stub macros and hopefully few prototypes, 18491.84Schristos which can conflict with char $2 (); below. 18501.84Schristos Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18511.84Schristos <limits.h> exists even on freestanding compilers. */ 18521.84Schristos 18531.84Schristos#ifdef __STDC__ 18541.84Schristos# include <limits.h> 18551.84Schristos#else 18561.84Schristos# include <assert.h> 18571.84Schristos#endif 18581.84Schristos 18591.84Schristos#undef $2 18601.84Schristos 18611.84Schristos/* Override any GCC internal prototype to avoid an error. 18621.84Schristos Use char because int might match the return type of a GCC 18631.84Schristos builtin and then its argument prototype would still apply. */ 18641.84Schristos#ifdef __cplusplus 18651.84Schristosextern "C" 18661.84Schristos#endif 18671.84Schristoschar $2 (); 18681.84Schristos/* The GNU C library defines this for functions which it implements 18691.84Schristos to always fail with ENOSYS. Some functions are actually named 18701.84Schristos something starting with __ and the normal name is an alias. */ 18711.84Schristos#if defined __stub_$2 || defined __stub___$2 18721.84Schristoschoke me 18731.84Schristos#endif 18741.84Schristos 18751.84Schristosint 18761.84Schristosmain () 18771.84Schristos{ 18781.84Schristosreturn $2 (); 18791.84Schristos ; 18801.84Schristos return 0; 18811.84Schristos} 18821.84Schristos_ACEOF 18831.84Schristosif ac_fn_c_try_link "$LINENO"; then : 18841.84Schristos eval "$3=yes" 18851.84Schristoselse 18861.84Schristos eval "$3=no" 18871.84Schristosfi 18881.84Schristosrm -f core conftest.err conftest.$ac_objext \ 18891.84Schristos conftest$ac_exeext conftest.$ac_ext 18901.84Schristosfi 18911.84Schristoseval ac_res=\$$3 18921.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18931.84Schristos$as_echo "$ac_res" >&6; } 18941.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 18951.84Schristos 18961.84Schristos} # ac_fn_c_check_func 18971.84Schristoscat >config.log <<_ACEOF 18981.84SchristosThis file contains any messages produced by compilers while 18991.84Schristosrunning configure, to aid debugging if configure makes a mistake. 19001.84Schristos 19011.84SchristosIt was created by libnbcompat $as_me noversion, which was 19021.84Schristosgenerated by GNU Autoconf 2.69. Invocation command line was 19031.84Schristos 19041.84Schristos $ $0 $@ 19051.84Schristos 19061.84Schristos_ACEOF 19071.84Schristosexec 5>>config.log 19081.84Schristos{ 19091.84Schristoscat <<_ASUNAME 19101.84Schristos## --------- ## 19111.84Schristos## Platform. ## 19121.84Schristos## --------- ## 19131.84Schristos 19141.84Schristoshostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 19151.84Schristosuname -m = `(uname -m) 2>/dev/null || echo unknown` 19161.84Schristosuname -r = `(uname -r) 2>/dev/null || echo unknown` 19171.84Schristosuname -s = `(uname -s) 2>/dev/null || echo unknown` 19181.84Schristosuname -v = `(uname -v) 2>/dev/null || echo unknown` 19191.84Schristos 19201.84Schristos/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 19211.84Schristos/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 19221.84Schristos 19231.84Schristos/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 19241.84Schristos/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 19251.84Schristos/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 19261.84Schristos/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 19271.84Schristos/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 19281.84Schristos/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 19291.84Schristos/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 19301.84Schristos 19311.84Schristos_ASUNAME 19321.84Schristos 19331.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19341.84Schristosfor as_dir in $PATH 19351.84Schristosdo 19361.84Schristos IFS=$as_save_IFS 19371.84Schristos test -z "$as_dir" && as_dir=. 19381.84Schristos $as_echo "PATH: $as_dir" 19391.84Schristos done 19401.84SchristosIFS=$as_save_IFS 19411.84Schristos 19421.84Schristos} >&5 19431.84Schristos 19441.84Schristoscat >&5 <<_ACEOF 19451.84Schristos 19461.84Schristos 19471.84Schristos## ----------- ## 19481.84Schristos## Core tests. ## 19491.84Schristos## ----------- ## 19501.84Schristos 19511.84Schristos_ACEOF 19521.66Stsutsui 19531.1Stv 19541.76Spooka# Keep a trace of the command line. 19551.76Spooka# Strip out --no-create and --no-recursion so they do not pile up. 19561.84Schristos# Strip out --silent because we don't want to record it for future runs. 19571.76Spooka# Also quote any args containing shell meta-characters. 19581.84Schristos# Make two passes to allow for proper duplicate-argument suppression. 19591.76Spookaac_configure_args= 19601.84Schristosac_configure_args0= 19611.84Schristosac_configure_args1= 19621.84Schristosac_must_keep_next=false 19631.84Schristosfor ac_pass in 1 2 19641.76Spookado 19651.84Schristos for ac_arg 19661.84Schristos do 19671.84Schristos case $ac_arg in 19681.84Schristos -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 19691.84Schristos -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 19701.84Schristos | -silent | --silent | --silen | --sile | --sil) 19711.84Schristos continue ;; 19721.84Schristos *\'*) 19731.84Schristos ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 19741.84Schristos esac 19751.84Schristos case $ac_pass in 19761.84Schristos 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 19771.84Schristos 2) 19781.84Schristos as_fn_append ac_configure_args1 " '$ac_arg'" 19791.84Schristos if test $ac_must_keep_next = true; then 19801.84Schristos ac_must_keep_next=false # Got value, back to normal. 19811.84Schristos else 19821.84Schristos case $ac_arg in 19831.84Schristos *=* | --config-cache | -C | -disable-* | --disable-* \ 19841.84Schristos | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 19851.84Schristos | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 19861.84Schristos | -with-* | --with-* | -without-* | --without-* | --x) 19871.84Schristos case "$ac_configure_args0 " in 19881.84Schristos "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 19891.84Schristos esac 19901.84Schristos ;; 19911.84Schristos -* ) ac_must_keep_next=true ;; 19921.84Schristos esac 19931.84Schristos fi 19941.84Schristos as_fn_append ac_configure_args " '$ac_arg'" 19951.84Schristos ;; 19961.84Schristos esac 19971.84Schristos done 19981.1Stvdone 19991.84Schristos{ ac_configure_args0=; unset ac_configure_args0;} 20001.84Schristos{ ac_configure_args1=; unset ac_configure_args1;} 20011.1Stv 20021.1Stv# When interrupted or exit'd, cleanup temporary files, and complete 20031.1Stv# config.log. We remove comments because anyway the quotes in there 20041.1Stv# would cause problems or look ugly. 20051.84Schristos# WARNING: Use '\'' to represent an apostrophe within the trap. 20061.84Schristos# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 20071.1Stvtrap 'exit_status=$? 20081.1Stv # Save into config.log some information that might help in debugging. 20091.84Schristos { 20101.84Schristos echo 20111.84Schristos 20121.84Schristos $as_echo "## ---------------- ## 20131.84Schristos## Cache variables. ## 20141.84Schristos## ---------------- ##" 20151.84Schristos echo 20161.84Schristos # The following way of writing the cache mishandles newlines in values, 20171.84Schristos( 20181.84Schristos for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 20191.84Schristos eval ac_val=\$$ac_var 20201.84Schristos case $ac_val in #( 20211.84Schristos *${as_nl}*) 20221.84Schristos case $ac_var in #( 20231.84Schristos *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 20241.84Schristos$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 20251.84Schristos esac 20261.84Schristos case $ac_var in #( 20271.84Schristos _ | IFS | as_nl) ;; #( 20281.84Schristos BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 20291.84Schristos *) { eval $ac_var=; unset $ac_var;} ;; 20301.84Schristos esac ;; 20311.84Schristos esac 20321.84Schristos done 20331.1Stv (set) 2>&1 | 20341.84Schristos case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 20351.84Schristos *${as_nl}ac_space=\ *) 20361.1Stv sed -n \ 20371.84Schristos "s/'\''/'\''\\\\'\'''\''/g; 20381.84Schristos s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 20391.84Schristos ;; #( 20401.1Stv *) 20411.84Schristos sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 20421.1Stv ;; 20431.84Schristos esac | 20441.84Schristos sort 20451.84Schristos) 20461.84Schristos echo 20471.84Schristos 20481.84Schristos $as_echo "## ----------------- ## 20491.84Schristos## Output variables. ## 20501.84Schristos## ----------------- ##" 20511.84Schristos echo 20521.84Schristos for ac_var in $ac_subst_vars 20531.84Schristos do 20541.84Schristos eval ac_val=\$$ac_var 20551.84Schristos case $ac_val in 20561.84Schristos *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 20571.84Schristos esac 20581.84Schristos $as_echo "$ac_var='\''$ac_val'\''" 20591.84Schristos done | sort 20601.84Schristos echo 20611.84Schristos 20621.84Schristos if test -n "$ac_subst_files"; then 20631.84Schristos $as_echo "## ------------------- ## 20641.84Schristos## File substitutions. ## 20651.84Schristos## ------------------- ##" 20661.84Schristos echo 20671.84Schristos for ac_var in $ac_subst_files 20681.84Schristos do 20691.84Schristos eval ac_val=\$$ac_var 20701.84Schristos case $ac_val in 20711.84Schristos *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 20721.84Schristos esac 20731.84Schristos $as_echo "$ac_var='\''$ac_val'\''" 20741.84Schristos done | sort 20751.84Schristos echo 20761.84Schristos fi 20771.84Schristos 20781.84Schristos if test -s confdefs.h; then 20791.84Schristos $as_echo "## ----------- ## 20801.84Schristos## confdefs.h. ## 20811.84Schristos## ----------- ##" 20821.84Schristos echo 20831.84Schristos cat confdefs.h 20841.84Schristos echo 20851.84Schristos fi 20861.84Schristos test "$ac_signal" != 0 && 20871.84Schristos $as_echo "$as_me: caught signal $ac_signal" 20881.84Schristos $as_echo "$as_me: exit $exit_status" 20891.84Schristos } >&5 20901.84Schristos rm -f core *.core core.conftest.* && 20911.84Schristos rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 20921.1Stv exit $exit_status 20931.84Schristos' 0 20941.1Stvfor ac_signal in 1 2 13 15; do 20951.84Schristos trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 20961.1Stvdone 20971.1Stvac_signal=0 20981.1Stv 20991.1Stv# confdefs.h avoids OS command line length limits that DEFS can exceed. 21001.84Schristosrm -f -r conftest* confdefs.h 21011.84Schristos 21021.84Schristos$as_echo "/* confdefs.h */" > confdefs.h 21031.84Schristos 21041.84Schristos# Predefined preprocessor variables. 21051.84Schristos 21061.84Schristoscat >>confdefs.h <<_ACEOF 21071.84Schristos#define PACKAGE_NAME "$PACKAGE_NAME" 21081.84Schristos_ACEOF 21091.84Schristos 21101.84Schristoscat >>confdefs.h <<_ACEOF 21111.84Schristos#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 21121.84Schristos_ACEOF 21131.84Schristos 21141.84Schristoscat >>confdefs.h <<_ACEOF 21151.84Schristos#define PACKAGE_VERSION "$PACKAGE_VERSION" 21161.84Schristos_ACEOF 21171.84Schristos 21181.84Schristoscat >>confdefs.h <<_ACEOF 21191.84Schristos#define PACKAGE_STRING "$PACKAGE_STRING" 21201.84Schristos_ACEOF 21211.84Schristos 21221.84Schristoscat >>confdefs.h <<_ACEOF 21231.84Schristos#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 21241.84Schristos_ACEOF 21251.84Schristos 21261.84Schristoscat >>confdefs.h <<_ACEOF 21271.84Schristos#define PACKAGE_URL "$PACKAGE_URL" 21281.84Schristos_ACEOF 21291.84Schristos 21301.1Stv 21311.1Stv# Let the site file select an alternate cache file if it wants to. 21321.84Schristos# Prefer an explicitly selected file to automatically selected ones. 21331.84Schristosac_site_file1=NONE 21341.84Schristosac_site_file2=NONE 21351.84Schristosif test -n "$CONFIG_SITE"; then 21361.84Schristos # We do not want a PATH search for config.site. 21371.84Schristos case $CONFIG_SITE in #(( 21381.84Schristos -*) ac_site_file1=./$CONFIG_SITE;; 21391.84Schristos */*) ac_site_file1=$CONFIG_SITE;; 21401.84Schristos *) ac_site_file1=./$CONFIG_SITE;; 21411.84Schristos esac 21421.84Schristoselif test "x$prefix" != xNONE; then 21431.84Schristos ac_site_file1=$prefix/share/config.site 21441.84Schristos ac_site_file2=$prefix/etc/config.site 21451.84Schristoselse 21461.84Schristos ac_site_file1=$ac_default_prefix/share/config.site 21471.84Schristos ac_site_file2=$ac_default_prefix/etc/config.site 21481.1Stvfi 21491.84Schristosfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 21501.84Schristosdo 21511.84Schristos test "x$ac_site_file" = xNONE && continue 21521.84Schristos if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 21531.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 21541.84Schristos$as_echo "$as_me: loading site script $ac_site_file" >&6;} 21551.84Schristos sed 's/^/| /' "$ac_site_file" >&5 21561.84Schristos . "$ac_site_file" \ 21571.84Schristos || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21581.84Schristos$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21591.84Schristosas_fn_error $? "failed to load site script $ac_site_file 21601.84SchristosSee \`config.log' for more details" "$LINENO" 5; } 21611.1Stv fi 21621.1Stvdone 21631.1Stv 21641.1Stvif test -r "$cache_file"; then 21651.84Schristos # Some versions of bash will fail to source /dev/null (special files 21661.84Schristos # actually), so we avoid doing that. DJGPP emulates it as a regular file. 21671.84Schristos if test /dev/null != "$cache_file" && test -f "$cache_file"; then 21681.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 21691.84Schristos$as_echo "$as_me: loading cache $cache_file" >&6;} 21701.1Stv case $cache_file in 21711.84Schristos [\\/]* | ?:[\\/]* ) . "$cache_file";; 21721.84Schristos *) . "./$cache_file";; 21731.1Stv esac 21741.1Stv fi 21751.1Stvelse 21761.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 21771.84Schristos$as_echo "$as_me: creating cache $cache_file" >&6;} 21781.1Stv >$cache_file 21791.1Stvfi 21801.1Stv 21811.1Stv# Check that the precious variables saved in the cache have kept the same 21821.1Stv# value. 21831.1Stvac_cache_corrupted=false 21841.84Schristosfor ac_var in $ac_precious_vars; do 21851.1Stv eval ac_old_set=\$ac_cv_env_${ac_var}_set 21861.1Stv eval ac_new_set=\$ac_env_${ac_var}_set 21871.84Schristos eval ac_old_val=\$ac_cv_env_${ac_var}_value 21881.84Schristos eval ac_new_val=\$ac_env_${ac_var}_value 21891.1Stv case $ac_old_set,$ac_new_set in 21901.1Stv set,) 21911.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 21921.84Schristos$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 21931.1Stv ac_cache_corrupted=: ;; 21941.1Stv ,set) 21951.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 21961.84Schristos$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 21971.1Stv ac_cache_corrupted=: ;; 21981.1Stv ,);; 21991.1Stv *) 22001.1Stv if test "x$ac_old_val" != "x$ac_new_val"; then 22011.84Schristos # differences in whitespace do not lead to failure. 22021.84Schristos ac_old_val_w=`echo x $ac_old_val` 22031.84Schristos ac_new_val_w=`echo x $ac_new_val` 22041.84Schristos if test "$ac_old_val_w" != "$ac_new_val_w"; then 22051.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 22061.84Schristos$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 22071.84Schristos ac_cache_corrupted=: 22081.84Schristos else 22091.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 22101.84Schristos$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 22111.84Schristos eval $ac_var=\$ac_old_val 22121.84Schristos fi 22131.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 22141.84Schristos$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 22151.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 22161.84Schristos$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 22171.1Stv fi;; 22181.1Stv esac 22191.84Schristos # Pass precious variables to config.status. 22201.1Stv if test "$ac_new_set" = set; then 22211.1Stv case $ac_new_val in 22221.84Schristos *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 22231.84Schristos *) ac_arg=$ac_var=$ac_new_val ;; 22241.84Schristos esac 22251.84Schristos case " $ac_configure_args " in 22261.84Schristos *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 22271.84Schristos *) as_fn_append ac_configure_args " '$ac_arg'" ;; 22281.1Stv esac 22291.1Stv fi 22301.1Stvdone 22311.1Stvif $ac_cache_corrupted; then 22321.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 22331.84Schristos$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 22341.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 22351.84Schristos$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 22361.84Schristos as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 22371.84Schristosfi 22381.84Schristos## -------------------- ## 22391.84Schristos## Main body of script. ## 22401.84Schristos## -------------------- ## 22411.1Stv 22421.1Stvac_ext=c 22431.1Stvac_cpp='$CPP $CPPFLAGS' 22441.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22451.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22461.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 22471.1Stv 22481.1Stv 22491.63Sapbac_config_headers="$ac_config_headers nbtool_config.h" 22501.1Stv 22511.63Sapbac_config_files="$ac_config_files defs.mk" 22521.1Stv 22531.84Schristos 22541.101Slukem 22551.101Slukem 22561.102Slukem 22571.102Slukem 22581.57Swiz# Autoheader header and footer 22591.57Swiz 22601.84Schristos 22611.84Schristos 22621.84Schristos 22631.20Sbjh21 22641.1Stvac_ext=c 22651.1Stvac_cpp='$CPP $CPPFLAGS' 22661.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22671.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22681.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 22691.1Stvif test -n "$ac_tool_prefix"; then 22701.1Stv # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 22711.1Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2 22721.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22731.84Schristos$as_echo_n "checking for $ac_word... " >&6; } 22741.84Schristosif ${ac_cv_prog_CC+:} false; then : 22751.84Schristos $as_echo_n "(cached) " >&6 22761.1Stvelse 22771.1Stv if test -n "$CC"; then 22781.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 22791.1Stvelse 22801.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22811.84Schristosfor as_dir in $PATH 22821.84Schristosdo 22831.84Schristos IFS=$as_save_IFS 22841.84Schristos test -z "$as_dir" && as_dir=. 22851.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 22861.84Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22871.84Schristos ac_cv_prog_CC="${ac_tool_prefix}gcc" 22881.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22891.84Schristos break 2 22901.84Schristos fi 22911.1Stvdone 22921.84Schristos done 22931.84SchristosIFS=$as_save_IFS 22941.1Stv 22951.1Stvfi 22961.1Stvfi 22971.1StvCC=$ac_cv_prog_CC 22981.1Stvif test -n "$CC"; then 22991.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 23001.84Schristos$as_echo "$CC" >&6; } 23011.1Stvelse 23021.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23031.84Schristos$as_echo "no" >&6; } 23041.1Stvfi 23051.1Stv 23061.84Schristos 23071.1Stvfi 23081.1Stvif test -z "$ac_cv_prog_CC"; then 23091.1Stv ac_ct_CC=$CC 23101.1Stv # Extract the first word of "gcc", so it can be a program name with args. 23111.1Stvset dummy gcc; ac_word=$2 23121.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23131.84Schristos$as_echo_n "checking for $ac_word... " >&6; } 23141.84Schristosif ${ac_cv_prog_ac_ct_CC+:} false; then : 23151.84Schristos $as_echo_n "(cached) " >&6 23161.1Stvelse 23171.1Stv if test -n "$ac_ct_CC"; then 23181.1Stv ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 23191.1Stvelse 23201.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23211.84Schristosfor as_dir in $PATH 23221.84Schristosdo 23231.84Schristos IFS=$as_save_IFS 23241.84Schristos test -z "$as_dir" && as_dir=. 23251.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 23261.84Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23271.84Schristos ac_cv_prog_ac_ct_CC="gcc" 23281.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23291.84Schristos break 2 23301.84Schristos fi 23311.1Stvdone 23321.84Schristos done 23331.84SchristosIFS=$as_save_IFS 23341.1Stv 23351.1Stvfi 23361.1Stvfi 23371.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC 23381.1Stvif test -n "$ac_ct_CC"; then 23391.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 23401.84Schristos$as_echo "$ac_ct_CC" >&6; } 23411.1Stvelse 23421.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23431.84Schristos$as_echo "no" >&6; } 23441.1Stvfi 23451.1Stv 23461.84Schristos if test "x$ac_ct_CC" = x; then 23471.84Schristos CC="" 23481.84Schristos else 23491.84Schristos case $cross_compiling:$ac_tool_warned in 23501.84Schristosyes:) 23511.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23521.84Schristos$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23531.84Schristosac_tool_warned=yes ;; 23541.84Schristosesac 23551.84Schristos CC=$ac_ct_CC 23561.84Schristos fi 23571.1Stvelse 23581.1Stv CC="$ac_cv_prog_CC" 23591.1Stvfi 23601.1Stv 23611.1Stvif test -z "$CC"; then 23621.84Schristos if test -n "$ac_tool_prefix"; then 23631.84Schristos # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 23641.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2 23651.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23661.84Schristos$as_echo_n "checking for $ac_word... " >&6; } 23671.84Schristosif ${ac_cv_prog_CC+:} false; then : 23681.84Schristos $as_echo_n "(cached) " >&6 23691.1Stvelse 23701.1Stv if test -n "$CC"; then 23711.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 23721.1Stvelse 23731.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23741.84Schristosfor as_dir in $PATH 23751.84Schristosdo 23761.84Schristos IFS=$as_save_IFS 23771.84Schristos test -z "$as_dir" && as_dir=. 23781.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 23791.84Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23801.84Schristos ac_cv_prog_CC="${ac_tool_prefix}cc" 23811.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23821.84Schristos break 2 23831.84Schristos fi 23841.65Schristosdone 23851.84Schristos done 23861.84SchristosIFS=$as_save_IFS 23871.1Stv 23881.1Stvfi 23891.1Stvfi 23901.1StvCC=$ac_cv_prog_CC 23911.1Stvif test -n "$CC"; then 23921.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 23931.84Schristos$as_echo "$CC" >&6; } 23941.76Spookaelse 23951.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23961.84Schristos$as_echo "no" >&6; } 23971.76Spookafi 23981.76Spooka 23991.1Stv 24001.84Schristos fi 24011.1Stvfi 24021.1Stvif test -z "$CC"; then 24031.1Stv # Extract the first word of "cc", so it can be a program name with args. 24041.1Stvset dummy cc; ac_word=$2 24051.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24061.84Schristos$as_echo_n "checking for $ac_word... " >&6; } 24071.84Schristosif ${ac_cv_prog_CC+:} false; then : 24081.84Schristos $as_echo_n "(cached) " >&6 24091.1Stvelse 24101.1Stv if test -n "$CC"; then 24111.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 24121.1Stvelse 24131.1Stv ac_prog_rejected=no 24141.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24151.84Schristosfor as_dir in $PATH 24161.84Schristosdo 24171.84Schristos IFS=$as_save_IFS 24181.84Schristos test -z "$as_dir" && as_dir=. 24191.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 24201.84Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24211.84Schristos if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 24221.84Schristos ac_prog_rejected=yes 24231.84Schristos continue 24241.84Schristos fi 24251.84Schristos ac_cv_prog_CC="cc" 24261.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24271.84Schristos break 2 24281.84Schristos fi 24291.65Schristosdone 24301.84Schristos done 24311.84SchristosIFS=$as_save_IFS 24321.1Stv 24331.1Stvif test $ac_prog_rejected = yes; then 24341.1Stv # We found a bogon in the path, so make sure we never use it. 24351.1Stv set dummy $ac_cv_prog_CC 24361.1Stv shift 24371.1Stv if test $# != 0; then 24381.1Stv # We chose a different compiler from the bogus one. 24391.1Stv # However, it has the same basename, so the bogon will be chosen 24401.1Stv # first if we set CC to just the basename; use the full file name. 24411.1Stv shift 24421.84Schristos ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 24431.1Stv fi 24441.1Stvfi 24451.1Stvfi 24461.1Stvfi 24471.1StvCC=$ac_cv_prog_CC 24481.1Stvif test -n "$CC"; then 24491.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 24501.84Schristos$as_echo "$CC" >&6; } 24511.1Stvelse 24521.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24531.84Schristos$as_echo "no" >&6; } 24541.1Stvfi 24551.1Stv 24561.84Schristos 24571.1Stvfi 24581.1Stvif test -z "$CC"; then 24591.1Stv if test -n "$ac_tool_prefix"; then 24601.84Schristos for ac_prog in cl.exe 24611.1Stv do 24621.1Stv # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 24631.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2 24641.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24651.84Schristos$as_echo_n "checking for $ac_word... " >&6; } 24661.84Schristosif ${ac_cv_prog_CC+:} false; then : 24671.84Schristos $as_echo_n "(cached) " >&6 24681.1Stvelse 24691.1Stv if test -n "$CC"; then 24701.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 24711.1Stvelse 24721.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24731.84Schristosfor as_dir in $PATH 24741.84Schristosdo 24751.84Schristos IFS=$as_save_IFS 24761.84Schristos test -z "$as_dir" && as_dir=. 24771.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 24781.84Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24791.84Schristos ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 24801.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24811.84Schristos break 2 24821.84Schristos fi 24831.1Stvdone 24841.84Schristos done 24851.84SchristosIFS=$as_save_IFS 24861.1Stv 24871.1Stvfi 24881.1Stvfi 24891.1StvCC=$ac_cv_prog_CC 24901.1Stvif test -n "$CC"; then 24911.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 24921.84Schristos$as_echo "$CC" >&6; } 24931.1Stvelse 24941.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24951.84Schristos$as_echo "no" >&6; } 24961.1Stvfi 24971.1Stv 24981.84Schristos 24991.1Stv test -n "$CC" && break 25001.1Stv done 25011.1Stvfi 25021.1Stvif test -z "$CC"; then 25031.1Stv ac_ct_CC=$CC 25041.84Schristos for ac_prog in cl.exe 25051.1Stvdo 25061.1Stv # Extract the first word of "$ac_prog", so it can be a program name with args. 25071.1Stvset dummy $ac_prog; ac_word=$2 25081.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25091.84Schristos$as_echo_n "checking for $ac_word... " >&6; } 25101.84Schristosif ${ac_cv_prog_ac_ct_CC+:} false; then : 25111.84Schristos $as_echo_n "(cached) " >&6 25121.1Stvelse 25131.1Stv if test -n "$ac_ct_CC"; then 25141.1Stv ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 25151.1Stvelse 25161.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25171.84Schristosfor as_dir in $PATH 25181.84Schristosdo 25191.84Schristos IFS=$as_save_IFS 25201.84Schristos test -z "$as_dir" && as_dir=. 25211.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 25221.84Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25231.84Schristos ac_cv_prog_ac_ct_CC="$ac_prog" 25241.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25251.84Schristos break 2 25261.84Schristos fi 25271.1Stvdone 25281.84Schristos done 25291.84SchristosIFS=$as_save_IFS 25301.1Stv 25311.1Stvfi 25321.1Stvfi 25331.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC 25341.1Stvif test -n "$ac_ct_CC"; then 25351.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 25361.84Schristos$as_echo "$ac_ct_CC" >&6; } 25371.1Stvelse 25381.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25391.84Schristos$as_echo "no" >&6; } 25401.1Stvfi 25411.1Stv 25421.84Schristos 25431.1Stv test -n "$ac_ct_CC" && break 25441.1Stvdone 25451.1Stv 25461.84Schristos if test "x$ac_ct_CC" = x; then 25471.84Schristos CC="" 25481.84Schristos else 25491.84Schristos case $cross_compiling:$ac_tool_warned in 25501.84Schristosyes:) 25511.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 25521.84Schristos$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 25531.84Schristosac_tool_warned=yes ;; 25541.84Schristosesac 25551.84Schristos CC=$ac_ct_CC 25561.84Schristos fi 25571.1Stvfi 25581.1Stv 25591.1Stvfi 25601.1Stv 25611.84Schristos 25621.84Schristostest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 25631.84Schristos$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 25641.84Schristosas_fn_error $? "no acceptable C compiler found in \$PATH 25651.84SchristosSee \`config.log' for more details" "$LINENO" 5; } 25661.1Stv 25671.1Stv# Provide some information about the compiler. 25681.84Schristos$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 25691.84Schristosset X $ac_compile 25701.84Schristosac_compiler=$2 25711.84Schristosfor ac_option in --version -v -V -qversion; do 25721.84Schristos { { ac_try="$ac_compiler $ac_option >&5" 25731.84Schristoscase "(($ac_try" in 25741.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25751.84Schristos *) ac_try_echo=$ac_try;; 25761.84Schristosesac 25771.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 25781.84Schristos$as_echo "$ac_try_echo"; } >&5 25791.84Schristos (eval "$ac_compiler $ac_option >&5") 2>conftest.err 25801.76Spooka ac_status=$? 25811.84Schristos if test -s conftest.err; then 25821.84Schristos sed '10a\ 25831.84Schristos... rest of stderr output deleted ... 25841.84Schristos 10q' conftest.err >conftest.er1 25851.84Schristos cat conftest.er1 >&5 25861.84Schristos fi 25871.84Schristos rm -f conftest.er1 conftest.err 25881.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25891.84Schristos test $ac_status = 0; } 25901.84Schristosdone 25911.1Stv 25921.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 25931.84Schristos/* end confdefs.h. */ 25941.1Stv 25951.1Stvint 25961.1Stvmain () 25971.1Stv{ 25981.1Stv 25991.1Stv ; 26001.1Stv return 0; 26011.1Stv} 26021.1Stv_ACEOF 26031.1Stvac_clean_files_save=$ac_clean_files 26041.84Schristosac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 26051.1Stv# Try to create an executable without -o first, disregard a.out. 26061.1Stv# It will help us diagnose broken compilers, and finding out an intuition 26071.1Stv# of exeext. 26081.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 26091.84Schristos$as_echo_n "checking whether the C compiler works... " >&6; } 26101.84Schristosac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 26111.84Schristos 26121.84Schristos# The possible output files: 26131.84Schristosac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 26141.84Schristos 26151.84Schristosac_rmfiles= 26161.84Schristosfor ac_file in $ac_files 26171.84Schristosdo 26181.84Schristos case $ac_file in 26191.84Schristos *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 26201.84Schristos * ) ac_rmfiles="$ac_rmfiles $ac_file";; 26211.84Schristos esac 26221.84Schristosdone 26231.84Schristosrm -f $ac_rmfiles 26241.84Schristos 26251.84Schristosif { { ac_try="$ac_link_default" 26261.84Schristoscase "(($ac_try" in 26271.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26281.84Schristos *) ac_try_echo=$ac_try;; 26291.84Schristosesac 26301.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 26311.84Schristos$as_echo "$ac_try_echo"; } >&5 26321.84Schristos (eval "$ac_link_default") 2>&5 26331.84Schristos ac_status=$? 26341.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 26351.84Schristos test $ac_status = 0; }; then : 26361.84Schristos # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 26371.84Schristos# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 26381.84Schristos# in a Makefile. We should not override ac_cv_exeext if it was cached, 26391.84Schristos# so that the user can short-circuit this test for compilers unknown to 26401.84Schristos# Autoconf. 26411.84Schristosfor ac_file in $ac_files '' 26421.84Schristosdo 26431.84Schristos test -f "$ac_file" || continue 26441.74Schristos case $ac_file in 26451.84Schristos *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 26461.84Schristos ;; 26471.84Schristos [ab].out ) 26481.84Schristos # We found the default executable, but exeext='' is most 26491.84Schristos # certainly right. 26501.84Schristos break;; 26511.84Schristos *.* ) 26521.84Schristos if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 26531.84Schristos then :; else 26541.84Schristos ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 26551.84Schristos fi 26561.84Schristos # We set ac_cv_exeext here because the later test for it is not 26571.84Schristos # safe: cross compilers may not add the suffix if given an `-o' 26581.84Schristos # argument, so we may need to know it at that point already. 26591.84Schristos # Even if this section looks crufty: it has the advantage of 26601.84Schristos # actually working. 26611.84Schristos break;; 26621.84Schristos * ) 26631.84Schristos break;; 26641.1Stv esac 26651.1Stvdone 26661.84Schristostest "$ac_cv_exeext" = no && ac_cv_exeext= 26671.84Schristos 26681.1Stvelse 26691.84Schristos ac_file='' 26701.1Stvfi 26711.84Schristosif test -z "$ac_file"; then : 26721.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26731.84Schristos$as_echo "no" >&6; } 26741.84Schristos$as_echo "$as_me: failed program was:" >&5 26751.84Schristossed 's/^/| /' conftest.$ac_ext >&5 26761.1Stv 26771.84Schristos{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 26781.84Schristos$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 26791.84Schristosas_fn_error 77 "C compiler cannot create executables 26801.84SchristosSee \`config.log' for more details" "$LINENO" 5; } 26811.84Schristoselse 26821.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26831.84Schristos$as_echo "yes" >&6; } 26841.84Schristosfi 26851.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 26861.84Schristos$as_echo_n "checking for C compiler default output file name... " >&6; } 26871.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 26881.84Schristos$as_echo "$ac_file" >&6; } 26891.76Spookaac_exeext=$ac_cv_exeext 26901.1Stv 26911.84Schristosrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 26921.1Stvac_clean_files=$ac_clean_files_save 26931.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 26941.84Schristos$as_echo_n "checking for suffix of executables... " >&6; } 26951.84Schristosif { { ac_try="$ac_link" 26961.84Schristoscase "(($ac_try" in 26971.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26981.84Schristos *) ac_try_echo=$ac_try;; 26991.84Schristosesac 27001.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 27011.84Schristos$as_echo "$ac_try_echo"; } >&5 27021.84Schristos (eval "$ac_link") 2>&5 27031.1Stv ac_status=$? 27041.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27051.84Schristos test $ac_status = 0; }; then : 27061.1Stv # If both `conftest.exe' and `conftest' are `present' (well, observable) 27071.1Stv# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 27081.1Stv# work properly (i.e., refer to `conftest.exe'), while it won't with 27091.1Stv# `rm'. 27101.84Schristosfor ac_file in conftest.exe conftest conftest.*; do 27111.84Schristos test -f "$ac_file" || continue 27121.1Stv case $ac_file in 27131.84Schristos *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 27141.1Stv *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 27151.84Schristos break;; 27161.1Stv * ) break;; 27171.1Stv esac 27181.1Stvdone 27191.1Stvelse 27201.84Schristos { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27211.84Schristos$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27221.84Schristosas_fn_error $? "cannot compute suffix of executables: cannot compile and link 27231.84SchristosSee \`config.log' for more details" "$LINENO" 5; } 27241.84Schristosfi 27251.84Schristosrm -f conftest conftest$ac_cv_exeext 27261.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 27271.84Schristos$as_echo "$ac_cv_exeext" >&6; } 27281.1Stv 27291.1Stvrm -f conftest.$ac_ext 27301.1StvEXEEXT=$ac_cv_exeext 27311.1Stvac_exeext=$EXEEXT 27321.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 27331.84Schristos/* end confdefs.h. */ 27341.84Schristos#include <stdio.h> 27351.1Stvint 27361.1Stvmain () 27371.1Stv{ 27381.84SchristosFILE *f = fopen ("conftest.out", "w"); 27391.84Schristos return ferror (f) || fclose (f) != 0; 27401.1Stv 27411.1Stv ; 27421.1Stv return 0; 27431.1Stv} 27441.1Stv_ACEOF 27451.84Schristosac_clean_files="$ac_clean_files conftest.out" 27461.84Schristos# Check that the compiler produces executables we can run. If not, either 27471.84Schristos# the compiler is broken, or we cross compile. 27481.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 27491.84Schristos$as_echo_n "checking whether we are cross compiling... " >&6; } 27501.84Schristosif test "$cross_compiling" != yes; then 27511.84Schristos { { ac_try="$ac_link" 27521.84Schristoscase "(($ac_try" in 27531.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27541.84Schristos *) ac_try_echo=$ac_try;; 27551.84Schristosesac 27561.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 27571.84Schristos$as_echo "$ac_try_echo"; } >&5 27581.84Schristos (eval "$ac_link") 2>&5 27591.84Schristos ac_status=$? 27601.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27611.84Schristos test $ac_status = 0; } 27621.84Schristos if { ac_try='./conftest$ac_cv_exeext' 27631.84Schristos { { case "(($ac_try" in 27641.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27651.84Schristos *) ac_try_echo=$ac_try;; 27661.84Schristosesac 27671.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 27681.84Schristos$as_echo "$ac_try_echo"; } >&5 27691.84Schristos (eval "$ac_try") 2>&5 27701.1Stv ac_status=$? 27711.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27721.84Schristos test $ac_status = 0; }; }; then 27731.84Schristos cross_compiling=no 27741.84Schristos else 27751.84Schristos if test "$cross_compiling" = maybe; then 27761.84Schristos cross_compiling=yes 27771.84Schristos else 27781.84Schristos { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27791.84Schristos$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27801.84Schristosas_fn_error $? "cannot run C compiled programs. 27811.84SchristosIf you meant to cross compile, use \`--host'. 27821.84SchristosSee \`config.log' for more details" "$LINENO" 5; } 27831.84Schristos fi 27841.84Schristos fi 27851.84Schristosfi 27861.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 27871.84Schristos$as_echo "$cross_compiling" >&6; } 27881.84Schristos 27891.84Schristosrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 27901.84Schristosac_clean_files=$ac_clean_files_save 27911.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 27921.84Schristos$as_echo_n "checking for suffix of object files... " >&6; } 27931.84Schristosif ${ac_cv_objext+:} false; then : 27941.84Schristos $as_echo_n "(cached) " >&6 27951.76Spookaelse 27961.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27971.84Schristos/* end confdefs.h. */ 27981.74Schristos 27991.84Schristosint 28001.84Schristosmain () 28011.84Schristos{ 28021.84Schristos 28031.84Schristos ; 28041.84Schristos return 0; 28051.84Schristos} 28061.84Schristos_ACEOF 28071.84Schristosrm -f conftest.o conftest.obj 28081.84Schristosif { { ac_try="$ac_compile" 28091.84Schristoscase "(($ac_try" in 28101.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28111.84Schristos *) ac_try_echo=$ac_try;; 28121.84Schristosesac 28131.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 28141.84Schristos$as_echo "$ac_try_echo"; } >&5 28151.84Schristos (eval "$ac_compile") 2>&5 28161.84Schristos ac_status=$? 28171.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28181.84Schristos test $ac_status = 0; }; then : 28191.84Schristos for ac_file in conftest.o conftest.obj conftest.*; do 28201.84Schristos test -f "$ac_file" || continue; 28211.84Schristos case $ac_file in 28221.84Schristos *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 28231.84Schristos *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 28241.84Schristos break;; 28251.84Schristos esac 28261.84Schristosdone 28271.84Schristoselse 28281.84Schristos $as_echo "$as_me: failed program was:" >&5 28291.84Schristossed 's/^/| /' conftest.$ac_ext >&5 28301.84Schristos 28311.84Schristos{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28321.84Schristos$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28331.84Schristosas_fn_error $? "cannot compute suffix of object files: cannot compile 28341.84SchristosSee \`config.log' for more details" "$LINENO" 5; } 28351.84Schristosfi 28361.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext 28371.1Stvfi 28381.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 28391.84Schristos$as_echo "$ac_cv_objext" >&6; } 28401.1StvOBJEXT=$ac_cv_objext 28411.1Stvac_objext=$OBJEXT 28421.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 28431.84Schristos$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 28441.84Schristosif ${ac_cv_c_compiler_gnu+:} false; then : 28451.84Schristos $as_echo_n "(cached) " >&6 28461.84Schristoselse 28471.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28481.84Schristos/* end confdefs.h. */ 28491.1Stv 28501.1Stvint 28511.1Stvmain () 28521.1Stv{ 28531.1Stv#ifndef __GNUC__ 28541.1Stv choke me 28551.1Stv#endif 28561.1Stv 28571.1Stv ; 28581.1Stv return 0; 28591.1Stv} 28601.1Stv_ACEOF 28611.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 28621.1Stv ac_compiler_gnu=yes 28631.1Stvelse 28641.84Schristos ac_compiler_gnu=no 28651.1Stvfi 28661.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28671.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu 28681.1Stv 28691.1Stvfi 28701.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 28711.84Schristos$as_echo "$ac_cv_c_compiler_gnu" >&6; } 28721.84Schristosif test $ac_compiler_gnu = yes; then 28731.84Schristos GCC=yes 28741.84Schristoselse 28751.84Schristos GCC= 28761.84Schristosfi 28771.1Stvac_test_CFLAGS=${CFLAGS+set} 28781.1Stvac_save_CFLAGS=$CFLAGS 28791.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 28801.84Schristos$as_echo_n "checking whether $CC accepts -g... " >&6; } 28811.84Schristosif ${ac_cv_prog_cc_g+:} false; then : 28821.84Schristos $as_echo_n "(cached) " >&6 28831.84Schristoselse 28841.84Schristos ac_save_c_werror_flag=$ac_c_werror_flag 28851.84Schristos ac_c_werror_flag=yes 28861.84Schristos ac_cv_prog_cc_g=no 28871.84Schristos CFLAGS="-g" 28881.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28891.84Schristos/* end confdefs.h. */ 28901.1Stv 28911.1Stvint 28921.1Stvmain () 28931.1Stv{ 28941.1Stv 28951.1Stv ; 28961.1Stv return 0; 28971.1Stv} 28981.1Stv_ACEOF 28991.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 29001.1Stv ac_cv_prog_cc_g=yes 29011.1Stvelse 29021.84Schristos CFLAGS="" 29031.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29041.84Schristos/* end confdefs.h. */ 29051.84Schristos 29061.84Schristosint 29071.84Schristosmain () 29081.84Schristos{ 29091.84Schristos 29101.84Schristos ; 29111.84Schristos return 0; 29121.84Schristos} 29131.84Schristos_ACEOF 29141.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 29151.84Schristos 29161.84Schristoselse 29171.84Schristos ac_c_werror_flag=$ac_save_c_werror_flag 29181.84Schristos CFLAGS="-g" 29191.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29201.84Schristos/* end confdefs.h. */ 29211.84Schristos 29221.84Schristosint 29231.84Schristosmain () 29241.84Schristos{ 29251.84Schristos 29261.84Schristos ; 29271.84Schristos return 0; 29281.84Schristos} 29291.84Schristos_ACEOF 29301.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 29311.84Schristos ac_cv_prog_cc_g=yes 29321.84Schristosfi 29331.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29341.66Stsutsuifi 29351.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29361.66Stsutsuifi 29371.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29381.84Schristos ac_c_werror_flag=$ac_save_c_werror_flag 29391.84Schristosfi 29401.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 29411.84Schristos$as_echo "$ac_cv_prog_cc_g" >&6; } 29421.66Stsutsuiif test "$ac_test_CFLAGS" = set; then 29431.66Stsutsui CFLAGS=$ac_save_CFLAGS 29441.66Stsutsuielif test $ac_cv_prog_cc_g = yes; then 29451.66Stsutsui if test "$GCC" = yes; then 29461.66Stsutsui CFLAGS="-g -O2" 29471.66Stsutsui else 29481.66Stsutsui CFLAGS="-g" 29491.66Stsutsui fi 29501.66Stsutsuielse 29511.66Stsutsui if test "$GCC" = yes; then 29521.66Stsutsui CFLAGS="-O2" 29531.66Stsutsui else 29541.66Stsutsui CFLAGS= 29551.66Stsutsui fi 29561.66Stsutsuifi 29571.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 29581.84Schristos$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 29591.84Schristosif ${ac_cv_prog_cc_c89+:} false; then : 29601.84Schristos $as_echo_n "(cached) " >&6 29611.84Schristoselse 29621.84Schristos ac_cv_prog_cc_c89=no 29631.84Schristosac_save_CC=$CC 29641.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 29651.84Schristos/* end confdefs.h. */ 29661.84Schristos#include <stdarg.h> 29671.84Schristos#include <stdio.h> 29681.84Schristosstruct stat; 29691.84Schristos/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 29701.84Schristosstruct buf { int x; }; 29711.84SchristosFILE * (*rcsopen) (struct buf *, struct stat *, int); 29721.84Schristosstatic char *e (p, i) 29731.84Schristos char **p; 29741.84Schristos int i; 29751.84Schristos{ 29761.84Schristos return p[i]; 29771.84Schristos} 29781.84Schristosstatic char *f (char * (*g) (char **, int), char **p, ...) 29791.74Schristos{ 29801.84Schristos char *s; 29811.84Schristos va_list v; 29821.84Schristos va_start (v,p); 29831.84Schristos s = g (p, va_arg (v,int)); 29841.84Schristos va_end (v); 29851.84Schristos return s; 29861.74Schristos} 29871.84Schristos 29881.84Schristos/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 29891.84Schristos function prototypes and stuff, but not '\xHH' hex character constants. 29901.84Schristos These don't provoke an error unfortunately, instead are silently treated 29911.84Schristos as 'x'. The following induces an error, until -std is added to get 29921.84Schristos proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 29931.84Schristos array size at least. It's necessary to write '\x00'==0 to get something 29941.84Schristos that's true only with -std. */ 29951.84Schristosint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 29961.84Schristos 29971.84Schristos/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 29981.84Schristos inside strings and character constants. */ 29991.84Schristos#define FOO(x) 'x' 30001.84Schristosint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 30011.84Schristos 30021.84Schristosint test (int i, double x); 30031.84Schristosstruct s1 {int (*f) (int a);}; 30041.84Schristosstruct s2 {int (*f) (double a);}; 30051.84Schristosint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 30061.84Schristosint argc; 30071.84Schristoschar **argv; 30081.1Stvint 30091.1Stvmain () 30101.1Stv{ 30111.84Schristosreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 30121.1Stv ; 30131.1Stv return 0; 30141.1Stv} 30151.1Stv_ACEOF 30161.84Schristosfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 30171.84Schristos -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 30181.84Schristosdo 30191.84Schristos CC="$ac_save_CC $ac_arg" 30201.84Schristos if ac_fn_c_try_compile "$LINENO"; then : 30211.84Schristos ac_cv_prog_cc_c89=$ac_arg 30221.65Schristosfi 30231.84Schristosrm -f core conftest.err conftest.$ac_objext 30241.84Schristos test "x$ac_cv_prog_cc_c89" != "xno" && break 30251.66Stsutsuidone 30261.84Schristosrm -f conftest.$ac_ext 30271.84SchristosCC=$ac_save_CC 30281.84Schristos 30291.1Stvfi 30301.84Schristos# AC_CACHE_VAL 30311.84Schristoscase "x$ac_cv_prog_cc_c89" in 30321.84Schristos x) 30331.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 30341.84Schristos$as_echo "none needed" >&6; } ;; 30351.84Schristos xno) 30361.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 30371.84Schristos$as_echo "unsupported" >&6; } ;; 30381.84Schristos *) 30391.84Schristos CC="$CC $ac_cv_prog_cc_c89" 30401.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 30411.84Schristos$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 30421.84Schristosesac 30431.84Schristosif test "x$ac_cv_prog_cc_c89" != xno; then : 30441.1Stv 30451.65Schristosfi 30461.84Schristos 30471.1Stvac_ext=c 30481.1Stvac_cpp='$CPP $CPPFLAGS' 30491.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 30501.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 30511.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 30521.1Stv 30531.84Schristos 30541.1Stvac_ext=c 30551.1Stvac_cpp='$CPP $CPPFLAGS' 30561.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 30571.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 30581.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 30591.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 30601.84Schristos$as_echo_n "checking how to run the C preprocessor... " >&6; } 30611.1Stv# On Suns, sometimes $CPP names a directory. 30621.1Stvif test -n "$CPP" && test -d "$CPP"; then 30631.1Stv CPP= 30641.1Stvfi 30651.1Stvif test -z "$CPP"; then 30661.84Schristos if ${ac_cv_prog_CPP+:} false; then : 30671.84Schristos $as_echo_n "(cached) " >&6 30681.1Stvelse 30691.1Stv # Double quotes because CPP needs to be expanded 30701.1Stv for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 30711.1Stv do 30721.1Stv ac_preproc_ok=false 30731.1Stvfor ac_c_preproc_warn_flag in '' yes 30741.1Stvdo 30751.1Stv # Use a header file that comes with gcc, so configuring glibc 30761.1Stv # with a fresh cross-compiler works. 30771.84Schristos # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 30781.84Schristos # <limits.h> exists even on freestanding compilers. 30791.1Stv # On the NeXT, cc -E runs the code through the compiler's parser, 30801.1Stv # not just through cpp. "Syntax error" is here to catch this case. 30811.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30821.84Schristos/* end confdefs.h. */ 30831.84Schristos#ifdef __STDC__ 30841.84Schristos# include <limits.h> 30851.84Schristos#else 30861.84Schristos# include <assert.h> 30871.84Schristos#endif 30881.84Schristos Syntax error 30891.48Sjmc_ACEOF 30901.84Schristosif ac_fn_c_try_cpp "$LINENO"; then : 30911.84Schristos 30921.1Stvelse 30931.1Stv # Broken: fails on valid input. 30941.1Stvcontinue 30951.1Stvfi 30961.84Schristosrm -f conftest.err conftest.i conftest.$ac_ext 30971.1Stv 30981.84Schristos # OK, works on sane cases. Now check whether nonexistent headers 30991.1Stv # can be detected and how. 31001.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31011.84Schristos/* end confdefs.h. */ 31021.1Stv#include <ac_nonexistent.h> 31031.1Stv_ACEOF 31041.84Schristosif ac_fn_c_try_cpp "$LINENO"; then : 31051.1Stv # Broken: success on invalid input. 31061.1Stvcontinue 31071.1Stvelse 31081.1Stv # Passes both tests. 31091.1Stvac_preproc_ok=: 31101.1Stvbreak 31111.1Stvfi 31121.84Schristosrm -f conftest.err conftest.i conftest.$ac_ext 31131.1Stv 31141.1Stvdone 31151.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 31161.84Schristosrm -f conftest.i conftest.err conftest.$ac_ext 31171.84Schristosif $ac_preproc_ok; then : 31181.1Stv break 31191.1Stvfi 31201.1Stv 31211.1Stv done 31221.1Stv ac_cv_prog_CPP=$CPP 31231.1Stv 31241.1Stvfi 31251.1Stv CPP=$ac_cv_prog_CPP 31261.1Stvelse 31271.1Stv ac_cv_prog_CPP=$CPP 31281.1Stvfi 31291.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 31301.84Schristos$as_echo "$CPP" >&6; } 31311.1Stvac_preproc_ok=false 31321.1Stvfor ac_c_preproc_warn_flag in '' yes 31331.1Stvdo 31341.1Stv # Use a header file that comes with gcc, so configuring glibc 31351.1Stv # with a fresh cross-compiler works. 31361.84Schristos # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 31371.84Schristos # <limits.h> exists even on freestanding compilers. 31381.1Stv # On the NeXT, cc -E runs the code through the compiler's parser, 31391.1Stv # not just through cpp. "Syntax error" is here to catch this case. 31401.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31411.84Schristos/* end confdefs.h. */ 31421.84Schristos#ifdef __STDC__ 31431.84Schristos# include <limits.h> 31441.84Schristos#else 31451.84Schristos# include <assert.h> 31461.84Schristos#endif 31471.84Schristos Syntax error 31481.53Sdogcow_ACEOF 31491.84Schristosif ac_fn_c_try_cpp "$LINENO"; then : 31501.84Schristos 31511.1Stvelse 31521.1Stv # Broken: fails on valid input. 31531.1Stvcontinue 31541.1Stvfi 31551.84Schristosrm -f conftest.err conftest.i conftest.$ac_ext 31561.1Stv 31571.84Schristos # OK, works on sane cases. Now check whether nonexistent headers 31581.1Stv # can be detected and how. 31591.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31601.84Schristos/* end confdefs.h. */ 31611.1Stv#include <ac_nonexistent.h> 31621.1Stv_ACEOF 31631.84Schristosif ac_fn_c_try_cpp "$LINENO"; then : 31641.45Sjmc # Broken: success on invalid input. 31651.45Sjmccontinue 31661.45Sjmcelse 31671.45Sjmc # Passes both tests. 31681.45Sjmcac_preproc_ok=: 31691.45Sjmcbreak 31701.45Sjmcfi 31711.84Schristosrm -f conftest.err conftest.i conftest.$ac_ext 31721.45Sjmc 31731.45Sjmcdone 31741.45Sjmc# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 31751.84Schristosrm -f conftest.i conftest.err conftest.$ac_ext 31761.84Schristosif $ac_preproc_ok; then : 31771.84Schristos 31781.45Sjmcelse 31791.84Schristos { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31801.84Schristos$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31811.84Schristosas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 31821.84SchristosSee \`config.log' for more details" "$LINENO" 5; } 31831.45Sjmcfi 31841.45Sjmc 31851.45Sjmcac_ext=c 31861.45Sjmcac_cpp='$CPP $CPPFLAGS' 31871.45Sjmcac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 31881.45Sjmcac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 31891.45Sjmcac_compiler_gnu=$ac_cv_c_compiler_gnu 31901.45Sjmc 31911.84Schristos 31921.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 31931.84Schristos$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 31941.84Schristosif ${ac_cv_path_GREP+:} false; then : 31951.84Schristos $as_echo_n "(cached) " >&6 31961.84Schristoselse 31971.84Schristos if test -z "$GREP"; then 31981.84Schristos ac_path_GREP_found=false 31991.84Schristos # Loop through the user's path and test for each of PROGNAME-LIST 32001.84Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 32011.84Schristosfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 32021.84Schristosdo 32031.84Schristos IFS=$as_save_IFS 32041.84Schristos test -z "$as_dir" && as_dir=. 32051.84Schristos for ac_prog in grep ggrep; do 32061.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 32071.84Schristos ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 32081.84Schristos as_fn_executable_p "$ac_path_GREP" || continue 32091.84Schristos# Check for GNU ac_path_GREP and select it if it is found. 32101.84Schristos # Check for GNU $ac_path_GREP 32111.84Schristoscase `"$ac_path_GREP" --version 2>&1` in 32121.84Schristos*GNU*) 32131.84Schristos ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 32141.84Schristos*) 32151.84Schristos ac_count=0 32161.84Schristos $as_echo_n 0123456789 >"conftest.in" 32171.84Schristos while : 32181.84Schristos do 32191.84Schristos cat "conftest.in" "conftest.in" >"conftest.tmp" 32201.84Schristos mv "conftest.tmp" "conftest.in" 32211.84Schristos cp "conftest.in" "conftest.nl" 32221.84Schristos $as_echo 'GREP' >> "conftest.nl" 32231.84Schristos "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 32241.84Schristos diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 32251.84Schristos as_fn_arith $ac_count + 1 && ac_count=$as_val 32261.84Schristos if test $ac_count -gt ${ac_path_GREP_max-0}; then 32271.84Schristos # Best one so far, save it but keep looking for a better one 32281.84Schristos ac_cv_path_GREP="$ac_path_GREP" 32291.84Schristos ac_path_GREP_max=$ac_count 32301.84Schristos fi 32311.84Schristos # 10*(2^10) chars as input seems more than enough 32321.84Schristos test $ac_count -gt 10 && break 32331.84Schristos done 32341.84Schristos rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 32351.84Schristosesac 32361.84Schristos 32371.84Schristos $ac_path_GREP_found && break 3 32381.84Schristos done 32391.84Schristos done 32401.84Schristos done 32411.84SchristosIFS=$as_save_IFS 32421.84Schristos if test -z "$ac_cv_path_GREP"; then 32431.84Schristos as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 32441.84Schristos fi 32451.84Schristoselse 32461.84Schristos ac_cv_path_GREP=$GREP 32471.84Schristosfi 32481.84Schristos 32491.84Schristosfi 32501.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 32511.84Schristos$as_echo "$ac_cv_path_GREP" >&6; } 32521.84Schristos GREP="$ac_cv_path_GREP" 32531.84Schristos 32541.84Schristos 32551.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 32561.84Schristos$as_echo_n "checking for egrep... " >&6; } 32571.84Schristosif ${ac_cv_path_EGREP+:} false; then : 32581.84Schristos $as_echo_n "(cached) " >&6 32591.84Schristoselse 32601.84Schristos if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 32611.84Schristos then ac_cv_path_EGREP="$GREP -E" 32621.84Schristos else 32631.84Schristos if test -z "$EGREP"; then 32641.84Schristos ac_path_EGREP_found=false 32651.84Schristos # Loop through the user's path and test for each of PROGNAME-LIST 32661.84Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 32671.84Schristosfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 32681.84Schristosdo 32691.84Schristos IFS=$as_save_IFS 32701.84Schristos test -z "$as_dir" && as_dir=. 32711.84Schristos for ac_prog in egrep; do 32721.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 32731.84Schristos ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 32741.84Schristos as_fn_executable_p "$ac_path_EGREP" || continue 32751.84Schristos# Check for GNU ac_path_EGREP and select it if it is found. 32761.84Schristos # Check for GNU $ac_path_EGREP 32771.84Schristoscase `"$ac_path_EGREP" --version 2>&1` in 32781.84Schristos*GNU*) 32791.84Schristos ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 32801.84Schristos*) 32811.84Schristos ac_count=0 32821.84Schristos $as_echo_n 0123456789 >"conftest.in" 32831.84Schristos while : 32841.84Schristos do 32851.84Schristos cat "conftest.in" "conftest.in" >"conftest.tmp" 32861.84Schristos mv "conftest.tmp" "conftest.in" 32871.84Schristos cp "conftest.in" "conftest.nl" 32881.84Schristos $as_echo 'EGREP' >> "conftest.nl" 32891.84Schristos "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 32901.84Schristos diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 32911.84Schristos as_fn_arith $ac_count + 1 && ac_count=$as_val 32921.84Schristos if test $ac_count -gt ${ac_path_EGREP_max-0}; then 32931.84Schristos # Best one so far, save it but keep looking for a better one 32941.84Schristos ac_cv_path_EGREP="$ac_path_EGREP" 32951.84Schristos ac_path_EGREP_max=$ac_count 32961.84Schristos fi 32971.84Schristos # 10*(2^10) chars as input seems more than enough 32981.84Schristos test $ac_count -gt 10 && break 32991.84Schristos done 33001.84Schristos rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 33011.84Schristosesac 33021.84Schristos 33031.84Schristos $ac_path_EGREP_found && break 3 33041.84Schristos done 33051.84Schristos done 33061.84Schristos done 33071.84SchristosIFS=$as_save_IFS 33081.84Schristos if test -z "$ac_cv_path_EGREP"; then 33091.84Schristos as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 33101.84Schristos fi 33111.84Schristoselse 33121.84Schristos ac_cv_path_EGREP=$EGREP 33131.84Schristosfi 33141.84Schristos 33151.84Schristos fi 33161.84Schristosfi 33171.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 33181.84Schristos$as_echo "$ac_cv_path_EGREP" >&6; } 33191.84Schristos EGREP="$ac_cv_path_EGREP" 33201.84Schristos 33211.84Schristos 33221.101Slukem { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NetBSD" >&5 33231.84Schristos$as_echo_n "checking for NetBSD... " >&6; } 33241.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33251.84Schristos/* end confdefs.h. */ 33261.45Sjmc#ifdef __NetBSD__ 33271.45Sjmc yes 33281.45Sjmc #endif 33291.45Sjmc 33301.45Sjmc_ACEOF 33311.45Sjmcif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 33321.84Schristos $EGREP "yes" >/dev/null 2>&1; then : 33331.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 33341.84Schristos$as_echo "yes" >&6; } 33351.84Schristos 33361.84Schristos$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 33371.84Schristos 33381.74Schristos 33391.84Schristos$as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h 33401.74Schristos 33411.54Swiz 33421.84Schristos$as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h 33431.45Sjmc 33441.45Sjmcelse 33451.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 33461.84Schristos$as_echo "no" >&6; } 33471.45Sjmcfi 33481.45Sjmcrm -f conftest* 33491.45Sjmc 33501.84Schristos 33511.45Sjmc# Extract the first word of "sh", so it can be a program name with args. 33521.45Sjmcset dummy sh; ac_word=$2 33531.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 33541.84Schristos$as_echo_n "checking for $ac_word... " >&6; } 33551.84Schristosif ${ac_cv_path_BSHELL+:} false; then : 33561.84Schristos $as_echo_n "(cached) " >&6 33571.45Sjmcelse 33581.45Sjmc case $BSHELL in 33591.45Sjmc [\\/]* | ?:[\\/]*) 33601.45Sjmc ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path. 33611.45Sjmc ;; 33621.45Sjmc *) 33631.84Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 33641.84Schristosfor as_dir in $PATH 33651.84Schristosdo 33661.84Schristos IFS=$as_save_IFS 33671.84Schristos test -z "$as_dir" && as_dir=. 33681.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 33691.84Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 33701.84Schristos ac_cv_path_BSHELL="$as_dir/$ac_word$ac_exec_ext" 33711.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 33721.84Schristos break 2 33731.84Schristos fi 33741.65Schristosdone 33751.84Schristos done 33761.84SchristosIFS=$as_save_IFS 33771.45Sjmc 33781.45Sjmc ;; 33791.45Sjmcesac 33801.45Sjmcfi 33811.45SjmcBSHELL=$ac_cv_path_BSHELL 33821.45Sjmcif test -n "$BSHELL"; then 33831.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BSHELL" >&5 33841.84Schristos$as_echo "$BSHELL" >&6; } 33851.45Sjmcelse 33861.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 33871.84Schristos$as_echo "no" >&6; } 33881.45Sjmcfi 33891.45Sjmc 33901.84Schristos 33911.45Sjmcif test x"$BSHELL" = x; then 33921.84Schristos as_fn_error $? "sh must be somewhere on \$PATH" "$LINENO" 5 33931.45Sjmcfi 33941.54Swiz 33951.84Schristoscat >>confdefs.h <<_ACEOF 33961.45Sjmc#define PATH_BSHELL "$BSHELL" 33971.84Schristos_ACEOF 33981.84Schristos 33991.76Spooka 34001.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 34011.84Schristos$as_echo_n "checking for ANSI C header files... " >&6; } 34021.84Schristosif ${ac_cv_header_stdc+:} false; then : 34031.84Schristos $as_echo_n "(cached) " >&6 34041.76Spookaelse 34051.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34061.84Schristos/* end confdefs.h. */ 34071.84Schristos#include <stdlib.h> 34081.84Schristos#include <stdarg.h> 34091.84Schristos#include <string.h> 34101.84Schristos#include <float.h> 34111.45Sjmc 34121.45Sjmcint 34131.45Sjmcmain () 34141.45Sjmc{ 34151.45Sjmc 34161.45Sjmc ; 34171.45Sjmc return 0; 34181.45Sjmc} 34191.45Sjmc_ACEOF 34201.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 34211.6Stv ac_cv_header_stdc=yes 34221.6Stvelse 34231.66Stsutsui ac_cv_header_stdc=no 34241.6Stvfi 34251.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 34261.6Stv 34271.6Stvif test $ac_cv_header_stdc = yes; then 34281.6Stv # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 34291.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34301.84Schristos/* end confdefs.h. */ 34311.6Stv#include <string.h> 34321.6Stv 34331.6Stv_ACEOF 34341.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 34351.84Schristos $EGREP "memchr" >/dev/null 2>&1; then : 34361.84Schristos 34371.6Stvelse 34381.6Stv ac_cv_header_stdc=no 34391.6Stvfi 34401.6Stvrm -f conftest* 34411.6Stv 34421.6Stvfi 34431.6Stv 34441.6Stvif test $ac_cv_header_stdc = yes; then 34451.6Stv # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 34461.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34471.84Schristos/* end confdefs.h. */ 34481.6Stv#include <stdlib.h> 34491.6Stv 34501.6Stv_ACEOF 34511.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 34521.84Schristos $EGREP "free" >/dev/null 2>&1; then : 34531.84Schristos 34541.6Stvelse 34551.6Stv ac_cv_header_stdc=no 34561.6Stvfi 34571.6Stvrm -f conftest* 34581.6Stv 34591.6Stvfi 34601.6Stv 34611.6Stvif test $ac_cv_header_stdc = yes; then 34621.6Stv # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 34631.84Schristos if test "$cross_compiling" = yes; then : 34641.6Stv : 34651.6Stvelse 34661.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34671.84Schristos/* end confdefs.h. */ 34681.6Stv#include <ctype.h> 34691.84Schristos#include <stdlib.h> 34701.6Stv#if ((' ' & 0x0FF) == 0x020) 34711.6Stv# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 34721.6Stv# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 34731.6Stv#else 34741.84Schristos# define ISLOWER(c) \ 34751.84Schristos (('a' <= (c) && (c) <= 'i') \ 34761.84Schristos || ('j' <= (c) && (c) <= 'r') \ 34771.84Schristos || ('s' <= (c) && (c) <= 'z')) 34781.6Stv# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 34791.6Stv#endif 34801.6Stv 34811.6Stv#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 34821.6Stvint 34831.6Stvmain () 34841.6Stv{ 34851.6Stv int i; 34861.6Stv for (i = 0; i < 256; i++) 34871.6Stv if (XOR (islower (i), ISLOWER (i)) 34881.84Schristos || toupper (i) != TOUPPER (i)) 34891.84Schristos return 2; 34901.84Schristos return 0; 34911.6Stv} 34921.6Stv_ACEOF 34931.84Schristosif ac_fn_c_try_run "$LINENO"; then : 34941.84Schristos 34951.6Stvelse 34961.84Schristos ac_cv_header_stdc=no 34971.6Stvfi 34981.84Schristosrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 34991.84Schristos conftest.$ac_objext conftest.beam conftest.$ac_ext 35001.6Stvfi 35011.84Schristos 35021.6Stvfi 35031.6Stvfi 35041.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 35051.84Schristos$as_echo "$ac_cv_header_stdc" >&6; } 35061.6Stvif test $ac_cv_header_stdc = yes; then 35071.6Stv 35081.84Schristos$as_echo "#define STDC_HEADERS 1" >>confdefs.h 35091.6Stv 35101.6Stvfi 35111.6Stv 35121.84Schristos# On IRIX 5.3, sys/types and inttypes.h are conflicting. 35131.84Schristosfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 35141.84Schristos inttypes.h stdint.h unistd.h 35151.84Schristosdo : 35161.84Schristos as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 35171.84Schristosac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 35181.84Schristos" 35191.84Schristosif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 35201.84Schristos cat >>confdefs.h <<_ACEOF 35211.84Schristos#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 35221.61Schristos_ACEOF 35231.84Schristos 35241.74Schristosfi 35251.74Schristos 35261.84Schristosdone 35271.84Schristos 35281.84Schristos 35291.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 35301.84Schristos$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 35311.84Schristosif ${ac_cv_c_bigendian+:} false; then : 35321.84Schristos $as_echo_n "(cached) " >&6 35331.52Sdbjelse 35341.84Schristos ac_cv_c_bigendian=unknown 35351.84Schristos # See if we're dealing with a universal compiler. 35361.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35371.84Schristos/* end confdefs.h. */ 35381.84Schristos#ifndef __APPLE_CC__ 35391.84Schristos not a universal capable compiler 35401.84Schristos #endif 35411.84Schristos typedef int dummy; 35421.84Schristos 35431.84Schristos_ACEOF 35441.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 35451.84Schristos 35461.84Schristos # Check for potential -arch flags. It is not universal unless 35471.84Schristos # there are at least two -arch flags with different values. 35481.84Schristos ac_arch= 35491.84Schristos ac_prev= 35501.84Schristos for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 35511.84Schristos if test -n "$ac_prev"; then 35521.84Schristos case $ac_word in 35531.84Schristos i?86 | x86_64 | ppc | ppc64) 35541.84Schristos if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 35551.84Schristos ac_arch=$ac_word 35561.84Schristos else 35571.84Schristos ac_cv_c_bigendian=universal 35581.84Schristos break 35591.84Schristos fi 35601.84Schristos ;; 35611.84Schristos esac 35621.84Schristos ac_prev= 35631.84Schristos elif test "x$ac_word" = "x-arch"; then 35641.84Schristos ac_prev=arch 35651.84Schristos fi 35661.84Schristos done 35671.84Schristosfi 35681.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 35691.84Schristos if test $ac_cv_c_bigendian = unknown; then 35701.84Schristos # See if sys/param.h defines the BYTE_ORDER macro. 35711.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35721.84Schristos/* end confdefs.h. */ 35731.76Spooka#include <sys/types.h> 35741.84Schristos #include <sys/param.h> 35751.76Spooka 35761.76Spookaint 35771.76Spookamain () 35781.76Spooka{ 35791.84Schristos#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 35801.84Schristos && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 35811.84Schristos && LITTLE_ENDIAN) 35821.84Schristos bogus endian macros 35831.84Schristos #endif 35841.76Spooka 35851.76Spooka ; 35861.76Spooka return 0; 35871.76Spooka} 35881.76Spooka_ACEOF 35891.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 35901.84Schristos # It does; now see whether it defined to BIG_ENDIAN or not. 35911.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35921.84Schristos/* end confdefs.h. */ 35931.84Schristos#include <sys/types.h> 35941.84Schristos #include <sys/param.h> 35951.76Spooka 35961.76Spookaint 35971.76Spookamain () 35981.76Spooka{ 35991.84Schristos#if BYTE_ORDER != BIG_ENDIAN 36001.84Schristos not big endian 36011.84Schristos #endif 36021.76Spooka 36031.76Spooka ; 36041.76Spooka return 0; 36051.76Spooka} 36061.76Spooka_ACEOF 36071.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 36081.84Schristos ac_cv_c_bigendian=yes 36091.76Spookaelse 36101.84Schristos ac_cv_c_bigendian=no 36111.76Spookafi 36121.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 36131.76Spookafi 36141.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 36151.84Schristos fi 36161.84Schristos if test $ac_cv_c_bigendian = unknown; then 36171.84Schristos # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 36181.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36191.84Schristos/* end confdefs.h. */ 36201.84Schristos#include <limits.h> 36211.76Spooka 36221.76Spookaint 36231.76Spookamain () 36241.76Spooka{ 36251.84Schristos#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 36261.84Schristos bogus endian macros 36271.84Schristos #endif 36281.76Spooka 36291.76Spooka ; 36301.76Spooka return 0; 36311.76Spooka} 36321.76Spooka_ACEOF 36331.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 36341.84Schristos # It does; now see whether it defined to _BIG_ENDIAN or not. 36351.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36361.84Schristos/* end confdefs.h. */ 36371.84Schristos#include <limits.h> 36381.76Spooka 36391.76Spookaint 36401.76Spookamain () 36411.76Spooka{ 36421.84Schristos#ifndef _BIG_ENDIAN 36431.84Schristos not big endian 36441.84Schristos #endif 36451.84Schristos 36461.76Spooka ; 36471.76Spooka return 0; 36481.76Spooka} 36491.76Spooka_ACEOF 36501.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 36511.84Schristos ac_cv_c_bigendian=yes 36521.76Spookaelse 36531.84Schristos ac_cv_c_bigendian=no 36541.76Spookafi 36551.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 36561.76Spookafi 36571.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 36581.84Schristos fi 36591.84Schristos if test $ac_cv_c_bigendian = unknown; then 36601.84Schristos # Compile a test program. 36611.84Schristos if test "$cross_compiling" = yes; then : 36621.84Schristos # Try to guess by grepping values from an object file. 36631.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36641.84Schristos/* end confdefs.h. */ 36651.84Schristosshort int ascii_mm[] = 36661.84Schristos { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 36671.84Schristos short int ascii_ii[] = 36681.84Schristos { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 36691.84Schristos int use_ascii (int i) { 36701.84Schristos return ascii_mm[i] + ascii_ii[i]; 36711.84Schristos } 36721.84Schristos short int ebcdic_ii[] = 36731.84Schristos { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 36741.84Schristos short int ebcdic_mm[] = 36751.84Schristos { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 36761.84Schristos int use_ebcdic (int i) { 36771.84Schristos return ebcdic_mm[i] + ebcdic_ii[i]; 36781.84Schristos } 36791.84Schristos extern int foo; 36801.76Spooka 36811.76Spookaint 36821.76Spookamain () 36831.76Spooka{ 36841.84Schristosreturn use_ascii (foo) == use_ebcdic (foo); 36851.76Spooka ; 36861.76Spooka return 0; 36871.76Spooka} 36881.76Spooka_ACEOF 36891.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 36901.84Schristos if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 36911.84Schristos ac_cv_c_bigendian=yes 36921.84Schristos fi 36931.84Schristos if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 36941.84Schristos if test "$ac_cv_c_bigendian" = unknown; then 36951.84Schristos ac_cv_c_bigendian=no 36961.84Schristos else 36971.84Schristos # finding both strings is unlikely to happen, but who knows? 36981.84Schristos ac_cv_c_bigendian=unknown 36991.84Schristos fi 37001.84Schristos fi 37011.76Spookafi 37021.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 37031.76Spookaelse 37041.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37051.84Schristos/* end confdefs.h. */ 37061.84Schristos$ac_includes_default 37071.76Spookaint 37081.76Spookamain () 37091.76Spooka{ 37101.84Schristos 37111.84Schristos /* Are we little or big endian? From Harbison&Steele. */ 37121.84Schristos union 37131.84Schristos { 37141.84Schristos long int l; 37151.84Schristos char c[sizeof (long int)]; 37161.84Schristos } u; 37171.84Schristos u.l = 1; 37181.84Schristos return u.c[sizeof (long int) - 1] == 1; 37191.76Spooka 37201.76Spooka ; 37211.76Spooka return 0; 37221.76Spooka} 37231.76Spooka_ACEOF 37241.84Schristosif ac_fn_c_try_run "$LINENO"; then : 37251.84Schristos ac_cv_c_bigendian=no 37261.76Spookaelse 37271.84Schristos ac_cv_c_bigendian=yes 37281.76Spookafi 37291.84Schristosrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 37301.84Schristos conftest.$ac_objext conftest.beam conftest.$ac_ext 37311.76Spookafi 37321.76Spooka 37331.84Schristos fi 37341.76Spookafi 37351.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 37361.84Schristos$as_echo "$ac_cv_c_bigendian" >&6; } 37371.84Schristos case $ac_cv_c_bigendian in #( 37381.84Schristos yes) 37391.84Schristos $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 37401.84Schristos;; #( 37411.84Schristos no) 37421.84Schristos ;; #( 37431.84Schristos universal) 37441.84Schristos 37451.84Schristos$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 37461.84Schristos 37471.84Schristos ;; #( 37481.84Schristos *) 37491.84Schristos as_fn_error $? "unknown endianness 37501.84Schristos presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 37511.84Schristos esac 37521.84Schristos 37531.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 37541.84Schristos$as_echo_n "checking for ANSI C header files... " >&6; } 37551.84Schristosif ${ac_cv_header_stdc+:} false; then : 37561.84Schristos $as_echo_n "(cached) " >&6 37571.76Spookaelse 37581.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37591.84Schristos/* end confdefs.h. */ 37601.84Schristos#include <stdlib.h> 37611.84Schristos#include <stdarg.h> 37621.84Schristos#include <string.h> 37631.84Schristos#include <float.h> 37641.76Spooka 37651.76Spookaint 37661.76Spookamain () 37671.76Spooka{ 37681.84Schristos 37691.84Schristos ; 37701.84Schristos return 0; 37711.76Spooka} 37721.76Spooka_ACEOF 37731.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 37741.84Schristos ac_cv_header_stdc=yes 37751.76Spookaelse 37761.84Schristos ac_cv_header_stdc=no 37771.76Spookafi 37781.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 37791.76Spooka 37801.84Schristosif test $ac_cv_header_stdc = yes; then 37811.84Schristos # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 37821.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37831.84Schristos/* end confdefs.h. */ 37841.84Schristos#include <string.h> 37851.76Spooka 37861.84Schristos_ACEOF 37871.84Schristosif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 37881.84Schristos $EGREP "memchr" >/dev/null 2>&1; then : 37891.76Spooka 37901.76Spookaelse 37911.84Schristos ac_cv_header_stdc=no 37921.76Spookafi 37931.84Schristosrm -f conftest* 37941.76Spooka 37951.76Spookafi 37961.76Spooka 37971.84Schristosif test $ac_cv_header_stdc = yes; then 37981.84Schristos # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 37991.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38001.84Schristos/* end confdefs.h. */ 38011.84Schristos#include <stdlib.h> 38021.76Spooka 38031.84Schristos_ACEOF 38041.84Schristosif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 38051.84Schristos $EGREP "free" >/dev/null 2>&1; then : 38061.76Spooka 38071.76Spookaelse 38081.84Schristos ac_cv_header_stdc=no 38091.76Spookafi 38101.84Schristosrm -f conftest* 38111.84Schristos 38121.76Spookafi 38131.76Spooka 38141.84Schristosif test $ac_cv_header_stdc = yes; then 38151.84Schristos # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 38161.84Schristos if test "$cross_compiling" = yes; then : 38171.84Schristos : 38181.76Spookaelse 38191.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38201.84Schristos/* end confdefs.h. */ 38211.84Schristos#include <ctype.h> 38221.84Schristos#include <stdlib.h> 38231.84Schristos#if ((' ' & 0x0FF) == 0x020) 38241.84Schristos# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 38251.84Schristos# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 38261.84Schristos#else 38271.84Schristos# define ISLOWER(c) \ 38281.84Schristos (('a' <= (c) && (c) <= 'i') \ 38291.84Schristos || ('j' <= (c) && (c) <= 'r') \ 38301.84Schristos || ('s' <= (c) && (c) <= 'z')) 38311.84Schristos# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 38321.84Schristos#endif 38331.76Spooka 38341.84Schristos#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 38351.76Spookaint 38361.76Spookamain () 38371.76Spooka{ 38381.84Schristos int i; 38391.84Schristos for (i = 0; i < 256; i++) 38401.84Schristos if (XOR (islower (i), ISLOWER (i)) 38411.84Schristos || toupper (i) != TOUPPER (i)) 38421.84Schristos return 2; 38431.76Spooka return 0; 38441.76Spooka} 38451.76Spooka_ACEOF 38461.84Schristosif ac_fn_c_try_run "$LINENO"; then : 38471.84Schristos 38481.76Spookaelse 38491.84Schristos ac_cv_header_stdc=no 38501.76Spookafi 38511.84Schristosrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 38521.84Schristos conftest.$ac_objext conftest.beam conftest.$ac_ext 38531.76Spookafi 38541.76Spooka 38551.84Schristosfi 38561.84Schristosfi 38571.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 38581.84Schristos$as_echo "$ac_cv_header_stdc" >&6; } 38591.84Schristosif test $ac_cv_header_stdc = yes; then 38601.76Spooka 38611.84Schristos$as_echo "#define STDC_HEADERS 1" >>confdefs.h 38621.76Spooka 38631.76Spookafi 38641.76Spooka 38651.76Spooka 38661.84Schristos# Confirm existence of zlib. (This is available as a default install 38671.84Schristos# option on many OS's; this could be added as a reachover build in the 38681.84Schristos# future.) 38691.84Schristosac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" 38701.84Schristosif test "x$ac_cv_header_zlib_h" = xyes; then : 38711.76Spooka 38721.76Spookaelse 38731.84Schristos as_fn_error $? "zlib must be installed in a compiler-visible path" "$LINENO" 5 38741.76Spookafi 38751.76Spooka 38761.76Spooka 38771.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5 38781.84Schristos$as_echo_n "checking for gzdopen in -lz... " >&6; } 38791.84Schristosif ${ac_cv_lib_z_gzdopen+:} false; then : 38801.84Schristos $as_echo_n "(cached) " >&6 38811.76Spookaelse 38821.84Schristos ac_check_lib_save_LIBS=$LIBS 38831.84SchristosLIBS="-lz $LIBS" 38841.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 38851.84Schristos/* end confdefs.h. */ 38861.76Spooka 38871.84Schristos/* Override any GCC internal prototype to avoid an error. 38881.84Schristos Use char because int might match the return type of a GCC 38891.84Schristos builtin and then its argument prototype would still apply. */ 38901.84Schristos#ifdef __cplusplus 38911.84Schristosextern "C" 38921.84Schristos#endif 38931.84Schristoschar gzdopen (); 38941.76Spookaint 38951.76Spookamain () 38961.76Spooka{ 38971.84Schristosreturn gzdopen (); 38981.76Spooka ; 38991.76Spooka return 0; 39001.76Spooka} 39011.76Spooka_ACEOF 39021.84Schristosif ac_fn_c_try_link "$LINENO"; then : 39031.84Schristos ac_cv_lib_z_gzdopen=yes 39041.76Spookaelse 39051.84Schristos ac_cv_lib_z_gzdopen=no 39061.76Spookafi 39071.84Schristosrm -f core conftest.err conftest.$ac_objext \ 39081.84Schristos conftest$ac_exeext conftest.$ac_ext 39091.84SchristosLIBS=$ac_check_lib_save_LIBS 39101.76Spookafi 39111.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5 39121.84Schristos$as_echo "$ac_cv_lib_z_gzdopen" >&6; } 39131.84Schristosif test "x$ac_cv_lib_z_gzdopen" = xyes; then : 39141.84Schristos cat >>confdefs.h <<_ACEOF 39151.84Schristos#define HAVE_LIBZ 1 39161.84Schristos_ACEOF 39171.76Spooka 39181.84Schristos LIBS="-lz $LIBS" 39191.76Spooka 39201.76Spookaelse 39211.84Schristos as_fn_error $? "zlib must be installed in a compiler-visible path" "$LINENO" 5 39221.76Spookafi 39231.76Spooka 39241.76Spooka 39251.84Schristos# Make sure certain required headers are available. 39261.84Schristos# These are not necessarily required by the code, but they are not 39271.84Schristos# currently conditionalized. 39281.84Schristosfor ac_header in sys/ioctl.h sys/mman.h sys/param.h \ 39291.84Schristos sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \ 39301.84Schristos sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \ 39311.84Schristos netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \ 39321.84Schristos termios.h unistd.h 39331.84Schristosdo : 39341.84Schristos as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 39351.84Schristosac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 39361.84Schristosif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 39371.84Schristos cat >>confdefs.h <<_ACEOF 39381.84Schristos#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 39391.84Schristos_ACEOF 39401.76Spooka 39411.76Spookaelse 39421.84Schristos as_fn_error $? "standard system header file not found" "$LINENO" 5 39431.76Spookafi 39441.76Spooka 39451.84Schristosdone 39461.76Spooka 39471.76Spooka 39481.84Schristos# Find headers that may not be available. 39491.84Schristosac_header_dirent=no 39501.84Schristosfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 39511.84Schristos as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 39521.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 39531.84Schristos$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 39541.84Schristosif eval \${$as_ac_Header+:} false; then : 39551.84Schristos $as_echo_n "(cached) " >&6 39561.76Spookaelse 39571.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39581.84Schristos/* end confdefs.h. */ 39591.84Schristos#include <sys/types.h> 39601.84Schristos#include <$ac_hdr> 39611.76Spooka 39621.76Spookaint 39631.76Spookamain () 39641.76Spooka{ 39651.84Schristosif ((DIR *) 0) 39661.84Schristosreturn 0; 39671.76Spooka ; 39681.76Spooka return 0; 39691.76Spooka} 39701.76Spooka_ACEOF 39711.84Schristosif ac_fn_c_try_compile "$LINENO"; then : 39721.84Schristos eval "$as_ac_Header=yes" 39731.76Spookaelse 39741.84Schristos eval "$as_ac_Header=no" 39751.76Spookafi 39761.84Schristosrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 39771.76Spookafi 39781.84Schristoseval ac_res=\$$as_ac_Header 39791.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 39801.84Schristos$as_echo "$ac_res" >&6; } 39811.84Schristosif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 39821.84Schristos cat >>confdefs.h <<_ACEOF 39831.84Schristos#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 39841.84Schristos_ACEOF 39851.74Schristos 39861.84Schristosac_header_dirent=$ac_hdr; break 39871.76Spookafi 39881.66Stsutsui 39891.84Schristosdone 39901.84Schristos# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 39911.84Schristosif test $ac_header_dirent = dirent.h; then 39921.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 39931.84Schristos$as_echo_n "checking for library containing opendir... " >&6; } 39941.84Schristosif ${ac_cv_search_opendir+:} false; then : 39951.84Schristos $as_echo_n "(cached) " >&6 39961.66Stsutsuielse 39971.84Schristos ac_func_search_save_LIBS=$LIBS 39981.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 39991.84Schristos/* end confdefs.h. */ 40001.76Spooka 40011.84Schristos/* Override any GCC internal prototype to avoid an error. 40021.84Schristos Use char because int might match the return type of a GCC 40031.84Schristos builtin and then its argument prototype would still apply. */ 40041.84Schristos#ifdef __cplusplus 40051.84Schristosextern "C" 40061.84Schristos#endif 40071.84Schristoschar opendir (); 40081.76Spookaint 40091.76Spookamain () 40101.76Spooka{ 40111.84Schristosreturn opendir (); 40121.76Spooka ; 40131.76Spooka return 0; 40141.76Spooka} 40151.6Stv_ACEOF 40161.84Schristosfor ac_lib in '' dir; do 40171.84Schristos if test -z "$ac_lib"; then 40181.84Schristos ac_res="none required" 40191.84Schristos else 40201.84Schristos ac_res=-l$ac_lib 40211.84Schristos LIBS="-l$ac_lib $ac_func_search_save_LIBS" 40221.84Schristos fi 40231.84Schristos if ac_fn_c_try_link "$LINENO"; then : 40241.84Schristos ac_cv_search_opendir=$ac_res 40251.84Schristosfi 40261.84Schristosrm -f core conftest.err conftest.$ac_objext \ 40271.84Schristos conftest$ac_exeext 40281.84Schristos if ${ac_cv_search_opendir+:} false; then : 40291.84Schristos break 40301.84Schristosfi 40311.84Schristosdone 40321.84Schristosif ${ac_cv_search_opendir+:} false; then : 40331.84Schristos 40341.76Spookaelse 40351.84Schristos ac_cv_search_opendir=no 40361.76Spookafi 40371.84Schristosrm conftest.$ac_ext 40381.84SchristosLIBS=$ac_func_search_save_LIBS 40391.6Stvfi 40401.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 40411.84Schristos$as_echo "$ac_cv_search_opendir" >&6; } 40421.84Schristosac_res=$ac_cv_search_opendir 40431.84Schristosif test "$ac_res" != no; then : 40441.84Schristos test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 40451.6Stv 40461.84Schristosfi 40471.38Sfredb 40481.76Spookaelse 40491.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 40501.84Schristos$as_echo_n "checking for library containing opendir... " >&6; } 40511.84Schristosif ${ac_cv_search_opendir+:} false; then : 40521.84Schristos $as_echo_n "(cached) " >&6 40531.80Sapbelse 40541.84Schristos ac_func_search_save_LIBS=$LIBS 40551.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 40561.84Schristos/* end confdefs.h. */ 40571.80Sapb 40581.84Schristos/* Override any GCC internal prototype to avoid an error. 40591.84Schristos Use char because int might match the return type of a GCC 40601.84Schristos builtin and then its argument prototype would still apply. */ 40611.84Schristos#ifdef __cplusplus 40621.84Schristosextern "C" 40631.84Schristos#endif 40641.84Schristoschar opendir (); 40651.80Sapbint 40661.80Sapbmain () 40671.80Sapb{ 40681.84Schristosreturn opendir (); 40691.80Sapb ; 40701.80Sapb return 0; 40711.80Sapb} 40721.80Sapb_ACEOF 40731.84Schristosfor ac_lib in '' x; do 40741.84Schristos if test -z "$ac_lib"; then 40751.84Schristos ac_res="none required" 40761.84Schristos else 40771.84Schristos ac_res=-l$ac_lib 40781.84Schristos LIBS="-l$ac_lib $ac_func_search_save_LIBS" 40791.84Schristos fi 40801.84Schristos if ac_fn_c_try_link "$LINENO"; then : 40811.84Schristos ac_cv_search_opendir=$ac_res 40821.84Schristosfi 40831.84Schristosrm -f core conftest.err conftest.$ac_objext \ 40841.84Schristos conftest$ac_exeext 40851.84Schristos if ${ac_cv_search_opendir+:} false; then : 40861.84Schristos break 40871.84Schristosfi 40881.84Schristosdone 40891.84Schristosif ${ac_cv_search_opendir+:} false; then : 40901.84Schristos 40911.80Sapbelse 40921.84Schristos ac_cv_search_opendir=no 40931.80Sapbfi 40941.84Schristosrm conftest.$ac_ext 40951.84SchristosLIBS=$ac_func_search_save_LIBS 40961.84Schristosfi 40971.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 40981.84Schristos$as_echo "$ac_cv_search_opendir" >&6; } 40991.84Schristosac_res=$ac_cv_search_opendir 41001.84Schristosif test "$ac_res" != no; then : 41011.84Schristos test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 41021.84Schristos 41031.80Sapbfi 41041.80Sapb 41051.84Schristosfi 41061.80Sapb 41071.87Schristosfor ac_header in sys/mtio.h sys/sysmacros.h sys/syslimits.h stdio_ext.h \ 41081.96Shannken getopt.h features.h malloc.h sys/poll.h pthread.h stddef.h sys/uio.h 41091.84Schristosdo : 41101.84Schristos as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 41111.84Schristosac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 41121.84Schristosif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 41131.84Schristos cat >>confdefs.h <<_ACEOF 41141.84Schristos#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 41151.84Schristos_ACEOF 41161.80Sapb 41171.80Sapbfi 41181.45Sjmc 41191.84Schristosdone 41201.84Schristos 41211.84Schristosfor ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \ 41221.84Schristos sys/endian.h sys/featuretest.h err.h inttypes.h libgen.h paths.h \ 41231.86Schristos libgen.h stdint.h util.h resolv.h arpa/nameser.h 41241.84Schristosdo : 41251.84Schristos as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 41261.84Schristosac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 41271.84Schristosif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 41281.84Schristos cat >>confdefs.h <<_ACEOF 41291.84Schristos#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 41301.84Schristos_ACEOF 41311.84Schristos 41321.76Spookaelse 41331.84Schristos test -f include/$ac_header || touch include/$ac_header 41341.84Schristosfi 41351.7Stv 41361.84Schristosdone 41371.7Stv 41381.96Shannkenfor ac_header in rpc/types.h 41391.84Schristosdo : 41401.96Shannken ac_fn_c_check_header_mongrel "$LINENO" "rpc/types.h" "ac_cv_header_rpc_types_h" "$ac_includes_default" 41411.96Shannkenif test "x$ac_cv_header_rpc_types_h" = xyes; then : 41421.96Shannken cat >>confdefs.h <<_ACEOF 41431.96Shannken#define HAVE_RPC_TYPES_H 1 41441.96Shannken_ACEOF 41451.96Shannken 41461.96Shannkenelse 41471.96Shannken echo '#include "nbtool_config.h"' >include/$ac_header.new 41481.96Shannken echo '#include "'$srcdir/../../common/include/$ac_header'"' \ 41491.96Shannken >>include/$ac_header.new 41501.96Shannken if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then 41511.96Shannken rm -f include/$ac_header.new 41521.96Shannken else 41531.96Shannken mv -f include/$ac_header.new include/$ac_header 41541.96Shannken fi 41551.96Shannkenfi 41561.96Shannken 41571.96Shannkendone 41581.96Shannken 41591.96Shannkenfor ac_header in netconfig.h 41601.96Shannkendo : 41611.96Shannken ac_fn_c_check_header_mongrel "$LINENO" "netconfig.h" "ac_cv_header_netconfig_h" "$ac_includes_default" 41621.96Shannkenif test "x$ac_cv_header_netconfig_h" = xyes; then : 41631.84Schristos cat >>confdefs.h <<_ACEOF 41641.96Shannken#define HAVE_NETCONFIG_H 1 41651.76Spooka_ACEOF 41661.84Schristos 41671.76Spookaelse 41681.84Schristos echo '#include "nbtool_config.h"' >include/$ac_header.new 41691.84Schristos echo '#include "'$srcdir/../../include/$ac_header'"' \ 41701.84Schristos >>include/$ac_header.new 41711.84Schristos if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then 41721.84Schristos rm -f include/$ac_header.new 41731.84Schristos else 41741.84Schristos mv -f include/$ac_header.new include/$ac_header 41751.84Schristos fi 41761.76Spookafi 41771.35Sthorpej 41781.84Schristosdone 41791.84Schristos 41801.84Schristos 41811.84Schristos# Typedefs. 41821.84Schristosac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 41831.84Schristosif test "x$ac_cv_type_size_t" = xyes; then : 41841.9Stv 41851.76Spookaelse 41861.84Schristos 41871.84Schristoscat >>confdefs.h <<_ACEOF 41881.84Schristos#define size_t unsigned int 41891.84Schristos_ACEOF 41901.9Stv 41911.63Sapbfi 41921.65Schristos 41931.84Schristosac_fn_c_check_type "$LINENO" "id_t" "ac_cv_type_id_t" "$ac_includes_default" 41941.84Schristosif test "x$ac_cv_type_id_t" = xyes; then : 41951.84Schristos 41961.84Schristoscat >>confdefs.h <<_ACEOF 41971.84Schristos#define HAVE_ID_T 1 41981.84Schristos_ACEOF 41991.76Spooka 42001.63Sapb 42011.84Schristosfi 42021.84Schristosac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default" 42031.84Schristosif test "x$ac_cv_type_long_long" = xyes; then : 42041.63Sapb 42051.84Schristoscat >>confdefs.h <<_ACEOF 42061.84Schristos#define HAVE_LONG_LONG 1 42071.76Spooka_ACEOF 42081.84Schristos 42091.84Schristos 42101.63Sapbfi 42111.84Schristosac_fn_c_check_type "$LINENO" "u_long" "ac_cv_type_u_long" "$ac_includes_default" 42121.84Schristosif test "x$ac_cv_type_u_long" = xyes; then : 42131.84Schristos 42141.84Schristoscat >>confdefs.h <<_ACEOF 42151.84Schristos#define HAVE_U_LONG 1 42161.84Schristos_ACEOF 42171.84Schristos 42181.84Schristos 42191.76Spookafi 42201.84Schristosac_fn_c_check_type "$LINENO" "u_char" "ac_cv_type_u_char" "$ac_includes_default" 42211.84Schristosif test "x$ac_cv_type_u_char" = xyes; then : 42221.74Schristos 42231.84Schristoscat >>confdefs.h <<_ACEOF 42241.84Schristos#define HAVE_U_CHAR 1 42251.84Schristos_ACEOF 42261.65Schristos 42271.65Schristos 42281.74Schristosfi 42291.84Schristosac_fn_c_check_type "$LINENO" "u_short" "ac_cv_type_u_short" "$ac_includes_default" 42301.84Schristosif test "x$ac_cv_type_u_short" = xyes; then : 42311.84Schristos 42321.84Schristoscat >>confdefs.h <<_ACEOF 42331.84Schristos#define HAVE_U_SHORT 1 42341.84Schristos_ACEOF 42351.63Sapb 42361.74Schristos 42371.84Schristosfi 42381.84Schristosac_fn_c_check_type "$LINENO" "u_int" "ac_cv_type_u_int" "$ac_includes_default" 42391.84Schristosif test "x$ac_cv_type_u_int" = xyes; then : 42401.74Schristos 42411.84Schristoscat >>confdefs.h <<_ACEOF 42421.84Schristos#define HAVE_U_INT 1 42431.76Spooka_ACEOF 42441.84Schristos 42451.84Schristos 42461.76Spookafi 42471.84Schristosac_fn_c_check_type "$LINENO" "u_quad_t" "ac_cv_type_u_quad_t" "$ac_includes_default" 42481.84Schristosif test "x$ac_cv_type_u_quad_t" = xyes; then : 42491.65Schristos 42501.84Schristoscat >>confdefs.h <<_ACEOF 42511.84Schristos#define HAVE_U_QUAD_T 1 42521.84Schristos_ACEOF 42531.53Sdogcow 42541.40Satatat 42551.40Satatatfi 42561.63Sapb 42571.95Skamilac_fn_c_check_type "$LINENO" "uchar_t" "ac_cv_type_uchar_t" "$ac_includes_default" 42581.95Skamilif test "x$ac_cv_type_uchar_t" = xyes; then : 42591.95Skamil 42601.95Skamilcat >>confdefs.h <<_ACEOF 42611.95Skamil#define HAVE_UCHAR_T 1 42621.95Skamil_ACEOF 42631.95Skamil 42641.95Skamil 42651.95Skamilfi 42661.95Skamilac_fn_c_check_type "$LINENO" "ushort_t" "ac_cv_type_ushort_t" "$ac_includes_default" 42671.95Skamilif test "x$ac_cv_type_ushort_t" = xyes; then : 42681.95Skamil 42691.95Skamilcat >>confdefs.h <<_ACEOF 42701.95Skamil#define HAVE_USHORT_T 1 42711.95Skamil_ACEOF 42721.95Skamil 42731.95Skamil 42741.95Skamilfi 42751.95Skamilac_fn_c_check_type "$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default" 42761.95Skamilif test "x$ac_cv_type_uint_t" = xyes; then : 42771.95Skamil 42781.95Skamilcat >>confdefs.h <<_ACEOF 42791.95Skamil#define HAVE_UINT_T 1 42801.95Skamil_ACEOF 42811.95Skamil 42821.95Skamil 42831.95Skamilfi 42841.95Skamilac_fn_c_check_type "$LINENO" "ulong_t" "ac_cv_type_ulong_t" "$ac_includes_default" 42851.95Skamilif test "x$ac_cv_type_ulong_t" = xyes; then : 42861.95Skamil 42871.95Skamilcat >>confdefs.h <<_ACEOF 42881.95Skamil#define HAVE_ULONG_T 1 42891.95Skamil_ACEOF 42901.95Skamil 42911.95Skamil 42921.95Skamilfi 42931.95Skamil 42941.84Schristosac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h> 42951.84Schristos#ifdef HAVE_RPC_TYPES_H 42961.84Schristos#include <rpc/types.h> 42971.84Schristos#endif 42981.84Schristos#include <sys/socket.h> 42991.84Schristos" 43001.84Schristosif test "x$ac_cv_type_socklen_t" = xyes; then : 43011.65Schristos 43021.84Schristos$as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h 43031.65Schristos 43041.63Sapbfi 43051.65Schristos 43061.65Schristos 43071.94Skamil{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for enum uio_rw" >&5 43081.94Skamil$as_echo_n "checking for enum uio_rw... " >&6; } 43091.94Skamilcat confdefs.h - <<_ACEOF >conftest.$ac_ext 43101.94Skamil/* end confdefs.h. */ 43111.94Skamil 43121.94Skamil#include <sys/types.h> 43131.94Skamil#ifdef HAVE_SYS_UIO_H 43141.94Skamil#include <sys/uio.h> 43151.94Skamil#endif 43161.94Skamilint 43171.94Skamilmain () 43181.94Skamil{ 43191.94Skamilenum uio_rw rw; 43201.94Skamil ; 43211.94Skamil return 0; 43221.94Skamil} 43231.94Skamil_ACEOF 43241.94Skamilif ac_fn_c_try_compile "$LINENO"; then : 43251.98Suwe { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 43261.98Suwe$as_echo "yes" >&6; } 43271.94Skamil 43281.94Skamil$as_echo "#define HAVE_ENUM_UIO_RW 1" >>confdefs.h 43291.94Skamil 43301.98Suweelse 43311.98Suwe { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 43321.98Suwe$as_echo "no" >&6; } 43331.94Skamilfi 43341.94Skamilrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 43351.94Skamil 43361.94Skamil{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for enum uio_seg" >&5 43371.94Skamil$as_echo_n "checking for enum uio_seg... " >&6; } 43381.94Skamilcat confdefs.h - <<_ACEOF >conftest.$ac_ext 43391.94Skamil/* end confdefs.h. */ 43401.94Skamil 43411.94Skamil#include <sys/types.h> 43421.94Skamil#ifdef HAVE_SYS_UIO_H 43431.94Skamil#include <sys/uio.h> 43441.94Skamil#endif 43451.94Skamilint 43461.94Skamilmain () 43471.94Skamil{ 43481.94Skamilenum uio_seg seg; 43491.94Skamil ; 43501.94Skamil return 0; 43511.94Skamil} 43521.94Skamil_ACEOF 43531.94Skamilif ac_fn_c_try_compile "$LINENO"; then : 43541.98Suwe { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 43551.98Suwe$as_echo "yes" >&6; } 43561.94Skamil 43571.94Skamil$as_echo "#define HAVE_ENUM_UIO_SEG 1" >>confdefs.h 43581.94Skamil 43591.98Suweelse 43601.98Suwe { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 43611.98Suwe$as_echo "no" >&6; } 43621.94Skamilfi 43631.94Skamilrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 43641.94Skamil 43651.60Sapb 43661.84Schristos ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default" 43671.84Schristosif test "x$ac_cv_type_uint8_t" = xyes; then : 43681.84Schristos 43691.81Schristoselse 43701.81Schristos 43711.84Schristos ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default" 43721.84Schristosif test "x$ac_cv_type_u_int8_t" = xyes; then : 43731.81Schristos 43741.84Schristos$as_echo "#define uint8_t u_int8_t" >>confdefs.h 43751.81Schristos 43761.81Schristoselse 43771.84Schristos as_fn_error $? "cannot find a suitable type for uint8_t" "$LINENO" 5 43781.81Schristosfi 43791.84Schristos 43801.84Schristos 43811.81Schristosfi 43821.81Schristos 43831.84Schristos ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default" 43841.84Schristosif test "x$ac_cv_type_u_int8_t" = xyes; then : 43851.81Schristos 43861.81Schristoselse 43871.81Schristos 43881.84Schristos ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default" 43891.84Schristosif test "x$ac_cv_type_uint8_t" = xyes; then : 43901.81Schristos 43911.84Schristos$as_echo "#define u_int8_t uint8_t" >>confdefs.h 43921.81Schristos 43931.81Schristoselse 43941.84Schristos as_fn_error $? "cannot find a suitable type for u_int8_t" "$LINENO" 5 43951.81Schristosfi 43961.84Schristos 43971.84Schristos 43981.81Schristosfi 43991.81Schristos 44001.81Schristos 44011.84Schristos ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" 44021.84Schristosif test "x$ac_cv_type_uint16_t" = xyes; then : 44031.84Schristos 44041.81Schristoselse 44051.81Schristos 44061.84Schristos ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default" 44071.84Schristosif test "x$ac_cv_type_u_int16_t" = xyes; then : 44081.81Schristos 44091.84Schristos$as_echo "#define uint16_t u_int16_t" >>confdefs.h 44101.81Schristos 44111.81Schristoselse 44121.84Schristos as_fn_error $? "cannot find a suitable type for uint16_t" "$LINENO" 5 44131.81Schristosfi 44141.84Schristos 44151.84Schristos 44161.81Schristosfi 44171.81Schristos 44181.84Schristos ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default" 44191.84Schristosif test "x$ac_cv_type_u_int16_t" = xyes; then : 44201.81Schristos 44211.81Schristoselse 44221.81Schristos 44231.84Schristos ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" 44241.84Schristosif test "x$ac_cv_type_uint16_t" = xyes; then : 44251.81Schristos 44261.84Schristos$as_echo "#define u_int16_t uint16_t" >>confdefs.h 44271.81Schristos 44281.81Schristoselse 44291.84Schristos as_fn_error $? "cannot find a suitable type for u_int16_t" "$LINENO" 5 44301.81Schristosfi 44311.84Schristos 44321.84Schristos 44331.81Schristosfi 44341.81Schristos 44351.81Schristos 44361.84Schristos ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" 44371.84Schristosif test "x$ac_cv_type_uint32_t" = xyes; then : 44381.81Schristos 44391.63Sapbelse 44401.53Sdogcow 44411.84Schristos ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default" 44421.84Schristosif test "x$ac_cv_type_u_int32_t" = xyes; then : 44431.84Schristos 44441.84Schristos$as_echo "#define uint32_t u_int32_t" >>confdefs.h 44451.65Schristos 44461.40Satatatelse 44471.84Schristos as_fn_error $? "cannot find a suitable type for uint32_t" "$LINENO" 5 44481.40Satatatfi 44491.84Schristos 44501.84Schristos 44511.74Schristosfi 44521.61Schristos 44531.84Schristos ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default" 44541.84Schristosif test "x$ac_cv_type_u_int32_t" = xyes; then : 44551.53Sdogcow 44561.7Stvelse 44571.7Stv 44581.84Schristos ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" 44591.84Schristosif test "x$ac_cv_type_uint32_t" = xyes; then : 44601.60Sapb 44611.84Schristos$as_echo "#define u_int32_t uint32_t" >>confdefs.h 44621.63Sapb 44631.7Stvelse 44641.84Schristos as_fn_error $? "cannot find a suitable type for u_int32_t" "$LINENO" 5 44651.7Stvfi 44661.84Schristos 44671.84Schristos 44681.7Stvfi 44691.7Stv 44701.84Schristos 44711.84Schristos ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" 44721.84Schristosif test "x$ac_cv_type_uint64_t" = xyes; then : 44731.4Stv 44741.76Spookaelse 44751.63Sapb 44761.84Schristos ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default" 44771.84Schristosif test "x$ac_cv_type_u_int64_t" = xyes; then : 44781.65Schristos 44791.84Schristos$as_echo "#define uint64_t u_int64_t" >>confdefs.h 44801.63Sapb 44811.53Sdogcowelse 44821.84Schristos as_fn_error $? "cannot find a suitable type for uint64_t" "$LINENO" 5 44831.53Sdogcowfi 44841.84Schristos 44851.84Schristos 44861.61Schristosfi 44871.65Schristos 44881.84Schristos ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default" 44891.84Schristosif test "x$ac_cv_type_u_int64_t" = xyes; then : 44901.65Schristos 44911.65Schristoselse 44921.53Sdogcow 44931.84Schristos ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" 44941.84Schristosif test "x$ac_cv_type_uint64_t" = xyes; then : 44951.65Schristos 44961.84Schristos$as_echo "#define u_int64_t uint64_t" >>confdefs.h 44971.53Sdogcow 44981.7Stvelse 44991.84Schristos as_fn_error $? "cannot find a suitable type for u_int64_t" "$LINENO" 5 45001.7Stvfi 45011.84Schristos 45021.84Schristos 45031.7Stvfi 45041.65Schristos 45051.7Stv 45061.84Schristos 45071.84Schristos# Struct members. 45081.84Schristosac_fn_c_check_member "$LINENO" "DIR" "dd_fd" "ac_cv_member_DIR_dd_fd" "#include <sys/types.h> 45091.84Schristos#include <dirent.h> 45101.84Schristos" 45111.84Schristosif test "x$ac_cv_member_DIR_dd_fd" = xyes; then : 45121.84Schristos 45131.84Schristoscat >>confdefs.h <<_ACEOF 45141.84Schristos#define HAVE_DIR_DD_FD 1 45151.84Schristos_ACEOF 45161.84Schristos 45171.61Schristos 45181.76Spookafi 45191.84Schristosac_fn_c_check_member "$LINENO" "DIR" "__dd_fd" "ac_cv_member_DIR___dd_fd" "#include <sys/types.h> 45201.84Schristos#include <dirent.h> 45211.84Schristos" 45221.84Schristosif test "x$ac_cv_member_DIR___dd_fd" = xyes; then : 45231.84Schristos 45241.84Schristoscat >>confdefs.h <<_ACEOF 45251.84Schristos#define HAVE_DIR___DD_FD 1 45261.84Schristos_ACEOF 45271.61Schristos 45281.7Stv 45291.7Stvfi 45301.84Schristosac_fn_c_check_member "$LINENO" "struct dirent" "d_namlen" "ac_cv_member_struct_dirent_d_namlen" "#include <sys/types.h> 45311.84Schristos#include <dirent.h> 45321.84Schristos" 45331.84Schristosif test "x$ac_cv_member_struct_dirent_d_namlen" = xyes; then : 45341.61Schristos 45351.84Schristoscat >>confdefs.h <<_ACEOF 45361.84Schristos#define HAVE_STRUCT_DIRENT_D_NAMLEN 1 45371.84Schristos_ACEOF 45381.7Stv 45391.7Stv 45401.76Spookafi 45411.4Stv 45421.84Schristosac_fn_c_check_member "$LINENO" "struct stat" "st_flags" "ac_cv_member_struct_stat_st_flags" "#include <sys/stat.h> 45431.84Schristos" 45441.84Schristosif test "x$ac_cv_member_struct_stat_st_flags" = xyes; then : 45451.4Stv 45461.84Schristoscat >>confdefs.h <<_ACEOF 45471.84Schristos#define HAVE_STRUCT_STAT_ST_FLAGS 1 45481.76Spooka_ACEOF 45491.84Schristos 45501.84Schristos 45511.4Stvfi 45521.84Schristosac_fn_c_check_member "$LINENO" "struct stat" "st_gen" "ac_cv_member_struct_stat_st_gen" "#include <sys/stat.h> 45531.84Schristos" 45541.84Schristosif test "x$ac_cv_member_struct_stat_st_gen" = xyes; then : 45551.84Schristos 45561.84Schristoscat >>confdefs.h <<_ACEOF 45571.84Schristos#define HAVE_STRUCT_STAT_ST_GEN 1 45581.84Schristos_ACEOF 45591.84Schristos 45601.84Schristos 45611.4Stvfi 45621.84Schristosac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "#include <sys/stat.h> 45631.84Schristos" 45641.84Schristosif test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then : 45651.61Schristos 45661.84Schristoscat >>confdefs.h <<_ACEOF 45671.84Schristos#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1 45681.84Schristos_ACEOF 45691.74Schristos 45701.74Schristos 45711.76Spookafi 45721.84Schristosac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimensec" "ac_cv_member_struct_stat_st_birthtimensec" "#include <sys/stat.h> 45731.84Schristos" 45741.84Schristosif test "x$ac_cv_member_struct_stat_st_birthtimensec" = xyes; then : 45751.84Schristos 45761.84Schristoscat >>confdefs.h <<_ACEOF 45771.84Schristos#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1 45781.84Schristos_ACEOF 45791.84Schristos 45801.4Stv 45811.84Schristosfi 45821.84Schristosac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "#include <sys/stat.h> 45831.84Schristos" 45841.84Schristosif test "x$ac_cv_member_struct_stat_st_atim" = xyes; then : 45851.63Sapb 45861.84Schristoscat >>confdefs.h <<_ACEOF 45871.84Schristos#define HAVE_STRUCT_STAT_ST_ATIM 1 45881.76Spooka_ACEOF 45891.84Schristos 45901.84Schristos 45911.19Sbjh21fi 45921.84Schristosac_fn_c_check_member "$LINENO" "struct stat" "st_mtimensec" "ac_cv_member_struct_stat_st_mtimensec" "#include <sys/stat.h> 45931.84Schristos" 45941.84Schristosif test "x$ac_cv_member_struct_stat_st_mtimensec" = xyes; then : 45951.84Schristos 45961.84Schristoscat >>confdefs.h <<_ACEOF 45971.84Schristos#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1 45981.84Schristos_ACEOF 45991.84Schristos 46001.84Schristos 46011.19Sbjh21fi 46021.63Sapb 46031.84Schristosac_fn_c_check_member "$LINENO" "struct statvfs" "f_iosize" "ac_cv_member_struct_statvfs_f_iosize" "#include <sys/statvfs.h> 46041.84Schristos" 46051.84Schristosif test "x$ac_cv_member_struct_statvfs_f_iosize" = xyes; then : 46061.84Schristos 46071.84Schristoscat >>confdefs.h <<_ACEOF 46081.84Schristos#define HAVE_STRUCT_STATVFS_F_IOSIZE 1 46091.84Schristos_ACEOF 46101.19Sbjh21 46111.19Sbjh21 46121.76Spookafi 46131.63Sapb 46141.84Schristosac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 46151.84Schristos" 46161.84Schristosif test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then : 46171.19Sbjh21 46181.84Schristoscat >>confdefs.h <<_ACEOF 46191.84Schristos#define HAVE_STRUCT_TM_TM_GMTOFF 1 46201.76Spooka_ACEOF 46211.84Schristos 46221.84Schristos 46231.19Sbjh21fi 46241.76Spooka 46251.74Schristos 46261.84Schristos# Global variable decls. 46271.86Schristosac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" " 46281.86Schristos#include <stdio.h> 46291.86Schristos 46301.86Schristos" 46311.86Schristosif test "x$ac_cv_have_decl_asprintf" = xyes; then : 46321.86Schristos ac_have_decl=1 46331.86Schristoselse 46341.86Schristos ac_have_decl=0 46351.86Schristosfi 46361.86Schristos 46371.86Schristoscat >>confdefs.h <<_ACEOF 46381.86Schristos#define HAVE_DECL_ASPRINTF $ac_have_decl 46391.86Schristos_ACEOF 46401.88Ssevanac_fn_c_check_decl "$LINENO" "asnprintf" "ac_cv_have_decl_asnprintf" " 46411.88Ssevan#include <stdio.h> 46421.88Ssevan 46431.88Ssevan" 46441.88Ssevanif test "x$ac_cv_have_decl_asnprintf" = xyes; then : 46451.88Ssevan ac_have_decl=1 46461.88Ssevanelse 46471.88Ssevan ac_have_decl=0 46481.88Ssevanfi 46491.88Ssevan 46501.88Ssevancat >>confdefs.h <<_ACEOF 46511.88Ssevan#define HAVE_DECL_ASNPRINTF $ac_have_decl 46521.88Ssevan_ACEOF 46531.86Schristosac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" " 46541.86Schristos#include <stdio.h> 46551.86Schristos 46561.86Schristos" 46571.86Schristosif test "x$ac_cv_have_decl_vasprintf" = xyes; then : 46581.86Schristos ac_have_decl=1 46591.86Schristoselse 46601.86Schristos ac_have_decl=0 46611.86Schristosfi 46621.86Schristos 46631.86Schristoscat >>confdefs.h <<_ACEOF 46641.86Schristos#define HAVE_DECL_VASPRINTF $ac_have_decl 46651.86Schristos_ACEOF 46661.86Schristosac_fn_c_check_decl "$LINENO" "vasnprintf" "ac_cv_have_decl_vasnprintf" " 46671.86Schristos#include <stdio.h> 46681.86Schristos 46691.86Schristos" 46701.86Schristosif test "x$ac_cv_have_decl_vasnprintf" = xyes; then : 46711.86Schristos ac_have_decl=1 46721.86Schristoselse 46731.86Schristos ac_have_decl=0 46741.86Schristosfi 46751.86Schristos 46761.86Schristoscat >>confdefs.h <<_ACEOF 46771.86Schristos#define HAVE_DECL_VASNPRINTF $ac_have_decl 46781.86Schristos_ACEOF 46791.86Schristosac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" " 46801.86Schristos#include <stdio.h> 46811.86Schristos 46821.86Schristos" 46831.86Schristosif test "x$ac_cv_have_decl_vsnprintf" = xyes; then : 46841.86Schristos ac_have_decl=1 46851.86Schristoselse 46861.86Schristos ac_have_decl=0 46871.86Schristosfi 46881.86Schristos 46891.86Schristoscat >>confdefs.h <<_ACEOF 46901.86Schristos#define HAVE_DECL_VSNPRINTF $ac_have_decl 46911.86Schristos_ACEOF 46921.86Schristosac_fn_c_check_decl "$LINENO" "fgetln" "ac_cv_have_decl_fgetln" " 46931.86Schristos#include <stdio.h> 46941.86Schristos 46951.86Schristos" 46961.86Schristosif test "x$ac_cv_have_decl_fgetln" = xyes; then : 46971.86Schristos ac_have_decl=1 46981.86Schristoselse 46991.86Schristos ac_have_decl=0 47001.86Schristosfi 47011.86Schristos 47021.86Schristoscat >>confdefs.h <<_ACEOF 47031.86Schristos#define HAVE_DECL_FGETLN $ac_have_decl 47041.86Schristos_ACEOF 47051.87Schristosac_fn_c_check_decl "$LINENO" "fparseln" "ac_cv_have_decl_fparseln" " 47061.86Schristos#include <stdio.h> 47071.86Schristos 47081.86Schristos" 47091.87Schristosif test "x$ac_cv_have_decl_fparseln" = xyes; then : 47101.86Schristos ac_have_decl=1 47111.86Schristoselse 47121.86Schristos ac_have_decl=0 47131.86Schristosfi 47141.86Schristos 47151.86Schristoscat >>confdefs.h <<_ACEOF 47161.87Schristos#define HAVE_DECL_FPARSELN $ac_have_decl 47171.87Schristos_ACEOF 47181.87Schristosac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" " 47191.87Schristos#include <stdio.h> 47201.87Schristos 47211.87Schristos" 47221.87Schristosif test "x$ac_cv_have_decl_fpurge" = xyes; then : 47231.87Schristos ac_have_decl=1 47241.87Schristoselse 47251.87Schristos ac_have_decl=0 47261.87Schristosfi 47271.87Schristos 47281.87Schristoscat >>confdefs.h <<_ACEOF 47291.87Schristos#define HAVE_DECL_FPURGE $ac_have_decl 47301.87Schristos_ACEOF 47311.87Schristosac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" " 47321.87Schristos#include <stdio.h> 47331.87Schristos 47341.87Schristos" 47351.87Schristosif test "x$ac_cv_have_decl_getdelim" = xyes; then : 47361.87Schristos ac_have_decl=1 47371.87Schristoselse 47381.87Schristos ac_have_decl=0 47391.87Schristosfi 47401.87Schristos 47411.87Schristoscat >>confdefs.h <<_ACEOF 47421.87Schristos#define HAVE_DECL_GETDELIM $ac_have_decl 47431.86Schristos_ACEOF 47441.86Schristosac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" " 47451.86Schristos#include <stdio.h> 47461.86Schristos 47471.86Schristos" 47481.86Schristosif test "x$ac_cv_have_decl_getline" = xyes; then : 47491.86Schristos ac_have_decl=1 47501.86Schristoselse 47511.86Schristos ac_have_decl=0 47521.86Schristosfi 47531.86Schristos 47541.86Schristoscat >>confdefs.h <<_ACEOF 47551.86Schristos#define HAVE_DECL_GETLINE $ac_have_decl 47561.86Schristos_ACEOF 47571.86Schristosac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" " 47581.86Schristos#include <stdio.h> 47591.86Schristos 47601.86Schristos" 47611.86Schristosif test "x$ac_cv_have_decl_snprintf" = xyes; then : 47621.86Schristos ac_have_decl=1 47631.86Schristoselse 47641.86Schristos ac_have_decl=0 47651.86Schristosfi 47661.86Schristos 47671.86Schristoscat >>confdefs.h <<_ACEOF 47681.86Schristos#define HAVE_DECL_SNPRINTF $ac_have_decl 47691.86Schristos_ACEOF 47701.86Schristos 47711.86Schristos 47721.86Schristosac_fn_c_check_decl "$LINENO" "atoll" "ac_cv_have_decl_atoll" " 47731.86Schristos#include <stdlib.h> 47741.86Schristos 47751.86Schristos" 47761.86Schristosif test "x$ac_cv_have_decl_atoll" = xyes; then : 47771.86Schristos ac_have_decl=1 47781.86Schristoselse 47791.86Schristos ac_have_decl=0 47801.86Schristosfi 47811.86Schristos 47821.86Schristoscat >>confdefs.h <<_ACEOF 47831.86Schristos#define HAVE_DECL_ATOLL $ac_have_decl 47841.86Schristos_ACEOF 47851.86Schristosac_fn_c_check_decl "$LINENO" "heapsort" "ac_cv_have_decl_heapsort" " 47861.86Schristos#include <stdlib.h> 47871.86Schristos 47881.86Schristos" 47891.86Schristosif test "x$ac_cv_have_decl_heapsort" = xyes; then : 47901.86Schristos ac_have_decl=1 47911.86Schristoselse 47921.86Schristos ac_have_decl=0 47931.86Schristosfi 47941.86Schristos 47951.86Schristoscat >>confdefs.h <<_ACEOF 47961.86Schristos#define HAVE_DECL_HEAPSORT $ac_have_decl 47971.86Schristos_ACEOF 47981.86Schristosac_fn_c_check_decl "$LINENO" "mkdtemp" "ac_cv_have_decl_mkdtemp" " 47991.86Schristos#include <stdlib.h> 48001.86Schristos 48011.86Schristos" 48021.86Schristosif test "x$ac_cv_have_decl_mkdtemp" = xyes; then : 48031.86Schristos ac_have_decl=1 48041.86Schristoselse 48051.86Schristos ac_have_decl=0 48061.86Schristosfi 48071.86Schristos 48081.86Schristoscat >>confdefs.h <<_ACEOF 48091.86Schristos#define HAVE_DECL_MKDTEMP $ac_have_decl 48101.86Schristos_ACEOF 48111.86Schristosac_fn_c_check_decl "$LINENO" "mkstemp" "ac_cv_have_decl_mkstemp" " 48121.86Schristos#include <stdlib.h> 48131.86Schristos 48141.86Schristos" 48151.86Schristosif test "x$ac_cv_have_decl_mkstemp" = xyes; then : 48161.86Schristos ac_have_decl=1 48171.86Schristoselse 48181.86Schristos ac_have_decl=0 48191.86Schristosfi 48201.86Schristos 48211.86Schristoscat >>confdefs.h <<_ACEOF 48221.86Schristos#define HAVE_DECL_MKSTEMP $ac_have_decl 48231.86Schristos_ACEOF 48241.86Schristosac_fn_c_check_decl "$LINENO" "reallocarr" "ac_cv_have_decl_reallocarr" " 48251.86Schristos#include <stdlib.h> 48261.86Schristos 48271.86Schristos" 48281.86Schristosif test "x$ac_cv_have_decl_reallocarr" = xyes; then : 48291.86Schristos ac_have_decl=1 48301.86Schristoselse 48311.86Schristos ac_have_decl=0 48321.86Schristosfi 48331.86Schristos 48341.86Schristoscat >>confdefs.h <<_ACEOF 48351.86Schristos#define HAVE_DECL_REALLOCARR $ac_have_decl 48361.86Schristos_ACEOF 48371.99Schristosac_fn_c_check_decl "$LINENO" "reallocarray" "ac_cv_have_decl_reallocarray" " 48381.99Schristos#include <stdlib.h> 48391.99Schristos 48401.99Schristos" 48411.99Schristosif test "x$ac_cv_have_decl_reallocarray" = xyes; then : 48421.99Schristos ac_have_decl=1 48431.99Schristoselse 48441.99Schristos ac_have_decl=0 48451.99Schristosfi 48461.99Schristos 48471.99Schristoscat >>confdefs.h <<_ACEOF 48481.99Schristos#define HAVE_DECL_REALLOCARRAY $ac_have_decl 48491.99Schristos_ACEOF 48501.93Schristosac_fn_c_check_decl "$LINENO" "getsubopt" "ac_cv_have_decl_getsubopt" " 48511.93Schristos#include <stdlib.h> 48521.93Schristos 48531.93Schristos" 48541.93Schristosif test "x$ac_cv_have_decl_getsubopt" = xyes; then : 48551.93Schristos ac_have_decl=1 48561.93Schristoselse 48571.93Schristos ac_have_decl=0 48581.93Schristosfi 48591.93Schristos 48601.93Schristoscat >>confdefs.h <<_ACEOF 48611.93Schristos#define HAVE_DECL_GETSUBOPT $ac_have_decl 48621.93Schristos_ACEOF 48631.86Schristosac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" " 48641.86Schristos#include <stdlib.h> 48651.86Schristos 48661.86Schristos" 48671.86Schristosif test "x$ac_cv_have_decl_setenv" = xyes; then : 48681.86Schristos ac_have_decl=1 48691.86Schristoselse 48701.86Schristos ac_have_decl=0 48711.86Schristosfi 48721.86Schristos 48731.86Schristoscat >>confdefs.h <<_ACEOF 48741.86Schristos#define HAVE_DECL_SETENV $ac_have_decl 48751.86Schristos_ACEOF 48761.86Schristosac_fn_c_check_decl "$LINENO" "strtoi" "ac_cv_have_decl_strtoi" " 48771.86Schristos#include <stdlib.h> 48781.86Schristos 48791.86Schristos" 48801.86Schristosif test "x$ac_cv_have_decl_strtoi" = xyes; then : 48811.86Schristos ac_have_decl=1 48821.86Schristoselse 48831.86Schristos ac_have_decl=0 48841.86Schristosfi 48851.86Schristos 48861.86Schristoscat >>confdefs.h <<_ACEOF 48871.86Schristos#define HAVE_DECL_STRTOI $ac_have_decl 48881.86Schristos_ACEOF 48891.86Schristosac_fn_c_check_decl "$LINENO" "strtoll" "ac_cv_have_decl_strtoll" " 48901.86Schristos#include <stdlib.h> 48911.86Schristos 48921.86Schristos" 48931.86Schristosif test "x$ac_cv_have_decl_strtoll" = xyes; then : 48941.86Schristos ac_have_decl=1 48951.86Schristoselse 48961.86Schristos ac_have_decl=0 48971.86Schristosfi 48981.86Schristos 48991.86Schristoscat >>confdefs.h <<_ACEOF 49001.86Schristos#define HAVE_DECL_STRTOLL $ac_have_decl 49011.86Schristos_ACEOF 49021.86Schristosac_fn_c_check_decl "$LINENO" "strtou" "ac_cv_have_decl_strtou" " 49031.86Schristos#include <stdlib.h> 49041.86Schristos 49051.86Schristos" 49061.86Schristosif test "x$ac_cv_have_decl_strtou" = xyes; then : 49071.86Schristos ac_have_decl=1 49081.86Schristoselse 49091.86Schristos ac_have_decl=0 49101.86Schristosfi 49111.86Schristos 49121.86Schristoscat >>confdefs.h <<_ACEOF 49131.86Schristos#define HAVE_DECL_STRTOU $ac_have_decl 49141.86Schristos_ACEOF 49151.86Schristosac_fn_c_check_decl "$LINENO" "setprogname" "ac_cv_have_decl_setprogname" " 49161.86Schristos#include <stdlib.h> 49171.86Schristos 49181.86Schristos" 49191.86Schristosif test "x$ac_cv_have_decl_setprogname" = xyes; then : 49201.86Schristos ac_have_decl=1 49211.86Schristoselse 49221.86Schristos ac_have_decl=0 49231.86Schristosfi 49241.86Schristos 49251.86Schristoscat >>confdefs.h <<_ACEOF 49261.86Schristos#define HAVE_DECL_SETPROGNAME $ac_have_decl 49271.86Schristos_ACEOF 49281.86Schristosac_fn_c_check_decl "$LINENO" "getprogname" "ac_cv_have_decl_getprogname" " 49291.86Schristos#include <stdlib.h> 49301.86Schristos 49311.86Schristos" 49321.86Schristosif test "x$ac_cv_have_decl_getprogname" = xyes; then : 49331.86Schristos ac_have_decl=1 49341.86Schristoselse 49351.86Schristos ac_have_decl=0 49361.86Schristosfi 49371.86Schristos 49381.86Schristoscat >>confdefs.h <<_ACEOF 49391.86Schristos#define HAVE_DECL_GETPROGNAME $ac_have_decl 49401.86Schristos_ACEOF 49411.86Schristos 49421.86Schristos 49431.86Schristosac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" " 49441.86Schristos#include <libgen.h> 49451.86Schristos 49461.86Schristos" 49471.86Schristosif test "x$ac_cv_have_decl_basename" = xyes; then : 49481.86Schristos ac_have_decl=1 49491.86Schristoselse 49501.86Schristos ac_have_decl=0 49511.86Schristosfi 49521.86Schristos 49531.86Schristoscat >>confdefs.h <<_ACEOF 49541.86Schristos#define HAVE_DECL_BASENAME $ac_have_decl 49551.86Schristos_ACEOF 49561.86Schristosac_fn_c_check_decl "$LINENO" "dirname" "ac_cv_have_decl_dirname" " 49571.86Schristos#include <libgen.h> 49581.86Schristos 49591.86Schristos" 49601.86Schristosif test "x$ac_cv_have_decl_dirname" = xyes; then : 49611.86Schristos ac_have_decl=1 49621.86Schristoselse 49631.86Schristos ac_have_decl=0 49641.86Schristosfi 49651.86Schristos 49661.86Schristoscat >>confdefs.h <<_ACEOF 49671.86Schristos#define HAVE_DECL_DIRNAME $ac_have_decl 49681.86Schristos_ACEOF 49691.86Schristos 49701.86Schristos 49711.86Schristosac_fn_c_check_decl "$LINENO" "raise_default_signal" "ac_cv_have_decl_raise_default_signal" " 49721.86Schristos#include <util.h> 49731.86Schristos 49741.86Schristos" 49751.86Schristosif test "x$ac_cv_have_decl_raise_default_signal" = xyes; then : 49761.86Schristos ac_have_decl=1 49771.86Schristoselse 49781.86Schristos ac_have_decl=0 49791.86Schristosfi 49801.86Schristos 49811.86Schristoscat >>confdefs.h <<_ACEOF 49821.86Schristos#define HAVE_DECL_RAISE_DEFAULT_SIGNAL $ac_have_decl 49831.86Schristos_ACEOF 49841.86Schristos 49851.86Schristos 49861.86Schristosac_fn_c_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" " 49871.86Schristos#include <unistd.h> 49881.86Schristos 49891.86Schristos" 49901.86Schristosif test "x$ac_cv_have_decl_issetugid" = xyes; then : 49911.86Schristos ac_have_decl=1 49921.86Schristoselse 49931.86Schristos ac_have_decl=0 49941.86Schristosfi 49951.86Schristos 49961.86Schristoscat >>confdefs.h <<_ACEOF 49971.86Schristos#define HAVE_DECL_ISSETUGID $ac_have_decl 49981.86Schristos_ACEOF 49991.86Schristosac_fn_c_check_decl "$LINENO" "pread" "ac_cv_have_decl_pread" " 50001.86Schristos#include <unistd.h> 50011.86Schristos 50021.86Schristos" 50031.86Schristosif test "x$ac_cv_have_decl_pread" = xyes; then : 50041.86Schristos ac_have_decl=1 50051.86Schristoselse 50061.86Schristos ac_have_decl=0 50071.86Schristosfi 50081.86Schristos 50091.86Schristoscat >>confdefs.h <<_ACEOF 50101.86Schristos#define HAVE_DECL_PREAD $ac_have_decl 50111.86Schristos_ACEOF 50121.86Schristosac_fn_c_check_decl "$LINENO" "pwrite" "ac_cv_have_decl_pwrite" " 50131.86Schristos#include <unistd.h> 50141.86Schristos 50151.86Schristos" 50161.86Schristosif test "x$ac_cv_have_decl_pwrite" = xyes; then : 50171.86Schristos ac_have_decl=1 50181.86Schristoselse 50191.86Schristos ac_have_decl=0 50201.86Schristosfi 50211.86Schristos 50221.86Schristoscat >>confdefs.h <<_ACEOF 50231.86Schristos#define HAVE_DECL_PWRITE $ac_have_decl 50241.86Schristos_ACEOF 50251.86Schristos 50261.86Schristos 50271.86Schristosac_fn_c_check_decl "$LINENO" "strmode" "ac_cv_have_decl_strmode" " 50281.86Schristos#include <unistd.h> 50291.86Schristos#include <string.h> 50301.86Schristos 50311.86Schristos" 50321.86Schristosif test "x$ac_cv_have_decl_strmode" = xyes; then : 50331.86Schristos ac_have_decl=1 50341.86Schristoselse 50351.86Schristos ac_have_decl=0 50361.86Schristosfi 50371.86Schristos 50381.86Schristoscat >>confdefs.h <<_ACEOF 50391.86Schristos#define HAVE_DECL_STRMODE $ac_have_decl 50401.86Schristos_ACEOF 50411.86Schristos 50421.86Schristos 50431.86Schristosac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" " 50441.86Schristos#include <ctype.h> 50451.86Schristos 50461.86Schristos" 50471.86Schristosif test "x$ac_cv_have_decl_isblank" = xyes; then : 50481.86Schristos ac_have_decl=1 50491.86Schristoselse 50501.86Schristos ac_have_decl=0 50511.86Schristosfi 50521.86Schristos 50531.86Schristoscat >>confdefs.h <<_ACEOF 50541.86Schristos#define HAVE_DECL_ISBLANK $ac_have_decl 50551.86Schristos_ACEOF 50561.86Schristos 50571.86Schristos 50581.86Schristos 50591.84Schristosac_fn_c_check_decl "$LINENO" "optind" "ac_cv_have_decl_optind" " 50601.84Schristos#include <stdio.h> 50611.84Schristos#include <stdlib.h> 50621.84Schristos#include <unistd.h> 50631.84Schristos#ifdef HAVE_GETOPT_H 50641.84Schristos#include <getopt.h> 50651.84Schristos#endif 50661.84Schristos 50671.84Schristos" 50681.84Schristosif test "x$ac_cv_have_decl_optind" = xyes; then : 50691.84Schristos ac_have_decl=1 50701.76Spookaelse 50711.84Schristos ac_have_decl=0 50721.19Sbjh21fi 50731.19Sbjh21 50741.84Schristoscat >>confdefs.h <<_ACEOF 50751.84Schristos#define HAVE_DECL_OPTIND $ac_have_decl 50761.84Schristos_ACEOF 50771.84Schristosac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" " 50781.84Schristos#include <stdio.h> 50791.84Schristos#include <stdlib.h> 50801.84Schristos#include <unistd.h> 50811.84Schristos#ifdef HAVE_GETOPT_H 50821.84Schristos#include <getopt.h> 50831.76Spooka#endif 50841.19Sbjh21 50851.84Schristos" 50861.84Schristosif test "x$ac_cv_have_decl_optreset" = xyes; then : 50871.84Schristos ac_have_decl=1 50881.84Schristoselse 50891.84Schristos ac_have_decl=0 50901.84Schristosfi 50911.84Schristos 50921.84Schristoscat >>confdefs.h <<_ACEOF 50931.84Schristos#define HAVE_DECL_OPTRESET $ac_have_decl 50941.74Schristos_ACEOF 50951.84Schristos 50961.84Schristosac_fn_c_check_decl "$LINENO" "sys_signame" "ac_cv_have_decl_sys_signame" "#include <signal.h> 50971.84Schristos" 50981.84Schristosif test "x$ac_cv_have_decl_sys_signame" = xyes; then : 50991.84Schristos ac_have_decl=1 51001.76Spookaelse 51011.84Schristos ac_have_decl=0 51021.63Sapbfi 51031.39Sfredb 51041.84Schristoscat >>confdefs.h <<_ACEOF 51051.84Schristos#define HAVE_DECL_SYS_SIGNAME $ac_have_decl 51061.84Schristos_ACEOF 51071.63Sapb 51081.61Schristos 51091.84Schristos# Library functions (where a .h check isn't enough). 51101.84Schristos# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 51111.84Schristos# for constant arguments. Useless! 51121.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 51131.84Schristos$as_echo_n "checking for working alloca.h... " >&6; } 51141.84Schristosif ${ac_cv_working_alloca_h+:} false; then : 51151.84Schristos $as_echo_n "(cached) " >&6 51161.76Spookaelse 51171.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51181.84Schristos/* end confdefs.h. */ 51191.84Schristos#include <alloca.h> 51201.76Spookaint 51211.76Spookamain () 51221.76Spooka{ 51231.84Schristoschar *p = (char *) alloca (2 * sizeof (int)); 51241.84Schristos if (p) return 0; 51251.76Spooka ; 51261.76Spooka return 0; 51271.76Spooka} 51281.19Sbjh21_ACEOF 51291.84Schristosif ac_fn_c_try_link "$LINENO"; then : 51301.84Schristos ac_cv_working_alloca_h=yes 51311.76Spookaelse 51321.84Schristos ac_cv_working_alloca_h=no 51331.76Spookafi 51341.84Schristosrm -f core conftest.err conftest.$ac_objext \ 51351.84Schristos conftest$ac_exeext conftest.$ac_ext 51361.19Sbjh21fi 51371.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 51381.84Schristos$as_echo "$ac_cv_working_alloca_h" >&6; } 51391.84Schristosif test $ac_cv_working_alloca_h = yes; then 51401.63Sapb 51411.84Schristos$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 51421.63Sapb 51431.84Schristosfi 51441.19Sbjh21 51451.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 51461.84Schristos$as_echo_n "checking for alloca... " >&6; } 51471.84Schristosif ${ac_cv_func_alloca_works+:} false; then : 51481.84Schristos $as_echo_n "(cached) " >&6 51491.76Spookaelse 51501.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51511.84Schristos/* end confdefs.h. */ 51521.84Schristos#ifdef __GNUC__ 51531.84Schristos# define alloca __builtin_alloca 51541.84Schristos#else 51551.84Schristos# ifdef _MSC_VER 51561.84Schristos# include <malloc.h> 51571.84Schristos# define alloca _alloca 51581.97Shannken# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) 51591.97Shannken# include <stdlib.h> 51601.84Schristos# else 51611.84Schristos# ifdef HAVE_ALLOCA_H 51621.84Schristos# include <alloca.h> 51631.84Schristos# else 51641.84Schristos# ifdef _AIX 51651.84Schristos #pragma alloca 51661.84Schristos# else 51671.84Schristos# ifndef alloca /* predefined by HP cc +Olibcalls */ 51681.84Schristosvoid *alloca (size_t); 51691.84Schristos# endif 51701.84Schristos# endif 51711.84Schristos# endif 51721.84Schristos# endif 51731.84Schristos#endif 51741.76Spooka 51751.76Spookaint 51761.76Spookamain () 51771.76Spooka{ 51781.84Schristoschar *p = (char *) alloca (1); 51791.84Schristos if (p) return 0; 51801.76Spooka ; 51811.76Spooka return 0; 51821.76Spooka} 51831.74Schristos_ACEOF 51841.84Schristosif ac_fn_c_try_link "$LINENO"; then : 51851.84Schristos ac_cv_func_alloca_works=yes 51861.76Spookaelse 51871.84Schristos ac_cv_func_alloca_works=no 51881.76Spookafi 51891.84Schristosrm -f core conftest.err conftest.$ac_objext \ 51901.84Schristos conftest$ac_exeext conftest.$ac_ext 51911.19Sbjh21fi 51921.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 51931.84Schristos$as_echo "$ac_cv_func_alloca_works" >&6; } 51941.19Sbjh21 51951.84Schristosif test $ac_cv_func_alloca_works = yes; then 51961.84Schristos 51971.84Schristos$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 51981.19Sbjh21 51991.76Spookaelse 52001.84Schristos # The SVR3 libPW and SVR4 libucb both contain incompatible functions 52011.84Schristos# that cause trouble. Some versions do not even contain alloca or 52021.84Schristos# contain a buggy version. If you still want to use their alloca, 52031.84Schristos# use ar to extract alloca.o from them instead of compiling alloca.c. 52041.84Schristos 52051.84SchristosALLOCA=\${LIBOBJDIR}alloca.$ac_objext 52061.84Schristos 52071.84Schristos$as_echo "#define C_ALLOCA 1" >>confdefs.h 52081.19Sbjh21 52091.84Schristos 52101.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 52111.84Schristos$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 52121.84Schristosif ${ac_cv_os_cray+:} false; then : 52131.84Schristos $as_echo_n "(cached) " >&6 52141.76Spookaelse 52151.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 52161.84Schristos/* end confdefs.h. */ 52171.84Schristos#if defined CRAY && ! defined CRAY2 52181.84Schristoswebecray 52191.84Schristos#else 52201.84Schristoswenotbecray 52211.76Spooka#endif 52221.74Schristos 52231.74Schristos_ACEOF 52241.84Schristosif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 52251.84Schristos $EGREP "webecray" >/dev/null 2>&1; then : 52261.84Schristos ac_cv_os_cray=yes 52271.76Spookaelse 52281.84Schristos ac_cv_os_cray=no 52291.43Sdbjfi 52301.84Schristosrm -f conftest* 52311.84Schristos 52321.43Sdbjfi 52331.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 52341.84Schristos$as_echo "$ac_cv_os_cray" >&6; } 52351.84Schristosif test $ac_cv_os_cray = yes; then 52361.84Schristos for ac_func in _getb67 GETB67 getb67; do 52371.84Schristos as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 52381.84Schristosac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 52391.84Schristosif eval test \"x\$"$as_ac_var"\" = x"yes"; then : 52401.40Satatat 52411.84Schristoscat >>confdefs.h <<_ACEOF 52421.84Schristos#define CRAY_STACKSEG_END $ac_func 52431.84Schristos_ACEOF 52441.61Schristos 52451.84Schristos break 52461.84Schristosfi 52471.61Schristos 52481.84Schristos done 52491.74Schristosfi 52501.61Schristos 52511.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 52521.84Schristos$as_echo_n "checking stack direction for C alloca... " >&6; } 52531.84Schristosif ${ac_cv_c_stack_direction+:} false; then : 52541.84Schristos $as_echo_n "(cached) " >&6 52551.76Spookaelse 52561.84Schristos if test "$cross_compiling" = yes; then : 52571.84Schristos ac_cv_c_stack_direction=0 52581.84Schristoselse 52591.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 52601.84Schristos/* end confdefs.h. */ 52611.84Schristos$ac_includes_default 52621.84Schristosint 52631.84Schristosfind_stack_direction (int *addr, int depth) 52641.84Schristos{ 52651.84Schristos int dir, dummy = 0; 52661.84Schristos if (! addr) 52671.84Schristos addr = &dummy; 52681.84Schristos *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; 52691.84Schristos dir = depth ? find_stack_direction (addr, depth - 1) : 0; 52701.84Schristos return dir + dummy; 52711.84Schristos} 52721.61Schristos 52731.76Spookaint 52741.84Schristosmain (int argc, char **argv) 52751.76Spooka{ 52761.84Schristos return find_stack_direction (0, argc + !argv + 20) < 0; 52771.76Spooka} 52781.76Spooka_ACEOF 52791.84Schristosif ac_fn_c_try_run "$LINENO"; then : 52801.84Schristos ac_cv_c_stack_direction=1 52811.63Sapbelse 52821.84Schristos ac_cv_c_stack_direction=-1 52831.76Spookafi 52841.84Schristosrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 52851.84Schristos conftest.$ac_objext conftest.beam conftest.$ac_ext 52861.63Sapbfi 52871.61Schristos 52881.84Schristosfi 52891.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 52901.84Schristos$as_echo "$ac_cv_c_stack_direction" >&6; } 52911.84Schristoscat >>confdefs.h <<_ACEOF 52921.84Schristos#define STACK_DIRECTION $ac_cv_c_stack_direction 52931.84Schristos_ACEOF 52941.61Schristos 52951.76Spooka 52961.63Sapbfi 52971.76Spooka 52981.84Schristosfor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \ 52991.100Slukem dispatch_semaphore_create \ 53001.84Schristos dprintf esetfunc fgetln flock fpurge __fpurge futimes getline \ 53011.84Schristos getopt getopt_long group_from_gid gid_from_group \ 53021.84Schristos heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \ 53031.84Schristos mkdtemp poll pread putc_unlocked pwcache_userdb pwcache_groupdb \ 53041.99Schristos pwrite raise_default_signal random reallocarr reallocarray setenv \ 53051.84Schristos setgroupent setprogname setpassent \ 53061.84Schristos snprintb_m snprintf strlcat strlcpy strmode \ 53071.92Schristos strcasecmp strncasecmp strndup strnlen strsep strsuftoll strtoi \ 53081.92Schristos strtoll strtou \ 53091.84Schristos user_from_uid uid_from_user vasprintf vasnprintf vsnprintf 53101.84Schristosdo : 53111.84Schristos as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 53121.84Schristosac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 53131.84Schristosif eval test \"x\$"$as_ac_var"\" = x"yes"; then : 53141.84Schristos cat >>confdefs.h <<_ACEOF 53151.84Schristos#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 53161.84Schristos_ACEOF 53171.61Schristos 53181.76Spookafi 53191.84Schristosdone 53201.84Schristos 53211.45Sjmc 53221.84Schristosac_fn_c_check_decl "$LINENO" "user_from_uid" "ac_cv_have_decl_user_from_uid" " 53231.84Schristos#include <pwd.h> 53241.45Sjmc 53251.84Schristos" 53261.84Schristosif test "x$ac_cv_have_decl_user_from_uid" = xyes; then : 53271.84Schristos ac_have_decl=1 53281.76Spookaelse 53291.84Schristos ac_have_decl=0 53301.76Spookafi 53311.76Spooka 53321.84Schristoscat >>confdefs.h <<_ACEOF 53331.84Schristos#define HAVE_DECL_USER_FROM_UID $ac_have_decl 53341.84Schristos_ACEOF 53351.84Schristosac_fn_c_check_decl "$LINENO" "uid_from_user" "ac_cv_have_decl_uid_from_user" " 53361.84Schristos#include <pwd.h> 53371.76Spooka 53381.84Schristos" 53391.84Schristosif test "x$ac_cv_have_decl_uid_from_user" = xyes; then : 53401.84Schristos ac_have_decl=1 53411.55Swizelse 53421.84Schristos ac_have_decl=0 53431.55Swizfi 53441.76Spooka 53451.84Schristoscat >>confdefs.h <<_ACEOF 53461.84Schristos#define HAVE_DECL_UID_FROM_USER $ac_have_decl 53471.84Schristos_ACEOF 53481.84Schristosac_fn_c_check_decl "$LINENO" "pwcache_userdb" "ac_cv_have_decl_pwcache_userdb" " 53491.84Schristos#include <pwd.h> 53501.55Swiz 53511.84Schristos" 53521.84Schristosif test "x$ac_cv_have_decl_pwcache_userdb" = xyes; then : 53531.84Schristos ac_have_decl=1 53541.76Spookaelse 53551.84Schristos ac_have_decl=0 53561.55Swizfi 53571.55Swiz 53581.84Schristoscat >>confdefs.h <<_ACEOF 53591.84Schristos#define HAVE_DECL_PWCACHE_USERDB $ac_have_decl 53601.84Schristos_ACEOF 53611.53Sdogcow 53621.84Schristosac_fn_c_check_decl "$LINENO" "group_from_gid" "ac_cv_have_decl_group_from_gid" " 53631.84Schristos#include <grp.h> 53641.76Spooka 53651.84Schristos" 53661.84Schristosif test "x$ac_cv_have_decl_group_from_gid" = xyes; then : 53671.84Schristos ac_have_decl=1 53681.48Sjmcelse 53691.84Schristos ac_have_decl=0 53701.48Sjmcfi 53711.61Schristos 53721.84Schristoscat >>confdefs.h <<_ACEOF 53731.84Schristos#define HAVE_DECL_GROUP_FROM_GID $ac_have_decl 53741.84Schristos_ACEOF 53751.84Schristosac_fn_c_check_decl "$LINENO" "gid_from_group" "ac_cv_have_decl_gid_from_group" " 53761.84Schristos#include <grp.h> 53771.53Sdogcow 53781.84Schristos" 53791.84Schristosif test "x$ac_cv_have_decl_gid_from_group" = xyes; then : 53801.84Schristos ac_have_decl=1 53811.76Spookaelse 53821.84Schristos ac_have_decl=0 53831.76Spookafi 53841.53Sdogcow 53851.84Schristoscat >>confdefs.h <<_ACEOF 53861.84Schristos#define HAVE_DECL_GID_FROM_GROUP $ac_have_decl 53871.84Schristos_ACEOF 53881.84Schristosac_fn_c_check_decl "$LINENO" "pwcache_groupdb" "ac_cv_have_decl_pwcache_groupdb" " 53891.84Schristos#include <grp.h> 53901.53Sdogcow 53911.84Schristos" 53921.84Schristosif test "x$ac_cv_have_decl_pwcache_groupdb" = xyes; then : 53931.84Schristos ac_have_decl=1 53941.53Sdogcowelse 53951.84Schristos ac_have_decl=0 53961.53Sdogcowfi 53971.61Schristos 53981.84Schristoscat >>confdefs.h <<_ACEOF 53991.84Schristos#define HAVE_DECL_PWCACHE_GROUPDB $ac_have_decl 54001.84Schristos_ACEOF 54011.53Sdogcow 54021.91Schristosac_fn_c_check_decl "$LINENO" "strcasecmp" "ac_cv_have_decl_strcasecmp" " 54031.91Schristos#include <string.h> 54041.91Schristos 54051.91Schristos" 54061.91Schristosif test "x$ac_cv_have_decl_strcasecmp" = xyes; then : 54071.91Schristos ac_have_decl=1 54081.91Schristoselse 54091.91Schristos ac_have_decl=0 54101.91Schristosfi 54111.91Schristos 54121.91Schristoscat >>confdefs.h <<_ACEOF 54131.91Schristos#define HAVE_DECL_STRCASECMP $ac_have_decl 54141.91Schristos_ACEOF 54151.92Schristosac_fn_c_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" " 54161.92Schristos#include <string.h> 54171.92Schristos 54181.92Schristos" 54191.92Schristosif test "x$ac_cv_have_decl_strncasecmp" = xyes; then : 54201.92Schristos ac_have_decl=1 54211.92Schristoselse 54221.92Schristos ac_have_decl=0 54231.92Schristosfi 54241.92Schristos 54251.92Schristoscat >>confdefs.h <<_ACEOF 54261.92Schristos#define HAVE_DECL_STRNCASECMP $ac_have_decl 54271.92Schristos_ACEOF 54281.85Schristosac_fn_c_check_decl "$LINENO" "strlcpy" "ac_cv_have_decl_strlcpy" " 54291.85Schristos#include <string.h> 54301.85Schristos 54311.85Schristos" 54321.85Schristosif test "x$ac_cv_have_decl_strlcpy" = xyes; then : 54331.85Schristos ac_have_decl=1 54341.85Schristoselse 54351.85Schristos ac_have_decl=0 54361.85Schristosfi 54371.85Schristos 54381.85Schristoscat >>confdefs.h <<_ACEOF 54391.85Schristos#define HAVE_DECL_STRLCPY $ac_have_decl 54401.85Schristos_ACEOF 54411.85Schristosac_fn_c_check_decl "$LINENO" "strlcat" "ac_cv_have_decl_strlcat" " 54421.85Schristos#include <string.h> 54431.85Schristos 54441.85Schristos" 54451.85Schristosif test "x$ac_cv_have_decl_strlcat" = xyes; then : 54461.85Schristos ac_have_decl=1 54471.85Schristoselse 54481.85Schristos ac_have_decl=0 54491.85Schristosfi 54501.85Schristos 54511.85Schristoscat >>confdefs.h <<_ACEOF 54521.85Schristos#define HAVE_DECL_STRLCAT $ac_have_decl 54531.85Schristos_ACEOF 54541.85Schristosac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" " 54551.85Schristos#include <string.h> 54561.85Schristos 54571.84Schristos" 54581.84Schristosif test "x$ac_cv_have_decl_strndup" = xyes; then : 54591.84Schristos ac_have_decl=1 54601.76Spookaelse 54611.84Schristos ac_have_decl=0 54621.63Sapbfi 54631.53Sdogcow 54641.84Schristoscat >>confdefs.h <<_ACEOF 54651.84Schristos#define HAVE_DECL_STRNDUP $ac_have_decl 54661.53Sdogcow_ACEOF 54671.85Schristosac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" " 54681.85Schristos#include <string.h> 54691.85Schristos 54701.84Schristos" 54711.84Schristosif test "x$ac_cv_have_decl_strnlen" = xyes; then : 54721.84Schristos ac_have_decl=1 54731.53Sdogcowelse 54741.84Schristos ac_have_decl=0 54751.74Schristosfi 54761.53Sdogcow 54771.84Schristoscat >>confdefs.h <<_ACEOF 54781.84Schristos#define HAVE_DECL_STRNLEN $ac_have_decl 54791.84Schristos_ACEOF 54801.86Schristosac_fn_c_check_decl "$LINENO" "strsep" "ac_cv_have_decl_strsep" " 54811.86Schristos#include <string.h> 54821.86Schristos 54831.86Schristos" 54841.86Schristosif test "x$ac_cv_have_decl_strsep" = xyes; then : 54851.86Schristos ac_have_decl=1 54861.86Schristoselse 54871.86Schristos ac_have_decl=0 54881.86Schristosfi 54891.86Schristos 54901.86Schristoscat >>confdefs.h <<_ACEOF 54911.86Schristos#define HAVE_DECL_STRSEP $ac_have_decl 54921.86Schristos_ACEOF 54931.53Sdogcow 54941.84Schristosac_fn_c_check_decl "$LINENO" "strsuftoll" "ac_cv_have_decl_strsuftoll" "#include <stdlib.h> 54951.84Schristos" 54961.84Schristosif test "x$ac_cv_have_decl_strsuftoll" = xyes; then : 54971.84Schristos ac_have_decl=1 54981.76Spookaelse 54991.84Schristos ac_have_decl=0 55001.84Schristosfi 55011.53Sdogcow 55021.84Schristoscat >>confdefs.h <<_ACEOF 55031.84Schristos#define HAVE_DECL_STRSUFTOLL $ac_have_decl 55041.84Schristos_ACEOF 55051.85Schristosac_fn_c_check_decl "$LINENO" "mi_vector_hash" "ac_cv_have_decl_mi_vector_hash" "#include <stdlib.h> 55061.85Schristos" 55071.85Schristosif test "x$ac_cv_have_decl_mi_vector_hash" = xyes; then : 55081.85Schristos ac_have_decl=1 55091.85Schristoselse 55101.85Schristos ac_have_decl=0 55111.85Schristosfi 55121.85Schristos 55131.85Schristoscat >>confdefs.h <<_ACEOF 55141.85Schristos#define HAVE_DECL_MI_VECTOR_HASH $ac_have_decl 55151.85Schristos_ACEOF 55161.74Schristos 55171.84Schristosac_fn_c_check_decl "$LINENO" "lchflags" "ac_cv_have_decl_lchflags" " 55181.84Schristos#include <sys/stat.h> 55191.84Schristos#include <unistd.h> 55201.61Schristos 55211.84Schristos" 55221.84Schristosif test "x$ac_cv_have_decl_lchflags" = xyes; then : 55231.84Schristos ac_have_decl=1 55241.53Sdogcowelse 55251.84Schristos ac_have_decl=0 55261.76Spookafi 55271.53Sdogcow 55281.84Schristoscat >>confdefs.h <<_ACEOF 55291.84Schristos#define HAVE_DECL_LCHFLAGS $ac_have_decl 55301.84Schristos_ACEOF 55311.84Schristosac_fn_c_check_decl "$LINENO" "lchmod" "ac_cv_have_decl_lchmod" " 55321.84Schristos#include <sys/stat.h> 55331.84Schristos#include <unistd.h> 55341.53Sdogcow 55351.84Schristos" 55361.84Schristosif test "x$ac_cv_have_decl_lchmod" = xyes; then : 55371.84Schristos ac_have_decl=1 55381.53Sdogcowelse 55391.84Schristos ac_have_decl=0 55401.53Sdogcowfi 55411.76Spooka 55421.84Schristoscat >>confdefs.h <<_ACEOF 55431.84Schristos#define HAVE_DECL_LCHMOD $ac_have_decl 55441.84Schristos_ACEOF 55451.84Schristosac_fn_c_check_decl "$LINENO" "lchown" "ac_cv_have_decl_lchown" " 55461.84Schristos#include <sys/stat.h> 55471.84Schristos#include <unistd.h> 55481.61Schristos 55491.84Schristos" 55501.84Schristosif test "x$ac_cv_have_decl_lchown" = xyes; then : 55511.84Schristos ac_have_decl=1 55521.53Sdogcowelse 55531.84Schristos ac_have_decl=0 55541.76Spookafi 55551.53Sdogcow 55561.84Schristoscat >>confdefs.h <<_ACEOF 55571.84Schristos#define HAVE_DECL_LCHOWN $ac_have_decl 55581.84Schristos_ACEOF 55591.84Schristos 55601.84Schristos 55611.85Schristosac_fn_c_check_decl "$LINENO" "err" "ac_cv_have_decl_err" " 55621.85Schristos#ifdef HAVE_ERR_H 55631.85Schristos#include <err.h> 55641.85Schristos#endif 55651.85Schristos 55661.85Schristos" 55671.85Schristosif test "x$ac_cv_have_decl_err" = xyes; then : 55681.85Schristos ac_have_decl=1 55691.85Schristoselse 55701.85Schristos ac_have_decl=0 55711.85Schristosfi 55721.85Schristos 55731.85Schristoscat >>confdefs.h <<_ACEOF 55741.85Schristos#define HAVE_DECL_ERR $ac_have_decl 55751.85Schristos_ACEOF 55761.84Schristosac_fn_c_check_decl "$LINENO" "errc" "ac_cv_have_decl_errc" " 55771.84Schristos#ifdef HAVE_ERR_H 55781.84Schristos#include <err.h> 55791.84Schristos#endif 55801.61Schristos 55811.84Schristos" 55821.84Schristosif test "x$ac_cv_have_decl_errc" = xyes; then : 55831.84Schristos ac_have_decl=1 55841.76Spookaelse 55851.84Schristos ac_have_decl=0 55861.76Spookafi 55871.76Spooka 55881.84Schristoscat >>confdefs.h <<_ACEOF 55891.84Schristos#define HAVE_DECL_ERRC $ac_have_decl 55901.84Schristos_ACEOF 55911.85Schristosac_fn_c_check_decl "$LINENO" "errx" "ac_cv_have_decl_errx" " 55921.85Schristos#ifdef HAVE_ERR_H 55931.85Schristos#include <err.h> 55941.85Schristos#endif 55951.85Schristos 55961.85Schristos" 55971.85Schristosif test "x$ac_cv_have_decl_errx" = xyes; then : 55981.85Schristos ac_have_decl=1 55991.85Schristoselse 56001.85Schristos ac_have_decl=0 56011.85Schristosfi 56021.85Schristos 56031.85Schristoscat >>confdefs.h <<_ACEOF 56041.85Schristos#define HAVE_DECL_ERRX $ac_have_decl 56051.85Schristos_ACEOF 56061.84Schristosac_fn_c_check_decl "$LINENO" "verrc" "ac_cv_have_decl_verrc" " 56071.84Schristos#ifdef HAVE_ERR_H 56081.84Schristos#include <err.h> 56091.76Spooka#endif 56101.53Sdogcow 56111.84Schristos" 56121.84Schristosif test "x$ac_cv_have_decl_verrc" = xyes; then : 56131.84Schristos ac_have_decl=1 56141.53Sdogcowelse 56151.84Schristos ac_have_decl=0 56161.53Sdogcowfi 56171.61Schristos 56181.84Schristoscat >>confdefs.h <<_ACEOF 56191.84Schristos#define HAVE_DECL_VERRC $ac_have_decl 56201.84Schristos_ACEOF 56211.85Schristosac_fn_c_check_decl "$LINENO" "verrx" "ac_cv_have_decl_verrx" " 56221.85Schristos#ifdef HAVE_ERR_H 56231.85Schristos#include <err.h> 56241.85Schristos#endif 56251.85Schristos 56261.85Schristos" 56271.85Schristosif test "x$ac_cv_have_decl_verrx" = xyes; then : 56281.85Schristos ac_have_decl=1 56291.85Schristoselse 56301.85Schristos ac_have_decl=0 56311.85Schristosfi 56321.85Schristos 56331.85Schristoscat >>confdefs.h <<_ACEOF 56341.85Schristos#define HAVE_DECL_VERRX $ac_have_decl 56351.85Schristos_ACEOF 56361.85Schristosac_fn_c_check_decl "$LINENO" "warn" "ac_cv_have_decl_warn" " 56371.85Schristos#ifdef HAVE_ERR_H 56381.85Schristos#include <err.h> 56391.85Schristos#endif 56401.85Schristos 56411.85Schristos" 56421.85Schristosif test "x$ac_cv_have_decl_warn" = xyes; then : 56431.85Schristos ac_have_decl=1 56441.85Schristoselse 56451.85Schristos ac_have_decl=0 56461.85Schristosfi 56471.85Schristos 56481.85Schristoscat >>confdefs.h <<_ACEOF 56491.85Schristos#define HAVE_DECL_WARN $ac_have_decl 56501.85Schristos_ACEOF 56511.84Schristosac_fn_c_check_decl "$LINENO" "warnc" "ac_cv_have_decl_warnc" " 56521.84Schristos#ifdef HAVE_ERR_H 56531.84Schristos#include <err.h> 56541.84Schristos#endif 56551.53Sdogcow 56561.84Schristos" 56571.84Schristosif test "x$ac_cv_have_decl_warnc" = xyes; then : 56581.84Schristos ac_have_decl=1 56591.53Sdogcowelse 56601.84Schristos ac_have_decl=0 56611.53Sdogcowfi 56621.76Spooka 56631.84Schristoscat >>confdefs.h <<_ACEOF 56641.84Schristos#define HAVE_DECL_WARNC $ac_have_decl 56651.84Schristos_ACEOF 56661.85Schristosac_fn_c_check_decl "$LINENO" "warnx" "ac_cv_have_decl_warnx" " 56671.85Schristos#ifdef HAVE_ERR_H 56681.85Schristos#include <err.h> 56691.85Schristos#endif 56701.85Schristos 56711.85Schristos" 56721.85Schristosif test "x$ac_cv_have_decl_warnx" = xyes; then : 56731.85Schristos ac_have_decl=1 56741.85Schristoselse 56751.85Schristos ac_have_decl=0 56761.85Schristosfi 56771.85Schristos 56781.85Schristoscat >>confdefs.h <<_ACEOF 56791.85Schristos#define HAVE_DECL_WARNX $ac_have_decl 56801.85Schristos_ACEOF 56811.84Schristosac_fn_c_check_decl "$LINENO" "vwarnc" "ac_cv_have_decl_vwarnc" " 56821.84Schristos#ifdef HAVE_ERR_H 56831.84Schristos#include <err.h> 56841.76Spooka#endif 56851.53Sdogcow 56861.84Schristos" 56871.84Schristosif test "x$ac_cv_have_decl_vwarnc" = xyes; then : 56881.84Schristos ac_have_decl=1 56891.53Sdogcowelse 56901.84Schristos ac_have_decl=0 56911.76Spookafi 56921.61Schristos 56931.84Schristoscat >>confdefs.h <<_ACEOF 56941.84Schristos#define HAVE_DECL_VWARNC $ac_have_decl 56951.84Schristos_ACEOF 56961.85Schristosac_fn_c_check_decl "$LINENO" "vwarnx" "ac_cv_have_decl_vwarnx" " 56971.85Schristos#ifdef HAVE_ERR_H 56981.85Schristos#include <err.h> 56991.85Schristos#endif 57001.85Schristos 57011.85Schristos" 57021.85Schristosif test "x$ac_cv_have_decl_vwarnx" = xyes; then : 57031.85Schristos ac_have_decl=1 57041.85Schristoselse 57051.85Schristos ac_have_decl=0 57061.85Schristosfi 57071.85Schristos 57081.85Schristoscat >>confdefs.h <<_ACEOF 57091.85Schristos#define HAVE_DECL_VWARNX $ac_have_decl 57101.85Schristos_ACEOF 57111.84Schristos 57121.53Sdogcow 57131.84Schristosac_fn_c_check_decl "$LINENO" "htobe16" "ac_cv_have_decl_htobe16" "#include <sys/types.h> 57141.84Schristos" 57151.84Schristosif test "x$ac_cv_have_decl_htobe16" = xyes; then : 57161.84Schristos ac_have_decl=1 57171.53Sdogcowelse 57181.84Schristos ac_have_decl=0 57191.84Schristosfi 57201.76Spooka 57211.84Schristoscat >>confdefs.h <<_ACEOF 57221.84Schristos#define HAVE_DECL_HTOBE16 $ac_have_decl 57231.84Schristos_ACEOF 57241.84Schristosac_fn_c_check_decl "$LINENO" "htobe32" "ac_cv_have_decl_htobe32" "#include <sys/types.h> 57251.84Schristos" 57261.84Schristosif test "x$ac_cv_have_decl_htobe32" = xyes; then : 57271.84Schristos ac_have_decl=1 57281.84Schristoselse 57291.84Schristos ac_have_decl=0 57301.74Schristosfi 57311.84Schristos 57321.84Schristoscat >>confdefs.h <<_ACEOF 57331.84Schristos#define HAVE_DECL_HTOBE32 $ac_have_decl 57341.84Schristos_ACEOF 57351.84Schristosac_fn_c_check_decl "$LINENO" "htobe64" "ac_cv_have_decl_htobe64" "#include <sys/types.h> 57361.84Schristos" 57371.84Schristosif test "x$ac_cv_have_decl_htobe64" = xyes; then : 57381.84Schristos ac_have_decl=1 57391.76Spookaelse 57401.84Schristos ac_have_decl=0 57411.84Schristosfi 57421.76Spooka 57431.84Schristoscat >>confdefs.h <<_ACEOF 57441.84Schristos#define HAVE_DECL_HTOBE64 $ac_have_decl 57451.84Schristos_ACEOF 57461.84Schristosac_fn_c_check_decl "$LINENO" "htole16" "ac_cv_have_decl_htole16" "#include <sys/types.h> 57471.84Schristos" 57481.84Schristosif test "x$ac_cv_have_decl_htole16" = xyes; then : 57491.84Schristos ac_have_decl=1 57501.84Schristoselse 57511.84Schristos ac_have_decl=0 57521.84Schristosfi 57531.53Sdogcow 57541.84Schristoscat >>confdefs.h <<_ACEOF 57551.84Schristos#define HAVE_DECL_HTOLE16 $ac_have_decl 57561.74Schristos_ACEOF 57571.84Schristosac_fn_c_check_decl "$LINENO" "htole32" "ac_cv_have_decl_htole32" "#include <sys/types.h> 57581.84Schristos" 57591.84Schristosif test "x$ac_cv_have_decl_htole32" = xyes; then : 57601.84Schristos ac_have_decl=1 57611.53Sdogcowelse 57621.84Schristos ac_have_decl=0 57631.76Spookafi 57641.84Schristos 57651.84Schristoscat >>confdefs.h <<_ACEOF 57661.84Schristos#define HAVE_DECL_HTOLE32 $ac_have_decl 57671.84Schristos_ACEOF 57681.84Schristosac_fn_c_check_decl "$LINENO" "htole64" "ac_cv_have_decl_htole64" "#include <sys/types.h> 57691.84Schristos" 57701.84Schristosif test "x$ac_cv_have_decl_htole64" = xyes; then : 57711.84Schristos ac_have_decl=1 57721.84Schristoselse 57731.84Schristos ac_have_decl=0 57741.53Sdogcowfi 57751.61Schristos 57761.84Schristoscat >>confdefs.h <<_ACEOF 57771.84Schristos#define HAVE_DECL_HTOLE64 $ac_have_decl 57781.84Schristos_ACEOF 57791.84Schristosac_fn_c_check_decl "$LINENO" "be16toh" "ac_cv_have_decl_be16toh" "#include <sys/types.h> 57801.84Schristos" 57811.84Schristosif test "x$ac_cv_have_decl_be16toh" = xyes; then : 57821.84Schristos ac_have_decl=1 57831.84Schristoselse 57841.84Schristos ac_have_decl=0 57851.84Schristosfi 57861.53Sdogcow 57871.84Schristoscat >>confdefs.h <<_ACEOF 57881.84Schristos#define HAVE_DECL_BE16TOH $ac_have_decl 57891.84Schristos_ACEOF 57901.84Schristosac_fn_c_check_decl "$LINENO" "be32toh" "ac_cv_have_decl_be32toh" "#include <sys/types.h> 57911.84Schristos" 57921.84Schristosif test "x$ac_cv_have_decl_be32toh" = xyes; then : 57931.84Schristos ac_have_decl=1 57941.53Sdogcowelse 57951.84Schristos ac_have_decl=0 57961.84Schristosfi 57971.76Spooka 57981.84Schristoscat >>confdefs.h <<_ACEOF 57991.84Schristos#define HAVE_DECL_BE32TOH $ac_have_decl 58001.84Schristos_ACEOF 58011.84Schristosac_fn_c_check_decl "$LINENO" "be64toh" "ac_cv_have_decl_be64toh" "#include <sys/types.h> 58021.84Schristos" 58031.84Schristosif test "x$ac_cv_have_decl_be64toh" = xyes; then : 58041.84Schristos ac_have_decl=1 58051.84Schristoselse 58061.84Schristos ac_have_decl=0 58071.53Sdogcowfi 58081.84Schristos 58091.84Schristoscat >>confdefs.h <<_ACEOF 58101.84Schristos#define HAVE_DECL_BE64TOH $ac_have_decl 58111.84Schristos_ACEOF 58121.84Schristosac_fn_c_check_decl "$LINENO" "le16toh" "ac_cv_have_decl_le16toh" "#include <sys/types.h> 58131.84Schristos" 58141.84Schristosif test "x$ac_cv_have_decl_le16toh" = xyes; then : 58151.84Schristos ac_have_decl=1 58161.76Spookaelse 58171.84Schristos ac_have_decl=0 58181.84Schristosfi 58191.76Spooka 58201.84Schristoscat >>confdefs.h <<_ACEOF 58211.84Schristos#define HAVE_DECL_LE16TOH $ac_have_decl 58221.84Schristos_ACEOF 58231.84Schristosac_fn_c_check_decl "$LINENO" "le32toh" "ac_cv_have_decl_le32toh" "#include <sys/types.h> 58241.84Schristos" 58251.84Schristosif test "x$ac_cv_have_decl_le32toh" = xyes; then : 58261.84Schristos ac_have_decl=1 58271.84Schristoselse 58281.84Schristos ac_have_decl=0 58291.84Schristosfi 58301.53Sdogcow 58311.84Schristoscat >>confdefs.h <<_ACEOF 58321.84Schristos#define HAVE_DECL_LE32TOH $ac_have_decl 58331.74Schristos_ACEOF 58341.84Schristosac_fn_c_check_decl "$LINENO" "le64toh" "ac_cv_have_decl_le64toh" "#include <sys/types.h> 58351.84Schristos" 58361.84Schristosif test "x$ac_cv_have_decl_le64toh" = xyes; then : 58371.84Schristos ac_have_decl=1 58381.53Sdogcowelse 58391.84Schristos ac_have_decl=0 58401.53Sdogcowfi 58411.61Schristos 58421.84Schristoscat >>confdefs.h <<_ACEOF 58431.84Schristos#define HAVE_DECL_LE64TOH $ac_have_decl 58441.84Schristos_ACEOF 58451.84Schristos 58461.53Sdogcow 58471.84Schristosac_fn_c_check_decl "$LINENO" "bswap16" "ac_cv_have_decl_bswap16" "#include <machine/bswap.h> 58481.84Schristos" 58491.84Schristosif test "x$ac_cv_have_decl_bswap16" = xyes; then : 58501.84Schristos ac_have_decl=1 58511.53Sdogcowelse 58521.84Schristos ac_have_decl=0 58531.84Schristosfi 58541.76Spooka 58551.84Schristoscat >>confdefs.h <<_ACEOF 58561.84Schristos#define HAVE_DECL_BSWAP16 $ac_have_decl 58571.84Schristos_ACEOF 58581.84Schristosac_fn_c_check_decl "$LINENO" "bswap32" "ac_cv_have_decl_bswap32" "#include <machine/bswap.h> 58591.84Schristos" 58601.84Schristosif test "x$ac_cv_have_decl_bswap32" = xyes; then : 58611.84Schristos ac_have_decl=1 58621.84Schristoselse 58631.84Schristos ac_have_decl=0 58641.74Schristosfi 58651.53Sdogcow 58661.84Schristoscat >>confdefs.h <<_ACEOF 58671.84Schristos#define HAVE_DECL_BSWAP32 $ac_have_decl 58681.74Schristos_ACEOF 58691.84Schristosac_fn_c_check_decl "$LINENO" "bswap64" "ac_cv_have_decl_bswap64" "#include <machine/bswap.h> 58701.84Schristos" 58711.84Schristosif test "x$ac_cv_have_decl_bswap64" = xyes; then : 58721.84Schristos ac_have_decl=1 58731.74Schristoselse 58741.84Schristos ac_have_decl=0 58751.74Schristosfi 58761.74Schristos 58771.84Schristoscat >>confdefs.h <<_ACEOF 58781.84Schristos#define HAVE_DECL_BSWAP64 $ac_have_decl 58791.84Schristos_ACEOF 58801.84Schristos 58811.61Schristos 58821.84Schristosac_fn_c_check_decl "$LINENO" "be16enc" "ac_cv_have_decl_be16enc" "#include <sys/endian.h> 58831.84Schristos" 58841.84Schristosif test "x$ac_cv_have_decl_be16enc" = xyes; then : 58851.84Schristos ac_have_decl=1 58861.74Schristoselse 58871.84Schristos ac_have_decl=0 58881.84Schristosfi 58891.53Sdogcow 58901.84Schristoscat >>confdefs.h <<_ACEOF 58911.84Schristos#define HAVE_DECL_BE16ENC $ac_have_decl 58921.84Schristos_ACEOF 58931.84Schristosac_fn_c_check_decl "$LINENO" "le16enc" "ac_cv_have_decl_le16enc" "#include <sys/endian.h> 58941.84Schristos" 58951.84Schristosif test "x$ac_cv_have_decl_le16enc" = xyes; then : 58961.84Schristos ac_have_decl=1 58971.84Schristoselse 58981.84Schristos ac_have_decl=0 58991.74Schristosfi 59001.84Schristos 59011.84Schristoscat >>confdefs.h <<_ACEOF 59021.84Schristos#define HAVE_DECL_LE16ENC $ac_have_decl 59031.84Schristos_ACEOF 59041.84Schristosac_fn_c_check_decl "$LINENO" "be16dec" "ac_cv_have_decl_be16dec" "#include <sys/endian.h> 59051.84Schristos" 59061.84Schristosif test "x$ac_cv_have_decl_be16dec" = xyes; then : 59071.84Schristos ac_have_decl=1 59081.74Schristoselse 59091.84Schristos ac_have_decl=0 59101.84Schristosfi 59111.74Schristos 59121.84Schristoscat >>confdefs.h <<_ACEOF 59131.84Schristos#define HAVE_DECL_BE16DEC $ac_have_decl 59141.84Schristos_ACEOF 59151.84Schristosac_fn_c_check_decl "$LINENO" "le16dec" "ac_cv_have_decl_le16dec" "#include <sys/endian.h> 59161.84Schristos" 59171.84Schristosif test "x$ac_cv_have_decl_le16dec" = xyes; then : 59181.84Schristos ac_have_decl=1 59191.84Schristoselse 59201.84Schristos ac_have_decl=0 59211.84Schristosfi 59221.54Swiz 59231.84Schristoscat >>confdefs.h <<_ACEOF 59241.84Schristos#define HAVE_DECL_LE16DEC $ac_have_decl 59251.74Schristos_ACEOF 59261.84Schristosac_fn_c_check_decl "$LINENO" "be32enc" "ac_cv_have_decl_be32enc" "#include <sys/endian.h> 59271.84Schristos" 59281.84Schristosif test "x$ac_cv_have_decl_be32enc" = xyes; then : 59291.84Schristos ac_have_decl=1 59301.74Schristoselse 59311.84Schristos ac_have_decl=0 59321.74Schristosfi 59331.84Schristos 59341.84Schristoscat >>confdefs.h <<_ACEOF 59351.84Schristos#define HAVE_DECL_BE32ENC $ac_have_decl 59361.84Schristos_ACEOF 59371.84Schristosac_fn_c_check_decl "$LINENO" "le32enc" "ac_cv_have_decl_le32enc" "#include <sys/endian.h> 59381.84Schristos" 59391.84Schristosif test "x$ac_cv_have_decl_le32enc" = xyes; then : 59401.84Schristos ac_have_decl=1 59411.84Schristoselse 59421.84Schristos ac_have_decl=0 59431.54Swizfi 59441.61Schristos 59451.84Schristoscat >>confdefs.h <<_ACEOF 59461.84Schristos#define HAVE_DECL_LE32ENC $ac_have_decl 59471.84Schristos_ACEOF 59481.84Schristosac_fn_c_check_decl "$LINENO" "be32dec" "ac_cv_have_decl_be32dec" "#include <sys/endian.h> 59491.84Schristos" 59501.84Schristosif test "x$ac_cv_have_decl_be32dec" = xyes; then : 59511.84Schristos ac_have_decl=1 59521.84Schristoselse 59531.84Schristos ac_have_decl=0 59541.84Schristosfi 59551.74Schristos 59561.84Schristoscat >>confdefs.h <<_ACEOF 59571.84Schristos#define HAVE_DECL_BE32DEC $ac_have_decl 59581.84Schristos_ACEOF 59591.84Schristosac_fn_c_check_decl "$LINENO" "le32dec" "ac_cv_have_decl_le32dec" "#include <sys/endian.h> 59601.84Schristos" 59611.84Schristosif test "x$ac_cv_have_decl_le32dec" = xyes; then : 59621.84Schristos ac_have_decl=1 59631.76Spookaelse 59641.84Schristos ac_have_decl=0 59651.76Spookafi 59661.53Sdogcow 59671.84Schristoscat >>confdefs.h <<_ACEOF 59681.84Schristos#define HAVE_DECL_LE32DEC $ac_have_decl 59691.74Schristos_ACEOF 59701.84Schristosac_fn_c_check_decl "$LINENO" "be64enc" "ac_cv_have_decl_be64enc" "#include <sys/endian.h> 59711.84Schristos" 59721.84Schristosif test "x$ac_cv_have_decl_be64enc" = xyes; then : 59731.84Schristos ac_have_decl=1 59741.74Schristoselse 59751.84Schristos ac_have_decl=0 59761.54Swizfi 59771.74Schristos 59781.84Schristoscat >>confdefs.h <<_ACEOF 59791.84Schristos#define HAVE_DECL_BE64ENC $ac_have_decl 59801.84Schristos_ACEOF 59811.84Schristosac_fn_c_check_decl "$LINENO" "le64enc" "ac_cv_have_decl_le64enc" "#include <sys/endian.h> 59821.84Schristos" 59831.84Schristosif test "x$ac_cv_have_decl_le64enc" = xyes; then : 59841.84Schristos ac_have_decl=1 59851.76Spookaelse 59861.84Schristos ac_have_decl=0 59871.74Schristosfi 59881.54Swiz 59891.84Schristoscat >>confdefs.h <<_ACEOF 59901.84Schristos#define HAVE_DECL_LE64ENC $ac_have_decl 59911.84Schristos_ACEOF 59921.84Schristosac_fn_c_check_decl "$LINENO" "be64dec" "ac_cv_have_decl_be64dec" "#include <sys/endian.h> 59931.84Schristos" 59941.84Schristosif test "x$ac_cv_have_decl_be64dec" = xyes; then : 59951.84Schristos ac_have_decl=1 59961.74Schristoselse 59971.84Schristos ac_have_decl=0 59981.84Schristosfi 59991.74Schristos 60001.84Schristoscat >>confdefs.h <<_ACEOF 60011.84Schristos#define HAVE_DECL_BE64DEC $ac_have_decl 60021.74Schristos_ACEOF 60031.84Schristosac_fn_c_check_decl "$LINENO" "le64dec" "ac_cv_have_decl_le64dec" "#include <sys/endian.h> 60041.84Schristos" 60051.84Schristosif test "x$ac_cv_have_decl_le64dec" = xyes; then : 60061.84Schristos ac_have_decl=1 60071.54Swizelse 60081.84Schristos ac_have_decl=0 60091.74Schristosfi 60101.54Swiz 60111.84Schristoscat >>confdefs.h <<_ACEOF 60121.84Schristos#define HAVE_DECL_LE64DEC $ac_have_decl 60131.84Schristos_ACEOF 60141.84Schristos 60151.74Schristos 60161.84Schristosac_fn_c_check_decl "$LINENO" "fstatvfs" "ac_cv_have_decl_fstatvfs" "#include <sys/statvfs.h> 60171.84Schristos" 60181.84Schristosif test "x$ac_cv_have_decl_fstatvfs" = xyes; then : 60191.84Schristos ac_have_decl=1 60201.74Schristoselse 60211.84Schristos ac_have_decl=0 60221.84Schristosfi 60231.61Schristos 60241.84Schristoscat >>confdefs.h <<_ACEOF 60251.84Schristos#define HAVE_DECL_FSTATVFS $ac_have_decl 60261.84Schristos_ACEOF 60271.54Swiz 60281.54Swiz 60291.84Schristosac_fn_c_check_decl "$LINENO" "setgroupent" "ac_cv_have_decl_setgroupent" " 60301.76Spooka#include <sys/types.h> 60311.76Spooka#include <grp.h> 60321.76Spooka#include <pwd.h> 60331.45Sjmc 60341.84Schristos" 60351.84Schristosif test "x$ac_cv_have_decl_setgroupent" = xyes; then : 60361.84Schristos ac_have_decl=1 60371.74Schristoselse 60381.84Schristos ac_have_decl=0 60391.1Stvfi 60401.54Swiz 60411.84Schristoscat >>confdefs.h <<_ACEOF 60421.84Schristos#define HAVE_DECL_SETGROUPENT $ac_have_decl 60431.84Schristos_ACEOF 60441.84Schristosac_fn_c_check_decl "$LINENO" "setpassent" "ac_cv_have_decl_setpassent" " 60451.33Sthorpej#include <sys/types.h> 60461.8Stv#include <grp.h> 60471.8Stv#include <pwd.h> 60481.8Stv 60491.84Schristos" 60501.84Schristosif test "x$ac_cv_have_decl_setpassent" = xyes; then : 60511.84Schristos ac_have_decl=1 60521.8Stvelse 60531.84Schristos ac_have_decl=0 60541.8Stvfi 60551.8Stv 60561.84Schristoscat >>confdefs.h <<_ACEOF 60571.84Schristos#define HAVE_DECL_SETPASSENT $ac_have_decl 60581.84Schristos_ACEOF 60591.76Spooka 60601.8Stv 60611.4Stv# regcomp() and regexec() are also names of functions in the old V8 60621.4Stv# regexp package. To avoid them, we need to find out who has regfree(). 60631.4Stv 60641.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for regfree in -lregex" >&5 60651.84Schristos$as_echo_n "checking for regfree in -lregex... " >&6; } 60661.84Schristosif ${ac_cv_lib_regex_regfree+:} false; then : 60671.84Schristos $as_echo_n "(cached) " >&6 60681.4Stvelse 60691.4Stv ac_check_lib_save_LIBS=$LIBS 60701.4StvLIBS="-lregex $LIBS" 60711.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 60721.84Schristos/* end confdefs.h. */ 60731.4Stv 60741.84Schristos/* Override any GCC internal prototype to avoid an error. 60751.84Schristos Use char because int might match the return type of a GCC 60761.84Schristos builtin and then its argument prototype would still apply. */ 60771.4Stv#ifdef __cplusplus 60781.4Stvextern "C" 60791.4Stv#endif 60801.4Stvchar regfree (); 60811.4Stvint 60821.4Stvmain () 60831.4Stv{ 60841.84Schristosreturn regfree (); 60851.4Stv ; 60861.4Stv return 0; 60871.4Stv} 60881.4Stv_ACEOF 60891.84Schristosif ac_fn_c_try_link "$LINENO"; then : 60901.4Stv ac_cv_lib_regex_regfree=yes 60911.4Stvelse 60921.84Schristos ac_cv_lib_regex_regfree=no 60931.4Stvfi 60941.84Schristosrm -f core conftest.err conftest.$ac_objext \ 60951.84Schristos conftest$ac_exeext conftest.$ac_ext 60961.4StvLIBS=$ac_check_lib_save_LIBS 60971.4Stvfi 60981.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regfree" >&5 60991.84Schristos$as_echo "$ac_cv_lib_regex_regfree" >&6; } 61001.84Schristosif test "x$ac_cv_lib_regex_regfree" = xyes; then : 61011.84Schristos cat >>confdefs.h <<_ACEOF 61021.4Stv#define HAVE_LIBREGEX 1 61031.84Schristos_ACEOF 61041.4Stv 61051.4Stv LIBS="-lregex $LIBS" 61061.4Stv 61071.4Stvfi 61081.4Stv 61091.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regfree" >&5 61101.84Schristos$as_echo_n "checking for library containing regfree... " >&6; } 61111.84Schristosif ${ac_cv_search_regfree+:} false; then : 61121.84Schristos $as_echo_n "(cached) " >&6 61131.1Stvelse 61141.1Stv ac_func_search_save_LIBS=$LIBS 61151.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 61161.84Schristos/* end confdefs.h. */ 61171.1Stv 61181.84Schristos/* Override any GCC internal prototype to avoid an error. 61191.84Schristos Use char because int might match the return type of a GCC 61201.84Schristos builtin and then its argument prototype would still apply. */ 61211.1Stv#ifdef __cplusplus 61221.1Stvextern "C" 61231.1Stv#endif 61241.4Stvchar regfree (); 61251.1Stvint 61261.1Stvmain () 61271.1Stv{ 61281.84Schristosreturn regfree (); 61291.1Stv ; 61301.1Stv return 0; 61311.1Stv} 61321.1Stv_ACEOF 61331.84Schristosfor ac_lib in '' rx posix; do 61341.84Schristos if test -z "$ac_lib"; then 61351.84Schristos ac_res="none required" 61361.84Schristos else 61371.84Schristos ac_res=-l$ac_lib 61381.66Stsutsui LIBS="-l$ac_lib $ac_func_search_save_LIBS" 61391.84Schristos fi 61401.84Schristos if ac_fn_c_try_link "$LINENO"; then : 61411.84Schristos ac_cv_search_regfree=$ac_res 61421.84Schristosfi 61431.84Schristosrm -f core conftest.err conftest.$ac_objext \ 61441.84Schristos conftest$ac_exeext 61451.84Schristos if ${ac_cv_search_regfree+:} false; then : 61461.84Schristos break 61471.84Schristosfi 61481.84Schristosdone 61491.84Schristosif ${ac_cv_search_regfree+:} false; then : 61501.1Stv 61511.66Stsutsuielse 61521.84Schristos ac_cv_search_regfree=no 61531.1Stvfi 61541.84Schristosrm conftest.$ac_ext 61551.1StvLIBS=$ac_func_search_save_LIBS 61561.1Stvfi 61571.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regfree" >&5 61581.84Schristos$as_echo "$ac_cv_search_regfree" >&6; } 61591.84Schristosac_res=$ac_cv_search_regfree 61601.84Schristosif test "$ac_res" != no; then : 61611.84Schristos test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 61621.1Stv 61631.1Stvfi 61641.1Stv 61651.84Schristos 61661.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 61671.84Schristos$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 61681.84Schristosif ${ac_cv_lib_rt_clock_gettime+:} false; then : 61691.84Schristos $as_echo_n "(cached) " >&6 61701.78Sjmcneillelse 61711.78Sjmcneill ac_check_lib_save_LIBS=$LIBS 61721.78SjmcneillLIBS="-lrt $LIBS" 61731.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 61741.84Schristos/* end confdefs.h. */ 61751.78Sjmcneill 61761.84Schristos/* Override any GCC internal prototype to avoid an error. 61771.84Schristos Use char because int might match the return type of a GCC 61781.84Schristos builtin and then its argument prototype would still apply. */ 61791.78Sjmcneill#ifdef __cplusplus 61801.78Sjmcneillextern "C" 61811.78Sjmcneill#endif 61821.78Sjmcneillchar clock_gettime (); 61831.78Sjmcneillint 61841.78Sjmcneillmain () 61851.78Sjmcneill{ 61861.84Schristosreturn clock_gettime (); 61871.78Sjmcneill ; 61881.78Sjmcneill return 0; 61891.78Sjmcneill} 61901.78Sjmcneill_ACEOF 61911.84Schristosif ac_fn_c_try_link "$LINENO"; then : 61921.78Sjmcneill ac_cv_lib_rt_clock_gettime=yes 61931.78Sjmcneillelse 61941.84Schristos ac_cv_lib_rt_clock_gettime=no 61951.78Sjmcneillfi 61961.84Schristosrm -f core conftest.err conftest.$ac_objext \ 61971.84Schristos conftest$ac_exeext conftest.$ac_ext 61981.78SjmcneillLIBS=$ac_check_lib_save_LIBS 61991.78Sjmcneillfi 62001.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 62011.84Schristos$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 62021.84Schristosif test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : 62031.84Schristos cat >>confdefs.h <<_ACEOF 62041.78Sjmcneill#define HAVE_LIBRT 1 62051.84Schristos_ACEOF 62061.78Sjmcneill 62071.78Sjmcneill LIBS="-lrt $LIBS" 62081.78Sjmcneill 62091.78Sjmcneillfi 62101.78Sjmcneill 62111.84Schristos 62121.76Spookafor ac_func in fparseln 62131.84Schristosdo : 62141.84Schristos ac_fn_c_check_func "$LINENO" "fparseln" "ac_cv_func_fparseln" 62151.84Schristosif test "x$ac_cv_func_fparseln" = xyes; then : 62161.84Schristos cat >>confdefs.h <<_ACEOF 62171.84Schristos#define HAVE_FPARSELN 1 62181.84Schristos_ACEOF 62191.84Schristos 62201.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fparseln seems to work" >&5 62211.84Schristos$as_echo_n "checking if fparseln seems to work... " >&6; } 62221.84Schristos if test "$cross_compiling" = yes; then : 62231.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking farseln" >&5 62241.84Schristos$as_echo "$as_me: WARNING: cross compiling: not checking farseln" >&2;} 62251.74Schristos 62261.84Schristoselse 62271.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 62281.84Schristos/* end confdefs.h. */ 62291.68Stnozaki 62301.68Stnozaki#define _NETBSD_SOURCE 62311.68Stnozaki#include <stdio.h> 62321.68Stnozaki#include <stdlib.h> 62331.68Stnozaki#define CONFTEST "conftest.fparseln" 62341.68Stnozaki#define COMMENT '#' 62351.68Stnozakiint 62361.68Stnozakimain(void) 62371.68Stnozaki{ 62381.68Stnozaki static const char delim[3] = { '\0', '\0', COMMENT }; 62391.68Stnozaki FILE *fp; 62401.68Stnozaki char *ptr; 62411.68Stnozaki fp = fopen(CONFTEST, "w+"); 62421.68Stnozaki if (fp != NULL) { 62431.68Stnozaki unlink(CONFTEST); 62441.68Stnozaki ungetc(COMMENT, fp); 62451.68Stnozaki ptr = fparseln(fp, NULL, NULL, delim, 62461.68Stnozaki FPARSELN_UNESCALL); 62471.68Stnozaki fclose(fp); 62481.68Stnozaki if (ptr == NULL) 62491.68Stnozaki exit(0); 62501.68Stnozaki } 62511.68Stnozaki exit(1); 62521.68Stnozaki} 62531.68Stnozaki 62541.68Stnozaki_ACEOF 62551.84Schristosif ac_fn_c_try_run "$LINENO"; then : 62561.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 62571.84Schristos$as_echo "yes" >&6; } 62581.84Schristoselse 62591.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 62601.84Schristos$as_echo "no" >&6; } 62611.84Schristos 62621.84Schristos$as_echo "#define BROKEN_FPARSELN 1" >>confdefs.h 62631.68Stnozaki 62641.68Stnozakifi 62651.84Schristosrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 62661.84Schristos conftest.$ac_objext conftest.beam conftest.$ac_ext 62671.68Stnozakifi 62681.68Stnozaki 62691.84Schristos 62701.68Stnozakifi 62711.68Stnozakidone 62721.68Stnozaki 62731.84Schristos 62741.102Slukem 62751.102Slukemcc_fail_unknown= 62761.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5 62771.102Slukem$as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; } 62781.102Slukemif ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then : 62791.102Slukem $as_echo_n "(cached) " >&6 62801.102Slukemelse 62811.102Slukem 62821.102Slukem ax_check_save_flags=$CFLAGS 62831.102Slukem CFLAGS="$CFLAGS -Werror=unknown-warning-option" 62841.102Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 62851.102Slukem/* end confdefs.h. */ 62861.102Slukem 62871.102Slukemint 62881.102Slukemmain () 62891.102Slukem{ 62901.102Slukem 62911.102Slukem ; 62921.102Slukem return 0; 62931.102Slukem} 62941.102Slukem_ACEOF 62951.102Slukemif ac_fn_c_try_compile "$LINENO"; then : 62961.102Slukem ax_cv_check_cflags___Werror_unknown_warning_option=yes 62971.102Slukemelse 62981.102Slukem ax_cv_check_cflags___Werror_unknown_warning_option=no 62991.102Slukemfi 63001.102Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 63011.102Slukem CFLAGS=$ax_check_save_flags 63021.102Slukemfi 63031.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5 63041.102Slukem$as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; } 63051.102Slukemif test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then : 63061.102Slukem as_fn_append cc_fail_unknown -Werror=unknown-warning-option 63071.102Slukemelse 63081.102Slukem : 63091.102Slukemfi 63101.102Slukem 63111.102Slukem 63121.102Slukem 63131.102Slukem 63141.102Slukem 63151.102Slukem 63161.102Slukemas_CACHEVAR=`$as_echo "ax_cv_check_cflags_$cc_fail_unknown_-no-cpp-precomp" | $as_tr_sh` 63171.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -no-cpp-precomp" >&5 63181.102Slukem$as_echo_n "checking whether C compiler accepts -no-cpp-precomp... " >&6; } 63191.102Slukemif eval \${$as_CACHEVAR+:} false; then : 63201.102Slukem $as_echo_n "(cached) " >&6 63211.102Slukemelse 63221.102Slukem 63231.102Slukem ax_check_save_flags=$CFLAGS 63241.102Slukem CFLAGS="$CFLAGS $cc_fail_unknown -no-cpp-precomp" 63251.102Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 63261.102Slukem/* end confdefs.h. */ 63271.102Slukem 63281.102Slukemint 63291.102Slukemmain () 63301.102Slukem{ 63311.102Slukem 63321.102Slukem ; 63331.102Slukem return 0; 63341.102Slukem} 63351.102Slukem_ACEOF 63361.102Slukemif ac_fn_c_try_compile "$LINENO"; then : 63371.102Slukem eval "$as_CACHEVAR=yes" 63381.102Slukemelse 63391.102Slukem eval "$as_CACHEVAR=no" 63401.102Slukemfi 63411.102Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 63421.102Slukem CFLAGS=$ax_check_save_flags 63431.102Slukemfi 63441.102Slukemeval ac_res=\$$as_CACHEVAR 63451.102Slukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 63461.102Slukem$as_echo "$ac_res" >&6; } 63471.102Slukemif eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 63481.102Slukem CC_NO_CPP_PRECOMP=-no-cpp-precomp 63491.102Slukemelse 63501.102Slukem : 63511.102Slukemfi 63521.102Slukem 63531.102Slukem 63541.102Slukem 63551.102Slukem 63561.102Slukem 63571.102Slukem 63581.102Slukem 63591.102Slukem 63601.102Slukem 63611.102Slukem 63621.102Slukem 63631.102Slukemas_CACHEVAR=`$as_echo "ax_cv_check_cflags_$cc_fail_unknown_-Wformat-truncation" | $as_tr_sh` 63641.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wformat-truncation" >&5 63651.102Slukem$as_echo_n "checking whether C compiler accepts -Wformat-truncation... " >&6; } 63661.102Slukemif eval \${$as_CACHEVAR+:} false; then : 63671.102Slukem $as_echo_n "(cached) " >&6 63681.102Slukemelse 63691.102Slukem 63701.102Slukem ax_check_save_flags=$CFLAGS 63711.102Slukem CFLAGS="$CFLAGS $cc_fail_unknown -Wformat-truncation" 63721.102Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 63731.102Slukem/* end confdefs.h. */ 63741.102Slukem 63751.102Slukemint 63761.102Slukemmain () 63771.102Slukem{ 63781.102Slukem 63791.102Slukem ; 63801.102Slukem return 0; 63811.102Slukem} 63821.102Slukem_ACEOF 63831.102Slukemif ac_fn_c_try_compile "$LINENO"; then : 63841.102Slukem eval "$as_CACHEVAR=yes" 63851.102Slukemelse 63861.102Slukem eval "$as_CACHEVAR=no" 63871.102Slukemfi 63881.102Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 63891.102Slukem CFLAGS=$ax_check_save_flags 63901.102Slukemfi 63911.102Slukemeval ac_res=\$$as_CACHEVAR 63921.102Slukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 63931.102Slukem$as_echo "$ac_res" >&6; } 63941.102Slukemif eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 63951.102Slukem CC_WNO_FORMAT_TRUNCATION=-Wno-format-truncation 63961.102Slukemelse 63971.102Slukem : 63981.102Slukemfi 63991.102Slukem 64001.102Slukem 64011.102Slukem 64021.102Slukem 64031.102Slukem 64041.102Slukem 64051.102Slukem 64061.102Slukem 64071.102Slukem 64081.102Slukem 64091.102Slukemas_CACHEVAR=`$as_echo "ax_cv_check_cflags_$cc_fail_unknown_-Wmaybe-uninitialized" | $as_tr_sh` 64101.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wmaybe-uninitialized" >&5 64111.102Slukem$as_echo_n "checking whether C compiler accepts -Wmaybe-uninitialized... " >&6; } 64121.102Slukemif eval \${$as_CACHEVAR+:} false; then : 64131.102Slukem $as_echo_n "(cached) " >&6 64141.102Slukemelse 64151.102Slukem 64161.102Slukem ax_check_save_flags=$CFLAGS 64171.102Slukem CFLAGS="$CFLAGS $cc_fail_unknown -Wmaybe-uninitialized" 64181.102Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 64191.102Slukem/* end confdefs.h. */ 64201.102Slukem 64211.102Slukemint 64221.102Slukemmain () 64231.102Slukem{ 64241.102Slukem 64251.102Slukem ; 64261.102Slukem return 0; 64271.102Slukem} 64281.102Slukem_ACEOF 64291.102Slukemif ac_fn_c_try_compile "$LINENO"; then : 64301.102Slukem eval "$as_CACHEVAR=yes" 64311.102Slukemelse 64321.102Slukem eval "$as_CACHEVAR=no" 64331.102Slukemfi 64341.102Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 64351.102Slukem CFLAGS=$ax_check_save_flags 64361.102Slukemfi 64371.102Slukemeval ac_res=\$$as_CACHEVAR 64381.102Slukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 64391.102Slukem$as_echo "$ac_res" >&6; } 64401.102Slukemif eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 64411.102Slukem CC_WNO_MAYBE_UNINITIALIZED=-Wno-maybe-uninitialized 64421.102Slukemelse 64431.102Slukem : 64441.102Slukemfi 64451.102Slukem 64461.102Slukem 64471.102Slukem 64481.102Slukem 64491.102Slukem 64501.102Slukem 64511.102Slukem 64521.102Slukem 64531.102Slukem 64541.102Slukem 64551.102Slukemas_CACHEVAR=`$as_echo "ax_cv_check_cflags_$cc_fail_unknown_-Wstringop-overflow" | $as_tr_sh` 64561.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wstringop-overflow" >&5 64571.102Slukem$as_echo_n "checking whether C compiler accepts -Wstringop-overflow... " >&6; } 64581.102Slukemif eval \${$as_CACHEVAR+:} false; then : 64591.102Slukem $as_echo_n "(cached) " >&6 64601.102Slukemelse 64611.102Slukem 64621.102Slukem ax_check_save_flags=$CFLAGS 64631.102Slukem CFLAGS="$CFLAGS $cc_fail_unknown -Wstringop-overflow" 64641.102Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 64651.102Slukem/* end confdefs.h. */ 64661.102Slukem 64671.102Slukemint 64681.102Slukemmain () 64691.102Slukem{ 64701.102Slukem 64711.102Slukem ; 64721.102Slukem return 0; 64731.102Slukem} 64741.102Slukem_ACEOF 64751.102Slukemif ac_fn_c_try_compile "$LINENO"; then : 64761.102Slukem eval "$as_CACHEVAR=yes" 64771.102Slukemelse 64781.102Slukem eval "$as_CACHEVAR=no" 64791.102Slukemfi 64801.102Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 64811.102Slukem CFLAGS=$ax_check_save_flags 64821.102Slukemfi 64831.102Slukemeval ac_res=\$$as_CACHEVAR 64841.102Slukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 64851.102Slukem$as_echo "$ac_res" >&6; } 64861.102Slukemif eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 64871.102Slukem CC_WNO_STRINGOP_OVERFLOW=-Wno-stringop-overflow 64881.102Slukemelse 64891.102Slukem : 64901.102Slukemfi 64911.102Slukem 64921.102Slukem 64931.102Slukem 64941.102Slukem 64951.102Slukem 64961.102Slukem 64971.102Slukem 64981.102Slukem 64991.102Slukem 65001.102Slukem 65011.102Slukemas_CACHEVAR=`$as_echo "ax_cv_check_cflags_$cc_fail_unknown_-Wstringop-truncation" | $as_tr_sh` 65021.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wstringop-truncation" >&5 65031.102Slukem$as_echo_n "checking whether C compiler accepts -Wstringop-truncation... " >&6; } 65041.102Slukemif eval \${$as_CACHEVAR+:} false; then : 65051.102Slukem $as_echo_n "(cached) " >&6 65061.102Slukemelse 65071.102Slukem 65081.102Slukem ax_check_save_flags=$CFLAGS 65091.102Slukem CFLAGS="$CFLAGS $cc_fail_unknown -Wstringop-truncation" 65101.102Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 65111.102Slukem/* end confdefs.h. */ 65121.102Slukem 65131.102Slukemint 65141.102Slukemmain () 65151.102Slukem{ 65161.102Slukem 65171.102Slukem ; 65181.102Slukem return 0; 65191.102Slukem} 65201.102Slukem_ACEOF 65211.102Slukemif ac_fn_c_try_compile "$LINENO"; then : 65221.102Slukem eval "$as_CACHEVAR=yes" 65231.102Slukemelse 65241.102Slukem eval "$as_CACHEVAR=no" 65251.102Slukemfi 65261.102Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 65271.102Slukem CFLAGS=$ax_check_save_flags 65281.102Slukemfi 65291.102Slukemeval ac_res=\$$as_CACHEVAR 65301.102Slukem { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 65311.102Slukem$as_echo "$ac_res" >&6; } 65321.102Slukemif eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 65331.102Slukem CC_WNO_STRINGOP_TRUNCATION=-Wno-stringop-truncation 65341.102Slukemelse 65351.102Slukem : 65361.102Slukemfi 65371.102Slukem 65381.102Slukem 65391.102Slukem 65401.102Slukem 65411.102Slukem 65421.102Slukem 65431.72Sapb 65441.84Schristos 65451.1Stvcat >confcache <<\_ACEOF 65461.1Stv# This file is a shell script that caches the results of configure 65471.1Stv# tests run on this system so they can be shared between configure 65481.1Stv# scripts and configure runs, see configure's option --config-cache. 65491.1Stv# It is not useful on other systems. If it contains results you don't 65501.1Stv# want to keep, you may remove or edit it. 65511.1Stv# 65521.1Stv# config.status only pays attention to the cache file if you give it 65531.1Stv# the --recheck option to rerun configure. 65541.1Stv# 65551.84Schristos# `ac_cv_env_foo' variables (set or unset) will be overridden when 65561.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the 65571.1Stv# following values. 65581.1Stv 65591.1Stv_ACEOF 65601.1Stv 65611.1Stv# The following way of writing the cache mishandles newlines in values, 65621.1Stv# but we know of no workaround that is simple, portable, and efficient. 65631.84Schristos# So, we kill variables containing newlines. 65641.84Schristos# Ultrix sh set writes to stderr and can't be redirected directly, 65651.84Schristos# and sets the high bit in the cache file unless we assign to the vars. 65661.84Schristos( 65671.84Schristos for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 65681.84Schristos eval ac_val=\$$ac_var 65691.84Schristos case $ac_val in #( 65701.84Schristos *${as_nl}*) 65711.84Schristos case $ac_var in #( 65721.84Schristos *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 65731.84Schristos$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 65741.84Schristos esac 65751.84Schristos case $ac_var in #( 65761.84Schristos _ | IFS | as_nl) ;; #( 65771.84Schristos BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 65781.84Schristos *) { eval $ac_var=; unset $ac_var;} ;; 65791.84Schristos esac ;; 65801.84Schristos esac 65811.84Schristos done 65821.84Schristos 65831.65Schristos (set) 2>&1 | 65841.84Schristos case $as_nl`(ac_space=' '; set) 2>&1` in #( 65851.84Schristos *${as_nl}ac_space=\ *) 65861.84Schristos # `set' does not quote correctly, so add quotes: double-quote 65871.84Schristos # substitution turns \\\\ into \\, and sed turns \\ into \. 65881.65Schristos sed -n \ 65891.84Schristos "s/'/'\\\\''/g; 65901.84Schristos s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 65911.84Schristos ;; #( 65921.65Schristos *) 65931.65Schristos # `set' quotes correctly as required by POSIX, so do not add quotes. 65941.84Schristos sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 65951.65Schristos ;; 65961.84Schristos esac | 65971.84Schristos sort 65981.84Schristos) | 65991.65Schristos sed ' 66001.84Schristos /^ac_cv_env_/b end 66011.65Schristos t clear 66021.84Schristos :clear 66031.65Schristos s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 66041.65Schristos t end 66051.84Schristos s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 66061.84Schristos :end' >>confcache 66071.84Schristosif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 66081.84Schristos if test -w "$cache_file"; then 66091.84Schristos if test "x$cache_file" != "x/dev/null"; then 66101.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 66111.84Schristos$as_echo "$as_me: updating cache $cache_file" >&6;} 66121.84Schristos if test ! -f "$cache_file" || test -h "$cache_file"; then 66131.84Schristos cat confcache >"$cache_file" 66141.84Schristos else 66151.84Schristos case $cache_file in #( 66161.84Schristos */* | ?:*) 66171.84Schristos mv -f confcache "$cache_file"$$ && 66181.84Schristos mv -f "$cache_file"$$ "$cache_file" ;; #( 66191.84Schristos *) 66201.84Schristos mv -f confcache "$cache_file" ;; 66211.84Schristos esac 66221.84Schristos fi 66231.84Schristos fi 66241.65Schristos else 66251.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 66261.84Schristos$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 66271.65Schristos fi 66281.65Schristosfi 66291.66Stsutsuirm -f confcache 66301.65Schristos 66311.66Stsutsuitest "x$prefix" = xNONE && prefix=$ac_default_prefix 66321.66Stsutsui# Let make expand exec_prefix. 66331.66Stsutsuitest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 66341.65Schristos 66351.84SchristosDEFS=-DHAVE_CONFIG_H 66361.84Schristos 66371.84Schristosac_libobjs= 66381.84Schristosac_ltlibobjs= 66391.84SchristosU= 66401.84Schristosfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 66411.84Schristos # 1. Remove the extension, and $U if already installed. 66421.84Schristos ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 66431.84Schristos ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 66441.84Schristos # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 66451.84Schristos # will be set to the directory where LIBOBJS objects are built. 66461.84Schristos as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 66471.84Schristos as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 66481.84Schristosdone 66491.84SchristosLIBOBJS=$ac_libobjs 66501.84Schristos 66511.84SchristosLTLIBOBJS=$ac_ltlibobjs 66521.84Schristos 66531.84Schristos 66541.76Spooka 66551.74Schristos 66561.84Schristos: "${CONFIG_STATUS=./config.status}" 66571.84Schristosac_write_fail=0 66581.66Stsutsuiac_clean_files_save=$ac_clean_files 66591.66Stsutsuiac_clean_files="$ac_clean_files $CONFIG_STATUS" 66601.84Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 66611.84Schristos$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 66621.84Schristosas_write_fail=0 66631.84Schristoscat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 66641.66Stsutsui#! $SHELL 66651.84Schristos# Generated by $as_me. 66661.66Stsutsui# Run this file to recreate the current configuration. 66671.66Stsutsui# Compiler output produced by configure, useful for debugging 66681.66Stsutsui# configure, is in config.log if it exists. 66691.65Schristos 66701.66Stsutsuidebug=false 66711.84Schristosac_cs_recheck=false 66721.84Schristosac_cs_silent=false 66731.84Schristos 66741.76SpookaSHELL=\${CONFIG_SHELL-$SHELL} 66751.84Schristosexport SHELL 66761.84Schristos_ASEOF 66771.84Schristoscat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 66781.84Schristos## -------------------- ## 66791.84Schristos## M4sh Initialization. ## 66801.84Schristos## -------------------- ## 66811.84Schristos 66821.84Schristos# Be more Bourne compatible 66831.84SchristosDUALCASE=1; export DUALCASE # for MKS sh 66841.84Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 66851.84Schristos emulate sh 66861.84Schristos NULLCMD=: 66871.84Schristos # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 66881.84Schristos # is contrary to our usage. Disable this feature. 66891.84Schristos alias -g '${1+"$@"}'='"$@"' 66901.84Schristos setopt NO_GLOB_SUBST 66911.84Schristoselse 66921.84Schristos case `(set -o) 2>/dev/null` in #( 66931.84Schristos *posix*) : 66941.84Schristos set -o posix ;; #( 66951.84Schristos *) : 66961.84Schristos ;; 66971.84Schristosesac 66981.84Schristosfi 66991.84Schristos 67001.76Spooka 67011.84Schristosas_nl=' 67021.84Schristos' 67031.84Schristosexport as_nl 67041.84Schristos# Printing a long string crashes Solaris 7 /usr/bin/printf. 67051.84Schristosas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 67061.84Schristosas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 67071.84Schristosas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 67081.84Schristos# Prefer a ksh shell builtin over an external printf program on Solaris, 67091.84Schristos# but without wasting forks for bash or zsh. 67101.84Schristosif test -z "$BASH_VERSION$ZSH_VERSION" \ 67111.84Schristos && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 67121.84Schristos as_echo='print -r --' 67131.84Schristos as_echo_n='print -rn --' 67141.84Schristoselif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 67151.84Schristos as_echo='printf %s\n' 67161.84Schristos as_echo_n='printf %s' 67171.84Schristoselse 67181.84Schristos if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 67191.84Schristos as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 67201.84Schristos as_echo_n='/usr/ucb/echo -n' 67211.84Schristos else 67221.84Schristos as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 67231.84Schristos as_echo_n_body='eval 67241.84Schristos arg=$1; 67251.84Schristos case $arg in #( 67261.84Schristos *"$as_nl"*) 67271.84Schristos expr "X$arg" : "X\\(.*\\)$as_nl"; 67281.84Schristos arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 67291.84Schristos esac; 67301.84Schristos expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 67311.84Schristos ' 67321.84Schristos export as_echo_n_body 67331.84Schristos as_echo_n='sh -c $as_echo_n_body as_echo' 67341.84Schristos fi 67351.84Schristos export as_echo_body 67361.84Schristos as_echo='sh -c $as_echo_body as_echo' 67371.84Schristosfi 67381.74Schristos 67391.84Schristos# The user is always right. 67401.84Schristosif test "${PATH_SEPARATOR+set}" != set; then 67411.84Schristos PATH_SEPARATOR=: 67421.84Schristos (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 67431.84Schristos (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 67441.84Schristos PATH_SEPARATOR=';' 67451.84Schristos } 67461.74Schristosfi 67471.65Schristos 67481.74Schristos 67491.84Schristos# IFS 67501.84Schristos# We need space, tab and new line, in precisely that order. Quoting is 67511.84Schristos# there to prevent editors from complaining about space-tab. 67521.84Schristos# (If _AS_PATH_WALK were called with IFS unset, it would disable word 67531.84Schristos# splitting by setting IFS to empty value.) 67541.84SchristosIFS=" "" $as_nl" 67551.84Schristos 67561.84Schristos# Find who we are. Look in the path if we contain no directory separator. 67571.84Schristosas_myself= 67581.84Schristoscase $0 in #(( 67591.84Schristos *[\\/]* ) as_myself=$0 ;; 67601.84Schristos *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 67611.84Schristosfor as_dir in $PATH 67621.84Schristosdo 67631.84Schristos IFS=$as_save_IFS 67641.84Schristos test -z "$as_dir" && as_dir=. 67651.84Schristos test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 67661.84Schristos done 67671.84SchristosIFS=$as_save_IFS 67681.84Schristos 67691.84Schristos ;; 67701.84Schristosesac 67711.84Schristos# We did not find ourselves, most probably we were run as `sh COMMAND' 67721.84Schristos# in which case we are not to be found in the path. 67731.84Schristosif test "x$as_myself" = x; then 67741.84Schristos as_myself=$0 67751.84Schristosfi 67761.84Schristosif test ! -f "$as_myself"; then 67771.84Schristos $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 67781.84Schristos exit 1 67791.84Schristosfi 67801.84Schristos 67811.84Schristos# Unset variables that we do not need and which cause bugs (e.g. in 67821.84Schristos# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 67831.84Schristos# suppresses any "Segmentation fault" message there. '((' could 67841.84Schristos# trigger a bug in pdksh 5.2.14. 67851.84Schristosfor as_var in BASH_ENV ENV MAIL MAILPATH 67861.84Schristosdo eval test x\${$as_var+set} = xset \ 67871.84Schristos && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 67881.84Schristosdone 67891.84SchristosPS1='$ ' 67901.84SchristosPS2='> ' 67911.84SchristosPS4='+ ' 67921.84Schristos 67931.84Schristos# NLS nuisances. 67941.84SchristosLC_ALL=C 67951.84Schristosexport LC_ALL 67961.84SchristosLANGUAGE=C 67971.84Schristosexport LANGUAGE 67981.84Schristos 67991.84Schristos# CDPATH. 68001.84Schristos(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 68011.84Schristos 68021.84Schristos 68031.84Schristos# as_fn_error STATUS ERROR [LINENO LOG_FD] 68041.84Schristos# ---------------------------------------- 68051.84Schristos# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 68061.84Schristos# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 68071.84Schristos# script with STATUS, using 1 if that was 0. 68081.84Schristosas_fn_error () 68091.84Schristos{ 68101.84Schristos as_status=$1; test $as_status -eq 0 && as_status=1 68111.84Schristos if test "$4"; then 68121.84Schristos as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 68131.84Schristos $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 68141.84Schristos fi 68151.84Schristos $as_echo "$as_me: error: $2" >&2 68161.84Schristos as_fn_exit $as_status 68171.84Schristos} # as_fn_error 68181.84Schristos 68191.84Schristos 68201.84Schristos# as_fn_set_status STATUS 68211.84Schristos# ----------------------- 68221.84Schristos# Set $? to STATUS, without forking. 68231.84Schristosas_fn_set_status () 68241.84Schristos{ 68251.84Schristos return $1 68261.84Schristos} # as_fn_set_status 68271.84Schristos 68281.84Schristos# as_fn_exit STATUS 68291.84Schristos# ----------------- 68301.84Schristos# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 68311.84Schristosas_fn_exit () 68321.84Schristos{ 68331.84Schristos set +e 68341.84Schristos as_fn_set_status $1 68351.84Schristos exit $1 68361.84Schristos} # as_fn_exit 68371.84Schristos 68381.84Schristos# as_fn_unset VAR 68391.84Schristos# --------------- 68401.84Schristos# Portably unset VAR. 68411.84Schristosas_fn_unset () 68421.84Schristos{ 68431.84Schristos { eval $1=; unset $1;} 68441.84Schristos} 68451.84Schristosas_unset=as_fn_unset 68461.84Schristos# as_fn_append VAR VALUE 68471.84Schristos# ---------------------- 68481.84Schristos# Append the text in VALUE to the end of the definition contained in VAR. Take 68491.84Schristos# advantage of any shell optimizations that allow amortized linear growth over 68501.84Schristos# repeated appends, instead of the typical quadratic growth present in naive 68511.84Schristos# implementations. 68521.84Schristosif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 68531.84Schristos eval 'as_fn_append () 68541.84Schristos { 68551.84Schristos eval $1+=\$2 68561.84Schristos }' 68571.84Schristoselse 68581.84Schristos as_fn_append () 68591.84Schristos { 68601.84Schristos eval $1=\$$1\$2 68611.84Schristos } 68621.84Schristosfi # as_fn_append 68631.84Schristos 68641.84Schristos# as_fn_arith ARG... 68651.84Schristos# ------------------ 68661.84Schristos# Perform arithmetic evaluation on the ARGs, and store the result in the 68671.84Schristos# global $as_val. Take advantage of shells that can avoid forks. The arguments 68681.84Schristos# must be portable across $(()) and expr. 68691.84Schristosif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 68701.84Schristos eval 'as_fn_arith () 68711.84Schristos { 68721.84Schristos as_val=$(( $* )) 68731.84Schristos }' 68741.84Schristoselse 68751.84Schristos as_fn_arith () 68761.84Schristos { 68771.84Schristos as_val=`expr "$@" || test $? -eq 1` 68781.84Schristos } 68791.84Schristosfi # as_fn_arith 68801.84Schristos 68811.84Schristos 68821.84Schristosif expr a : '\(a\)' >/dev/null 2>&1 && 68831.84Schristos test "X`expr 00001 : '.*\(...\)'`" = X001; then 68841.1Stv as_expr=expr 68851.1Stvelse 68861.1Stv as_expr=false 68871.1Stvfi 68881.1Stv 68891.84Schristosif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 68901.84Schristos as_basename=basename 68911.84Schristoselse 68921.84Schristos as_basename=false 68931.84Schristosfi 68941.84Schristos 68951.84Schristosif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 68961.84Schristos as_dirname=dirname 68971.84Schristoselse 68981.84Schristos as_dirname=false 68991.84Schristosfi 69001.84Schristos 69011.84Schristosas_me=`$as_basename -- "$0" || 69021.84Schristos$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 69031.84Schristos X"$0" : 'X\(//\)$' \| \ 69041.84Schristos X"$0" : 'X\(/\)' \| . 2>/dev/null || 69051.84Schristos$as_echo X/"$0" | 69061.84Schristos sed '/^.*\/\([^/][^/]*\)\/*$/{ 69071.84Schristos s//\1/ 69081.84Schristos q 69091.84Schristos } 69101.84Schristos /^X\/\(\/\/\)$/{ 69111.84Schristos s//\1/ 69121.84Schristos q 69131.84Schristos } 69141.84Schristos /^X\/\(\/\).*/{ 69151.84Schristos s//\1/ 69161.84Schristos q 69171.84Schristos } 69181.84Schristos s/.*/./; q'` 69191.84Schristos 69201.84Schristos# Avoid depending upon Character Ranges. 69211.84Schristosas_cr_letters='abcdefghijklmnopqrstuvwxyz' 69221.84Schristosas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 69231.84Schristosas_cr_Letters=$as_cr_letters$as_cr_LETTERS 69241.84Schristosas_cr_digits='0123456789' 69251.84Schristosas_cr_alnum=$as_cr_Letters$as_cr_digits 69261.84Schristos 69271.84SchristosECHO_C= ECHO_N= ECHO_T= 69281.84Schristoscase `echo -n x` in #((((( 69291.84Schristos-n*) 69301.84Schristos case `echo 'xy\c'` in 69311.84Schristos *c*) ECHO_T=' ';; # ECHO_T is single tab character. 69321.84Schristos xy) ECHO_C='\c';; 69331.84Schristos *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 69341.84Schristos ECHO_T=' ';; 69351.84Schristos esac;; 69361.84Schristos*) 69371.84Schristos ECHO_N='-n';; 69381.84Schristosesac 69391.84Schristos 69401.1Stvrm -f conf$$ conf$$.exe conf$$.file 69411.84Schristosif test -d conf$$.dir; then 69421.84Schristos rm -f conf$$.dir/conf$$.file 69431.84Schristoselse 69441.84Schristos rm -f conf$$.dir 69451.84Schristos mkdir conf$$.dir 2>/dev/null 69461.84Schristosfi 69471.84Schristosif (echo >conf$$.file) 2>/dev/null; then 69481.84Schristos if ln -s conf$$.file conf$$ 2>/dev/null; then 69491.84Schristos as_ln_s='ln -s' 69501.84Schristos # ... but there are two gotchas: 69511.84Schristos # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 69521.84Schristos # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 69531.84Schristos # In both cases, we have to default to `cp -pR'. 69541.84Schristos ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 69551.84Schristos as_ln_s='cp -pR' 69561.84Schristos elif ln conf$$.file conf$$ 2>/dev/null; then 69571.84Schristos as_ln_s=ln 69581.76Spooka else 69591.84Schristos as_ln_s='cp -pR' 69601.66Stsutsui fi 69611.1Stvelse 69621.84Schristos as_ln_s='cp -pR' 69631.1Stvfi 69641.84Schristosrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 69651.84Schristosrmdir conf$$.dir 2>/dev/null 69661.84Schristos 69671.84Schristos 69681.84Schristos# as_fn_mkdir_p 69691.84Schristos# ------------- 69701.84Schristos# Create "$as_dir" as a directory, including parents if necessary. 69711.84Schristosas_fn_mkdir_p () 69721.84Schristos{ 69731.84Schristos 69741.84Schristos case $as_dir in #( 69751.84Schristos -*) as_dir=./$as_dir;; 69761.84Schristos esac 69771.84Schristos test -d "$as_dir" || eval $as_mkdir_p || { 69781.84Schristos as_dirs= 69791.84Schristos while :; do 69801.84Schristos case $as_dir in #( 69811.84Schristos *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 69821.84Schristos *) as_qdir=$as_dir;; 69831.84Schristos esac 69841.84Schristos as_dirs="'$as_qdir' $as_dirs" 69851.84Schristos as_dir=`$as_dirname -- "$as_dir" || 69861.84Schristos$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 69871.84Schristos X"$as_dir" : 'X\(//\)[^/]' \| \ 69881.84Schristos X"$as_dir" : 'X\(//\)$' \| \ 69891.84Schristos X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 69901.84Schristos$as_echo X"$as_dir" | 69911.84Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 69921.84Schristos s//\1/ 69931.84Schristos q 69941.84Schristos } 69951.84Schristos /^X\(\/\/\)[^/].*/{ 69961.84Schristos s//\1/ 69971.84Schristos q 69981.84Schristos } 69991.84Schristos /^X\(\/\/\)$/{ 70001.84Schristos s//\1/ 70011.84Schristos q 70021.84Schristos } 70031.84Schristos /^X\(\/\).*/{ 70041.84Schristos s//\1/ 70051.84Schristos q 70061.84Schristos } 70071.84Schristos s/.*/./; q'` 70081.84Schristos test -d "$as_dir" && break 70091.84Schristos done 70101.84Schristos test -z "$as_dirs" || eval "mkdir $as_dirs" 70111.84Schristos } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 70121.1Stv 70131.63Sapb 70141.84Schristos} # as_fn_mkdir_p 70151.84Schristosif mkdir -p . 2>/dev/null; then 70161.84Schristos as_mkdir_p='mkdir -p "$as_dir"' 70171.61Schristoselse 70181.84Schristos test -d ./-p && rmdir ./-p 70191.84Schristos as_mkdir_p=false 70201.61Schristosfi 70211.61Schristos 70221.1Stv 70231.84Schristos# as_fn_executable_p FILE 70241.84Schristos# ----------------------- 70251.84Schristos# Test if FILE is an executable regular file. 70261.84Schristosas_fn_executable_p () 70271.84Schristos{ 70281.84Schristos test -f "$1" && test -x "$1" 70291.84Schristos} # as_fn_executable_p 70301.84Schristosas_test_x='test -x' 70311.84Schristosas_executable_p=as_fn_executable_p 70321.84Schristos 70331.84Schristos# Sed expression to map a string onto a valid CPP name. 70341.84Schristosas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 70351.84Schristos 70361.84Schristos# Sed expression to map a string onto a valid variable name. 70371.84Schristosas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 70381.1Stv 70391.1Stv 70401.1Stvexec 6>&1 70411.84Schristos## ----------------------------------- ## 70421.84Schristos## Main body of $CONFIG_STATUS script. ## 70431.84Schristos## ----------------------------------- ## 70441.84Schristos_ASEOF 70451.84Schristostest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 70461.84Schristos 70471.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 70481.84Schristos# Save the log message, to keep $0 and so on meaningful, and to 70491.84Schristos# report actual input values of CONFIG_FILES etc. instead of their 70501.84Schristos# values after options handling. 70511.84Schristosac_log=" 70521.84SchristosThis file was extended by libnbcompat $as_me noversion, which was 70531.84Schristosgenerated by GNU Autoconf 2.69. Invocation command line was 70541.84Schristos 70551.84Schristos CONFIG_FILES = $CONFIG_FILES 70561.84Schristos CONFIG_HEADERS = $CONFIG_HEADERS 70571.84Schristos CONFIG_LINKS = $CONFIG_LINKS 70581.84Schristos CONFIG_COMMANDS = $CONFIG_COMMANDS 70591.84Schristos $ $0 $@ 70601.84Schristos 70611.84Schristoson `(hostname || uname -n) 2>/dev/null | sed 1q` 70621.84Schristos" 70631.1Stv 70641.66Stsutsui_ACEOF 70651.1Stv 70661.84Schristoscase $ac_config_files in *" 70671.84Schristos"*) set x $ac_config_files; shift; ac_config_files=$*;; 70681.84Schristosesac 70691.1Stv 70701.84Schristoscase $ac_config_headers in *" 70711.84Schristos"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 70721.84Schristosesac 70731.1Stv 70741.1Stv 70751.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 70761.84Schristos# Files that config.status was made for. 70771.84Schristosconfig_files="$ac_config_files" 70781.84Schristosconfig_headers="$ac_config_headers" 70791.1Stv 70801.84Schristos_ACEOF 70811.1Stv 70821.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 70831.1Stvac_cs_usage="\ 70841.84Schristos\`$as_me' instantiates files and other configuration actions 70851.84Schristosfrom templates according to the current configuration. Unless the files 70861.84Schristosand actions are specified as TAGs, all are instantiated by default. 70871.1Stv 70881.84SchristosUsage: $0 [OPTION]... [TAG]... 70891.1Stv 70901.1Stv -h, --help print this help, then exit 70911.84Schristos -V, --version print version number and configuration settings, then exit 70921.84Schristos --config print configuration, then exit 70931.84Schristos -q, --quiet, --silent 70941.84Schristos do not print progress messages 70951.1Stv -d, --debug don't remove temporary files 70961.1Stv --recheck update $as_me by reconfiguring in the same conditions 70971.84Schristos --file=FILE[:TEMPLATE] 70981.66Stsutsui instantiate the configuration file FILE 70991.84Schristos --header=FILE[:TEMPLATE] 71001.66Stsutsui instantiate the configuration header FILE 71011.1Stv 71021.1StvConfiguration files: 71031.1Stv$config_files 71041.1Stv 71051.1StvConfiguration headers: 71061.1Stv$config_headers 71071.1Stv 71081.84SchristosReport bugs to <lib-bug-people@NetBSD.org>." 71091.1Stv 71101.84Schristos_ACEOF 71111.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 71121.84Schristosac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 71131.1Stvac_cs_version="\\ 71141.1Stvlibnbcompat config.status noversion 71151.84Schristosconfigured by $0, generated by GNU Autoconf 2.69, 71161.84Schristos with options \\"\$ac_cs_config\\" 71171.1Stv 71181.84SchristosCopyright (C) 2012 Free Software Foundation, Inc. 71191.1StvThis config.status script is free software; the Free Software Foundation 71201.1Stvgives unlimited permission to copy, distribute and modify it." 71211.1Stv 71221.84Schristosac_pwd='$ac_pwd' 71231.84Schristossrcdir='$srcdir' 71241.84Schristostest -n "\$AWK" || AWK=awk 71251.84Schristos_ACEOF 71261.84Schristos 71271.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 71281.84Schristos# The default lists apply if the user does not specify any file. 71291.1Stvac_need_defaults=: 71301.1Stvwhile test $# != 0 71311.1Stvdo 71321.1Stv case $1 in 71331.84Schristos --*=?*) 71341.84Schristos ac_option=`expr "X$1" : 'X\([^=]*\)='` 71351.84Schristos ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 71361.84Schristos ac_shift=: 71371.84Schristos ;; 71381.84Schristos --*=) 71391.84Schristos ac_option=`expr "X$1" : 'X\([^=]*\)='` 71401.84Schristos ac_optarg= 71411.84Schristos ac_shift=: 71421.84Schristos ;; 71431.84Schristos *) 71441.84Schristos ac_option=$1 71451.84Schristos ac_optarg=$2 71461.84Schristos ac_shift=shift 71471.1Stv ;; 71481.1Stv esac 71491.1Stv 71501.84Schristos case $ac_option in 71511.1Stv # Handling of the options. 71521.1Stv -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 71531.84Schristos ac_cs_recheck=: ;; 71541.84Schristos --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 71551.84Schristos $as_echo "$ac_cs_version"; exit ;; 71561.84Schristos --config | --confi | --conf | --con | --co | --c ) 71571.84Schristos $as_echo "$ac_cs_config"; exit ;; 71581.84Schristos --debug | --debu | --deb | --de | --d | -d ) 71591.1Stv debug=: ;; 71601.1Stv --file | --fil | --fi | --f ) 71611.84Schristos $ac_shift 71621.84Schristos case $ac_optarg in 71631.84Schristos *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 71641.84Schristos '') as_fn_error $? "missing file argument" ;; 71651.84Schristos esac 71661.84Schristos as_fn_append CONFIG_FILES " '$ac_optarg'" 71671.1Stv ac_need_defaults=false;; 71681.1Stv --header | --heade | --head | --hea ) 71691.84Schristos $ac_shift 71701.84Schristos case $ac_optarg in 71711.84Schristos *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 71721.84Schristos esac 71731.84Schristos as_fn_append CONFIG_HEADERS " '$ac_optarg'" 71741.1Stv ac_need_defaults=false;; 71751.84Schristos --he | --h) 71761.84Schristos # Conflict between --help and --header 71771.84Schristos as_fn_error $? "ambiguous option: \`$1' 71781.84SchristosTry \`$0 --help' for more information.";; 71791.84Schristos --help | --hel | -h ) 71801.84Schristos $as_echo "$ac_cs_usage"; exit ;; 71811.84Schristos -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 71821.84Schristos | -silent | --silent | --silen | --sile | --sil | --si | --s) 71831.84Schristos ac_cs_silent=: ;; 71841.1Stv 71851.1Stv # This is an error. 71861.84Schristos -*) as_fn_error $? "unrecognized option: \`$1' 71871.84SchristosTry \`$0 --help' for more information." ;; 71881.1Stv 71891.84Schristos *) as_fn_append ac_config_targets " $1" 71901.84Schristos ac_need_defaults=false ;; 71911.1Stv 71921.1Stv esac 71931.1Stv shift 71941.1Stvdone 71951.1Stv 71961.84Schristosac_configure_extra_args= 71971.84Schristos 71981.84Schristosif $ac_cs_silent; then 71991.84Schristos exec 6>/dev/null 72001.84Schristos ac_configure_extra_args="$ac_configure_extra_args --silent" 72011.84Schristosfi 72021.74Schristos 72031.84Schristos_ACEOF 72041.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 72051.84Schristosif \$ac_cs_recheck; then 72061.84Schristos set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 72071.84Schristos shift 72081.84Schristos \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 72091.84Schristos CONFIG_SHELL='$SHELL' 72101.84Schristos export CONFIG_SHELL 72111.84Schristos exec "\$@" 72121.84Schristosfi 72131.1Stv 72141.84Schristos_ACEOF 72151.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 72161.84Schristosexec 5>>config.log 72171.84Schristos{ 72181.84Schristos echo 72191.84Schristos sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 72201.84Schristos## Running $as_me. ## 72211.84Schristos_ASBOX 72221.84Schristos $as_echo "$ac_log" 72231.84Schristos} >&5 72241.1Stv 72251.1Stv_ACEOF 72261.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 72271.84Schristos_ACEOF 72281.84Schristos 72291.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 72301.1Stv 72311.84Schristos# Handling of arguments. 72321.1Stvfor ac_config_target in $ac_config_targets 72331.1Stvdo 72341.84Schristos case $ac_config_target in 72351.84Schristos "nbtool_config.h") CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;; 72361.84Schristos "defs.mk") CONFIG_FILES="$CONFIG_FILES defs.mk" ;; 72371.84Schristos 72381.84Schristos *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 72391.1Stv esac 72401.1Stvdone 72411.1Stv 72421.84Schristos 72431.1Stv# If the user did not use the arguments to specify the items to instantiate, 72441.1Stv# then the envvar interface is used. Set only those that are not. 72451.1Stv# We use the long form for the default assignment because of an extremely 72461.1Stv# bizarre bug on SunOS 4.1.3. 72471.1Stvif $ac_need_defaults; then 72481.1Stv test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 72491.1Stv test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 72501.1Stvfi 72511.1Stv 72521.84Schristos# Have a temporary directory for convenience. Make it in the build tree 72531.84Schristos# simply because there is no reason against having it here, and in addition, 72541.84Schristos# creating and moving files from /tmp can sometimes cause problems. 72551.84Schristos# Hook for its removal unless debugging. 72561.84Schristos# Note that there is a small window in which the directory will not be cleaned: 72571.84Schristos# after its creation but before its name has been assigned to `$tmp'. 72581.1Stv$debug || 72591.1Stv{ 72601.84Schristos tmp= ac_tmp= 72611.84Schristos trap 'exit_status=$? 72621.84Schristos : "${ac_tmp:=$tmp}" 72631.84Schristos { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 72641.84Schristos' 0 72651.84Schristos trap 'as_fn_exit 1' 1 2 13 15 72661.1Stv} 72671.84Schristos# Create a (secure) tmp directory for tmp files. 72681.76Spooka 72691.1Stv{ 72701.84Schristos tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 72711.84Schristos test -d "$tmp" 72721.1Stv} || 72731.1Stv{ 72741.84Schristos tmp=./conf$$-$RANDOM 72751.84Schristos (umask 077 && mkdir "$tmp") 72761.84Schristos} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 72771.84Schristosac_tmp=$tmp 72781.1Stv 72791.84Schristos# Set up the scripts for CONFIG_FILES section. 72801.84Schristos# No need to generate them if there are no CONFIG_FILES. 72811.84Schristos# This happens for instance with `./config.status config.h'. 72821.84Schristosif test -n "$CONFIG_FILES"; then 72831.66Stsutsui 72841.66Stsutsui 72851.84Schristosac_cr=`echo X | tr X '\015'` 72861.84Schristos# On cygwin, bash can eat \r inside `` if the user requested igncr. 72871.84Schristos# But we know of no other shell where ac_cr would be empty at this 72881.84Schristos# point, so we can use a bashism as a fallback. 72891.84Schristosif test "x$ac_cr" = x; then 72901.84Schristos eval ac_cr=\$\'\\r\' 72911.84Schristosfi 72921.84Schristosac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 72931.84Schristosif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 72941.84Schristos ac_cs_awk_cr='\\r' 72951.84Schristoselse 72961.84Schristos ac_cs_awk_cr=$ac_cr 72971.84Schristosfi 72981.1Stv 72991.84Schristosecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 73001.84Schristos_ACEOF 73011.65Schristos 73021.65Schristos 73031.84Schristos{ 73041.84Schristos echo "cat >conf$$subs.awk <<_ACEOF" && 73051.84Schristos echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 73061.84Schristos echo "_ACEOF" 73071.84Schristos} >conf$$subs.sh || 73081.84Schristos as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 73091.84Schristosac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 73101.84Schristosac_delim='%!_!# ' 73111.84Schristosfor ac_last_try in false false false false false :; do 73121.84Schristos . ./conf$$subs.sh || 73131.84Schristos as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 73141.65Schristos 73151.84Schristos ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 73161.84Schristos if test $ac_delim_n = $ac_delim_num; then 73171.84Schristos break 73181.84Schristos elif $ac_last_try; then 73191.84Schristos as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 73201.65Schristos else 73211.84Schristos ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 73221.1Stv fi 73231.84Schristosdone 73241.84Schristosrm -f conf$$subs.sh 73251.65Schristos 73261.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 73271.84Schristoscat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 73281.84Schristos_ACEOF 73291.84Schristossed -n ' 73301.84Schristosh 73311.84Schristoss/^/S["/; s/!.*/"]=/ 73321.84Schristosp 73331.84Schristosg 73341.84Schristoss/^[^!]*!// 73351.84Schristos:repl 73361.84Schristost repl 73371.84Schristoss/'"$ac_delim"'$// 73381.84Schristost delim 73391.84Schristos:nl 73401.84Schristosh 73411.84Schristoss/\(.\{148\}\)..*/\1/ 73421.84Schristost more1 73431.84Schristoss/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 73441.84Schristosp 73451.84Schristosn 73461.84Schristosb repl 73471.84Schristos:more1 73481.84Schristoss/["\\]/\\&/g; s/^/"/; s/$/"\\/ 73491.84Schristosp 73501.84Schristosg 73511.84Schristoss/.\{148\}// 73521.84Schristost nl 73531.84Schristos:delim 73541.84Schristosh 73551.84Schristoss/\(.\{148\}\)..*/\1/ 73561.84Schristost more2 73571.84Schristoss/["\\]/\\&/g; s/^/"/; s/$/"/ 73581.84Schristosp 73591.84Schristosb 73601.84Schristos:more2 73611.84Schristoss/["\\]/\\&/g; s/^/"/; s/$/"\\/ 73621.84Schristosp 73631.84Schristosg 73641.84Schristoss/.\{148\}// 73651.84Schristost delim 73661.84Schristos' <conf$$subs.awk | sed ' 73671.84Schristos/^[^""]/{ 73681.84Schristos N 73691.84Schristos s/\n// 73701.84Schristos} 73711.84Schristos' >>$CONFIG_STATUS || ac_write_fail=1 73721.84Schristosrm -f conf$$subs.awk 73731.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 73741.84Schristos_ACAWK 73751.84Schristoscat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 73761.84Schristos for (key in S) S_is_set[key] = 1 73771.84Schristos FS = "" 73781.84Schristos 73791.84Schristos} 73801.84Schristos{ 73811.84Schristos line = $ 0 73821.84Schristos nfields = split(line, field, "@") 73831.84Schristos substed = 0 73841.84Schristos len = length(field[1]) 73851.84Schristos for (i = 2; i < nfields; i++) { 73861.84Schristos key = field[i] 73871.84Schristos keylen = length(key) 73881.84Schristos if (S_is_set[key]) { 73891.84Schristos value = S[key] 73901.84Schristos line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 73911.84Schristos len += length(value) + length(field[++i]) 73921.84Schristos substed = 1 73931.84Schristos } else 73941.84Schristos len += 1 + keylen 73951.84Schristos } 73961.84Schristos 73971.84Schristos print line 73981.84Schristos} 73991.84Schristos 74001.84Schristos_ACAWK 74011.84Schristos_ACEOF 74021.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 74031.84Schristosif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 74041.84Schristos sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 74051.84Schristoselse 74061.84Schristos cat 74071.84Schristosfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 74081.84Schristos || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 74091.84Schristos_ACEOF 74101.84Schristos 74111.84Schristos# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 74121.84Schristos# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 74131.84Schristos# trailing colons and then remove the whole line if VPATH becomes empty 74141.84Schristos# (actually we leave an empty line to preserve line numbers). 74151.84Schristosif test "x$srcdir" = x.; then 74161.84Schristos ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 74171.84Schristosh 74181.84Schristoss/// 74191.84Schristoss/^/:/ 74201.84Schristoss/[ ]*$/:/ 74211.84Schristoss/:\$(srcdir):/:/g 74221.84Schristoss/:\${srcdir}:/:/g 74231.84Schristoss/:@srcdir@:/:/g 74241.84Schristoss/^:*// 74251.84Schristoss/:*$// 74261.84Schristosx 74271.84Schristoss/\(=[ ]*\).*/\1/ 74281.84SchristosG 74291.84Schristoss/\n// 74301.84Schristoss/^[^=]*=[ ]*$// 74311.84Schristos}' 74321.84Schristosfi 74331.84Schristos 74341.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 74351.84Schristosfi # test -n "$CONFIG_FILES" 74361.74Schristos 74371.84Schristos# Set up the scripts for CONFIG_HEADERS section. 74381.84Schristos# No need to generate them if there are no CONFIG_HEADERS. 74391.84Schristos# This happens for instance with `./config.status Makefile'. 74401.84Schristosif test -n "$CONFIG_HEADERS"; then 74411.84Schristoscat >"$ac_tmp/defines.awk" <<\_ACAWK || 74421.84SchristosBEGIN { 74431.84Schristos_ACEOF 74441.84Schristos 74451.84Schristos# Transform confdefs.h into an awk script `defines.awk', embedded as 74461.84Schristos# here-document in config.status, that substitutes the proper values into 74471.84Schristos# config.h.in to produce config.h. 74481.84Schristos 74491.84Schristos# Create a delimiter string that does not exist in confdefs.h, to ease 74501.84Schristos# handling of long lines. 74511.84Schristosac_delim='%!_!# ' 74521.84Schristosfor ac_last_try in false false :; do 74531.84Schristos ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 74541.84Schristos if test -z "$ac_tt"; then 74551.84Schristos break 74561.84Schristos elif $ac_last_try; then 74571.84Schristos as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 74581.66Stsutsui else 74591.84Schristos ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 74601.66Stsutsui fi 74611.66Stsutsuidone 74621.66Stsutsui 74631.84Schristos# For the awk script, D is an array of macro values keyed by name, 74641.84Schristos# likewise P contains macro parameters if any. Preserve backslash 74651.84Schristos# newline sequences. 74661.84Schristos 74671.84Schristosac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 74681.84Schristossed -n ' 74691.84Schristoss/.\{148\}/&'"$ac_delim"'/g 74701.84Schristost rset 74711.84Schristos:rset 74721.84Schristoss/^[ ]*#[ ]*define[ ][ ]*/ / 74731.84Schristost def 74741.84Schristosd 74751.84Schristos:def 74761.84Schristoss/\\$// 74771.84Schristost bsnl 74781.84Schristoss/["\\]/\\&/g 74791.84Schristoss/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 74801.84SchristosD["\1"]=" \3"/p 74811.84Schristoss/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 74821.84Schristosd 74831.84Schristos:bsnl 74841.84Schristoss/["\\]/\\&/g 74851.84Schristoss/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 74861.84SchristosD["\1"]=" \3\\\\\\n"\\/p 74871.84Schristost cont 74881.84Schristoss/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 74891.84Schristost cont 74901.84Schristosd 74911.84Schristos:cont 74921.84Schristosn 74931.84Schristoss/.\{148\}/&'"$ac_delim"'/g 74941.84Schristost clear 74951.84Schristos:clear 74961.84Schristoss/\\$// 74971.84Schristost bsnlc 74981.84Schristoss/["\\]/\\&/g; s/^/"/; s/$/"/p 74991.84Schristosd 75001.84Schristos:bsnlc 75011.84Schristoss/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 75021.84Schristosb cont 75031.84Schristos' <confdefs.h | sed ' 75041.84Schristoss/'"$ac_delim"'/"\\\ 75051.84Schristos"/g' >>$CONFIG_STATUS || ac_write_fail=1 75061.84Schristos 75071.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 75081.84Schristos for (key in D) D_is_set[key] = 1 75091.84Schristos FS = "" 75101.84Schristos} 75111.84Schristos/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 75121.84Schristos line = \$ 0 75131.84Schristos split(line, arg, " ") 75141.84Schristos if (arg[1] == "#") { 75151.84Schristos defundef = arg[2] 75161.84Schristos mac1 = arg[3] 75171.84Schristos } else { 75181.84Schristos defundef = substr(arg[1], 2) 75191.84Schristos mac1 = arg[2] 75201.84Schristos } 75211.84Schristos split(mac1, mac2, "(") #) 75221.84Schristos macro = mac2[1] 75231.84Schristos prefix = substr(line, 1, index(line, defundef) - 1) 75241.84Schristos if (D_is_set[macro]) { 75251.84Schristos # Preserve the white space surrounding the "#". 75261.84Schristos print prefix "define", macro P[macro] D[macro] 75271.84Schristos next 75281.84Schristos } else { 75291.84Schristos # Replace #undef with comments. This is necessary, for example, 75301.84Schristos # in the case of _POSIX_SOURCE, which is predefined and required 75311.84Schristos # on some systems where configure will not decide to define it. 75321.84Schristos if (defundef == "undef") { 75331.84Schristos print "/*", prefix defundef, macro, "*/" 75341.84Schristos next 75351.84Schristos } 75361.84Schristos } 75371.84Schristos} 75381.84Schristos{ print } 75391.84Schristos_ACAWK 75401.84Schristos_ACEOF 75411.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 75421.84Schristos as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 75431.84Schristosfi # test -n "$CONFIG_HEADERS" 75441.66Stsutsui 75451.1Stv 75461.84Schristoseval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 75471.84Schristosshift 75481.84Schristosfor ac_tag 75491.84Schristosdo 75501.84Schristos case $ac_tag in 75511.84Schristos :[FHLC]) ac_mode=$ac_tag; continue;; 75521.84Schristos esac 75531.84Schristos case $ac_mode$ac_tag in 75541.84Schristos :[FHL]*:*);; 75551.84Schristos :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 75561.84Schristos :[FH]-) ac_tag=-:-;; 75571.84Schristos :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 75581.74Schristos esac 75591.84Schristos ac_save_IFS=$IFS 75601.84Schristos IFS=: 75611.84Schristos set x $ac_tag 75621.84Schristos IFS=$ac_save_IFS 75631.84Schristos shift 75641.84Schristos ac_file=$1 75651.84Schristos shift 75661.84Schristos 75671.84Schristos case $ac_mode in 75681.84Schristos :L) ac_source=$1;; 75691.84Schristos :[FH]) 75701.84Schristos ac_file_inputs= 75711.84Schristos for ac_f 75721.84Schristos do 75731.84Schristos case $ac_f in 75741.84Schristos -) ac_f="$ac_tmp/stdin";; 75751.84Schristos *) # Look for the file first in the build tree, then in the source tree 75761.84Schristos # (if the path is not absolute). The absolute path cannot be DOS-style, 75771.84Schristos # because $ac_f cannot contain `:'. 75781.84Schristos test -f "$ac_f" || 75791.84Schristos case $ac_f in 75801.84Schristos [\\/$]*) false;; 75811.84Schristos *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 75821.84Schristos esac || 75831.84Schristos as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 75841.84Schristos esac 75851.84Schristos case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 75861.84Schristos as_fn_append ac_file_inputs " '$ac_f'" 75871.84Schristos done 75881.74Schristos 75891.84Schristos # Let's still pretend it is `configure' which instantiates (i.e., don't 75901.84Schristos # use $as_me), people would be surprised to read: 75911.84Schristos # /* config.h. Generated by config.status. */ 75921.84Schristos configure_input='Generated from '` 75931.84Schristos $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 75941.84Schristos `' by configure.' 75951.84Schristos if test x"$ac_file" != x-; then 75961.84Schristos configure_input="$ac_file. $configure_input" 75971.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 75981.84Schristos$as_echo "$as_me: creating $ac_file" >&6;} 75991.84Schristos fi 76001.84Schristos # Neutralize special characters interpreted by sed in replacement strings. 76011.84Schristos case $configure_input in #( 76021.84Schristos *\&* | *\|* | *\\* ) 76031.84Schristos ac_sed_conf_input=`$as_echo "$configure_input" | 76041.84Schristos sed 's/[\\\\&|]/\\\\&/g'`;; #( 76051.84Schristos *) ac_sed_conf_input=$configure_input;; 76061.84Schristos esac 76071.76Spooka 76081.84Schristos case $ac_tag in 76091.84Schristos *:-:* | *:-) cat >"$ac_tmp/stdin" \ 76101.84Schristos || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 76111.84Schristos esac 76121.66Stsutsui ;; 76131.66Stsutsui esac 76141.66Stsutsui 76151.84Schristos ac_dir=`$as_dirname -- "$ac_file" || 76161.84Schristos$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 76171.84Schristos X"$ac_file" : 'X\(//\)[^/]' \| \ 76181.84Schristos X"$ac_file" : 'X\(//\)$' \| \ 76191.84Schristos X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 76201.84Schristos$as_echo X"$ac_file" | 76211.84Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 76221.84Schristos s//\1/ 76231.84Schristos q 76241.84Schristos } 76251.84Schristos /^X\(\/\/\)[^/].*/{ 76261.84Schristos s//\1/ 76271.84Schristos q 76281.84Schristos } 76291.84Schristos /^X\(\/\/\)$/{ 76301.84Schristos s//\1/ 76311.84Schristos q 76321.84Schristos } 76331.84Schristos /^X\(\/\).*/{ 76341.84Schristos s//\1/ 76351.84Schristos q 76361.84Schristos } 76371.84Schristos s/.*/./; q'` 76381.84Schristos as_dir="$ac_dir"; as_fn_mkdir_p 76391.84Schristos ac_builddir=. 76401.84Schristos 76411.84Schristoscase "$ac_dir" in 76421.84Schristos.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 76431.84Schristos*) 76441.84Schristos ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 76451.84Schristos # A ".." for each directory in $ac_dir_suffix. 76461.84Schristos ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 76471.84Schristos case $ac_top_builddir_sub in 76481.84Schristos "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 76491.84Schristos *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 76501.84Schristos esac ;; 76511.84Schristosesac 76521.84Schristosac_abs_top_builddir=$ac_pwd 76531.84Schristosac_abs_builddir=$ac_pwd$ac_dir_suffix 76541.84Schristos# for backward compatibility: 76551.84Schristosac_top_builddir=$ac_top_build_prefix 76561.84Schristos 76571.84Schristoscase $srcdir in 76581.84Schristos .) # We are building in place. 76591.84Schristos ac_srcdir=. 76601.84Schristos ac_top_srcdir=$ac_top_builddir_sub 76611.84Schristos ac_abs_top_srcdir=$ac_pwd ;; 76621.84Schristos [\\/]* | ?:[\\/]* ) # Absolute name. 76631.84Schristos ac_srcdir=$srcdir$ac_dir_suffix; 76641.84Schristos ac_top_srcdir=$srcdir 76651.84Schristos ac_abs_top_srcdir=$srcdir ;; 76661.84Schristos *) # Relative name. 76671.84Schristos ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 76681.84Schristos ac_top_srcdir=$ac_top_build_prefix$srcdir 76691.84Schristos ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 76701.84Schristosesac 76711.84Schristosac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 76721.84Schristos 76731.84Schristos 76741.84Schristos case $ac_mode in 76751.84Schristos :F) 76761.84Schristos # 76771.84Schristos # CONFIG_FILE 76781.84Schristos # 76791.84Schristos 76801.84Schristos_ACEOF 76811.84Schristos 76821.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 76831.84Schristos# If the template does not know about datarootdir, expand it. 76841.84Schristos# FIXME: This hack should be removed a few years after 2.60. 76851.84Schristosac_datarootdir_hack=; ac_datarootdir_seen= 76861.84Schristosac_sed_dataroot=' 76871.84Schristos/datarootdir/ { 76881.84Schristos p 76891.84Schristos q 76901.84Schristos} 76911.84Schristos/@datadir@/p 76921.84Schristos/@docdir@/p 76931.84Schristos/@infodir@/p 76941.84Schristos/@localedir@/p 76951.84Schristos/@mandir@/p' 76961.84Schristoscase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 76971.84Schristos*datarootdir*) ac_datarootdir_seen=yes;; 76981.84Schristos*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 76991.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 77001.84Schristos$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 77011.84Schristos_ACEOF 77021.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 77031.84Schristos ac_datarootdir_hack=' 77041.84Schristos s&@datadir@&$datadir&g 77051.84Schristos s&@docdir@&$docdir&g 77061.84Schristos s&@infodir@&$infodir&g 77071.84Schristos s&@localedir@&$localedir&g 77081.84Schristos s&@mandir@&$mandir&g 77091.84Schristos s&\\\${datarootdir}&$datarootdir&g' ;; 77101.84Schristosesac 77111.84Schristos_ACEOF 77121.84Schristos 77131.84Schristos# Neutralize VPATH when `$srcdir' = `.'. 77141.84Schristos# Shell code in configure.ac might set extrasub. 77151.84Schristos# FIXME: do we really want to maintain this feature? 77161.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 77171.84Schristosac_sed_extra="$ac_vpsub 77181.84Schristos$extrasub 77191.84Schristos_ACEOF 77201.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 77211.84Schristos:t 77221.84Schristos/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 77231.84Schristoss|@configure_input@|$ac_sed_conf_input|;t t 77241.84Schristoss&@top_builddir@&$ac_top_builddir_sub&;t t 77251.84Schristoss&@top_build_prefix@&$ac_top_build_prefix&;t t 77261.84Schristoss&@srcdir@&$ac_srcdir&;t t 77271.84Schristoss&@abs_srcdir@&$ac_abs_srcdir&;t t 77281.84Schristoss&@top_srcdir@&$ac_top_srcdir&;t t 77291.84Schristoss&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 77301.84Schristoss&@builddir@&$ac_builddir&;t t 77311.84Schristoss&@abs_builddir@&$ac_abs_builddir&;t t 77321.84Schristoss&@abs_top_builddir@&$ac_abs_top_builddir&;t t 77331.84Schristos$ac_datarootdir_hack 77341.84Schristos" 77351.84Schristoseval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 77361.84Schristos >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 77371.84Schristos 77381.84Schristostest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 77391.84Schristos { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 77401.84Schristos { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 77411.84Schristos "$ac_tmp/out"`; test -z "$ac_out"; } && 77421.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 77431.84Schristoswhich seems to be undefined. Please make sure it is defined" >&5 77441.84Schristos$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 77451.84Schristoswhich seems to be undefined. Please make sure it is defined" >&2;} 77461.84Schristos 77471.84Schristos rm -f "$ac_tmp/stdin" 77481.84Schristos case $ac_file in 77491.84Schristos -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 77501.84Schristos *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 77511.84Schristos esac \ 77521.84Schristos || as_fn_error $? "could not create $ac_file" "$LINENO" 5 77531.84Schristos ;; 77541.84Schristos :H) 77551.84Schristos # 77561.84Schristos # CONFIG_HEADER 77571.84Schristos # 77581.84Schristos if test x"$ac_file" != x-; then 77591.84Schristos { 77601.84Schristos $as_echo "/* $configure_input */" \ 77611.84Schristos && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 77621.84Schristos } >"$ac_tmp/config.h" \ 77631.84Schristos || as_fn_error $? "could not create $ac_file" "$LINENO" 5 77641.84Schristos if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 77651.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 77661.84Schristos$as_echo "$as_me: $ac_file is unchanged" >&6;} 77671.84Schristos else 77681.84Schristos rm -f "$ac_file" 77691.84Schristos mv "$ac_tmp/config.h" "$ac_file" \ 77701.84Schristos || as_fn_error $? "could not create $ac_file" "$LINENO" 5 77711.1Stv fi 77721.1Stv else 77731.84Schristos $as_echo "/* $configure_input */" \ 77741.84Schristos && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 77751.84Schristos || as_fn_error $? "could not create -" "$LINENO" 5 77761.1Stv fi 77771.84Schristos ;; 77781.84Schristos 77791.84Schristos 77801.84Schristos esac 77811.84Schristos 77821.84Schristosdone # for ac_tag 77831.74Schristos 77841.74Schristos 77851.84Schristosas_fn_exit 0 77861.84Schristos_ACEOF 77871.1Stvac_clean_files=$ac_clean_files_save 77881.1Stv 77891.84Schristostest $ac_write_fail = 0 || 77901.84Schristos as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 77911.84Schristos 77921.84Schristos 77931.1Stv# configure is writing to config.log, and then calls config.status. 77941.1Stv# config.status does its own redirection, appending to config.log. 77951.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open 77961.1Stv# by configure, so config.status won't be able to write to it; its 77971.1Stv# output is simply discarded. So we exec the FD to /dev/null, 77981.1Stv# effectively closing config.log, so it can be properly (re)opened and 77991.1Stv# appended to by config.status. When coming back to configure, we 78001.1Stv# need to make the FD available again. 78011.1Stvif test "$no_create" != yes; then 78021.1Stv ac_cs_success=: 78031.84Schristos ac_config_status_args= 78041.84Schristos test "$silent" = yes && 78051.84Schristos ac_config_status_args="$ac_config_status_args --quiet" 78061.1Stv exec 5>/dev/null 78071.84Schristos $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 78081.1Stv exec 5>>config.log 78091.1Stv # Use ||, not &&, to avoid exiting from the if with $? = 1, which 78101.1Stv # would make configure fail if this is the last instruction. 78111.84Schristos $ac_cs_success || as_fn_exit 1 78121.84Schristosfi 78131.84Schristosif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 78141.84Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 78151.84Schristos$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 78161.1Stvfi 78171.96Shannken 78181.102Slukem 78191.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: ========= Configuration results =========" >&5 78201.102Slukem$as_echo "$as_me: ========= Configuration results =========" >&6;} 78211.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: CC $CC" >&5 78221.102Slukem$as_echo "$as_me: CC $CC" >&6;} 78231.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: CC_NO_CPP_PRECOMP $CC_NO_CPP_PRECOMP" >&5 78241.102Slukem$as_echo "$as_me: CC_NO_CPP_PRECOMP $CC_NO_CPP_PRECOMP" >&6;} 78251.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_FORMAT_TRUNCATION $CC_WNO_FORMAT_TRUNCATION" >&5 78261.102Slukem$as_echo "$as_me: CC_WNO_FORMAT_TRUNCATION $CC_WNO_FORMAT_TRUNCATION" >&6;} 78271.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_MAYBE_UNINITIALIZED $CC_WNO_MAYBE_UNINITIALIZED" >&5 78281.102Slukem$as_echo "$as_me: CC_WNO_MAYBE_UNINITIALIZED $CC_WNO_MAYBE_UNINITIALIZED" >&6;} 78291.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_STRINGOP_OVERFLOW $CC_WNO_STRINGOP_OVERFLOW" >&5 78301.102Slukem$as_echo "$as_me: CC_WNO_STRINGOP_OVERFLOW $CC_WNO_STRINGOP_OVERFLOW" >&6;} 78311.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: CC_WNO_STRINGOP_TRUNCATION $CC_WNO_STRINGOP_TRUNCATION" >&5 78321.102Slukem$as_echo "$as_me: CC_WNO_STRINGOP_TRUNCATION $CC_WNO_STRINGOP_TRUNCATION" >&6;} 78331.102Slukem 78341.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: LIBS $LIBS" >&5 78351.102Slukem$as_echo "$as_me: LIBS $LIBS" >&6;} 78361.102Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: =========================================" >&5 78371.102Slukem$as_echo "$as_me: =========================================" >&6;} 7838