configure revision 1.109
11.1Stv#! /bin/sh 21.1Stv# Guess values for system-dependent variables and create Makefiles. 31.108Schristos# Generated by GNU Autoconf 2.72 for libnbcompat noversion. 41.1Stv# 51.41Ssalo# Report bugs to <lib-bug-people@NetBSD.org>. 61.1Stv# 71.84Schristos# 81.108Schristos# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, 91.108Schristos# Inc. 101.84Schristos# 111.84Schristos# 121.1Stv# This configure script is free software; the Free Software Foundation 131.1Stv# gives unlimited permission to copy, distribute and modify it. 141.84Schristos## -------------------- ## 151.84Schristos## M4sh Initialization. ## 161.84Schristos## -------------------- ## 171.84Schristos 181.84Schristos# Be more Bourne compatible 191.84SchristosDUALCASE=1; export DUALCASE # for MKS sh 201.108Schristosif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 211.108Schristosthen : 221.84Schristos emulate sh 231.84Schristos NULLCMD=: 241.84Schristos # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 251.84Schristos # is contrary to our usage. Disable this feature. 261.84Schristos alias -g '${1+"$@"}'='"$@"' 271.84Schristos setopt NO_GLOB_SUBST 281.108Schristoselse case e in #( 291.108Schristos e) case `(set -o) 2>/dev/null` in #( 301.84Schristos *posix*) : 311.84Schristos set -o posix ;; #( 321.84Schristos *) : 331.84Schristos ;; 341.108Schristosesac ;; 351.84Schristosesac 361.84Schristosfi 371.84Schristos 381.84Schristos 391.108Schristos 401.108Schristos# Reset variables that may have inherited troublesome values from 411.108Schristos# the environment. 421.108Schristos 431.108Schristos# IFS needs to be set, to space, tab, and newline, in precisely that order. 441.108Schristos# (If _AS_PATH_WALK were called with IFS unset, it would have the 451.108Schristos# side effect of setting IFS to empty, thus disabling word splitting.) 461.108Schristos# Quoting is to prevent editors from complaining about space-tab. 471.84Schristosas_nl=' 481.84Schristos' 491.84Schristosexport as_nl 501.108SchristosIFS=" "" $as_nl" 511.108Schristos 521.108SchristosPS1='$ ' 531.108SchristosPS2='> ' 541.108SchristosPS4='+ ' 551.108Schristos 561.108Schristos# Ensure predictable behavior from utilities with locale-dependent output. 571.108SchristosLC_ALL=C 581.108Schristosexport LC_ALL 591.108SchristosLANGUAGE=C 601.108Schristosexport LANGUAGE 611.108Schristos 621.108Schristos# We cannot yet rely on "unset" to work, but we need these variables 631.108Schristos# to be unset--not just set to an empty or harmless value--now, to 641.108Schristos# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 651.108Schristos# also avoids known problems related to "unset" and subshell syntax 661.108Schristos# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 671.108Schristosfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 681.108Schristosdo eval test \${$as_var+y} \ 691.108Schristos && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 701.108Schristosdone 711.108Schristos 721.108Schristos# Ensure that fds 0, 1, and 2 are open. 731.108Schristosif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 741.108Schristosif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 751.108Schristosif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 761.84Schristos 771.84Schristos# The user is always right. 781.108Schristosif ${PATH_SEPARATOR+false} :; then 791.84Schristos PATH_SEPARATOR=: 801.84Schristos (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 811.84Schristos (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 821.84Schristos PATH_SEPARATOR=';' 831.84Schristos } 841.84Schristosfi 851.74Schristos 861.74Schristos 871.84Schristos# Find who we are. Look in the path if we contain no directory separator. 881.84Schristosas_myself= 891.84Schristoscase $0 in #(( 901.84Schristos *[\\/]* ) as_myself=$0 ;; 911.84Schristos *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 921.84Schristosfor as_dir in $PATH 931.84Schristosdo 941.84Schristos IFS=$as_save_IFS 951.108Schristos case $as_dir in #((( 961.108Schristos '') as_dir=./ ;; 971.108Schristos */) ;; 981.108Schristos *) as_dir=$as_dir/ ;; 991.108Schristos esac 1001.108Schristos 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.108Schristos# 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.108Schristos printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1131.84Schristos exit 1 1141.84Schristosfi 1151.84Schristos 1161.65Schristos 1171.84Schristos# Use a proper internal environment variable to ensure we don't fall 1181.84Schristos # into an infinite loop, continuously re-executing ourselves. 1191.84Schristos if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 1201.84Schristos _as_can_reexec=no; export _as_can_reexec; 1211.84Schristos # We cannot yet assume a decent shell, so we have to provide a 1221.84Schristos# neutralization value for shells without unset; and this also 1231.84Schristos# works around shells that cannot unset nonexistent variables. 1241.84Schristos# Preserve -v and -x to the replacement shell. 1251.84SchristosBASH_ENV=/dev/null 1261.84SchristosENV=/dev/null 1271.84Schristos(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 1281.84Schristoscase $- in # (((( 1291.84Schristos *v*x* | *x*v* ) as_opts=-vx ;; 1301.84Schristos *v* ) as_opts=-v ;; 1311.84Schristos *x* ) as_opts=-x ;; 1321.84Schristos * ) as_opts= ;; 1331.84Schristosesac 1341.84Schristosexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 1351.84Schristos# Admittedly, this is quite paranoid, since all the known shells bail 1361.108Schristos# out after a failed 'exec'. 1371.108Schristosprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 1381.108Schristosexit 255 1391.84Schristos fi 1401.84Schristos # We don't want this to propagate to other subprocesses. 1411.84Schristos { _as_can_reexec=; unset _as_can_reexec;} 1421.84Schristosif test "x$CONFIG_SHELL" = x; then 1431.108Schristos as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 1441.108Schristosthen : 1451.65Schristos emulate sh 1461.65Schristos NULLCMD=: 1471.84Schristos # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1481.84Schristos # is contrary to our usage. Disable this feature. 1491.84Schristos alias -g '\${1+\"\$@\"}'='\"\$@\"' 1501.84Schristos setopt NO_GLOB_SUBST 1511.108Schristoselse case e in #( 1521.108Schristos e) case \`(set -o) 2>/dev/null\` in #( 1531.84Schristos *posix*) : 1541.84Schristos set -o posix ;; #( 1551.84Schristos *) : 1561.84Schristos ;; 1571.108Schristosesac ;; 1581.84Schristosesac 1591.84Schristosfi 1601.84Schristos" 1611.84Schristos as_required="as_fn_return () { (exit \$1); } 1621.84Schristosas_fn_success () { as_fn_return 0; } 1631.84Schristosas_fn_failure () { as_fn_return 1; } 1641.84Schristosas_fn_ret_success () { return 0; } 1651.84Schristosas_fn_ret_failure () { return 1; } 1661.84Schristos 1671.84Schristosexitcode=0 1681.84Schristosas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1691.84Schristosas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1701.84Schristosas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1711.84Schristosas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1721.108Schristosif ( set x; as_fn_ret_success y && test x = \"\$1\" ) 1731.108Schristosthen : 1741.84Schristos 1751.108Schristoselse case e in #( 1761.108Schristos e) exitcode=1; echo positional parameters were not saved. ;; 1771.108Schristosesac 1781.84Schristosfi 1791.84Schristostest x\$exitcode = x0 || exit 1 1801.108Schristosblah=\$(echo \$(echo blah)) 1811.108Schristostest x\"\$blah\" = xblah || exit 1 1821.84Schristostest -x / || exit 1" 1831.84Schristos as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1841.84Schristos as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1851.84Schristos eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1861.84Schristos test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1871.84Schristostest \$(( 1 + 1 )) = 2 || exit 1" 1881.108Schristos if (eval "$as_required") 2>/dev/null 1891.108Schristosthen : 1901.84Schristos as_have_required=yes 1911.108Schristoselse case e in #( 1921.108Schristos e) as_have_required=no ;; 1931.108Schristosesac 1941.84Schristosfi 1951.108Schristos if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 1961.108Schristosthen : 1971.84Schristos 1981.108Schristoselse case e in #( 1991.108Schristos e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2001.84Schristosas_found=false 2011.84Schristosfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2021.84Schristosdo 2031.84Schristos IFS=$as_save_IFS 2041.108Schristos case $as_dir in #((( 2051.108Schristos '') as_dir=./ ;; 2061.108Schristos */) ;; 2071.108Schristos *) as_dir=$as_dir/ ;; 2081.108Schristos esac 2091.84Schristos as_found=: 2101.84Schristos case $as_dir in #( 2111.84Schristos /*) 2121.84Schristos for as_base in sh bash ksh sh5; do 2131.84Schristos # Try only shells that exist, to save several forks. 2141.108Schristos as_shell=$as_dir$as_base 2151.84Schristos if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2161.108Schristos as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 2171.108Schristosthen : 2181.84Schristos CONFIG_SHELL=$as_shell as_have_required=yes 2191.108Schristos if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 2201.108Schristosthen : 2211.84Schristos break 2 2221.84Schristosfi 2231.84Schristosfi 2241.84Schristos done;; 2251.84Schristos esac 2261.84Schristos as_found=false 2271.84Schristosdone 2281.108SchristosIFS=$as_save_IFS 2291.108Schristosif $as_found 2301.108Schristosthen : 2311.108Schristos 2321.108Schristoselse case e in #( 2331.108Schristos e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2341.108Schristos as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 2351.108Schristosthen : 2361.84Schristos CONFIG_SHELL=$SHELL as_have_required=yes 2371.108Schristosfi ;; 2381.108Schristosesac 2391.108Schristosfi 2401.84Schristos 2411.84Schristos 2421.108Schristos if test "x$CONFIG_SHELL" != x 2431.108Schristosthen : 2441.84Schristos export CONFIG_SHELL 2451.84Schristos # We cannot yet assume a decent shell, so we have to provide a 2461.84Schristos# neutralization value for shells without unset; and this also 2471.84Schristos# works around shells that cannot unset nonexistent variables. 2481.84Schristos# Preserve -v and -x to the replacement shell. 2491.84SchristosBASH_ENV=/dev/null 2501.84SchristosENV=/dev/null 2511.84Schristos(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2521.84Schristoscase $- in # (((( 2531.84Schristos *v*x* | *x*v* ) as_opts=-vx ;; 2541.84Schristos *v* ) as_opts=-v ;; 2551.84Schristos *x* ) as_opts=-x ;; 2561.84Schristos * ) as_opts= ;; 2571.84Schristosesac 2581.84Schristosexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 2591.84Schristos# Admittedly, this is quite paranoid, since all the known shells bail 2601.108Schristos# out after a failed 'exec'. 2611.108Schristosprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 2621.84Schristosexit 255 2631.65Schristosfi 2641.61Schristos 2651.108Schristos if test x$as_have_required = xno 2661.108Schristosthen : 2671.108Schristos printf "%s\n" "$0: This script requires a shell more modern than all" 2681.108Schristos printf "%s\n" "$0: the shells that I found on your system." 2691.108Schristos if test ${ZSH_VERSION+y} ; then 2701.108Schristos printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2711.108Schristos printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 2721.84Schristos else 2731.108Schristos printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 2741.84Schristos$0: lib-bug-people@NetBSD.org about your system, including 2751.84Schristos$0: any error possibly output before this message. Then 2761.84Schristos$0: install a modern shell, or manually run the script 2771.84Schristos$0: under such a shell if you do have one." 2781.84Schristos fi 2791.84Schristos exit 1 2801.108Schristosfi ;; 2811.108Schristosesac 2821.84Schristosfi 2831.84Schristosfi 2841.84SchristosSHELL=${CONFIG_SHELL-/bin/sh} 2851.84Schristosexport SHELL 2861.84Schristos# Unset more variables known to interfere with behavior of common tools. 2871.84SchristosCLICOLOR_FORCE= GREP_OPTIONS= 2881.84Schristosunset CLICOLOR_FORCE GREP_OPTIONS 2891.84Schristos 2901.84Schristos## --------------------- ## 2911.84Schristos## M4sh Shell Functions. ## 2921.84Schristos## --------------------- ## 2931.84Schristos# as_fn_unset VAR 2941.84Schristos# --------------- 2951.84Schristos# Portably unset VAR. 2961.84Schristosas_fn_unset () 2971.84Schristos{ 2981.84Schristos { eval $1=; unset $1;} 2991.84Schristos} 3001.84Schristosas_unset=as_fn_unset 3011.84Schristos 3021.108Schristos 3031.84Schristos# as_fn_set_status STATUS 3041.84Schristos# ----------------------- 3051.84Schristos# Set $? to STATUS, without forking. 3061.84Schristosas_fn_set_status () 3071.84Schristos{ 3081.84Schristos return $1 3091.84Schristos} # as_fn_set_status 3101.84Schristos 3111.84Schristos# as_fn_exit STATUS 3121.84Schristos# ----------------- 3131.84Schristos# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3141.84Schristosas_fn_exit () 3151.84Schristos{ 3161.84Schristos set +e 3171.84Schristos as_fn_set_status $1 3181.84Schristos exit $1 3191.84Schristos} # as_fn_exit 3201.84Schristos 3211.84Schristos# as_fn_mkdir_p 3221.84Schristos# ------------- 3231.84Schristos# Create "$as_dir" as a directory, including parents if necessary. 3241.84Schristosas_fn_mkdir_p () 3251.84Schristos{ 3261.84Schristos 3271.84Schristos case $as_dir in #( 3281.84Schristos -*) as_dir=./$as_dir;; 3291.84Schristos esac 3301.84Schristos test -d "$as_dir" || eval $as_mkdir_p || { 3311.84Schristos as_dirs= 3321.84Schristos while :; do 3331.84Schristos case $as_dir in #( 3341.108Schristos *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3351.84Schristos *) as_qdir=$as_dir;; 3361.84Schristos esac 3371.84Schristos as_dirs="'$as_qdir' $as_dirs" 3381.84Schristos as_dir=`$as_dirname -- "$as_dir" || 3391.84Schristos$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3401.84Schristos X"$as_dir" : 'X\(//\)[^/]' \| \ 3411.84Schristos X"$as_dir" : 'X\(//\)$' \| \ 3421.84Schristos X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3431.108Schristosprintf "%s\n" X"$as_dir" | 3441.84Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3451.84Schristos s//\1/ 3461.84Schristos q 3471.84Schristos } 3481.84Schristos /^X\(\/\/\)[^/].*/{ 3491.84Schristos s//\1/ 3501.84Schristos q 3511.84Schristos } 3521.84Schristos /^X\(\/\/\)$/{ 3531.84Schristos s//\1/ 3541.84Schristos q 3551.84Schristos } 3561.84Schristos /^X\(\/\).*/{ 3571.84Schristos s//\1/ 3581.84Schristos q 3591.84Schristos } 3601.84Schristos s/.*/./; q'` 3611.84Schristos test -d "$as_dir" && break 3621.84Schristos done 3631.84Schristos test -z "$as_dirs" || eval "mkdir $as_dirs" 3641.84Schristos } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3651.84Schristos 3661.84Schristos 3671.84Schristos} # as_fn_mkdir_p 3681.84Schristos 3691.84Schristos# as_fn_executable_p FILE 3701.84Schristos# ----------------------- 3711.84Schristos# Test if FILE is an executable regular file. 3721.84Schristosas_fn_executable_p () 3731.84Schristos{ 3741.84Schristos test -f "$1" && test -x "$1" 3751.84Schristos} # as_fn_executable_p 3761.84Schristos# as_fn_append VAR VALUE 3771.84Schristos# ---------------------- 3781.84Schristos# Append the text in VALUE to the end of the definition contained in VAR. Take 3791.84Schristos# advantage of any shell optimizations that allow amortized linear growth over 3801.84Schristos# repeated appends, instead of the typical quadratic growth present in naive 3811.84Schristos# implementations. 3821.108Schristosif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 3831.108Schristosthen : 3841.84Schristos eval 'as_fn_append () 3851.84Schristos { 3861.84Schristos eval $1+=\$2 3871.84Schristos }' 3881.108Schristoselse case e in #( 3891.108Schristos e) as_fn_append () 3901.84Schristos { 3911.84Schristos eval $1=\$$1\$2 3921.108Schristos } ;; 3931.108Schristosesac 3941.84Schristosfi # as_fn_append 3951.84Schristos 3961.84Schristos# as_fn_arith ARG... 3971.84Schristos# ------------------ 3981.84Schristos# Perform arithmetic evaluation on the ARGs, and store the result in the 3991.84Schristos# global $as_val. Take advantage of shells that can avoid forks. The arguments 4001.84Schristos# must be portable across $(()) and expr. 4011.108Schristosif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 4021.108Schristosthen : 4031.84Schristos eval 'as_fn_arith () 4041.84Schristos { 4051.84Schristos as_val=$(( $* )) 4061.84Schristos }' 4071.108Schristoselse case e in #( 4081.108Schristos e) as_fn_arith () 4091.84Schristos { 4101.84Schristos as_val=`expr "$@" || test $? -eq 1` 4111.108Schristos } ;; 4121.108Schristosesac 4131.84Schristosfi # as_fn_arith 4141.84Schristos 4151.84Schristos 4161.84Schristos# as_fn_error STATUS ERROR [LINENO LOG_FD] 4171.84Schristos# ---------------------------------------- 4181.84Schristos# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4191.84Schristos# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4201.84Schristos# script with STATUS, using 1 if that was 0. 4211.84Schristosas_fn_error () 4221.84Schristos{ 4231.84Schristos as_status=$1; test $as_status -eq 0 && as_status=1 4241.84Schristos if test "$4"; then 4251.84Schristos as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4261.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4271.84Schristos fi 4281.108Schristos printf "%s\n" "$as_me: error: $2" >&2 4291.84Schristos as_fn_exit $as_status 4301.84Schristos} # as_fn_error 4311.61Schristos 4321.84Schristosif expr a : '\(a\)' >/dev/null 2>&1 && 4331.84Schristos test "X`expr 00001 : '.*\(...\)'`" = X001; then 4341.1Stv as_expr=expr 4351.1Stvelse 4361.1Stv as_expr=false 4371.1Stvfi 4381.1Stv 4391.84Schristosif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4401.84Schristos as_basename=basename 4411.84Schristoselse 4421.84Schristos as_basename=false 4431.84Schristosfi 4441.84Schristos 4451.84Schristosif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4461.84Schristos as_dirname=dirname 4471.84Schristoselse 4481.84Schristos as_dirname=false 4491.84Schristosfi 4501.84Schristos 4511.84Schristosas_me=`$as_basename -- "$0" || 4521.84Schristos$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4531.84Schristos X"$0" : 'X\(//\)$' \| \ 4541.84Schristos X"$0" : 'X\(/\)' \| . 2>/dev/null || 4551.108Schristosprintf "%s\n" X/"$0" | 4561.84Schristos sed '/^.*\/\([^/][^/]*\)\/*$/{ 4571.84Schristos s//\1/ 4581.84Schristos q 4591.84Schristos } 4601.84Schristos /^X\/\(\/\/\)$/{ 4611.84Schristos s//\1/ 4621.84Schristos q 4631.84Schristos } 4641.84Schristos /^X\/\(\/\).*/{ 4651.84Schristos s//\1/ 4661.84Schristos q 4671.84Schristos } 4681.84Schristos s/.*/./; q'` 4691.84Schristos 4701.84Schristos# Avoid depending upon Character Ranges. 4711.84Schristosas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4721.84Schristosas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4731.84Schristosas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4741.84Schristosas_cr_digits='0123456789' 4751.84Schristosas_cr_alnum=$as_cr_Letters$as_cr_digits 4761.84Schristos 4771.84Schristos 4781.84Schristos as_lineno_1=$LINENO as_lineno_1a=$LINENO 4791.84Schristos as_lineno_2=$LINENO as_lineno_2a=$LINENO 4801.84Schristos eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4811.84Schristos test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4821.84Schristos # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4831.84Schristos sed -n ' 4841.84Schristos p 4851.84Schristos /[$]LINENO/= 4861.84Schristos ' <$as_myself | 4871.84Schristos sed ' 4881.108Schristos t clear 4891.108Schristos :clear 4901.84Schristos s/[$]LINENO.*/&-/ 4911.84Schristos t lineno 4921.84Schristos b 4931.84Schristos :lineno 4941.84Schristos N 4951.84Schristos :loop 4961.84Schristos s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4971.84Schristos t loop 4981.84Schristos s/-\n.*// 4991.84Schristos ' >$as_me.lineno && 5001.84Schristos chmod +x "$as_me.lineno" || 5011.108Schristos { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 5021.84Schristos 5031.84Schristos # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 5041.84Schristos # already done that, so ensure we don't try to do so again and fall 5051.84Schristos # in an infinite loop. This has already happened in practice. 5061.84Schristos _as_can_reexec=no; export _as_can_reexec 5071.84Schristos # Don't try to exec as it changes $[0], causing all sort of problems 5081.84Schristos # (the dirname of $[0] is not the place where we might find the 5091.84Schristos # original and so on. Autoconf is especially sensitive to this). 5101.84Schristos . "./$as_me.lineno" 5111.84Schristos # Exit status is that of the last command. 5121.84Schristos exit 5131.84Schristos} 5141.84Schristos 5151.108Schristos 5161.108Schristos# Determine whether it's possible to make 'echo' print without a newline. 5171.108Schristos# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 5181.108Schristos# for compatibility with existing Makefiles. 5191.84SchristosECHO_C= ECHO_N= ECHO_T= 5201.84Schristoscase `echo -n x` in #((((( 5211.84Schristos-n*) 5221.84Schristos case `echo 'xy\c'` in 5231.84Schristos *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5241.84Schristos xy) ECHO_C='\c';; 5251.84Schristos *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5261.84Schristos ECHO_T=' ';; 5271.84Schristos esac;; 5281.84Schristos*) 5291.84Schristos ECHO_N='-n';; 5301.84Schristosesac 5311.84Schristos 5321.108Schristos# For backward compatibility with old third-party macros, we provide 5331.108Schristos# the shell variables $as_echo and $as_echo_n. New code should use 5341.108Schristos# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 5351.108Schristosas_echo='printf %s\n' 5361.108Schristosas_echo_n='printf %s' 5371.108Schristos 5381.1Stvrm -f conf$$ conf$$.exe conf$$.file 5391.84Schristosif test -d conf$$.dir; then 5401.84Schristos rm -f conf$$.dir/conf$$.file 5411.84Schristoselse 5421.84Schristos rm -f conf$$.dir 5431.84Schristos mkdir conf$$.dir 2>/dev/null 5441.84Schristosfi 5451.84Schristosif (echo >conf$$.file) 2>/dev/null; then 5461.84Schristos if ln -s conf$$.file conf$$ 2>/dev/null; then 5471.84Schristos as_ln_s='ln -s' 5481.84Schristos # ... but there are two gotchas: 5491.108Schristos # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. 5501.108Schristos # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. 5511.108Schristos # In both cases, we have to default to 'cp -pR'. 5521.84Schristos ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5531.84Schristos as_ln_s='cp -pR' 5541.84Schristos elif ln conf$$.file conf$$ 2>/dev/null; then 5551.84Schristos as_ln_s=ln 5561.76Spooka else 5571.84Schristos as_ln_s='cp -pR' 5581.66Stsutsui fi 5591.1Stvelse 5601.84Schristos as_ln_s='cp -pR' 5611.1Stvfi 5621.84Schristosrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5631.84Schristosrmdir conf$$.dir 2>/dev/null 5641.63Sapb 5651.84Schristosif mkdir -p . 2>/dev/null; then 5661.84Schristos as_mkdir_p='mkdir -p "$as_dir"' 5671.61Schristoselse 5681.84Schristos test -d ./-p && rmdir ./-p 5691.84Schristos as_mkdir_p=false 5701.61Schristosfi 5711.65Schristos 5721.84Schristosas_test_x='test -x' 5731.84Schristosas_executable_p=as_fn_executable_p 5741.84Schristos 5751.84Schristos# Sed expression to map a string onto a valid CPP name. 5761.108Schristosas_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 5771.108Schristosas_tr_cpp="eval sed '$as_sed_cpp'" # deprecated 5781.84Schristos 5791.84Schristos# Sed expression to map a string onto a valid variable name. 5801.108Schristosas_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 5811.108Schristosas_tr_sh="eval sed '$as_sed_sh'" # deprecated 5821.74Schristos 5831.74Schristos 5841.84Schristostest -n "$DJDIR" || exec 7<&0 </dev/null 5851.84Schristosexec 6>&1 5861.1Stv 5871.1Stv# Name of the host. 5881.84Schristos# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 5891.1Stv# so uname gets run too. 5901.1Stvac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5911.1Stv 5921.1Stv# 5931.1Stv# Initializations. 5941.1Stv# 5951.1Stvac_default_prefix=/usr/local 5961.84Schristosac_clean_files= 5971.84Schristosac_config_libobj_dir=. 5981.84SchristosLIBOBJS= 5991.1Stvcross_compiling=no 6001.1Stvsubdirs= 6011.84SchristosMFLAGS= 6021.84SchristosMAKEFLAGS= 6031.1Stv 6041.84Schristos# Identity of this package. 6051.84SchristosPACKAGE_NAME='libnbcompat' 6061.84SchristosPACKAGE_TARNAME='libnbcompat' 6071.84SchristosPACKAGE_VERSION='noversion' 6081.84SchristosPACKAGE_STRING='libnbcompat noversion' 6091.84SchristosPACKAGE_BUGREPORT='lib-bug-people@NetBSD.org' 6101.84SchristosPACKAGE_URL='' 6111.1Stv 6121.1Stv# Factoring default headers for most tests. 6131.1Stvac_includes_default="\ 6141.108Schristos#include <stddef.h> 6151.108Schristos#ifdef HAVE_STDIO_H 6161.108Schristos# include <stdio.h> 6171.1Stv#endif 6181.108Schristos#ifdef HAVE_STDLIB_H 6191.1Stv# include <stdlib.h> 6201.1Stv#endif 6211.84Schristos#ifdef HAVE_STRING_H 6221.1Stv# include <string.h> 6231.1Stv#endif 6241.84Schristos#ifdef HAVE_INTTYPES_H 6251.1Stv# include <inttypes.h> 6261.1Stv#endif 6271.84Schristos#ifdef HAVE_STDINT_H 6281.84Schristos# include <stdint.h> 6291.84Schristos#endif 6301.108Schristos#ifdef HAVE_STRINGS_H 6311.108Schristos# include <strings.h> 6321.108Schristos#endif 6331.108Schristos#ifdef HAVE_SYS_TYPES_H 6341.108Schristos# include <sys/types.h> 6351.108Schristos#endif 6361.108Schristos#ifdef HAVE_SYS_STAT_H 6371.108Schristos# include <sys/stat.h> 6381.108Schristos#endif 6391.84Schristos#ifdef HAVE_UNISTD_H 6401.1Stv# include <unistd.h> 6411.1Stv#endif" 6421.1Stv 6431.108Schristosac_header_c_list= 6441.84Schristosac_subst_vars='LTLIBOBJS 6451.84SchristosLIBOBJS 6461.102SlukemCC_WNO_STRINGOP_TRUNCATION 6471.102SlukemCC_WNO_STRINGOP_OVERFLOW 6481.103SlukemCC_WNO_RETURN_LOCAL_ADDR 6491.102SlukemCC_WNO_MAYBE_UNINITIALIZED 6501.103SlukemCC_WNO_IMPLICIT_FALLTHROUGH 6511.102SlukemCC_WNO_FORMAT_TRUNCATION 6521.103SlukemCC_WNO_FORMAT_OVERFLOW 6531.103SlukemCC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER 6541.103SlukemCC_WNO_CAST_FUNCTION_TYPE 6551.103SlukemCC_WNO_ADDRESS_OF_PACKED_MEMBER 6561.102SlukemCC_NO_CPP_PRECOMP 6571.84SchristosALLOCA 6581.84SchristosEGREP 6591.84SchristosGREP 6601.108SchristosBSHELL 6611.84SchristosCPP 6621.84SchristosOBJEXT 6631.84SchristosEXEEXT 6641.84Schristosac_ct_CC 6651.84SchristosCPPFLAGS 6661.84SchristosLDFLAGS 6671.84SchristosCFLAGS 6681.84SchristosCC 6691.84Schristostarget_alias 6701.84Schristoshost_alias 6711.84Schristosbuild_alias 6721.84SchristosLIBS 6731.84SchristosECHO_T 6741.84SchristosECHO_N 6751.84SchristosECHO_C 6761.84SchristosDEFS 6771.84Schristosmandir 6781.84Schristoslocaledir 6791.84Schristoslibdir 6801.84Schristospsdir 6811.84Schristospdfdir 6821.84Schristosdvidir 6831.84Schristoshtmldir 6841.84Schristosinfodir 6851.84Schristosdocdir 6861.84Schristosoldincludedir 6871.84Schristosincludedir 6881.108Schristosrunstatedir 6891.84Schristoslocalstatedir 6901.84Schristossharedstatedir 6911.84Schristossysconfdir 6921.84Schristosdatadir 6931.84Schristosdatarootdir 6941.84Schristoslibexecdir 6951.84Schristossbindir 6961.84Schristosbindir 6971.84Schristosprogram_transform_name 6981.84Schristosprefix 6991.84Schristosexec_prefix 7001.84SchristosPACKAGE_URL 7011.84SchristosPACKAGE_BUGREPORT 7021.84SchristosPACKAGE_STRING 7031.84SchristosPACKAGE_VERSION 7041.84SchristosPACKAGE_TARNAME 7051.84SchristosPACKAGE_NAME 7061.84SchristosPATH_SEPARATOR 7071.84SchristosSHELL' 7081.84Schristosac_subst_files='' 7091.84Schristosac_user_opts=' 7101.84Schristosenable_option_checking 7111.84Schristos' 7121.84Schristos ac_precious_vars='build_alias 7131.84Schristoshost_alias 7141.84Schristostarget_alias 7151.84SchristosCC 7161.84SchristosCFLAGS 7171.84SchristosLDFLAGS 7181.84SchristosLIBS 7191.84SchristosCPPFLAGS 7201.84SchristosCPP' 7211.84Schristos 7221.84Schristos 7231.1Stv# Initialize some variables set by options. 7241.1Stvac_init_help= 7251.1Stvac_init_version=false 7261.84Schristosac_unrecognized_opts= 7271.84Schristosac_unrecognized_sep= 7281.1Stv# The variables have the same names as the options, with 7291.1Stv# dashes changed to underlines. 7301.1Stvcache_file=/dev/null 7311.1Stvexec_prefix=NONE 7321.1Stvno_create= 7331.1Stvno_recursion= 7341.1Stvprefix=NONE 7351.1Stvprogram_prefix=NONE 7361.1Stvprogram_suffix=NONE 7371.1Stvprogram_transform_name=s,x,x, 7381.1Stvsilent= 7391.1Stvsite= 7401.1Stvsrcdir= 7411.1Stvverbose= 7421.1Stvx_includes=NONE 7431.1Stvx_libraries=NONE 7441.1Stv 7451.1Stv# Installation directory options. 7461.1Stv# These are left unexpanded so users can "make install exec_prefix=/foo" 7471.1Stv# and all the variables that are supposed to be based on exec_prefix 7481.1Stv# by default will actually change. 7491.1Stv# Use braces instead of parens because sh, perl, etc. also accept them. 7501.84Schristos# (The list follows the same order as the GNU Coding Standards.) 7511.1Stvbindir='${exec_prefix}/bin' 7521.1Stvsbindir='${exec_prefix}/sbin' 7531.1Stvlibexecdir='${exec_prefix}/libexec' 7541.84Schristosdatarootdir='${prefix}/share' 7551.84Schristosdatadir='${datarootdir}' 7561.1Stvsysconfdir='${prefix}/etc' 7571.1Stvsharedstatedir='${prefix}/com' 7581.1Stvlocalstatedir='${prefix}/var' 7591.108Schristosrunstatedir='${localstatedir}/run' 7601.1Stvincludedir='${prefix}/include' 7611.1Stvoldincludedir='/usr/include' 7621.84Schristosdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7631.84Schristosinfodir='${datarootdir}/info' 7641.84Schristoshtmldir='${docdir}' 7651.84Schristosdvidir='${docdir}' 7661.84Schristospdfdir='${docdir}' 7671.84Schristospsdir='${docdir}' 7681.84Schristoslibdir='${exec_prefix}/lib' 7691.84Schristoslocaledir='${datarootdir}/locale' 7701.84Schristosmandir='${datarootdir}/man' 7711.63Sapb 7721.1Stvac_prev= 7731.84Schristosac_dashdash= 7741.1Stvfor ac_option 7751.1Stvdo 7761.1Stv # If the previous option needs an argument, assign it. 7771.1Stv if test -n "$ac_prev"; then 7781.84Schristos eval $ac_prev=\$ac_option 7791.1Stv ac_prev= 7801.1Stv continue 7811.1Stv fi 7821.1Stv 7831.84Schristos case $ac_option in 7841.84Schristos *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 7851.84Schristos *=) ac_optarg= ;; 7861.84Schristos *) ac_optarg=yes ;; 7871.84Schristos esac 7881.1Stv 7891.84Schristos case $ac_dashdash$ac_option in 7901.84Schristos --) 7911.84Schristos ac_dashdash=yes ;; 7921.1Stv 7931.1Stv -bindir | --bindir | --bindi | --bind | --bin | --bi) 7941.1Stv ac_prev=bindir ;; 7951.1Stv -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 7961.1Stv bindir=$ac_optarg ;; 7971.1Stv 7981.1Stv -build | --build | --buil | --bui | --bu) 7991.1Stv ac_prev=build_alias ;; 8001.1Stv -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8011.1Stv build_alias=$ac_optarg ;; 8021.1Stv 8031.1Stv -cache-file | --cache-file | --cache-fil | --cache-fi \ 8041.1Stv | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8051.1Stv ac_prev=cache_file ;; 8061.1Stv -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8071.1Stv | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8081.1Stv cache_file=$ac_optarg ;; 8091.1Stv 8101.1Stv --config-cache | -C) 8111.1Stv cache_file=config.cache ;; 8121.1Stv 8131.84Schristos -datadir | --datadir | --datadi | --datad) 8141.1Stv ac_prev=datadir ;; 8151.84Schristos -datadir=* | --datadir=* | --datadi=* | --datad=*) 8161.1Stv datadir=$ac_optarg ;; 8171.1Stv 8181.84Schristos -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8191.84Schristos | --dataroo | --dataro | --datar) 8201.84Schristos ac_prev=datarootdir ;; 8211.84Schristos -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8221.84Schristos | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8231.84Schristos datarootdir=$ac_optarg ;; 8241.84Schristos 8251.1Stv -disable-* | --disable-*) 8261.84Schristos ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8271.1Stv # Reject names that are not valid shell variable names. 8281.84Schristos expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8291.108Schristos as_fn_error $? "invalid feature name: '$ac_useropt'" 8301.84Schristos ac_useropt_orig=$ac_useropt 8311.108Schristos ac_useropt=`printf "%s\n" "$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--disable-$ac_useropt_orig" 8371.84Schristos ac_unrecognized_sep=', ';; 8381.84Schristos esac 8391.84Schristos eval enable_$ac_useropt=no ;; 8401.84Schristos 8411.84Schristos -docdir | --docdir | --docdi | --doc | --do) 8421.84Schristos ac_prev=docdir ;; 8431.84Schristos -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8441.84Schristos docdir=$ac_optarg ;; 8451.84Schristos 8461.84Schristos -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8471.84Schristos ac_prev=dvidir ;; 8481.84Schristos -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8491.84Schristos dvidir=$ac_optarg ;; 8501.1Stv 8511.1Stv -enable-* | --enable-*) 8521.84Schristos ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8531.1Stv # Reject names that are not valid shell variable names. 8541.84Schristos expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8551.108Schristos as_fn_error $? "invalid feature name: '$ac_useropt'" 8561.84Schristos ac_useropt_orig=$ac_useropt 8571.108Schristos ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 8581.84Schristos case $ac_user_opts in 8591.84Schristos *" 8601.84Schristos"enable_$ac_useropt" 8611.84Schristos"*) ;; 8621.84Schristos *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8631.84Schristos ac_unrecognized_sep=', ';; 8641.66Stsutsui esac 8651.84Schristos eval enable_$ac_useropt=\$ac_optarg ;; 8661.1Stv 8671.1Stv -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 8681.1Stv | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 8691.1Stv | --exec | --exe | --ex) 8701.1Stv ac_prev=exec_prefix ;; 8711.1Stv -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 8721.1Stv | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 8731.1Stv | --exec=* | --exe=* | --ex=*) 8741.1Stv exec_prefix=$ac_optarg ;; 8751.1Stv 8761.1Stv -gas | --gas | --ga | --g) 8771.1Stv # Obsolete; use --with-gas. 8781.1Stv with_gas=yes ;; 8791.1Stv 8801.1Stv -help | --help | --hel | --he | -h) 8811.1Stv ac_init_help=long ;; 8821.1Stv -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 8831.1Stv ac_init_help=recursive ;; 8841.1Stv -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 8851.1Stv ac_init_help=short ;; 8861.1Stv 8871.1Stv -host | --host | --hos | --ho) 8881.1Stv ac_prev=host_alias ;; 8891.1Stv -host=* | --host=* | --hos=* | --ho=*) 8901.1Stv host_alias=$ac_optarg ;; 8911.1Stv 8921.84Schristos -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 8931.84Schristos ac_prev=htmldir ;; 8941.84Schristos -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 8951.84Schristos | --ht=*) 8961.84Schristos htmldir=$ac_optarg ;; 8971.84Schristos 8981.1Stv -includedir | --includedir | --includedi | --included | --include \ 8991.1Stv | --includ | --inclu | --incl | --inc) 9001.1Stv ac_prev=includedir ;; 9011.1Stv -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9021.1Stv | --includ=* | --inclu=* | --incl=* | --inc=*) 9031.1Stv includedir=$ac_optarg ;; 9041.1Stv 9051.1Stv -infodir | --infodir | --infodi | --infod | --info | --inf) 9061.1Stv ac_prev=infodir ;; 9071.1Stv -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9081.1Stv infodir=$ac_optarg ;; 9091.1Stv 9101.1Stv -libdir | --libdir | --libdi | --libd) 9111.1Stv ac_prev=libdir ;; 9121.1Stv -libdir=* | --libdir=* | --libdi=* | --libd=*) 9131.1Stv libdir=$ac_optarg ;; 9141.1Stv 9151.1Stv -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9161.1Stv | --libexe | --libex | --libe) 9171.1Stv ac_prev=libexecdir ;; 9181.1Stv -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9191.1Stv | --libexe=* | --libex=* | --libe=*) 9201.1Stv libexecdir=$ac_optarg ;; 9211.1Stv 9221.84Schristos -localedir | --localedir | --localedi | --localed | --locale) 9231.84Schristos ac_prev=localedir ;; 9241.84Schristos -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9251.84Schristos localedir=$ac_optarg ;; 9261.84Schristos 9271.1Stv -localstatedir | --localstatedir | --localstatedi | --localstated \ 9281.84Schristos | --localstate | --localstat | --localsta | --localst | --locals) 9291.1Stv ac_prev=localstatedir ;; 9301.1Stv -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9311.84Schristos | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9321.1Stv localstatedir=$ac_optarg ;; 9331.1Stv 9341.1Stv -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9351.1Stv ac_prev=mandir ;; 9361.1Stv -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9371.1Stv mandir=$ac_optarg ;; 9381.1Stv 9391.1Stv -nfp | --nfp | --nf) 9401.1Stv # Obsolete; use --without-fp. 9411.1Stv with_fp=no ;; 9421.1Stv 9431.1Stv -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9441.84Schristos | --no-cr | --no-c | -n) 9451.1Stv no_create=yes ;; 9461.1Stv 9471.1Stv -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9481.1Stv | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9491.1Stv no_recursion=yes ;; 9501.1Stv 9511.1Stv -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9521.1Stv | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9531.1Stv | --oldin | --oldi | --old | --ol | --o) 9541.1Stv ac_prev=oldincludedir ;; 9551.1Stv -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9561.1Stv | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9571.1Stv | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9581.1Stv oldincludedir=$ac_optarg ;; 9591.1Stv 9601.1Stv -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9611.1Stv ac_prev=prefix ;; 9621.1Stv -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9631.1Stv prefix=$ac_optarg ;; 9641.1Stv 9651.1Stv -program-prefix | --program-prefix | --program-prefi | --program-pref \ 9661.1Stv | --program-pre | --program-pr | --program-p) 9671.1Stv ac_prev=program_prefix ;; 9681.1Stv -program-prefix=* | --program-prefix=* | --program-prefi=* \ 9691.1Stv | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 9701.1Stv program_prefix=$ac_optarg ;; 9711.1Stv 9721.1Stv -program-suffix | --program-suffix | --program-suffi | --program-suff \ 9731.1Stv | --program-suf | --program-su | --program-s) 9741.1Stv ac_prev=program_suffix ;; 9751.1Stv -program-suffix=* | --program-suffix=* | --program-suffi=* \ 9761.1Stv | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 9771.1Stv program_suffix=$ac_optarg ;; 9781.1Stv 9791.1Stv -program-transform-name | --program-transform-name \ 9801.1Stv | --program-transform-nam | --program-transform-na \ 9811.1Stv | --program-transform-n | --program-transform- \ 9821.1Stv | --program-transform | --program-transfor \ 9831.1Stv | --program-transfo | --program-transf \ 9841.1Stv | --program-trans | --program-tran \ 9851.1Stv | --progr-tra | --program-tr | --program-t) 9861.1Stv ac_prev=program_transform_name ;; 9871.1Stv -program-transform-name=* | --program-transform-name=* \ 9881.1Stv | --program-transform-nam=* | --program-transform-na=* \ 9891.1Stv | --program-transform-n=* | --program-transform-=* \ 9901.1Stv | --program-transform=* | --program-transfor=* \ 9911.1Stv | --program-transfo=* | --program-transf=* \ 9921.1Stv | --program-trans=* | --program-tran=* \ 9931.1Stv | --progr-tra=* | --program-tr=* | --program-t=*) 9941.1Stv program_transform_name=$ac_optarg ;; 9951.1Stv 9961.84Schristos -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 9971.84Schristos ac_prev=pdfdir ;; 9981.84Schristos -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 9991.84Schristos pdfdir=$ac_optarg ;; 10001.84Schristos 10011.84Schristos -psdir | --psdir | --psdi | --psd | --ps) 10021.84Schristos ac_prev=psdir ;; 10031.84Schristos -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10041.84Schristos psdir=$ac_optarg ;; 10051.84Schristos 10061.1Stv -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10071.1Stv | -silent | --silent | --silen | --sile | --sil) 10081.1Stv silent=yes ;; 10091.1Stv 10101.108Schristos -runstatedir | --runstatedir | --runstatedi | --runstated \ 10111.108Schristos | --runstate | --runstat | --runsta | --runst | --runs \ 10121.108Schristos | --run | --ru | --r) 10131.108Schristos ac_prev=runstatedir ;; 10141.108Schristos -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 10151.108Schristos | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 10161.108Schristos | --run=* | --ru=* | --r=*) 10171.108Schristos runstatedir=$ac_optarg ;; 10181.108Schristos 10191.1Stv -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10201.1Stv ac_prev=sbindir ;; 10211.1Stv -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10221.1Stv | --sbi=* | --sb=*) 10231.1Stv sbindir=$ac_optarg ;; 10241.1Stv 10251.1Stv -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10261.1Stv | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10271.1Stv | --sharedst | --shareds | --shared | --share | --shar \ 10281.1Stv | --sha | --sh) 10291.1Stv ac_prev=sharedstatedir ;; 10301.1Stv -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10311.1Stv | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10321.1Stv | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10331.1Stv | --sha=* | --sh=*) 10341.1Stv sharedstatedir=$ac_optarg ;; 10351.1Stv 10361.1Stv -site | --site | --sit) 10371.1Stv ac_prev=site ;; 10381.1Stv -site=* | --site=* | --sit=*) 10391.1Stv site=$ac_optarg ;; 10401.1Stv 10411.1Stv -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10421.1Stv ac_prev=srcdir ;; 10431.1Stv -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10441.1Stv srcdir=$ac_optarg ;; 10451.1Stv 10461.1Stv -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10471.1Stv | --syscon | --sysco | --sysc | --sys | --sy) 10481.1Stv ac_prev=sysconfdir ;; 10491.1Stv -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10501.1Stv | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10511.1Stv sysconfdir=$ac_optarg ;; 10521.1Stv 10531.1Stv -target | --target | --targe | --targ | --tar | --ta | --t) 10541.1Stv ac_prev=target_alias ;; 10551.1Stv -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10561.1Stv target_alias=$ac_optarg ;; 10571.1Stv 10581.1Stv -v | -verbose | --verbose | --verbos | --verbo | --verb) 10591.1Stv verbose=yes ;; 10601.1Stv 10611.1Stv -version | --version | --versio | --versi | --vers | -V) 10621.1Stv ac_init_version=: ;; 10631.1Stv 10641.1Stv -with-* | --with-*) 10651.84Schristos ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10661.1Stv # Reject names that are not valid shell variable names. 10671.84Schristos expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10681.108Schristos as_fn_error $? "invalid package name: '$ac_useropt'" 10691.84Schristos ac_useropt_orig=$ac_useropt 10701.108Schristos ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 10711.84Schristos case $ac_user_opts in 10721.84Schristos *" 10731.84Schristos"with_$ac_useropt" 10741.84Schristos"*) ;; 10751.84Schristos *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10761.84Schristos ac_unrecognized_sep=', ';; 10771.66Stsutsui esac 10781.84Schristos eval with_$ac_useropt=\$ac_optarg ;; 10791.1Stv 10801.1Stv -without-* | --without-*) 10811.84Schristos ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 10821.1Stv # Reject names that are not valid shell variable names. 10831.84Schristos expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10841.108Schristos as_fn_error $? "invalid package name: '$ac_useropt'" 10851.84Schristos ac_useropt_orig=$ac_useropt 10861.108Schristos ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 10871.84Schristos case $ac_user_opts in 10881.84Schristos *" 10891.84Schristos"with_$ac_useropt" 10901.84Schristos"*) ;; 10911.84Schristos *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 10921.84Schristos ac_unrecognized_sep=', ';; 10931.84Schristos esac 10941.84Schristos eval with_$ac_useropt=no ;; 10951.1Stv 10961.1Stv --x) 10971.1Stv # Obsolete; use --with-x. 10981.1Stv with_x=yes ;; 10991.1Stv 11001.1Stv -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11011.1Stv | --x-incl | --x-inc | --x-in | --x-i) 11021.1Stv ac_prev=x_includes ;; 11031.1Stv -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11041.1Stv | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11051.1Stv x_includes=$ac_optarg ;; 11061.1Stv 11071.1Stv -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11081.1Stv | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11091.1Stv ac_prev=x_libraries ;; 11101.1Stv -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11111.1Stv | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 11121.1Stv x_libraries=$ac_optarg ;; 11131.1Stv 11141.108Schristos -*) as_fn_error $? "unrecognized option: '$ac_option' 11151.108SchristosTry '$0 --help' for more information" 11161.1Stv ;; 11171.1Stv 11181.1Stv *=*) 11191.1Stv ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11201.1Stv # Reject names that are not valid shell variable names. 11211.84Schristos case $ac_envvar in #( 11221.84Schristos '' | [0-9]* | *[!_$as_cr_alnum]* ) 11231.108Schristos as_fn_error $? "invalid variable name: '$ac_envvar'" ;; 11241.84Schristos esac 11251.84Schristos eval $ac_envvar=\$ac_optarg 11261.1Stv export $ac_envvar ;; 11271.1Stv 11281.1Stv *) 11291.1Stv # FIXME: should be removed in autoconf 3.0. 11301.108Schristos printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 11311.1Stv expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11321.108Schristos printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 11331.84Schristos : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 11341.1Stv ;; 11351.1Stv 11361.1Stv esac 11371.1Stvdone 11381.1Stv 11391.1Stvif test -n "$ac_prev"; then 11401.1Stv ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11411.84Schristos as_fn_error $? "missing argument to $ac_option" 11421.84Schristosfi 11431.84Schristos 11441.84Schristosif test -n "$ac_unrecognized_opts"; then 11451.84Schristos case $enable_option_checking in 11461.84Schristos no) ;; 11471.84Schristos fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11481.108Schristos *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11491.84Schristos esac 11501.74Schristosfi 11511.74Schristos 11521.84Schristos# Check all directory arguments for consistency. 11531.84Schristosfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11541.84Schristos datadir sysconfdir sharedstatedir localstatedir includedir \ 11551.84Schristos oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11561.108Schristos libdir localedir mandir runstatedir 11571.76Spookado 11581.84Schristos eval ac_val=\$$ac_var 11591.84Schristos # Remove trailing slashes. 11601.76Spooka case $ac_val in 11611.84Schristos */ ) 11621.84Schristos ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11631.84Schristos eval $ac_var=\$ac_val;; 11641.74Schristos esac 11651.84Schristos # Be sure to have absolute directory names. 11661.1Stv case $ac_val in 11671.84Schristos [\\/$]* | ?:[\\/]* ) continue;; 11681.84Schristos NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11691.1Stv esac 11701.84Schristos as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 11711.1Stvdone 11721.1Stv 11731.108Schristos# There might be people who depend on the old broken behavior: '$host' 11741.1Stv# used to hold the argument of --host etc. 11751.84Schristos# FIXME: To remove some day. 11761.1Stvbuild=$build_alias 11771.1Stvhost=$host_alias 11781.1Stvtarget=$target_alias 11791.1Stv 11801.84Schristos# FIXME: To remove some day. 11811.1Stvif test "x$host_alias" != x; then 11821.1Stv if test "x$build_alias" = x; then 11831.1Stv cross_compiling=maybe 11841.1Stv elif test "x$build_alias" != "x$host_alias"; then 11851.1Stv cross_compiling=yes 11861.1Stv fi 11871.1Stvfi 11881.1Stv 11891.1Stvac_tool_prefix= 11901.1Stvtest -n "$host_alias" && ac_tool_prefix=$host_alias- 11911.1Stv 11921.1Stvtest "$silent" = yes && exec 6>/dev/null 11931.1Stv 11941.84Schristos 11951.84Schristosac_pwd=`pwd` && test -n "$ac_pwd" && 11961.84Schristosac_ls_di=`ls -di .` && 11971.84Schristosac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 11981.84Schristos as_fn_error $? "working directory cannot be determined" 11991.84Schristostest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12001.84Schristos as_fn_error $? "pwd does not report name of working directory" 12011.84Schristos 12021.84Schristos 12031.1Stv# Find the source files, if location was not specified. 12041.1Stvif test -z "$srcdir"; then 12051.1Stv ac_srcdir_defaulted=yes 12061.84Schristos # Try the directory containing this script, then the parent directory. 12071.84Schristos ac_confdir=`$as_dirname -- "$as_myself" || 12081.84Schristos$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12091.84Schristos X"$as_myself" : 'X\(//\)[^/]' \| \ 12101.84Schristos X"$as_myself" : 'X\(//\)$' \| \ 12111.84Schristos X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12121.108Schristosprintf "%s\n" X"$as_myself" | 12131.84Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12141.84Schristos s//\1/ 12151.84Schristos q 12161.84Schristos } 12171.84Schristos /^X\(\/\/\)[^/].*/{ 12181.84Schristos s//\1/ 12191.84Schristos q 12201.84Schristos } 12211.84Schristos /^X\(\/\/\)$/{ 12221.84Schristos s//\1/ 12231.84Schristos q 12241.84Schristos } 12251.84Schristos /^X\(\/\).*/{ 12261.84Schristos s//\1/ 12271.84Schristos q 12281.84Schristos } 12291.84Schristos s/.*/./; q'` 12301.1Stv srcdir=$ac_confdir 12311.84Schristos if test ! -r "$srcdir/$ac_unique_file"; then 12321.1Stv srcdir=.. 12331.1Stv fi 12341.1Stvelse 12351.1Stv ac_srcdir_defaulted=no 12361.1Stvfi 12371.84Schristosif test ! -r "$srcdir/$ac_unique_file"; then 12381.84Schristos test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12391.84Schristos as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 12401.84Schristosfi 12411.108Schristosac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" 12421.84Schristosac_abs_confdir=`( 12431.84Schristos cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12441.84Schristos pwd)` 12451.84Schristos# When building in place, set srcdir=. 12461.84Schristosif test "$ac_abs_confdir" = "$ac_pwd"; then 12471.84Schristos srcdir=. 12481.84Schristosfi 12491.84Schristos# Remove unnecessary trailing slashes from srcdir. 12501.84Schristos# Double slashes in file names in object file debugging info 12511.84Schristos# mess up M-x gdb in Emacs. 12521.84Schristoscase $srcdir in 12531.84Schristos*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12541.84Schristosesac 12551.84Schristosfor ac_var in $ac_precious_vars; do 12561.84Schristos eval ac_env_${ac_var}_set=\${${ac_var}+set} 12571.84Schristos eval ac_env_${ac_var}_value=\$${ac_var} 12581.84Schristos eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12591.84Schristos eval ac_cv_env_${ac_var}_value=\$${ac_var} 12601.84Schristosdone 12611.1Stv 12621.1Stv# 12631.1Stv# Report the --help message. 12641.1Stv# 12651.1Stvif test "$ac_init_help" = "long"; then 12661.1Stv # Omit some internal or obsolete options to make the list less imposing. 12671.1Stv # This message is too long to be a string in the A/UX 3.1 sh. 12681.84Schristos cat <<_ACEOF 12691.108Schristos'configure' configures libnbcompat noversion to adapt to many kinds of systems. 12701.1Stv 12711.1StvUsage: $0 [OPTION]... [VAR=VALUE]... 12721.1Stv 12731.1StvTo assign environment variables (e.g., CC, CFLAGS...), specify them as 12741.1StvVAR=VALUE. See below for descriptions of some of the useful variables. 12751.1Stv 12761.1StvDefaults for the options are specified in brackets. 12771.1Stv 12781.1StvConfiguration: 12791.1Stv -h, --help display this help and exit 12801.1Stv --help=short display options specific to this package 12811.1Stv --help=recursive display the short help of all the included packages 12821.1Stv -V, --version display version information and exit 12831.108Schristos -q, --quiet, --silent do not print 'checking ...' messages 12841.1Stv --cache-file=FILE cache test results in FILE [disabled] 12851.108Schristos -C, --config-cache alias for '--cache-file=config.cache' 12861.1Stv -n, --no-create do not create output files 12871.108Schristos --srcdir=DIR find the sources in DIR [configure dir or '..'] 12881.1Stv 12891.1StvInstallation directories: 12901.1Stv --prefix=PREFIX install architecture-independent files in PREFIX 12911.66Stsutsui [$ac_default_prefix] 12921.1Stv --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 12931.66Stsutsui [PREFIX] 12941.1Stv 12951.108SchristosBy default, 'make install' will install all the files in 12961.108Schristos'$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify 12971.108Schristosan installation prefix other than '$ac_default_prefix' using '--prefix', 12981.108Schristosfor instance '--prefix=\$HOME'. 12991.1Stv 13001.1StvFor better control, use the options below. 13011.1Stv 13021.1StvFine tuning of the installation directories: 13031.84Schristos --bindir=DIR user executables [EPREFIX/bin] 13041.84Schristos --sbindir=DIR system admin executables [EPREFIX/sbin] 13051.84Schristos --libexecdir=DIR program executables [EPREFIX/libexec] 13061.84Schristos --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13071.84Schristos --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13081.84Schristos --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13091.108Schristos --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 13101.84Schristos --libdir=DIR object code libraries [EPREFIX/lib] 13111.84Schristos --includedir=DIR C header files [PREFIX/include] 13121.84Schristos --oldincludedir=DIR C header files for non-gcc [/usr/include] 13131.84Schristos --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13141.84Schristos --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13151.84Schristos --infodir=DIR info documentation [DATAROOTDIR/info] 13161.84Schristos --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13171.84Schristos --mandir=DIR man documentation [DATAROOTDIR/man] 13181.84Schristos --docdir=DIR documentation root [DATAROOTDIR/doc/libnbcompat] 13191.84Schristos --htmldir=DIR html documentation [DOCDIR] 13201.84Schristos --dvidir=DIR dvi documentation [DOCDIR] 13211.84Schristos --pdfdir=DIR pdf documentation [DOCDIR] 13221.84Schristos --psdir=DIR ps documentation [DOCDIR] 13231.84Schristos_ACEOF 13241.1Stv 13251.84Schristos cat <<\_ACEOF 13261.84Schristos_ACEOF 13271.1Stvfi 13281.1Stv 13291.1Stvif test -n "$ac_init_help"; then 13301.1Stv case $ac_init_help in 13311.1Stv short | recursive ) echo "Configuration of libnbcompat noversion:";; 13321.1Stv esac 13331.84Schristos cat <<\_ACEOF 13341.1Stv 13351.1StvSome influential environment variables: 13361.1Stv CC C compiler command 13371.1Stv CFLAGS C compiler flags 13381.1Stv LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13391.1Stv nonstandard directory <lib dir> 13401.84Schristos LIBS libraries to pass to the linker, e.g. -l<library> 13411.84Schristos CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13421.84Schristos you have headers in a nonstandard directory <include dir> 13431.1Stv CPP C preprocessor 13441.1Stv 13451.108SchristosUse these variables to override the choices made by 'configure' or to help 13461.1Stvit to find libraries and programs with nonstandard names/locations. 13471.1Stv 13481.41SsaloReport bugs to <lib-bug-people@NetBSD.org>. 13491.84Schristos_ACEOF 13501.84Schristosac_status=$? 13511.1Stvfi 13521.1Stv 13531.1Stvif test "$ac_init_help" = "recursive"; then 13541.1Stv # If there are subdirs, report their specific --help. 13551.84Schristos for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 13561.84Schristos test -d "$ac_dir" || 13571.84Schristos { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 13581.84Schristos continue 13591.84Schristos ac_builddir=. 13601.84Schristos 13611.84Schristoscase "$ac_dir" in 13621.84Schristos.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13631.84Schristos*) 13641.108Schristos ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 13651.84Schristos # A ".." for each directory in $ac_dir_suffix. 13661.108Schristos ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13671.84Schristos case $ac_top_builddir_sub in 13681.84Schristos "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13691.84Schristos *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13701.84Schristos esac ;; 13711.84Schristosesac 13721.84Schristosac_abs_top_builddir=$ac_pwd 13731.84Schristosac_abs_builddir=$ac_pwd$ac_dir_suffix 13741.84Schristos# for backward compatibility: 13751.84Schristosac_top_builddir=$ac_top_build_prefix 13761.84Schristos 13771.84Schristoscase $srcdir in 13781.84Schristos .) # We are building in place. 13791.84Schristos ac_srcdir=. 13801.84Schristos ac_top_srcdir=$ac_top_builddir_sub 13811.84Schristos ac_abs_top_srcdir=$ac_pwd ;; 13821.84Schristos [\\/]* | ?:[\\/]* ) # Absolute name. 13831.84Schristos ac_srcdir=$srcdir$ac_dir_suffix; 13841.84Schristos ac_top_srcdir=$srcdir 13851.84Schristos ac_abs_top_srcdir=$srcdir ;; 13861.84Schristos *) # Relative name. 13871.84Schristos ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13881.84Schristos ac_top_srcdir=$ac_top_build_prefix$srcdir 13891.84Schristos ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13901.84Schristosesac 13911.84Schristosac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13921.1Stv 13931.84Schristos cd "$ac_dir" || { ac_status=$?; continue; } 13941.108Schristos # Check for configure.gnu first; this name is used for a wrapper for 13951.108Schristos # Metaconfig's "Configure" on case-insensitive file systems. 13961.84Schristos if test -f "$ac_srcdir/configure.gnu"; then 13971.84Schristos echo && 13981.84Schristos $SHELL "$ac_srcdir/configure.gnu" --help=recursive 13991.84Schristos elif test -f "$ac_srcdir/configure"; then 14001.84Schristos echo && 14011.84Schristos $SHELL "$ac_srcdir/configure" --help=recursive 14021.65Schristos else 14031.108Schristos printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14041.84Schristos fi || ac_status=$? 14051.84Schristos cd "$ac_pwd" || { ac_status=$?; break; } 14061.65Schristos done 14071.1Stvfi 14081.1Stv 14091.84Schristostest -n "$ac_init_help" && exit $ac_status 14101.1Stvif $ac_init_version; then 14111.84Schristos cat <<\_ACEOF 14121.1Stvlibnbcompat configure noversion 14131.108Schristosgenerated by GNU Autoconf 2.72 14141.1Stv 14151.108SchristosCopyright (C) 2023 Free Software Foundation, Inc. 14161.1StvThis configure script is free software; the Free Software Foundation 14171.1Stvgives unlimited permission to copy, distribute and modify it. 14181.84Schristos_ACEOF 14191.84Schristos exit 14201.1Stvfi 14211.1Stv 14221.84Schristos## ------------------------ ## 14231.84Schristos## Autoconf initialization. ## 14241.84Schristos## ------------------------ ## 14251.84Schristos 14261.84Schristos# ac_fn_c_try_compile LINENO 14271.84Schristos# -------------------------- 14281.84Schristos# Try to compile conftest.$ac_ext, and return whether this succeeded. 14291.84Schristosac_fn_c_try_compile () 14301.84Schristos{ 14311.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14321.108Schristos rm -f conftest.$ac_objext conftest.beam 14331.84Schristos if { { ac_try="$ac_compile" 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.108Schristosprintf "%s\n" "$ac_try_echo"; } >&5 14401.84Schristos (eval "$ac_compile") 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.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14481.84Schristos test $ac_status = 0; } && { 14491.84Schristos test -z "$ac_c_werror_flag" || 14501.84Schristos test ! -s conftest.err 14511.108Schristos } && test -s conftest.$ac_objext 14521.108Schristosthen : 14531.84Schristos ac_retval=0 14541.108Schristoselse case e in #( 14551.108Schristos e) printf "%s\n" "$as_me: failed program was:" >&5 14561.84Schristossed 's/^/| /' conftest.$ac_ext >&5 14571.84Schristos 14581.108Schristos ac_retval=1 ;; 14591.108Schristosesac 14601.84Schristosfi 14611.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 14621.84Schristos as_fn_set_status $ac_retval 14631.84Schristos 14641.84Schristos} # ac_fn_c_try_compile 14651.84Schristos 14661.84Schristos# ac_fn_c_try_cpp LINENO 14671.84Schristos# ---------------------- 14681.84Schristos# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 14691.84Schristosac_fn_c_try_cpp () 14701.84Schristos{ 14711.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14721.84Schristos if { { ac_try="$ac_cpp conftest.$ac_ext" 14731.84Schristoscase "(($ac_try" in 14741.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14751.84Schristos *) ac_try_echo=$ac_try;; 14761.84Schristosesac 14771.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14781.108Schristosprintf "%s\n" "$ac_try_echo"; } >&5 14791.84Schristos (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 14801.84Schristos ac_status=$? 14811.84Schristos if test -s conftest.err; then 14821.84Schristos grep -v '^ *+' conftest.err >conftest.er1 14831.84Schristos cat conftest.er1 >&5 14841.84Schristos mv -f conftest.er1 conftest.err 14851.84Schristos fi 14861.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14871.84Schristos test $ac_status = 0; } > conftest.i && { 14881.84Schristos test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14891.84Schristos test ! -s conftest.err 14901.108Schristos } 14911.108Schristosthen : 14921.84Schristos ac_retval=0 14931.108Schristoselse case e in #( 14941.108Schristos e) printf "%s\n" "$as_me: failed program was:" >&5 14951.84Schristossed 's/^/| /' conftest.$ac_ext >&5 14961.84Schristos 14971.108Schristos ac_retval=1 ;; 14981.108Schristosesac 14991.84Schristosfi 15001.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15011.84Schristos as_fn_set_status $ac_retval 15021.84Schristos 15031.84Schristos} # ac_fn_c_try_cpp 15041.84Schristos 15051.108Schristos# ac_fn_c_try_link LINENO 15061.108Schristos# ----------------------- 15071.108Schristos# Try to link conftest.$ac_ext, and return whether this succeeded. 15081.108Schristosac_fn_c_try_link () 15091.108Schristos{ 15101.108Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15111.108Schristos rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 15121.108Schristos if { { ac_try="$ac_link" 15131.108Schristoscase "(($ac_try" in 15141.108Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15151.108Schristos *) ac_try_echo=$ac_try;; 15161.108Schristosesac 15171.108Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15181.108Schristosprintf "%s\n" "$ac_try_echo"; } >&5 15191.108Schristos (eval "$ac_link") 2>conftest.err 15201.108Schristos ac_status=$? 15211.108Schristos if test -s conftest.err; then 15221.108Schristos grep -v '^ *+' conftest.err >conftest.er1 15231.108Schristos cat conftest.er1 >&5 15241.108Schristos mv -f conftest.er1 conftest.err 15251.108Schristos fi 15261.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15271.108Schristos test $ac_status = 0; } && { 15281.108Schristos test -z "$ac_c_werror_flag" || 15291.108Schristos test ! -s conftest.err 15301.108Schristos } && test -s conftest$ac_exeext && { 15311.108Schristos test "$cross_compiling" = yes || 15321.108Schristos test -x conftest$ac_exeext 15331.108Schristos } 15341.108Schristosthen : 15351.108Schristos ac_retval=0 15361.108Schristoselse case e in #( 15371.108Schristos e) printf "%s\n" "$as_me: failed program was:" >&5 15381.108Schristossed 's/^/| /' conftest.$ac_ext >&5 15391.108Schristos 15401.108Schristos ac_retval=1 ;; 15411.108Schristosesac 15421.108Schristosfi 15431.108Schristos # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 15441.108Schristos # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 15451.108Schristos # interfere with the next link command; also delete a directory that is 15461.108Schristos # left behind by Apple's compiler. We do this before executing the actions. 15471.108Schristos rm -rf conftest.dSYM conftest_ipa8_conftest.oo 15481.108Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15491.108Schristos as_fn_set_status $ac_retval 15501.108Schristos 15511.108Schristos} # ac_fn_c_try_link 15521.108Schristos 15531.84Schristos# ac_fn_c_try_run LINENO 15541.84Schristos# ---------------------- 15551.108Schristos# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that 15561.108Schristos# executables *can* be run. 15571.84Schristosac_fn_c_try_run () 15581.84Schristos{ 15591.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15601.84Schristos if { { ac_try="$ac_link" 15611.84Schristoscase "(($ac_try" in 15621.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15631.84Schristos *) ac_try_echo=$ac_try;; 15641.84Schristosesac 15651.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15661.108Schristosprintf "%s\n" "$ac_try_echo"; } >&5 15671.84Schristos (eval "$ac_link") 2>&5 15681.84Schristos ac_status=$? 15691.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15701.84Schristos test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 15711.84Schristos { { case "(($ac_try" in 15721.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15731.84Schristos *) ac_try_echo=$ac_try;; 15741.84Schristosesac 15751.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15761.108Schristosprintf "%s\n" "$ac_try_echo"; } >&5 15771.84Schristos (eval "$ac_try") 2>&5 15781.84Schristos ac_status=$? 15791.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15801.108Schristos test $ac_status = 0; }; } 15811.108Schristosthen : 15821.84Schristos ac_retval=0 15831.108Schristoselse case e in #( 15841.108Schristos e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5 15851.108Schristos printf "%s\n" "$as_me: failed program was:" >&5 15861.84Schristossed 's/^/| /' conftest.$ac_ext >&5 15871.84Schristos 15881.108Schristos ac_retval=$ac_status ;; 15891.108Schristosesac 15901.84Schristosfi 15911.84Schristos rm -rf conftest.dSYM conftest_ipa8_conftest.oo 15921.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15931.84Schristos as_fn_set_status $ac_retval 15941.84Schristos 15951.84Schristos} # ac_fn_c_try_run 15961.84Schristos 15971.84Schristos# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 15981.84Schristos# ------------------------------------------------------- 15991.84Schristos# Tests whether HEADER exists and can be compiled using the include files in 16001.84Schristos# INCLUDES, setting the cache variable VAR accordingly. 16011.84Schristosac_fn_c_check_header_compile () 16021.84Schristos{ 16031.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16041.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16051.108Schristosprintf %s "checking for $2... " >&6; } 16061.108Schristosif eval test \${$3+y} 16071.108Schristosthen : 16081.108Schristos printf %s "(cached) " >&6 16091.108Schristoselse case e in #( 16101.108Schristos e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16111.84Schristos/* end confdefs.h. */ 16121.84Schristos$4 16131.84Schristos#include <$2> 16141.84Schristos_ACEOF 16151.108Schristosif ac_fn_c_try_compile "$LINENO" 16161.108Schristosthen : 16171.84Schristos eval "$3=yes" 16181.108Schristoselse case e in #( 16191.108Schristos e) eval "$3=no" ;; 16201.108Schristosesac 16211.84Schristosfi 16221.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 16231.108Schristosesac 16241.84Schristosfi 16251.84Schristoseval ac_res=\$$3 16261.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16271.108Schristosprintf "%s\n" "$ac_res" >&6; } 16281.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16291.84Schristos 16301.84Schristos} # ac_fn_c_check_header_compile 16311.84Schristos 16321.84Schristos# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 16331.84Schristos# ------------------------------------------- 16341.84Schristos# Tests whether TYPE exists after having included INCLUDES, setting cache 16351.84Schristos# variable VAR accordingly. 16361.84Schristosac_fn_c_check_type () 16371.84Schristos{ 16381.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16391.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16401.108Schristosprintf %s "checking for $2... " >&6; } 16411.108Schristosif eval test \${$3+y} 16421.108Schristosthen : 16431.108Schristos printf %s "(cached) " >&6 16441.108Schristoselse case e in #( 16451.108Schristos e) eval "$3=no" 16461.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16471.84Schristos/* end confdefs.h. */ 16481.84Schristos$4 16491.84Schristosint 16501.108Schristosmain (void) 16511.84Schristos{ 16521.84Schristosif (sizeof ($2)) 16531.84Schristos return 0; 16541.84Schristos ; 16551.84Schristos return 0; 16561.84Schristos} 16571.84Schristos_ACEOF 16581.108Schristosif ac_fn_c_try_compile "$LINENO" 16591.108Schristosthen : 16601.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16611.84Schristos/* end confdefs.h. */ 16621.84Schristos$4 16631.84Schristosint 16641.108Schristosmain (void) 16651.74Schristos{ 16661.84Schristosif (sizeof (($2))) 16671.84Schristos return 0; 16681.84Schristos ; 16691.84Schristos return 0; 16701.84Schristos} 16711.84Schristos_ACEOF 16721.108Schristosif ac_fn_c_try_compile "$LINENO" 16731.108Schristosthen : 16741.84Schristos 16751.108Schristoselse case e in #( 16761.108Schristos e) eval "$3=yes" ;; 16771.108Schristosesac 16781.84Schristosfi 16791.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16801.84Schristosfi 16811.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 16821.108Schristosesac 16831.84Schristosfi 16841.84Schristoseval ac_res=\$$3 16851.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16861.108Schristosprintf "%s\n" "$ac_res" >&6; } 16871.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16881.84Schristos 16891.84Schristos} # ac_fn_c_check_type 16901.74Schristos 16911.84Schristos# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 16921.84Schristos# ---------------------------------------------------- 16931.84Schristos# Tries to find if the field MEMBER exists in type AGGR, after including 16941.84Schristos# INCLUDES, setting cache variable VAR accordingly. 16951.84Schristosac_fn_c_check_member () 16961.84Schristos{ 16971.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16981.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 16991.108Schristosprintf %s "checking for $2.$3... " >&6; } 17001.108Schristosif eval test \${$4+y} 17011.108Schristosthen : 17021.108Schristos printf %s "(cached) " >&6 17031.108Schristoselse case e in #( 17041.108Schristos e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17051.84Schristos/* end confdefs.h. */ 17061.84Schristos$5 17071.84Schristosint 17081.108Schristosmain (void) 17091.84Schristos{ 17101.84Schristosstatic $2 ac_aggr; 17111.84Schristosif (ac_aggr.$3) 17121.84Schristosreturn 0; 17131.84Schristos ; 17141.84Schristos return 0; 17151.84Schristos} 17161.84Schristos_ACEOF 17171.108Schristosif ac_fn_c_try_compile "$LINENO" 17181.108Schristosthen : 17191.84Schristos eval "$4=yes" 17201.108Schristoselse case e in #( 17211.108Schristos e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17221.84Schristos/* end confdefs.h. */ 17231.84Schristos$5 17241.84Schristosint 17251.108Schristosmain (void) 17261.84Schristos{ 17271.84Schristosstatic $2 ac_aggr; 17281.84Schristosif (sizeof ac_aggr.$3) 17291.84Schristosreturn 0; 17301.84Schristos ; 17311.84Schristos return 0; 17321.84Schristos} 17331.84Schristos_ACEOF 17341.108Schristosif ac_fn_c_try_compile "$LINENO" 17351.108Schristosthen : 17361.84Schristos eval "$4=yes" 17371.108Schristoselse case e in #( 17381.108Schristos e) eval "$4=no" ;; 17391.108Schristosesac 17401.84Schristosfi 17411.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 17421.108Schristosesac 17431.84Schristosfi 17441.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 17451.108Schristosesac 17461.84Schristosfi 17471.84Schristoseval ac_res=\$$4 17481.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 17491.108Schristosprintf "%s\n" "$ac_res" >&6; } 17501.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 17511.74Schristos 17521.84Schristos} # ac_fn_c_check_member 17531.1Stv 17541.108Schristos# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR 17551.108Schristos# ------------------------------------------------------------------ 17561.84Schristos# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 17571.108Schristos# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. 17581.108Schristosac_fn_check_decl () 17591.84Schristos{ 17601.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17611.84Schristos as_decl_name=`echo $2|sed 's/ *(.*//'` 17621.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 17631.108Schristosprintf %s "checking whether $as_decl_name is declared... " >&6; } 17641.108Schristosif eval test \${$3+y} 17651.108Schristosthen : 17661.108Schristos printf %s "(cached) " >&6 17671.108Schristoselse case e in #( 17681.108Schristos e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 17691.108Schristos eval ac_save_FLAGS=\$$6 17701.108Schristos as_fn_append $6 " $5" 17711.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17721.84Schristos/* end confdefs.h. */ 17731.84Schristos$4 17741.84Schristosint 17751.108Schristosmain (void) 17761.84Schristos{ 17771.84Schristos#ifndef $as_decl_name 17781.84Schristos#ifdef __cplusplus 17791.84Schristos (void) $as_decl_use; 17801.84Schristos#else 17811.84Schristos (void) $as_decl_name; 17821.84Schristos#endif 17831.84Schristos#endif 17841.1Stv 17851.84Schristos ; 17861.84Schristos return 0; 17871.84Schristos} 17881.84Schristos_ACEOF 17891.108Schristosif ac_fn_c_try_compile "$LINENO" 17901.108Schristosthen : 17911.84Schristos eval "$3=yes" 17921.108Schristoselse case e in #( 17931.108Schristos e) eval "$3=no" ;; 17941.108Schristosesac 17951.84Schristosfi 17961.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17971.108Schristos eval $6=\$ac_save_FLAGS 17981.108Schristos ;; 17991.108Schristosesac 18001.84Schristosfi 18011.84Schristoseval ac_res=\$$3 18021.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18031.108Schristosprintf "%s\n" "$ac_res" >&6; } 18041.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 18051.1Stv 18061.108Schristos} # ac_fn_check_decl 18071.1Stv 18081.84Schristos# ac_fn_c_check_func LINENO FUNC VAR 18091.84Schristos# ---------------------------------- 18101.84Schristos# Tests whether FUNC exists, setting the cache variable VAR accordingly 18111.84Schristosac_fn_c_check_func () 18121.84Schristos{ 18131.84Schristos as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 18141.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 18151.108Schristosprintf %s "checking for $2... " >&6; } 18161.108Schristosif eval test \${$3+y} 18171.108Schristosthen : 18181.108Schristos printf %s "(cached) " >&6 18191.108Schristoselse case e in #( 18201.108Schristos e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18211.84Schristos/* end confdefs.h. */ 18221.84Schristos/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 18231.84Schristos For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18241.84Schristos#define $2 innocuous_$2 18251.84Schristos 18261.84Schristos/* System header to define __stub macros and hopefully few prototypes, 18271.108Schristos which can conflict with char $2 (void); below. */ 18281.84Schristos 18291.108Schristos#include <limits.h> 18301.84Schristos#undef $2 18311.84Schristos 18321.84Schristos/* Override any GCC internal prototype to avoid an error. 18331.84Schristos Use char because int might match the return type of a GCC 18341.84Schristos builtin and then its argument prototype would still apply. */ 18351.84Schristos#ifdef __cplusplus 18361.84Schristosextern "C" 18371.84Schristos#endif 18381.108Schristoschar $2 (void); 18391.84Schristos/* The GNU C library defines this for functions which it implements 18401.84Schristos to always fail with ENOSYS. Some functions are actually named 18411.84Schristos something starting with __ and the normal name is an alias. */ 18421.84Schristos#if defined __stub_$2 || defined __stub___$2 18431.84Schristoschoke me 18441.84Schristos#endif 18451.84Schristos 18461.84Schristosint 18471.108Schristosmain (void) 18481.84Schristos{ 18491.84Schristosreturn $2 (); 18501.84Schristos ; 18511.84Schristos return 0; 18521.84Schristos} 18531.84Schristos_ACEOF 18541.108Schristosif ac_fn_c_try_link "$LINENO" 18551.108Schristosthen : 18561.84Schristos eval "$3=yes" 18571.108Schristoselse case e in #( 18581.108Schristos e) eval "$3=no" ;; 18591.108Schristosesac 18601.84Schristosfi 18611.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam \ 18621.108Schristos conftest$ac_exeext conftest.$ac_ext ;; 18631.108Schristosesac 18641.84Schristosfi 18651.84Schristoseval ac_res=\$$3 18661.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18671.108Schristosprintf "%s\n" "$ac_res" >&6; } 18681.84Schristos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 18691.84Schristos 18701.84Schristos} # ac_fn_c_check_func 18711.108Schristosac_configure_args_raw= 18721.108Schristosfor ac_arg 18731.108Schristosdo 18741.108Schristos case $ac_arg in 18751.108Schristos *\'*) 18761.108Schristos ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 18771.108Schristos esac 18781.108Schristos as_fn_append ac_configure_args_raw " '$ac_arg'" 18791.108Schristosdone 18801.108Schristos 18811.108Schristoscase $ac_configure_args_raw in 18821.108Schristos *$as_nl*) 18831.108Schristos ac_safe_unquote= ;; 18841.108Schristos *) 18851.108Schristos ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 18861.108Schristos ac_unsafe_a="$ac_unsafe_z#~" 18871.108Schristos ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 18881.108Schristos ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 18891.108Schristosesac 18901.108Schristos 18911.84Schristoscat >config.log <<_ACEOF 18921.84SchristosThis file contains any messages produced by compilers while 18931.84Schristosrunning configure, to aid debugging if configure makes a mistake. 18941.84Schristos 18951.84SchristosIt was created by libnbcompat $as_me noversion, which was 18961.108Schristosgenerated by GNU Autoconf 2.72. Invocation command line was 18971.84Schristos 18981.108Schristos $ $0$ac_configure_args_raw 18991.84Schristos 19001.84Schristos_ACEOF 19011.84Schristosexec 5>>config.log 19021.84Schristos{ 19031.84Schristoscat <<_ASUNAME 19041.84Schristos## --------- ## 19051.84Schristos## Platform. ## 19061.84Schristos## --------- ## 19071.84Schristos 19081.84Schristoshostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 19091.84Schristosuname -m = `(uname -m) 2>/dev/null || echo unknown` 19101.84Schristosuname -r = `(uname -r) 2>/dev/null || echo unknown` 19111.84Schristosuname -s = `(uname -s) 2>/dev/null || echo unknown` 19121.84Schristosuname -v = `(uname -v) 2>/dev/null || echo unknown` 19131.84Schristos 19141.84Schristos/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 19151.84Schristos/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 19161.84Schristos 19171.84Schristos/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 19181.84Schristos/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 19191.84Schristos/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 19201.84Schristos/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 19211.84Schristos/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 19221.84Schristos/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 19231.84Schristos/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 19241.84Schristos 19251.84Schristos_ASUNAME 19261.84Schristos 19271.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19281.84Schristosfor as_dir in $PATH 19291.84Schristosdo 19301.84Schristos IFS=$as_save_IFS 19311.108Schristos case $as_dir in #((( 19321.108Schristos '') as_dir=./ ;; 19331.108Schristos */) ;; 19341.108Schristos *) as_dir=$as_dir/ ;; 19351.108Schristos esac 19361.108Schristos printf "%s\n" "PATH: $as_dir" 19371.84Schristos done 19381.84SchristosIFS=$as_save_IFS 19391.84Schristos 19401.84Schristos} >&5 19411.84Schristos 19421.84Schristoscat >&5 <<_ACEOF 19431.84Schristos 19441.84Schristos 19451.84Schristos## ----------- ## 19461.84Schristos## Core tests. ## 19471.84Schristos## ----------- ## 19481.84Schristos 19491.84Schristos_ACEOF 19501.66Stsutsui 19511.1Stv 19521.76Spooka# Keep a trace of the command line. 19531.76Spooka# Strip out --no-create and --no-recursion so they do not pile up. 19541.84Schristos# Strip out --silent because we don't want to record it for future runs. 19551.76Spooka# Also quote any args containing shell meta-characters. 19561.84Schristos# Make two passes to allow for proper duplicate-argument suppression. 19571.76Spookaac_configure_args= 19581.84Schristosac_configure_args0= 19591.84Schristosac_configure_args1= 19601.84Schristosac_must_keep_next=false 19611.84Schristosfor ac_pass in 1 2 19621.76Spookado 19631.84Schristos for ac_arg 19641.84Schristos do 19651.84Schristos case $ac_arg in 19661.84Schristos -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 19671.84Schristos -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 19681.84Schristos | -silent | --silent | --silen | --sile | --sil) 19691.84Schristos continue ;; 19701.84Schristos *\'*) 19711.108Schristos ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 19721.84Schristos esac 19731.84Schristos case $ac_pass in 19741.84Schristos 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 19751.84Schristos 2) 19761.84Schristos as_fn_append ac_configure_args1 " '$ac_arg'" 19771.84Schristos if test $ac_must_keep_next = true; then 19781.84Schristos ac_must_keep_next=false # Got value, back to normal. 19791.84Schristos else 19801.84Schristos case $ac_arg in 19811.84Schristos *=* | --config-cache | -C | -disable-* | --disable-* \ 19821.84Schristos | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 19831.84Schristos | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 19841.84Schristos | -with-* | --with-* | -without-* | --without-* | --x) 19851.84Schristos case "$ac_configure_args0 " in 19861.84Schristos "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 19871.84Schristos esac 19881.84Schristos ;; 19891.84Schristos -* ) ac_must_keep_next=true ;; 19901.84Schristos esac 19911.84Schristos fi 19921.84Schristos as_fn_append ac_configure_args " '$ac_arg'" 19931.84Schristos ;; 19941.84Schristos esac 19951.84Schristos done 19961.1Stvdone 19971.84Schristos{ ac_configure_args0=; unset ac_configure_args0;} 19981.84Schristos{ ac_configure_args1=; unset ac_configure_args1;} 19991.1Stv 20001.1Stv# When interrupted or exit'd, cleanup temporary files, and complete 20011.1Stv# config.log. We remove comments because anyway the quotes in there 20021.1Stv# would cause problems or look ugly. 20031.84Schristos# WARNING: Use '\'' to represent an apostrophe within the trap. 20041.84Schristos# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 20051.1Stvtrap 'exit_status=$? 20061.108Schristos # Sanitize IFS. 20071.108Schristos IFS=" "" $as_nl" 20081.1Stv # Save into config.log some information that might help in debugging. 20091.84Schristos { 20101.84Schristos echo 20111.84Schristos 20121.108Schristos printf "%s\n" "## ---------------- ## 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.108Schristos *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 20241.108Schristosprintf "%s\n" "$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.108Schristos printf "%s\n" "## ----------------- ## 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.108Schristos *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 20571.84Schristos esac 20581.108Schristos printf "%s\n" "$ac_var='\''$ac_val'\''" 20591.84Schristos done | sort 20601.84Schristos echo 20611.84Schristos 20621.84Schristos if test -n "$ac_subst_files"; then 20631.108Schristos printf "%s\n" "## ------------------- ## 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.108Schristos *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 20721.84Schristos esac 20731.108Schristos printf "%s\n" "$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.108Schristos printf "%s\n" "## ----------- ## 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.108Schristos printf "%s\n" "$as_me: caught signal $ac_signal" 20881.108Schristos printf "%s\n" "$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.108Schristosprintf "%s\n" "/* confdefs.h */" > confdefs.h 21031.84Schristos 21041.84Schristos# Predefined preprocessor variables. 21051.84Schristos 21061.108Schristosprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 21071.84Schristos 21081.108Schristosprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 21091.84Schristos 21101.108Schristosprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 21111.84Schristos 21121.108Schristosprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 21131.84Schristos 21141.108Schristosprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 21151.84Schristos 21161.108Schristosprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 21171.84Schristos 21181.1Stv 21191.1Stv# Let the site file select an alternate cache file if it wants to. 21201.84Schristos# Prefer an explicitly selected file to automatically selected ones. 21211.84Schristosif test -n "$CONFIG_SITE"; then 21221.108Schristos ac_site_files="$CONFIG_SITE" 21231.84Schristoselif test "x$prefix" != xNONE; then 21241.108Schristos ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 21251.84Schristoselse 21261.108Schristos ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 21271.1Stvfi 21281.108Schristos 21291.108Schristosfor ac_site_file in $ac_site_files 21301.84Schristosdo 21311.108Schristos case $ac_site_file in #( 21321.108Schristos */*) : 21331.108Schristos ;; #( 21341.108Schristos *) : 21351.108Schristos ac_site_file=./$ac_site_file ;; 21361.108Schristosesac 21371.108Schristos if test -f "$ac_site_file" && test -r "$ac_site_file"; then 21381.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 21391.108Schristosprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 21401.84Schristos sed 's/^/| /' "$ac_site_file" >&5 21411.84Schristos . "$ac_site_file" \ 21421.108Schristos || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 21431.108Schristosprintf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 21441.84Schristosas_fn_error $? "failed to load site script $ac_site_file 21451.108SchristosSee 'config.log' for more details" "$LINENO" 5; } 21461.1Stv fi 21471.1Stvdone 21481.1Stv 21491.1Stvif test -r "$cache_file"; then 21501.84Schristos # Some versions of bash will fail to source /dev/null (special files 21511.84Schristos # actually), so we avoid doing that. DJGPP emulates it as a regular file. 21521.84Schristos if test /dev/null != "$cache_file" && test -f "$cache_file"; then 21531.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 21541.108Schristosprintf "%s\n" "$as_me: loading cache $cache_file" >&6;} 21551.1Stv case $cache_file in 21561.84Schristos [\\/]* | ?:[\\/]* ) . "$cache_file";; 21571.84Schristos *) . "./$cache_file";; 21581.1Stv esac 21591.1Stv fi 21601.1Stvelse 21611.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 21621.108Schristosprintf "%s\n" "$as_me: creating cache $cache_file" >&6;} 21631.1Stv >$cache_file 21641.1Stvfi 21651.1Stv 21661.108Schristos# Test code for whether the C compiler supports C89 (global declarations) 21671.108Schristosac_c_conftest_c89_globals=' 21681.108Schristos/* Does the compiler advertise C89 conformance? 21691.108Schristos Do not test the value of __STDC__, because some compilers set it to 0 21701.108Schristos while being otherwise adequately conformant. */ 21711.108Schristos#if !defined __STDC__ 21721.108Schristos# error "Compiler does not advertise C89 conformance" 21731.108Schristos#endif 21741.108Schristos 21751.108Schristos#include <stddef.h> 21761.108Schristos#include <stdarg.h> 21771.108Schristosstruct stat; 21781.108Schristos/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 21791.108Schristosstruct buf { int x; }; 21801.108Schristosstruct buf * (*rcsopen) (struct buf *, struct stat *, int); 21811.108Schristosstatic char *e (char **p, int i) 21821.108Schristos{ 21831.108Schristos return p[i]; 21841.108Schristos} 21851.108Schristosstatic char *f (char * (*g) (char **, int), char **p, ...) 21861.108Schristos{ 21871.108Schristos char *s; 21881.108Schristos va_list v; 21891.108Schristos va_start (v,p); 21901.108Schristos s = g (p, va_arg (v,int)); 21911.108Schristos va_end (v); 21921.108Schristos return s; 21931.108Schristos} 21941.108Schristos 21951.108Schristos/* C89 style stringification. */ 21961.108Schristos#define noexpand_stringify(a) #a 21971.108Schristosconst char *stringified = noexpand_stringify(arbitrary+token=sequence); 21981.108Schristos 21991.108Schristos/* C89 style token pasting. Exercises some of the corner cases that 22001.108Schristos e.g. old MSVC gets wrong, but not very hard. */ 22011.108Schristos#define noexpand_concat(a,b) a##b 22021.108Schristos#define expand_concat(a,b) noexpand_concat(a,b) 22031.108Schristosextern int vA; 22041.108Schristosextern int vbee; 22051.108Schristos#define aye A 22061.108Schristos#define bee B 22071.108Schristosint *pvA = &expand_concat(v,aye); 22081.108Schristosint *pvbee = &noexpand_concat(v,bee); 22091.108Schristos 22101.108Schristos/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 22111.108Schristos function prototypes and stuff, but not \xHH hex character constants. 22121.108Schristos These do not provoke an error unfortunately, instead are silently treated 22131.108Schristos as an "x". The following induces an error, until -std is added to get 22141.108Schristos proper ANSI mode. Curiously \x00 != x always comes out true, for an 22151.108Schristos array size at least. It is necessary to write \x00 == 0 to get something 22161.108Schristos that is true only with -std. */ 22171.108Schristosint osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 22181.108Schristos 22191.108Schristos/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 22201.108Schristos inside strings and character constants. */ 22211.108Schristos#define FOO(x) '\''x'\'' 22221.108Schristosint xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 22231.108Schristos 22241.108Schristosint test (int i, double x); 22251.108Schristosstruct s1 {int (*f) (int a);}; 22261.108Schristosstruct s2 {int (*f) (double a);}; 22271.108Schristosint pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 22281.108Schristos int, int);' 22291.108Schristos 22301.108Schristos# Test code for whether the C compiler supports C89 (body of main). 22311.108Schristosac_c_conftest_c89_main=' 22321.108Schristosok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 22331.108Schristos' 22341.108Schristos 22351.108Schristos# Test code for whether the C compiler supports C99 (global declarations) 22361.108Schristosac_c_conftest_c99_globals=' 22371.108Schristos/* Does the compiler advertise C99 conformance? */ 22381.108Schristos#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 22391.108Schristos# error "Compiler does not advertise C99 conformance" 22401.108Schristos#endif 22411.108Schristos 22421.108Schristos// See if C++-style comments work. 22431.108Schristos 22441.108Schristos#include <stdbool.h> 22451.108Schristosextern int puts (const char *); 22461.108Schristosextern int printf (const char *, ...); 22471.108Schristosextern int dprintf (int, const char *, ...); 22481.108Schristosextern void *malloc (size_t); 22491.108Schristosextern void free (void *); 22501.108Schristos 22511.108Schristos// Check varargs macros. These examples are taken from C99 6.10.3.5. 22521.108Schristos// dprintf is used instead of fprintf to avoid needing to declare 22531.108Schristos// FILE and stderr. 22541.108Schristos#define debug(...) dprintf (2, __VA_ARGS__) 22551.108Schristos#define showlist(...) puts (#__VA_ARGS__) 22561.108Schristos#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 22571.108Schristosstatic void 22581.108Schristostest_varargs_macros (void) 22591.108Schristos{ 22601.108Schristos int x = 1234; 22611.108Schristos int y = 5678; 22621.108Schristos debug ("Flag"); 22631.108Schristos debug ("X = %d\n", x); 22641.108Schristos showlist (The first, second, and third items.); 22651.108Schristos report (x>y, "x is %d but y is %d", x, y); 22661.108Schristos} 22671.108Schristos 22681.108Schristos// Check long long types. 22691.108Schristos#define BIG64 18446744073709551615ull 22701.108Schristos#define BIG32 4294967295ul 22711.108Schristos#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 22721.108Schristos#if !BIG_OK 22731.108Schristos #error "your preprocessor is broken" 22741.108Schristos#endif 22751.108Schristos#if BIG_OK 22761.108Schristos#else 22771.108Schristos #error "your preprocessor is broken" 22781.108Schristos#endif 22791.108Schristosstatic long long int bignum = -9223372036854775807LL; 22801.108Schristosstatic unsigned long long int ubignum = BIG64; 22811.108Schristos 22821.108Schristosstruct incomplete_array 22831.108Schristos{ 22841.108Schristos int datasize; 22851.108Schristos double data[]; 22861.108Schristos}; 22871.108Schristos 22881.108Schristosstruct named_init { 22891.108Schristos int number; 22901.108Schristos const wchar_t *name; 22911.108Schristos double average; 22921.108Schristos}; 22931.108Schristos 22941.108Schristostypedef const char *ccp; 22951.108Schristos 22961.108Schristosstatic inline int 22971.108Schristostest_restrict (ccp restrict text) 22981.108Schristos{ 22991.108Schristos // Iterate through items via the restricted pointer. 23001.108Schristos // Also check for declarations in for loops. 23011.108Schristos for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 23021.108Schristos continue; 23031.108Schristos return 0; 23041.108Schristos} 23051.108Schristos 23061.108Schristos// Check varargs and va_copy. 23071.108Schristosstatic bool 23081.108Schristostest_varargs (const char *format, ...) 23091.108Schristos{ 23101.108Schristos va_list args; 23111.108Schristos va_start (args, format); 23121.108Schristos va_list args_copy; 23131.108Schristos va_copy (args_copy, args); 23141.108Schristos 23151.108Schristos const char *str = ""; 23161.108Schristos int number = 0; 23171.108Schristos float fnumber = 0; 23181.108Schristos 23191.108Schristos while (*format) 23201.108Schristos { 23211.108Schristos switch (*format++) 23221.108Schristos { 23231.108Schristos case '\''s'\'': // string 23241.108Schristos str = va_arg (args_copy, const char *); 23251.108Schristos break; 23261.108Schristos case '\''d'\'': // int 23271.108Schristos number = va_arg (args_copy, int); 23281.108Schristos break; 23291.108Schristos case '\''f'\'': // float 23301.108Schristos fnumber = va_arg (args_copy, double); 23311.108Schristos break; 23321.108Schristos default: 23331.108Schristos break; 23341.108Schristos } 23351.108Schristos } 23361.108Schristos va_end (args_copy); 23371.108Schristos va_end (args); 23381.108Schristos 23391.108Schristos return *str && number && fnumber; 23401.108Schristos} 23411.108Schristos' 23421.108Schristos 23431.108Schristos# Test code for whether the C compiler supports C99 (body of main). 23441.108Schristosac_c_conftest_c99_main=' 23451.108Schristos // Check bool. 23461.108Schristos _Bool success = false; 23471.108Schristos success |= (argc != 0); 23481.108Schristos 23491.108Schristos // Check restrict. 23501.108Schristos if (test_restrict ("String literal") == 0) 23511.108Schristos success = true; 23521.108Schristos char *restrict newvar = "Another string"; 23531.108Schristos 23541.108Schristos // Check varargs. 23551.108Schristos success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 23561.108Schristos test_varargs_macros (); 23571.108Schristos 23581.108Schristos // Check flexible array members. 23591.108Schristos struct incomplete_array *ia = 23601.108Schristos malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 23611.108Schristos ia->datasize = 10; 23621.108Schristos for (int i = 0; i < ia->datasize; ++i) 23631.108Schristos ia->data[i] = i * 1.234; 23641.108Schristos // Work around memory leak warnings. 23651.108Schristos free (ia); 23661.108Schristos 23671.108Schristos // Check named initializers. 23681.108Schristos struct named_init ni = { 23691.108Schristos .number = 34, 23701.108Schristos .name = L"Test wide string", 23711.108Schristos .average = 543.34343, 23721.108Schristos }; 23731.108Schristos 23741.108Schristos ni.number = 58; 23751.108Schristos 23761.108Schristos int dynamic_array[ni.number]; 23771.108Schristos dynamic_array[0] = argv[0][0]; 23781.108Schristos dynamic_array[ni.number - 1] = 543; 23791.108Schristos 23801.108Schristos // work around unused variable warnings 23811.108Schristos ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 23821.108Schristos || dynamic_array[ni.number - 1] != 543); 23831.108Schristos' 23841.108Schristos 23851.108Schristos# Test code for whether the C compiler supports C11 (global declarations) 23861.108Schristosac_c_conftest_c11_globals=' 23871.108Schristos/* Does the compiler advertise C11 conformance? */ 23881.108Schristos#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 23891.108Schristos# error "Compiler does not advertise C11 conformance" 23901.108Schristos#endif 23911.108Schristos 23921.108Schristos// Check _Alignas. 23931.108Schristoschar _Alignas (double) aligned_as_double; 23941.108Schristoschar _Alignas (0) no_special_alignment; 23951.108Schristosextern char aligned_as_int; 23961.108Schristoschar _Alignas (0) _Alignas (int) aligned_as_int; 23971.108Schristos 23981.108Schristos// Check _Alignof. 23991.108Schristosenum 24001.108Schristos{ 24011.108Schristos int_alignment = _Alignof (int), 24021.108Schristos int_array_alignment = _Alignof (int[100]), 24031.108Schristos char_alignment = _Alignof (char) 24041.108Schristos}; 24051.108Schristos_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 24061.108Schristos 24071.108Schristos// Check _Noreturn. 24081.108Schristosint _Noreturn does_not_return (void) { for (;;) continue; } 24091.108Schristos 24101.108Schristos// Check _Static_assert. 24111.108Schristosstruct test_static_assert 24121.108Schristos{ 24131.108Schristos int x; 24141.108Schristos _Static_assert (sizeof (int) <= sizeof (long int), 24151.108Schristos "_Static_assert does not work in struct"); 24161.108Schristos long int y; 24171.108Schristos}; 24181.108Schristos 24191.108Schristos// Check UTF-8 literals. 24201.108Schristos#define u8 syntax error! 24211.108Schristoschar const utf8_literal[] = u8"happens to be ASCII" "another string"; 24221.108Schristos 24231.108Schristos// Check duplicate typedefs. 24241.108Schristostypedef long *long_ptr; 24251.108Schristostypedef long int *long_ptr; 24261.108Schristostypedef long_ptr long_ptr; 24271.108Schristos 24281.108Schristos// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 24291.108Schristosstruct anonymous 24301.108Schristos{ 24311.108Schristos union { 24321.108Schristos struct { int i; int j; }; 24331.108Schristos struct { int k; long int l; } w; 24341.108Schristos }; 24351.108Schristos int m; 24361.108Schristos} v1; 24371.108Schristos' 24381.108Schristos 24391.108Schristos# Test code for whether the C compiler supports C11 (body of main). 24401.108Schristosac_c_conftest_c11_main=' 24411.108Schristos _Static_assert ((offsetof (struct anonymous, i) 24421.108Schristos == offsetof (struct anonymous, w.k)), 24431.108Schristos "Anonymous union alignment botch"); 24441.108Schristos v1.i = 2; 24451.108Schristos v1.w.k = 5; 24461.108Schristos ok |= v1.i != 5; 24471.108Schristos' 24481.108Schristos 24491.108Schristos# Test code for whether the C compiler supports C11 (complete). 24501.108Schristosac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 24511.108Schristos${ac_c_conftest_c99_globals} 24521.108Schristos${ac_c_conftest_c11_globals} 24531.108Schristos 24541.108Schristosint 24551.108Schristosmain (int argc, char **argv) 24561.108Schristos{ 24571.108Schristos int ok = 0; 24581.108Schristos ${ac_c_conftest_c89_main} 24591.108Schristos ${ac_c_conftest_c99_main} 24601.108Schristos ${ac_c_conftest_c11_main} 24611.108Schristos return ok; 24621.108Schristos} 24631.108Schristos" 24641.108Schristos 24651.108Schristos# Test code for whether the C compiler supports C99 (complete). 24661.108Schristosac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 24671.108Schristos${ac_c_conftest_c99_globals} 24681.108Schristos 24691.108Schristosint 24701.108Schristosmain (int argc, char **argv) 24711.108Schristos{ 24721.108Schristos int ok = 0; 24731.108Schristos ${ac_c_conftest_c89_main} 24741.108Schristos ${ac_c_conftest_c99_main} 24751.108Schristos return ok; 24761.108Schristos} 24771.108Schristos" 24781.108Schristos 24791.108Schristos# Test code for whether the C compiler supports C89 (complete). 24801.108Schristosac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 24811.108Schristos 24821.108Schristosint 24831.108Schristosmain (int argc, char **argv) 24841.108Schristos{ 24851.108Schristos int ok = 0; 24861.108Schristos ${ac_c_conftest_c89_main} 24871.108Schristos return ok; 24881.108Schristos} 24891.108Schristos" 24901.108Schristos 24911.108Schristosas_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 24921.108Schristosas_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 24931.108Schristosas_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 24941.108Schristosas_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 24951.108Schristosas_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 24961.108Schristosas_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 24971.108Schristosas_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 24981.108Schristosas_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 24991.108Schristosas_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 25001.1Stv# Check that the precious variables saved in the cache have kept the same 25011.1Stv# value. 25021.1Stvac_cache_corrupted=false 25031.84Schristosfor ac_var in $ac_precious_vars; do 25041.1Stv eval ac_old_set=\$ac_cv_env_${ac_var}_set 25051.1Stv eval ac_new_set=\$ac_env_${ac_var}_set 25061.84Schristos eval ac_old_val=\$ac_cv_env_${ac_var}_value 25071.84Schristos eval ac_new_val=\$ac_env_${ac_var}_value 25081.1Stv case $ac_old_set,$ac_new_set in 25091.1Stv set,) 25101.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5 25111.108Schristosprintf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;} 25121.1Stv ac_cache_corrupted=: ;; 25131.1Stv ,set) 25141.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5 25151.108Schristosprintf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;} 25161.1Stv ac_cache_corrupted=: ;; 25171.1Stv ,);; 25181.1Stv *) 25191.1Stv if test "x$ac_old_val" != "x$ac_new_val"; then 25201.84Schristos # differences in whitespace do not lead to failure. 25211.84Schristos ac_old_val_w=`echo x $ac_old_val` 25221.84Schristos ac_new_val_w=`echo x $ac_new_val` 25231.84Schristos if test "$ac_old_val_w" != "$ac_new_val_w"; then 25241.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5 25251.108Schristosprintf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;} 25261.84Schristos ac_cache_corrupted=: 25271.84Schristos else 25281.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5 25291.108Schristosprintf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;} 25301.84Schristos eval $ac_var=\$ac_old_val 25311.84Schristos fi 25321.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5 25331.108Schristosprintf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;} 25341.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5 25351.108Schristosprintf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;} 25361.1Stv fi;; 25371.1Stv esac 25381.84Schristos # Pass precious variables to config.status. 25391.1Stv if test "$ac_new_set" = set; then 25401.1Stv case $ac_new_val in 25411.108Schristos *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 25421.84Schristos *) ac_arg=$ac_var=$ac_new_val ;; 25431.84Schristos esac 25441.84Schristos case " $ac_configure_args " in 25451.84Schristos *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 25461.84Schristos *) as_fn_append ac_configure_args " '$ac_arg'" ;; 25471.1Stv esac 25481.1Stv fi 25491.1Stvdone 25501.1Stvif $ac_cache_corrupted; then 25511.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 25521.108Schristosprintf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 25531.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 25541.108Schristosprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 25551.108Schristos as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' 25561.108Schristos and start over" "$LINENO" 5 25571.84Schristosfi 25581.84Schristos## -------------------- ## 25591.84Schristos## Main body of script. ## 25601.84Schristos## -------------------- ## 25611.1Stv 25621.1Stvac_ext=c 25631.1Stvac_cpp='$CPP $CPPFLAGS' 25641.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 25651.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25661.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 25671.1Stv 25681.1Stv 25691.63Sapbac_config_headers="$ac_config_headers nbtool_config.h" 25701.1Stv 25711.63Sapbac_config_files="$ac_config_files defs.mk" 25721.1Stv 25731.84Schristos 25741.101Slukem 25751.101Slukem 25761.102Slukem 25771.102Slukem 25781.57Swiz# Autoheader header and footer 25791.57Swiz 25801.84Schristos 25811.84Schristos 25821.84Schristos 25831.20Sbjh21 25841.108Schristos 25851.108Schristos 25861.108Schristos 25871.108Schristos 25881.108Schristos 25891.108Schristos 25901.108Schristos 25911.108Schristos 25921.108Schristos 25931.1Stvac_ext=c 25941.1Stvac_cpp='$CPP $CPPFLAGS' 25951.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 25961.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25971.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 25981.1Stvif test -n "$ac_tool_prefix"; then 25991.1Stv # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 26001.1Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2 26011.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26021.108Schristosprintf %s "checking for $ac_word... " >&6; } 26031.108Schristosif test ${ac_cv_prog_CC+y} 26041.108Schristosthen : 26051.108Schristos printf %s "(cached) " >&6 26061.108Schristoselse case e in #( 26071.108Schristos e) if test -n "$CC"; then 26081.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 26091.1Stvelse 26101.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26111.84Schristosfor as_dir in $PATH 26121.84Schristosdo 26131.84Schristos IFS=$as_save_IFS 26141.108Schristos case $as_dir in #((( 26151.108Schristos '') as_dir=./ ;; 26161.108Schristos */) ;; 26171.108Schristos *) as_dir=$as_dir/ ;; 26181.108Schristos esac 26191.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 26201.108Schristos if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 26211.84Schristos ac_cv_prog_CC="${ac_tool_prefix}gcc" 26221.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 26231.84Schristos break 2 26241.84Schristos fi 26251.1Stvdone 26261.84Schristos done 26271.84SchristosIFS=$as_save_IFS 26281.1Stv 26291.108Schristosfi ;; 26301.108Schristosesac 26311.1Stvfi 26321.1StvCC=$ac_cv_prog_CC 26331.1Stvif test -n "$CC"; then 26341.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 26351.108Schristosprintf "%s\n" "$CC" >&6; } 26361.1Stvelse 26371.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 26381.108Schristosprintf "%s\n" "no" >&6; } 26391.1Stvfi 26401.1Stv 26411.84Schristos 26421.1Stvfi 26431.1Stvif test -z "$ac_cv_prog_CC"; then 26441.1Stv ac_ct_CC=$CC 26451.1Stv # Extract the first word of "gcc", so it can be a program name with args. 26461.1Stvset dummy gcc; ac_word=$2 26471.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26481.108Schristosprintf %s "checking for $ac_word... " >&6; } 26491.108Schristosif test ${ac_cv_prog_ac_ct_CC+y} 26501.108Schristosthen : 26511.108Schristos printf %s "(cached) " >&6 26521.108Schristoselse case e in #( 26531.108Schristos e) if test -n "$ac_ct_CC"; then 26541.1Stv ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 26551.1Stvelse 26561.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26571.84Schristosfor as_dir in $PATH 26581.84Schristosdo 26591.84Schristos IFS=$as_save_IFS 26601.108Schristos case $as_dir in #((( 26611.108Schristos '') as_dir=./ ;; 26621.108Schristos */) ;; 26631.108Schristos *) as_dir=$as_dir/ ;; 26641.108Schristos esac 26651.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 26661.108Schristos if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 26671.84Schristos ac_cv_prog_ac_ct_CC="gcc" 26681.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 26691.84Schristos break 2 26701.84Schristos fi 26711.1Stvdone 26721.84Schristos done 26731.84SchristosIFS=$as_save_IFS 26741.1Stv 26751.108Schristosfi ;; 26761.108Schristosesac 26771.1Stvfi 26781.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC 26791.1Stvif test -n "$ac_ct_CC"; then 26801.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 26811.108Schristosprintf "%s\n" "$ac_ct_CC" >&6; } 26821.1Stvelse 26831.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 26841.108Schristosprintf "%s\n" "no" >&6; } 26851.1Stvfi 26861.1Stv 26871.84Schristos if test "x$ac_ct_CC" = x; then 26881.84Schristos CC="" 26891.84Schristos else 26901.84Schristos case $cross_compiling:$ac_tool_warned in 26911.84Schristosyes:) 26921.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 26931.108Schristosprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 26941.84Schristosac_tool_warned=yes ;; 26951.84Schristosesac 26961.84Schristos CC=$ac_ct_CC 26971.84Schristos fi 26981.1Stvelse 26991.1Stv CC="$ac_cv_prog_CC" 27001.1Stvfi 27011.1Stv 27021.1Stvif test -z "$CC"; then 27031.84Schristos if test -n "$ac_tool_prefix"; then 27041.84Schristos # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 27051.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2 27061.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27071.108Schristosprintf %s "checking for $ac_word... " >&6; } 27081.108Schristosif test ${ac_cv_prog_CC+y} 27091.108Schristosthen : 27101.108Schristos printf %s "(cached) " >&6 27111.108Schristoselse case e in #( 27121.108Schristos e) if test -n "$CC"; then 27131.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 27141.1Stvelse 27151.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27161.84Schristosfor as_dir in $PATH 27171.84Schristosdo 27181.84Schristos IFS=$as_save_IFS 27191.108Schristos case $as_dir in #((( 27201.108Schristos '') as_dir=./ ;; 27211.108Schristos */) ;; 27221.108Schristos *) as_dir=$as_dir/ ;; 27231.108Schristos esac 27241.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 27251.108Schristos if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 27261.84Schristos ac_cv_prog_CC="${ac_tool_prefix}cc" 27271.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 27281.84Schristos break 2 27291.84Schristos fi 27301.65Schristosdone 27311.84Schristos done 27321.84SchristosIFS=$as_save_IFS 27331.1Stv 27341.108Schristosfi ;; 27351.108Schristosesac 27361.1Stvfi 27371.1StvCC=$ac_cv_prog_CC 27381.1Stvif test -n "$CC"; then 27391.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27401.108Schristosprintf "%s\n" "$CC" >&6; } 27411.76Spookaelse 27421.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 27431.108Schristosprintf "%s\n" "no" >&6; } 27441.76Spookafi 27451.76Spooka 27461.1Stv 27471.84Schristos fi 27481.1Stvfi 27491.1Stvif test -z "$CC"; then 27501.1Stv # Extract the first word of "cc", so it can be a program name with args. 27511.1Stvset dummy cc; ac_word=$2 27521.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27531.108Schristosprintf %s "checking for $ac_word... " >&6; } 27541.108Schristosif test ${ac_cv_prog_CC+y} 27551.108Schristosthen : 27561.108Schristos printf %s "(cached) " >&6 27571.108Schristoselse case e in #( 27581.108Schristos e) if test -n "$CC"; then 27591.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 27601.1Stvelse 27611.1Stv ac_prog_rejected=no 27621.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27631.84Schristosfor as_dir in $PATH 27641.84Schristosdo 27651.84Schristos IFS=$as_save_IFS 27661.108Schristos case $as_dir in #((( 27671.108Schristos '') as_dir=./ ;; 27681.108Schristos */) ;; 27691.108Schristos *) as_dir=$as_dir/ ;; 27701.108Schristos esac 27711.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 27721.108Schristos if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 27731.108Schristos if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 27741.84Schristos ac_prog_rejected=yes 27751.84Schristos continue 27761.84Schristos fi 27771.84Schristos ac_cv_prog_CC="cc" 27781.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 27791.84Schristos break 2 27801.84Schristos fi 27811.65Schristosdone 27821.84Schristos done 27831.84SchristosIFS=$as_save_IFS 27841.1Stv 27851.1Stvif test $ac_prog_rejected = yes; then 27861.1Stv # We found a bogon in the path, so make sure we never use it. 27871.1Stv set dummy $ac_cv_prog_CC 27881.1Stv shift 27891.1Stv if test $# != 0; then 27901.1Stv # We chose a different compiler from the bogus one. 27911.1Stv # However, it has the same basename, so the bogon will be chosen 27921.1Stv # first if we set CC to just the basename; use the full file name. 27931.1Stv shift 27941.108Schristos ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 27951.1Stv fi 27961.1Stvfi 27971.108Schristosfi ;; 27981.108Schristosesac 27991.1Stvfi 28001.1StvCC=$ac_cv_prog_CC 28011.1Stvif test -n "$CC"; then 28021.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28031.108Schristosprintf "%s\n" "$CC" >&6; } 28041.1Stvelse 28051.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 28061.108Schristosprintf "%s\n" "no" >&6; } 28071.1Stvfi 28081.1Stv 28091.84Schristos 28101.1Stvfi 28111.1Stvif test -z "$CC"; then 28121.1Stv if test -n "$ac_tool_prefix"; then 28131.84Schristos for ac_prog in cl.exe 28141.1Stv do 28151.1Stv # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 28161.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2 28171.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28181.108Schristosprintf %s "checking for $ac_word... " >&6; } 28191.108Schristosif test ${ac_cv_prog_CC+y} 28201.108Schristosthen : 28211.108Schristos printf %s "(cached) " >&6 28221.108Schristoselse case e in #( 28231.108Schristos e) if test -n "$CC"; then 28241.1Stv ac_cv_prog_CC="$CC" # Let the user override the test. 28251.1Stvelse 28261.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28271.84Schristosfor as_dir in $PATH 28281.84Schristosdo 28291.84Schristos IFS=$as_save_IFS 28301.108Schristos case $as_dir in #((( 28311.108Schristos '') as_dir=./ ;; 28321.108Schristos */) ;; 28331.108Schristos *) as_dir=$as_dir/ ;; 28341.108Schristos esac 28351.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 28361.108Schristos if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 28371.84Schristos ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 28381.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 28391.84Schristos break 2 28401.84Schristos fi 28411.1Stvdone 28421.84Schristos done 28431.84SchristosIFS=$as_save_IFS 28441.1Stv 28451.108Schristosfi ;; 28461.108Schristosesac 28471.1Stvfi 28481.1StvCC=$ac_cv_prog_CC 28491.1Stvif test -n "$CC"; then 28501.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28511.108Schristosprintf "%s\n" "$CC" >&6; } 28521.1Stvelse 28531.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 28541.108Schristosprintf "%s\n" "no" >&6; } 28551.1Stvfi 28561.1Stv 28571.84Schristos 28581.1Stv test -n "$CC" && break 28591.1Stv done 28601.1Stvfi 28611.1Stvif test -z "$CC"; then 28621.1Stv ac_ct_CC=$CC 28631.84Schristos for ac_prog in cl.exe 28641.1Stvdo 28651.1Stv # Extract the first word of "$ac_prog", so it can be a program name with args. 28661.1Stvset dummy $ac_prog; ac_word=$2 28671.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28681.108Schristosprintf %s "checking for $ac_word... " >&6; } 28691.108Schristosif test ${ac_cv_prog_ac_ct_CC+y} 28701.108Schristosthen : 28711.108Schristos printf %s "(cached) " >&6 28721.108Schristoselse case e in #( 28731.108Schristos e) if test -n "$ac_ct_CC"; then 28741.1Stv ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 28751.1Stvelse 28761.84Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28771.84Schristosfor as_dir in $PATH 28781.84Schristosdo 28791.84Schristos IFS=$as_save_IFS 28801.108Schristos case $as_dir in #((( 28811.108Schristos '') as_dir=./ ;; 28821.108Schristos */) ;; 28831.108Schristos *) as_dir=$as_dir/ ;; 28841.108Schristos esac 28851.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 28861.108Schristos if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 28871.84Schristos ac_cv_prog_ac_ct_CC="$ac_prog" 28881.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 28891.84Schristos break 2 28901.84Schristos fi 28911.1Stvdone 28921.84Schristos done 28931.84SchristosIFS=$as_save_IFS 28941.1Stv 28951.108Schristosfi ;; 28961.108Schristosesac 28971.1Stvfi 28981.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC 28991.1Stvif test -n "$ac_ct_CC"; then 29001.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 29011.108Schristosprintf "%s\n" "$ac_ct_CC" >&6; } 29021.1Stvelse 29031.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 29041.108Schristosprintf "%s\n" "no" >&6; } 29051.1Stvfi 29061.1Stv 29071.84Schristos 29081.1Stv test -n "$ac_ct_CC" && break 29091.1Stvdone 29101.1Stv 29111.84Schristos if test "x$ac_ct_CC" = x; then 29121.84Schristos CC="" 29131.84Schristos else 29141.84Schristos case $cross_compiling:$ac_tool_warned in 29151.84Schristosyes:) 29161.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 29171.108Schristosprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 29181.108Schristosac_tool_warned=yes ;; 29191.108Schristosesac 29201.108Schristos CC=$ac_ct_CC 29211.108Schristos fi 29221.108Schristosfi 29231.108Schristos 29241.108Schristosfi 29251.108Schristosif test -z "$CC"; then 29261.108Schristos if test -n "$ac_tool_prefix"; then 29271.108Schristos # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 29281.108Schristosset dummy ${ac_tool_prefix}clang; ac_word=$2 29291.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 29301.108Schristosprintf %s "checking for $ac_word... " >&6; } 29311.108Schristosif test ${ac_cv_prog_CC+y} 29321.108Schristosthen : 29331.108Schristos printf %s "(cached) " >&6 29341.108Schristoselse case e in #( 29351.108Schristos e) if test -n "$CC"; then 29361.108Schristos ac_cv_prog_CC="$CC" # Let the user override the test. 29371.108Schristoselse 29381.108Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 29391.108Schristosfor as_dir in $PATH 29401.108Schristosdo 29411.108Schristos IFS=$as_save_IFS 29421.108Schristos case $as_dir in #((( 29431.108Schristos '') as_dir=./ ;; 29441.108Schristos */) ;; 29451.108Schristos *) as_dir=$as_dir/ ;; 29461.108Schristos esac 29471.108Schristos for ac_exec_ext in '' $ac_executable_extensions; do 29481.108Schristos if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 29491.108Schristos ac_cv_prog_CC="${ac_tool_prefix}clang" 29501.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 29511.108Schristos break 2 29521.108Schristos fi 29531.108Schristosdone 29541.108Schristos done 29551.108SchristosIFS=$as_save_IFS 29561.108Schristos 29571.108Schristosfi ;; 29581.108Schristosesac 29591.108Schristosfi 29601.108SchristosCC=$ac_cv_prog_CC 29611.108Schristosif test -n "$CC"; then 29621.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 29631.108Schristosprintf "%s\n" "$CC" >&6; } 29641.108Schristoselse 29651.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 29661.108Schristosprintf "%s\n" "no" >&6; } 29671.108Schristosfi 29681.108Schristos 29691.108Schristos 29701.108Schristosfi 29711.108Schristosif test -z "$ac_cv_prog_CC"; then 29721.108Schristos ac_ct_CC=$CC 29731.108Schristos # Extract the first word of "clang", so it can be a program name with args. 29741.108Schristosset dummy clang; ac_word=$2 29751.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 29761.108Schristosprintf %s "checking for $ac_word... " >&6; } 29771.108Schristosif test ${ac_cv_prog_ac_ct_CC+y} 29781.108Schristosthen : 29791.108Schristos printf %s "(cached) " >&6 29801.108Schristoselse case e in #( 29811.108Schristos e) if test -n "$ac_ct_CC"; then 29821.108Schristos ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 29831.108Schristoselse 29841.108Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 29851.108Schristosfor as_dir in $PATH 29861.108Schristosdo 29871.108Schristos IFS=$as_save_IFS 29881.108Schristos case $as_dir in #((( 29891.108Schristos '') as_dir=./ ;; 29901.108Schristos */) ;; 29911.108Schristos *) as_dir=$as_dir/ ;; 29921.108Schristos esac 29931.108Schristos for ac_exec_ext in '' $ac_executable_extensions; do 29941.108Schristos if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 29951.108Schristos ac_cv_prog_ac_ct_CC="clang" 29961.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 29971.108Schristos break 2 29981.108Schristos fi 29991.108Schristosdone 30001.108Schristos done 30011.108SchristosIFS=$as_save_IFS 30021.108Schristos 30031.108Schristosfi ;; 30041.108Schristosesac 30051.108Schristosfi 30061.108Schristosac_ct_CC=$ac_cv_prog_ac_ct_CC 30071.108Schristosif test -n "$ac_ct_CC"; then 30081.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 30091.108Schristosprintf "%s\n" "$ac_ct_CC" >&6; } 30101.108Schristoselse 30111.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 30121.108Schristosprintf "%s\n" "no" >&6; } 30131.108Schristosfi 30141.108Schristos 30151.108Schristos if test "x$ac_ct_CC" = x; then 30161.108Schristos CC="" 30171.108Schristos else 30181.108Schristos case $cross_compiling:$ac_tool_warned in 30191.108Schristosyes:) 30201.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 30211.108Schristosprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 30221.84Schristosac_tool_warned=yes ;; 30231.84Schristosesac 30241.84Schristos CC=$ac_ct_CC 30251.84Schristos fi 30261.108Schristoselse 30271.108Schristos CC="$ac_cv_prog_CC" 30281.1Stvfi 30291.1Stv 30301.1Stvfi 30311.1Stv 30321.84Schristos 30331.108Schristostest -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 30341.108Schristosprintf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 30351.84Schristosas_fn_error $? "no acceptable C compiler found in \$PATH 30361.108SchristosSee 'config.log' for more details" "$LINENO" 5; } 30371.1Stv 30381.1Stv# Provide some information about the compiler. 30391.108Schristosprintf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 30401.84Schristosset X $ac_compile 30411.84Schristosac_compiler=$2 30421.108Schristosfor ac_option in --version -v -V -qversion -version; do 30431.84Schristos { { ac_try="$ac_compiler $ac_option >&5" 30441.84Schristoscase "(($ac_try" in 30451.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30461.84Schristos *) ac_try_echo=$ac_try;; 30471.84Schristosesac 30481.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30491.108Schristosprintf "%s\n" "$ac_try_echo"; } >&5 30501.84Schristos (eval "$ac_compiler $ac_option >&5") 2>conftest.err 30511.76Spooka ac_status=$? 30521.84Schristos if test -s conftest.err; then 30531.84Schristos sed '10a\ 30541.84Schristos... rest of stderr output deleted ... 30551.84Schristos 10q' conftest.err >conftest.er1 30561.84Schristos cat conftest.er1 >&5 30571.84Schristos fi 30581.84Schristos rm -f conftest.er1 conftest.err 30591.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30601.84Schristos test $ac_status = 0; } 30611.84Schristosdone 30621.1Stv 30631.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 30641.84Schristos/* end confdefs.h. */ 30651.1Stv 30661.1Stvint 30671.108Schristosmain (void) 30681.1Stv{ 30691.1Stv 30701.1Stv ; 30711.1Stv return 0; 30721.1Stv} 30731.1Stv_ACEOF 30741.1Stvac_clean_files_save=$ac_clean_files 30751.84Schristosac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 30761.1Stv# Try to create an executable without -o first, disregard a.out. 30771.1Stv# It will help us diagnose broken compilers, and finding out an intuition 30781.1Stv# of exeext. 30791.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 30801.108Schristosprintf %s "checking whether the C compiler works... " >&6; } 30811.108Schristosac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 30821.84Schristos 30831.84Schristos# The possible output files: 30841.84Schristosac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 30851.84Schristos 30861.84Schristosac_rmfiles= 30871.84Schristosfor ac_file in $ac_files 30881.84Schristosdo 30891.84Schristos case $ac_file in 30901.84Schristos *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 30911.84Schristos * ) ac_rmfiles="$ac_rmfiles $ac_file";; 30921.84Schristos esac 30931.84Schristosdone 30941.84Schristosrm -f $ac_rmfiles 30951.84Schristos 30961.84Schristosif { { ac_try="$ac_link_default" 30971.84Schristoscase "(($ac_try" in 30981.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30991.84Schristos *) ac_try_echo=$ac_try;; 31001.84Schristosesac 31011.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31021.108Schristosprintf "%s\n" "$ac_try_echo"; } >&5 31031.84Schristos (eval "$ac_link_default") 2>&5 31041.84Schristos ac_status=$? 31051.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31061.108Schristos test $ac_status = 0; } 31071.108Schristosthen : 31081.108Schristos # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'. 31091.108Schristos# So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no' 31101.84Schristos# in a Makefile. We should not override ac_cv_exeext if it was cached, 31111.84Schristos# so that the user can short-circuit this test for compilers unknown to 31121.84Schristos# Autoconf. 31131.84Schristosfor ac_file in $ac_files '' 31141.84Schristosdo 31151.84Schristos test -f "$ac_file" || continue 31161.74Schristos case $ac_file in 31171.84Schristos *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 31181.84Schristos ;; 31191.84Schristos [ab].out ) 31201.84Schristos # We found the default executable, but exeext='' is most 31211.84Schristos # certainly right. 31221.84Schristos break;; 31231.84Schristos *.* ) 31241.108Schristos if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 31251.84Schristos then :; else 31261.84Schristos ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 31271.84Schristos fi 31281.84Schristos # We set ac_cv_exeext here because the later test for it is not 31291.108Schristos # safe: cross compilers may not add the suffix if given an '-o' 31301.84Schristos # argument, so we may need to know it at that point already. 31311.84Schristos # Even if this section looks crufty: it has the advantage of 31321.84Schristos # actually working. 31331.84Schristos break;; 31341.84Schristos * ) 31351.84Schristos break;; 31361.1Stv esac 31371.1Stvdone 31381.84Schristostest "$ac_cv_exeext" = no && ac_cv_exeext= 31391.84Schristos 31401.108Schristoselse case e in #( 31411.108Schristos e) ac_file='' ;; 31421.108Schristosesac 31431.1Stvfi 31441.108Schristosif test -z "$ac_file" 31451.108Schristosthen : 31461.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 31471.108Schristosprintf "%s\n" "no" >&6; } 31481.108Schristosprintf "%s\n" "$as_me: failed program was:" >&5 31491.84Schristossed 's/^/| /' conftest.$ac_ext >&5 31501.1Stv 31511.108Schristos{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 31521.108Schristosprintf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 31531.84Schristosas_fn_error 77 "C compiler cannot create executables 31541.108SchristosSee 'config.log' for more details" "$LINENO" 5; } 31551.108Schristoselse case e in #( 31561.108Schristos e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 31571.108Schristosprintf "%s\n" "yes" >&6; } ;; 31581.108Schristosesac 31591.84Schristosfi 31601.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 31611.108Schristosprintf %s "checking for C compiler default output file name... " >&6; } 31621.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 31631.108Schristosprintf "%s\n" "$ac_file" >&6; } 31641.76Spookaac_exeext=$ac_cv_exeext 31651.1Stv 31661.84Schristosrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 31671.1Stvac_clean_files=$ac_clean_files_save 31681.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 31691.108Schristosprintf %s "checking for suffix of executables... " >&6; } 31701.84Schristosif { { ac_try="$ac_link" 31711.84Schristoscase "(($ac_try" in 31721.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31731.84Schristos *) ac_try_echo=$ac_try;; 31741.84Schristosesac 31751.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31761.108Schristosprintf "%s\n" "$ac_try_echo"; } >&5 31771.84Schristos (eval "$ac_link") 2>&5 31781.1Stv ac_status=$? 31791.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31801.108Schristos test $ac_status = 0; } 31811.108Schristosthen : 31821.108Schristos # If both 'conftest.exe' and 'conftest' are 'present' (well, observable) 31831.108Schristos# catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will 31841.108Schristos# work properly (i.e., refer to 'conftest.exe'), while it won't with 31851.108Schristos# 'rm'. 31861.84Schristosfor ac_file in conftest.exe conftest conftest.*; do 31871.84Schristos test -f "$ac_file" || continue 31881.1Stv case $ac_file in 31891.84Schristos *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 31901.1Stv *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 31911.84Schristos break;; 31921.1Stv * ) break;; 31931.1Stv esac 31941.1Stvdone 31951.108Schristoselse case e in #( 31961.108Schristos e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 31971.108Schristosprintf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 31981.84Schristosas_fn_error $? "cannot compute suffix of executables: cannot compile and link 31991.108SchristosSee 'config.log' for more details" "$LINENO" 5; } ;; 32001.108Schristosesac 32011.84Schristosfi 32021.84Schristosrm -f conftest conftest$ac_cv_exeext 32031.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 32041.108Schristosprintf "%s\n" "$ac_cv_exeext" >&6; } 32051.1Stv 32061.1Stvrm -f conftest.$ac_ext 32071.1StvEXEEXT=$ac_cv_exeext 32081.1Stvac_exeext=$EXEEXT 32091.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 32101.84Schristos/* end confdefs.h. */ 32111.84Schristos#include <stdio.h> 32121.1Stvint 32131.108Schristosmain (void) 32141.1Stv{ 32151.84SchristosFILE *f = fopen ("conftest.out", "w"); 32161.108Schristos if (!f) 32171.108Schristos return 1; 32181.84Schristos return ferror (f) || fclose (f) != 0; 32191.1Stv 32201.1Stv ; 32211.1Stv return 0; 32221.1Stv} 32231.1Stv_ACEOF 32241.84Schristosac_clean_files="$ac_clean_files conftest.out" 32251.84Schristos# Check that the compiler produces executables we can run. If not, either 32261.84Schristos# the compiler is broken, or we cross compile. 32271.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 32281.108Schristosprintf %s "checking whether we are cross compiling... " >&6; } 32291.84Schristosif test "$cross_compiling" != yes; then 32301.84Schristos { { ac_try="$ac_link" 32311.84Schristoscase "(($ac_try" in 32321.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32331.84Schristos *) ac_try_echo=$ac_try;; 32341.84Schristosesac 32351.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 32361.108Schristosprintf "%s\n" "$ac_try_echo"; } >&5 32371.84Schristos (eval "$ac_link") 2>&5 32381.84Schristos ac_status=$? 32391.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 32401.84Schristos test $ac_status = 0; } 32411.84Schristos if { ac_try='./conftest$ac_cv_exeext' 32421.84Schristos { { case "(($ac_try" in 32431.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32441.84Schristos *) ac_try_echo=$ac_try;; 32451.84Schristosesac 32461.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 32471.108Schristosprintf "%s\n" "$ac_try_echo"; } >&5 32481.84Schristos (eval "$ac_try") 2>&5 32491.1Stv ac_status=$? 32501.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 32511.84Schristos test $ac_status = 0; }; }; then 32521.84Schristos cross_compiling=no 32531.84Schristos else 32541.84Schristos if test "$cross_compiling" = maybe; then 32551.84Schristos cross_compiling=yes 32561.84Schristos else 32571.108Schristos { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 32581.108Schristosprintf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 32591.108Schristosas_fn_error 77 "cannot run C compiled programs. 32601.108SchristosIf you meant to cross compile, use '--host'. 32611.108SchristosSee 'config.log' for more details" "$LINENO" 5; } 32621.84Schristos fi 32631.84Schristos fi 32641.84Schristosfi 32651.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 32661.108Schristosprintf "%s\n" "$cross_compiling" >&6; } 32671.84Schristos 32681.108Schristosrm -f conftest.$ac_ext conftest$ac_cv_exeext \ 32691.108Schristos conftest.o conftest.obj conftest.out 32701.84Schristosac_clean_files=$ac_clean_files_save 32711.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 32721.108Schristosprintf %s "checking for suffix of object files... " >&6; } 32731.108Schristosif test ${ac_cv_objext+y} 32741.108Schristosthen : 32751.108Schristos printf %s "(cached) " >&6 32761.108Schristoselse case e in #( 32771.108Schristos e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32781.84Schristos/* end confdefs.h. */ 32791.74Schristos 32801.84Schristosint 32811.108Schristosmain (void) 32821.84Schristos{ 32831.84Schristos 32841.84Schristos ; 32851.84Schristos return 0; 32861.84Schristos} 32871.84Schristos_ACEOF 32881.84Schristosrm -f conftest.o conftest.obj 32891.84Schristosif { { ac_try="$ac_compile" 32901.84Schristoscase "(($ac_try" in 32911.84Schristos *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32921.84Schristos *) ac_try_echo=$ac_try;; 32931.84Schristosesac 32941.84Schristoseval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 32951.108Schristosprintf "%s\n" "$ac_try_echo"; } >&5 32961.84Schristos (eval "$ac_compile") 2>&5 32971.84Schristos ac_status=$? 32981.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 32991.108Schristos test $ac_status = 0; } 33001.108Schristosthen : 33011.84Schristos for ac_file in conftest.o conftest.obj conftest.*; do 33021.84Schristos test -f "$ac_file" || continue; 33031.84Schristos case $ac_file in 33041.84Schristos *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 33051.84Schristos *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 33061.84Schristos break;; 33071.84Schristos esac 33081.84Schristosdone 33091.108Schristoselse case e in #( 33101.108Schristos e) printf "%s\n" "$as_me: failed program was:" >&5 33111.84Schristossed 's/^/| /' conftest.$ac_ext >&5 33121.84Schristos 33131.108Schristos{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 33141.108Schristosprintf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 33151.84Schristosas_fn_error $? "cannot compute suffix of object files: cannot compile 33161.108SchristosSee 'config.log' for more details" "$LINENO" 5; } ;; 33171.108Schristosesac 33181.84Schristosfi 33191.108Schristosrm -f conftest.$ac_cv_objext conftest.$ac_ext ;; 33201.108Schristosesac 33211.1Stvfi 33221.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 33231.108Schristosprintf "%s\n" "$ac_cv_objext" >&6; } 33241.1StvOBJEXT=$ac_cv_objext 33251.1Stvac_objext=$OBJEXT 33261.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 33271.108Schristosprintf %s "checking whether the compiler supports GNU C... " >&6; } 33281.108Schristosif test ${ac_cv_c_compiler_gnu+y} 33291.108Schristosthen : 33301.108Schristos printf %s "(cached) " >&6 33311.108Schristoselse case e in #( 33321.108Schristos e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33331.84Schristos/* end confdefs.h. */ 33341.1Stv 33351.1Stvint 33361.108Schristosmain (void) 33371.1Stv{ 33381.1Stv#ifndef __GNUC__ 33391.1Stv choke me 33401.1Stv#endif 33411.1Stv 33421.1Stv ; 33431.1Stv return 0; 33441.1Stv} 33451.1Stv_ACEOF 33461.108Schristosif ac_fn_c_try_compile "$LINENO" 33471.108Schristosthen : 33481.1Stv ac_compiler_gnu=yes 33491.108Schristoselse case e in #( 33501.108Schristos e) ac_compiler_gnu=no ;; 33511.108Schristosesac 33521.1Stvfi 33531.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 33541.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu 33551.108Schristos ;; 33561.108Schristosesac 33571.108Schristosfi 33581.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 33591.108Schristosprintf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 33601.108Schristosac_compiler_gnu=$ac_cv_c_compiler_gnu 33611.1Stv 33621.84Schristosif test $ac_compiler_gnu = yes; then 33631.84Schristos GCC=yes 33641.84Schristoselse 33651.84Schristos GCC= 33661.84Schristosfi 33671.108Schristosac_test_CFLAGS=${CFLAGS+y} 33681.1Stvac_save_CFLAGS=$CFLAGS 33691.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 33701.108Schristosprintf %s "checking whether $CC accepts -g... " >&6; } 33711.108Schristosif test ${ac_cv_prog_cc_g+y} 33721.108Schristosthen : 33731.108Schristos printf %s "(cached) " >&6 33741.108Schristoselse case e in #( 33751.108Schristos e) ac_save_c_werror_flag=$ac_c_werror_flag 33761.84Schristos ac_c_werror_flag=yes 33771.84Schristos ac_cv_prog_cc_g=no 33781.84Schristos CFLAGS="-g" 33791.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33801.84Schristos/* end confdefs.h. */ 33811.1Stv 33821.1Stvint 33831.108Schristosmain (void) 33841.1Stv{ 33851.1Stv 33861.1Stv ; 33871.1Stv return 0; 33881.1Stv} 33891.1Stv_ACEOF 33901.108Schristosif ac_fn_c_try_compile "$LINENO" 33911.108Schristosthen : 33921.1Stv ac_cv_prog_cc_g=yes 33931.108Schristoselse case e in #( 33941.108Schristos e) CFLAGS="" 33951.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33961.84Schristos/* end confdefs.h. */ 33971.84Schristos 33981.84Schristosint 33991.108Schristosmain (void) 34001.84Schristos{ 34011.84Schristos 34021.84Schristos ; 34031.84Schristos return 0; 34041.84Schristos} 34051.84Schristos_ACEOF 34061.108Schristosif ac_fn_c_try_compile "$LINENO" 34071.108Schristosthen : 34081.84Schristos 34091.108Schristoselse case e in #( 34101.108Schristos e) ac_c_werror_flag=$ac_save_c_werror_flag 34111.84Schristos CFLAGS="-g" 34121.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34131.84Schristos/* end confdefs.h. */ 34141.84Schristos 34151.84Schristosint 34161.108Schristosmain (void) 34171.84Schristos{ 34181.84Schristos 34191.84Schristos ; 34201.84Schristos return 0; 34211.84Schristos} 34221.84Schristos_ACEOF 34231.108Schristosif ac_fn_c_try_compile "$LINENO" 34241.108Schristosthen : 34251.84Schristos ac_cv_prog_cc_g=yes 34261.84Schristosfi 34271.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 34281.108Schristosesac 34291.66Stsutsuifi 34301.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 34311.108Schristosesac 34321.66Stsutsuifi 34331.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 34341.108Schristos ac_c_werror_flag=$ac_save_c_werror_flag ;; 34351.108Schristosesac 34361.84Schristosfi 34371.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 34381.108Schristosprintf "%s\n" "$ac_cv_prog_cc_g" >&6; } 34391.108Schristosif test $ac_test_CFLAGS; then 34401.66Stsutsui CFLAGS=$ac_save_CFLAGS 34411.66Stsutsuielif test $ac_cv_prog_cc_g = yes; then 34421.66Stsutsui if test "$GCC" = yes; then 34431.66Stsutsui CFLAGS="-g -O2" 34441.66Stsutsui else 34451.66Stsutsui CFLAGS="-g" 34461.66Stsutsui fi 34471.66Stsutsuielse 34481.66Stsutsui if test "$GCC" = yes; then 34491.66Stsutsui CFLAGS="-O2" 34501.66Stsutsui else 34511.66Stsutsui CFLAGS= 34521.66Stsutsui fi 34531.66Stsutsuifi 34541.108Schristosac_prog_cc_stdc=no 34551.108Schristosif test x$ac_prog_cc_stdc = xno 34561.108Schristosthen : 34571.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 34581.108Schristosprintf %s "checking for $CC option to enable C11 features... " >&6; } 34591.108Schristosif test ${ac_cv_prog_cc_c11+y} 34601.108Schristosthen : 34611.108Schristos printf %s "(cached) " >&6 34621.108Schristoselse case e in #( 34631.108Schristos e) ac_cv_prog_cc_c11=no 34641.84Schristosac_save_CC=$CC 34651.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 34661.84Schristos/* end confdefs.h. */ 34671.108Schristos$ac_c_conftest_c11_program 34681.1Stv_ACEOF 34691.108Schristosfor ac_arg in '' -std=gnu11 34701.84Schristosdo 34711.84Schristos CC="$ac_save_CC $ac_arg" 34721.108Schristos if ac_fn_c_try_compile "$LINENO" 34731.108Schristosthen : 34741.108Schristos ac_cv_prog_cc_c11=$ac_arg 34751.65Schristosfi 34761.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam 34771.108Schristos test "x$ac_cv_prog_cc_c11" != "xno" && break 34781.66Stsutsuidone 34791.84Schristosrm -f conftest.$ac_ext 34801.108SchristosCC=$ac_save_CC ;; 34811.108Schristosesac 34821.108Schristosfi 34831.84Schristos 34841.108Schristosif test "x$ac_cv_prog_cc_c11" = xno 34851.108Schristosthen : 34861.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 34871.108Schristosprintf "%s\n" "unsupported" >&6; } 34881.108Schristoselse case e in #( 34891.108Schristos e) if test "x$ac_cv_prog_cc_c11" = x 34901.108Schristosthen : 34911.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 34921.108Schristosprintf "%s\n" "none needed" >&6; } 34931.108Schristoselse case e in #( 34941.108Schristos e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 34951.108Schristosprintf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 34961.108Schristos CC="$CC $ac_cv_prog_cc_c11" ;; 34971.108Schristosesac 34981.108Schristosfi 34991.108Schristos ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 35001.108Schristos ac_prog_cc_stdc=c11 ;; 35011.108Schristosesac 35021.108Schristosfi 35031.108Schristosfi 35041.108Schristosif test x$ac_prog_cc_stdc = xno 35051.108Schristosthen : 35061.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 35071.108Schristosprintf %s "checking for $CC option to enable C99 features... " >&6; } 35081.108Schristosif test ${ac_cv_prog_cc_c99+y} 35091.108Schristosthen : 35101.108Schristos printf %s "(cached) " >&6 35111.108Schristoselse case e in #( 35121.108Schristos e) ac_cv_prog_cc_c99=no 35131.108Schristosac_save_CC=$CC 35141.108Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 35151.108Schristos/* end confdefs.h. */ 35161.108Schristos$ac_c_conftest_c99_program 35171.108Schristos_ACEOF 35181.108Schristosfor ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 35191.108Schristosdo 35201.108Schristos CC="$ac_save_CC $ac_arg" 35211.108Schristos if ac_fn_c_try_compile "$LINENO" 35221.108Schristosthen : 35231.108Schristos ac_cv_prog_cc_c99=$ac_arg 35241.1Stvfi 35251.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam 35261.108Schristos test "x$ac_cv_prog_cc_c99" != "xno" && break 35271.108Schristosdone 35281.108Schristosrm -f conftest.$ac_ext 35291.108SchristosCC=$ac_save_CC ;; 35301.84Schristosesac 35311.108Schristosfi 35321.108Schristos 35331.108Schristosif test "x$ac_cv_prog_cc_c99" = xno 35341.108Schristosthen : 35351.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 35361.108Schristosprintf "%s\n" "unsupported" >&6; } 35371.108Schristoselse case e in #( 35381.108Schristos e) if test "x$ac_cv_prog_cc_c99" = x 35391.108Schristosthen : 35401.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 35411.108Schristosprintf "%s\n" "none needed" >&6; } 35421.108Schristoselse case e in #( 35431.108Schristos e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 35441.108Schristosprintf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 35451.108Schristos CC="$CC $ac_cv_prog_cc_c99" ;; 35461.108Schristosesac 35471.108Schristosfi 35481.108Schristos ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 35491.108Schristos ac_prog_cc_stdc=c99 ;; 35501.108Schristosesac 35511.108Schristosfi 35521.108Schristosfi 35531.108Schristosif test x$ac_prog_cc_stdc = xno 35541.108Schristosthen : 35551.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 35561.108Schristosprintf %s "checking for $CC option to enable C89 features... " >&6; } 35571.108Schristosif test ${ac_cv_prog_cc_c89+y} 35581.108Schristosthen : 35591.108Schristos printf %s "(cached) " >&6 35601.108Schristoselse case e in #( 35611.108Schristos e) ac_cv_prog_cc_c89=no 35621.108Schristosac_save_CC=$CC 35631.108Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 35641.108Schristos/* end confdefs.h. */ 35651.108Schristos$ac_c_conftest_c89_program 35661.108Schristos_ACEOF 35671.108Schristosfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 35681.108Schristosdo 35691.108Schristos CC="$ac_save_CC $ac_arg" 35701.108Schristos if ac_fn_c_try_compile "$LINENO" 35711.108Schristosthen : 35721.108Schristos ac_cv_prog_cc_c89=$ac_arg 35731.108Schristosfi 35741.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam 35751.108Schristos test "x$ac_cv_prog_cc_c89" != "xno" && break 35761.108Schristosdone 35771.108Schristosrm -f conftest.$ac_ext 35781.108SchristosCC=$ac_save_CC ;; 35791.108Schristosesac 35801.108Schristosfi 35811.108Schristos 35821.108Schristosif test "x$ac_cv_prog_cc_c89" = xno 35831.108Schristosthen : 35841.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 35851.108Schristosprintf "%s\n" "unsupported" >&6; } 35861.108Schristoselse case e in #( 35871.108Schristos e) if test "x$ac_cv_prog_cc_c89" = x 35881.108Schristosthen : 35891.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 35901.108Schristosprintf "%s\n" "none needed" >&6; } 35911.108Schristoselse case e in #( 35921.108Schristos e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 35931.108Schristosprintf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 35941.108Schristos CC="$CC $ac_cv_prog_cc_c89" ;; 35951.108Schristosesac 35961.108Schristosfi 35971.108Schristos ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 35981.108Schristos ac_prog_cc_stdc=c89 ;; 35991.108Schristosesac 36001.108Schristosfi 36011.65Schristosfi 36021.84Schristos 36031.1Stvac_ext=c 36041.1Stvac_cpp='$CPP $CPPFLAGS' 36051.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36061.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36071.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 36081.1Stv 36091.84Schristos 36101.1Stvac_ext=c 36111.1Stvac_cpp='$CPP $CPPFLAGS' 36121.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36131.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36141.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu 36151.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 36161.108Schristosprintf %s "checking how to run the C preprocessor... " >&6; } 36171.1Stv# On Suns, sometimes $CPP names a directory. 36181.1Stvif test -n "$CPP" && test -d "$CPP"; then 36191.1Stv CPP= 36201.1Stvfi 36211.1Stvif test -z "$CPP"; then 36221.108Schristos if test ${ac_cv_prog_CPP+y} 36231.108Schristosthen : 36241.108Schristos printf %s "(cached) " >&6 36251.108Schristoselse case e in #( 36261.108Schristos e) # Double quotes because $CC needs to be expanded 36271.108Schristos for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp 36281.1Stv do 36291.1Stv ac_preproc_ok=false 36301.1Stvfor ac_c_preproc_warn_flag in '' yes 36311.1Stvdo 36321.1Stv # Use a header file that comes with gcc, so configuring glibc 36331.1Stv # with a fresh cross-compiler works. 36341.1Stv # On the NeXT, cc -E runs the code through the compiler's parser, 36351.1Stv # not just through cpp. "Syntax error" is here to catch this case. 36361.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36371.84Schristos/* end confdefs.h. */ 36381.108Schristos#include <limits.h> 36391.84Schristos Syntax error 36401.48Sjmc_ACEOF 36411.108Schristosif ac_fn_c_try_cpp "$LINENO" 36421.108Schristosthen : 36431.84Schristos 36441.108Schristoselse case e in #( 36451.108Schristos e) # Broken: fails on valid input. 36461.108Schristoscontinue ;; 36471.108Schristosesac 36481.1Stvfi 36491.84Schristosrm -f conftest.err conftest.i conftest.$ac_ext 36501.1Stv 36511.84Schristos # OK, works on sane cases. Now check whether nonexistent headers 36521.1Stv # can be detected and how. 36531.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36541.84Schristos/* end confdefs.h. */ 36551.1Stv#include <ac_nonexistent.h> 36561.1Stv_ACEOF 36571.108Schristosif ac_fn_c_try_cpp "$LINENO" 36581.108Schristosthen : 36591.1Stv # Broken: success on invalid input. 36601.1Stvcontinue 36611.108Schristoselse case e in #( 36621.108Schristos e) # Passes both tests. 36631.1Stvac_preproc_ok=: 36641.108Schristosbreak ;; 36651.108Schristosesac 36661.1Stvfi 36671.84Schristosrm -f conftest.err conftest.i conftest.$ac_ext 36681.1Stv 36691.1Stvdone 36701.108Schristos# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. 36711.84Schristosrm -f conftest.i conftest.err conftest.$ac_ext 36721.108Schristosif $ac_preproc_ok 36731.108Schristosthen : 36741.1Stv break 36751.1Stvfi 36761.1Stv 36771.1Stv done 36781.1Stv ac_cv_prog_CPP=$CPP 36791.108Schristos ;; 36801.108Schristosesac 36811.1Stvfi 36821.1Stv CPP=$ac_cv_prog_CPP 36831.1Stvelse 36841.1Stv ac_cv_prog_CPP=$CPP 36851.1Stvfi 36861.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 36871.108Schristosprintf "%s\n" "$CPP" >&6; } 36881.1Stvac_preproc_ok=false 36891.1Stvfor ac_c_preproc_warn_flag in '' yes 36901.1Stvdo 36911.1Stv # Use a header file that comes with gcc, so configuring glibc 36921.1Stv # with a fresh cross-compiler works. 36931.1Stv # On the NeXT, cc -E runs the code through the compiler's parser, 36941.1Stv # not just through cpp. "Syntax error" is here to catch this case. 36951.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36961.84Schristos/* end confdefs.h. */ 36971.108Schristos#include <limits.h> 36981.84Schristos Syntax error 36991.53Sdogcow_ACEOF 37001.108Schristosif ac_fn_c_try_cpp "$LINENO" 37011.108Schristosthen : 37021.84Schristos 37031.108Schristoselse case e in #( 37041.108Schristos e) # Broken: fails on valid input. 37051.108Schristoscontinue ;; 37061.108Schristosesac 37071.1Stvfi 37081.84Schristosrm -f conftest.err conftest.i conftest.$ac_ext 37091.1Stv 37101.84Schristos # OK, works on sane cases. Now check whether nonexistent headers 37111.1Stv # can be detected and how. 37121.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37131.84Schristos/* end confdefs.h. */ 37141.1Stv#include <ac_nonexistent.h> 37151.1Stv_ACEOF 37161.108Schristosif ac_fn_c_try_cpp "$LINENO" 37171.108Schristosthen : 37181.45Sjmc # Broken: success on invalid input. 37191.45Sjmccontinue 37201.108Schristoselse case e in #( 37211.108Schristos e) # Passes both tests. 37221.45Sjmcac_preproc_ok=: 37231.108Schristosbreak ;; 37241.108Schristosesac 37251.45Sjmcfi 37261.84Schristosrm -f conftest.err conftest.i conftest.$ac_ext 37271.45Sjmc 37281.45Sjmcdone 37291.108Schristos# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. 37301.84Schristosrm -f conftest.i conftest.err conftest.$ac_ext 37311.108Schristosif $ac_preproc_ok 37321.108Schristosthen : 37331.84Schristos 37341.108Schristoselse case e in #( 37351.108Schristos e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 37361.108Schristosprintf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 37371.84Schristosas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 37381.108SchristosSee 'config.log' for more details" "$LINENO" 5; } ;; 37391.108Schristosesac 37401.45Sjmcfi 37411.45Sjmc 37421.45Sjmcac_ext=c 37431.45Sjmcac_cpp='$CPP $CPPFLAGS' 37441.45Sjmcac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37451.45Sjmcac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37461.45Sjmcac_compiler_gnu=$ac_cv_c_compiler_gnu 37471.45Sjmc 37481.84Schristos 37491.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5 37501.108Schristosprintf %s "checking for egrep -e... " >&6; } 37511.108Schristosif test ${ac_cv_path_EGREP_TRADITIONAL+y} 37521.108Schristosthen : 37531.108Schristos printf %s "(cached) " >&6 37541.108Schristoselse case e in #( 37551.108Schristos e) if test -z "$EGREP_TRADITIONAL"; then 37561.108Schristos ac_path_EGREP_TRADITIONAL_found=false 37571.84Schristos # Loop through the user's path and test for each of PROGNAME-LIST 37581.84Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 37591.84Schristosfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 37601.84Schristosdo 37611.84Schristos IFS=$as_save_IFS 37621.108Schristos case $as_dir in #((( 37631.108Schristos '') as_dir=./ ;; 37641.108Schristos */) ;; 37651.108Schristos *) as_dir=$as_dir/ ;; 37661.108Schristos esac 37671.108Schristos for ac_prog in grep ggrep 37681.108Schristos do 37691.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 37701.108Schristos ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext" 37711.108Schristos as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue 37721.108Schristos# Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found. 37731.108Schristos # Check for GNU $ac_path_EGREP_TRADITIONAL 37741.108Schristoscase `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #( 37751.84Schristos*GNU*) 37761.108Schristos ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;; 37771.108Schristos#( 37781.84Schristos*) 37791.84Schristos ac_count=0 37801.108Schristos printf %s 0123456789 >"conftest.in" 37811.84Schristos while : 37821.84Schristos do 37831.84Schristos cat "conftest.in" "conftest.in" >"conftest.tmp" 37841.84Schristos mv "conftest.tmp" "conftest.in" 37851.84Schristos cp "conftest.in" "conftest.nl" 37861.108Schristos printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl" 37871.108Schristos "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 37881.84Schristos diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 37891.84Schristos as_fn_arith $ac_count + 1 && ac_count=$as_val 37901.108Schristos if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then 37911.84Schristos # Best one so far, save it but keep looking for a better one 37921.108Schristos ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" 37931.108Schristos ac_path_EGREP_TRADITIONAL_max=$ac_count 37941.84Schristos fi 37951.84Schristos # 10*(2^10) chars as input seems more than enough 37961.84Schristos test $ac_count -gt 10 && break 37971.84Schristos done 37981.84Schristos rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 37991.84Schristosesac 38001.84Schristos 38011.108Schristos $ac_path_EGREP_TRADITIONAL_found && break 3 38021.84Schristos done 38031.84Schristos done 38041.84Schristos done 38051.84SchristosIFS=$as_save_IFS 38061.108Schristos if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then 38071.108Schristos : 38081.84Schristos fi 38091.84Schristoselse 38101.108Schristos ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL 38111.84Schristosfi 38121.84Schristos 38131.108Schristos if test "$ac_cv_path_EGREP_TRADITIONAL" 38141.108Schristosthen : 38151.108Schristos ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E" 38161.108Schristoselse case e in #( 38171.108Schristos e) if test -z "$EGREP_TRADITIONAL"; then 38181.108Schristos ac_path_EGREP_TRADITIONAL_found=false 38191.84Schristos # Loop through the user's path and test for each of PROGNAME-LIST 38201.84Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 38211.84Schristosfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 38221.84Schristosdo 38231.84Schristos IFS=$as_save_IFS 38241.108Schristos case $as_dir in #((( 38251.108Schristos '') as_dir=./ ;; 38261.108Schristos */) ;; 38271.108Schristos *) as_dir=$as_dir/ ;; 38281.108Schristos esac 38291.108Schristos for ac_prog in egrep 38301.108Schristos do 38311.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 38321.108Schristos ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext" 38331.108Schristos as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue 38341.108Schristos# Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found. 38351.108Schristos # Check for GNU $ac_path_EGREP_TRADITIONAL 38361.108Schristoscase `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #( 38371.84Schristos*GNU*) 38381.108Schristos ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;; 38391.108Schristos#( 38401.84Schristos*) 38411.84Schristos ac_count=0 38421.108Schristos printf %s 0123456789 >"conftest.in" 38431.84Schristos while : 38441.84Schristos do 38451.84Schristos cat "conftest.in" "conftest.in" >"conftest.tmp" 38461.84Schristos mv "conftest.tmp" "conftest.in" 38471.84Schristos cp "conftest.in" "conftest.nl" 38481.108Schristos printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl" 38491.108Schristos "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 38501.84Schristos diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 38511.84Schristos as_fn_arith $ac_count + 1 && ac_count=$as_val 38521.108Schristos if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then 38531.84Schristos # Best one so far, save it but keep looking for a better one 38541.108Schristos ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" 38551.108Schristos ac_path_EGREP_TRADITIONAL_max=$ac_count 38561.84Schristos fi 38571.84Schristos # 10*(2^10) chars as input seems more than enough 38581.84Schristos test $ac_count -gt 10 && break 38591.84Schristos done 38601.84Schristos rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 38611.84Schristosesac 38621.84Schristos 38631.108Schristos $ac_path_EGREP_TRADITIONAL_found && break 3 38641.84Schristos done 38651.84Schristos done 38661.84Schristos done 38671.84SchristosIFS=$as_save_IFS 38681.108Schristos if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then 38691.84Schristos as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 38701.84Schristos fi 38711.84Schristoselse 38721.108Schristos ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL 38731.84Schristosfi 38741.108Schristos ;; 38751.108Schristosesac 38761.108Schristosfi ;; 38771.108Schristosesac 38781.84Schristosfi 38791.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5 38801.108Schristosprintf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; } 38811.108Schristos EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL 38821.84Schristos 38831.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NetBSD" >&5 38841.108Schristosprintf %s "checking for NetBSD... " >&6; } 38851.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38861.84Schristos/* end confdefs.h. */ 38871.45Sjmc#ifdef __NetBSD__ 38881.45Sjmc yes 38891.45Sjmc #endif 38901.45Sjmc 38911.45Sjmc_ACEOF 38921.45Sjmcif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 38931.108Schristos $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 38941.108Schristosthen : 38951.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 38961.108Schristosprintf "%s\n" "yes" >&6; } 38971.84Schristos 38981.108Schristosprintf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h 38991.84Schristos 39001.74Schristos 39011.108Schristosprintf "%s\n" "#define _POSIX_C_SOURCE 200112L" >>confdefs.h 39021.74Schristos 39031.54Swiz 39041.108Schristosprintf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h 39051.45Sjmc 39061.108Schristoselse case e in #( 39071.108Schristos e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 39081.108Schristosprintf "%s\n" "no" >&6; } ;; 39091.108Schristosesac 39101.45Sjmcfi 39111.108Schristosrm -rf conftest* 39121.45Sjmc 39131.84Schristos 39141.45Sjmc# Extract the first word of "sh", so it can be a program name with args. 39151.45Sjmcset dummy sh; ac_word=$2 39161.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 39171.108Schristosprintf %s "checking for $ac_word... " >&6; } 39181.108Schristosif test ${ac_cv_path_BSHELL+y} 39191.108Schristosthen : 39201.108Schristos printf %s "(cached) " >&6 39211.108Schristoselse case e in #( 39221.108Schristos e) case $BSHELL in 39231.45Sjmc [\\/]* | ?:[\\/]*) 39241.45Sjmc ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path. 39251.45Sjmc ;; 39261.45Sjmc *) 39271.84Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39281.84Schristosfor as_dir in $PATH 39291.84Schristosdo 39301.84Schristos IFS=$as_save_IFS 39311.108Schristos case $as_dir in #((( 39321.108Schristos '') as_dir=./ ;; 39331.108Schristos */) ;; 39341.108Schristos *) as_dir=$as_dir/ ;; 39351.108Schristos esac 39361.84Schristos for ac_exec_ext in '' $ac_executable_extensions; do 39371.108Schristos if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 39381.108Schristos ac_cv_path_BSHELL="$as_dir$ac_word$ac_exec_ext" 39391.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 39401.84Schristos break 2 39411.84Schristos fi 39421.65Schristosdone 39431.84Schristos done 39441.84SchristosIFS=$as_save_IFS 39451.45Sjmc 39461.45Sjmc ;; 39471.108Schristosesac ;; 39481.45Sjmcesac 39491.45Sjmcfi 39501.45SjmcBSHELL=$ac_cv_path_BSHELL 39511.45Sjmcif test -n "$BSHELL"; then 39521.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BSHELL" >&5 39531.108Schristosprintf "%s\n" "$BSHELL" >&6; } 39541.45Sjmcelse 39551.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 39561.108Schristosprintf "%s\n" "no" >&6; } 39571.45Sjmcfi 39581.45Sjmc 39591.84Schristos 39601.45Sjmcif test x"$BSHELL" = x; then 39611.84Schristos as_fn_error $? "sh must be somewhere on \$PATH" "$LINENO" 5 39621.45Sjmcfi 39631.54Swiz 39641.108Schristosprintf "%s\n" "#define PATH_BSHELL \"$BSHELL\"" >>confdefs.h 39651.84Schristos 39661.76Spooka 39671.108Schristosac_header= ac_cache= 39681.108Schristosfor ac_item in $ac_header_c_list 39691.108Schristosdo 39701.108Schristos if test $ac_cache; then 39711.108Schristos ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 39721.108Schristos if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 39731.108Schristos printf "%s\n" "#define $ac_item 1" >> confdefs.h 39741.108Schristos fi 39751.108Schristos ac_header= ac_cache= 39761.108Schristos elif test $ac_header; then 39771.108Schristos ac_cache=$ac_item 39781.108Schristos else 39791.108Schristos ac_header=$ac_item 39801.108Schristos fi 39811.108Schristosdone 39821.84Schristos 39831.6Stv 39841.6Stv 39851.6Stv 39861.84Schristos 39871.84Schristos 39881.6Stv 39891.6Stv 39901.108Schristosif test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 39911.108Schristosthen : 39921.6Stv 39931.108Schristosprintf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 39941.84Schristos 39951.74Schristosfi 39961.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 39971.108Schristosprintf %s "checking whether byte ordering is bigendian... " >&6; } 39981.108Schristosif test ${ac_cv_c_bigendian+y} 39991.108Schristosthen : 40001.108Schristos printf %s "(cached) " >&6 40011.108Schristoselse case e in #( 40021.108Schristos e) ac_cv_c_bigendian=unknown 40031.84Schristos # See if we're dealing with a universal compiler. 40041.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40051.84Schristos/* end confdefs.h. */ 40061.84Schristos#ifndef __APPLE_CC__ 40071.84Schristos not a universal capable compiler 40081.84Schristos #endif 40091.84Schristos typedef int dummy; 40101.84Schristos 40111.84Schristos_ACEOF 40121.108Schristosif ac_fn_c_try_compile "$LINENO" 40131.108Schristosthen : 40141.84Schristos 40151.84Schristos # Check for potential -arch flags. It is not universal unless 40161.84Schristos # there are at least two -arch flags with different values. 40171.84Schristos ac_arch= 40181.84Schristos ac_prev= 40191.84Schristos for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 40201.84Schristos if test -n "$ac_prev"; then 40211.84Schristos case $ac_word in 40221.84Schristos i?86 | x86_64 | ppc | ppc64) 40231.84Schristos if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 40241.84Schristos ac_arch=$ac_word 40251.84Schristos else 40261.84Schristos ac_cv_c_bigendian=universal 40271.84Schristos break 40281.84Schristos fi 40291.84Schristos ;; 40301.84Schristos esac 40311.84Schristos ac_prev= 40321.84Schristos elif test "x$ac_word" = "x-arch"; then 40331.84Schristos ac_prev=arch 40341.84Schristos fi 40351.84Schristos done 40361.84Schristosfi 40371.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 40381.84Schristos if test $ac_cv_c_bigendian = unknown; then 40391.84Schristos # See if sys/param.h defines the BYTE_ORDER macro. 40401.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40411.84Schristos/* end confdefs.h. */ 40421.76Spooka#include <sys/types.h> 40431.84Schristos #include <sys/param.h> 40441.76Spooka 40451.76Spookaint 40461.108Schristosmain (void) 40471.76Spooka{ 40481.108Schristos#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\ 40491.108Schristos && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\ 40501.84Schristos && LITTLE_ENDIAN) 40511.84Schristos bogus endian macros 40521.84Schristos #endif 40531.76Spooka 40541.76Spooka ; 40551.76Spooka return 0; 40561.76Spooka} 40571.76Spooka_ACEOF 40581.108Schristosif ac_fn_c_try_compile "$LINENO" 40591.108Schristosthen : 40601.84Schristos # It does; now see whether it defined to BIG_ENDIAN or not. 40611.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40621.84Schristos/* end confdefs.h. */ 40631.84Schristos#include <sys/types.h> 40641.84Schristos #include <sys/param.h> 40651.76Spooka 40661.76Spookaint 40671.108Schristosmain (void) 40681.76Spooka{ 40691.84Schristos#if BYTE_ORDER != BIG_ENDIAN 40701.84Schristos not big endian 40711.84Schristos #endif 40721.76Spooka 40731.76Spooka ; 40741.76Spooka return 0; 40751.76Spooka} 40761.76Spooka_ACEOF 40771.108Schristosif ac_fn_c_try_compile "$LINENO" 40781.108Schristosthen : 40791.84Schristos ac_cv_c_bigendian=yes 40801.108Schristoselse case e in #( 40811.108Schristos e) ac_cv_c_bigendian=no ;; 40821.108Schristosesac 40831.76Spookafi 40841.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 40851.76Spookafi 40861.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 40871.84Schristos fi 40881.84Schristos if test $ac_cv_c_bigendian = unknown; then 40891.84Schristos # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 40901.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40911.84Schristos/* end confdefs.h. */ 40921.84Schristos#include <limits.h> 40931.76Spooka 40941.76Spookaint 40951.108Schristosmain (void) 40961.76Spooka{ 40971.84Schristos#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 40981.84Schristos bogus endian macros 40991.84Schristos #endif 41001.76Spooka 41011.76Spooka ; 41021.76Spooka return 0; 41031.76Spooka} 41041.76Spooka_ACEOF 41051.108Schristosif ac_fn_c_try_compile "$LINENO" 41061.108Schristosthen : 41071.84Schristos # It does; now see whether it defined to _BIG_ENDIAN or not. 41081.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41091.84Schristos/* end confdefs.h. */ 41101.84Schristos#include <limits.h> 41111.76Spooka 41121.76Spookaint 41131.108Schristosmain (void) 41141.76Spooka{ 41151.84Schristos#ifndef _BIG_ENDIAN 41161.84Schristos not big endian 41171.84Schristos #endif 41181.84Schristos 41191.76Spooka ; 41201.76Spooka return 0; 41211.76Spooka} 41221.76Spooka_ACEOF 41231.108Schristosif ac_fn_c_try_compile "$LINENO" 41241.108Schristosthen : 41251.84Schristos ac_cv_c_bigendian=yes 41261.108Schristoselse case e in #( 41271.108Schristos e) ac_cv_c_bigendian=no ;; 41281.108Schristosesac 41291.76Spookafi 41301.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 41311.76Spookafi 41321.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 41331.84Schristos fi 41341.84Schristos if test $ac_cv_c_bigendian = unknown; then 41351.84Schristos # Compile a test program. 41361.108Schristos if test "$cross_compiling" = yes 41371.108Schristosthen : 41381.84Schristos # Try to guess by grepping values from an object file. 41391.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41401.84Schristos/* end confdefs.h. */ 41411.108Schristosunsigned short int ascii_mm[] = 41421.84Schristos { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 41431.108Schristos unsigned short int ascii_ii[] = 41441.84Schristos { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 41451.84Schristos int use_ascii (int i) { 41461.84Schristos return ascii_mm[i] + ascii_ii[i]; 41471.84Schristos } 41481.108Schristos unsigned short int ebcdic_ii[] = 41491.84Schristos { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 41501.108Schristos unsigned short int ebcdic_mm[] = 41511.84Schristos { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 41521.84Schristos int use_ebcdic (int i) { 41531.84Schristos return ebcdic_mm[i] + ebcdic_ii[i]; 41541.84Schristos } 41551.108Schristos int 41561.108Schristos main (int argc, char **argv) 41571.108Schristos { 41581.108Schristos /* Intimidate the compiler so that it does not 41591.108Schristos optimize the arrays away. */ 41601.108Schristos char *p = argv[0]; 41611.108Schristos ascii_mm[1] = *p++; ebcdic_mm[1] = *p++; 41621.108Schristos ascii_ii[1] = *p++; ebcdic_ii[1] = *p++; 41631.108Schristos return use_ascii (argc) == use_ebcdic (*p); 41641.108Schristos } 41651.76Spooka_ACEOF 41661.108Schristosif ac_fn_c_try_link "$LINENO" 41671.108Schristosthen : 41681.108Schristos if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then 41691.84Schristos ac_cv_c_bigendian=yes 41701.84Schristos fi 41711.108Schristos if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then 41721.84Schristos if test "$ac_cv_c_bigendian" = unknown; then 41731.84Schristos ac_cv_c_bigendian=no 41741.84Schristos else 41751.84Schristos # finding both strings is unlikely to happen, but who knows? 41761.84Schristos ac_cv_c_bigendian=unknown 41771.84Schristos fi 41781.84Schristos fi 41791.76Spookafi 41801.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam \ 41811.108Schristos conftest$ac_exeext conftest.$ac_ext 41821.108Schristoselse case e in #( 41831.108Schristos e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41841.84Schristos/* end confdefs.h. */ 41851.84Schristos$ac_includes_default 41861.76Spookaint 41871.108Schristosmain (void) 41881.76Spooka{ 41891.84Schristos 41901.84Schristos /* Are we little or big endian? From Harbison&Steele. */ 41911.84Schristos union 41921.84Schristos { 41931.84Schristos long int l; 41941.84Schristos char c[sizeof (long int)]; 41951.84Schristos } u; 41961.84Schristos u.l = 1; 41971.84Schristos return u.c[sizeof (long int) - 1] == 1; 41981.76Spooka 41991.76Spooka ; 42001.76Spooka return 0; 42011.76Spooka} 42021.76Spooka_ACEOF 42031.108Schristosif ac_fn_c_try_run "$LINENO" 42041.108Schristosthen : 42051.84Schristos ac_cv_c_bigendian=no 42061.108Schristoselse case e in #( 42071.108Schristos e) ac_cv_c_bigendian=yes ;; 42081.108Schristosesac 42091.76Spookafi 42101.84Schristosrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 42111.108Schristos conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 42121.108Schristosesac 42131.76Spookafi 42141.76Spooka 42151.108Schristos fi ;; 42161.108Schristosesac 42171.76Spookafi 42181.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 42191.108Schristosprintf "%s\n" "$ac_cv_c_bigendian" >&6; } 42201.84Schristos case $ac_cv_c_bigendian in #( 42211.84Schristos yes) 42221.108Schristos printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h 42231.84Schristos;; #( 42241.84Schristos no) 42251.84Schristos ;; #( 42261.84Schristos universal) 42271.84Schristos 42281.108Schristosprintf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 42291.84Schristos 42301.84Schristos ;; #( 42311.84Schristos *) 42321.84Schristos as_fn_error $? "unknown endianness 42331.84Schristos presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 42341.84Schristos esac 42351.84Schristos 42361.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 42371.108Schristosprintf %s "checking for grep that handles long lines and -e... " >&6; } 42381.108Schristosif test ${ac_cv_path_GREP+y} 42391.108Schristosthen : 42401.108Schristos printf %s "(cached) " >&6 42411.108Schristoselse case e in #( 42421.108Schristos e) if test -z "$GREP"; then 42431.108Schristos ac_path_GREP_found=false 42441.108Schristos # Loop through the user's path and test for each of PROGNAME-LIST 42451.108Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 42461.108Schristosfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 42471.108Schristosdo 42481.108Schristos IFS=$as_save_IFS 42491.108Schristos case $as_dir in #((( 42501.108Schristos '') as_dir=./ ;; 42511.108Schristos */) ;; 42521.108Schristos *) as_dir=$as_dir/ ;; 42531.108Schristos esac 42541.108Schristos for ac_prog in grep ggrep 42551.108Schristos do 42561.108Schristos for ac_exec_ext in '' $ac_executable_extensions; do 42571.108Schristos ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" 42581.108Schristos as_fn_executable_p "$ac_path_GREP" || continue 42591.108Schristos# Check for GNU ac_path_GREP and select it if it is found. 42601.108Schristos # Check for GNU $ac_path_GREP 42611.108Schristoscase `"$ac_path_GREP" --version 2>&1` in #( 42621.108Schristos*GNU*) 42631.108Schristos ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 42641.108Schristos#( 42651.108Schristos*) 42661.108Schristos ac_count=0 42671.108Schristos printf %s 0123456789 >"conftest.in" 42681.108Schristos while : 42691.108Schristos do 42701.108Schristos cat "conftest.in" "conftest.in" >"conftest.tmp" 42711.108Schristos mv "conftest.tmp" "conftest.in" 42721.108Schristos cp "conftest.in" "conftest.nl" 42731.108Schristos printf "%s\n" 'GREP' >> "conftest.nl" 42741.108Schristos "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 42751.108Schristos diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 42761.108Schristos as_fn_arith $ac_count + 1 && ac_count=$as_val 42771.108Schristos if test $ac_count -gt ${ac_path_GREP_max-0}; then 42781.108Schristos # Best one so far, save it but keep looking for a better one 42791.108Schristos ac_cv_path_GREP="$ac_path_GREP" 42801.108Schristos ac_path_GREP_max=$ac_count 42811.108Schristos fi 42821.108Schristos # 10*(2^10) chars as input seems more than enough 42831.108Schristos test $ac_count -gt 10 && break 42841.108Schristos done 42851.108Schristos rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 42861.108Schristosesac 42871.76Spooka 42881.108Schristos $ac_path_GREP_found && break 3 42891.108Schristos done 42901.108Schristos done 42911.108Schristos done 42921.108SchristosIFS=$as_save_IFS 42931.108Schristos if test -z "$ac_cv_path_GREP"; then 42941.108Schristos as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 42951.108Schristos fi 42961.76Spookaelse 42971.108Schristos ac_cv_path_GREP=$GREP 42981.108Schristosfi 42991.108Schristos ;; 43001.108Schristosesac 43011.76Spookafi 43021.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 43031.108Schristosprintf "%s\n" "$ac_cv_path_GREP" >&6; } 43041.108Schristos GREP="$ac_cv_path_GREP" 43051.76Spooka 43061.76Spooka 43071.108Schristos# Autoupdate added the next two lines to ensure that your configure 43081.108Schristos# script's behavior did not change. They are probably safe to remove. 43091.76Spooka 43101.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 43111.108Schristosprintf %s "checking for egrep... " >&6; } 43121.108Schristosif test ${ac_cv_path_EGREP+y} 43131.108Schristosthen : 43141.108Schristos printf %s "(cached) " >&6 43151.108Schristoselse case e in #( 43161.108Schristos e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 43171.108Schristos then ac_cv_path_EGREP="$GREP -E" 43181.108Schristos else 43191.108Schristos if test -z "$EGREP"; then 43201.108Schristos ac_path_EGREP_found=false 43211.108Schristos # Loop through the user's path and test for each of PROGNAME-LIST 43221.108Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 43231.108Schristosfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 43241.108Schristosdo 43251.108Schristos IFS=$as_save_IFS 43261.108Schristos case $as_dir in #((( 43271.108Schristos '') as_dir=./ ;; 43281.108Schristos */) ;; 43291.108Schristos *) as_dir=$as_dir/ ;; 43301.108Schristos esac 43311.108Schristos for ac_prog in egrep 43321.108Schristos do 43331.108Schristos for ac_exec_ext in '' $ac_executable_extensions; do 43341.108Schristos ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" 43351.108Schristos as_fn_executable_p "$ac_path_EGREP" || continue 43361.108Schristos# Check for GNU ac_path_EGREP and select it if it is found. 43371.108Schristos # Check for GNU $ac_path_EGREP 43381.108Schristoscase `"$ac_path_EGREP" --version 2>&1` in #( 43391.108Schristos*GNU*) 43401.108Schristos ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 43411.108Schristos#( 43421.108Schristos*) 43431.108Schristos ac_count=0 43441.108Schristos printf %s 0123456789 >"conftest.in" 43451.108Schristos while : 43461.108Schristos do 43471.108Schristos cat "conftest.in" "conftest.in" >"conftest.tmp" 43481.108Schristos mv "conftest.tmp" "conftest.in" 43491.108Schristos cp "conftest.in" "conftest.nl" 43501.108Schristos printf "%s\n" 'EGREP' >> "conftest.nl" 43511.108Schristos "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 43521.108Schristos diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 43531.108Schristos as_fn_arith $ac_count + 1 && ac_count=$as_val 43541.108Schristos if test $ac_count -gt ${ac_path_EGREP_max-0}; then 43551.108Schristos # Best one so far, save it but keep looking for a better one 43561.108Schristos ac_cv_path_EGREP="$ac_path_EGREP" 43571.108Schristos ac_path_EGREP_max=$ac_count 43581.108Schristos fi 43591.108Schristos # 10*(2^10) chars as input seems more than enough 43601.108Schristos test $ac_count -gt 10 && break 43611.108Schristos done 43621.108Schristos rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 43631.108Schristosesac 43641.76Spooka 43651.108Schristos $ac_path_EGREP_found && break 3 43661.108Schristos done 43671.108Schristos done 43681.108Schristos done 43691.108SchristosIFS=$as_save_IFS 43701.108Schristos if test -z "$ac_cv_path_EGREP"; then 43711.108Schristos as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 43721.108Schristos fi 43731.76Spookaelse 43741.108Schristos ac_cv_path_EGREP=$EGREP 43751.76Spookafi 43761.84Schristos 43771.108Schristos fi ;; 43781.108Schristosesac 43791.76Spookafi 43801.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 43811.108Schristosprintf "%s\n" "$ac_cv_path_EGREP" >&6; } 43821.108Schristos EGREP="$ac_cv_path_EGREP" 43831.76Spooka 43841.108Schristos EGREP_TRADITIONAL=$EGREP 43851.108Schristos ac_cv_path_EGREP_TRADITIONAL=$EGREP 43861.76Spooka 43871.76Spooka 43881.76Spooka 43891.84Schristos# Confirm existence of zlib. (This is available as a default install 43901.84Schristos# option on many OS's; this could be added as a reachover build in the 43911.84Schristos# future.) 43921.108Schristosac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" 43931.108Schristosif test "x$ac_cv_header_zlib_h" = xyes 43941.108Schristosthen : 43951.76Spooka 43961.108Schristoselse case e in #( 43971.108Schristos e) as_fn_error $? "zlib must be installed in a compiler-visible path" "$LINENO" 5 ;; 43981.108Schristosesac 43991.76Spookafi 44001.76Spooka 44011.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5 44021.108Schristosprintf %s "checking for gzdopen in -lz... " >&6; } 44031.108Schristosif test ${ac_cv_lib_z_gzdopen+y} 44041.108Schristosthen : 44051.108Schristos printf %s "(cached) " >&6 44061.108Schristoselse case e in #( 44071.108Schristos e) ac_check_lib_save_LIBS=$LIBS 44081.84SchristosLIBS="-lz $LIBS" 44091.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 44101.84Schristos/* end confdefs.h. */ 44111.76Spooka 44121.84Schristos/* Override any GCC internal prototype to avoid an error. 44131.84Schristos Use char because int might match the return type of a GCC 44141.108Schristos builtin and then its argument prototype would still apply. 44151.108Schristos The 'extern "C"' is for builds by C++ compilers; 44161.108Schristos although this is not generally supported in C code supporting it here 44171.108Schristos has little cost and some practical benefit (sr 110532). */ 44181.84Schristos#ifdef __cplusplus 44191.84Schristosextern "C" 44201.84Schristos#endif 44211.108Schristoschar gzdopen (void); 44221.76Spookaint 44231.108Schristosmain (void) 44241.76Spooka{ 44251.84Schristosreturn gzdopen (); 44261.76Spooka ; 44271.76Spooka return 0; 44281.76Spooka} 44291.76Spooka_ACEOF 44301.108Schristosif ac_fn_c_try_link "$LINENO" 44311.108Schristosthen : 44321.84Schristos ac_cv_lib_z_gzdopen=yes 44331.108Schristoselse case e in #( 44341.108Schristos e) ac_cv_lib_z_gzdopen=no ;; 44351.108Schristosesac 44361.76Spookafi 44371.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam \ 44381.84Schristos conftest$ac_exeext conftest.$ac_ext 44391.108SchristosLIBS=$ac_check_lib_save_LIBS ;; 44401.108Schristosesac 44411.76Spookafi 44421.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5 44431.108Schristosprintf "%s\n" "$ac_cv_lib_z_gzdopen" >&6; } 44441.108Schristosif test "x$ac_cv_lib_z_gzdopen" = xyes 44451.108Schristosthen : 44461.108Schristos printf "%s\n" "#define HAVE_LIBZ 1" >>confdefs.h 44471.76Spooka 44481.84Schristos LIBS="-lz $LIBS" 44491.76Spooka 44501.108Schristoselse case e in #( 44511.108Schristos e) as_fn_error $? "zlib must be installed in a compiler-visible path" "$LINENO" 5 ;; 44521.108Schristosesac 44531.76Spookafi 44541.76Spooka 44551.76Spooka 44561.84Schristos# Make sure certain required headers are available. 44571.84Schristos# These are not necessarily required by the code, but they are not 44581.84Schristos# currently conditionalized. 44591.108Schristos for ac_header in sys/ioctl.h sys/mman.h sys/param.h sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h termios.h unistd.h 44601.84Schristosdo : 44611.108Schristos as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | sed "$as_sed_sh"` 44621.108Schristosac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 44631.108Schristosif eval test \"x\$"$as_ac_Header"\" = x"yes" 44641.108Schristosthen : 44651.84Schristos cat >>confdefs.h <<_ACEOF 44661.108Schristos#define `printf "%s\n" "HAVE_$ac_header" | sed "$as_sed_cpp"` 1 44671.84Schristos_ACEOF 44681.76Spooka 44691.108Schristoselse case e in #( 44701.108Schristos e) as_fn_error $? "standard system header file not found" "$LINENO" 5 ;; 44711.108Schristosesac 44721.76Spookafi 44731.76Spooka 44741.84Schristosdone 44751.76Spooka 44761.84Schristos# Find headers that may not be available. 44771.84Schristosac_header_dirent=no 44781.84Schristosfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 44791.108Schristos as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"` 44801.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 44811.108Schristosprintf %s "checking for $ac_hdr that defines DIR... " >&6; } 44821.108Schristosif eval test \${$as_ac_Header+y} 44831.108Schristosthen : 44841.108Schristos printf %s "(cached) " >&6 44851.108Schristoselse case e in #( 44861.108Schristos e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44871.84Schristos/* end confdefs.h. */ 44881.84Schristos#include <sys/types.h> 44891.84Schristos#include <$ac_hdr> 44901.76Spooka 44911.76Spookaint 44921.108Schristosmain (void) 44931.76Spooka{ 44941.84Schristosif ((DIR *) 0) 44951.84Schristosreturn 0; 44961.76Spooka ; 44971.76Spooka return 0; 44981.76Spooka} 44991.76Spooka_ACEOF 45001.108Schristosif ac_fn_c_try_compile "$LINENO" 45011.108Schristosthen : 45021.84Schristos eval "$as_ac_Header=yes" 45031.108Schristoselse case e in #( 45041.108Schristos e) eval "$as_ac_Header=no" ;; 45051.108Schristosesac 45061.76Spookafi 45071.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 45081.108Schristosesac 45091.76Spookafi 45101.84Schristoseval ac_res=\$$as_ac_Header 45111.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 45121.108Schristosprintf "%s\n" "$ac_res" >&6; } 45131.108Schristosif eval test \"x\$"$as_ac_Header"\" = x"yes" 45141.108Schristosthen : 45151.84Schristos cat >>confdefs.h <<_ACEOF 45161.108Schristos#define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1 45171.84Schristos_ACEOF 45181.74Schristos 45191.84Schristosac_header_dirent=$ac_hdr; break 45201.76Spookafi 45211.66Stsutsui 45221.84Schristosdone 45231.84Schristos# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 45241.84Schristosif test $ac_header_dirent = dirent.h; then 45251.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 45261.108Schristosprintf %s "checking for library containing opendir... " >&6; } 45271.108Schristosif test ${ac_cv_search_opendir+y} 45281.108Schristosthen : 45291.108Schristos printf %s "(cached) " >&6 45301.108Schristoselse case e in #( 45311.108Schristos e) ac_func_search_save_LIBS=$LIBS 45321.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 45331.84Schristos/* end confdefs.h. */ 45341.76Spooka 45351.84Schristos/* Override any GCC internal prototype to avoid an error. 45361.84Schristos Use char because int might match the return type of a GCC 45371.108Schristos builtin and then its argument prototype would still apply. 45381.108Schristos The 'extern "C"' is for builds by C++ compilers; 45391.108Schristos although this is not generally supported in C code supporting it here 45401.108Schristos has little cost and some practical benefit (sr 110532). */ 45411.84Schristos#ifdef __cplusplus 45421.84Schristosextern "C" 45431.84Schristos#endif 45441.108Schristoschar opendir (void); 45451.76Spookaint 45461.108Schristosmain (void) 45471.76Spooka{ 45481.84Schristosreturn opendir (); 45491.76Spooka ; 45501.76Spooka return 0; 45511.76Spooka} 45521.6Stv_ACEOF 45531.108Schristosfor ac_lib in '' dir 45541.108Schristosdo 45551.84Schristos if test -z "$ac_lib"; then 45561.84Schristos ac_res="none required" 45571.84Schristos else 45581.84Schristos ac_res=-l$ac_lib 45591.84Schristos LIBS="-l$ac_lib $ac_func_search_save_LIBS" 45601.84Schristos fi 45611.108Schristos if ac_fn_c_try_link "$LINENO" 45621.108Schristosthen : 45631.84Schristos ac_cv_search_opendir=$ac_res 45641.84Schristosfi 45651.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam \ 45661.84Schristos conftest$ac_exeext 45671.108Schristos if test ${ac_cv_search_opendir+y} 45681.108Schristosthen : 45691.84Schristos break 45701.84Schristosfi 45711.84Schristosdone 45721.108Schristosif test ${ac_cv_search_opendir+y} 45731.108Schristosthen : 45741.84Schristos 45751.108Schristoselse case e in #( 45761.108Schristos e) ac_cv_search_opendir=no ;; 45771.108Schristosesac 45781.76Spookafi 45791.84Schristosrm conftest.$ac_ext 45801.108SchristosLIBS=$ac_func_search_save_LIBS ;; 45811.108Schristosesac 45821.6Stvfi 45831.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 45841.108Schristosprintf "%s\n" "$ac_cv_search_opendir" >&6; } 45851.84Schristosac_res=$ac_cv_search_opendir 45861.108Schristosif test "$ac_res" != no 45871.108Schristosthen : 45881.84Schristos test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 45891.6Stv 45901.84Schristosfi 45911.38Sfredb 45921.76Spookaelse 45931.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 45941.108Schristosprintf %s "checking for library containing opendir... " >&6; } 45951.108Schristosif test ${ac_cv_search_opendir+y} 45961.108Schristosthen : 45971.108Schristos printf %s "(cached) " >&6 45981.108Schristoselse case e in #( 45991.108Schristos e) ac_func_search_save_LIBS=$LIBS 46001.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 46011.84Schristos/* end confdefs.h. */ 46021.80Sapb 46031.84Schristos/* Override any GCC internal prototype to avoid an error. 46041.84Schristos Use char because int might match the return type of a GCC 46051.108Schristos builtin and then its argument prototype would still apply. 46061.108Schristos The 'extern "C"' is for builds by C++ compilers; 46071.108Schristos although this is not generally supported in C code supporting it here 46081.108Schristos has little cost and some practical benefit (sr 110532). */ 46091.84Schristos#ifdef __cplusplus 46101.84Schristosextern "C" 46111.84Schristos#endif 46121.108Schristoschar opendir (void); 46131.80Sapbint 46141.108Schristosmain (void) 46151.80Sapb{ 46161.84Schristosreturn opendir (); 46171.80Sapb ; 46181.80Sapb return 0; 46191.80Sapb} 46201.80Sapb_ACEOF 46211.108Schristosfor ac_lib in '' x 46221.108Schristosdo 46231.84Schristos if test -z "$ac_lib"; then 46241.84Schristos ac_res="none required" 46251.84Schristos else 46261.84Schristos ac_res=-l$ac_lib 46271.84Schristos LIBS="-l$ac_lib $ac_func_search_save_LIBS" 46281.84Schristos fi 46291.108Schristos if ac_fn_c_try_link "$LINENO" 46301.108Schristosthen : 46311.84Schristos ac_cv_search_opendir=$ac_res 46321.84Schristosfi 46331.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam \ 46341.84Schristos conftest$ac_exeext 46351.108Schristos if test ${ac_cv_search_opendir+y} 46361.108Schristosthen : 46371.84Schristos break 46381.84Schristosfi 46391.84Schristosdone 46401.108Schristosif test ${ac_cv_search_opendir+y} 46411.108Schristosthen : 46421.84Schristos 46431.108Schristoselse case e in #( 46441.108Schristos e) ac_cv_search_opendir=no ;; 46451.108Schristosesac 46461.80Sapbfi 46471.84Schristosrm conftest.$ac_ext 46481.108SchristosLIBS=$ac_func_search_save_LIBS ;; 46491.108Schristosesac 46501.84Schristosfi 46511.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 46521.108Schristosprintf "%s\n" "$ac_cv_search_opendir" >&6; } 46531.84Schristosac_res=$ac_cv_search_opendir 46541.108Schristosif test "$ac_res" != no 46551.108Schristosthen : 46561.84Schristos test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 46571.84Schristos 46581.80Sapbfi 46591.80Sapb 46601.84Schristosfi 46611.80Sapb 46621.108Schristosac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default" 46631.108Schristosif test "x$ac_cv_header_sys_mtio_h" = xyes 46641.108Schristosthen : 46651.108Schristos printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h 46661.108Schristos 46671.108Schristosfi 46681.108Schristosac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default" 46691.108Schristosif test "x$ac_cv_header_sys_sysmacros_h" = xyes 46701.108Schristosthen : 46711.108Schristos printf "%s\n" "#define HAVE_SYS_SYSMACROS_H 1" >>confdefs.h 46721.108Schristos 46731.108Schristosfi 46741.108Schristosac_fn_c_check_header_compile "$LINENO" "sys/syslimits.h" "ac_cv_header_sys_syslimits_h" "$ac_includes_default" 46751.108Schristosif test "x$ac_cv_header_sys_syslimits_h" = xyes 46761.108Schristosthen : 46771.108Schristos printf "%s\n" "#define HAVE_SYS_SYSLIMITS_H 1" >>confdefs.h 46781.108Schristos 46791.108Schristosfi 46801.108Schristosac_fn_c_check_header_compile "$LINENO" "stdio_ext.h" "ac_cv_header_stdio_ext_h" "$ac_includes_default" 46811.108Schristosif test "x$ac_cv_header_stdio_ext_h" = xyes 46821.108Schristosthen : 46831.108Schristos printf "%s\n" "#define HAVE_STDIO_EXT_H 1" >>confdefs.h 46841.108Schristos 46851.108Schristosfi 46861.108Schristosac_fn_c_check_header_compile "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 46871.108Schristosif test "x$ac_cv_header_getopt_h" = xyes 46881.108Schristosthen : 46891.108Schristos printf "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h 46901.108Schristos 46911.108Schristosfi 46921.108Schristosac_fn_c_check_header_compile "$LINENO" "features.h" "ac_cv_header_features_h" "$ac_includes_default" 46931.108Schristosif test "x$ac_cv_header_features_h" = xyes 46941.108Schristosthen : 46951.108Schristos printf "%s\n" "#define HAVE_FEATURES_H 1" >>confdefs.h 46961.108Schristos 46971.108Schristosfi 46981.108Schristosac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 46991.108Schristosif test "x$ac_cv_header_malloc_h" = xyes 47001.108Schristosthen : 47011.108Schristos printf "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h 47021.108Schristos 47031.108Schristosfi 47041.108Schristosac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" 47051.108Schristosif test "x$ac_cv_header_sys_poll_h" = xyes 47061.108Schristosthen : 47071.108Schristos printf "%s\n" "#define HAVE_SYS_POLL_H 1" >>confdefs.h 47081.108Schristos 47091.108Schristosfi 47101.108Schristosac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 47111.108Schristosif test "x$ac_cv_header_pthread_h" = xyes 47121.108Schristosthen : 47131.108Schristos printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h 47141.108Schristos 47151.108Schristosfi 47161.108Schristosac_fn_c_check_header_compile "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 47171.108Schristosif test "x$ac_cv_header_stddef_h" = xyes 47181.108Schristosthen : 47191.108Schristos printf "%s\n" "#define HAVE_STDDEF_H 1" >>confdefs.h 47201.80Sapb 47211.80Sapbfi 47221.108Schristosac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default" 47231.108Schristosif test "x$ac_cv_header_sys_uio_h" = xyes 47241.108Schristosthen : 47251.108Schristos printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h 47261.45Sjmc 47271.108Schristosfi 47281.84Schristos 47291.108Schristos for ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h sys/endian.h sys/featuretest.h err.h inttypes.h libgen.h paths.h libgen.h stdint.h util.h resolv.h arpa/nameser.h 47301.84Schristosdo : 47311.108Schristos as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | sed "$as_sed_sh"` 47321.108Schristosac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 47331.108Schristosif eval test \"x\$"$as_ac_Header"\" = x"yes" 47341.108Schristosthen : 47351.84Schristos cat >>confdefs.h <<_ACEOF 47361.108Schristos#define `printf "%s\n" "HAVE_$ac_header" | sed "$as_sed_cpp"` 1 47371.84Schristos_ACEOF 47381.84Schristos 47391.108Schristoselse case e in #( 47401.108Schristos e) test -f include/$ac_header || touch include/$ac_header ;; 47411.108Schristosesac 47421.84Schristosfi 47431.7Stv 47441.84Schristosdone 47451.108Schristos for ac_header in rpc/types.h 47461.84Schristosdo : 47471.108Schristos ac_fn_c_check_header_compile "$LINENO" "rpc/types.h" "ac_cv_header_rpc_types_h" "$ac_includes_default" 47481.108Schristosif test "x$ac_cv_header_rpc_types_h" = xyes 47491.108Schristosthen : 47501.108Schristos printf "%s\n" "#define HAVE_RPC_TYPES_H 1" >>confdefs.h 47511.96Shannken 47521.108Schristoselse case e in #( 47531.108Schristos e) echo '#include "nbtool_config.h"' >include/$ac_header.new 47541.96Shannken echo '#include "'$srcdir/../../common/include/$ac_header'"' \ 47551.96Shannken >>include/$ac_header.new 47561.96Shannken if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then 47571.96Shannken rm -f include/$ac_header.new 47581.96Shannken else 47591.96Shannken mv -f include/$ac_header.new include/$ac_header 47601.108Schristos fi ;; 47611.108Schristosesac 47621.96Shannkenfi 47631.96Shannken 47641.96Shannkendone 47651.108Schristos for ac_header in netconfig.h 47661.96Shannkendo : 47671.108Schristos ac_fn_c_check_header_compile "$LINENO" "netconfig.h" "ac_cv_header_netconfig_h" "$ac_includes_default" 47681.108Schristosif test "x$ac_cv_header_netconfig_h" = xyes 47691.108Schristosthen : 47701.108Schristos printf "%s\n" "#define HAVE_NETCONFIG_H 1" >>confdefs.h 47711.84Schristos 47721.108Schristoselse case e in #( 47731.108Schristos e) echo '#include "nbtool_config.h"' >include/$ac_header.new 47741.84Schristos echo '#include "'$srcdir/../../include/$ac_header'"' \ 47751.84Schristos >>include/$ac_header.new 47761.84Schristos if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then 47771.84Schristos rm -f include/$ac_header.new 47781.84Schristos else 47791.84Schristos mv -f include/$ac_header.new include/$ac_header 47801.108Schristos fi ;; 47811.108Schristosesac 47821.76Spookafi 47831.35Sthorpej 47841.84Schristosdone 47851.84Schristos 47861.84Schristos# Typedefs. 47871.84Schristosac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 47881.108Schristosif test "x$ac_cv_type_size_t" = xyes 47891.108Schristosthen : 47901.9Stv 47911.108Schristoselse case e in #( 47921.108Schristos e) 47931.108Schristosprintf "%s\n" "#define size_t unsigned int" >>confdefs.h 47941.108Schristos ;; 47951.108Schristosesac 47961.63Sapbfi 47971.65Schristos 47981.84Schristosac_fn_c_check_type "$LINENO" "id_t" "ac_cv_type_id_t" "$ac_includes_default" 47991.108Schristosif test "x$ac_cv_type_id_t" = xyes 48001.108Schristosthen : 48011.84Schristos 48021.108Schristosprintf "%s\n" "#define HAVE_ID_T 1" >>confdefs.h 48031.76Spooka 48041.63Sapb 48051.84Schristosfi 48061.84Schristosac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default" 48071.108Schristosif test "x$ac_cv_type_long_long" = xyes 48081.108Schristosthen : 48091.63Sapb 48101.108Schristosprintf "%s\n" "#define HAVE_LONG_LONG 1" >>confdefs.h 48111.84Schristos 48121.84Schristos 48131.63Sapbfi 48141.84Schristosac_fn_c_check_type "$LINENO" "u_long" "ac_cv_type_u_long" "$ac_includes_default" 48151.108Schristosif test "x$ac_cv_type_u_long" = xyes 48161.108Schristosthen : 48171.84Schristos 48181.108Schristosprintf "%s\n" "#define HAVE_U_LONG 1" >>confdefs.h 48191.84Schristos 48201.84Schristos 48211.76Spookafi 48221.84Schristosac_fn_c_check_type "$LINENO" "u_char" "ac_cv_type_u_char" "$ac_includes_default" 48231.108Schristosif test "x$ac_cv_type_u_char" = xyes 48241.108Schristosthen : 48251.74Schristos 48261.108Schristosprintf "%s\n" "#define HAVE_U_CHAR 1" >>confdefs.h 48271.65Schristos 48281.65Schristos 48291.74Schristosfi 48301.84Schristosac_fn_c_check_type "$LINENO" "u_short" "ac_cv_type_u_short" "$ac_includes_default" 48311.108Schristosif test "x$ac_cv_type_u_short" = xyes 48321.108Schristosthen : 48331.84Schristos 48341.108Schristosprintf "%s\n" "#define HAVE_U_SHORT 1" >>confdefs.h 48351.63Sapb 48361.74Schristos 48371.84Schristosfi 48381.84Schristosac_fn_c_check_type "$LINENO" "u_int" "ac_cv_type_u_int" "$ac_includes_default" 48391.108Schristosif test "x$ac_cv_type_u_int" = xyes 48401.108Schristosthen : 48411.74Schristos 48421.108Schristosprintf "%s\n" "#define HAVE_U_INT 1" >>confdefs.h 48431.84Schristos 48441.84Schristos 48451.76Spookafi 48461.84Schristosac_fn_c_check_type "$LINENO" "u_quad_t" "ac_cv_type_u_quad_t" "$ac_includes_default" 48471.108Schristosif test "x$ac_cv_type_u_quad_t" = xyes 48481.108Schristosthen : 48491.65Schristos 48501.108Schristosprintf "%s\n" "#define HAVE_U_QUAD_T 1" >>confdefs.h 48511.53Sdogcow 48521.40Satatat 48531.40Satatatfi 48541.63Sapb 48551.95Skamilac_fn_c_check_type "$LINENO" "uchar_t" "ac_cv_type_uchar_t" "$ac_includes_default" 48561.108Schristosif test "x$ac_cv_type_uchar_t" = xyes 48571.108Schristosthen : 48581.95Skamil 48591.108Schristosprintf "%s\n" "#define HAVE_UCHAR_T 1" >>confdefs.h 48601.95Skamil 48611.95Skamil 48621.95Skamilfi 48631.95Skamilac_fn_c_check_type "$LINENO" "ushort_t" "ac_cv_type_ushort_t" "$ac_includes_default" 48641.108Schristosif test "x$ac_cv_type_ushort_t" = xyes 48651.108Schristosthen : 48661.95Skamil 48671.108Schristosprintf "%s\n" "#define HAVE_USHORT_T 1" >>confdefs.h 48681.95Skamil 48691.95Skamil 48701.95Skamilfi 48711.95Skamilac_fn_c_check_type "$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default" 48721.108Schristosif test "x$ac_cv_type_uint_t" = xyes 48731.108Schristosthen : 48741.95Skamil 48751.108Schristosprintf "%s\n" "#define HAVE_UINT_T 1" >>confdefs.h 48761.95Skamil 48771.95Skamil 48781.95Skamilfi 48791.95Skamilac_fn_c_check_type "$LINENO" "ulong_t" "ac_cv_type_ulong_t" "$ac_includes_default" 48801.108Schristosif test "x$ac_cv_type_ulong_t" = xyes 48811.108Schristosthen : 48821.95Skamil 48831.108Schristosprintf "%s\n" "#define HAVE_ULONG_T 1" >>confdefs.h 48841.95Skamil 48851.95Skamil 48861.95Skamilfi 48871.95Skamil 48881.84Schristosac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h> 48891.84Schristos#ifdef HAVE_RPC_TYPES_H 48901.84Schristos#include <rpc/types.h> 48911.84Schristos#endif 48921.84Schristos#include <sys/socket.h> 48931.84Schristos" 48941.108Schristosif test "x$ac_cv_type_socklen_t" = xyes 48951.108Schristosthen : 48961.65Schristos 48971.108Schristosprintf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h 48981.65Schristos 48991.63Sapbfi 49001.65Schristos 49011.65Schristos 49021.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for enum uio_rw" >&5 49031.108Schristosprintf %s "checking for enum uio_rw... " >&6; } 49041.94Skamilcat confdefs.h - <<_ACEOF >conftest.$ac_ext 49051.94Skamil/* end confdefs.h. */ 49061.94Skamil 49071.94Skamil#include <sys/types.h> 49081.94Skamil#ifdef HAVE_SYS_UIO_H 49091.94Skamil#include <sys/uio.h> 49101.94Skamil#endif 49111.94Skamilint 49121.108Schristosmain (void) 49131.94Skamil{ 49141.94Skamilenum uio_rw rw; 49151.94Skamil ; 49161.94Skamil return 0; 49171.94Skamil} 49181.94Skamil_ACEOF 49191.108Schristosif ac_fn_c_try_compile "$LINENO" 49201.108Schristosthen : 49211.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 49221.108Schristosprintf "%s\n" "yes" >&6; } 49231.108Schristos 49241.108Schristosprintf "%s\n" "#define HAVE_ENUM_UIO_RW 1" >>confdefs.h 49251.108Schristos 49261.108Schristoselse case e in #( 49271.108Schristos e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 49281.108Schristosprintf "%s\n" "no" >&6; } ;; 49291.108Schristosesac 49301.94Skamilfi 49311.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 49321.94Skamil 49331.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for enum uio_seg" >&5 49341.108Schristosprintf %s "checking for enum uio_seg... " >&6; } 49351.94Skamilcat confdefs.h - <<_ACEOF >conftest.$ac_ext 49361.94Skamil/* end confdefs.h. */ 49371.94Skamil 49381.94Skamil#include <sys/types.h> 49391.94Skamil#ifdef HAVE_SYS_UIO_H 49401.94Skamil#include <sys/uio.h> 49411.94Skamil#endif 49421.94Skamilint 49431.108Schristosmain (void) 49441.94Skamil{ 49451.94Skamilenum uio_seg seg; 49461.94Skamil ; 49471.94Skamil return 0; 49481.94Skamil} 49491.94Skamil_ACEOF 49501.108Schristosif ac_fn_c_try_compile "$LINENO" 49511.108Schristosthen : 49521.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 49531.108Schristosprintf "%s\n" "yes" >&6; } 49541.108Schristos 49551.108Schristosprintf "%s\n" "#define HAVE_ENUM_UIO_SEG 1" >>confdefs.h 49561.108Schristos 49571.108Schristoselse case e in #( 49581.108Schristos e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 49591.108Schristosprintf "%s\n" "no" >&6; } ;; 49601.108Schristosesac 49611.94Skamilfi 49621.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 49631.94Skamil 49641.60Sapb 49651.84Schristos ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default" 49661.108Schristosif test "x$ac_cv_type_uint8_t" = xyes 49671.108Schristosthen : 49681.81Schristos 49691.108Schristoselse case e in #( 49701.108Schristos e) 49711.84Schristos ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default" 49721.108Schristosif test "x$ac_cv_type_u_int8_t" = xyes 49731.108Schristosthen : 49741.81Schristos 49751.108Schristosprintf "%s\n" "#define uint8_t u_int8_t" >>confdefs.h 49761.81Schristos 49771.108Schristoselse case e in #( 49781.108Schristos e) as_fn_error $? "cannot find a suitable type for uint8_t" "$LINENO" 5 ;; 49791.108Schristosesac 49801.81Schristosfi 49811.84Schristos 49821.108Schristos ;; 49831.108Schristosesac 49841.81Schristosfi 49851.81Schristos 49861.84Schristos ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default" 49871.108Schristosif test "x$ac_cv_type_u_int8_t" = xyes 49881.108Schristosthen : 49891.81Schristos 49901.108Schristoselse case e in #( 49911.108Schristos e) 49921.84Schristos ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default" 49931.108Schristosif test "x$ac_cv_type_uint8_t" = xyes 49941.108Schristosthen : 49951.81Schristos 49961.108Schristosprintf "%s\n" "#define u_int8_t uint8_t" >>confdefs.h 49971.81Schristos 49981.108Schristoselse case e in #( 49991.108Schristos e) as_fn_error $? "cannot find a suitable type for u_int8_t" "$LINENO" 5 ;; 50001.108Schristosesac 50011.81Schristosfi 50021.84Schristos 50031.108Schristos ;; 50041.108Schristosesac 50051.81Schristosfi 50061.81Schristos 50071.107Shans ac_fn_c_check_type "$LINENO" "__uint8_t" "ac_cv_type___uint8_t" "$ac_includes_default" 50081.108Schristosif test "x$ac_cv_type___uint8_t" = xyes 50091.108Schristosthen : 50101.107Shans 50111.108Schristoselse case e in #( 50121.108Schristos e) 50131.107Shans ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default" 50141.108Schristosif test "x$ac_cv_type_uint8_t" = xyes 50151.108Schristosthen : 50161.107Shans 50171.108Schristosprintf "%s\n" "#define __uint8_t uint8_t" >>confdefs.h 50181.107Shans 50191.108Schristoselse case e in #( 50201.108Schristos e) ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default" 50211.108Schristosif test "x$ac_cv_type_u_int8_t" = xyes 50221.108Schristosthen : 50231.107Shans 50241.108Schristosprintf "%s\n" "#define uint8_t u_int8_t" >>confdefs.h 50251.107Shans 50261.108Schristoselse case e in #( 50271.108Schristos e) as_fn_error $? "cannot find a suitable type for __uint8_t" "$LINENO" 5 ;; 50281.108Schristosesac 50291.107Shansfi 50301.108Schristos ;; 50311.108Schristosesac 50321.107Shansfi 50331.107Shans 50341.108Schristos ;; 50351.108Schristosesac 50361.107Shansfi 50371.107Shans 50381.107Shans ac_fn_c_check_type "$LINENO" "__int8_t" "ac_cv_type___int8_t" "$ac_includes_default" 50391.108Schristosif test "x$ac_cv_type___int8_t" = xyes 50401.108Schristosthen : 50411.107Shans 50421.108Schristoselse case e in #( 50431.108Schristos e) 50441.107Shans ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default" 50451.108Schristosif test "x$ac_cv_type_int8_t" = xyes 50461.108Schristosthen : 50471.107Shans 50481.108Schristosprintf "%s\n" "#define __int8_t int8_t" >>confdefs.h 50491.107Shans 50501.108Schristoselse case e in #( 50511.108Schristos e) as_fn_error $? "cannot find a suitable type for __int8_t" "$LINENO" 5 ;; 50521.108Schristosesac 50531.107Shansfi 50541.107Shans 50551.108Schristos ;; 50561.108Schristosesac 50571.107Shansfi 50581.107Shans 50591.81Schristos 50601.84Schristos ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" 50611.108Schristosif test "x$ac_cv_type_uint16_t" = xyes 50621.108Schristosthen : 50631.81Schristos 50641.108Schristoselse case e in #( 50651.108Schristos e) 50661.84Schristos ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default" 50671.108Schristosif test "x$ac_cv_type_u_int16_t" = xyes 50681.108Schristosthen : 50691.81Schristos 50701.108Schristosprintf "%s\n" "#define uint16_t u_int16_t" >>confdefs.h 50711.81Schristos 50721.108Schristoselse case e in #( 50731.108Schristos e) as_fn_error $? "cannot find a suitable type for uint16_t" "$LINENO" 5 ;; 50741.108Schristosesac 50751.81Schristosfi 50761.84Schristos 50771.108Schristos ;; 50781.108Schristosesac 50791.81Schristosfi 50801.81Schristos 50811.84Schristos ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default" 50821.108Schristosif test "x$ac_cv_type_u_int16_t" = xyes 50831.108Schristosthen : 50841.81Schristos 50851.108Schristoselse case e in #( 50861.108Schristos e) 50871.84Schristos ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" 50881.108Schristosif test "x$ac_cv_type_uint16_t" = xyes 50891.108Schristosthen : 50901.81Schristos 50911.108Schristosprintf "%s\n" "#define u_int16_t uint16_t" >>confdefs.h 50921.81Schristos 50931.108Schristoselse case e in #( 50941.108Schristos e) as_fn_error $? "cannot find a suitable type for u_int16_t" "$LINENO" 5 ;; 50951.108Schristosesac 50961.81Schristosfi 50971.84Schristos 50981.108Schristos ;; 50991.108Schristosesac 51001.81Schristosfi 51011.81Schristos 51021.107Shans ac_fn_c_check_type "$LINENO" "__uint16_t" "ac_cv_type___uint16_t" "$ac_includes_default" 51031.108Schristosif test "x$ac_cv_type___uint16_t" = xyes 51041.108Schristosthen : 51051.107Shans 51061.108Schristoselse case e in #( 51071.108Schristos e) 51081.107Shans ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" 51091.108Schristosif test "x$ac_cv_type_uint16_t" = xyes 51101.108Schristosthen : 51111.107Shans 51121.108Schristosprintf "%s\n" "#define __uint16_t uint16_t" >>confdefs.h 51131.107Shans 51141.108Schristoselse case e in #( 51151.108Schristos e) ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default" 51161.108Schristosif test "x$ac_cv_type_u_int16_t" = xyes 51171.108Schristosthen : 51181.107Shans 51191.108Schristosprintf "%s\n" "#define uint16_t u_int16_t" >>confdefs.h 51201.107Shans 51211.108Schristoselse case e in #( 51221.108Schristos e) as_fn_error $? "cannot find a suitable type for __uint16_t" "$LINENO" 5 ;; 51231.108Schristosesac 51241.107Shansfi 51251.108Schristos ;; 51261.108Schristosesac 51271.107Shansfi 51281.107Shans 51291.108Schristos ;; 51301.108Schristosesac 51311.107Shansfi 51321.107Shans 51331.107Shans ac_fn_c_check_type "$LINENO" "__int16_t" "ac_cv_type___int16_t" "$ac_includes_default" 51341.108Schristosif test "x$ac_cv_type___int16_t" = xyes 51351.108Schristosthen : 51361.107Shans 51371.108Schristoselse case e in #( 51381.108Schristos e) 51391.107Shans ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default" 51401.108Schristosif test "x$ac_cv_type_int16_t" = xyes 51411.108Schristosthen : 51421.107Shans 51431.108Schristosprintf "%s\n" "#define __int16_t int16_t" >>confdefs.h 51441.107Shans 51451.108Schristoselse case e in #( 51461.108Schristos e) as_fn_error $? "cannot find a suitable type for __int16_t" "$LINENO" 5 ;; 51471.108Schristosesac 51481.107Shansfi 51491.107Shans 51501.108Schristos ;; 51511.108Schristosesac 51521.107Shansfi 51531.107Shans 51541.81Schristos 51551.84Schristos ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" 51561.108Schristosif test "x$ac_cv_type_uint32_t" = xyes 51571.108Schristosthen : 51581.53Sdogcow 51591.108Schristoselse case e in #( 51601.108Schristos e) 51611.84Schristos ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default" 51621.108Schristosif test "x$ac_cv_type_u_int32_t" = xyes 51631.108Schristosthen : 51641.84Schristos 51651.108Schristosprintf "%s\n" "#define uint32_t u_int32_t" >>confdefs.h 51661.65Schristos 51671.108Schristoselse case e in #( 51681.108Schristos e) as_fn_error $? "cannot find a suitable type for uint32_t" "$LINENO" 5 ;; 51691.108Schristosesac 51701.40Satatatfi 51711.84Schristos 51721.108Schristos ;; 51731.108Schristosesac 51741.74Schristosfi 51751.61Schristos 51761.84Schristos ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default" 51771.108Schristosif test "x$ac_cv_type_u_int32_t" = xyes 51781.108Schristosthen : 51791.7Stv 51801.108Schristoselse case e in #( 51811.108Schristos e) 51821.84Schristos ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" 51831.108Schristosif test "x$ac_cv_type_uint32_t" = xyes 51841.108Schristosthen : 51851.60Sapb 51861.108Schristosprintf "%s\n" "#define u_int32_t uint32_t" >>confdefs.h 51871.63Sapb 51881.108Schristoselse case e in #( 51891.108Schristos e) as_fn_error $? "cannot find a suitable type for u_int32_t" "$LINENO" 5 ;; 51901.108Schristosesac 51911.7Stvfi 51921.84Schristos 51931.108Schristos ;; 51941.108Schristosesac 51951.7Stvfi 51961.7Stv 51971.107Shans ac_fn_c_check_type "$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default" 51981.108Schristosif test "x$ac_cv_type___uint32_t" = xyes 51991.108Schristosthen : 52001.107Shans 52011.108Schristoselse case e in #( 52021.108Schristos e) 52031.107Shans ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" 52041.108Schristosif test "x$ac_cv_type_uint32_t" = xyes 52051.108Schristosthen : 52061.107Shans 52071.108Schristosprintf "%s\n" "#define __uint32_t uint32_t" >>confdefs.h 52081.107Shans 52091.108Schristoselse case e in #( 52101.108Schristos e) ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default" 52111.108Schristosif test "x$ac_cv_type_u_int32_t" = xyes 52121.108Schristosthen : 52131.107Shans 52141.108Schristosprintf "%s\n" "#define uint32_t u_int32_t" >>confdefs.h 52151.107Shans 52161.108Schristoselse case e in #( 52171.108Schristos e) as_fn_error $? "cannot find a suitable type for __uint32_t" "$LINENO" 5 ;; 52181.108Schristosesac 52191.107Shansfi 52201.108Schristos ;; 52211.108Schristosesac 52221.107Shansfi 52231.107Shans 52241.108Schristos ;; 52251.108Schristosesac 52261.107Shansfi 52271.107Shans 52281.107Shans ac_fn_c_check_type "$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default" 52291.108Schristosif test "x$ac_cv_type___int32_t" = xyes 52301.108Schristosthen : 52311.107Shans 52321.108Schristoselse case e in #( 52331.108Schristos e) 52341.107Shans ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" 52351.108Schristosif test "x$ac_cv_type_int32_t" = xyes 52361.108Schristosthen : 52371.107Shans 52381.108Schristosprintf "%s\n" "#define __int32_t int32_t" >>confdefs.h 52391.107Shans 52401.108Schristoselse case e in #( 52411.108Schristos e) as_fn_error $? "cannot find a suitable type for __int32_t" "$LINENO" 5 ;; 52421.108Schristosesac 52431.107Shansfi 52441.107Shans 52451.108Schristos ;; 52461.108Schristosesac 52471.107Shansfi 52481.107Shans 52491.84Schristos 52501.84Schristos ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" 52511.108Schristosif test "x$ac_cv_type_uint64_t" = xyes 52521.108Schristosthen : 52531.63Sapb 52541.108Schristoselse case e in #( 52551.108Schristos e) 52561.84Schristos ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default" 52571.108Schristosif test "x$ac_cv_type_u_int64_t" = xyes 52581.108Schristosthen : 52591.65Schristos 52601.108Schristosprintf "%s\n" "#define uint64_t u_int64_t" >>confdefs.h 52611.63Sapb 52621.108Schristoselse case e in #( 52631.108Schristos e) as_fn_error $? "cannot find a suitable type for uint64_t" "$LINENO" 5 ;; 52641.108Schristosesac 52651.53Sdogcowfi 52661.84Schristos 52671.108Schristos ;; 52681.108Schristosesac 52691.61Schristosfi 52701.65Schristos 52711.84Schristos ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default" 52721.108Schristosif test "x$ac_cv_type_u_int64_t" = xyes 52731.108Schristosthen : 52741.53Sdogcow 52751.108Schristoselse case e in #( 52761.108Schristos e) 52771.84Schristos ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" 52781.108Schristosif test "x$ac_cv_type_uint64_t" = xyes 52791.108Schristosthen : 52801.65Schristos 52811.108Schristosprintf "%s\n" "#define u_int64_t uint64_t" >>confdefs.h 52821.53Sdogcow 52831.108Schristoselse case e in #( 52841.108Schristos e) as_fn_error $? "cannot find a suitable type for u_int64_t" "$LINENO" 5 ;; 52851.108Schristosesac 52861.7Stvfi 52871.84Schristos 52881.108Schristos ;; 52891.108Schristosesac 52901.7Stvfi 52911.65Schristos 52921.107Shans ac_fn_c_check_type "$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default" 52931.108Schristosif test "x$ac_cv_type___uint64_t" = xyes 52941.108Schristosthen : 52951.107Shans 52961.108Schristoselse case e in #( 52971.108Schristos e) 52981.107Shans ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" 52991.108Schristosif test "x$ac_cv_type_uint64_t" = xyes 53001.108Schristosthen : 53011.107Shans 53021.108Schristosprintf "%s\n" "#define __uint64_t uint64_t" >>confdefs.h 53031.107Shans 53041.108Schristoselse case e in #( 53051.108Schristos e) ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default" 53061.108Schristosif test "x$ac_cv_type_u_int64_t" = xyes 53071.108Schristosthen : 53081.107Shans 53091.108Schristosprintf "%s\n" "#define uint64_t u_int64_t" >>confdefs.h 53101.107Shans 53111.108Schristoselse case e in #( 53121.108Schristos e) as_fn_error $? "cannot find a suitable type for __uint64_t" "$LINENO" 5 ;; 53131.108Schristosesac 53141.107Shansfi 53151.108Schristos ;; 53161.108Schristosesac 53171.107Shansfi 53181.107Shans 53191.108Schristos ;; 53201.108Schristosesac 53211.107Shansfi 53221.107Shans 53231.107Shans ac_fn_c_check_type "$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default" 53241.108Schristosif test "x$ac_cv_type___int64_t" = xyes 53251.108Schristosthen : 53261.107Shans 53271.108Schristoselse case e in #( 53281.108Schristos e) 53291.107Shans ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" 53301.108Schristosif test "x$ac_cv_type_int64_t" = xyes 53311.108Schristosthen : 53321.107Shans 53331.108Schristosprintf "%s\n" "#define __int64_t int64_t" >>confdefs.h 53341.107Shans 53351.108Schristoselse case e in #( 53361.108Schristos e) as_fn_error $? "cannot find a suitable type for __int64_t" "$LINENO" 5 ;; 53371.108Schristosesac 53381.107Shansfi 53391.107Shans 53401.108Schristos ;; 53411.108Schristosesac 53421.107Shansfi 53431.107Shans 53441.7Stv 53451.84Schristos 53461.84Schristos# Struct members. 53471.84Schristosac_fn_c_check_member "$LINENO" "DIR" "dd_fd" "ac_cv_member_DIR_dd_fd" "#include <sys/types.h> 53481.84Schristos#include <dirent.h> 53491.84Schristos" 53501.108Schristosif test "x$ac_cv_member_DIR_dd_fd" = xyes 53511.108Schristosthen : 53521.84Schristos 53531.108Schristosprintf "%s\n" "#define HAVE_DIR_DD_FD 1" >>confdefs.h 53541.84Schristos 53551.61Schristos 53561.76Spookafi 53571.84Schristosac_fn_c_check_member "$LINENO" "DIR" "__dd_fd" "ac_cv_member_DIR___dd_fd" "#include <sys/types.h> 53581.84Schristos#include <dirent.h> 53591.84Schristos" 53601.108Schristosif test "x$ac_cv_member_DIR___dd_fd" = xyes 53611.108Schristosthen : 53621.84Schristos 53631.108Schristosprintf "%s\n" "#define HAVE_DIR___DD_FD 1" >>confdefs.h 53641.61Schristos 53651.7Stv 53661.7Stvfi 53671.84Schristosac_fn_c_check_member "$LINENO" "struct dirent" "d_namlen" "ac_cv_member_struct_dirent_d_namlen" "#include <sys/types.h> 53681.84Schristos#include <dirent.h> 53691.84Schristos" 53701.108Schristosif test "x$ac_cv_member_struct_dirent_d_namlen" = xyes 53711.108Schristosthen : 53721.61Schristos 53731.108Schristosprintf "%s\n" "#define HAVE_STRUCT_DIRENT_D_NAMLEN 1" >>confdefs.h 53741.7Stv 53751.7Stv 53761.76Spookafi 53771.4Stv 53781.84Schristosac_fn_c_check_member "$LINENO" "struct stat" "st_flags" "ac_cv_member_struct_stat_st_flags" "#include <sys/stat.h> 53791.84Schristos" 53801.108Schristosif test "x$ac_cv_member_struct_stat_st_flags" = xyes 53811.108Schristosthen : 53821.4Stv 53831.108Schristosprintf "%s\n" "#define HAVE_STRUCT_STAT_ST_FLAGS 1" >>confdefs.h 53841.84Schristos 53851.84Schristos 53861.4Stvfi 53871.84Schristosac_fn_c_check_member "$LINENO" "struct stat" "st_gen" "ac_cv_member_struct_stat_st_gen" "#include <sys/stat.h> 53881.84Schristos" 53891.108Schristosif test "x$ac_cv_member_struct_stat_st_gen" = xyes 53901.108Schristosthen : 53911.84Schristos 53921.108Schristosprintf "%s\n" "#define HAVE_STRUCT_STAT_ST_GEN 1" >>confdefs.h 53931.84Schristos 53941.84Schristos 53951.4Stvfi 53961.84Schristosac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "#include <sys/stat.h> 53971.84Schristos" 53981.108Schristosif test "x$ac_cv_member_struct_stat_st_birthtime" = xyes 53991.108Schristosthen : 54001.61Schristos 54011.108Schristosprintf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h 54021.74Schristos 54031.74Schristos 54041.76Spookafi 54051.84Schristosac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimensec" "ac_cv_member_struct_stat_st_birthtimensec" "#include <sys/stat.h> 54061.84Schristos" 54071.108Schristosif test "x$ac_cv_member_struct_stat_st_birthtimensec" = xyes 54081.108Schristosthen : 54091.84Schristos 54101.108Schristosprintf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1" >>confdefs.h 54111.84Schristos 54121.4Stv 54131.84Schristosfi 54141.84Schristosac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "#include <sys/stat.h> 54151.84Schristos" 54161.108Schristosif test "x$ac_cv_member_struct_stat_st_atim" = xyes 54171.108Schristosthen : 54181.63Sapb 54191.108Schristosprintf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h 54201.84Schristos 54211.84Schristos 54221.19Sbjh21fi 54231.84Schristosac_fn_c_check_member "$LINENO" "struct stat" "st_mtimensec" "ac_cv_member_struct_stat_st_mtimensec" "#include <sys/stat.h> 54241.84Schristos" 54251.108Schristosif test "x$ac_cv_member_struct_stat_st_mtimensec" = xyes 54261.108Schristosthen : 54271.84Schristos 54281.108Schristosprintf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1" >>confdefs.h 54291.84Schristos 54301.84Schristos 54311.19Sbjh21fi 54321.63Sapb 54331.84Schristosac_fn_c_check_member "$LINENO" "struct statvfs" "f_iosize" "ac_cv_member_struct_statvfs_f_iosize" "#include <sys/statvfs.h> 54341.84Schristos" 54351.108Schristosif test "x$ac_cv_member_struct_statvfs_f_iosize" = xyes 54361.108Schristosthen : 54371.84Schristos 54381.108Schristosprintf "%s\n" "#define HAVE_STRUCT_STATVFS_F_IOSIZE 1" >>confdefs.h 54391.19Sbjh21 54401.19Sbjh21 54411.76Spookafi 54421.63Sapb 54431.84Schristosac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 54441.84Schristos" 54451.108Schristosif test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes 54461.108Schristosthen : 54471.19Sbjh21 54481.108Schristosprintf "%s\n" "#define HAVE_STRUCT_TM_TM_GMTOFF 1" >>confdefs.h 54491.84Schristos 54501.84Schristos 54511.19Sbjh21fi 54521.76Spooka 54531.74Schristos 54541.84Schristos# Global variable decls. 54551.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 54561.108Schristosprintf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } 54571.108Schristosif test ${ac_cv_c_undeclared_builtin_options+y} 54581.108Schristosthen : 54591.108Schristos printf %s "(cached) " >&6 54601.108Schristoselse case e in #( 54611.108Schristos e) ac_save_CFLAGS=$CFLAGS 54621.108Schristos ac_cv_c_undeclared_builtin_options='cannot detect' 54631.108Schristos for ac_arg in '' -fno-builtin; do 54641.108Schristos CFLAGS="$ac_save_CFLAGS $ac_arg" 54651.108Schristos # This test program should *not* compile successfully. 54661.108Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 54671.108Schristos/* end confdefs.h. */ 54681.108Schristos 54691.108Schristosint 54701.108Schristosmain (void) 54711.108Schristos{ 54721.108Schristos(void) strchr; 54731.108Schristos ; 54741.108Schristos return 0; 54751.108Schristos} 54761.108Schristos_ACEOF 54771.108Schristosif ac_fn_c_try_compile "$LINENO" 54781.108Schristosthen : 54791.108Schristos 54801.108Schristoselse case e in #( 54811.108Schristos e) # This test program should compile successfully. 54821.108Schristos # No library function is consistently available on 54831.108Schristos # freestanding implementations, so test against a dummy 54841.108Schristos # declaration. Include always-available headers on the 54851.108Schristos # off chance that they somehow elicit warnings. 54861.108Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 54871.108Schristos/* end confdefs.h. */ 54881.108Schristos#include <float.h> 54891.108Schristos#include <limits.h> 54901.108Schristos#include <stdarg.h> 54911.108Schristos#include <stddef.h> 54921.108Schristosextern void ac_decl (int, char *); 54931.108Schristos 54941.108Schristosint 54951.108Schristosmain (void) 54961.108Schristos{ 54971.108Schristos(void) ac_decl (0, (char *) 0); 54981.108Schristos (void) ac_decl; 54991.108Schristos 55001.108Schristos ; 55011.108Schristos return 0; 55021.108Schristos} 55031.108Schristos_ACEOF 55041.108Schristosif ac_fn_c_try_compile "$LINENO" 55051.108Schristosthen : 55061.108Schristos if test x"$ac_arg" = x 55071.108Schristosthen : 55081.108Schristos ac_cv_c_undeclared_builtin_options='none needed' 55091.108Schristoselse case e in #( 55101.108Schristos e) ac_cv_c_undeclared_builtin_options=$ac_arg ;; 55111.108Schristosesac 55121.108Schristosfi 55131.108Schristos break 55141.108Schristosfi 55151.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 55161.108Schristosesac 55171.108Schristosfi 55181.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 55191.108Schristos done 55201.108Schristos CFLAGS=$ac_save_CFLAGS 55211.108Schristos ;; 55221.108Schristosesac 55231.108Schristosfi 55241.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 55251.108Schristosprintf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } 55261.108Schristos case $ac_cv_c_undeclared_builtin_options in #( 55271.108Schristos 'cannot detect') : 55281.108Schristos { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 55291.108Schristosprintf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} 55301.108Schristosas_fn_error $? "cannot make $CC report undeclared builtins 55311.108SchristosSee 'config.log' for more details" "$LINENO" 5; } ;; #( 55321.108Schristos 'none needed') : 55331.108Schristos ac_c_undeclared_builtin_options='' ;; #( 55341.108Schristos *) : 55351.108Schristos ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; 55361.108Schristosesac 55371.108Schristos 55381.108Schristosac_fn_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" " 55391.86Schristos#include <stdio.h> 55401.86Schristos 55411.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 55421.108Schristosif test "x$ac_cv_have_decl_asprintf" = xyes 55431.108Schristosthen : 55441.86Schristos ac_have_decl=1 55451.108Schristoselse case e in #( 55461.108Schristos e) ac_have_decl=0 ;; 55471.108Schristosesac 55481.86Schristosfi 55491.108Schristosprintf "%s\n" "#define HAVE_DECL_ASPRINTF $ac_have_decl" >>confdefs.h 55501.108Schristosac_fn_check_decl "$LINENO" "asnprintf" "ac_cv_have_decl_asnprintf" " 55511.88Ssevan#include <stdio.h> 55521.88Ssevan 55531.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 55541.108Schristosif test "x$ac_cv_have_decl_asnprintf" = xyes 55551.108Schristosthen : 55561.88Ssevan ac_have_decl=1 55571.108Schristoselse case e in #( 55581.108Schristos e) ac_have_decl=0 ;; 55591.108Schristosesac 55601.88Ssevanfi 55611.108Schristosprintf "%s\n" "#define HAVE_DECL_ASNPRINTF $ac_have_decl" >>confdefs.h 55621.108Schristosac_fn_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" " 55631.86Schristos#include <stdio.h> 55641.86Schristos 55651.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 55661.108Schristosif test "x$ac_cv_have_decl_vasprintf" = xyes 55671.108Schristosthen : 55681.86Schristos ac_have_decl=1 55691.108Schristoselse case e in #( 55701.108Schristos e) ac_have_decl=0 ;; 55711.108Schristosesac 55721.86Schristosfi 55731.108Schristosprintf "%s\n" "#define HAVE_DECL_VASPRINTF $ac_have_decl" >>confdefs.h 55741.108Schristosac_fn_check_decl "$LINENO" "vasnprintf" "ac_cv_have_decl_vasnprintf" " 55751.86Schristos#include <stdio.h> 55761.86Schristos 55771.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 55781.108Schristosif test "x$ac_cv_have_decl_vasnprintf" = xyes 55791.108Schristosthen : 55801.86Schristos ac_have_decl=1 55811.108Schristoselse case e in #( 55821.108Schristos e) ac_have_decl=0 ;; 55831.108Schristosesac 55841.86Schristosfi 55851.108Schristosprintf "%s\n" "#define HAVE_DECL_VASNPRINTF $ac_have_decl" >>confdefs.h 55861.108Schristosac_fn_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" " 55871.86Schristos#include <stdio.h> 55881.86Schristos 55891.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 55901.108Schristosif test "x$ac_cv_have_decl_vsnprintf" = xyes 55911.108Schristosthen : 55921.86Schristos ac_have_decl=1 55931.108Schristoselse case e in #( 55941.108Schristos e) ac_have_decl=0 ;; 55951.108Schristosesac 55961.86Schristosfi 55971.108Schristosprintf "%s\n" "#define HAVE_DECL_VSNPRINTF $ac_have_decl" >>confdefs.h 55981.108Schristosac_fn_check_decl "$LINENO" "fgetln" "ac_cv_have_decl_fgetln" " 55991.86Schristos#include <stdio.h> 56001.86Schristos 56011.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 56021.108Schristosif test "x$ac_cv_have_decl_fgetln" = xyes 56031.108Schristosthen : 56041.86Schristos ac_have_decl=1 56051.108Schristoselse case e in #( 56061.108Schristos e) ac_have_decl=0 ;; 56071.108Schristosesac 56081.86Schristosfi 56091.108Schristosprintf "%s\n" "#define HAVE_DECL_FGETLN $ac_have_decl" >>confdefs.h 56101.108Schristosac_fn_check_decl "$LINENO" "fparseln" "ac_cv_have_decl_fparseln" " 56111.86Schristos#include <stdio.h> 56121.86Schristos 56131.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 56141.108Schristosif test "x$ac_cv_have_decl_fparseln" = xyes 56151.108Schristosthen : 56161.86Schristos ac_have_decl=1 56171.108Schristoselse case e in #( 56181.108Schristos e) ac_have_decl=0 ;; 56191.108Schristosesac 56201.86Schristosfi 56211.108Schristosprintf "%s\n" "#define HAVE_DECL_FPARSELN $ac_have_decl" >>confdefs.h 56221.108Schristosac_fn_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" " 56231.87Schristos#include <stdio.h> 56241.87Schristos 56251.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 56261.108Schristosif test "x$ac_cv_have_decl_fpurge" = xyes 56271.108Schristosthen : 56281.87Schristos ac_have_decl=1 56291.108Schristoselse case e in #( 56301.108Schristos e) ac_have_decl=0 ;; 56311.108Schristosesac 56321.87Schristosfi 56331.108Schristosprintf "%s\n" "#define HAVE_DECL_FPURGE $ac_have_decl" >>confdefs.h 56341.108Schristosac_fn_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" " 56351.87Schristos#include <stdio.h> 56361.87Schristos 56371.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 56381.108Schristosif test "x$ac_cv_have_decl_getdelim" = xyes 56391.108Schristosthen : 56401.87Schristos ac_have_decl=1 56411.108Schristoselse case e in #( 56421.108Schristos e) ac_have_decl=0 ;; 56431.108Schristosesac 56441.87Schristosfi 56451.108Schristosprintf "%s\n" "#define HAVE_DECL_GETDELIM $ac_have_decl" >>confdefs.h 56461.108Schristosac_fn_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" " 56471.86Schristos#include <stdio.h> 56481.86Schristos 56491.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 56501.108Schristosif test "x$ac_cv_have_decl_getline" = xyes 56511.108Schristosthen : 56521.86Schristos ac_have_decl=1 56531.108Schristoselse case e in #( 56541.108Schristos e) ac_have_decl=0 ;; 56551.108Schristosesac 56561.86Schristosfi 56571.108Schristosprintf "%s\n" "#define HAVE_DECL_GETLINE $ac_have_decl" >>confdefs.h 56581.108Schristosac_fn_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" " 56591.86Schristos#include <stdio.h> 56601.86Schristos 56611.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 56621.108Schristosif test "x$ac_cv_have_decl_snprintf" = xyes 56631.108Schristosthen : 56641.86Schristos ac_have_decl=1 56651.108Schristoselse case e in #( 56661.108Schristos e) ac_have_decl=0 ;; 56671.108Schristosesac 56681.86Schristosfi 56691.108Schristosprintf "%s\n" "#define HAVE_DECL_SNPRINTF $ac_have_decl" >>confdefs.h 56701.109Schristosac_fn_check_decl "$LINENO" "vsyslog" "ac_cv_have_decl_vsyslog" " 56711.109Schristos#include <stdio.h> 56721.109Schristos 56731.109Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 56741.109Schristosif test "x$ac_cv_have_decl_vsyslog" = xyes 56751.109Schristosthen : 56761.109Schristos ac_have_decl=1 56771.109Schristoselse case e in #( 56781.109Schristos e) ac_have_decl=0 ;; 56791.109Schristosesac 56801.109Schristosfi 56811.109Schristosprintf "%s\n" "#define HAVE_DECL_VSYSLOG $ac_have_decl" >>confdefs.h 56821.86Schristos 56831.86Schristos 56841.108Schristosac_fn_check_decl "$LINENO" "atoll" "ac_cv_have_decl_atoll" " 56851.108Schristos#include <stdlib.h> 56861.86Schristos 56871.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 56881.108Schristosif test "x$ac_cv_have_decl_atoll" = xyes 56891.108Schristosthen : 56901.108Schristos ac_have_decl=1 56911.108Schristoselse case e in #( 56921.108Schristos e) ac_have_decl=0 ;; 56931.108Schristosesac 56941.108Schristosfi 56951.108Schristosprintf "%s\n" "#define HAVE_DECL_ATOLL $ac_have_decl" >>confdefs.h 56961.108Schristosac_fn_check_decl "$LINENO" "getsubopt" "ac_cv_have_decl_getsubopt" " 56971.86Schristos#include <stdlib.h> 56981.86Schristos 56991.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 57001.108Schristosif test "x$ac_cv_have_decl_getsubopt" = xyes 57011.108Schristosthen : 57021.86Schristos ac_have_decl=1 57031.108Schristoselse case e in #( 57041.108Schristos e) ac_have_decl=0 ;; 57051.108Schristosesac 57061.86Schristosfi 57071.108Schristosprintf "%s\n" "#define HAVE_DECL_GETSUBOPT $ac_have_decl" >>confdefs.h 57081.108Schristosac_fn_check_decl "$LINENO" "getprogname" "ac_cv_have_decl_getprogname" " 57091.108Schristos#include <stdlib.h> 57101.86Schristos 57111.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 57121.108Schristosif test "x$ac_cv_have_decl_getprogname" = xyes 57131.108Schristosthen : 57141.108Schristos ac_have_decl=1 57151.108Schristoselse case e in #( 57161.108Schristos e) ac_have_decl=0 ;; 57171.108Schristosesac 57181.108Schristosfi 57191.108Schristosprintf "%s\n" "#define HAVE_DECL_GETPROGNAME $ac_have_decl" >>confdefs.h 57201.108Schristosac_fn_check_decl "$LINENO" "heapsort" "ac_cv_have_decl_heapsort" " 57211.86Schristos#include <stdlib.h> 57221.86Schristos 57231.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 57241.108Schristosif test "x$ac_cv_have_decl_heapsort" = xyes 57251.108Schristosthen : 57261.86Schristos ac_have_decl=1 57271.108Schristoselse case e in #( 57281.108Schristos e) ac_have_decl=0 ;; 57291.108Schristosesac 57301.86Schristosfi 57311.108Schristosprintf "%s\n" "#define HAVE_DECL_HEAPSORT $ac_have_decl" >>confdefs.h 57321.108Schristosac_fn_check_decl "$LINENO" "mkdtemp" "ac_cv_have_decl_mkdtemp" " 57331.86Schristos#include <stdlib.h> 57341.86Schristos 57351.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 57361.108Schristosif test "x$ac_cv_have_decl_mkdtemp" = xyes 57371.108Schristosthen : 57381.86Schristos ac_have_decl=1 57391.108Schristoselse case e in #( 57401.108Schristos e) ac_have_decl=0 ;; 57411.108Schristosesac 57421.86Schristosfi 57431.108Schristosprintf "%s\n" "#define HAVE_DECL_MKDTEMP $ac_have_decl" >>confdefs.h 57441.108Schristosac_fn_check_decl "$LINENO" "mkstemp" "ac_cv_have_decl_mkstemp" " 57451.86Schristos#include <stdlib.h> 57461.86Schristos 57471.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 57481.108Schristosif test "x$ac_cv_have_decl_mkstemp" = xyes 57491.108Schristosthen : 57501.86Schristos ac_have_decl=1 57511.108Schristoselse case e in #( 57521.108Schristos e) ac_have_decl=0 ;; 57531.108Schristosesac 57541.86Schristosfi 57551.108Schristosprintf "%s\n" "#define HAVE_DECL_MKSTEMP $ac_have_decl" >>confdefs.h 57561.108Schristosac_fn_check_decl "$LINENO" "mkstemps" "ac_cv_have_decl_mkstemps" " 57571.86Schristos#include <stdlib.h> 57581.86Schristos 57591.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 57601.108Schristosif test "x$ac_cv_have_decl_mkstemps" = xyes 57611.108Schristosthen : 57621.86Schristos ac_have_decl=1 57631.108Schristoselse case e in #( 57641.108Schristos e) ac_have_decl=0 ;; 57651.108Schristosesac 57661.86Schristosfi 57671.108Schristosprintf "%s\n" "#define HAVE_DECL_MKSTEMPS $ac_have_decl" >>confdefs.h 57681.108Schristosac_fn_check_decl "$LINENO" "reallocarr" "ac_cv_have_decl_reallocarr" " 57691.99Schristos#include <stdlib.h> 57701.99Schristos 57711.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 57721.108Schristosif test "x$ac_cv_have_decl_reallocarr" = xyes 57731.108Schristosthen : 57741.99Schristos ac_have_decl=1 57751.108Schristoselse case e in #( 57761.108Schristos e) ac_have_decl=0 ;; 57771.108Schristosesac 57781.99Schristosfi 57791.108Schristosprintf "%s\n" "#define HAVE_DECL_REALLOCARR $ac_have_decl" >>confdefs.h 57801.108Schristosac_fn_check_decl "$LINENO" "reallocarray" "ac_cv_have_decl_reallocarray" " 57811.93Schristos#include <stdlib.h> 57821.93Schristos 57831.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 57841.108Schristosif test "x$ac_cv_have_decl_reallocarray" = xyes 57851.108Schristosthen : 57861.93Schristos ac_have_decl=1 57871.108Schristoselse case e in #( 57881.108Schristos e) ac_have_decl=0 ;; 57891.108Schristosesac 57901.93Schristosfi 57911.108Schristosprintf "%s\n" "#define HAVE_DECL_REALLOCARRAY $ac_have_decl" >>confdefs.h 57921.108Schristosac_fn_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" " 57931.86Schristos#include <stdlib.h> 57941.86Schristos 57951.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 57961.108Schristosif test "x$ac_cv_have_decl_setenv" = xyes 57971.108Schristosthen : 57981.86Schristos ac_have_decl=1 57991.108Schristoselse case e in #( 58001.108Schristos e) ac_have_decl=0 ;; 58011.108Schristosesac 58021.86Schristosfi 58031.108Schristosprintf "%s\n" "#define HAVE_DECL_SETENV $ac_have_decl" >>confdefs.h 58041.108Schristosac_fn_check_decl "$LINENO" "strtonum" "ac_cv_have_decl_strtonum" " 58051.86Schristos#include <stdlib.h> 58061.86Schristos 58071.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 58081.108Schristosif test "x$ac_cv_have_decl_strtonum" = xyes 58091.108Schristosthen : 58101.86Schristos ac_have_decl=1 58111.108Schristoselse case e in #( 58121.108Schristos e) ac_have_decl=0 ;; 58131.108Schristosesac 58141.86Schristosfi 58151.108Schristosprintf "%s\n" "#define HAVE_DECL_STRTONUM $ac_have_decl" >>confdefs.h 58161.108Schristosac_fn_check_decl "$LINENO" "strtoi" "ac_cv_have_decl_strtoi" " 58171.86Schristos#include <stdlib.h> 58181.86Schristos 58191.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 58201.108Schristosif test "x$ac_cv_have_decl_strtoi" = xyes 58211.108Schristosthen : 58221.86Schristos ac_have_decl=1 58231.108Schristoselse case e in #( 58241.108Schristos e) ac_have_decl=0 ;; 58251.108Schristosesac 58261.86Schristosfi 58271.108Schristosprintf "%s\n" "#define HAVE_DECL_STRTOI $ac_have_decl" >>confdefs.h 58281.108Schristosac_fn_check_decl "$LINENO" "strtoll" "ac_cv_have_decl_strtoll" " 58291.86Schristos#include <stdlib.h> 58301.86Schristos 58311.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 58321.108Schristosif test "x$ac_cv_have_decl_strtoll" = xyes 58331.108Schristosthen : 58341.86Schristos ac_have_decl=1 58351.108Schristoselse case e in #( 58361.108Schristos e) ac_have_decl=0 ;; 58371.108Schristosesac 58381.86Schristosfi 58391.108Schristosprintf "%s\n" "#define HAVE_DECL_STRTOLL $ac_have_decl" >>confdefs.h 58401.108Schristosac_fn_check_decl "$LINENO" "strtou" "ac_cv_have_decl_strtou" " 58411.86Schristos#include <stdlib.h> 58421.86Schristos 58431.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 58441.108Schristosif test "x$ac_cv_have_decl_strtou" = xyes 58451.108Schristosthen : 58461.86Schristos ac_have_decl=1 58471.108Schristoselse case e in #( 58481.108Schristos e) ac_have_decl=0 ;; 58491.108Schristosesac 58501.86Schristosfi 58511.108Schristosprintf "%s\n" "#define HAVE_DECL_STRTOU $ac_have_decl" >>confdefs.h 58521.108Schristosac_fn_check_decl "$LINENO" "setprogname" "ac_cv_have_decl_setprogname" " 58531.106Skre#include <stdlib.h> 58541.106Skre 58551.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 58561.108Schristosif test "x$ac_cv_have_decl_setprogname" = xyes 58571.108Schristosthen : 58581.106Skre ac_have_decl=1 58591.108Schristoselse case e in #( 58601.108Schristos e) ac_have_decl=0 ;; 58611.108Schristosesac 58621.106Skrefi 58631.108Schristosprintf "%s\n" "#define HAVE_DECL_SETPROGNAME $ac_have_decl" >>confdefs.h 58641.108Schristosac_fn_check_decl "$LINENO" "shquote" "ac_cv_have_decl_shquote" " 58651.86Schristos#include <stdlib.h> 58661.86Schristos 58671.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 58681.108Schristosif test "x$ac_cv_have_decl_shquote" = xyes 58691.108Schristosthen : 58701.86Schristos ac_have_decl=1 58711.108Schristoselse case e in #( 58721.108Schristos e) ac_have_decl=0 ;; 58731.108Schristosesac 58741.86Schristosfi 58751.108Schristosprintf "%s\n" "#define HAVE_DECL_SHQUOTE $ac_have_decl" >>confdefs.h 58761.86Schristos 58771.86Schristos 58781.108Schristosac_fn_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" " 58791.86Schristos#include <libgen.h> 58801.86Schristos 58811.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 58821.108Schristosif test "x$ac_cv_have_decl_basename" = xyes 58831.108Schristosthen : 58841.86Schristos ac_have_decl=1 58851.108Schristoselse case e in #( 58861.108Schristos e) ac_have_decl=0 ;; 58871.108Schristosesac 58881.86Schristosfi 58891.108Schristosprintf "%s\n" "#define HAVE_DECL_BASENAME $ac_have_decl" >>confdefs.h 58901.108Schristosac_fn_check_decl "$LINENO" "dirname" "ac_cv_have_decl_dirname" " 58911.86Schristos#include <libgen.h> 58921.86Schristos 58931.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 58941.108Schristosif test "x$ac_cv_have_decl_dirname" = xyes 58951.108Schristosthen : 58961.86Schristos ac_have_decl=1 58971.108Schristoselse case e in #( 58981.108Schristos e) ac_have_decl=0 ;; 58991.108Schristosesac 59001.86Schristosfi 59011.108Schristosprintf "%s\n" "#define HAVE_DECL_DIRNAME $ac_have_decl" >>confdefs.h 59021.86Schristos 59031.86Schristos 59041.108Schristosac_fn_check_decl "$LINENO" "raise_default_signal" "ac_cv_have_decl_raise_default_signal" " 59051.86Schristos#include <util.h> 59061.86Schristos 59071.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 59081.108Schristosif test "x$ac_cv_have_decl_raise_default_signal" = xyes 59091.108Schristosthen : 59101.86Schristos ac_have_decl=1 59111.108Schristoselse case e in #( 59121.108Schristos e) ac_have_decl=0 ;; 59131.108Schristosesac 59141.86Schristosfi 59151.108Schristosprintf "%s\n" "#define HAVE_DECL_RAISE_DEFAULT_SIGNAL $ac_have_decl" >>confdefs.h 59161.86Schristos 59171.86Schristos 59181.108Schristosac_fn_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" " 59191.86Schristos#include <unistd.h> 59201.86Schristos 59211.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 59221.108Schristosif test "x$ac_cv_have_decl_issetugid" = xyes 59231.108Schristosthen : 59241.86Schristos ac_have_decl=1 59251.108Schristoselse case e in #( 59261.108Schristos e) ac_have_decl=0 ;; 59271.108Schristosesac 59281.86Schristosfi 59291.108Schristosprintf "%s\n" "#define HAVE_DECL_ISSETUGID $ac_have_decl" >>confdefs.h 59301.108Schristosac_fn_check_decl "$LINENO" "pread" "ac_cv_have_decl_pread" " 59311.86Schristos#include <unistd.h> 59321.86Schristos 59331.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 59341.108Schristosif test "x$ac_cv_have_decl_pread" = xyes 59351.108Schristosthen : 59361.86Schristos ac_have_decl=1 59371.108Schristoselse case e in #( 59381.108Schristos e) ac_have_decl=0 ;; 59391.108Schristosesac 59401.86Schristosfi 59411.108Schristosprintf "%s\n" "#define HAVE_DECL_PREAD $ac_have_decl" >>confdefs.h 59421.108Schristosac_fn_check_decl "$LINENO" "pwrite" "ac_cv_have_decl_pwrite" " 59431.86Schristos#include <unistd.h> 59441.86Schristos 59451.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 59461.108Schristosif test "x$ac_cv_have_decl_pwrite" = xyes 59471.108Schristosthen : 59481.86Schristos ac_have_decl=1 59491.108Schristoselse case e in #( 59501.108Schristos e) ac_have_decl=0 ;; 59511.108Schristosesac 59521.86Schristosfi 59531.108Schristosprintf "%s\n" "#define HAVE_DECL_PWRITE $ac_have_decl" >>confdefs.h 59541.86Schristos 59551.86Schristos 59561.108Schristosac_fn_check_decl "$LINENO" "strmode" "ac_cv_have_decl_strmode" " 59571.86Schristos#include <unistd.h> 59581.86Schristos#include <string.h> 59591.86Schristos 59601.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 59611.108Schristosif test "x$ac_cv_have_decl_strmode" = xyes 59621.108Schristosthen : 59631.86Schristos ac_have_decl=1 59641.108Schristoselse case e in #( 59651.108Schristos e) ac_have_decl=0 ;; 59661.108Schristosesac 59671.86Schristosfi 59681.108Schristosprintf "%s\n" "#define HAVE_DECL_STRMODE $ac_have_decl" >>confdefs.h 59691.86Schristos 59701.86Schristos 59711.108Schristosac_fn_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" " 59721.86Schristos#include <ctype.h> 59731.86Schristos 59741.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 59751.108Schristosif test "x$ac_cv_have_decl_isblank" = xyes 59761.108Schristosthen : 59771.86Schristos ac_have_decl=1 59781.108Schristoselse case e in #( 59791.108Schristos e) ac_have_decl=0 ;; 59801.108Schristosesac 59811.86Schristosfi 59821.108Schristosprintf "%s\n" "#define HAVE_DECL_ISBLANK $ac_have_decl" >>confdefs.h 59831.86Schristos 59841.86Schristos 59851.86Schristos 59861.108Schristosac_fn_check_decl "$LINENO" "optind" "ac_cv_have_decl_optind" " 59871.84Schristos#include <stdio.h> 59881.84Schristos#include <stdlib.h> 59891.84Schristos#include <unistd.h> 59901.84Schristos#ifdef HAVE_GETOPT_H 59911.84Schristos#include <getopt.h> 59921.84Schristos#endif 59931.84Schristos 59941.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 59951.108Schristosif test "x$ac_cv_have_decl_optind" = xyes 59961.108Schristosthen : 59971.84Schristos ac_have_decl=1 59981.108Schristoselse case e in #( 59991.108Schristos e) ac_have_decl=0 ;; 60001.108Schristosesac 60011.19Sbjh21fi 60021.108Schristosprintf "%s\n" "#define HAVE_DECL_OPTIND $ac_have_decl" >>confdefs.h 60031.108Schristosac_fn_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" " 60041.84Schristos#include <stdio.h> 60051.84Schristos#include <stdlib.h> 60061.84Schristos#include <unistd.h> 60071.84Schristos#ifdef HAVE_GETOPT_H 60081.84Schristos#include <getopt.h> 60091.76Spooka#endif 60101.19Sbjh21 60111.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 60121.108Schristosif test "x$ac_cv_have_decl_optreset" = xyes 60131.108Schristosthen : 60141.84Schristos ac_have_decl=1 60151.108Schristoselse case e in #( 60161.108Schristos e) ac_have_decl=0 ;; 60171.108Schristosesac 60181.84Schristosfi 60191.108Schristosprintf "%s\n" "#define HAVE_DECL_OPTRESET $ac_have_decl" >>confdefs.h 60201.84Schristos 60211.108Schristosac_fn_check_decl "$LINENO" "sys_signame" "ac_cv_have_decl_sys_signame" "#include <signal.h> 60221.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 60231.108Schristosif test "x$ac_cv_have_decl_sys_signame" = xyes 60241.108Schristosthen : 60251.84Schristos ac_have_decl=1 60261.108Schristoselse case e in #( 60271.108Schristos e) ac_have_decl=0 ;; 60281.108Schristosesac 60291.63Sapbfi 60301.108Schristosprintf "%s\n" "#define HAVE_DECL_SYS_SIGNAME $ac_have_decl" >>confdefs.h 60311.63Sapb 60321.61Schristos 60331.84Schristos# Library functions (where a .h check isn't enough). 60341.84Schristos# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 60351.84Schristos# for constant arguments. Useless! 60361.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 60371.108Schristosprintf %s "checking for working alloca.h... " >&6; } 60381.108Schristosif test ${ac_cv_working_alloca_h+y} 60391.108Schristosthen : 60401.108Schristos printf %s "(cached) " >&6 60411.108Schristoselse case e in #( 60421.108Schristos e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 60431.84Schristos/* end confdefs.h. */ 60441.84Schristos#include <alloca.h> 60451.76Spookaint 60461.108Schristosmain (void) 60471.76Spooka{ 60481.84Schristoschar *p = (char *) alloca (2 * sizeof (int)); 60491.84Schristos if (p) return 0; 60501.76Spooka ; 60511.76Spooka return 0; 60521.76Spooka} 60531.19Sbjh21_ACEOF 60541.108Schristosif ac_fn_c_try_link "$LINENO" 60551.108Schristosthen : 60561.84Schristos ac_cv_working_alloca_h=yes 60571.108Schristoselse case e in #( 60581.108Schristos e) ac_cv_working_alloca_h=no ;; 60591.108Schristosesac 60601.76Spookafi 60611.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam \ 60621.108Schristos conftest$ac_exeext conftest.$ac_ext ;; 60631.108Schristosesac 60641.19Sbjh21fi 60651.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 60661.108Schristosprintf "%s\n" "$ac_cv_working_alloca_h" >&6; } 60671.84Schristosif test $ac_cv_working_alloca_h = yes; then 60681.63Sapb 60691.108Schristosprintf "%s\n" "#define HAVE_ALLOCA_H 1" >>confdefs.h 60701.63Sapb 60711.84Schristosfi 60721.19Sbjh21 60731.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 60741.108Schristosprintf %s "checking for alloca... " >&6; } 60751.108Schristosif test ${ac_cv_func_alloca_works+y} 60761.108Schristosthen : 60771.108Schristos printf %s "(cached) " >&6 60781.108Schristoselse case e in #( 60791.108Schristos e) ac_cv_func_alloca_works=$ac_cv_working_alloca_h 60801.108Schristosif test "$ac_cv_func_alloca_works" != yes 60811.108Schristosthen : 60821.84Schristos cat confdefs.h - <<_ACEOF >conftest.$ac_ext 60831.84Schristos/* end confdefs.h. */ 60841.108Schristos#include <stdlib.h> 60851.108Schristos#include <stddef.h> 60861.108Schristos#ifndef alloca 60871.108Schristos# ifdef __GNUC__ 60881.108Schristos# define alloca __builtin_alloca 60891.108Schristos# elif defined _MSC_VER 60901.84Schristos# include <malloc.h> 60911.84Schristos# define alloca _alloca 60921.84Schristos# else 60931.108Schristos# ifdef __cplusplus 60941.108Schristosextern "C" 60951.108Schristos# endif 60961.84Schristosvoid *alloca (size_t); 60971.84Schristos# endif 60981.84Schristos#endif 60991.76Spooka 61001.76Spookaint 61011.108Schristosmain (void) 61021.76Spooka{ 61031.84Schristoschar *p = (char *) alloca (1); 61041.84Schristos if (p) return 0; 61051.76Spooka ; 61061.76Spooka return 0; 61071.76Spooka} 61081.74Schristos_ACEOF 61091.108Schristosif ac_fn_c_try_link "$LINENO" 61101.108Schristosthen : 61111.84Schristos ac_cv_func_alloca_works=yes 61121.76Spookafi 61131.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam \ 61141.84Schristos conftest$ac_exeext conftest.$ac_ext 61151.108Schristosfi ;; 61161.108Schristosesac 61171.19Sbjh21fi 61181.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 61191.108Schristosprintf "%s\n" "$ac_cv_func_alloca_works" >&6; } 61201.19Sbjh21 61211.84Schristosif test $ac_cv_func_alloca_works = yes; then 61221.84Schristos 61231.108Schristosprintf "%s\n" "#define HAVE_ALLOCA 1" >>confdefs.h 61241.19Sbjh21 61251.76Spookaelse 61261.84Schristos # The SVR3 libPW and SVR4 libucb both contain incompatible functions 61271.84Schristos# that cause trouble. Some versions do not even contain alloca or 61281.84Schristos# contain a buggy version. If you still want to use their alloca, 61291.84Schristos# use ar to extract alloca.o from them instead of compiling alloca.c. 61301.84Schristos 61311.84SchristosALLOCA=\${LIBOBJDIR}alloca.$ac_objext 61321.84Schristos 61331.108Schristosprintf "%s\n" "#define C_ALLOCA 1" >>confdefs.h 61341.19Sbjh21 61351.84Schristos 61361.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 61371.108Schristosprintf %s "checking stack direction for C alloca... " >&6; } 61381.108Schristosif test ${ac_cv_c_stack_direction+y} 61391.108Schristosthen : 61401.108Schristos printf %s "(cached) " >&6 61411.108Schristoselse case e in #( 61421.108Schristos e) if test "$cross_compiling" = yes 61431.108Schristosthen : 61441.84Schristos ac_cv_c_stack_direction=0 61451.108Schristoselse case e in #( 61461.108Schristos e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 61471.84Schristos/* end confdefs.h. */ 61481.84Schristos$ac_includes_default 61491.84Schristosint 61501.84Schristosfind_stack_direction (int *addr, int depth) 61511.84Schristos{ 61521.84Schristos int dir, dummy = 0; 61531.84Schristos if (! addr) 61541.84Schristos addr = &dummy; 61551.84Schristos *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; 61561.84Schristos dir = depth ? find_stack_direction (addr, depth - 1) : 0; 61571.84Schristos return dir + dummy; 61581.84Schristos} 61591.61Schristos 61601.76Spookaint 61611.84Schristosmain (int argc, char **argv) 61621.76Spooka{ 61631.84Schristos return find_stack_direction (0, argc + !argv + 20) < 0; 61641.76Spooka} 61651.76Spooka_ACEOF 61661.108Schristosif ac_fn_c_try_run "$LINENO" 61671.108Schristosthen : 61681.84Schristos ac_cv_c_stack_direction=1 61691.108Schristoselse case e in #( 61701.108Schristos e) ac_cv_c_stack_direction=-1 ;; 61711.108Schristosesac 61721.76Spookafi 61731.84Schristosrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 61741.108Schristos conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 61751.108Schristosesac 61761.108Schristosfi 61771.108Schristos ;; 61781.108Schristosesac 61791.108Schristosfi 61801.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 61811.108Schristosprintf "%s\n" "$ac_cv_c_stack_direction" >&6; } 61821.108Schristosprintf "%s\n" "#define STACK_DIRECTION $ac_cv_c_stack_direction" >>confdefs.h 61831.108Schristos 61841.108Schristos 61851.108Schristosfi 61861.108Schristos 61871.108Schristosac_fn_c_check_func "$LINENO" "atoll" "ac_cv_func_atoll" 61881.108Schristosif test "x$ac_cv_func_atoll" = xyes 61891.108Schristosthen : 61901.108Schristos printf "%s\n" "#define HAVE_ATOLL 1" >>confdefs.h 61911.108Schristos 61921.108Schristosfi 61931.108Schristosac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf" 61941.108Schristosif test "x$ac_cv_func_asprintf" = xyes 61951.108Schristosthen : 61961.108Schristos printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h 61971.108Schristos 61981.108Schristosfi 61991.108Schristosac_fn_c_check_func "$LINENO" "asnprintf" "ac_cv_func_asnprintf" 62001.108Schristosif test "x$ac_cv_func_asnprintf" = xyes 62011.108Schristosthen : 62021.108Schristos printf "%s\n" "#define HAVE_ASNPRINTF 1" >>confdefs.h 62031.108Schristos 62041.108Schristosfi 62051.108Schristosac_fn_c_check_func "$LINENO" "basename" "ac_cv_func_basename" 62061.108Schristosif test "x$ac_cv_func_basename" = xyes 62071.108Schristosthen : 62081.108Schristos printf "%s\n" "#define HAVE_BASENAME 1" >>confdefs.h 62091.108Schristos 62101.108Schristosfi 62111.108Schristosac_fn_c_check_func "$LINENO" "devname" "ac_cv_func_devname" 62121.108Schristosif test "x$ac_cv_func_devname" = xyes 62131.108Schristosthen : 62141.108Schristos printf "%s\n" "#define HAVE_DEVNAME 1" >>confdefs.h 62151.108Schristos 62161.108Schristosfi 62171.108Schristosac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd" 62181.108Schristosif test "x$ac_cv_func_dirfd" = xyes 62191.108Schristosthen : 62201.108Schristos printf "%s\n" "#define HAVE_DIRFD 1" >>confdefs.h 62211.108Schristos 62221.108Schristosfi 62231.108Schristosac_fn_c_check_func "$LINENO" "dirname" "ac_cv_func_dirname" 62241.108Schristosif test "x$ac_cv_func_dirname" = xyes 62251.108Schristosthen : 62261.108Schristos printf "%s\n" "#define HAVE_DIRNAME 1" >>confdefs.h 62271.108Schristos 62281.108Schristosfi 62291.108Schristosac_fn_c_check_func "$LINENO" "dispatch_semaphore_create" "ac_cv_func_dispatch_semaphore_create" 62301.108Schristosif test "x$ac_cv_func_dispatch_semaphore_create" = xyes 62311.108Schristosthen : 62321.108Schristos printf "%s\n" "#define HAVE_DISPATCH_SEMAPHORE_CREATE 1" >>confdefs.h 62331.108Schristos 62341.108Schristosfi 62351.108Schristosac_fn_c_check_func "$LINENO" "dprintf" "ac_cv_func_dprintf" 62361.108Schristosif test "x$ac_cv_func_dprintf" = xyes 62371.108Schristosthen : 62381.108Schristos printf "%s\n" "#define HAVE_DPRINTF 1" >>confdefs.h 62391.108Schristos 62401.108Schristosfi 62411.108Schristosac_fn_c_check_func "$LINENO" "esetfunc" "ac_cv_func_esetfunc" 62421.108Schristosif test "x$ac_cv_func_esetfunc" = xyes 62431.108Schristosthen : 62441.108Schristos printf "%s\n" "#define HAVE_ESETFUNC 1" >>confdefs.h 62451.108Schristos 62461.108Schristosfi 62471.108Schristosac_fn_c_check_func "$LINENO" "fgetln" "ac_cv_func_fgetln" 62481.108Schristosif test "x$ac_cv_func_fgetln" = xyes 62491.108Schristosthen : 62501.108Schristos printf "%s\n" "#define HAVE_FGETLN 1" >>confdefs.h 62511.108Schristos 62521.108Schristosfi 62531.108Schristosac_fn_c_check_func "$LINENO" "flock" "ac_cv_func_flock" 62541.108Schristosif test "x$ac_cv_func_flock" = xyes 62551.108Schristosthen : 62561.108Schristos printf "%s\n" "#define HAVE_FLOCK 1" >>confdefs.h 62571.108Schristos 62581.108Schristosfi 62591.108Schristosac_fn_c_check_func "$LINENO" "fpurge" "ac_cv_func_fpurge" 62601.108Schristosif test "x$ac_cv_func_fpurge" = xyes 62611.108Schristosthen : 62621.108Schristos printf "%s\n" "#define HAVE_FPURGE 1" >>confdefs.h 62631.108Schristos 62641.108Schristosfi 62651.108Schristosac_fn_c_check_func "$LINENO" "__fpurge" "ac_cv_func___fpurge" 62661.108Schristosif test "x$ac_cv_func___fpurge" = xyes 62671.108Schristosthen : 62681.108Schristos printf "%s\n" "#define HAVE___FPURGE 1" >>confdefs.h 62691.108Schristos 62701.108Schristosfi 62711.108Schristosac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes" 62721.108Schristosif test "x$ac_cv_func_futimes" = xyes 62731.108Schristosthen : 62741.108Schristos printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h 62751.108Schristos 62761.108Schristosfi 62771.108Schristosac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" 62781.108Schristosif test "x$ac_cv_func_getline" = xyes 62791.108Schristosthen : 62801.108Schristos printf "%s\n" "#define HAVE_GETLINE 1" >>confdefs.h 62811.108Schristos 62821.108Schristosfi 62831.108Schristosac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt" 62841.108Schristosif test "x$ac_cv_func_getopt" = xyes 62851.108Schristosthen : 62861.108Schristos printf "%s\n" "#define HAVE_GETOPT 1" >>confdefs.h 62871.108Schristos 62881.108Schristosfi 62891.108Schristosac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long" 62901.108Schristosif test "x$ac_cv_func_getopt_long" = xyes 62911.108Schristosthen : 62921.108Schristos printf "%s\n" "#define HAVE_GETOPT_LONG 1" >>confdefs.h 62931.108Schristos 62941.108Schristosfi 62951.108Schristosac_fn_c_check_func "$LINENO" "group_from_gid" "ac_cv_func_group_from_gid" 62961.108Schristosif test "x$ac_cv_func_group_from_gid" = xyes 62971.108Schristosthen : 62981.108Schristos printf "%s\n" "#define HAVE_GROUP_FROM_GID 1" >>confdefs.h 62991.108Schristos 63001.108Schristosfi 63011.108Schristosac_fn_c_check_func "$LINENO" "gid_from_group" "ac_cv_func_gid_from_group" 63021.108Schristosif test "x$ac_cv_func_gid_from_group" = xyes 63031.108Schristosthen : 63041.108Schristos printf "%s\n" "#define HAVE_GID_FROM_GROUP 1" >>confdefs.h 63051.108Schristos 63061.108Schristosfi 63071.108Schristosac_fn_c_check_func "$LINENO" "heapsort" "ac_cv_func_heapsort" 63081.108Schristosif test "x$ac_cv_func_heapsort" = xyes 63091.108Schristosthen : 63101.108Schristos printf "%s\n" "#define HAVE_HEAPSORT 1" >>confdefs.h 63111.108Schristos 63121.108Schristosfi 63131.108Schristosac_fn_c_check_func "$LINENO" "isblank" "ac_cv_func_isblank" 63141.108Schristosif test "x$ac_cv_func_isblank" = xyes 63151.108Schristosthen : 63161.108Schristos printf "%s\n" "#define HAVE_ISBLANK 1" >>confdefs.h 63171.108Schristos 63181.108Schristosfi 63191.108Schristosac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid" 63201.108Schristosif test "x$ac_cv_func_issetugid" = xyes 63211.108Schristosthen : 63221.108Schristos printf "%s\n" "#define HAVE_ISSETUGID 1" >>confdefs.h 63231.108Schristos 63241.108Schristosfi 63251.108Schristosac_fn_c_check_func "$LINENO" "lchflags" "ac_cv_func_lchflags" 63261.108Schristosif test "x$ac_cv_func_lchflags" = xyes 63271.108Schristosthen : 63281.108Schristos printf "%s\n" "#define HAVE_LCHFLAGS 1" >>confdefs.h 63291.108Schristos 63301.108Schristosfi 63311.108Schristosac_fn_c_check_func "$LINENO" "lchmod" "ac_cv_func_lchmod" 63321.108Schristosif test "x$ac_cv_func_lchmod" = xyes 63331.108Schristosthen : 63341.108Schristos printf "%s\n" "#define HAVE_LCHMOD 1" >>confdefs.h 63351.108Schristos 63361.108Schristosfi 63371.108Schristosac_fn_c_check_func "$LINENO" "lchown" "ac_cv_func_lchown" 63381.108Schristosif test "x$ac_cv_func_lchown" = xyes 63391.108Schristosthen : 63401.108Schristos printf "%s\n" "#define HAVE_LCHOWN 1" >>confdefs.h 63411.108Schristos 63421.108Schristosfi 63431.108Schristosac_fn_c_check_func "$LINENO" "lutimes" "ac_cv_func_lutimes" 63441.108Schristosif test "x$ac_cv_func_lutimes" = xyes 63451.108Schristosthen : 63461.108Schristos printf "%s\n" "#define HAVE_LUTIMES 1" >>confdefs.h 63471.108Schristos 63481.108Schristosfi 63491.108Schristosac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp" 63501.108Schristosif test "x$ac_cv_func_mkstemp" = xyes 63511.108Schristosthen : 63521.108Schristos printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h 63531.108Schristos 63541.108Schristosfi 63551.108Schristosac_fn_c_check_func "$LINENO" "mkstemps" "ac_cv_func_mkstemps" 63561.108Schristosif test "x$ac_cv_func_mkstemps" = xyes 63571.108Schristosthen : 63581.108Schristos printf "%s\n" "#define HAVE_MKSTEMPS 1" >>confdefs.h 63591.108Schristos 63601.108Schristosfi 63611.108Schristosac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp" 63621.108Schristosif test "x$ac_cv_func_mkdtemp" = xyes 63631.108Schristosthen : 63641.108Schristos printf "%s\n" "#define HAVE_MKDTEMP 1" >>confdefs.h 63651.108Schristos 63661.108Schristosfi 63671.108Schristosac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" 63681.108Schristosif test "x$ac_cv_func_poll" = xyes 63691.108Schristosthen : 63701.108Schristos printf "%s\n" "#define HAVE_POLL 1" >>confdefs.h 63711.108Schristos 63721.108Schristosfi 63731.108Schristosac_fn_c_check_func "$LINENO" "posix_spawn" "ac_cv_func_posix_spawn" 63741.108Schristosif test "x$ac_cv_func_posix_spawn" = xyes 63751.108Schristosthen : 63761.108Schristos printf "%s\n" "#define HAVE_POSIX_SPAWN 1" >>confdefs.h 63771.108Schristos 63781.108Schristosfi 63791.108Schristosac_fn_c_check_func "$LINENO" "pread" "ac_cv_func_pread" 63801.108Schristosif test "x$ac_cv_func_pread" = xyes 63811.108Schristosthen : 63821.108Schristos printf "%s\n" "#define HAVE_PREAD 1" >>confdefs.h 63831.108Schristos 63841.108Schristosfi 63851.108Schristosac_fn_c_check_func "$LINENO" "putc_unlocked" "ac_cv_func_putc_unlocked" 63861.108Schristosif test "x$ac_cv_func_putc_unlocked" = xyes 63871.108Schristosthen : 63881.108Schristos printf "%s\n" "#define HAVE_PUTC_UNLOCKED 1" >>confdefs.h 63891.108Schristos 63901.108Schristosfi 63911.108Schristosac_fn_c_check_func "$LINENO" "pwcache_userdb" "ac_cv_func_pwcache_userdb" 63921.108Schristosif test "x$ac_cv_func_pwcache_userdb" = xyes 63931.108Schristosthen : 63941.108Schristos printf "%s\n" "#define HAVE_PWCACHE_USERDB 1" >>confdefs.h 63951.108Schristos 63961.108Schristosfi 63971.108Schristosac_fn_c_check_func "$LINENO" "pwcache_groupdb" "ac_cv_func_pwcache_groupdb" 63981.108Schristosif test "x$ac_cv_func_pwcache_groupdb" = xyes 63991.108Schristosthen : 64001.108Schristos printf "%s\n" "#define HAVE_PWCACHE_GROUPDB 1" >>confdefs.h 64011.108Schristos 64021.108Schristosfi 64031.108Schristosac_fn_c_check_func "$LINENO" "pwrite" "ac_cv_func_pwrite" 64041.108Schristosif test "x$ac_cv_func_pwrite" = xyes 64051.108Schristosthen : 64061.108Schristos printf "%s\n" "#define HAVE_PWRITE 1" >>confdefs.h 64071.108Schristos 64081.108Schristosfi 64091.108Schristosac_fn_c_check_func "$LINENO" "raise_default_signal" "ac_cv_func_raise_default_signal" 64101.108Schristosif test "x$ac_cv_func_raise_default_signal" = xyes 64111.108Schristosthen : 64121.108Schristos printf "%s\n" "#define HAVE_RAISE_DEFAULT_SIGNAL 1" >>confdefs.h 64131.108Schristos 64141.108Schristosfi 64151.108Schristosac_fn_c_check_func "$LINENO" "random" "ac_cv_func_random" 64161.108Schristosif test "x$ac_cv_func_random" = xyes 64171.108Schristosthen : 64181.108Schristos printf "%s\n" "#define HAVE_RANDOM 1" >>confdefs.h 64191.108Schristos 64201.108Schristosfi 64211.108Schristosac_fn_c_check_func "$LINENO" "reallocarr" "ac_cv_func_reallocarr" 64221.108Schristosif test "x$ac_cv_func_reallocarr" = xyes 64231.108Schristosthen : 64241.108Schristos printf "%s\n" "#define HAVE_REALLOCARR 1" >>confdefs.h 64251.108Schristos 64261.108Schristosfi 64271.108Schristosac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray" 64281.108Schristosif test "x$ac_cv_func_reallocarray" = xyes 64291.108Schristosthen : 64301.108Schristos printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h 64311.108Schristos 64321.108Schristosfi 64331.108Schristosac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv" 64341.108Schristosif test "x$ac_cv_func_setenv" = xyes 64351.108Schristosthen : 64361.108Schristos printf "%s\n" "#define HAVE_SETENV 1" >>confdefs.h 64371.108Schristos 64381.108Schristosfi 64391.108Schristosac_fn_c_check_func "$LINENO" "setgroupent" "ac_cv_func_setgroupent" 64401.108Schristosif test "x$ac_cv_func_setgroupent" = xyes 64411.108Schristosthen : 64421.108Schristos printf "%s\n" "#define HAVE_SETGROUPENT 1" >>confdefs.h 64431.108Schristos 64441.108Schristosfi 64451.108Schristosac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname" 64461.108Schristosif test "x$ac_cv_func_setprogname" = xyes 64471.108Schristosthen : 64481.108Schristos printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h 64491.108Schristos 64501.108Schristosfi 64511.108Schristosac_fn_c_check_func "$LINENO" "setpassent" "ac_cv_func_setpassent" 64521.108Schristosif test "x$ac_cv_func_setpassent" = xyes 64531.108Schristosthen : 64541.108Schristos printf "%s\n" "#define HAVE_SETPASSENT 1" >>confdefs.h 64551.108Schristos 64561.108Schristosfi 64571.108Schristosac_fn_c_check_func "$LINENO" "snprintb_m" "ac_cv_func_snprintb_m" 64581.108Schristosif test "x$ac_cv_func_snprintb_m" = xyes 64591.108Schristosthen : 64601.108Schristos printf "%s\n" "#define HAVE_SNPRINTB_M 1" >>confdefs.h 64611.108Schristos 64621.63Sapbfi 64631.108Schristosac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" 64641.108Schristosif test "x$ac_cv_func_snprintf" = xyes 64651.108Schristosthen : 64661.108Schristos printf "%s\n" "#define HAVE_SNPRINTF 1" >>confdefs.h 64671.61Schristos 64681.84Schristosfi 64691.108Schristosac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat" 64701.108Schristosif test "x$ac_cv_func_strlcat" = xyes 64711.108Schristosthen : 64721.108Schristos printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h 64731.108Schristos 64741.108Schristosfi 64751.108Schristosac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy" 64761.108Schristosif test "x$ac_cv_func_strlcpy" = xyes 64771.108Schristosthen : 64781.108Schristos printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h 64791.108Schristos 64801.108Schristosfi 64811.108Schristosac_fn_c_check_func "$LINENO" "strmode" "ac_cv_func_strmode" 64821.108Schristosif test "x$ac_cv_func_strmode" = xyes 64831.108Schristosthen : 64841.108Schristos printf "%s\n" "#define HAVE_STRMODE 1" >>confdefs.h 64851.108Schristos 64861.108Schristosfi 64871.108Schristosac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" 64881.108Schristosif test "x$ac_cv_func_strcasecmp" = xyes 64891.108Schristosthen : 64901.108Schristos printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h 64911.108Schristos 64921.108Schristosfi 64931.108Schristosac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp" 64941.108Schristosif test "x$ac_cv_func_strncasecmp" = xyes 64951.108Schristosthen : 64961.108Schristos printf "%s\n" "#define HAVE_STRNCASECMP 1" >>confdefs.h 64971.108Schristos 64981.108Schristosfi 64991.108Schristosac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr" 65001.108Schristosif test "x$ac_cv_func_strcasestr" = xyes 65011.108Schristosthen : 65021.108Schristos printf "%s\n" "#define HAVE_STRCASESTR 1" >>confdefs.h 65031.108Schristos 65041.108Schristosfi 65051.108Schristosac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup" 65061.108Schristosif test "x$ac_cv_func_strndup" = xyes 65071.108Schristosthen : 65081.108Schristos printf "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h 65091.108Schristos 65101.108Schristosfi 65111.108Schristosac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen" 65121.108Schristosif test "x$ac_cv_func_strnlen" = xyes 65131.108Schristosthen : 65141.108Schristos printf "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h 65151.108Schristos 65161.108Schristosfi 65171.108Schristosac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep" 65181.108Schristosif test "x$ac_cv_func_strsep" = xyes 65191.108Schristosthen : 65201.108Schristos printf "%s\n" "#define HAVE_STRSEP 1" >>confdefs.h 65211.108Schristos 65221.108Schristosfi 65231.108Schristosac_fn_c_check_func "$LINENO" "strsuftoll" "ac_cv_func_strsuftoll" 65241.108Schristosif test "x$ac_cv_func_strsuftoll" = xyes 65251.108Schristosthen : 65261.108Schristos printf "%s\n" "#define HAVE_STRSUFTOLL 1" >>confdefs.h 65271.108Schristos 65281.108Schristosfi 65291.108Schristosac_fn_c_check_func "$LINENO" "strtoi" "ac_cv_func_strtoi" 65301.108Schristosif test "x$ac_cv_func_strtoi" = xyes 65311.108Schristosthen : 65321.108Schristos printf "%s\n" "#define HAVE_STRTOI 1" >>confdefs.h 65331.108Schristos 65341.108Schristosfi 65351.108Schristosac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" 65361.108Schristosif test "x$ac_cv_func_strtoll" = xyes 65371.108Schristosthen : 65381.108Schristos printf "%s\n" "#define HAVE_STRTOLL 1" >>confdefs.h 65391.108Schristos 65401.108Schristosfi 65411.108Schristosac_fn_c_check_func "$LINENO" "strtou" "ac_cv_func_strtou" 65421.108Schristosif test "x$ac_cv_func_strtou" = xyes 65431.108Schristosthen : 65441.108Schristos printf "%s\n" "#define HAVE_STRTOU 1" >>confdefs.h 65451.108Schristos 65461.108Schristosfi 65471.108Schristosac_fn_c_check_func "$LINENO" "strtonum" "ac_cv_func_strtonum" 65481.108Schristosif test "x$ac_cv_func_strtonum" = xyes 65491.108Schristosthen : 65501.108Schristos printf "%s\n" "#define HAVE_STRTONUM 1" >>confdefs.h 65511.108Schristos 65521.108Schristosfi 65531.108Schristosac_fn_c_check_func "$LINENO" "user_from_uid" "ac_cv_func_user_from_uid" 65541.108Schristosif test "x$ac_cv_func_user_from_uid" = xyes 65551.108Schristosthen : 65561.108Schristos printf "%s\n" "#define HAVE_USER_FROM_UID 1" >>confdefs.h 65571.108Schristos 65581.108Schristosfi 65591.108Schristosac_fn_c_check_func "$LINENO" "uid_from_user" "ac_cv_func_uid_from_user" 65601.108Schristosif test "x$ac_cv_func_uid_from_user" = xyes 65611.108Schristosthen : 65621.108Schristos printf "%s\n" "#define HAVE_UID_FROM_USER 1" >>confdefs.h 65631.61Schristos 65641.108Schristosfi 65651.108Schristosac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" 65661.108Schristosif test "x$ac_cv_func_vasprintf" = xyes 65671.108Schristosthen : 65681.108Schristos printf "%s\n" "#define HAVE_VASPRINTF 1" >>confdefs.h 65691.76Spooka 65701.63Sapbfi 65711.108Schristosac_fn_c_check_func "$LINENO" "vasnprintf" "ac_cv_func_vasnprintf" 65721.108Schristosif test "x$ac_cv_func_vasnprintf" = xyes 65731.108Schristosthen : 65741.108Schristos printf "%s\n" "#define HAVE_VASNPRINTF 1" >>confdefs.h 65751.76Spooka 65761.108Schristosfi 65771.108Schristosac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" 65781.108Schristosif test "x$ac_cv_func_vsnprintf" = xyes 65791.108Schristosthen : 65801.108Schristos printf "%s\n" "#define HAVE_VSNPRINTF 1" >>confdefs.h 65811.61Schristos 65821.76Spookafi 65831.84Schristos 65841.45Sjmc 65851.108Schristosac_fn_check_decl "$LINENO" "user_from_uid" "ac_cv_have_decl_user_from_uid" " 65861.84Schristos#include <pwd.h> 65871.45Sjmc 65881.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 65891.108Schristosif test "x$ac_cv_have_decl_user_from_uid" = xyes 65901.108Schristosthen : 65911.84Schristos ac_have_decl=1 65921.108Schristoselse case e in #( 65931.108Schristos e) ac_have_decl=0 ;; 65941.108Schristosesac 65951.76Spookafi 65961.108Schristosprintf "%s\n" "#define HAVE_DECL_USER_FROM_UID $ac_have_decl" >>confdefs.h 65971.108Schristosac_fn_check_decl "$LINENO" "uid_from_user" "ac_cv_have_decl_uid_from_user" " 65981.84Schristos#include <pwd.h> 65991.76Spooka 66001.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 66011.108Schristosif test "x$ac_cv_have_decl_uid_from_user" = xyes 66021.108Schristosthen : 66031.84Schristos ac_have_decl=1 66041.108Schristoselse case e in #( 66051.108Schristos e) ac_have_decl=0 ;; 66061.108Schristosesac 66071.55Swizfi 66081.108Schristosprintf "%s\n" "#define HAVE_DECL_UID_FROM_USER $ac_have_decl" >>confdefs.h 66091.108Schristosac_fn_check_decl "$LINENO" "pwcache_userdb" "ac_cv_have_decl_pwcache_userdb" " 66101.84Schristos#include <pwd.h> 66111.55Swiz 66121.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 66131.108Schristosif test "x$ac_cv_have_decl_pwcache_userdb" = xyes 66141.108Schristosthen : 66151.84Schristos ac_have_decl=1 66161.108Schristoselse case e in #( 66171.108Schristos e) ac_have_decl=0 ;; 66181.108Schristosesac 66191.55Swizfi 66201.108Schristosprintf "%s\n" "#define HAVE_DECL_PWCACHE_USERDB $ac_have_decl" >>confdefs.h 66211.55Swiz 66221.108Schristosac_fn_check_decl "$LINENO" "group_from_gid" "ac_cv_have_decl_group_from_gid" " 66231.84Schristos#include <grp.h> 66241.76Spooka 66251.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 66261.108Schristosif test "x$ac_cv_have_decl_group_from_gid" = xyes 66271.108Schristosthen : 66281.84Schristos ac_have_decl=1 66291.108Schristoselse case e in #( 66301.108Schristos e) ac_have_decl=0 ;; 66311.108Schristosesac 66321.48Sjmcfi 66331.108Schristosprintf "%s\n" "#define HAVE_DECL_GROUP_FROM_GID $ac_have_decl" >>confdefs.h 66341.108Schristosac_fn_check_decl "$LINENO" "gid_from_group" "ac_cv_have_decl_gid_from_group" " 66351.84Schristos#include <grp.h> 66361.53Sdogcow 66371.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 66381.108Schristosif test "x$ac_cv_have_decl_gid_from_group" = xyes 66391.108Schristosthen : 66401.84Schristos ac_have_decl=1 66411.108Schristoselse case e in #( 66421.108Schristos e) ac_have_decl=0 ;; 66431.108Schristosesac 66441.76Spookafi 66451.108Schristosprintf "%s\n" "#define HAVE_DECL_GID_FROM_GROUP $ac_have_decl" >>confdefs.h 66461.108Schristosac_fn_check_decl "$LINENO" "pwcache_groupdb" "ac_cv_have_decl_pwcache_groupdb" " 66471.84Schristos#include <grp.h> 66481.53Sdogcow 66491.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 66501.108Schristosif test "x$ac_cv_have_decl_pwcache_groupdb" = xyes 66511.108Schristosthen : 66521.84Schristos ac_have_decl=1 66531.108Schristoselse case e in #( 66541.108Schristos e) ac_have_decl=0 ;; 66551.108Schristosesac 66561.53Sdogcowfi 66571.108Schristosprintf "%s\n" "#define HAVE_DECL_PWCACHE_GROUPDB $ac_have_decl" >>confdefs.h 66581.61Schristos 66591.108Schristosac_fn_check_decl "$LINENO" "strcasecmp" "ac_cv_have_decl_strcasecmp" " 66601.108Schristos#include <string.h> 66611.53Sdogcow 66621.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 66631.108Schristosif test "x$ac_cv_have_decl_strcasecmp" = xyes 66641.108Schristosthen : 66651.108Schristos ac_have_decl=1 66661.108Schristoselse case e in #( 66671.108Schristos e) ac_have_decl=0 ;; 66681.108Schristosesac 66691.108Schristosfi 66701.108Schristosprintf "%s\n" "#define HAVE_DECL_STRCASECMP $ac_have_decl" >>confdefs.h 66711.108Schristosac_fn_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" " 66721.91Schristos#include <string.h> 66731.91Schristos 66741.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 66751.108Schristosif test "x$ac_cv_have_decl_strncasecmp" = xyes 66761.108Schristosthen : 66771.91Schristos ac_have_decl=1 66781.108Schristoselse case e in #( 66791.108Schristos e) ac_have_decl=0 ;; 66801.108Schristosesac 66811.91Schristosfi 66821.108Schristosprintf "%s\n" "#define HAVE_DECL_STRNCASECMP $ac_have_decl" >>confdefs.h 66831.108Schristosac_fn_check_decl "$LINENO" "strcasestr" "ac_cv_have_decl_strcasestr" " 66841.92Schristos#include <string.h> 66851.92Schristos 66861.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 66871.108Schristosif test "x$ac_cv_have_decl_strcasestr" = xyes 66881.108Schristosthen : 66891.92Schristos ac_have_decl=1 66901.108Schristoselse case e in #( 66911.108Schristos e) ac_have_decl=0 ;; 66921.108Schristosesac 66931.92Schristosfi 66941.108Schristosprintf "%s\n" "#define HAVE_DECL_STRCASESTR $ac_have_decl" >>confdefs.h 66951.108Schristosac_fn_check_decl "$LINENO" "strlcpy" "ac_cv_have_decl_strlcpy" " 66961.85Schristos#include <string.h> 66971.85Schristos 66981.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 66991.108Schristosif test "x$ac_cv_have_decl_strlcpy" = xyes 67001.108Schristosthen : 67011.85Schristos ac_have_decl=1 67021.108Schristoselse case e in #( 67031.108Schristos e) ac_have_decl=0 ;; 67041.108Schristosesac 67051.85Schristosfi 67061.108Schristosprintf "%s\n" "#define HAVE_DECL_STRLCPY $ac_have_decl" >>confdefs.h 67071.108Schristosac_fn_check_decl "$LINENO" "strlcat" "ac_cv_have_decl_strlcat" " 67081.85Schristos#include <string.h> 67091.85Schristos 67101.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 67111.108Schristosif test "x$ac_cv_have_decl_strlcat" = xyes 67121.108Schristosthen : 67131.85Schristos ac_have_decl=1 67141.108Schristoselse case e in #( 67151.108Schristos e) ac_have_decl=0 ;; 67161.108Schristosesac 67171.85Schristosfi 67181.108Schristosprintf "%s\n" "#define HAVE_DECL_STRLCAT $ac_have_decl" >>confdefs.h 67191.108Schristosac_fn_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" " 67201.85Schristos#include <string.h> 67211.85Schristos 67221.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 67231.108Schristosif test "x$ac_cv_have_decl_strndup" = xyes 67241.108Schristosthen : 67251.84Schristos ac_have_decl=1 67261.108Schristoselse case e in #( 67271.108Schristos e) ac_have_decl=0 ;; 67281.108Schristosesac 67291.63Sapbfi 67301.108Schristosprintf "%s\n" "#define HAVE_DECL_STRNDUP $ac_have_decl" >>confdefs.h 67311.108Schristosac_fn_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" " 67321.85Schristos#include <string.h> 67331.85Schristos 67341.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 67351.108Schristosif test "x$ac_cv_have_decl_strnlen" = xyes 67361.108Schristosthen : 67371.84Schristos ac_have_decl=1 67381.108Schristoselse case e in #( 67391.108Schristos e) ac_have_decl=0 ;; 67401.108Schristosesac 67411.74Schristosfi 67421.108Schristosprintf "%s\n" "#define HAVE_DECL_STRNLEN $ac_have_decl" >>confdefs.h 67431.108Schristosac_fn_check_decl "$LINENO" "strsep" "ac_cv_have_decl_strsep" " 67441.86Schristos#include <string.h> 67451.86Schristos 67461.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 67471.108Schristosif test "x$ac_cv_have_decl_strsep" = xyes 67481.108Schristosthen : 67491.86Schristos ac_have_decl=1 67501.108Schristoselse case e in #( 67511.108Schristos e) ac_have_decl=0 ;; 67521.108Schristosesac 67531.86Schristosfi 67541.108Schristosprintf "%s\n" "#define HAVE_DECL_STRSEP $ac_have_decl" >>confdefs.h 67551.86Schristos 67561.108Schristosac_fn_check_decl "$LINENO" "strsuftoll" "ac_cv_have_decl_strsuftoll" "#include <stdlib.h> 67571.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 67581.108Schristosif test "x$ac_cv_have_decl_strsuftoll" = xyes 67591.108Schristosthen : 67601.84Schristos ac_have_decl=1 67611.108Schristoselse case e in #( 67621.108Schristos e) ac_have_decl=0 ;; 67631.108Schristosesac 67641.84Schristosfi 67651.108Schristosprintf "%s\n" "#define HAVE_DECL_STRSUFTOLL $ac_have_decl" >>confdefs.h 67661.108Schristosac_fn_check_decl "$LINENO" "mi_vector_hash" "ac_cv_have_decl_mi_vector_hash" "#include <stdlib.h> 67671.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 67681.108Schristosif test "x$ac_cv_have_decl_mi_vector_hash" = xyes 67691.108Schristosthen : 67701.85Schristos ac_have_decl=1 67711.108Schristoselse case e in #( 67721.108Schristos e) ac_have_decl=0 ;; 67731.108Schristosesac 67741.85Schristosfi 67751.108Schristosprintf "%s\n" "#define HAVE_DECL_MI_VECTOR_HASH $ac_have_decl" >>confdefs.h 67761.85Schristos 67771.108Schristosac_fn_check_decl "$LINENO" "lchflags" "ac_cv_have_decl_lchflags" " 67781.84Schristos#include <sys/stat.h> 67791.84Schristos#include <unistd.h> 67801.61Schristos 67811.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 67821.108Schristosif test "x$ac_cv_have_decl_lchflags" = xyes 67831.108Schristosthen : 67841.84Schristos ac_have_decl=1 67851.108Schristoselse case e in #( 67861.108Schristos e) ac_have_decl=0 ;; 67871.108Schristosesac 67881.76Spookafi 67891.108Schristosprintf "%s\n" "#define HAVE_DECL_LCHFLAGS $ac_have_decl" >>confdefs.h 67901.108Schristosac_fn_check_decl "$LINENO" "lchmod" "ac_cv_have_decl_lchmod" " 67911.84Schristos#include <sys/stat.h> 67921.84Schristos#include <unistd.h> 67931.53Sdogcow 67941.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 67951.108Schristosif test "x$ac_cv_have_decl_lchmod" = xyes 67961.108Schristosthen : 67971.84Schristos ac_have_decl=1 67981.108Schristoselse case e in #( 67991.108Schristos e) ac_have_decl=0 ;; 68001.108Schristosesac 68011.53Sdogcowfi 68021.108Schristosprintf "%s\n" "#define HAVE_DECL_LCHMOD $ac_have_decl" >>confdefs.h 68031.108Schristosac_fn_check_decl "$LINENO" "lchown" "ac_cv_have_decl_lchown" " 68041.84Schristos#include <sys/stat.h> 68051.84Schristos#include <unistd.h> 68061.61Schristos 68071.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 68081.108Schristosif test "x$ac_cv_have_decl_lchown" = xyes 68091.108Schristosthen : 68101.84Schristos ac_have_decl=1 68111.108Schristoselse case e in #( 68121.108Schristos e) ac_have_decl=0 ;; 68131.108Schristosesac 68141.76Spookafi 68151.108Schristosprintf "%s\n" "#define HAVE_DECL_LCHOWN $ac_have_decl" >>confdefs.h 68161.84Schristos 68171.84Schristos 68181.108Schristosac_fn_check_decl "$LINENO" "err" "ac_cv_have_decl_err" " 68191.85Schristos#ifdef HAVE_ERR_H 68201.85Schristos#include <err.h> 68211.85Schristos#endif 68221.85Schristos 68231.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 68241.108Schristosif test "x$ac_cv_have_decl_err" = xyes 68251.108Schristosthen : 68261.85Schristos ac_have_decl=1 68271.108Schristoselse case e in #( 68281.108Schristos e) ac_have_decl=0 ;; 68291.108Schristosesac 68301.85Schristosfi 68311.108Schristosprintf "%s\n" "#define HAVE_DECL_ERR $ac_have_decl" >>confdefs.h 68321.108Schristosac_fn_check_decl "$LINENO" "errc" "ac_cv_have_decl_errc" " 68331.84Schristos#ifdef HAVE_ERR_H 68341.84Schristos#include <err.h> 68351.84Schristos#endif 68361.61Schristos 68371.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 68381.108Schristosif test "x$ac_cv_have_decl_errc" = xyes 68391.108Schristosthen : 68401.84Schristos ac_have_decl=1 68411.108Schristoselse case e in #( 68421.108Schristos e) ac_have_decl=0 ;; 68431.108Schristosesac 68441.76Spookafi 68451.108Schristosprintf "%s\n" "#define HAVE_DECL_ERRC $ac_have_decl" >>confdefs.h 68461.108Schristosac_fn_check_decl "$LINENO" "errx" "ac_cv_have_decl_errx" " 68471.85Schristos#ifdef HAVE_ERR_H 68481.85Schristos#include <err.h> 68491.85Schristos#endif 68501.85Schristos 68511.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 68521.108Schristosif test "x$ac_cv_have_decl_errx" = xyes 68531.108Schristosthen : 68541.85Schristos ac_have_decl=1 68551.108Schristoselse case e in #( 68561.108Schristos e) ac_have_decl=0 ;; 68571.108Schristosesac 68581.85Schristosfi 68591.108Schristosprintf "%s\n" "#define HAVE_DECL_ERRX $ac_have_decl" >>confdefs.h 68601.108Schristosac_fn_check_decl "$LINENO" "verrc" "ac_cv_have_decl_verrc" " 68611.84Schristos#ifdef HAVE_ERR_H 68621.84Schristos#include <err.h> 68631.76Spooka#endif 68641.53Sdogcow 68651.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 68661.108Schristosif test "x$ac_cv_have_decl_verrc" = xyes 68671.108Schristosthen : 68681.84Schristos ac_have_decl=1 68691.108Schristoselse case e in #( 68701.108Schristos e) ac_have_decl=0 ;; 68711.108Schristosesac 68721.53Sdogcowfi 68731.108Schristosprintf "%s\n" "#define HAVE_DECL_VERRC $ac_have_decl" >>confdefs.h 68741.108Schristosac_fn_check_decl "$LINENO" "verrx" "ac_cv_have_decl_verrx" " 68751.85Schristos#ifdef HAVE_ERR_H 68761.85Schristos#include <err.h> 68771.85Schristos#endif 68781.85Schristos 68791.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 68801.108Schristosif test "x$ac_cv_have_decl_verrx" = xyes 68811.108Schristosthen : 68821.85Schristos ac_have_decl=1 68831.108Schristoselse case e in #( 68841.108Schristos e) ac_have_decl=0 ;; 68851.108Schristosesac 68861.85Schristosfi 68871.108Schristosprintf "%s\n" "#define HAVE_DECL_VERRX $ac_have_decl" >>confdefs.h 68881.108Schristosac_fn_check_decl "$LINENO" "warn" "ac_cv_have_decl_warn" " 68891.85Schristos#ifdef HAVE_ERR_H 68901.85Schristos#include <err.h> 68911.85Schristos#endif 68921.85Schristos 68931.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 68941.108Schristosif test "x$ac_cv_have_decl_warn" = xyes 68951.108Schristosthen : 68961.85Schristos ac_have_decl=1 68971.108Schristoselse case e in #( 68981.108Schristos e) ac_have_decl=0 ;; 68991.108Schristosesac 69001.85Schristosfi 69011.108Schristosprintf "%s\n" "#define HAVE_DECL_WARN $ac_have_decl" >>confdefs.h 69021.108Schristosac_fn_check_decl "$LINENO" "warnc" "ac_cv_have_decl_warnc" " 69031.84Schristos#ifdef HAVE_ERR_H 69041.84Schristos#include <err.h> 69051.84Schristos#endif 69061.53Sdogcow 69071.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 69081.108Schristosif test "x$ac_cv_have_decl_warnc" = xyes 69091.108Schristosthen : 69101.84Schristos ac_have_decl=1 69111.108Schristoselse case e in #( 69121.108Schristos e) ac_have_decl=0 ;; 69131.108Schristosesac 69141.53Sdogcowfi 69151.108Schristosprintf "%s\n" "#define HAVE_DECL_WARNC $ac_have_decl" >>confdefs.h 69161.108Schristosac_fn_check_decl "$LINENO" "warnx" "ac_cv_have_decl_warnx" " 69171.85Schristos#ifdef HAVE_ERR_H 69181.85Schristos#include <err.h> 69191.85Schristos#endif 69201.85Schristos 69211.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 69221.108Schristosif test "x$ac_cv_have_decl_warnx" = xyes 69231.108Schristosthen : 69241.85Schristos ac_have_decl=1 69251.108Schristoselse case e in #( 69261.108Schristos e) ac_have_decl=0 ;; 69271.108Schristosesac 69281.85Schristosfi 69291.108Schristosprintf "%s\n" "#define HAVE_DECL_WARNX $ac_have_decl" >>confdefs.h 69301.108Schristosac_fn_check_decl "$LINENO" "vwarnc" "ac_cv_have_decl_vwarnc" " 69311.84Schristos#ifdef HAVE_ERR_H 69321.84Schristos#include <err.h> 69331.76Spooka#endif 69341.53Sdogcow 69351.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 69361.108Schristosif test "x$ac_cv_have_decl_vwarnc" = xyes 69371.108Schristosthen : 69381.84Schristos ac_have_decl=1 69391.108Schristoselse case e in #( 69401.108Schristos e) ac_have_decl=0 ;; 69411.108Schristosesac 69421.76Spookafi 69431.108Schristosprintf "%s\n" "#define HAVE_DECL_VWARNC $ac_have_decl" >>confdefs.h 69441.108Schristosac_fn_check_decl "$LINENO" "vwarnx" "ac_cv_have_decl_vwarnx" " 69451.85Schristos#ifdef HAVE_ERR_H 69461.85Schristos#include <err.h> 69471.85Schristos#endif 69481.85Schristos 69491.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 69501.108Schristosif test "x$ac_cv_have_decl_vwarnx" = xyes 69511.108Schristosthen : 69521.85Schristos ac_have_decl=1 69531.108Schristoselse case e in #( 69541.108Schristos e) ac_have_decl=0 ;; 69551.108Schristosesac 69561.85Schristosfi 69571.108Schristosprintf "%s\n" "#define HAVE_DECL_VWARNX $ac_have_decl" >>confdefs.h 69581.84Schristos 69591.53Sdogcow 69601.108Schristosac_fn_check_decl "$LINENO" "htobe16" "ac_cv_have_decl_htobe16" "#include <sys/types.h> 69611.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 69621.108Schristosif test "x$ac_cv_have_decl_htobe16" = xyes 69631.108Schristosthen : 69641.84Schristos ac_have_decl=1 69651.108Schristoselse case e in #( 69661.108Schristos e) ac_have_decl=0 ;; 69671.108Schristosesac 69681.84Schristosfi 69691.108Schristosprintf "%s\n" "#define HAVE_DECL_HTOBE16 $ac_have_decl" >>confdefs.h 69701.108Schristosac_fn_check_decl "$LINENO" "htobe32" "ac_cv_have_decl_htobe32" "#include <sys/types.h> 69711.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 69721.108Schristosif test "x$ac_cv_have_decl_htobe32" = xyes 69731.108Schristosthen : 69741.84Schristos ac_have_decl=1 69751.108Schristoselse case e in #( 69761.108Schristos e) ac_have_decl=0 ;; 69771.108Schristosesac 69781.74Schristosfi 69791.108Schristosprintf "%s\n" "#define HAVE_DECL_HTOBE32 $ac_have_decl" >>confdefs.h 69801.108Schristosac_fn_check_decl "$LINENO" "htobe64" "ac_cv_have_decl_htobe64" "#include <sys/types.h> 69811.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 69821.108Schristosif test "x$ac_cv_have_decl_htobe64" = xyes 69831.108Schristosthen : 69841.84Schristos ac_have_decl=1 69851.108Schristoselse case e in #( 69861.108Schristos e) ac_have_decl=0 ;; 69871.108Schristosesac 69881.84Schristosfi 69891.108Schristosprintf "%s\n" "#define HAVE_DECL_HTOBE64 $ac_have_decl" >>confdefs.h 69901.108Schristosac_fn_check_decl "$LINENO" "htole16" "ac_cv_have_decl_htole16" "#include <sys/types.h> 69911.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 69921.108Schristosif test "x$ac_cv_have_decl_htole16" = xyes 69931.108Schristosthen : 69941.84Schristos ac_have_decl=1 69951.108Schristoselse case e in #( 69961.108Schristos e) ac_have_decl=0 ;; 69971.108Schristosesac 69981.84Schristosfi 69991.108Schristosprintf "%s\n" "#define HAVE_DECL_HTOLE16 $ac_have_decl" >>confdefs.h 70001.108Schristosac_fn_check_decl "$LINENO" "htole32" "ac_cv_have_decl_htole32" "#include <sys/types.h> 70011.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 70021.108Schristosif test "x$ac_cv_have_decl_htole32" = xyes 70031.108Schristosthen : 70041.84Schristos ac_have_decl=1 70051.108Schristoselse case e in #( 70061.108Schristos e) ac_have_decl=0 ;; 70071.108Schristosesac 70081.76Spookafi 70091.108Schristosprintf "%s\n" "#define HAVE_DECL_HTOLE32 $ac_have_decl" >>confdefs.h 70101.108Schristosac_fn_check_decl "$LINENO" "htole64" "ac_cv_have_decl_htole64" "#include <sys/types.h> 70111.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 70121.108Schristosif test "x$ac_cv_have_decl_htole64" = xyes 70131.108Schristosthen : 70141.84Schristos ac_have_decl=1 70151.108Schristoselse case e in #( 70161.108Schristos e) ac_have_decl=0 ;; 70171.108Schristosesac 70181.53Sdogcowfi 70191.108Schristosprintf "%s\n" "#define HAVE_DECL_HTOLE64 $ac_have_decl" >>confdefs.h 70201.108Schristosac_fn_check_decl "$LINENO" "be16toh" "ac_cv_have_decl_be16toh" "#include <sys/types.h> 70211.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 70221.108Schristosif test "x$ac_cv_have_decl_be16toh" = xyes 70231.108Schristosthen : 70241.84Schristos ac_have_decl=1 70251.108Schristoselse case e in #( 70261.108Schristos e) ac_have_decl=0 ;; 70271.108Schristosesac 70281.84Schristosfi 70291.108Schristosprintf "%s\n" "#define HAVE_DECL_BE16TOH $ac_have_decl" >>confdefs.h 70301.108Schristosac_fn_check_decl "$LINENO" "be32toh" "ac_cv_have_decl_be32toh" "#include <sys/types.h> 70311.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 70321.108Schristosif test "x$ac_cv_have_decl_be32toh" = xyes 70331.108Schristosthen : 70341.84Schristos ac_have_decl=1 70351.108Schristoselse case e in #( 70361.108Schristos e) ac_have_decl=0 ;; 70371.108Schristosesac 70381.84Schristosfi 70391.108Schristosprintf "%s\n" "#define HAVE_DECL_BE32TOH $ac_have_decl" >>confdefs.h 70401.108Schristosac_fn_check_decl "$LINENO" "be64toh" "ac_cv_have_decl_be64toh" "#include <sys/types.h> 70411.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 70421.108Schristosif test "x$ac_cv_have_decl_be64toh" = xyes 70431.108Schristosthen : 70441.84Schristos ac_have_decl=1 70451.108Schristoselse case e in #( 70461.108Schristos e) ac_have_decl=0 ;; 70471.108Schristosesac 70481.53Sdogcowfi 70491.108Schristosprintf "%s\n" "#define HAVE_DECL_BE64TOH $ac_have_decl" >>confdefs.h 70501.108Schristosac_fn_check_decl "$LINENO" "le16toh" "ac_cv_have_decl_le16toh" "#include <sys/types.h> 70511.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 70521.108Schristosif test "x$ac_cv_have_decl_le16toh" = xyes 70531.108Schristosthen : 70541.84Schristos ac_have_decl=1 70551.108Schristoselse case e in #( 70561.108Schristos e) ac_have_decl=0 ;; 70571.108Schristosesac 70581.84Schristosfi 70591.108Schristosprintf "%s\n" "#define HAVE_DECL_LE16TOH $ac_have_decl" >>confdefs.h 70601.108Schristosac_fn_check_decl "$LINENO" "le32toh" "ac_cv_have_decl_le32toh" "#include <sys/types.h> 70611.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 70621.108Schristosif test "x$ac_cv_have_decl_le32toh" = xyes 70631.108Schristosthen : 70641.84Schristos ac_have_decl=1 70651.108Schristoselse case e in #( 70661.108Schristos e) ac_have_decl=0 ;; 70671.108Schristosesac 70681.84Schristosfi 70691.108Schristosprintf "%s\n" "#define HAVE_DECL_LE32TOH $ac_have_decl" >>confdefs.h 70701.108Schristosac_fn_check_decl "$LINENO" "le64toh" "ac_cv_have_decl_le64toh" "#include <sys/types.h> 70711.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 70721.108Schristosif test "x$ac_cv_have_decl_le64toh" = xyes 70731.108Schristosthen : 70741.84Schristos ac_have_decl=1 70751.108Schristoselse case e in #( 70761.108Schristos e) ac_have_decl=0 ;; 70771.108Schristosesac 70781.53Sdogcowfi 70791.108Schristosprintf "%s\n" "#define HAVE_DECL_LE64TOH $ac_have_decl" >>confdefs.h 70801.84Schristos 70811.53Sdogcow 70821.108Schristosac_fn_check_decl "$LINENO" "bswap16" "ac_cv_have_decl_bswap16" "#include <machine/bswap.h> 70831.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 70841.108Schristosif test "x$ac_cv_have_decl_bswap16" = xyes 70851.108Schristosthen : 70861.84Schristos ac_have_decl=1 70871.108Schristoselse case e in #( 70881.108Schristos e) ac_have_decl=0 ;; 70891.108Schristosesac 70901.84Schristosfi 70911.108Schristosprintf "%s\n" "#define HAVE_DECL_BSWAP16 $ac_have_decl" >>confdefs.h 70921.108Schristosac_fn_check_decl "$LINENO" "bswap32" "ac_cv_have_decl_bswap32" "#include <machine/bswap.h> 70931.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 70941.108Schristosif test "x$ac_cv_have_decl_bswap32" = xyes 70951.108Schristosthen : 70961.84Schristos ac_have_decl=1 70971.108Schristoselse case e in #( 70981.108Schristos e) ac_have_decl=0 ;; 70991.108Schristosesac 71001.74Schristosfi 71011.108Schristosprintf "%s\n" "#define HAVE_DECL_BSWAP32 $ac_have_decl" >>confdefs.h 71021.108Schristosac_fn_check_decl "$LINENO" "bswap64" "ac_cv_have_decl_bswap64" "#include <machine/bswap.h> 71031.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 71041.108Schristosif test "x$ac_cv_have_decl_bswap64" = xyes 71051.108Schristosthen : 71061.84Schristos ac_have_decl=1 71071.108Schristoselse case e in #( 71081.108Schristos e) ac_have_decl=0 ;; 71091.108Schristosesac 71101.74Schristosfi 71111.108Schristosprintf "%s\n" "#define HAVE_DECL_BSWAP64 $ac_have_decl" >>confdefs.h 71121.84Schristos 71131.61Schristos 71141.108Schristosac_fn_check_decl "$LINENO" "be16enc" "ac_cv_have_decl_be16enc" "#include <sys/endian.h> 71151.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 71161.108Schristosif test "x$ac_cv_have_decl_be16enc" = xyes 71171.108Schristosthen : 71181.84Schristos ac_have_decl=1 71191.108Schristoselse case e in #( 71201.108Schristos e) ac_have_decl=0 ;; 71211.108Schristosesac 71221.84Schristosfi 71231.108Schristosprintf "%s\n" "#define HAVE_DECL_BE16ENC $ac_have_decl" >>confdefs.h 71241.108Schristosac_fn_check_decl "$LINENO" "le16enc" "ac_cv_have_decl_le16enc" "#include <sys/endian.h> 71251.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 71261.108Schristosif test "x$ac_cv_have_decl_le16enc" = xyes 71271.108Schristosthen : 71281.84Schristos ac_have_decl=1 71291.108Schristoselse case e in #( 71301.108Schristos e) ac_have_decl=0 ;; 71311.108Schristosesac 71321.74Schristosfi 71331.108Schristosprintf "%s\n" "#define HAVE_DECL_LE16ENC $ac_have_decl" >>confdefs.h 71341.108Schristosac_fn_check_decl "$LINENO" "be16dec" "ac_cv_have_decl_be16dec" "#include <sys/endian.h> 71351.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 71361.108Schristosif test "x$ac_cv_have_decl_be16dec" = xyes 71371.108Schristosthen : 71381.84Schristos ac_have_decl=1 71391.108Schristoselse case e in #( 71401.108Schristos e) ac_have_decl=0 ;; 71411.108Schristosesac 71421.84Schristosfi 71431.108Schristosprintf "%s\n" "#define HAVE_DECL_BE16DEC $ac_have_decl" >>confdefs.h 71441.108Schristosac_fn_check_decl "$LINENO" "le16dec" "ac_cv_have_decl_le16dec" "#include <sys/endian.h> 71451.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 71461.108Schristosif test "x$ac_cv_have_decl_le16dec" = xyes 71471.108Schristosthen : 71481.84Schristos ac_have_decl=1 71491.108Schristoselse case e in #( 71501.108Schristos e) ac_have_decl=0 ;; 71511.108Schristosesac 71521.84Schristosfi 71531.108Schristosprintf "%s\n" "#define HAVE_DECL_LE16DEC $ac_have_decl" >>confdefs.h 71541.108Schristosac_fn_check_decl "$LINENO" "be32enc" "ac_cv_have_decl_be32enc" "#include <sys/endian.h> 71551.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 71561.108Schristosif test "x$ac_cv_have_decl_be32enc" = xyes 71571.108Schristosthen : 71581.84Schristos ac_have_decl=1 71591.108Schristoselse case e in #( 71601.108Schristos e) ac_have_decl=0 ;; 71611.108Schristosesac 71621.74Schristosfi 71631.108Schristosprintf "%s\n" "#define HAVE_DECL_BE32ENC $ac_have_decl" >>confdefs.h 71641.108Schristosac_fn_check_decl "$LINENO" "le32enc" "ac_cv_have_decl_le32enc" "#include <sys/endian.h> 71651.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 71661.108Schristosif test "x$ac_cv_have_decl_le32enc" = xyes 71671.108Schristosthen : 71681.84Schristos ac_have_decl=1 71691.108Schristoselse case e in #( 71701.108Schristos e) ac_have_decl=0 ;; 71711.108Schristosesac 71721.54Swizfi 71731.108Schristosprintf "%s\n" "#define HAVE_DECL_LE32ENC $ac_have_decl" >>confdefs.h 71741.108Schristosac_fn_check_decl "$LINENO" "be32dec" "ac_cv_have_decl_be32dec" "#include <sys/endian.h> 71751.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 71761.108Schristosif test "x$ac_cv_have_decl_be32dec" = xyes 71771.108Schristosthen : 71781.84Schristos ac_have_decl=1 71791.108Schristoselse case e in #( 71801.108Schristos e) ac_have_decl=0 ;; 71811.108Schristosesac 71821.84Schristosfi 71831.108Schristosprintf "%s\n" "#define HAVE_DECL_BE32DEC $ac_have_decl" >>confdefs.h 71841.108Schristosac_fn_check_decl "$LINENO" "le32dec" "ac_cv_have_decl_le32dec" "#include <sys/endian.h> 71851.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 71861.108Schristosif test "x$ac_cv_have_decl_le32dec" = xyes 71871.108Schristosthen : 71881.84Schristos ac_have_decl=1 71891.108Schristoselse case e in #( 71901.108Schristos e) ac_have_decl=0 ;; 71911.108Schristosesac 71921.76Spookafi 71931.108Schristosprintf "%s\n" "#define HAVE_DECL_LE32DEC $ac_have_decl" >>confdefs.h 71941.108Schristosac_fn_check_decl "$LINENO" "be64enc" "ac_cv_have_decl_be64enc" "#include <sys/endian.h> 71951.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 71961.108Schristosif test "x$ac_cv_have_decl_be64enc" = xyes 71971.108Schristosthen : 71981.84Schristos ac_have_decl=1 71991.108Schristoselse case e in #( 72001.108Schristos e) ac_have_decl=0 ;; 72011.108Schristosesac 72021.54Swizfi 72031.108Schristosprintf "%s\n" "#define HAVE_DECL_BE64ENC $ac_have_decl" >>confdefs.h 72041.108Schristosac_fn_check_decl "$LINENO" "le64enc" "ac_cv_have_decl_le64enc" "#include <sys/endian.h> 72051.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 72061.108Schristosif test "x$ac_cv_have_decl_le64enc" = xyes 72071.108Schristosthen : 72081.84Schristos ac_have_decl=1 72091.108Schristoselse case e in #( 72101.108Schristos e) ac_have_decl=0 ;; 72111.108Schristosesac 72121.74Schristosfi 72131.108Schristosprintf "%s\n" "#define HAVE_DECL_LE64ENC $ac_have_decl" >>confdefs.h 72141.108Schristosac_fn_check_decl "$LINENO" "be64dec" "ac_cv_have_decl_be64dec" "#include <sys/endian.h> 72151.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 72161.108Schristosif test "x$ac_cv_have_decl_be64dec" = xyes 72171.108Schristosthen : 72181.84Schristos ac_have_decl=1 72191.108Schristoselse case e in #( 72201.108Schristos e) ac_have_decl=0 ;; 72211.108Schristosesac 72221.84Schristosfi 72231.108Schristosprintf "%s\n" "#define HAVE_DECL_BE64DEC $ac_have_decl" >>confdefs.h 72241.108Schristosac_fn_check_decl "$LINENO" "le64dec" "ac_cv_have_decl_le64dec" "#include <sys/endian.h> 72251.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 72261.108Schristosif test "x$ac_cv_have_decl_le64dec" = xyes 72271.108Schristosthen : 72281.84Schristos ac_have_decl=1 72291.108Schristoselse case e in #( 72301.108Schristos e) ac_have_decl=0 ;; 72311.108Schristosesac 72321.74Schristosfi 72331.108Schristosprintf "%s\n" "#define HAVE_DECL_LE64DEC $ac_have_decl" >>confdefs.h 72341.84Schristos 72351.74Schristos 72361.108Schristosac_fn_check_decl "$LINENO" "fstatvfs" "ac_cv_have_decl_fstatvfs" "#include <sys/statvfs.h> 72371.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 72381.108Schristosif test "x$ac_cv_have_decl_fstatvfs" = xyes 72391.108Schristosthen : 72401.84Schristos ac_have_decl=1 72411.108Schristoselse case e in #( 72421.108Schristos e) ac_have_decl=0 ;; 72431.108Schristosesac 72441.84Schristosfi 72451.108Schristosprintf "%s\n" "#define HAVE_DECL_FSTATVFS $ac_have_decl" >>confdefs.h 72461.54Swiz 72471.54Swiz 72481.108Schristosac_fn_check_decl "$LINENO" "setgroupent" "ac_cv_have_decl_setgroupent" " 72491.76Spooka#include <sys/types.h> 72501.76Spooka#include <grp.h> 72511.76Spooka#include <pwd.h> 72521.45Sjmc 72531.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 72541.108Schristosif test "x$ac_cv_have_decl_setgroupent" = xyes 72551.108Schristosthen : 72561.84Schristos ac_have_decl=1 72571.108Schristoselse case e in #( 72581.108Schristos e) ac_have_decl=0 ;; 72591.108Schristosesac 72601.1Stvfi 72611.108Schristosprintf "%s\n" "#define HAVE_DECL_SETGROUPENT $ac_have_decl" >>confdefs.h 72621.108Schristosac_fn_check_decl "$LINENO" "setpassent" "ac_cv_have_decl_setpassent" " 72631.33Sthorpej#include <sys/types.h> 72641.8Stv#include <grp.h> 72651.8Stv#include <pwd.h> 72661.8Stv 72671.108Schristos" "$ac_c_undeclared_builtin_options" "CFLAGS" 72681.108Schristosif test "x$ac_cv_have_decl_setpassent" = xyes 72691.108Schristosthen : 72701.84Schristos ac_have_decl=1 72711.108Schristoselse case e in #( 72721.108Schristos e) ac_have_decl=0 ;; 72731.108Schristosesac 72741.8Stvfi 72751.108Schristosprintf "%s\n" "#define HAVE_DECL_SETPASSENT $ac_have_decl" >>confdefs.h 72761.76Spooka 72771.8Stv 72781.4Stv# regcomp() and regexec() are also names of functions in the old V8 72791.4Stv# regexp package. To avoid them, we need to find out who has regfree(). 72801.4Stv 72811.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for regfree in -lregex" >&5 72821.108Schristosprintf %s "checking for regfree in -lregex... " >&6; } 72831.108Schristosif test ${ac_cv_lib_regex_regfree+y} 72841.108Schristosthen : 72851.108Schristos printf %s "(cached) " >&6 72861.108Schristoselse case e in #( 72871.108Schristos e) ac_check_lib_save_LIBS=$LIBS 72881.4StvLIBS="-lregex $LIBS" 72891.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 72901.84Schristos/* end confdefs.h. */ 72911.4Stv 72921.84Schristos/* Override any GCC internal prototype to avoid an error. 72931.84Schristos Use char because int might match the return type of a GCC 72941.108Schristos builtin and then its argument prototype would still apply. 72951.108Schristos The 'extern "C"' is for builds by C++ compilers; 72961.108Schristos although this is not generally supported in C code supporting it here 72971.108Schristos has little cost and some practical benefit (sr 110532). */ 72981.4Stv#ifdef __cplusplus 72991.4Stvextern "C" 73001.4Stv#endif 73011.108Schristoschar regfree (void); 73021.4Stvint 73031.108Schristosmain (void) 73041.4Stv{ 73051.84Schristosreturn regfree (); 73061.4Stv ; 73071.4Stv return 0; 73081.4Stv} 73091.4Stv_ACEOF 73101.108Schristosif ac_fn_c_try_link "$LINENO" 73111.108Schristosthen : 73121.4Stv ac_cv_lib_regex_regfree=yes 73131.108Schristoselse case e in #( 73141.108Schristos e) ac_cv_lib_regex_regfree=no ;; 73151.108Schristosesac 73161.4Stvfi 73171.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam \ 73181.84Schristos conftest$ac_exeext conftest.$ac_ext 73191.108SchristosLIBS=$ac_check_lib_save_LIBS ;; 73201.108Schristosesac 73211.4Stvfi 73221.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regfree" >&5 73231.108Schristosprintf "%s\n" "$ac_cv_lib_regex_regfree" >&6; } 73241.108Schristosif test "x$ac_cv_lib_regex_regfree" = xyes 73251.108Schristosthen : 73261.108Schristos printf "%s\n" "#define HAVE_LIBREGEX 1" >>confdefs.h 73271.4Stv 73281.4Stv LIBS="-lregex $LIBS" 73291.4Stv 73301.4Stvfi 73311.4Stv 73321.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing regfree" >&5 73331.108Schristosprintf %s "checking for library containing regfree... " >&6; } 73341.108Schristosif test ${ac_cv_search_regfree+y} 73351.108Schristosthen : 73361.108Schristos printf %s "(cached) " >&6 73371.108Schristoselse case e in #( 73381.108Schristos e) ac_func_search_save_LIBS=$LIBS 73391.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 73401.84Schristos/* end confdefs.h. */ 73411.1Stv 73421.84Schristos/* Override any GCC internal prototype to avoid an error. 73431.84Schristos Use char because int might match the return type of a GCC 73441.108Schristos builtin and then its argument prototype would still apply. 73451.108Schristos The 'extern "C"' is for builds by C++ compilers; 73461.108Schristos although this is not generally supported in C code supporting it here 73471.108Schristos has little cost and some practical benefit (sr 110532). */ 73481.1Stv#ifdef __cplusplus 73491.1Stvextern "C" 73501.1Stv#endif 73511.108Schristoschar regfree (void); 73521.1Stvint 73531.108Schristosmain (void) 73541.1Stv{ 73551.84Schristosreturn regfree (); 73561.1Stv ; 73571.1Stv return 0; 73581.1Stv} 73591.1Stv_ACEOF 73601.108Schristosfor ac_lib in '' rx posix 73611.108Schristosdo 73621.84Schristos if test -z "$ac_lib"; then 73631.84Schristos ac_res="none required" 73641.84Schristos else 73651.84Schristos ac_res=-l$ac_lib 73661.66Stsutsui LIBS="-l$ac_lib $ac_func_search_save_LIBS" 73671.84Schristos fi 73681.108Schristos if ac_fn_c_try_link "$LINENO" 73691.108Schristosthen : 73701.84Schristos ac_cv_search_regfree=$ac_res 73711.84Schristosfi 73721.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam \ 73731.84Schristos conftest$ac_exeext 73741.108Schristos if test ${ac_cv_search_regfree+y} 73751.108Schristosthen : 73761.84Schristos break 73771.84Schristosfi 73781.84Schristosdone 73791.108Schristosif test ${ac_cv_search_regfree+y} 73801.108Schristosthen : 73811.1Stv 73821.108Schristoselse case e in #( 73831.108Schristos e) ac_cv_search_regfree=no ;; 73841.108Schristosesac 73851.1Stvfi 73861.84Schristosrm conftest.$ac_ext 73871.108SchristosLIBS=$ac_func_search_save_LIBS ;; 73881.108Schristosesac 73891.1Stvfi 73901.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regfree" >&5 73911.108Schristosprintf "%s\n" "$ac_cv_search_regfree" >&6; } 73921.84Schristosac_res=$ac_cv_search_regfree 73931.108Schristosif test "$ac_res" != no 73941.108Schristosthen : 73951.84Schristos test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 73961.1Stv 73971.1Stvfi 73981.1Stv 73991.84Schristos 74001.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 74011.108Schristosprintf %s "checking for clock_gettime in -lrt... " >&6; } 74021.108Schristosif test ${ac_cv_lib_rt_clock_gettime+y} 74031.108Schristosthen : 74041.108Schristos printf %s "(cached) " >&6 74051.108Schristoselse case e in #( 74061.108Schristos e) ac_check_lib_save_LIBS=$LIBS 74071.78SjmcneillLIBS="-lrt $LIBS" 74081.84Schristoscat confdefs.h - <<_ACEOF >conftest.$ac_ext 74091.84Schristos/* end confdefs.h. */ 74101.78Sjmcneill 74111.84Schristos/* Override any GCC internal prototype to avoid an error. 74121.84Schristos Use char because int might match the return type of a GCC 74131.108Schristos builtin and then its argument prototype would still apply. 74141.108Schristos The 'extern "C"' is for builds by C++ compilers; 74151.108Schristos although this is not generally supported in C code supporting it here 74161.108Schristos has little cost and some practical benefit (sr 110532). */ 74171.78Sjmcneill#ifdef __cplusplus 74181.78Sjmcneillextern "C" 74191.78Sjmcneill#endif 74201.108Schristoschar clock_gettime (void); 74211.78Sjmcneillint 74221.108Schristosmain (void) 74231.78Sjmcneill{ 74241.84Schristosreturn clock_gettime (); 74251.78Sjmcneill ; 74261.78Sjmcneill return 0; 74271.78Sjmcneill} 74281.78Sjmcneill_ACEOF 74291.108Schristosif ac_fn_c_try_link "$LINENO" 74301.108Schristosthen : 74311.78Sjmcneill ac_cv_lib_rt_clock_gettime=yes 74321.108Schristoselse case e in #( 74331.108Schristos e) ac_cv_lib_rt_clock_gettime=no ;; 74341.108Schristosesac 74351.78Sjmcneillfi 74361.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam \ 74371.84Schristos conftest$ac_exeext conftest.$ac_ext 74381.108SchristosLIBS=$ac_check_lib_save_LIBS ;; 74391.108Schristosesac 74401.78Sjmcneillfi 74411.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 74421.108Schristosprintf "%s\n" "$ac_cv_lib_rt_clock_gettime" >&6; } 74431.108Schristosif test "x$ac_cv_lib_rt_clock_gettime" = xyes 74441.108Schristosthen : 74451.108Schristos printf "%s\n" "#define HAVE_LIBRT 1" >>confdefs.h 74461.78Sjmcneill 74471.78Sjmcneill LIBS="-lrt $LIBS" 74481.78Sjmcneill 74491.78Sjmcneillfi 74501.78Sjmcneill 74511.84Schristos 74521.108Schristos 74531.108Schristos for ac_func in fparseln 74541.84Schristosdo : 74551.84Schristos ac_fn_c_check_func "$LINENO" "fparseln" "ac_cv_func_fparseln" 74561.108Schristosif test "x$ac_cv_func_fparseln" = xyes 74571.108Schristosthen : 74581.108Schristos printf "%s\n" "#define HAVE_FPARSELN 1" >>confdefs.h 74591.108Schristos 74601.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fparseln seems to work" >&5 74611.108Schristosprintf %s "checking if fparseln seems to work... " >&6; } 74621.108Schristos if test "$cross_compiling" = yes 74631.108Schristosthen : 74641.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking farseln" >&5 74651.108Schristosprintf "%s\n" "$as_me: WARNING: cross compiling: not checking farseln" >&2;} 74661.84Schristos 74671.108Schristoselse case e in #( 74681.108Schristos e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 74691.84Schristos/* end confdefs.h. */ 74701.68Stnozaki 74711.68Stnozaki#define _NETBSD_SOURCE 74721.68Stnozaki#include <stdio.h> 74731.68Stnozaki#include <stdlib.h> 74741.68Stnozaki#define CONFTEST "conftest.fparseln" 74751.68Stnozaki#define COMMENT '#' 74761.68Stnozakiint 74771.68Stnozakimain(void) 74781.68Stnozaki{ 74791.68Stnozaki static const char delim[3] = { '\0', '\0', COMMENT }; 74801.68Stnozaki FILE *fp; 74811.68Stnozaki char *ptr; 74821.68Stnozaki fp = fopen(CONFTEST, "w+"); 74831.68Stnozaki if (fp != NULL) { 74841.68Stnozaki unlink(CONFTEST); 74851.68Stnozaki ungetc(COMMENT, fp); 74861.68Stnozaki ptr = fparseln(fp, NULL, NULL, delim, 74871.68Stnozaki FPARSELN_UNESCALL); 74881.68Stnozaki fclose(fp); 74891.68Stnozaki if (ptr == NULL) 74901.68Stnozaki exit(0); 74911.68Stnozaki } 74921.68Stnozaki exit(1); 74931.68Stnozaki} 74941.68Stnozaki 74951.68Stnozaki_ACEOF 74961.108Schristosif ac_fn_c_try_run "$LINENO" 74971.108Schristosthen : 74981.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 74991.108Schristosprintf "%s\n" "yes" >&6; } 75001.108Schristoselse case e in #( 75011.108Schristos e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 75021.108Schristosprintf "%s\n" "no" >&6; } 75031.68Stnozaki 75041.108Schristosprintf "%s\n" "#define BROKEN_FPARSELN 1" >>confdefs.h 75051.108Schristos ;; 75061.108Schristosesac 75071.68Stnozakifi 75081.84Schristosrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 75091.108Schristos conftest.$ac_objext conftest.beam conftest.$ac_ext ;; 75101.108Schristosesac 75111.68Stnozakifi 75121.68Stnozaki 75131.84Schristos 75141.68Stnozakifi 75151.108Schristos 75161.68Stnozakidone 75171.68Stnozaki 75181.84Schristos 75191.104Slukemnb_cv_check_cc_flags= 75201.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5 75211.108Schristosprintf %s "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; } 75221.108Schristosif test ${ax_cv_check_cflags___Werror_unknown_warning_option+y} 75231.108Schristosthen : 75241.108Schristos printf %s "(cached) " >&6 75251.108Schristoselse case e in #( 75261.108Schristos e) 75271.102Slukem ax_check_save_flags=$CFLAGS 75281.102Slukem CFLAGS="$CFLAGS -Werror=unknown-warning-option" 75291.102Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 75301.102Slukem/* end confdefs.h. */ 75311.102Slukem 75321.102Slukemint 75331.108Schristosmain (void) 75341.102Slukem{ 75351.102Slukem 75361.102Slukem ; 75371.102Slukem return 0; 75381.102Slukem} 75391.102Slukem_ACEOF 75401.108Schristosif ac_fn_c_try_compile "$LINENO" 75411.108Schristosthen : 75421.102Slukem ax_cv_check_cflags___Werror_unknown_warning_option=yes 75431.108Schristoselse case e in #( 75441.108Schristos e) ax_cv_check_cflags___Werror_unknown_warning_option=no ;; 75451.108Schristosesac 75461.102Slukemfi 75471.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 75481.108Schristos CFLAGS=$ax_check_save_flags ;; 75491.108Schristosesac 75501.102Slukemfi 75511.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5 75521.108Schristosprintf "%s\n" "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; } 75531.108Schristosif test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes 75541.108Schristosthen : 75551.104Slukem nb_cv_check_cc_flags=-Werror=unknown-warning-option 75561.108Schristoselse case e in #( 75571.108Schristos e) : ;; 75581.108Schristosesac 75591.102Slukemfi 75601.102Slukem 75611.102Slukem 75621.108Schristosas_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$nb_cv_check_cc_flags_-no-cpp-precomp" | sed "$as_sed_sh"` 75631.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -no-cpp-precomp" >&5 75641.108Schristosprintf %s "checking whether C compiler accepts -no-cpp-precomp... " >&6; } 75651.108Schristosif eval test \${$as_CACHEVAR+y} 75661.108Schristosthen : 75671.108Schristos printf %s "(cached) " >&6 75681.108Schristoselse case e in #( 75691.108Schristos e) 75701.102Slukem ax_check_save_flags=$CFLAGS 75711.104Slukem CFLAGS="$CFLAGS $nb_cv_check_cc_flags -no-cpp-precomp" 75721.102Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 75731.102Slukem/* end confdefs.h. */ 75741.102Slukem 75751.102Slukemint 75761.108Schristosmain (void) 75771.102Slukem{ 75781.102Slukem 75791.102Slukem ; 75801.102Slukem return 0; 75811.102Slukem} 75821.102Slukem_ACEOF 75831.108Schristosif ac_fn_c_try_compile "$LINENO" 75841.108Schristosthen : 75851.102Slukem eval "$as_CACHEVAR=yes" 75861.108Schristoselse case e in #( 75871.108Schristos e) eval "$as_CACHEVAR=no" ;; 75881.108Schristosesac 75891.102Slukemfi 75901.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 75911.108Schristos CFLAGS=$ax_check_save_flags ;; 75921.108Schristosesac 75931.102Slukemfi 75941.102Slukemeval ac_res=\$$as_CACHEVAR 75951.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 75961.108Schristosprintf "%s\n" "$ac_res" >&6; } 75971.108Schristosif eval test \"x\$"$as_CACHEVAR"\" = x"yes" 75981.108Schristosthen : 75991.102Slukem CC_NO_CPP_PRECOMP=-no-cpp-precomp 76001.108Schristoselse case e in #( 76011.108Schristos e) : ;; 76021.108Schristosesac 76031.102Slukemfi 76041.102Slukem 76051.102Slukem 76061.102Slukem 76071.102Slukem 76081.108Schristosas_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Waddress-of-packed-member" | sed "$as_sed_sh"` 76091.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Waddress-of-packed-member" >&5 76101.108Schristosprintf %s "checking whether C compiler accepts -Waddress-of-packed-member... " >&6; } 76111.108Schristosif eval test \${$as_CACHEVAR+y} 76121.108Schristosthen : 76131.108Schristos printf %s "(cached) " >&6 76141.108Schristoselse case e in #( 76151.108Schristos e) 76161.103Slukem ax_check_save_flags=$CFLAGS 76171.104Slukem CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Waddress-of-packed-member" 76181.103Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 76191.103Slukem/* end confdefs.h. */ 76201.103Slukem 76211.103Slukemint 76221.108Schristosmain (void) 76231.103Slukem{ 76241.103Slukem 76251.103Slukem ; 76261.103Slukem return 0; 76271.103Slukem} 76281.103Slukem_ACEOF 76291.108Schristosif ac_fn_c_try_compile "$LINENO" 76301.108Schristosthen : 76311.103Slukem eval "$as_CACHEVAR=yes" 76321.108Schristoselse case e in #( 76331.108Schristos e) eval "$as_CACHEVAR=no" ;; 76341.108Schristosesac 76351.103Slukemfi 76361.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 76371.108Schristos CFLAGS=$ax_check_save_flags ;; 76381.108Schristosesac 76391.103Slukemfi 76401.103Slukemeval ac_res=\$$as_CACHEVAR 76411.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 76421.108Schristosprintf "%s\n" "$ac_res" >&6; } 76431.108Schristosif eval test \"x\$"$as_CACHEVAR"\" = x"yes" 76441.108Schristosthen : 76451.103Slukem CC_WNO_ADDRESS_OF_PACKED_MEMBER=-Wno-address-of-packed-member 76461.108Schristoselse case e in #( 76471.108Schristos e) : ;; 76481.108Schristosesac 76491.103Slukemfi 76501.103Slukem 76511.103Slukem 76521.103Slukem 76531.108Schristosas_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wcast-function-type" | sed "$as_sed_sh"` 76541.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wcast-function-type" >&5 76551.108Schristosprintf %s "checking whether C compiler accepts -Wcast-function-type... " >&6; } 76561.108Schristosif eval test \${$as_CACHEVAR+y} 76571.108Schristosthen : 76581.108Schristos printf %s "(cached) " >&6 76591.108Schristoselse case e in #( 76601.108Schristos e) 76611.103Slukem ax_check_save_flags=$CFLAGS 76621.104Slukem CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wcast-function-type" 76631.103Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 76641.103Slukem/* end confdefs.h. */ 76651.103Slukem 76661.103Slukemint 76671.108Schristosmain (void) 76681.103Slukem{ 76691.103Slukem 76701.103Slukem ; 76711.103Slukem return 0; 76721.103Slukem} 76731.103Slukem_ACEOF 76741.108Schristosif ac_fn_c_try_compile "$LINENO" 76751.108Schristosthen : 76761.103Slukem eval "$as_CACHEVAR=yes" 76771.108Schristoselse case e in #( 76781.108Schristos e) eval "$as_CACHEVAR=no" ;; 76791.108Schristosesac 76801.103Slukemfi 76811.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 76821.108Schristos CFLAGS=$ax_check_save_flags ;; 76831.108Schristosesac 76841.103Slukemfi 76851.103Slukemeval ac_res=\$$as_CACHEVAR 76861.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 76871.108Schristosprintf "%s\n" "$ac_res" >&6; } 76881.108Schristosif eval test \"x\$"$as_CACHEVAR"\" = x"yes" 76891.108Schristosthen : 76901.103Slukem CC_WNO_CAST_FUNCTION_TYPE=-Wno-cast-function-type 76911.108Schristoselse case e in #( 76921.108Schristos e) : ;; 76931.108Schristosesac 76941.103Slukemfi 76951.103Slukem 76961.103Slukem 76971.103Slukem 76981.108Schristosas_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Werror=address-of-packed-member" | sed "$as_sed_sh"` 76991.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=address-of-packed-member" >&5 77001.108Schristosprintf %s "checking whether C compiler accepts -Werror=address-of-packed-member... " >&6; } 77011.108Schristosif eval test \${$as_CACHEVAR+y} 77021.108Schristosthen : 77031.108Schristos printf %s "(cached) " >&6 77041.108Schristoselse case e in #( 77051.108Schristos e) 77061.103Slukem ax_check_save_flags=$CFLAGS 77071.104Slukem CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Werror=address-of-packed-member" 77081.103Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 77091.103Slukem/* end confdefs.h. */ 77101.103Slukem 77111.103Slukemint 77121.108Schristosmain (void) 77131.103Slukem{ 77141.103Slukem 77151.103Slukem ; 77161.103Slukem return 0; 77171.103Slukem} 77181.103Slukem_ACEOF 77191.108Schristosif ac_fn_c_try_compile "$LINENO" 77201.108Schristosthen : 77211.103Slukem eval "$as_CACHEVAR=yes" 77221.108Schristoselse case e in #( 77231.108Schristos e) eval "$as_CACHEVAR=no" ;; 77241.108Schristosesac 77251.103Slukemfi 77261.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 77271.108Schristos CFLAGS=$ax_check_save_flags ;; 77281.108Schristosesac 77291.103Slukemfi 77301.103Slukemeval ac_res=\$$as_CACHEVAR 77311.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 77321.108Schristosprintf "%s\n" "$ac_res" >&6; } 77331.108Schristosif eval test \"x\$"$as_CACHEVAR"\" = x"yes" 77341.108Schristosthen : 77351.103Slukem CC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER=-Wno-error=address-of-packed-member 77361.108Schristoselse case e in #( 77371.108Schristos e) : ;; 77381.108Schristosesac 77391.103Slukemfi 77401.103Slukem 77411.103Slukem 77421.103Slukem 77431.108Schristosas_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wformat-overflow" | sed "$as_sed_sh"` 77441.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wformat-overflow" >&5 77451.108Schristosprintf %s "checking whether C compiler accepts -Wformat-overflow... " >&6; } 77461.108Schristosif eval test \${$as_CACHEVAR+y} 77471.108Schristosthen : 77481.108Schristos printf %s "(cached) " >&6 77491.108Schristoselse case e in #( 77501.108Schristos e) 77511.103Slukem ax_check_save_flags=$CFLAGS 77521.104Slukem CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wformat-overflow" 77531.103Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 77541.103Slukem/* end confdefs.h. */ 77551.103Slukem 77561.103Slukemint 77571.108Schristosmain (void) 77581.103Slukem{ 77591.103Slukem 77601.103Slukem ; 77611.103Slukem return 0; 77621.103Slukem} 77631.103Slukem_ACEOF 77641.108Schristosif ac_fn_c_try_compile "$LINENO" 77651.108Schristosthen : 77661.103Slukem eval "$as_CACHEVAR=yes" 77671.108Schristoselse case e in #( 77681.108Schristos e) eval "$as_CACHEVAR=no" ;; 77691.108Schristosesac 77701.103Slukemfi 77711.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 77721.108Schristos CFLAGS=$ax_check_save_flags ;; 77731.108Schristosesac 77741.103Slukemfi 77751.103Slukemeval ac_res=\$$as_CACHEVAR 77761.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 77771.108Schristosprintf "%s\n" "$ac_res" >&6; } 77781.108Schristosif eval test \"x\$"$as_CACHEVAR"\" = x"yes" 77791.108Schristosthen : 77801.103Slukem CC_WNO_FORMAT_OVERFLOW=-Wno-format-overflow 77811.108Schristoselse case e in #( 77821.108Schristos e) : ;; 77831.108Schristosesac 77841.103Slukemfi 77851.103Slukem 77861.103Slukem 77871.103Slukem 77881.108Schristosas_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wformat-truncation" | sed "$as_sed_sh"` 77891.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wformat-truncation" >&5 77901.108Schristosprintf %s "checking whether C compiler accepts -Wformat-truncation... " >&6; } 77911.108Schristosif eval test \${$as_CACHEVAR+y} 77921.108Schristosthen : 77931.108Schristos printf %s "(cached) " >&6 77941.108Schristoselse case e in #( 77951.108Schristos e) 77961.102Slukem ax_check_save_flags=$CFLAGS 77971.104Slukem CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wformat-truncation" 77981.102Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 77991.102Slukem/* end confdefs.h. */ 78001.102Slukem 78011.102Slukemint 78021.108Schristosmain (void) 78031.102Slukem{ 78041.102Slukem 78051.102Slukem ; 78061.102Slukem return 0; 78071.102Slukem} 78081.102Slukem_ACEOF 78091.108Schristosif ac_fn_c_try_compile "$LINENO" 78101.108Schristosthen : 78111.102Slukem eval "$as_CACHEVAR=yes" 78121.108Schristoselse case e in #( 78131.108Schristos e) eval "$as_CACHEVAR=no" ;; 78141.108Schristosesac 78151.102Slukemfi 78161.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 78171.108Schristos CFLAGS=$ax_check_save_flags ;; 78181.108Schristosesac 78191.102Slukemfi 78201.102Slukemeval ac_res=\$$as_CACHEVAR 78211.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 78221.108Schristosprintf "%s\n" "$ac_res" >&6; } 78231.108Schristosif eval test \"x\$"$as_CACHEVAR"\" = x"yes" 78241.108Schristosthen : 78251.102Slukem CC_WNO_FORMAT_TRUNCATION=-Wno-format-truncation 78261.108Schristoselse case e in #( 78271.108Schristos e) : ;; 78281.108Schristosesac 78291.102Slukemfi 78301.102Slukem 78311.102Slukem 78321.102Slukem 78331.108Schristosas_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wimplicit-fallthrough" | sed "$as_sed_sh"` 78341.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wimplicit-fallthrough" >&5 78351.108Schristosprintf %s "checking whether C compiler accepts -Wimplicit-fallthrough... " >&6; } 78361.108Schristosif eval test \${$as_CACHEVAR+y} 78371.108Schristosthen : 78381.108Schristos printf %s "(cached) " >&6 78391.108Schristoselse case e in #( 78401.108Schristos e) 78411.103Slukem ax_check_save_flags=$CFLAGS 78421.104Slukem CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wimplicit-fallthrough" 78431.103Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 78441.103Slukem/* end confdefs.h. */ 78451.103Slukem 78461.103Slukemint 78471.108Schristosmain (void) 78481.103Slukem{ 78491.103Slukem 78501.103Slukem ; 78511.103Slukem return 0; 78521.103Slukem} 78531.103Slukem_ACEOF 78541.108Schristosif ac_fn_c_try_compile "$LINENO" 78551.108Schristosthen : 78561.103Slukem eval "$as_CACHEVAR=yes" 78571.108Schristoselse case e in #( 78581.108Schristos e) eval "$as_CACHEVAR=no" ;; 78591.108Schristosesac 78601.103Slukemfi 78611.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 78621.108Schristos CFLAGS=$ax_check_save_flags ;; 78631.108Schristosesac 78641.103Slukemfi 78651.103Slukemeval ac_res=\$$as_CACHEVAR 78661.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 78671.108Schristosprintf "%s\n" "$ac_res" >&6; } 78681.108Schristosif eval test \"x\$"$as_CACHEVAR"\" = x"yes" 78691.108Schristosthen : 78701.103Slukem CC_WNO_IMPLICIT_FALLTHROUGH=-Wno-implicit-fallthrough 78711.108Schristoselse case e in #( 78721.108Schristos e) : ;; 78731.108Schristosesac 78741.103Slukemfi 78751.103Slukem 78761.103Slukem 78771.103Slukem 78781.108Schristosas_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wmaybe-uninitialized" | sed "$as_sed_sh"` 78791.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wmaybe-uninitialized" >&5 78801.108Schristosprintf %s "checking whether C compiler accepts -Wmaybe-uninitialized... " >&6; } 78811.108Schristosif eval test \${$as_CACHEVAR+y} 78821.108Schristosthen : 78831.108Schristos printf %s "(cached) " >&6 78841.108Schristoselse case e in #( 78851.108Schristos e) 78861.102Slukem ax_check_save_flags=$CFLAGS 78871.104Slukem CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wmaybe-uninitialized" 78881.102Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 78891.102Slukem/* end confdefs.h. */ 78901.102Slukem 78911.102Slukemint 78921.108Schristosmain (void) 78931.102Slukem{ 78941.102Slukem 78951.102Slukem ; 78961.102Slukem return 0; 78971.102Slukem} 78981.102Slukem_ACEOF 78991.108Schristosif ac_fn_c_try_compile "$LINENO" 79001.108Schristosthen : 79011.102Slukem eval "$as_CACHEVAR=yes" 79021.108Schristoselse case e in #( 79031.108Schristos e) eval "$as_CACHEVAR=no" ;; 79041.108Schristosesac 79051.102Slukemfi 79061.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 79071.108Schristos CFLAGS=$ax_check_save_flags ;; 79081.108Schristosesac 79091.102Slukemfi 79101.102Slukemeval ac_res=\$$as_CACHEVAR 79111.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 79121.108Schristosprintf "%s\n" "$ac_res" >&6; } 79131.108Schristosif eval test \"x\$"$as_CACHEVAR"\" = x"yes" 79141.108Schristosthen : 79151.102Slukem CC_WNO_MAYBE_UNINITIALIZED=-Wno-maybe-uninitialized 79161.108Schristoselse case e in #( 79171.108Schristos e) : ;; 79181.108Schristosesac 79191.102Slukemfi 79201.102Slukem 79211.102Slukem 79221.102Slukem 79231.108Schristosas_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wreturn-local-addr" | sed "$as_sed_sh"` 79241.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wreturn-local-addr" >&5 79251.108Schristosprintf %s "checking whether C compiler accepts -Wreturn-local-addr... " >&6; } 79261.108Schristosif eval test \${$as_CACHEVAR+y} 79271.108Schristosthen : 79281.108Schristos printf %s "(cached) " >&6 79291.108Schristoselse case e in #( 79301.108Schristos e) 79311.103Slukem ax_check_save_flags=$CFLAGS 79321.104Slukem CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wreturn-local-addr" 79331.103Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 79341.103Slukem/* end confdefs.h. */ 79351.103Slukem 79361.103Slukemint 79371.108Schristosmain (void) 79381.103Slukem{ 79391.103Slukem 79401.103Slukem ; 79411.103Slukem return 0; 79421.103Slukem} 79431.103Slukem_ACEOF 79441.108Schristosif ac_fn_c_try_compile "$LINENO" 79451.108Schristosthen : 79461.103Slukem eval "$as_CACHEVAR=yes" 79471.108Schristoselse case e in #( 79481.108Schristos e) eval "$as_CACHEVAR=no" ;; 79491.108Schristosesac 79501.103Slukemfi 79511.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 79521.108Schristos CFLAGS=$ax_check_save_flags ;; 79531.108Schristosesac 79541.103Slukemfi 79551.103Slukemeval ac_res=\$$as_CACHEVAR 79561.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 79571.108Schristosprintf "%s\n" "$ac_res" >&6; } 79581.108Schristosif eval test \"x\$"$as_CACHEVAR"\" = x"yes" 79591.108Schristosthen : 79601.103Slukem CC_WNO_RETURN_LOCAL_ADDR=-Wno-return-local-addr 79611.108Schristoselse case e in #( 79621.108Schristos e) : ;; 79631.108Schristosesac 79641.103Slukemfi 79651.103Slukem 79661.103Slukem 79671.103Slukem 79681.108Schristosas_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wstringop-overflow" | sed "$as_sed_sh"` 79691.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wstringop-overflow" >&5 79701.108Schristosprintf %s "checking whether C compiler accepts -Wstringop-overflow... " >&6; } 79711.108Schristosif eval test \${$as_CACHEVAR+y} 79721.108Schristosthen : 79731.108Schristos printf %s "(cached) " >&6 79741.108Schristoselse case e in #( 79751.108Schristos e) 79761.102Slukem ax_check_save_flags=$CFLAGS 79771.104Slukem CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wstringop-overflow" 79781.102Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 79791.102Slukem/* end confdefs.h. */ 79801.102Slukem 79811.102Slukemint 79821.108Schristosmain (void) 79831.102Slukem{ 79841.102Slukem 79851.102Slukem ; 79861.102Slukem return 0; 79871.102Slukem} 79881.102Slukem_ACEOF 79891.108Schristosif ac_fn_c_try_compile "$LINENO" 79901.108Schristosthen : 79911.102Slukem eval "$as_CACHEVAR=yes" 79921.108Schristoselse case e in #( 79931.108Schristos e) eval "$as_CACHEVAR=no" ;; 79941.108Schristosesac 79951.102Slukemfi 79961.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 79971.108Schristos CFLAGS=$ax_check_save_flags ;; 79981.108Schristosesac 79991.102Slukemfi 80001.102Slukemeval ac_res=\$$as_CACHEVAR 80011.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 80021.108Schristosprintf "%s\n" "$ac_res" >&6; } 80031.108Schristosif eval test \"x\$"$as_CACHEVAR"\" = x"yes" 80041.108Schristosthen : 80051.102Slukem CC_WNO_STRINGOP_OVERFLOW=-Wno-stringop-overflow 80061.108Schristoselse case e in #( 80071.108Schristos e) : ;; 80081.108Schristosesac 80091.102Slukemfi 80101.102Slukem 80111.102Slukem 80121.102Slukem 80131.108Schristosas_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wstringop-truncation" | sed "$as_sed_sh"` 80141.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wstringop-truncation" >&5 80151.108Schristosprintf %s "checking whether C compiler accepts -Wstringop-truncation... " >&6; } 80161.108Schristosif eval test \${$as_CACHEVAR+y} 80171.108Schristosthen : 80181.108Schristos printf %s "(cached) " >&6 80191.108Schristoselse case e in #( 80201.108Schristos e) 80211.102Slukem ax_check_save_flags=$CFLAGS 80221.104Slukem CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wstringop-truncation" 80231.102Slukem cat confdefs.h - <<_ACEOF >conftest.$ac_ext 80241.102Slukem/* end confdefs.h. */ 80251.102Slukem 80261.102Slukemint 80271.108Schristosmain (void) 80281.102Slukem{ 80291.102Slukem 80301.102Slukem ; 80311.102Slukem return 0; 80321.102Slukem} 80331.102Slukem_ACEOF 80341.108Schristosif ac_fn_c_try_compile "$LINENO" 80351.108Schristosthen : 80361.102Slukem eval "$as_CACHEVAR=yes" 80371.108Schristoselse case e in #( 80381.108Schristos e) eval "$as_CACHEVAR=no" ;; 80391.108Schristosesac 80401.102Slukemfi 80411.108Schristosrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 80421.108Schristos CFLAGS=$ax_check_save_flags ;; 80431.108Schristosesac 80441.102Slukemfi 80451.102Slukemeval ac_res=\$$as_CACHEVAR 80461.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 80471.108Schristosprintf "%s\n" "$ac_res" >&6; } 80481.108Schristosif eval test \"x\$"$as_CACHEVAR"\" = x"yes" 80491.108Schristosthen : 80501.102Slukem CC_WNO_STRINGOP_TRUNCATION=-Wno-stringop-truncation 80511.108Schristoselse case e in #( 80521.108Schristos e) : ;; 80531.108Schristosesac 80541.102Slukemfi 80551.102Slukem 80561.102Slukem 80571.102Slukem 80581.102Slukem 80591.1Stvcat >confcache <<\_ACEOF 80601.1Stv# This file is a shell script that caches the results of configure 80611.1Stv# tests run on this system so they can be shared between configure 80621.1Stv# scripts and configure runs, see configure's option --config-cache. 80631.1Stv# It is not useful on other systems. If it contains results you don't 80641.1Stv# want to keep, you may remove or edit it. 80651.1Stv# 80661.1Stv# config.status only pays attention to the cache file if you give it 80671.1Stv# the --recheck option to rerun configure. 80681.1Stv# 80691.108Schristos# 'ac_cv_env_foo' variables (set or unset) will be overridden when 80701.108Schristos# loading this file, other *unset* 'ac_cv_foo' will be assigned the 80711.1Stv# following values. 80721.1Stv 80731.1Stv_ACEOF 80741.1Stv 80751.1Stv# The following way of writing the cache mishandles newlines in values, 80761.1Stv# but we know of no workaround that is simple, portable, and efficient. 80771.84Schristos# So, we kill variables containing newlines. 80781.84Schristos# Ultrix sh set writes to stderr and can't be redirected directly, 80791.84Schristos# and sets the high bit in the cache file unless we assign to the vars. 80801.84Schristos( 80811.84Schristos for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 80821.84Schristos eval ac_val=\$$ac_var 80831.84Schristos case $ac_val in #( 80841.84Schristos *${as_nl}*) 80851.84Schristos case $ac_var in #( 80861.108Schristos *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 80871.108Schristosprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 80881.84Schristos esac 80891.84Schristos case $ac_var in #( 80901.84Schristos _ | IFS | as_nl) ;; #( 80911.84Schristos BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 80921.84Schristos *) { eval $ac_var=; unset $ac_var;} ;; 80931.84Schristos esac ;; 80941.84Schristos esac 80951.84Schristos done 80961.84Schristos 80971.65Schristos (set) 2>&1 | 80981.84Schristos case $as_nl`(ac_space=' '; set) 2>&1` in #( 80991.84Schristos *${as_nl}ac_space=\ *) 81001.108Schristos # 'set' does not quote correctly, so add quotes: double-quote 81011.84Schristos # substitution turns \\\\ into \\, and sed turns \\ into \. 81021.65Schristos sed -n \ 81031.84Schristos "s/'/'\\\\''/g; 81041.84Schristos s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 81051.84Schristos ;; #( 81061.65Schristos *) 81071.108Schristos # 'set' quotes correctly as required by POSIX, so do not add quotes. 81081.84Schristos sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 81091.65Schristos ;; 81101.84Schristos esac | 81111.84Schristos sort 81121.84Schristos) | 81131.65Schristos sed ' 81141.84Schristos /^ac_cv_env_/b end 81151.65Schristos t clear 81161.84Schristos :clear 81171.108Schristos s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 81181.65Schristos t end 81191.84Schristos s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 81201.84Schristos :end' >>confcache 81211.84Schristosif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 81221.84Schristos if test -w "$cache_file"; then 81231.84Schristos if test "x$cache_file" != "x/dev/null"; then 81241.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 81251.108Schristosprintf "%s\n" "$as_me: updating cache $cache_file" >&6;} 81261.84Schristos if test ! -f "$cache_file" || test -h "$cache_file"; then 81271.84Schristos cat confcache >"$cache_file" 81281.84Schristos else 81291.84Schristos case $cache_file in #( 81301.84Schristos */* | ?:*) 81311.84Schristos mv -f confcache "$cache_file"$$ && 81321.84Schristos mv -f "$cache_file"$$ "$cache_file" ;; #( 81331.84Schristos *) 81341.84Schristos mv -f confcache "$cache_file" ;; 81351.84Schristos esac 81361.84Schristos fi 81371.84Schristos fi 81381.65Schristos else 81391.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 81401.108Schristosprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 81411.65Schristos fi 81421.65Schristosfi 81431.66Stsutsuirm -f confcache 81441.65Schristos 81451.66Stsutsuitest "x$prefix" = xNONE && prefix=$ac_default_prefix 81461.66Stsutsui# Let make expand exec_prefix. 81471.66Stsutsuitest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 81481.65Schristos 81491.84SchristosDEFS=-DHAVE_CONFIG_H 81501.84Schristos 81511.84Schristosac_libobjs= 81521.84Schristosac_ltlibobjs= 81531.84SchristosU= 81541.84Schristosfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 81551.84Schristos # 1. Remove the extension, and $U if already installed. 81561.84Schristos ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 81571.108Schristos ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 81581.84Schristos # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 81591.84Schristos # will be set to the directory where LIBOBJS objects are built. 81601.84Schristos as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 81611.84Schristos as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 81621.84Schristosdone 81631.84SchristosLIBOBJS=$ac_libobjs 81641.84Schristos 81651.84SchristosLTLIBOBJS=$ac_ltlibobjs 81661.84Schristos 81671.84Schristos 81681.76Spooka 81691.74Schristos 81701.84Schristos: "${CONFIG_STATUS=./config.status}" 81711.84Schristosac_write_fail=0 81721.66Stsutsuiac_clean_files_save=$ac_clean_files 81731.66Stsutsuiac_clean_files="$ac_clean_files $CONFIG_STATUS" 81741.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 81751.108Schristosprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 81761.84Schristosas_write_fail=0 81771.84Schristoscat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 81781.66Stsutsui#! $SHELL 81791.84Schristos# Generated by $as_me. 81801.66Stsutsui# Run this file to recreate the current configuration. 81811.66Stsutsui# Compiler output produced by configure, useful for debugging 81821.66Stsutsui# configure, is in config.log if it exists. 81831.65Schristos 81841.66Stsutsuidebug=false 81851.84Schristosac_cs_recheck=false 81861.84Schristosac_cs_silent=false 81871.84Schristos 81881.76SpookaSHELL=\${CONFIG_SHELL-$SHELL} 81891.84Schristosexport SHELL 81901.84Schristos_ASEOF 81911.84Schristoscat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 81921.84Schristos## -------------------- ## 81931.84Schristos## M4sh Initialization. ## 81941.84Schristos## -------------------- ## 81951.84Schristos 81961.84Schristos# Be more Bourne compatible 81971.84SchristosDUALCASE=1; export DUALCASE # for MKS sh 81981.108Schristosif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 81991.108Schristosthen : 82001.84Schristos emulate sh 82011.84Schristos NULLCMD=: 82021.84Schristos # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 82031.84Schristos # is contrary to our usage. Disable this feature. 82041.84Schristos alias -g '${1+"$@"}'='"$@"' 82051.84Schristos setopt NO_GLOB_SUBST 82061.108Schristoselse case e in #( 82071.108Schristos e) case `(set -o) 2>/dev/null` in #( 82081.84Schristos *posix*) : 82091.84Schristos set -o posix ;; #( 82101.84Schristos *) : 82111.84Schristos ;; 82121.108Schristosesac ;; 82131.84Schristosesac 82141.84Schristosfi 82151.84Schristos 82161.76Spooka 82171.108Schristos 82181.108Schristos# Reset variables that may have inherited troublesome values from 82191.108Schristos# the environment. 82201.108Schristos 82211.108Schristos# IFS needs to be set, to space, tab, and newline, in precisely that order. 82221.108Schristos# (If _AS_PATH_WALK were called with IFS unset, it would have the 82231.108Schristos# side effect of setting IFS to empty, thus disabling word splitting.) 82241.108Schristos# Quoting is to prevent editors from complaining about space-tab. 82251.84Schristosas_nl=' 82261.84Schristos' 82271.84Schristosexport as_nl 82281.108SchristosIFS=" "" $as_nl" 82291.108Schristos 82301.108SchristosPS1='$ ' 82311.108SchristosPS2='> ' 82321.108SchristosPS4='+ ' 82331.108Schristos 82341.108Schristos# Ensure predictable behavior from utilities with locale-dependent output. 82351.108SchristosLC_ALL=C 82361.108Schristosexport LC_ALL 82371.108SchristosLANGUAGE=C 82381.108Schristosexport LANGUAGE 82391.108Schristos 82401.108Schristos# We cannot yet rely on "unset" to work, but we need these variables 82411.108Schristos# to be unset--not just set to an empty or harmless value--now, to 82421.108Schristos# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 82431.108Schristos# also avoids known problems related to "unset" and subshell syntax 82441.108Schristos# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 82451.108Schristosfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 82461.108Schristosdo eval test \${$as_var+y} \ 82471.108Schristos && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 82481.108Schristosdone 82491.108Schristos 82501.108Schristos# Ensure that fds 0, 1, and 2 are open. 82511.108Schristosif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 82521.108Schristosif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 82531.108Schristosif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 82541.74Schristos 82551.84Schristos# The user is always right. 82561.108Schristosif ${PATH_SEPARATOR+false} :; then 82571.84Schristos PATH_SEPARATOR=: 82581.84Schristos (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 82591.84Schristos (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 82601.84Schristos PATH_SEPARATOR=';' 82611.84Schristos } 82621.74Schristosfi 82631.65Schristos 82641.74Schristos 82651.84Schristos# Find who we are. Look in the path if we contain no directory separator. 82661.84Schristosas_myself= 82671.84Schristoscase $0 in #(( 82681.84Schristos *[\\/]* ) as_myself=$0 ;; 82691.84Schristos *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 82701.84Schristosfor as_dir in $PATH 82711.84Schristosdo 82721.84Schristos IFS=$as_save_IFS 82731.108Schristos case $as_dir in #((( 82741.108Schristos '') as_dir=./ ;; 82751.108Schristos */) ;; 82761.108Schristos *) as_dir=$as_dir/ ;; 82771.108Schristos esac 82781.108Schristos test -r "$as_dir$0" && as_myself=$as_dir$0 && break 82791.84Schristos done 82801.84SchristosIFS=$as_save_IFS 82811.84Schristos 82821.84Schristos ;; 82831.84Schristosesac 82841.108Schristos# We did not find ourselves, most probably we were run as 'sh COMMAND' 82851.84Schristos# in which case we are not to be found in the path. 82861.84Schristosif test "x$as_myself" = x; then 82871.84Schristos as_myself=$0 82881.84Schristosfi 82891.84Schristosif test ! -f "$as_myself"; then 82901.108Schristos printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 82911.84Schristos exit 1 82921.84Schristosfi 82931.84Schristos 82941.84Schristos 82951.84Schristos 82961.84Schristos# as_fn_error STATUS ERROR [LINENO LOG_FD] 82971.84Schristos# ---------------------------------------- 82981.84Schristos# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 82991.84Schristos# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 83001.84Schristos# script with STATUS, using 1 if that was 0. 83011.84Schristosas_fn_error () 83021.84Schristos{ 83031.84Schristos as_status=$1; test $as_status -eq 0 && as_status=1 83041.84Schristos if test "$4"; then 83051.84Schristos as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 83061.108Schristos printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 83071.84Schristos fi 83081.108Schristos printf "%s\n" "$as_me: error: $2" >&2 83091.84Schristos as_fn_exit $as_status 83101.84Schristos} # as_fn_error 83111.84Schristos 83121.84Schristos 83131.84Schristos# as_fn_set_status STATUS 83141.84Schristos# ----------------------- 83151.84Schristos# Set $? to STATUS, without forking. 83161.84Schristosas_fn_set_status () 83171.84Schristos{ 83181.84Schristos return $1 83191.84Schristos} # as_fn_set_status 83201.84Schristos 83211.84Schristos# as_fn_exit STATUS 83221.84Schristos# ----------------- 83231.84Schristos# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 83241.84Schristosas_fn_exit () 83251.84Schristos{ 83261.84Schristos set +e 83271.84Schristos as_fn_set_status $1 83281.84Schristos exit $1 83291.84Schristos} # as_fn_exit 83301.84Schristos 83311.84Schristos# as_fn_unset VAR 83321.84Schristos# --------------- 83331.84Schristos# Portably unset VAR. 83341.84Schristosas_fn_unset () 83351.84Schristos{ 83361.84Schristos { eval $1=; unset $1;} 83371.84Schristos} 83381.84Schristosas_unset=as_fn_unset 83391.108Schristos 83401.84Schristos# as_fn_append VAR VALUE 83411.84Schristos# ---------------------- 83421.84Schristos# Append the text in VALUE to the end of the definition contained in VAR. Take 83431.84Schristos# advantage of any shell optimizations that allow amortized linear growth over 83441.84Schristos# repeated appends, instead of the typical quadratic growth present in naive 83451.84Schristos# implementations. 83461.108Schristosif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 83471.108Schristosthen : 83481.84Schristos eval 'as_fn_append () 83491.84Schristos { 83501.84Schristos eval $1+=\$2 83511.84Schristos }' 83521.108Schristoselse case e in #( 83531.108Schristos e) as_fn_append () 83541.84Schristos { 83551.84Schristos eval $1=\$$1\$2 83561.108Schristos } ;; 83571.108Schristosesac 83581.84Schristosfi # as_fn_append 83591.84Schristos 83601.84Schristos# as_fn_arith ARG... 83611.84Schristos# ------------------ 83621.84Schristos# Perform arithmetic evaluation on the ARGs, and store the result in the 83631.84Schristos# global $as_val. Take advantage of shells that can avoid forks. The arguments 83641.84Schristos# must be portable across $(()) and expr. 83651.108Schristosif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 83661.108Schristosthen : 83671.84Schristos eval 'as_fn_arith () 83681.84Schristos { 83691.84Schristos as_val=$(( $* )) 83701.84Schristos }' 83711.108Schristoselse case e in #( 83721.108Schristos e) as_fn_arith () 83731.84Schristos { 83741.84Schristos as_val=`expr "$@" || test $? -eq 1` 83751.108Schristos } ;; 83761.108Schristosesac 83771.84Schristosfi # as_fn_arith 83781.84Schristos 83791.84Schristos 83801.84Schristosif expr a : '\(a\)' >/dev/null 2>&1 && 83811.84Schristos test "X`expr 00001 : '.*\(...\)'`" = X001; then 83821.1Stv as_expr=expr 83831.1Stvelse 83841.1Stv as_expr=false 83851.1Stvfi 83861.1Stv 83871.84Schristosif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 83881.84Schristos as_basename=basename 83891.84Schristoselse 83901.84Schristos as_basename=false 83911.84Schristosfi 83921.84Schristos 83931.84Schristosif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 83941.84Schristos as_dirname=dirname 83951.84Schristoselse 83961.84Schristos as_dirname=false 83971.84Schristosfi 83981.84Schristos 83991.84Schristosas_me=`$as_basename -- "$0" || 84001.84Schristos$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 84011.84Schristos X"$0" : 'X\(//\)$' \| \ 84021.84Schristos X"$0" : 'X\(/\)' \| . 2>/dev/null || 84031.108Schristosprintf "%s\n" X/"$0" | 84041.84Schristos sed '/^.*\/\([^/][^/]*\)\/*$/{ 84051.84Schristos s//\1/ 84061.84Schristos q 84071.84Schristos } 84081.84Schristos /^X\/\(\/\/\)$/{ 84091.84Schristos s//\1/ 84101.84Schristos q 84111.84Schristos } 84121.84Schristos /^X\/\(\/\).*/{ 84131.84Schristos s//\1/ 84141.84Schristos q 84151.84Schristos } 84161.84Schristos s/.*/./; q'` 84171.84Schristos 84181.84Schristos# Avoid depending upon Character Ranges. 84191.84Schristosas_cr_letters='abcdefghijklmnopqrstuvwxyz' 84201.84Schristosas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 84211.84Schristosas_cr_Letters=$as_cr_letters$as_cr_LETTERS 84221.84Schristosas_cr_digits='0123456789' 84231.84Schristosas_cr_alnum=$as_cr_Letters$as_cr_digits 84241.84Schristos 84251.108Schristos 84261.108Schristos# Determine whether it's possible to make 'echo' print without a newline. 84271.108Schristos# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 84281.108Schristos# for compatibility with existing Makefiles. 84291.84SchristosECHO_C= ECHO_N= ECHO_T= 84301.84Schristoscase `echo -n x` in #((((( 84311.84Schristos-n*) 84321.84Schristos case `echo 'xy\c'` in 84331.84Schristos *c*) ECHO_T=' ';; # ECHO_T is single tab character. 84341.84Schristos xy) ECHO_C='\c';; 84351.84Schristos *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 84361.84Schristos ECHO_T=' ';; 84371.84Schristos esac;; 84381.84Schristos*) 84391.84Schristos ECHO_N='-n';; 84401.84Schristosesac 84411.84Schristos 84421.108Schristos# For backward compatibility with old third-party macros, we provide 84431.108Schristos# the shell variables $as_echo and $as_echo_n. New code should use 84441.108Schristos# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 84451.108Schristosas_echo='printf %s\n' 84461.108Schristosas_echo_n='printf %s' 84471.108Schristos 84481.1Stvrm -f conf$$ conf$$.exe conf$$.file 84491.84Schristosif test -d conf$$.dir; then 84501.84Schristos rm -f conf$$.dir/conf$$.file 84511.84Schristoselse 84521.84Schristos rm -f conf$$.dir 84531.84Schristos mkdir conf$$.dir 2>/dev/null 84541.84Schristosfi 84551.84Schristosif (echo >conf$$.file) 2>/dev/null; then 84561.84Schristos if ln -s conf$$.file conf$$ 2>/dev/null; then 84571.84Schristos as_ln_s='ln -s' 84581.84Schristos # ... but there are two gotchas: 84591.108Schristos # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. 84601.108Schristos # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. 84611.108Schristos # In both cases, we have to default to 'cp -pR'. 84621.84Schristos ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 84631.84Schristos as_ln_s='cp -pR' 84641.84Schristos elif ln conf$$.file conf$$ 2>/dev/null; then 84651.84Schristos as_ln_s=ln 84661.76Spooka else 84671.84Schristos as_ln_s='cp -pR' 84681.66Stsutsui fi 84691.1Stvelse 84701.84Schristos as_ln_s='cp -pR' 84711.1Stvfi 84721.84Schristosrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 84731.84Schristosrmdir conf$$.dir 2>/dev/null 84741.84Schristos 84751.84Schristos 84761.84Schristos# as_fn_mkdir_p 84771.84Schristos# ------------- 84781.84Schristos# Create "$as_dir" as a directory, including parents if necessary. 84791.84Schristosas_fn_mkdir_p () 84801.84Schristos{ 84811.84Schristos 84821.84Schristos case $as_dir in #( 84831.84Schristos -*) as_dir=./$as_dir;; 84841.84Schristos esac 84851.84Schristos test -d "$as_dir" || eval $as_mkdir_p || { 84861.84Schristos as_dirs= 84871.84Schristos while :; do 84881.84Schristos case $as_dir in #( 84891.108Schristos *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 84901.84Schristos *) as_qdir=$as_dir;; 84911.84Schristos esac 84921.84Schristos as_dirs="'$as_qdir' $as_dirs" 84931.84Schristos as_dir=`$as_dirname -- "$as_dir" || 84941.84Schristos$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 84951.84Schristos X"$as_dir" : 'X\(//\)[^/]' \| \ 84961.84Schristos X"$as_dir" : 'X\(//\)$' \| \ 84971.84Schristos X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 84981.108Schristosprintf "%s\n" X"$as_dir" | 84991.84Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 85001.84Schristos s//\1/ 85011.84Schristos q 85021.84Schristos } 85031.84Schristos /^X\(\/\/\)[^/].*/{ 85041.84Schristos s//\1/ 85051.84Schristos q 85061.84Schristos } 85071.84Schristos /^X\(\/\/\)$/{ 85081.84Schristos s//\1/ 85091.84Schristos q 85101.84Schristos } 85111.84Schristos /^X\(\/\).*/{ 85121.84Schristos s//\1/ 85131.84Schristos q 85141.84Schristos } 85151.84Schristos s/.*/./; q'` 85161.84Schristos test -d "$as_dir" && break 85171.84Schristos done 85181.84Schristos test -z "$as_dirs" || eval "mkdir $as_dirs" 85191.84Schristos } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 85201.1Stv 85211.63Sapb 85221.84Schristos} # as_fn_mkdir_p 85231.84Schristosif mkdir -p . 2>/dev/null; then 85241.84Schristos as_mkdir_p='mkdir -p "$as_dir"' 85251.61Schristoselse 85261.84Schristos test -d ./-p && rmdir ./-p 85271.84Schristos as_mkdir_p=false 85281.61Schristosfi 85291.61Schristos 85301.1Stv 85311.84Schristos# as_fn_executable_p FILE 85321.84Schristos# ----------------------- 85331.84Schristos# Test if FILE is an executable regular file. 85341.84Schristosas_fn_executable_p () 85351.84Schristos{ 85361.84Schristos test -f "$1" && test -x "$1" 85371.84Schristos} # as_fn_executable_p 85381.84Schristosas_test_x='test -x' 85391.84Schristosas_executable_p=as_fn_executable_p 85401.84Schristos 85411.84Schristos# Sed expression to map a string onto a valid CPP name. 85421.108Schristosas_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 85431.108Schristosas_tr_cpp="eval sed '$as_sed_cpp'" # deprecated 85441.84Schristos 85451.84Schristos# Sed expression to map a string onto a valid variable name. 85461.108Schristosas_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 85471.108Schristosas_tr_sh="eval sed '$as_sed_sh'" # deprecated 85481.1Stv 85491.1Stv 85501.1Stvexec 6>&1 85511.84Schristos## ----------------------------------- ## 85521.84Schristos## Main body of $CONFIG_STATUS script. ## 85531.84Schristos## ----------------------------------- ## 85541.84Schristos_ASEOF 85551.84Schristostest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 85561.84Schristos 85571.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 85581.84Schristos# Save the log message, to keep $0 and so on meaningful, and to 85591.84Schristos# report actual input values of CONFIG_FILES etc. instead of their 85601.84Schristos# values after options handling. 85611.84Schristosac_log=" 85621.84SchristosThis file was extended by libnbcompat $as_me noversion, which was 85631.108Schristosgenerated by GNU Autoconf 2.72. Invocation command line was 85641.84Schristos 85651.84Schristos CONFIG_FILES = $CONFIG_FILES 85661.84Schristos CONFIG_HEADERS = $CONFIG_HEADERS 85671.84Schristos CONFIG_LINKS = $CONFIG_LINKS 85681.84Schristos CONFIG_COMMANDS = $CONFIG_COMMANDS 85691.84Schristos $ $0 $@ 85701.84Schristos 85711.84Schristoson `(hostname || uname -n) 2>/dev/null | sed 1q` 85721.84Schristos" 85731.1Stv 85741.66Stsutsui_ACEOF 85751.1Stv 85761.84Schristoscase $ac_config_files in *" 85771.84Schristos"*) set x $ac_config_files; shift; ac_config_files=$*;; 85781.84Schristosesac 85791.1Stv 85801.84Schristoscase $ac_config_headers in *" 85811.84Schristos"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 85821.84Schristosesac 85831.1Stv 85841.1Stv 85851.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 85861.84Schristos# Files that config.status was made for. 85871.84Schristosconfig_files="$ac_config_files" 85881.84Schristosconfig_headers="$ac_config_headers" 85891.1Stv 85901.84Schristos_ACEOF 85911.1Stv 85921.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 85931.1Stvac_cs_usage="\ 85941.108Schristos'$as_me' instantiates files and other configuration actions 85951.84Schristosfrom templates according to the current configuration. Unless the files 85961.84Schristosand actions are specified as TAGs, all are instantiated by default. 85971.1Stv 85981.84SchristosUsage: $0 [OPTION]... [TAG]... 85991.1Stv 86001.1Stv -h, --help print this help, then exit 86011.84Schristos -V, --version print version number and configuration settings, then exit 86021.84Schristos --config print configuration, then exit 86031.84Schristos -q, --quiet, --silent 86041.84Schristos do not print progress messages 86051.1Stv -d, --debug don't remove temporary files 86061.1Stv --recheck update $as_me by reconfiguring in the same conditions 86071.84Schristos --file=FILE[:TEMPLATE] 86081.66Stsutsui instantiate the configuration file FILE 86091.84Schristos --header=FILE[:TEMPLATE] 86101.66Stsutsui instantiate the configuration header FILE 86111.1Stv 86121.1StvConfiguration files: 86131.1Stv$config_files 86141.1Stv 86151.1StvConfiguration headers: 86161.1Stv$config_headers 86171.1Stv 86181.84SchristosReport bugs to <lib-bug-people@NetBSD.org>." 86191.1Stv 86201.84Schristos_ACEOF 86211.108Schristosac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 86221.108Schristosac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 86231.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 86241.108Schristosac_cs_config='$ac_cs_config_escaped' 86251.1Stvac_cs_version="\\ 86261.1Stvlibnbcompat config.status noversion 86271.108Schristosconfigured by $0, generated by GNU Autoconf 2.72, 86281.84Schristos with options \\"\$ac_cs_config\\" 86291.1Stv 86301.108SchristosCopyright (C) 2023 Free Software Foundation, Inc. 86311.1StvThis config.status script is free software; the Free Software Foundation 86321.1Stvgives unlimited permission to copy, distribute and modify it." 86331.1Stv 86341.84Schristosac_pwd='$ac_pwd' 86351.84Schristossrcdir='$srcdir' 86361.84Schristostest -n "\$AWK" || AWK=awk 86371.84Schristos_ACEOF 86381.84Schristos 86391.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 86401.84Schristos# The default lists apply if the user does not specify any file. 86411.1Stvac_need_defaults=: 86421.1Stvwhile test $# != 0 86431.1Stvdo 86441.1Stv case $1 in 86451.84Schristos --*=?*) 86461.84Schristos ac_option=`expr "X$1" : 'X\([^=]*\)='` 86471.84Schristos ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 86481.84Schristos ac_shift=: 86491.84Schristos ;; 86501.84Schristos --*=) 86511.84Schristos ac_option=`expr "X$1" : 'X\([^=]*\)='` 86521.84Schristos ac_optarg= 86531.84Schristos ac_shift=: 86541.84Schristos ;; 86551.84Schristos *) 86561.84Schristos ac_option=$1 86571.84Schristos ac_optarg=$2 86581.84Schristos ac_shift=shift 86591.1Stv ;; 86601.1Stv esac 86611.1Stv 86621.84Schristos case $ac_option in 86631.1Stv # Handling of the options. 86641.1Stv -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 86651.84Schristos ac_cs_recheck=: ;; 86661.84Schristos --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 86671.108Schristos printf "%s\n" "$ac_cs_version"; exit ;; 86681.84Schristos --config | --confi | --conf | --con | --co | --c ) 86691.108Schristos printf "%s\n" "$ac_cs_config"; exit ;; 86701.84Schristos --debug | --debu | --deb | --de | --d | -d ) 86711.1Stv debug=: ;; 86721.1Stv --file | --fil | --fi | --f ) 86731.84Schristos $ac_shift 86741.84Schristos case $ac_optarg in 86751.108Schristos *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 86761.84Schristos '') as_fn_error $? "missing file argument" ;; 86771.84Schristos esac 86781.84Schristos as_fn_append CONFIG_FILES " '$ac_optarg'" 86791.1Stv ac_need_defaults=false;; 86801.1Stv --header | --heade | --head | --hea ) 86811.84Schristos $ac_shift 86821.84Schristos case $ac_optarg in 86831.108Schristos *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 86841.84Schristos esac 86851.84Schristos as_fn_append CONFIG_HEADERS " '$ac_optarg'" 86861.1Stv ac_need_defaults=false;; 86871.84Schristos --he | --h) 86881.84Schristos # Conflict between --help and --header 86891.108Schristos as_fn_error $? "ambiguous option: '$1' 86901.108SchristosTry '$0 --help' for more information.";; 86911.84Schristos --help | --hel | -h ) 86921.108Schristos printf "%s\n" "$ac_cs_usage"; exit ;; 86931.84Schristos -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 86941.84Schristos | -silent | --silent | --silen | --sile | --sil | --si | --s) 86951.84Schristos ac_cs_silent=: ;; 86961.1Stv 86971.1Stv # This is an error. 86981.108Schristos -*) as_fn_error $? "unrecognized option: '$1' 86991.108SchristosTry '$0 --help' for more information." ;; 87001.1Stv 87011.84Schristos *) as_fn_append ac_config_targets " $1" 87021.84Schristos ac_need_defaults=false ;; 87031.1Stv 87041.1Stv esac 87051.1Stv shift 87061.1Stvdone 87071.1Stv 87081.84Schristosac_configure_extra_args= 87091.84Schristos 87101.84Schristosif $ac_cs_silent; then 87111.84Schristos exec 6>/dev/null 87121.84Schristos ac_configure_extra_args="$ac_configure_extra_args --silent" 87131.84Schristosfi 87141.74Schristos 87151.84Schristos_ACEOF 87161.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 87171.84Schristosif \$ac_cs_recheck; then 87181.84Schristos set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 87191.84Schristos shift 87201.108Schristos \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 87211.84Schristos CONFIG_SHELL='$SHELL' 87221.84Schristos export CONFIG_SHELL 87231.84Schristos exec "\$@" 87241.84Schristosfi 87251.1Stv 87261.84Schristos_ACEOF 87271.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 87281.84Schristosexec 5>>config.log 87291.84Schristos{ 87301.84Schristos echo 87311.84Schristos sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 87321.84Schristos## Running $as_me. ## 87331.84Schristos_ASBOX 87341.108Schristos printf "%s\n" "$ac_log" 87351.84Schristos} >&5 87361.1Stv 87371.1Stv_ACEOF 87381.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 87391.84Schristos_ACEOF 87401.84Schristos 87411.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 87421.1Stv 87431.84Schristos# Handling of arguments. 87441.1Stvfor ac_config_target in $ac_config_targets 87451.1Stvdo 87461.84Schristos case $ac_config_target in 87471.84Schristos "nbtool_config.h") CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;; 87481.84Schristos "defs.mk") CONFIG_FILES="$CONFIG_FILES defs.mk" ;; 87491.84Schristos 87501.108Schristos *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; 87511.1Stv esac 87521.1Stvdone 87531.1Stv 87541.84Schristos 87551.1Stv# If the user did not use the arguments to specify the items to instantiate, 87561.1Stv# then the envvar interface is used. Set only those that are not. 87571.1Stv# We use the long form for the default assignment because of an extremely 87581.1Stv# bizarre bug on SunOS 4.1.3. 87591.1Stvif $ac_need_defaults; then 87601.108Schristos test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 87611.108Schristos test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 87621.1Stvfi 87631.1Stv 87641.84Schristos# Have a temporary directory for convenience. Make it in the build tree 87651.84Schristos# simply because there is no reason against having it here, and in addition, 87661.84Schristos# creating and moving files from /tmp can sometimes cause problems. 87671.84Schristos# Hook for its removal unless debugging. 87681.84Schristos# Note that there is a small window in which the directory will not be cleaned: 87691.108Schristos# after its creation but before its name has been assigned to '$tmp'. 87701.1Stv$debug || 87711.1Stv{ 87721.84Schristos tmp= ac_tmp= 87731.84Schristos trap 'exit_status=$? 87741.84Schristos : "${ac_tmp:=$tmp}" 87751.84Schristos { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 87761.84Schristos' 0 87771.84Schristos trap 'as_fn_exit 1' 1 2 13 15 87781.1Stv} 87791.84Schristos# Create a (secure) tmp directory for tmp files. 87801.76Spooka 87811.1Stv{ 87821.84Schristos tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 87831.84Schristos test -d "$tmp" 87841.1Stv} || 87851.1Stv{ 87861.84Schristos tmp=./conf$$-$RANDOM 87871.84Schristos (umask 077 && mkdir "$tmp") 87881.84Schristos} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 87891.84Schristosac_tmp=$tmp 87901.1Stv 87911.84Schristos# Set up the scripts for CONFIG_FILES section. 87921.84Schristos# No need to generate them if there are no CONFIG_FILES. 87931.108Schristos# This happens for instance with './config.status config.h'. 87941.84Schristosif test -n "$CONFIG_FILES"; then 87951.66Stsutsui 87961.66Stsutsui 87971.84Schristosac_cr=`echo X | tr X '\015'` 87981.84Schristos# On cygwin, bash can eat \r inside `` if the user requested igncr. 87991.84Schristos# But we know of no other shell where ac_cr would be empty at this 88001.84Schristos# point, so we can use a bashism as a fallback. 88011.84Schristosif test "x$ac_cr" = x; then 88021.84Schristos eval ac_cr=\$\'\\r\' 88031.84Schristosfi 88041.84Schristosac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 88051.84Schristosif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 88061.84Schristos ac_cs_awk_cr='\\r' 88071.84Schristoselse 88081.84Schristos ac_cs_awk_cr=$ac_cr 88091.84Schristosfi 88101.1Stv 88111.84Schristosecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 88121.84Schristos_ACEOF 88131.65Schristos 88141.65Schristos 88151.84Schristos{ 88161.84Schristos echo "cat >conf$$subs.awk <<_ACEOF" && 88171.84Schristos echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 88181.84Schristos echo "_ACEOF" 88191.84Schristos} >conf$$subs.sh || 88201.84Schristos as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 88211.84Schristosac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 88221.84Schristosac_delim='%!_!# ' 88231.84Schristosfor ac_last_try in false false false false false :; do 88241.84Schristos . ./conf$$subs.sh || 88251.84Schristos as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 88261.65Schristos 88271.84Schristos ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 88281.84Schristos if test $ac_delim_n = $ac_delim_num; then 88291.84Schristos break 88301.84Schristos elif $ac_last_try; then 88311.84Schristos as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 88321.65Schristos else 88331.84Schristos ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 88341.1Stv fi 88351.84Schristosdone 88361.84Schristosrm -f conf$$subs.sh 88371.65Schristos 88381.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 88391.84Schristoscat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 88401.84Schristos_ACEOF 88411.84Schristossed -n ' 88421.84Schristosh 88431.84Schristoss/^/S["/; s/!.*/"]=/ 88441.84Schristosp 88451.84Schristosg 88461.84Schristoss/^[^!]*!// 88471.84Schristos:repl 88481.84Schristost repl 88491.84Schristoss/'"$ac_delim"'$// 88501.84Schristost delim 88511.84Schristos:nl 88521.84Schristosh 88531.84Schristoss/\(.\{148\}\)..*/\1/ 88541.84Schristost more1 88551.84Schristoss/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 88561.84Schristosp 88571.84Schristosn 88581.84Schristosb repl 88591.84Schristos:more1 88601.84Schristoss/["\\]/\\&/g; s/^/"/; s/$/"\\/ 88611.84Schristosp 88621.84Schristosg 88631.84Schristoss/.\{148\}// 88641.84Schristost nl 88651.84Schristos:delim 88661.84Schristosh 88671.84Schristoss/\(.\{148\}\)..*/\1/ 88681.84Schristost more2 88691.84Schristoss/["\\]/\\&/g; s/^/"/; s/$/"/ 88701.84Schristosp 88711.84Schristosb 88721.84Schristos:more2 88731.84Schristoss/["\\]/\\&/g; s/^/"/; s/$/"\\/ 88741.84Schristosp 88751.84Schristosg 88761.84Schristoss/.\{148\}// 88771.84Schristost delim 88781.84Schristos' <conf$$subs.awk | sed ' 88791.84Schristos/^[^""]/{ 88801.84Schristos N 88811.84Schristos s/\n// 88821.84Schristos} 88831.84Schristos' >>$CONFIG_STATUS || ac_write_fail=1 88841.84Schristosrm -f conf$$subs.awk 88851.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 88861.84Schristos_ACAWK 88871.84Schristoscat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 88881.84Schristos for (key in S) S_is_set[key] = 1 88891.84Schristos FS = "" 88901.84Schristos 88911.84Schristos} 88921.84Schristos{ 88931.84Schristos line = $ 0 88941.84Schristos nfields = split(line, field, "@") 88951.84Schristos substed = 0 88961.84Schristos len = length(field[1]) 88971.84Schristos for (i = 2; i < nfields; i++) { 88981.84Schristos key = field[i] 88991.84Schristos keylen = length(key) 89001.84Schristos if (S_is_set[key]) { 89011.84Schristos value = S[key] 89021.84Schristos line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 89031.84Schristos len += length(value) + length(field[++i]) 89041.84Schristos substed = 1 89051.84Schristos } else 89061.84Schristos len += 1 + keylen 89071.84Schristos } 89081.84Schristos 89091.84Schristos print line 89101.84Schristos} 89111.84Schristos 89121.84Schristos_ACAWK 89131.84Schristos_ACEOF 89141.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 89151.84Schristosif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 89161.84Schristos sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 89171.84Schristoselse 89181.84Schristos cat 89191.84Schristosfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 89201.84Schristos || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 89211.84Schristos_ACEOF 89221.84Schristos 89231.84Schristos# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 89241.84Schristos# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 89251.84Schristos# trailing colons and then remove the whole line if VPATH becomes empty 89261.84Schristos# (actually we leave an empty line to preserve line numbers). 89271.84Schristosif test "x$srcdir" = x.; then 89281.84Schristos ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 89291.84Schristosh 89301.84Schristoss/// 89311.84Schristoss/^/:/ 89321.84Schristoss/[ ]*$/:/ 89331.84Schristoss/:\$(srcdir):/:/g 89341.84Schristoss/:\${srcdir}:/:/g 89351.84Schristoss/:@srcdir@:/:/g 89361.84Schristoss/^:*// 89371.84Schristoss/:*$// 89381.84Schristosx 89391.84Schristoss/\(=[ ]*\).*/\1/ 89401.84SchristosG 89411.84Schristoss/\n// 89421.84Schristoss/^[^=]*=[ ]*$// 89431.84Schristos}' 89441.84Schristosfi 89451.84Schristos 89461.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 89471.84Schristosfi # test -n "$CONFIG_FILES" 89481.74Schristos 89491.84Schristos# Set up the scripts for CONFIG_HEADERS section. 89501.84Schristos# No need to generate them if there are no CONFIG_HEADERS. 89511.108Schristos# This happens for instance with './config.status Makefile'. 89521.84Schristosif test -n "$CONFIG_HEADERS"; then 89531.84Schristoscat >"$ac_tmp/defines.awk" <<\_ACAWK || 89541.84SchristosBEGIN { 89551.84Schristos_ACEOF 89561.84Schristos 89571.108Schristos# Transform confdefs.h into an awk script 'defines.awk', embedded as 89581.84Schristos# here-document in config.status, that substitutes the proper values into 89591.84Schristos# config.h.in to produce config.h. 89601.84Schristos 89611.84Schristos# Create a delimiter string that does not exist in confdefs.h, to ease 89621.84Schristos# handling of long lines. 89631.84Schristosac_delim='%!_!# ' 89641.84Schristosfor ac_last_try in false false :; do 89651.84Schristos ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 89661.84Schristos if test -z "$ac_tt"; then 89671.84Schristos break 89681.84Schristos elif $ac_last_try; then 89691.84Schristos as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 89701.66Stsutsui else 89711.84Schristos ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 89721.66Stsutsui fi 89731.66Stsutsuidone 89741.66Stsutsui 89751.84Schristos# For the awk script, D is an array of macro values keyed by name, 89761.84Schristos# likewise P contains macro parameters if any. Preserve backslash 89771.84Schristos# newline sequences. 89781.84Schristos 89791.84Schristosac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 89801.84Schristossed -n ' 89811.84Schristoss/.\{148\}/&'"$ac_delim"'/g 89821.84Schristost rset 89831.84Schristos:rset 89841.84Schristoss/^[ ]*#[ ]*define[ ][ ]*/ / 89851.84Schristost def 89861.84Schristosd 89871.84Schristos:def 89881.84Schristoss/\\$// 89891.84Schristost bsnl 89901.84Schristoss/["\\]/\\&/g 89911.84Schristoss/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 89921.84SchristosD["\1"]=" \3"/p 89931.84Schristoss/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 89941.84Schristosd 89951.84Schristos:bsnl 89961.84Schristoss/["\\]/\\&/g 89971.84Schristoss/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 89981.84SchristosD["\1"]=" \3\\\\\\n"\\/p 89991.84Schristost cont 90001.84Schristoss/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 90011.84Schristost cont 90021.84Schristosd 90031.84Schristos:cont 90041.84Schristosn 90051.84Schristoss/.\{148\}/&'"$ac_delim"'/g 90061.84Schristost clear 90071.84Schristos:clear 90081.84Schristoss/\\$// 90091.84Schristost bsnlc 90101.84Schristoss/["\\]/\\&/g; s/^/"/; s/$/"/p 90111.84Schristosd 90121.84Schristos:bsnlc 90131.84Schristoss/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 90141.84Schristosb cont 90151.84Schristos' <confdefs.h | sed ' 90161.84Schristoss/'"$ac_delim"'/"\\\ 90171.84Schristos"/g' >>$CONFIG_STATUS || ac_write_fail=1 90181.84Schristos 90191.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 90201.84Schristos for (key in D) D_is_set[key] = 1 90211.84Schristos FS = "" 90221.84Schristos} 90231.84Schristos/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 90241.84Schristos line = \$ 0 90251.84Schristos split(line, arg, " ") 90261.84Schristos if (arg[1] == "#") { 90271.84Schristos defundef = arg[2] 90281.84Schristos mac1 = arg[3] 90291.84Schristos } else { 90301.84Schristos defundef = substr(arg[1], 2) 90311.84Schristos mac1 = arg[2] 90321.84Schristos } 90331.84Schristos split(mac1, mac2, "(") #) 90341.84Schristos macro = mac2[1] 90351.84Schristos prefix = substr(line, 1, index(line, defundef) - 1) 90361.84Schristos if (D_is_set[macro]) { 90371.84Schristos # Preserve the white space surrounding the "#". 90381.84Schristos print prefix "define", macro P[macro] D[macro] 90391.84Schristos next 90401.84Schristos } else { 90411.84Schristos # Replace #undef with comments. This is necessary, for example, 90421.84Schristos # in the case of _POSIX_SOURCE, which is predefined and required 90431.84Schristos # on some systems where configure will not decide to define it. 90441.84Schristos if (defundef == "undef") { 90451.84Schristos print "/*", prefix defundef, macro, "*/" 90461.84Schristos next 90471.84Schristos } 90481.84Schristos } 90491.84Schristos} 90501.84Schristos{ print } 90511.84Schristos_ACAWK 90521.84Schristos_ACEOF 90531.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 90541.84Schristos as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 90551.84Schristosfi # test -n "$CONFIG_HEADERS" 90561.66Stsutsui 90571.1Stv 90581.84Schristoseval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 90591.84Schristosshift 90601.84Schristosfor ac_tag 90611.84Schristosdo 90621.84Schristos case $ac_tag in 90631.84Schristos :[FHLC]) ac_mode=$ac_tag; continue;; 90641.84Schristos esac 90651.84Schristos case $ac_mode$ac_tag in 90661.84Schristos :[FHL]*:*);; 90671.108Schristos :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; 90681.84Schristos :[FH]-) ac_tag=-:-;; 90691.84Schristos :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 90701.74Schristos esac 90711.84Schristos ac_save_IFS=$IFS 90721.84Schristos IFS=: 90731.84Schristos set x $ac_tag 90741.84Schristos IFS=$ac_save_IFS 90751.84Schristos shift 90761.84Schristos ac_file=$1 90771.84Schristos shift 90781.84Schristos 90791.84Schristos case $ac_mode in 90801.84Schristos :L) ac_source=$1;; 90811.84Schristos :[FH]) 90821.84Schristos ac_file_inputs= 90831.84Schristos for ac_f 90841.84Schristos do 90851.84Schristos case $ac_f in 90861.84Schristos -) ac_f="$ac_tmp/stdin";; 90871.84Schristos *) # Look for the file first in the build tree, then in the source tree 90881.84Schristos # (if the path is not absolute). The absolute path cannot be DOS-style, 90891.108Schristos # because $ac_f cannot contain ':'. 90901.84Schristos test -f "$ac_f" || 90911.84Schristos case $ac_f in 90921.84Schristos [\\/$]*) false;; 90931.84Schristos *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 90941.84Schristos esac || 90951.108Schristos as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; 90961.84Schristos esac 90971.108Schristos case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 90981.84Schristos as_fn_append ac_file_inputs " '$ac_f'" 90991.84Schristos done 91001.74Schristos 91011.108Schristos # Let's still pretend it is 'configure' which instantiates (i.e., don't 91021.84Schristos # use $as_me), people would be surprised to read: 91031.84Schristos # /* config.h. Generated by config.status. */ 91041.84Schristos configure_input='Generated from '` 91051.108Schristos printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 91061.84Schristos `' by configure.' 91071.84Schristos if test x"$ac_file" != x-; then 91081.84Schristos configure_input="$ac_file. $configure_input" 91091.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 91101.108Schristosprintf "%s\n" "$as_me: creating $ac_file" >&6;} 91111.84Schristos fi 91121.84Schristos # Neutralize special characters interpreted by sed in replacement strings. 91131.84Schristos case $configure_input in #( 91141.84Schristos *\&* | *\|* | *\\* ) 91151.108Schristos ac_sed_conf_input=`printf "%s\n" "$configure_input" | 91161.84Schristos sed 's/[\\\\&|]/\\\\&/g'`;; #( 91171.84Schristos *) ac_sed_conf_input=$configure_input;; 91181.84Schristos esac 91191.76Spooka 91201.84Schristos case $ac_tag in 91211.84Schristos *:-:* | *:-) cat >"$ac_tmp/stdin" \ 91221.84Schristos || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 91231.84Schristos esac 91241.66Stsutsui ;; 91251.66Stsutsui esac 91261.66Stsutsui 91271.84Schristos ac_dir=`$as_dirname -- "$ac_file" || 91281.84Schristos$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 91291.84Schristos X"$ac_file" : 'X\(//\)[^/]' \| \ 91301.84Schristos X"$ac_file" : 'X\(//\)$' \| \ 91311.84Schristos X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 91321.108Schristosprintf "%s\n" X"$ac_file" | 91331.84Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 91341.84Schristos s//\1/ 91351.84Schristos q 91361.84Schristos } 91371.84Schristos /^X\(\/\/\)[^/].*/{ 91381.84Schristos s//\1/ 91391.84Schristos q 91401.84Schristos } 91411.84Schristos /^X\(\/\/\)$/{ 91421.84Schristos s//\1/ 91431.84Schristos q 91441.84Schristos } 91451.84Schristos /^X\(\/\).*/{ 91461.84Schristos s//\1/ 91471.84Schristos q 91481.84Schristos } 91491.84Schristos s/.*/./; q'` 91501.84Schristos as_dir="$ac_dir"; as_fn_mkdir_p 91511.84Schristos ac_builddir=. 91521.84Schristos 91531.84Schristoscase "$ac_dir" in 91541.84Schristos.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 91551.84Schristos*) 91561.108Schristos ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 91571.84Schristos # A ".." for each directory in $ac_dir_suffix. 91581.108Schristos ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 91591.84Schristos case $ac_top_builddir_sub in 91601.84Schristos "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 91611.84Schristos *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 91621.84Schristos esac ;; 91631.84Schristosesac 91641.84Schristosac_abs_top_builddir=$ac_pwd 91651.84Schristosac_abs_builddir=$ac_pwd$ac_dir_suffix 91661.84Schristos# for backward compatibility: 91671.84Schristosac_top_builddir=$ac_top_build_prefix 91681.84Schristos 91691.84Schristoscase $srcdir in 91701.84Schristos .) # We are building in place. 91711.84Schristos ac_srcdir=. 91721.84Schristos ac_top_srcdir=$ac_top_builddir_sub 91731.84Schristos ac_abs_top_srcdir=$ac_pwd ;; 91741.84Schristos [\\/]* | ?:[\\/]* ) # Absolute name. 91751.84Schristos ac_srcdir=$srcdir$ac_dir_suffix; 91761.84Schristos ac_top_srcdir=$srcdir 91771.84Schristos ac_abs_top_srcdir=$srcdir ;; 91781.84Schristos *) # Relative name. 91791.84Schristos ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 91801.84Schristos ac_top_srcdir=$ac_top_build_prefix$srcdir 91811.84Schristos ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 91821.84Schristosesac 91831.84Schristosac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 91841.84Schristos 91851.84Schristos 91861.84Schristos case $ac_mode in 91871.84Schristos :F) 91881.84Schristos # 91891.84Schristos # CONFIG_FILE 91901.84Schristos # 91911.84Schristos 91921.84Schristos_ACEOF 91931.84Schristos 91941.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 91951.84Schristos# If the template does not know about datarootdir, expand it. 91961.84Schristos# FIXME: This hack should be removed a few years after 2.60. 91971.84Schristosac_datarootdir_hack=; ac_datarootdir_seen= 91981.84Schristosac_sed_dataroot=' 91991.84Schristos/datarootdir/ { 92001.84Schristos p 92011.84Schristos q 92021.84Schristos} 92031.84Schristos/@datadir@/p 92041.84Schristos/@docdir@/p 92051.84Schristos/@infodir@/p 92061.84Schristos/@localedir@/p 92071.84Schristos/@mandir@/p' 92081.84Schristoscase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 92091.84Schristos*datarootdir*) ac_datarootdir_seen=yes;; 92101.84Schristos*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 92111.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 92121.108Schristosprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 92131.84Schristos_ACEOF 92141.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 92151.84Schristos ac_datarootdir_hack=' 92161.84Schristos s&@datadir@&$datadir&g 92171.84Schristos s&@docdir@&$docdir&g 92181.84Schristos s&@infodir@&$infodir&g 92191.84Schristos s&@localedir@&$localedir&g 92201.84Schristos s&@mandir@&$mandir&g 92211.84Schristos s&\\\${datarootdir}&$datarootdir&g' ;; 92221.84Schristosesac 92231.84Schristos_ACEOF 92241.84Schristos 92251.108Schristos# Neutralize VPATH when '$srcdir' = '.'. 92261.84Schristos# Shell code in configure.ac might set extrasub. 92271.84Schristos# FIXME: do we really want to maintain this feature? 92281.84Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 92291.84Schristosac_sed_extra="$ac_vpsub 92301.84Schristos$extrasub 92311.84Schristos_ACEOF 92321.84Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 92331.84Schristos:t 92341.84Schristos/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 92351.84Schristoss|@configure_input@|$ac_sed_conf_input|;t t 92361.84Schristoss&@top_builddir@&$ac_top_builddir_sub&;t t 92371.84Schristoss&@top_build_prefix@&$ac_top_build_prefix&;t t 92381.84Schristoss&@srcdir@&$ac_srcdir&;t t 92391.84Schristoss&@abs_srcdir@&$ac_abs_srcdir&;t t 92401.84Schristoss&@top_srcdir@&$ac_top_srcdir&;t t 92411.84Schristoss&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 92421.84Schristoss&@builddir@&$ac_builddir&;t t 92431.84Schristoss&@abs_builddir@&$ac_abs_builddir&;t t 92441.84Schristoss&@abs_top_builddir@&$ac_abs_top_builddir&;t t 92451.84Schristos$ac_datarootdir_hack 92461.84Schristos" 92471.84Schristoseval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 92481.84Schristos >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 92491.84Schristos 92501.84Schristostest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 92511.84Schristos { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 92521.84Schristos { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 92531.84Schristos "$ac_tmp/out"`; test -z "$ac_out"; } && 92541.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir' 92551.84Schristoswhich seems to be undefined. Please make sure it is defined" >&5 92561.108Schristosprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir' 92571.84Schristoswhich seems to be undefined. Please make sure it is defined" >&2;} 92581.84Schristos 92591.84Schristos rm -f "$ac_tmp/stdin" 92601.84Schristos case $ac_file in 92611.84Schristos -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 92621.84Schristos *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 92631.84Schristos esac \ 92641.84Schristos || as_fn_error $? "could not create $ac_file" "$LINENO" 5 92651.84Schristos ;; 92661.84Schristos :H) 92671.84Schristos # 92681.84Schristos # CONFIG_HEADER 92691.84Schristos # 92701.84Schristos if test x"$ac_file" != x-; then 92711.84Schristos { 92721.108Schristos printf "%s\n" "/* $configure_input */" >&1 \ 92731.84Schristos && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 92741.84Schristos } >"$ac_tmp/config.h" \ 92751.84Schristos || as_fn_error $? "could not create $ac_file" "$LINENO" 5 92761.84Schristos if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 92771.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 92781.108Schristosprintf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 92791.84Schristos else 92801.84Schristos rm -f "$ac_file" 92811.84Schristos mv "$ac_tmp/config.h" "$ac_file" \ 92821.84Schristos || as_fn_error $? "could not create $ac_file" "$LINENO" 5 92831.1Stv fi 92841.1Stv else 92851.108Schristos printf "%s\n" "/* $configure_input */" >&1 \ 92861.84Schristos && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 92871.84Schristos || as_fn_error $? "could not create -" "$LINENO" 5 92881.1Stv fi 92891.84Schristos ;; 92901.84Schristos 92911.84Schristos 92921.84Schristos esac 92931.84Schristos 92941.84Schristosdone # for ac_tag 92951.74Schristos 92961.74Schristos 92971.84Schristosas_fn_exit 0 92981.84Schristos_ACEOF 92991.1Stvac_clean_files=$ac_clean_files_save 93001.1Stv 93011.84Schristostest $ac_write_fail = 0 || 93021.84Schristos as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 93031.84Schristos 93041.84Schristos 93051.1Stv# configure is writing to config.log, and then calls config.status. 93061.1Stv# config.status does its own redirection, appending to config.log. 93071.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open 93081.1Stv# by configure, so config.status won't be able to write to it; its 93091.1Stv# output is simply discarded. So we exec the FD to /dev/null, 93101.1Stv# effectively closing config.log, so it can be properly (re)opened and 93111.1Stv# appended to by config.status. When coming back to configure, we 93121.1Stv# need to make the FD available again. 93131.1Stvif test "$no_create" != yes; then 93141.1Stv ac_cs_success=: 93151.84Schristos ac_config_status_args= 93161.84Schristos test "$silent" = yes && 93171.84Schristos ac_config_status_args="$ac_config_status_args --quiet" 93181.1Stv exec 5>/dev/null 93191.84Schristos $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 93201.1Stv exec 5>>config.log 93211.1Stv # Use ||, not &&, to avoid exiting from the if with $? = 1, which 93221.1Stv # would make configure fail if this is the last instruction. 93231.84Schristos $ac_cs_success || as_fn_exit 1 93241.84Schristosfi 93251.84Schristosif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 93261.108Schristos { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 93271.108Schristosprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 93281.1Stvfi 93291.96Shannken 93301.102Slukem 93311.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ========= configure results for compat ==========" >&5 93321.108Schristosprintf "%s\n" "$as_me: ========= configure results for compat ==========" >&6;} 93331.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: CC $CC" >&5 93341.108Schristosprintf "%s\n" "$as_me: CC $CC" >&6;} 93351.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: LIBS $LIBS" >&5 93361.108Schristosprintf "%s\n" "$as_me: LIBS $LIBS" >&6;} 93371.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: CC_NO_CPP_PRECOMP $CC_NO_CPP_PRECOMP" >&5 93381.108Schristosprintf "%s\n" "$as_me: CC_NO_CPP_PRECOMP $CC_NO_CPP_PRECOMP" >&6;} 93391.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: CC_WNO_ADDRESS_OF_PACKED_MEMBER $CC_WNO_ADDRESS_OF_PACKED_MEMBER" >&5 93401.108Schristosprintf "%s\n" "$as_me: CC_WNO_ADDRESS_OF_PACKED_MEMBER $CC_WNO_ADDRESS_OF_PACKED_MEMBER" >&6;} 93411.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: CC_WNO_CAST_FUNCTION_TYPE $CC_WNO_CAST_FUNCTION_TYPE" >&5 93421.108Schristosprintf "%s\n" "$as_me: CC_WNO_CAST_FUNCTION_TYPE $CC_WNO_CAST_FUNCTION_TYPE" >&6;} 93431.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: CC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER $CC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER" >&5 93441.108Schristosprintf "%s\n" "$as_me: CC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER $CC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER" >&6;} 93451.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: CC_WNO_FORMAT_OVERFLOW $CC_WNO_FORMAT_OVERFLOW" >&5 93461.108Schristosprintf "%s\n" "$as_me: CC_WNO_FORMAT_OVERFLOW $CC_WNO_FORMAT_OVERFLOW" >&6;} 93471.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: CC_WNO_FORMAT_TRUNCATION $CC_WNO_FORMAT_TRUNCATION" >&5 93481.108Schristosprintf "%s\n" "$as_me: CC_WNO_FORMAT_TRUNCATION $CC_WNO_FORMAT_TRUNCATION" >&6;} 93491.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: CC_WNO_IMPLICIT_FALLTHROUGH $CC_WNO_IMPLICIT_FALLTHROUGH" >&5 93501.108Schristosprintf "%s\n" "$as_me: CC_WNO_IMPLICIT_FALLTHROUGH $CC_WNO_IMPLICIT_FALLTHROUGH" >&6;} 93511.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: CC_WNO_MAYBE_UNINITIALIZED $CC_WNO_MAYBE_UNINITIALIZED" >&5 93521.108Schristosprintf "%s\n" "$as_me: CC_WNO_MAYBE_UNINITIALIZED $CC_WNO_MAYBE_UNINITIALIZED" >&6;} 93531.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: CC_WNO_RETURN_LOCAL_ADDR $CC_WNO_RETURN_LOCAL_ADDR" >&5 93541.108Schristosprintf "%s\n" "$as_me: CC_WNO_RETURN_LOCAL_ADDR $CC_WNO_RETURN_LOCAL_ADDR" >&6;} 93551.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: CC_WNO_STRINGOP_OVERFLOW $CC_WNO_STRINGOP_OVERFLOW" >&5 93561.108Schristosprintf "%s\n" "$as_me: CC_WNO_STRINGOP_OVERFLOW $CC_WNO_STRINGOP_OVERFLOW" >&6;} 93571.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: CC_WNO_STRINGOP_TRUNCATION $CC_WNO_STRINGOP_TRUNCATION" >&5 93581.108Schristosprintf "%s\n" "$as_me: CC_WNO_STRINGOP_TRUNCATION $CC_WNO_STRINGOP_TRUNCATION" >&6;} 93591.108Schristos 93601.108Schristos{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ================================================" >&5 93611.108Schristosprintf "%s\n" "$as_me: ================================================" >&6;} 93621.103Slukem 9363