1*d874e919Schristos#! /bin/sh 2*d874e919Schristos# Guess values for system-dependent variables and create Makefiles. 3*d874e919Schristos# Generated by GNU Autoconf 2.69 for GNU Autoconf 2.69. 4*d874e919Schristos# 5*d874e919Schristos# Report bugs to <bug-autoconf@gnu.org>. 6*d874e919Schristos# 7*d874e919Schristos# 8*d874e919Schristos# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9*d874e919Schristos# 10*d874e919Schristos# 11*d874e919Schristos# This configure script is free software; the Free Software Foundation 12*d874e919Schristos# gives unlimited permission to copy, distribute and modify it. 13*d874e919Schristos## -------------------- ## 14*d874e919Schristos## M4sh Initialization. ## 15*d874e919Schristos## -------------------- ## 16*d874e919Schristos 17*d874e919Schristos# Be more Bourne compatible 18*d874e919SchristosDUALCASE=1; export DUALCASE # for MKS sh 19*d874e919Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20*d874e919Schristos emulate sh 21*d874e919Schristos NULLCMD=: 22*d874e919Schristos # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23*d874e919Schristos # is contrary to our usage. Disable this feature. 24*d874e919Schristos alias -g '${1+"$@"}'='"$@"' 25*d874e919Schristos setopt NO_GLOB_SUBST 26*d874e919Schristoselse 27*d874e919Schristos case `(set -o) 2>/dev/null` in #( 28*d874e919Schristos *posix*) : 29*d874e919Schristos set -o posix ;; #( 30*d874e919Schristos *) : 31*d874e919Schristos ;; 32*d874e919Schristosesac 33*d874e919Schristosfi 34*d874e919Schristos 35*d874e919Schristos 36*d874e919Schristosas_nl=' 37*d874e919Schristos' 38*d874e919Schristosexport as_nl 39*d874e919Schristos# Printing a long string crashes Solaris 7 /usr/bin/printf. 40*d874e919Schristosas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41*d874e919Schristosas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42*d874e919Schristosas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43*d874e919Schristos# Prefer a ksh shell builtin over an external printf program on Solaris, 44*d874e919Schristos# but without wasting forks for bash or zsh. 45*d874e919Schristosif test -z "$BASH_VERSION$ZSH_VERSION" \ 46*d874e919Schristos && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47*d874e919Schristos as_echo='print -r --' 48*d874e919Schristos as_echo_n='print -rn --' 49*d874e919Schristoselif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50*d874e919Schristos as_echo='printf %s\n' 51*d874e919Schristos as_echo_n='printf %s' 52*d874e919Schristoselse 53*d874e919Schristos if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54*d874e919Schristos as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55*d874e919Schristos as_echo_n='/usr/ucb/echo -n' 56*d874e919Schristos else 57*d874e919Schristos as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58*d874e919Schristos as_echo_n_body='eval 59*d874e919Schristos arg=$1; 60*d874e919Schristos case $arg in #( 61*d874e919Schristos *"$as_nl"*) 62*d874e919Schristos expr "X$arg" : "X\\(.*\\)$as_nl"; 63*d874e919Schristos arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64*d874e919Schristos esac; 65*d874e919Schristos expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66*d874e919Schristos ' 67*d874e919Schristos export as_echo_n_body 68*d874e919Schristos as_echo_n='sh -c $as_echo_n_body as_echo' 69*d874e919Schristos fi 70*d874e919Schristos export as_echo_body 71*d874e919Schristos as_echo='sh -c $as_echo_body as_echo' 72*d874e919Schristosfi 73*d874e919Schristos 74*d874e919Schristos# The user is always right. 75*d874e919Schristosif test "${PATH_SEPARATOR+set}" != set; then 76*d874e919Schristos PATH_SEPARATOR=: 77*d874e919Schristos (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78*d874e919Schristos (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79*d874e919Schristos PATH_SEPARATOR=';' 80*d874e919Schristos } 81*d874e919Schristosfi 82*d874e919Schristos 83*d874e919Schristos 84*d874e919Schristos# IFS 85*d874e919Schristos# We need space, tab and new line, in precisely that order. Quoting is 86*d874e919Schristos# there to prevent editors from complaining about space-tab. 87*d874e919Schristos# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88*d874e919Schristos# splitting by setting IFS to empty value.) 89*d874e919SchristosIFS=" "" $as_nl" 90*d874e919Schristos 91*d874e919Schristos# Find who we are. Look in the path if we contain no directory separator. 92*d874e919Schristosas_myself= 93*d874e919Schristoscase $0 in #(( 94*d874e919Schristos *[\\/]* ) as_myself=$0 ;; 95*d874e919Schristos *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96*d874e919Schristosfor as_dir in $PATH 97*d874e919Schristosdo 98*d874e919Schristos IFS=$as_save_IFS 99*d874e919Schristos test -z "$as_dir" && as_dir=. 100*d874e919Schristos test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101*d874e919Schristos done 102*d874e919SchristosIFS=$as_save_IFS 103*d874e919Schristos 104*d874e919Schristos ;; 105*d874e919Schristosesac 106*d874e919Schristos# We did not find ourselves, most probably we were run as `sh COMMAND' 107*d874e919Schristos# in which case we are not to be found in the path. 108*d874e919Schristosif test "x$as_myself" = x; then 109*d874e919Schristos as_myself=$0 110*d874e919Schristosfi 111*d874e919Schristosif test ! -f "$as_myself"; then 112*d874e919Schristos $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113*d874e919Schristos exit 1 114*d874e919Schristosfi 115*d874e919Schristos 116*d874e919Schristos# Unset variables that we do not need and which cause bugs (e.g. in 117*d874e919Schristos# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118*d874e919Schristos# suppresses any "Segmentation fault" message there. '((' could 119*d874e919Schristos# trigger a bug in pdksh 5.2.14. 120*d874e919Schristosfor as_var in BASH_ENV ENV MAIL MAILPATH 121*d874e919Schristosdo eval test x\${$as_var+set} = xset \ 122*d874e919Schristos && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123*d874e919Schristosdone 124*d874e919SchristosPS1='$ ' 125*d874e919SchristosPS2='> ' 126*d874e919SchristosPS4='+ ' 127*d874e919Schristos 128*d874e919Schristos# NLS nuisances. 129*d874e919SchristosLC_ALL=C 130*d874e919Schristosexport LC_ALL 131*d874e919SchristosLANGUAGE=C 132*d874e919Schristosexport LANGUAGE 133*d874e919Schristos 134*d874e919Schristos# CDPATH. 135*d874e919Schristos(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136*d874e919Schristos 137*d874e919Schristos# Use a proper internal environment variable to ensure we don't fall 138*d874e919Schristos # into an infinite loop, continuously re-executing ourselves. 139*d874e919Schristos if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140*d874e919Schristos _as_can_reexec=no; export _as_can_reexec; 141*d874e919Schristos # We cannot yet assume a decent shell, so we have to provide a 142*d874e919Schristos# neutralization value for shells without unset; and this also 143*d874e919Schristos# works around shells that cannot unset nonexistent variables. 144*d874e919Schristos# Preserve -v and -x to the replacement shell. 145*d874e919SchristosBASH_ENV=/dev/null 146*d874e919SchristosENV=/dev/null 147*d874e919Schristos(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148*d874e919Schristoscase $- in # (((( 149*d874e919Schristos *v*x* | *x*v* ) as_opts=-vx ;; 150*d874e919Schristos *v* ) as_opts=-v ;; 151*d874e919Schristos *x* ) as_opts=-x ;; 152*d874e919Schristos * ) as_opts= ;; 153*d874e919Schristosesac 154*d874e919Schristosexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155*d874e919Schristos# Admittedly, this is quite paranoid, since all the known shells bail 156*d874e919Schristos# out after a failed `exec'. 157*d874e919Schristos$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158*d874e919Schristosas_fn_exit 255 159*d874e919Schristos fi 160*d874e919Schristos # We don't want this to propagate to other subprocesses. 161*d874e919Schristos { _as_can_reexec=; unset _as_can_reexec;} 162*d874e919Schristosif test "x$CONFIG_SHELL" = x; then 163*d874e919Schristos as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164*d874e919Schristos emulate sh 165*d874e919Schristos NULLCMD=: 166*d874e919Schristos # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167*d874e919Schristos # is contrary to our usage. Disable this feature. 168*d874e919Schristos alias -g '\${1+\"\$@\"}'='\"\$@\"' 169*d874e919Schristos setopt NO_GLOB_SUBST 170*d874e919Schristoselse 171*d874e919Schristos case \`(set -o) 2>/dev/null\` in #( 172*d874e919Schristos *posix*) : 173*d874e919Schristos set -o posix ;; #( 174*d874e919Schristos *) : 175*d874e919Schristos ;; 176*d874e919Schristosesac 177*d874e919Schristosfi 178*d874e919Schristos" 179*d874e919Schristos as_required="as_fn_return () { (exit \$1); } 180*d874e919Schristosas_fn_success () { as_fn_return 0; } 181*d874e919Schristosas_fn_failure () { as_fn_return 1; } 182*d874e919Schristosas_fn_ret_success () { return 0; } 183*d874e919Schristosas_fn_ret_failure () { return 1; } 184*d874e919Schristos 185*d874e919Schristosexitcode=0 186*d874e919Schristosas_fn_success || { exitcode=1; echo as_fn_success failed.; } 187*d874e919Schristosas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188*d874e919Schristosas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189*d874e919Schristosas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190*d874e919Schristosif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191*d874e919Schristos 192*d874e919Schristoselse 193*d874e919Schristos exitcode=1; echo positional parameters were not saved. 194*d874e919Schristosfi 195*d874e919Schristostest x\$exitcode = x0 || exit 1 196*d874e919Schristostest -x / || exit 1" 197*d874e919Schristos as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198*d874e919Schristos as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199*d874e919Schristos eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200*d874e919Schristos test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201*d874e919Schristostest \$(( 1 + 1 )) = 2 || exit 1" 202*d874e919Schristos if (eval "$as_required") 2>/dev/null; then : 203*d874e919Schristos as_have_required=yes 204*d874e919Schristoselse 205*d874e919Schristos as_have_required=no 206*d874e919Schristosfi 207*d874e919Schristos if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208*d874e919Schristos 209*d874e919Schristoselse 210*d874e919Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211*d874e919Schristosas_found=false 212*d874e919Schristosfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213*d874e919Schristosdo 214*d874e919Schristos IFS=$as_save_IFS 215*d874e919Schristos test -z "$as_dir" && as_dir=. 216*d874e919Schristos as_found=: 217*d874e919Schristos case $as_dir in #( 218*d874e919Schristos /*) 219*d874e919Schristos for as_base in sh bash ksh sh5; do 220*d874e919Schristos # Try only shells that exist, to save several forks. 221*d874e919Schristos as_shell=$as_dir/$as_base 222*d874e919Schristos if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223*d874e919Schristos { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224*d874e919Schristos CONFIG_SHELL=$as_shell as_have_required=yes 225*d874e919Schristos if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226*d874e919Schristos break 2 227*d874e919Schristosfi 228*d874e919Schristosfi 229*d874e919Schristos done;; 230*d874e919Schristos esac 231*d874e919Schristos as_found=false 232*d874e919Schristosdone 233*d874e919Schristos$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234*d874e919Schristos { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235*d874e919Schristos CONFIG_SHELL=$SHELL as_have_required=yes 236*d874e919Schristosfi; } 237*d874e919SchristosIFS=$as_save_IFS 238*d874e919Schristos 239*d874e919Schristos 240*d874e919Schristos if test "x$CONFIG_SHELL" != x; then : 241*d874e919Schristos export CONFIG_SHELL 242*d874e919Schristos # We cannot yet assume a decent shell, so we have to provide a 243*d874e919Schristos# neutralization value for shells without unset; and this also 244*d874e919Schristos# works around shells that cannot unset nonexistent variables. 245*d874e919Schristos# Preserve -v and -x to the replacement shell. 246*d874e919SchristosBASH_ENV=/dev/null 247*d874e919SchristosENV=/dev/null 248*d874e919Schristos(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249*d874e919Schristoscase $- in # (((( 250*d874e919Schristos *v*x* | *x*v* ) as_opts=-vx ;; 251*d874e919Schristos *v* ) as_opts=-v ;; 252*d874e919Schristos *x* ) as_opts=-x ;; 253*d874e919Schristos * ) as_opts= ;; 254*d874e919Schristosesac 255*d874e919Schristosexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256*d874e919Schristos# Admittedly, this is quite paranoid, since all the known shells bail 257*d874e919Schristos# out after a failed `exec'. 258*d874e919Schristos$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259*d874e919Schristosexit 255 260*d874e919Schristosfi 261*d874e919Schristos 262*d874e919Schristos if test x$as_have_required = xno; then : 263*d874e919Schristos $as_echo "$0: This script requires a shell more modern than all" 264*d874e919Schristos $as_echo "$0: the shells that I found on your system." 265*d874e919Schristos if test x${ZSH_VERSION+set} = xset ; then 266*d874e919Schristos $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267*d874e919Schristos $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268*d874e919Schristos else 269*d874e919Schristos $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 270*d874e919Schristos$0: including any error possibly output before this 271*d874e919Schristos$0: message. Then install a modern shell, or manually run 272*d874e919Schristos$0: the script under such a shell if you do have one." 273*d874e919Schristos fi 274*d874e919Schristos exit 1 275*d874e919Schristosfi 276*d874e919Schristosfi 277*d874e919Schristosfi 278*d874e919SchristosSHELL=${CONFIG_SHELL-/bin/sh} 279*d874e919Schristosexport SHELL 280*d874e919Schristos# Unset more variables known to interfere with behavior of common tools. 281*d874e919SchristosCLICOLOR_FORCE= GREP_OPTIONS= 282*d874e919Schristosunset CLICOLOR_FORCE GREP_OPTIONS 283*d874e919Schristos 284*d874e919Schristos## --------------------- ## 285*d874e919Schristos## M4sh Shell Functions. ## 286*d874e919Schristos## --------------------- ## 287*d874e919Schristos# as_fn_unset VAR 288*d874e919Schristos# --------------- 289*d874e919Schristos# Portably unset VAR. 290*d874e919Schristosas_fn_unset () 291*d874e919Schristos{ 292*d874e919Schristos { eval $1=; unset $1;} 293*d874e919Schristos} 294*d874e919Schristosas_unset=as_fn_unset 295*d874e919Schristos 296*d874e919Schristos# as_fn_set_status STATUS 297*d874e919Schristos# ----------------------- 298*d874e919Schristos# Set $? to STATUS, without forking. 299*d874e919Schristosas_fn_set_status () 300*d874e919Schristos{ 301*d874e919Schristos return $1 302*d874e919Schristos} # as_fn_set_status 303*d874e919Schristos 304*d874e919Schristos# as_fn_exit STATUS 305*d874e919Schristos# ----------------- 306*d874e919Schristos# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 307*d874e919Schristosas_fn_exit () 308*d874e919Schristos{ 309*d874e919Schristos set +e 310*d874e919Schristos as_fn_set_status $1 311*d874e919Schristos exit $1 312*d874e919Schristos} # as_fn_exit 313*d874e919Schristos 314*d874e919Schristos# as_fn_mkdir_p 315*d874e919Schristos# ------------- 316*d874e919Schristos# Create "$as_dir" as a directory, including parents if necessary. 317*d874e919Schristosas_fn_mkdir_p () 318*d874e919Schristos{ 319*d874e919Schristos 320*d874e919Schristos case $as_dir in #( 321*d874e919Schristos -*) as_dir=./$as_dir;; 322*d874e919Schristos esac 323*d874e919Schristos test -d "$as_dir" || eval $as_mkdir_p || { 324*d874e919Schristos as_dirs= 325*d874e919Schristos while :; do 326*d874e919Schristos case $as_dir in #( 327*d874e919Schristos *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 328*d874e919Schristos *) as_qdir=$as_dir;; 329*d874e919Schristos esac 330*d874e919Schristos as_dirs="'$as_qdir' $as_dirs" 331*d874e919Schristos as_dir=`$as_dirname -- "$as_dir" || 332*d874e919Schristos$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 333*d874e919Schristos X"$as_dir" : 'X\(//\)[^/]' \| \ 334*d874e919Schristos X"$as_dir" : 'X\(//\)$' \| \ 335*d874e919Schristos X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 336*d874e919Schristos$as_echo X"$as_dir" | 337*d874e919Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 338*d874e919Schristos s//\1/ 339*d874e919Schristos q 340*d874e919Schristos } 341*d874e919Schristos /^X\(\/\/\)[^/].*/{ 342*d874e919Schristos s//\1/ 343*d874e919Schristos q 344*d874e919Schristos } 345*d874e919Schristos /^X\(\/\/\)$/{ 346*d874e919Schristos s//\1/ 347*d874e919Schristos q 348*d874e919Schristos } 349*d874e919Schristos /^X\(\/\).*/{ 350*d874e919Schristos s//\1/ 351*d874e919Schristos q 352*d874e919Schristos } 353*d874e919Schristos s/.*/./; q'` 354*d874e919Schristos test -d "$as_dir" && break 355*d874e919Schristos done 356*d874e919Schristos test -z "$as_dirs" || eval "mkdir $as_dirs" 357*d874e919Schristos } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 358*d874e919Schristos 359*d874e919Schristos 360*d874e919Schristos} # as_fn_mkdir_p 361*d874e919Schristos 362*d874e919Schristos# as_fn_executable_p FILE 363*d874e919Schristos# ----------------------- 364*d874e919Schristos# Test if FILE is an executable regular file. 365*d874e919Schristosas_fn_executable_p () 366*d874e919Schristos{ 367*d874e919Schristos test -f "$1" && test -x "$1" 368*d874e919Schristos} # as_fn_executable_p 369*d874e919Schristos# as_fn_append VAR VALUE 370*d874e919Schristos# ---------------------- 371*d874e919Schristos# Append the text in VALUE to the end of the definition contained in VAR. Take 372*d874e919Schristos# advantage of any shell optimizations that allow amortized linear growth over 373*d874e919Schristos# repeated appends, instead of the typical quadratic growth present in naive 374*d874e919Schristos# implementations. 375*d874e919Schristosif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 376*d874e919Schristos eval 'as_fn_append () 377*d874e919Schristos { 378*d874e919Schristos eval $1+=\$2 379*d874e919Schristos }' 380*d874e919Schristoselse 381*d874e919Schristos as_fn_append () 382*d874e919Schristos { 383*d874e919Schristos eval $1=\$$1\$2 384*d874e919Schristos } 385*d874e919Schristosfi # as_fn_append 386*d874e919Schristos 387*d874e919Schristos# as_fn_arith ARG... 388*d874e919Schristos# ------------------ 389*d874e919Schristos# Perform arithmetic evaluation on the ARGs, and store the result in the 390*d874e919Schristos# global $as_val. Take advantage of shells that can avoid forks. The arguments 391*d874e919Schristos# must be portable across $(()) and expr. 392*d874e919Schristosif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 393*d874e919Schristos eval 'as_fn_arith () 394*d874e919Schristos { 395*d874e919Schristos as_val=$(( $* )) 396*d874e919Schristos }' 397*d874e919Schristoselse 398*d874e919Schristos as_fn_arith () 399*d874e919Schristos { 400*d874e919Schristos as_val=`expr "$@" || test $? -eq 1` 401*d874e919Schristos } 402*d874e919Schristosfi # as_fn_arith 403*d874e919Schristos 404*d874e919Schristos 405*d874e919Schristos# as_fn_error STATUS ERROR [LINENO LOG_FD] 406*d874e919Schristos# ---------------------------------------- 407*d874e919Schristos# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 408*d874e919Schristos# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 409*d874e919Schristos# script with STATUS, using 1 if that was 0. 410*d874e919Schristosas_fn_error () 411*d874e919Schristos{ 412*d874e919Schristos as_status=$1; test $as_status -eq 0 && as_status=1 413*d874e919Schristos if test "$4"; then 414*d874e919Schristos as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 415*d874e919Schristos $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 416*d874e919Schristos fi 417*d874e919Schristos $as_echo "$as_me: error: $2" >&2 418*d874e919Schristos as_fn_exit $as_status 419*d874e919Schristos} # as_fn_error 420*d874e919Schristos 421*d874e919Schristosif expr a : '\(a\)' >/dev/null 2>&1 && 422*d874e919Schristos test "X`expr 00001 : '.*\(...\)'`" = X001; then 423*d874e919Schristos as_expr=expr 424*d874e919Schristoselse 425*d874e919Schristos as_expr=false 426*d874e919Schristosfi 427*d874e919Schristos 428*d874e919Schristosif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 429*d874e919Schristos as_basename=basename 430*d874e919Schristoselse 431*d874e919Schristos as_basename=false 432*d874e919Schristosfi 433*d874e919Schristos 434*d874e919Schristosif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 435*d874e919Schristos as_dirname=dirname 436*d874e919Schristoselse 437*d874e919Schristos as_dirname=false 438*d874e919Schristosfi 439*d874e919Schristos 440*d874e919Schristosas_me=`$as_basename -- "$0" || 441*d874e919Schristos$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 442*d874e919Schristos X"$0" : 'X\(//\)$' \| \ 443*d874e919Schristos X"$0" : 'X\(/\)' \| . 2>/dev/null || 444*d874e919Schristos$as_echo X/"$0" | 445*d874e919Schristos sed '/^.*\/\([^/][^/]*\)\/*$/{ 446*d874e919Schristos s//\1/ 447*d874e919Schristos q 448*d874e919Schristos } 449*d874e919Schristos /^X\/\(\/\/\)$/{ 450*d874e919Schristos s//\1/ 451*d874e919Schristos q 452*d874e919Schristos } 453*d874e919Schristos /^X\/\(\/\).*/{ 454*d874e919Schristos s//\1/ 455*d874e919Schristos q 456*d874e919Schristos } 457*d874e919Schristos s/.*/./; q'` 458*d874e919Schristos 459*d874e919Schristos# Avoid depending upon Character Ranges. 460*d874e919Schristosas_cr_letters='abcdefghijklmnopqrstuvwxyz' 461*d874e919Schristosas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 462*d874e919Schristosas_cr_Letters=$as_cr_letters$as_cr_LETTERS 463*d874e919Schristosas_cr_digits='0123456789' 464*d874e919Schristosas_cr_alnum=$as_cr_Letters$as_cr_digits 465*d874e919Schristos 466*d874e919Schristos 467*d874e919Schristos as_lineno_1=$LINENO as_lineno_1a=$LINENO 468*d874e919Schristos as_lineno_2=$LINENO as_lineno_2a=$LINENO 469*d874e919Schristos eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 470*d874e919Schristos test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 471*d874e919Schristos # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 472*d874e919Schristos sed -n ' 473*d874e919Schristos p 474*d874e919Schristos /[$]LINENO/= 475*d874e919Schristos ' <$as_myself | 476*d874e919Schristos sed ' 477*d874e919Schristos s/[$]LINENO.*/&-/ 478*d874e919Schristos t lineno 479*d874e919Schristos b 480*d874e919Schristos :lineno 481*d874e919Schristos N 482*d874e919Schristos :loop 483*d874e919Schristos s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 484*d874e919Schristos t loop 485*d874e919Schristos s/-\n.*// 486*d874e919Schristos ' >$as_me.lineno && 487*d874e919Schristos chmod +x "$as_me.lineno" || 488*d874e919Schristos { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 489*d874e919Schristos 490*d874e919Schristos # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 491*d874e919Schristos # already done that, so ensure we don't try to do so again and fall 492*d874e919Schristos # in an infinite loop. This has already happened in practice. 493*d874e919Schristos _as_can_reexec=no; export _as_can_reexec 494*d874e919Schristos # Don't try to exec as it changes $[0], causing all sort of problems 495*d874e919Schristos # (the dirname of $[0] is not the place where we might find the 496*d874e919Schristos # original and so on. Autoconf is especially sensitive to this). 497*d874e919Schristos . "./$as_me.lineno" 498*d874e919Schristos # Exit status is that of the last command. 499*d874e919Schristos exit 500*d874e919Schristos} 501*d874e919Schristos 502*d874e919SchristosECHO_C= ECHO_N= ECHO_T= 503*d874e919Schristoscase `echo -n x` in #((((( 504*d874e919Schristos-n*) 505*d874e919Schristos case `echo 'xy\c'` in 506*d874e919Schristos *c*) ECHO_T=' ';; # ECHO_T is single tab character. 507*d874e919Schristos xy) ECHO_C='\c';; 508*d874e919Schristos *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 509*d874e919Schristos ECHO_T=' ';; 510*d874e919Schristos esac;; 511*d874e919Schristos*) 512*d874e919Schristos ECHO_N='-n';; 513*d874e919Schristosesac 514*d874e919Schristos 515*d874e919Schristosrm -f conf$$ conf$$.exe conf$$.file 516*d874e919Schristosif test -d conf$$.dir; then 517*d874e919Schristos rm -f conf$$.dir/conf$$.file 518*d874e919Schristoselse 519*d874e919Schristos rm -f conf$$.dir 520*d874e919Schristos mkdir conf$$.dir 2>/dev/null 521*d874e919Schristosfi 522*d874e919Schristosif (echo >conf$$.file) 2>/dev/null; then 523*d874e919Schristos if ln -s conf$$.file conf$$ 2>/dev/null; then 524*d874e919Schristos as_ln_s='ln -s' 525*d874e919Schristos # ... but there are two gotchas: 526*d874e919Schristos # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 527*d874e919Schristos # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 528*d874e919Schristos # In both cases, we have to default to `cp -pR'. 529*d874e919Schristos ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 530*d874e919Schristos as_ln_s='cp -pR' 531*d874e919Schristos elif ln conf$$.file conf$$ 2>/dev/null; then 532*d874e919Schristos as_ln_s=ln 533*d874e919Schristos else 534*d874e919Schristos as_ln_s='cp -pR' 535*d874e919Schristos fi 536*d874e919Schristoselse 537*d874e919Schristos as_ln_s='cp -pR' 538*d874e919Schristosfi 539*d874e919Schristosrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 540*d874e919Schristosrmdir conf$$.dir 2>/dev/null 541*d874e919Schristos 542*d874e919Schristosif mkdir -p . 2>/dev/null; then 543*d874e919Schristos as_mkdir_p='mkdir -p "$as_dir"' 544*d874e919Schristoselse 545*d874e919Schristos test -d ./-p && rmdir ./-p 546*d874e919Schristos as_mkdir_p=false 547*d874e919Schristosfi 548*d874e919Schristos 549*d874e919Schristosas_test_x='test -x' 550*d874e919Schristosas_executable_p=as_fn_executable_p 551*d874e919Schristos 552*d874e919Schristos# Sed expression to map a string onto a valid CPP name. 553*d874e919Schristosas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 554*d874e919Schristos 555*d874e919Schristos# Sed expression to map a string onto a valid variable name. 556*d874e919Schristosas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 557*d874e919Schristos 558*d874e919Schristos 559*d874e919Schristostest -n "$DJDIR" || exec 7<&0 </dev/null 560*d874e919Schristosexec 6>&1 561*d874e919Schristos 562*d874e919Schristos# Name of the host. 563*d874e919Schristos# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 564*d874e919Schristos# so uname gets run too. 565*d874e919Schristosac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 566*d874e919Schristos 567*d874e919Schristos# 568*d874e919Schristos# Initializations. 569*d874e919Schristos# 570*d874e919Schristosac_default_prefix=/usr/local 571*d874e919Schristosac_clean_files= 572*d874e919Schristosac_config_libobj_dir=. 573*d874e919SchristosLIBOBJS= 574*d874e919Schristoscross_compiling=no 575*d874e919Schristossubdirs= 576*d874e919SchristosMFLAGS= 577*d874e919SchristosMAKEFLAGS= 578*d874e919Schristos 579*d874e919Schristos# Identity of this package. 580*d874e919SchristosPACKAGE_NAME='GNU Autoconf' 581*d874e919SchristosPACKAGE_TARNAME='autoconf' 582*d874e919SchristosPACKAGE_VERSION='2.69' 583*d874e919SchristosPACKAGE_STRING='GNU Autoconf 2.69' 584*d874e919SchristosPACKAGE_BUGREPORT='bug-autoconf@gnu.org' 585*d874e919SchristosPACKAGE_URL='http://www.gnu.org/software/autoconf/' 586*d874e919Schristos 587*d874e919Schristosac_unique_file="lib/autoconf/autoconf.m4" 588*d874e919Schristosac_subst_vars='LTLIBOBJS 589*d874e919SchristosLIBOBJS 590*d874e919SchristosMAKE_CASE_SENSITIVE_FALSE 591*d874e919SchristosMAKE_CASE_SENSITIVE_TRUE 592*d874e919SchristosSED 593*d874e919SchristosEGREP 594*d874e919SchristosGREP 595*d874e919Schristoslispdir 596*d874e919SchristosEMACSLOADPATH 597*d874e919SchristosEMACS 598*d874e919SchristosTEST_EMACS 599*d874e919SchristosPERL_FLOCK 600*d874e919SchristosPERL 601*d874e919SchristosHELP2MAN 602*d874e919SchristosM4_DEBUGFILE 603*d874e919SchristosM4_GNU 604*d874e919SchristosM4 605*d874e919SchristosEXPR 606*d874e919Schristosac_cv_dir_trailing_space 607*d874e919Schristosac_cv_unsupported_fs_chars 608*d874e919Schristosac_cv_sh_n_works 609*d874e919Schristoshost_os 610*d874e919Schristoshost_vendor 611*d874e919Schristoshost_cpu 612*d874e919Schristoshost 613*d874e919Schristosbuild_os 614*d874e919Schristosbuild_vendor 615*d874e919Schristosbuild_cpu 616*d874e919Schristosbuild 617*d874e919Schristosam__untar 618*d874e919Schristosam__tar 619*d874e919SchristosAMTAR 620*d874e919Schristosam__leading_dot 621*d874e919SchristosSET_MAKE 622*d874e919SchristosAWK 623*d874e919Schristosmkdir_p 624*d874e919SchristosMKDIR_P 625*d874e919SchristosINSTALL_STRIP_PROGRAM 626*d874e919SchristosSTRIP 627*d874e919Schristosinstall_sh 628*d874e919SchristosMAKEINFO 629*d874e919SchristosAUTOHEADER 630*d874e919SchristosAUTOMAKE 631*d874e919SchristosAUTOCONF 632*d874e919SchristosACLOCAL 633*d874e919SchristosVERSION 634*d874e919SchristosPACKAGE 635*d874e919SchristosCYGPATH_W 636*d874e919Schristosam__isrc 637*d874e919SchristosINSTALL_DATA 638*d874e919SchristosINSTALL_SCRIPT 639*d874e919SchristosINSTALL_PROGRAM 640*d874e919Schristostarget_alias 641*d874e919Schristoshost_alias 642*d874e919Schristosbuild_alias 643*d874e919SchristosLIBS 644*d874e919SchristosECHO_T 645*d874e919SchristosECHO_N 646*d874e919SchristosECHO_C 647*d874e919SchristosDEFS 648*d874e919Schristosmandir 649*d874e919Schristoslocaledir 650*d874e919Schristoslibdir 651*d874e919Schristospsdir 652*d874e919Schristospdfdir 653*d874e919Schristosdvidir 654*d874e919Schristoshtmldir 655*d874e919Schristosinfodir 656*d874e919Schristosdocdir 657*d874e919Schristosoldincludedir 658*d874e919Schristosincludedir 659*d874e919Schristoslocalstatedir 660*d874e919Schristossharedstatedir 661*d874e919Schristossysconfdir 662*d874e919Schristosdatadir 663*d874e919Schristosdatarootdir 664*d874e919Schristoslibexecdir 665*d874e919Schristossbindir 666*d874e919Schristosbindir 667*d874e919Schristosprogram_transform_name 668*d874e919Schristosprefix 669*d874e919Schristosexec_prefix 670*d874e919SchristosPACKAGE_URL 671*d874e919SchristosPACKAGE_BUGREPORT 672*d874e919SchristosPACKAGE_STRING 673*d874e919SchristosPACKAGE_VERSION 674*d874e919SchristosPACKAGE_TARNAME 675*d874e919SchristosPACKAGE_NAME 676*d874e919SchristosPATH_SEPARATOR 677*d874e919SchristosSHELL' 678*d874e919Schristosac_subst_files='' 679*d874e919Schristosac_user_opts=' 680*d874e919Schristosenable_option_checking 681*d874e919Schristoswith_lispdir 682*d874e919Schristos' 683*d874e919Schristos ac_precious_vars='build_alias 684*d874e919Schristoshost_alias 685*d874e919Schristostarget_alias 686*d874e919SchristosM4 687*d874e919SchristosEMACS 688*d874e919SchristosEMACSLOADPATH' 689*d874e919Schristos 690*d874e919Schristos 691*d874e919Schristos# Initialize some variables set by options. 692*d874e919Schristosac_init_help= 693*d874e919Schristosac_init_version=false 694*d874e919Schristosac_unrecognized_opts= 695*d874e919Schristosac_unrecognized_sep= 696*d874e919Schristos# The variables have the same names as the options, with 697*d874e919Schristos# dashes changed to underlines. 698*d874e919Schristoscache_file=/dev/null 699*d874e919Schristosexec_prefix=NONE 700*d874e919Schristosno_create= 701*d874e919Schristosno_recursion= 702*d874e919Schristosprefix=NONE 703*d874e919Schristosprogram_prefix=NONE 704*d874e919Schristosprogram_suffix=NONE 705*d874e919Schristosprogram_transform_name=s,x,x, 706*d874e919Schristossilent= 707*d874e919Schristossite= 708*d874e919Schristossrcdir= 709*d874e919Schristosverbose= 710*d874e919Schristosx_includes=NONE 711*d874e919Schristosx_libraries=NONE 712*d874e919Schristos 713*d874e919Schristos# Installation directory options. 714*d874e919Schristos# These are left unexpanded so users can "make install exec_prefix=/foo" 715*d874e919Schristos# and all the variables that are supposed to be based on exec_prefix 716*d874e919Schristos# by default will actually change. 717*d874e919Schristos# Use braces instead of parens because sh, perl, etc. also accept them. 718*d874e919Schristos# (The list follows the same order as the GNU Coding Standards.) 719*d874e919Schristosbindir='${exec_prefix}/bin' 720*d874e919Schristossbindir='${exec_prefix}/sbin' 721*d874e919Schristoslibexecdir='${exec_prefix}/libexec' 722*d874e919Schristosdatarootdir='${prefix}/share' 723*d874e919Schristosdatadir='${datarootdir}' 724*d874e919Schristossysconfdir='${prefix}/etc' 725*d874e919Schristossharedstatedir='${prefix}/com' 726*d874e919Schristoslocalstatedir='${prefix}/var' 727*d874e919Schristosincludedir='${prefix}/include' 728*d874e919Schristosoldincludedir='/usr/include' 729*d874e919Schristosdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 730*d874e919Schristosinfodir='${datarootdir}/info' 731*d874e919Schristoshtmldir='${docdir}' 732*d874e919Schristosdvidir='${docdir}' 733*d874e919Schristospdfdir='${docdir}' 734*d874e919Schristospsdir='${docdir}' 735*d874e919Schristoslibdir='${exec_prefix}/lib' 736*d874e919Schristoslocaledir='${datarootdir}/locale' 737*d874e919Schristosmandir='${datarootdir}/man' 738*d874e919Schristos 739*d874e919Schristosac_prev= 740*d874e919Schristosac_dashdash= 741*d874e919Schristosfor ac_option 742*d874e919Schristosdo 743*d874e919Schristos # If the previous option needs an argument, assign it. 744*d874e919Schristos if test -n "$ac_prev"; then 745*d874e919Schristos eval $ac_prev=\$ac_option 746*d874e919Schristos ac_prev= 747*d874e919Schristos continue 748*d874e919Schristos fi 749*d874e919Schristos 750*d874e919Schristos case $ac_option in 751*d874e919Schristos *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 752*d874e919Schristos *=) ac_optarg= ;; 753*d874e919Schristos *) ac_optarg=yes ;; 754*d874e919Schristos esac 755*d874e919Schristos 756*d874e919Schristos # Accept the important Cygnus configure options, so we can diagnose typos. 757*d874e919Schristos 758*d874e919Schristos case $ac_dashdash$ac_option in 759*d874e919Schristos --) 760*d874e919Schristos ac_dashdash=yes ;; 761*d874e919Schristos 762*d874e919Schristos -bindir | --bindir | --bindi | --bind | --bin | --bi) 763*d874e919Schristos ac_prev=bindir ;; 764*d874e919Schristos -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 765*d874e919Schristos bindir=$ac_optarg ;; 766*d874e919Schristos 767*d874e919Schristos -build | --build | --buil | --bui | --bu) 768*d874e919Schristos ac_prev=build_alias ;; 769*d874e919Schristos -build=* | --build=* | --buil=* | --bui=* | --bu=*) 770*d874e919Schristos build_alias=$ac_optarg ;; 771*d874e919Schristos 772*d874e919Schristos -cache-file | --cache-file | --cache-fil | --cache-fi \ 773*d874e919Schristos | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 774*d874e919Schristos ac_prev=cache_file ;; 775*d874e919Schristos -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 776*d874e919Schristos | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 777*d874e919Schristos cache_file=$ac_optarg ;; 778*d874e919Schristos 779*d874e919Schristos --config-cache | -C) 780*d874e919Schristos cache_file=config.cache ;; 781*d874e919Schristos 782*d874e919Schristos -datadir | --datadir | --datadi | --datad) 783*d874e919Schristos ac_prev=datadir ;; 784*d874e919Schristos -datadir=* | --datadir=* | --datadi=* | --datad=*) 785*d874e919Schristos datadir=$ac_optarg ;; 786*d874e919Schristos 787*d874e919Schristos -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 788*d874e919Schristos | --dataroo | --dataro | --datar) 789*d874e919Schristos ac_prev=datarootdir ;; 790*d874e919Schristos -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 791*d874e919Schristos | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 792*d874e919Schristos datarootdir=$ac_optarg ;; 793*d874e919Schristos 794*d874e919Schristos -disable-* | --disable-*) 795*d874e919Schristos ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 796*d874e919Schristos # Reject names that are not valid shell variable names. 797*d874e919Schristos expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 798*d874e919Schristos as_fn_error $? "invalid feature name: $ac_useropt" 799*d874e919Schristos ac_useropt_orig=$ac_useropt 800*d874e919Schristos ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 801*d874e919Schristos case $ac_user_opts in 802*d874e919Schristos *" 803*d874e919Schristos"enable_$ac_useropt" 804*d874e919Schristos"*) ;; 805*d874e919Schristos *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 806*d874e919Schristos ac_unrecognized_sep=', ';; 807*d874e919Schristos esac 808*d874e919Schristos eval enable_$ac_useropt=no ;; 809*d874e919Schristos 810*d874e919Schristos -docdir | --docdir | --docdi | --doc | --do) 811*d874e919Schristos ac_prev=docdir ;; 812*d874e919Schristos -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 813*d874e919Schristos docdir=$ac_optarg ;; 814*d874e919Schristos 815*d874e919Schristos -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 816*d874e919Schristos ac_prev=dvidir ;; 817*d874e919Schristos -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 818*d874e919Schristos dvidir=$ac_optarg ;; 819*d874e919Schristos 820*d874e919Schristos -enable-* | --enable-*) 821*d874e919Schristos ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 822*d874e919Schristos # Reject names that are not valid shell variable names. 823*d874e919Schristos expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 824*d874e919Schristos as_fn_error $? "invalid feature name: $ac_useropt" 825*d874e919Schristos ac_useropt_orig=$ac_useropt 826*d874e919Schristos ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 827*d874e919Schristos case $ac_user_opts in 828*d874e919Schristos *" 829*d874e919Schristos"enable_$ac_useropt" 830*d874e919Schristos"*) ;; 831*d874e919Schristos *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 832*d874e919Schristos ac_unrecognized_sep=', ';; 833*d874e919Schristos esac 834*d874e919Schristos eval enable_$ac_useropt=\$ac_optarg ;; 835*d874e919Schristos 836*d874e919Schristos -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 837*d874e919Schristos | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 838*d874e919Schristos | --exec | --exe | --ex) 839*d874e919Schristos ac_prev=exec_prefix ;; 840*d874e919Schristos -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 841*d874e919Schristos | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 842*d874e919Schristos | --exec=* | --exe=* | --ex=*) 843*d874e919Schristos exec_prefix=$ac_optarg ;; 844*d874e919Schristos 845*d874e919Schristos -gas | --gas | --ga | --g) 846*d874e919Schristos # Obsolete; use --with-gas. 847*d874e919Schristos with_gas=yes ;; 848*d874e919Schristos 849*d874e919Schristos -help | --help | --hel | --he | -h) 850*d874e919Schristos ac_init_help=long ;; 851*d874e919Schristos -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 852*d874e919Schristos ac_init_help=recursive ;; 853*d874e919Schristos -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 854*d874e919Schristos ac_init_help=short ;; 855*d874e919Schristos 856*d874e919Schristos -host | --host | --hos | --ho) 857*d874e919Schristos ac_prev=host_alias ;; 858*d874e919Schristos -host=* | --host=* | --hos=* | --ho=*) 859*d874e919Schristos host_alias=$ac_optarg ;; 860*d874e919Schristos 861*d874e919Schristos -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 862*d874e919Schristos ac_prev=htmldir ;; 863*d874e919Schristos -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 864*d874e919Schristos | --ht=*) 865*d874e919Schristos htmldir=$ac_optarg ;; 866*d874e919Schristos 867*d874e919Schristos -includedir | --includedir | --includedi | --included | --include \ 868*d874e919Schristos | --includ | --inclu | --incl | --inc) 869*d874e919Schristos ac_prev=includedir ;; 870*d874e919Schristos -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 871*d874e919Schristos | --includ=* | --inclu=* | --incl=* | --inc=*) 872*d874e919Schristos includedir=$ac_optarg ;; 873*d874e919Schristos 874*d874e919Schristos -infodir | --infodir | --infodi | --infod | --info | --inf) 875*d874e919Schristos ac_prev=infodir ;; 876*d874e919Schristos -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 877*d874e919Schristos infodir=$ac_optarg ;; 878*d874e919Schristos 879*d874e919Schristos -libdir | --libdir | --libdi | --libd) 880*d874e919Schristos ac_prev=libdir ;; 881*d874e919Schristos -libdir=* | --libdir=* | --libdi=* | --libd=*) 882*d874e919Schristos libdir=$ac_optarg ;; 883*d874e919Schristos 884*d874e919Schristos -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 885*d874e919Schristos | --libexe | --libex | --libe) 886*d874e919Schristos ac_prev=libexecdir ;; 887*d874e919Schristos -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 888*d874e919Schristos | --libexe=* | --libex=* | --libe=*) 889*d874e919Schristos libexecdir=$ac_optarg ;; 890*d874e919Schristos 891*d874e919Schristos -localedir | --localedir | --localedi | --localed | --locale) 892*d874e919Schristos ac_prev=localedir ;; 893*d874e919Schristos -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 894*d874e919Schristos localedir=$ac_optarg ;; 895*d874e919Schristos 896*d874e919Schristos -localstatedir | --localstatedir | --localstatedi | --localstated \ 897*d874e919Schristos | --localstate | --localstat | --localsta | --localst | --locals) 898*d874e919Schristos ac_prev=localstatedir ;; 899*d874e919Schristos -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 900*d874e919Schristos | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 901*d874e919Schristos localstatedir=$ac_optarg ;; 902*d874e919Schristos 903*d874e919Schristos -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 904*d874e919Schristos ac_prev=mandir ;; 905*d874e919Schristos -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 906*d874e919Schristos mandir=$ac_optarg ;; 907*d874e919Schristos 908*d874e919Schristos -nfp | --nfp | --nf) 909*d874e919Schristos # Obsolete; use --without-fp. 910*d874e919Schristos with_fp=no ;; 911*d874e919Schristos 912*d874e919Schristos -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 913*d874e919Schristos | --no-cr | --no-c | -n) 914*d874e919Schristos no_create=yes ;; 915*d874e919Schristos 916*d874e919Schristos -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 917*d874e919Schristos | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 918*d874e919Schristos no_recursion=yes ;; 919*d874e919Schristos 920*d874e919Schristos -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 921*d874e919Schristos | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 922*d874e919Schristos | --oldin | --oldi | --old | --ol | --o) 923*d874e919Schristos ac_prev=oldincludedir ;; 924*d874e919Schristos -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 925*d874e919Schristos | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 926*d874e919Schristos | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 927*d874e919Schristos oldincludedir=$ac_optarg ;; 928*d874e919Schristos 929*d874e919Schristos -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 930*d874e919Schristos ac_prev=prefix ;; 931*d874e919Schristos -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 932*d874e919Schristos prefix=$ac_optarg ;; 933*d874e919Schristos 934*d874e919Schristos -program-prefix | --program-prefix | --program-prefi | --program-pref \ 935*d874e919Schristos | --program-pre | --program-pr | --program-p) 936*d874e919Schristos ac_prev=program_prefix ;; 937*d874e919Schristos -program-prefix=* | --program-prefix=* | --program-prefi=* \ 938*d874e919Schristos | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 939*d874e919Schristos program_prefix=$ac_optarg ;; 940*d874e919Schristos 941*d874e919Schristos -program-suffix | --program-suffix | --program-suffi | --program-suff \ 942*d874e919Schristos | --program-suf | --program-su | --program-s) 943*d874e919Schristos ac_prev=program_suffix ;; 944*d874e919Schristos -program-suffix=* | --program-suffix=* | --program-suffi=* \ 945*d874e919Schristos | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 946*d874e919Schristos program_suffix=$ac_optarg ;; 947*d874e919Schristos 948*d874e919Schristos -program-transform-name | --program-transform-name \ 949*d874e919Schristos | --program-transform-nam | --program-transform-na \ 950*d874e919Schristos | --program-transform-n | --program-transform- \ 951*d874e919Schristos | --program-transform | --program-transfor \ 952*d874e919Schristos | --program-transfo | --program-transf \ 953*d874e919Schristos | --program-trans | --program-tran \ 954*d874e919Schristos | --progr-tra | --program-tr | --program-t) 955*d874e919Schristos ac_prev=program_transform_name ;; 956*d874e919Schristos -program-transform-name=* | --program-transform-name=* \ 957*d874e919Schristos | --program-transform-nam=* | --program-transform-na=* \ 958*d874e919Schristos | --program-transform-n=* | --program-transform-=* \ 959*d874e919Schristos | --program-transform=* | --program-transfor=* \ 960*d874e919Schristos | --program-transfo=* | --program-transf=* \ 961*d874e919Schristos | --program-trans=* | --program-tran=* \ 962*d874e919Schristos | --progr-tra=* | --program-tr=* | --program-t=*) 963*d874e919Schristos program_transform_name=$ac_optarg ;; 964*d874e919Schristos 965*d874e919Schristos -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 966*d874e919Schristos ac_prev=pdfdir ;; 967*d874e919Schristos -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 968*d874e919Schristos pdfdir=$ac_optarg ;; 969*d874e919Schristos 970*d874e919Schristos -psdir | --psdir | --psdi | --psd | --ps) 971*d874e919Schristos ac_prev=psdir ;; 972*d874e919Schristos -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 973*d874e919Schristos psdir=$ac_optarg ;; 974*d874e919Schristos 975*d874e919Schristos -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 976*d874e919Schristos | -silent | --silent | --silen | --sile | --sil) 977*d874e919Schristos silent=yes ;; 978*d874e919Schristos 979*d874e919Schristos -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 980*d874e919Schristos ac_prev=sbindir ;; 981*d874e919Schristos -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 982*d874e919Schristos | --sbi=* | --sb=*) 983*d874e919Schristos sbindir=$ac_optarg ;; 984*d874e919Schristos 985*d874e919Schristos -sharedstatedir | --sharedstatedir | --sharedstatedi \ 986*d874e919Schristos | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 987*d874e919Schristos | --sharedst | --shareds | --shared | --share | --shar \ 988*d874e919Schristos | --sha | --sh) 989*d874e919Schristos ac_prev=sharedstatedir ;; 990*d874e919Schristos -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 991*d874e919Schristos | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 992*d874e919Schristos | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 993*d874e919Schristos | --sha=* | --sh=*) 994*d874e919Schristos sharedstatedir=$ac_optarg ;; 995*d874e919Schristos 996*d874e919Schristos -site | --site | --sit) 997*d874e919Schristos ac_prev=site ;; 998*d874e919Schristos -site=* | --site=* | --sit=*) 999*d874e919Schristos site=$ac_optarg ;; 1000*d874e919Schristos 1001*d874e919Schristos -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1002*d874e919Schristos ac_prev=srcdir ;; 1003*d874e919Schristos -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1004*d874e919Schristos srcdir=$ac_optarg ;; 1005*d874e919Schristos 1006*d874e919Schristos -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1007*d874e919Schristos | --syscon | --sysco | --sysc | --sys | --sy) 1008*d874e919Schristos ac_prev=sysconfdir ;; 1009*d874e919Schristos -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1010*d874e919Schristos | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1011*d874e919Schristos sysconfdir=$ac_optarg ;; 1012*d874e919Schristos 1013*d874e919Schristos -target | --target | --targe | --targ | --tar | --ta | --t) 1014*d874e919Schristos ac_prev=target_alias ;; 1015*d874e919Schristos -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1016*d874e919Schristos target_alias=$ac_optarg ;; 1017*d874e919Schristos 1018*d874e919Schristos -v | -verbose | --verbose | --verbos | --verbo | --verb) 1019*d874e919Schristos verbose=yes ;; 1020*d874e919Schristos 1021*d874e919Schristos -version | --version | --versio | --versi | --vers | -V) 1022*d874e919Schristos ac_init_version=: ;; 1023*d874e919Schristos 1024*d874e919Schristos -with-* | --with-*) 1025*d874e919Schristos ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1026*d874e919Schristos # Reject names that are not valid shell variable names. 1027*d874e919Schristos expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1028*d874e919Schristos as_fn_error $? "invalid package name: $ac_useropt" 1029*d874e919Schristos ac_useropt_orig=$ac_useropt 1030*d874e919Schristos ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1031*d874e919Schristos case $ac_user_opts in 1032*d874e919Schristos *" 1033*d874e919Schristos"with_$ac_useropt" 1034*d874e919Schristos"*) ;; 1035*d874e919Schristos *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1036*d874e919Schristos ac_unrecognized_sep=', ';; 1037*d874e919Schristos esac 1038*d874e919Schristos eval with_$ac_useropt=\$ac_optarg ;; 1039*d874e919Schristos 1040*d874e919Schristos -without-* | --without-*) 1041*d874e919Schristos ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1042*d874e919Schristos # Reject names that are not valid shell variable names. 1043*d874e919Schristos expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1044*d874e919Schristos as_fn_error $? "invalid package name: $ac_useropt" 1045*d874e919Schristos ac_useropt_orig=$ac_useropt 1046*d874e919Schristos ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1047*d874e919Schristos case $ac_user_opts in 1048*d874e919Schristos *" 1049*d874e919Schristos"with_$ac_useropt" 1050*d874e919Schristos"*) ;; 1051*d874e919Schristos *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1052*d874e919Schristos ac_unrecognized_sep=', ';; 1053*d874e919Schristos esac 1054*d874e919Schristos eval with_$ac_useropt=no ;; 1055*d874e919Schristos 1056*d874e919Schristos --x) 1057*d874e919Schristos # Obsolete; use --with-x. 1058*d874e919Schristos with_x=yes ;; 1059*d874e919Schristos 1060*d874e919Schristos -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1061*d874e919Schristos | --x-incl | --x-inc | --x-in | --x-i) 1062*d874e919Schristos ac_prev=x_includes ;; 1063*d874e919Schristos -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1064*d874e919Schristos | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1065*d874e919Schristos x_includes=$ac_optarg ;; 1066*d874e919Schristos 1067*d874e919Schristos -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1068*d874e919Schristos | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1069*d874e919Schristos ac_prev=x_libraries ;; 1070*d874e919Schristos -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1071*d874e919Schristos | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1072*d874e919Schristos x_libraries=$ac_optarg ;; 1073*d874e919Schristos 1074*d874e919Schristos -*) as_fn_error $? "unrecognized option: \`$ac_option' 1075*d874e919SchristosTry \`$0 --help' for more information" 1076*d874e919Schristos ;; 1077*d874e919Schristos 1078*d874e919Schristos *=*) 1079*d874e919Schristos ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1080*d874e919Schristos # Reject names that are not valid shell variable names. 1081*d874e919Schristos case $ac_envvar in #( 1082*d874e919Schristos '' | [0-9]* | *[!_$as_cr_alnum]* ) 1083*d874e919Schristos as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1084*d874e919Schristos esac 1085*d874e919Schristos eval $ac_envvar=\$ac_optarg 1086*d874e919Schristos export $ac_envvar ;; 1087*d874e919Schristos 1088*d874e919Schristos *) 1089*d874e919Schristos # FIXME: should be removed in autoconf 3.0. 1090*d874e919Schristos $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1091*d874e919Schristos expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1092*d874e919Schristos $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1093*d874e919Schristos : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1094*d874e919Schristos ;; 1095*d874e919Schristos 1096*d874e919Schristos esac 1097*d874e919Schristosdone 1098*d874e919Schristos 1099*d874e919Schristosif test -n "$ac_prev"; then 1100*d874e919Schristos ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1101*d874e919Schristos as_fn_error $? "missing argument to $ac_option" 1102*d874e919Schristosfi 1103*d874e919Schristos 1104*d874e919Schristosif test -n "$ac_unrecognized_opts"; then 1105*d874e919Schristos case $enable_option_checking in 1106*d874e919Schristos no) ;; 1107*d874e919Schristos fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1108*d874e919Schristos *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1109*d874e919Schristos esac 1110*d874e919Schristosfi 1111*d874e919Schristos 1112*d874e919Schristos# Check all directory arguments for consistency. 1113*d874e919Schristosfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1114*d874e919Schristos datadir sysconfdir sharedstatedir localstatedir includedir \ 1115*d874e919Schristos oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1116*d874e919Schristos libdir localedir mandir 1117*d874e919Schristosdo 1118*d874e919Schristos eval ac_val=\$$ac_var 1119*d874e919Schristos # Remove trailing slashes. 1120*d874e919Schristos case $ac_val in 1121*d874e919Schristos */ ) 1122*d874e919Schristos ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1123*d874e919Schristos eval $ac_var=\$ac_val;; 1124*d874e919Schristos esac 1125*d874e919Schristos # Be sure to have absolute directory names. 1126*d874e919Schristos case $ac_val in 1127*d874e919Schristos [\\/$]* | ?:[\\/]* ) continue;; 1128*d874e919Schristos NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1129*d874e919Schristos esac 1130*d874e919Schristos as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1131*d874e919Schristosdone 1132*d874e919Schristos 1133*d874e919Schristos# There might be people who depend on the old broken behavior: `$host' 1134*d874e919Schristos# used to hold the argument of --host etc. 1135*d874e919Schristos# FIXME: To remove some day. 1136*d874e919Schristosbuild=$build_alias 1137*d874e919Schristoshost=$host_alias 1138*d874e919Schristostarget=$target_alias 1139*d874e919Schristos 1140*d874e919Schristos# FIXME: To remove some day. 1141*d874e919Schristosif test "x$host_alias" != x; then 1142*d874e919Schristos if test "x$build_alias" = x; then 1143*d874e919Schristos cross_compiling=maybe 1144*d874e919Schristos elif test "x$build_alias" != "x$host_alias"; then 1145*d874e919Schristos cross_compiling=yes 1146*d874e919Schristos fi 1147*d874e919Schristosfi 1148*d874e919Schristos 1149*d874e919Schristosac_tool_prefix= 1150*d874e919Schristostest -n "$host_alias" && ac_tool_prefix=$host_alias- 1151*d874e919Schristos 1152*d874e919Schristostest "$silent" = yes && exec 6>/dev/null 1153*d874e919Schristos 1154*d874e919Schristos 1155*d874e919Schristosac_pwd=`pwd` && test -n "$ac_pwd" && 1156*d874e919Schristosac_ls_di=`ls -di .` && 1157*d874e919Schristosac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1158*d874e919Schristos as_fn_error $? "working directory cannot be determined" 1159*d874e919Schristostest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1160*d874e919Schristos as_fn_error $? "pwd does not report name of working directory" 1161*d874e919Schristos 1162*d874e919Schristos 1163*d874e919Schristos# Find the source files, if location was not specified. 1164*d874e919Schristosif test -z "$srcdir"; then 1165*d874e919Schristos ac_srcdir_defaulted=yes 1166*d874e919Schristos # Try the directory containing this script, then the parent directory. 1167*d874e919Schristos ac_confdir=`$as_dirname -- "$as_myself" || 1168*d874e919Schristos$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1169*d874e919Schristos X"$as_myself" : 'X\(//\)[^/]' \| \ 1170*d874e919Schristos X"$as_myself" : 'X\(//\)$' \| \ 1171*d874e919Schristos X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1172*d874e919Schristos$as_echo X"$as_myself" | 1173*d874e919Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1174*d874e919Schristos s//\1/ 1175*d874e919Schristos q 1176*d874e919Schristos } 1177*d874e919Schristos /^X\(\/\/\)[^/].*/{ 1178*d874e919Schristos s//\1/ 1179*d874e919Schristos q 1180*d874e919Schristos } 1181*d874e919Schristos /^X\(\/\/\)$/{ 1182*d874e919Schristos s//\1/ 1183*d874e919Schristos q 1184*d874e919Schristos } 1185*d874e919Schristos /^X\(\/\).*/{ 1186*d874e919Schristos s//\1/ 1187*d874e919Schristos q 1188*d874e919Schristos } 1189*d874e919Schristos s/.*/./; q'` 1190*d874e919Schristos srcdir=$ac_confdir 1191*d874e919Schristos if test ! -r "$srcdir/$ac_unique_file"; then 1192*d874e919Schristos srcdir=.. 1193*d874e919Schristos fi 1194*d874e919Schristoselse 1195*d874e919Schristos ac_srcdir_defaulted=no 1196*d874e919Schristosfi 1197*d874e919Schristosif test ! -r "$srcdir/$ac_unique_file"; then 1198*d874e919Schristos test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1199*d874e919Schristos as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1200*d874e919Schristosfi 1201*d874e919Schristosac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1202*d874e919Schristosac_abs_confdir=`( 1203*d874e919Schristos cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1204*d874e919Schristos pwd)` 1205*d874e919Schristos# When building in place, set srcdir=. 1206*d874e919Schristosif test "$ac_abs_confdir" = "$ac_pwd"; then 1207*d874e919Schristos srcdir=. 1208*d874e919Schristosfi 1209*d874e919Schristos# Remove unnecessary trailing slashes from srcdir. 1210*d874e919Schristos# Double slashes in file names in object file debugging info 1211*d874e919Schristos# mess up M-x gdb in Emacs. 1212*d874e919Schristoscase $srcdir in 1213*d874e919Schristos*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1214*d874e919Schristosesac 1215*d874e919Schristosfor ac_var in $ac_precious_vars; do 1216*d874e919Schristos eval ac_env_${ac_var}_set=\${${ac_var}+set} 1217*d874e919Schristos eval ac_env_${ac_var}_value=\$${ac_var} 1218*d874e919Schristos eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1219*d874e919Schristos eval ac_cv_env_${ac_var}_value=\$${ac_var} 1220*d874e919Schristosdone 1221*d874e919Schristos 1222*d874e919Schristos# 1223*d874e919Schristos# Report the --help message. 1224*d874e919Schristos# 1225*d874e919Schristosif test "$ac_init_help" = "long"; then 1226*d874e919Schristos # Omit some internal or obsolete options to make the list less imposing. 1227*d874e919Schristos # This message is too long to be a string in the A/UX 3.1 sh. 1228*d874e919Schristos cat <<_ACEOF 1229*d874e919Schristos\`configure' configures GNU Autoconf 2.69 to adapt to many kinds of systems. 1230*d874e919Schristos 1231*d874e919SchristosUsage: $0 [OPTION]... [VAR=VALUE]... 1232*d874e919Schristos 1233*d874e919SchristosTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1234*d874e919SchristosVAR=VALUE. See below for descriptions of some of the useful variables. 1235*d874e919Schristos 1236*d874e919SchristosDefaults for the options are specified in brackets. 1237*d874e919Schristos 1238*d874e919SchristosConfiguration: 1239*d874e919Schristos -h, --help display this help and exit 1240*d874e919Schristos --help=short display options specific to this package 1241*d874e919Schristos --help=recursive display the short help of all the included packages 1242*d874e919Schristos -V, --version display version information and exit 1243*d874e919Schristos -q, --quiet, --silent do not print \`checking ...' messages 1244*d874e919Schristos --cache-file=FILE cache test results in FILE [disabled] 1245*d874e919Schristos -C, --config-cache alias for \`--cache-file=config.cache' 1246*d874e919Schristos -n, --no-create do not create output files 1247*d874e919Schristos --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1248*d874e919Schristos 1249*d874e919SchristosInstallation directories: 1250*d874e919Schristos --prefix=PREFIX install architecture-independent files in PREFIX 1251*d874e919Schristos [$ac_default_prefix] 1252*d874e919Schristos --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1253*d874e919Schristos [PREFIX] 1254*d874e919Schristos 1255*d874e919SchristosBy default, \`make install' will install all the files in 1256*d874e919Schristos\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1257*d874e919Schristosan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1258*d874e919Schristosfor instance \`--prefix=\$HOME'. 1259*d874e919Schristos 1260*d874e919SchristosFor better control, use the options below. 1261*d874e919Schristos 1262*d874e919SchristosFine tuning of the installation directories: 1263*d874e919Schristos --bindir=DIR user executables [EPREFIX/bin] 1264*d874e919Schristos --sbindir=DIR system admin executables [EPREFIX/sbin] 1265*d874e919Schristos --libexecdir=DIR program executables [EPREFIX/libexec] 1266*d874e919Schristos --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1267*d874e919Schristos --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1268*d874e919Schristos --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1269*d874e919Schristos --libdir=DIR object code libraries [EPREFIX/lib] 1270*d874e919Schristos --includedir=DIR C header files [PREFIX/include] 1271*d874e919Schristos --oldincludedir=DIR C header files for non-gcc [/usr/include] 1272*d874e919Schristos --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1273*d874e919Schristos --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1274*d874e919Schristos --infodir=DIR info documentation [DATAROOTDIR/info] 1275*d874e919Schristos --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1276*d874e919Schristos --mandir=DIR man documentation [DATAROOTDIR/man] 1277*d874e919Schristos --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf] 1278*d874e919Schristos --htmldir=DIR html documentation [DOCDIR] 1279*d874e919Schristos --dvidir=DIR dvi documentation [DOCDIR] 1280*d874e919Schristos --pdfdir=DIR pdf documentation [DOCDIR] 1281*d874e919Schristos --psdir=DIR ps documentation [DOCDIR] 1282*d874e919Schristos_ACEOF 1283*d874e919Schristos 1284*d874e919Schristos cat <<\_ACEOF 1285*d874e919Schristos 1286*d874e919SchristosProgram names: 1287*d874e919Schristos --program-prefix=PREFIX prepend PREFIX to installed program names 1288*d874e919Schristos --program-suffix=SUFFIX append SUFFIX to installed program names 1289*d874e919Schristos --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1290*d874e919Schristos 1291*d874e919SchristosSystem types: 1292*d874e919Schristos --build=BUILD configure for building on BUILD [guessed] 1293*d874e919Schristos --host=HOST cross-compile to build programs to run on HOST [BUILD] 1294*d874e919Schristos_ACEOF 1295*d874e919Schristosfi 1296*d874e919Schristos 1297*d874e919Schristosif test -n "$ac_init_help"; then 1298*d874e919Schristos case $ac_init_help in 1299*d874e919Schristos short | recursive ) echo "Configuration of GNU Autoconf 2.69:";; 1300*d874e919Schristos esac 1301*d874e919Schristos cat <<\_ACEOF 1302*d874e919Schristos 1303*d874e919SchristosOptional Packages: 1304*d874e919Schristos --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1305*d874e919Schristos --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1306*d874e919Schristos --with-lispdir override the default lisp directory 1307*d874e919Schristos 1308*d874e919SchristosSome influential environment variables: 1309*d874e919Schristos M4 Location of GNU M4 1.4.6 or later. Defaults to the first program 1310*d874e919Schristos of `m4', `gm4', or `gnum4' on PATH that meets Autoconf needs. 1311*d874e919Schristos EMACS the Emacs editor command 1312*d874e919Schristos EMACSLOADPATH 1313*d874e919Schristos the Emacs library search path 1314*d874e919Schristos 1315*d874e919SchristosUse these variables to override the choices made by `configure' or to help 1316*d874e919Schristosit to find libraries and programs with nonstandard names/locations. 1317*d874e919Schristos 1318*d874e919SchristosReport bugs to <bug-autoconf@gnu.org>. 1319*d874e919SchristosGNU Autoconf home page: <http://www.gnu.org/software/autoconf/>. 1320*d874e919SchristosGeneral help using GNU software: <http://www.gnu.org/gethelp/>. 1321*d874e919Schristos_ACEOF 1322*d874e919Schristosac_status=$? 1323*d874e919Schristosfi 1324*d874e919Schristos 1325*d874e919Schristosif test "$ac_init_help" = "recursive"; then 1326*d874e919Schristos # If there are subdirs, report their specific --help. 1327*d874e919Schristos for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1328*d874e919Schristos test -d "$ac_dir" || 1329*d874e919Schristos { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1330*d874e919Schristos continue 1331*d874e919Schristos ac_builddir=. 1332*d874e919Schristos 1333*d874e919Schristoscase "$ac_dir" in 1334*d874e919Schristos.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1335*d874e919Schristos*) 1336*d874e919Schristos ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1337*d874e919Schristos # A ".." for each directory in $ac_dir_suffix. 1338*d874e919Schristos ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1339*d874e919Schristos case $ac_top_builddir_sub in 1340*d874e919Schristos "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1341*d874e919Schristos *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1342*d874e919Schristos esac ;; 1343*d874e919Schristosesac 1344*d874e919Schristosac_abs_top_builddir=$ac_pwd 1345*d874e919Schristosac_abs_builddir=$ac_pwd$ac_dir_suffix 1346*d874e919Schristos# for backward compatibility: 1347*d874e919Schristosac_top_builddir=$ac_top_build_prefix 1348*d874e919Schristos 1349*d874e919Schristoscase $srcdir in 1350*d874e919Schristos .) # We are building in place. 1351*d874e919Schristos ac_srcdir=. 1352*d874e919Schristos ac_top_srcdir=$ac_top_builddir_sub 1353*d874e919Schristos ac_abs_top_srcdir=$ac_pwd ;; 1354*d874e919Schristos [\\/]* | ?:[\\/]* ) # Absolute name. 1355*d874e919Schristos ac_srcdir=$srcdir$ac_dir_suffix; 1356*d874e919Schristos ac_top_srcdir=$srcdir 1357*d874e919Schristos ac_abs_top_srcdir=$srcdir ;; 1358*d874e919Schristos *) # Relative name. 1359*d874e919Schristos ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1360*d874e919Schristos ac_top_srcdir=$ac_top_build_prefix$srcdir 1361*d874e919Schristos ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1362*d874e919Schristosesac 1363*d874e919Schristosac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1364*d874e919Schristos 1365*d874e919Schristos cd "$ac_dir" || { ac_status=$?; continue; } 1366*d874e919Schristos # Check for guested configure. 1367*d874e919Schristos if test -f "$ac_srcdir/configure.gnu"; then 1368*d874e919Schristos echo && 1369*d874e919Schristos $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1370*d874e919Schristos elif test -f "$ac_srcdir/configure"; then 1371*d874e919Schristos echo && 1372*d874e919Schristos $SHELL "$ac_srcdir/configure" --help=recursive 1373*d874e919Schristos else 1374*d874e919Schristos $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1375*d874e919Schristos fi || ac_status=$? 1376*d874e919Schristos cd "$ac_pwd" || { ac_status=$?; break; } 1377*d874e919Schristos done 1378*d874e919Schristosfi 1379*d874e919Schristos 1380*d874e919Schristostest -n "$ac_init_help" && exit $ac_status 1381*d874e919Schristosif $ac_init_version; then 1382*d874e919Schristos cat <<\_ACEOF 1383*d874e919SchristosGNU Autoconf configure 2.69 1384*d874e919Schristosgenerated by GNU Autoconf 2.69 1385*d874e919Schristos 1386*d874e919SchristosCopyright (C) 2012 Free Software Foundation, Inc. 1387*d874e919SchristosThis configure script is free software; the Free Software Foundation 1388*d874e919Schristosgives unlimited permission to copy, distribute and modify it. 1389*d874e919Schristos_ACEOF 1390*d874e919Schristos exit 1391*d874e919Schristosfi 1392*d874e919Schristos 1393*d874e919Schristos## ------------------------ ## 1394*d874e919Schristos## Autoconf initialization. ## 1395*d874e919Schristos## ------------------------ ## 1396*d874e919Schristoscat >config.log <<_ACEOF 1397*d874e919SchristosThis file contains any messages produced by compilers while 1398*d874e919Schristosrunning configure, to aid debugging if configure makes a mistake. 1399*d874e919Schristos 1400*d874e919SchristosIt was created by GNU Autoconf $as_me 2.69, which was 1401*d874e919Schristosgenerated by GNU Autoconf 2.69. Invocation command line was 1402*d874e919Schristos 1403*d874e919Schristos $ $0 $@ 1404*d874e919Schristos 1405*d874e919Schristos_ACEOF 1406*d874e919Schristosexec 5>>config.log 1407*d874e919Schristos{ 1408*d874e919Schristoscat <<_ASUNAME 1409*d874e919Schristos## --------- ## 1410*d874e919Schristos## Platform. ## 1411*d874e919Schristos## --------- ## 1412*d874e919Schristos 1413*d874e919Schristoshostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1414*d874e919Schristosuname -m = `(uname -m) 2>/dev/null || echo unknown` 1415*d874e919Schristosuname -r = `(uname -r) 2>/dev/null || echo unknown` 1416*d874e919Schristosuname -s = `(uname -s) 2>/dev/null || echo unknown` 1417*d874e919Schristosuname -v = `(uname -v) 2>/dev/null || echo unknown` 1418*d874e919Schristos 1419*d874e919Schristos/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1420*d874e919Schristos/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1421*d874e919Schristos 1422*d874e919Schristos/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1423*d874e919Schristos/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1424*d874e919Schristos/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1425*d874e919Schristos/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1426*d874e919Schristos/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1427*d874e919Schristos/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1428*d874e919Schristos/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1429*d874e919Schristos 1430*d874e919Schristos_ASUNAME 1431*d874e919Schristos 1432*d874e919Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1433*d874e919Schristosfor as_dir in $PATH 1434*d874e919Schristosdo 1435*d874e919Schristos IFS=$as_save_IFS 1436*d874e919Schristos test -z "$as_dir" && as_dir=. 1437*d874e919Schristos $as_echo "PATH: $as_dir" 1438*d874e919Schristos done 1439*d874e919SchristosIFS=$as_save_IFS 1440*d874e919Schristos 1441*d874e919Schristos} >&5 1442*d874e919Schristos 1443*d874e919Schristoscat >&5 <<_ACEOF 1444*d874e919Schristos 1445*d874e919Schristos 1446*d874e919Schristos## ----------- ## 1447*d874e919Schristos## Core tests. ## 1448*d874e919Schristos## ----------- ## 1449*d874e919Schristos 1450*d874e919Schristos_ACEOF 1451*d874e919Schristos 1452*d874e919Schristos 1453*d874e919Schristos# Keep a trace of the command line. 1454*d874e919Schristos# Strip out --no-create and --no-recursion so they do not pile up. 1455*d874e919Schristos# Strip out --silent because we don't want to record it for future runs. 1456*d874e919Schristos# Also quote any args containing shell meta-characters. 1457*d874e919Schristos# Make two passes to allow for proper duplicate-argument suppression. 1458*d874e919Schristosac_configure_args= 1459*d874e919Schristosac_configure_args0= 1460*d874e919Schristosac_configure_args1= 1461*d874e919Schristosac_must_keep_next=false 1462*d874e919Schristosfor ac_pass in 1 2 1463*d874e919Schristosdo 1464*d874e919Schristos for ac_arg 1465*d874e919Schristos do 1466*d874e919Schristos case $ac_arg in 1467*d874e919Schristos -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1468*d874e919Schristos -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1469*d874e919Schristos | -silent | --silent | --silen | --sile | --sil) 1470*d874e919Schristos continue ;; 1471*d874e919Schristos *\'*) 1472*d874e919Schristos ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1473*d874e919Schristos esac 1474*d874e919Schristos case $ac_pass in 1475*d874e919Schristos 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1476*d874e919Schristos 2) 1477*d874e919Schristos as_fn_append ac_configure_args1 " '$ac_arg'" 1478*d874e919Schristos if test $ac_must_keep_next = true; then 1479*d874e919Schristos ac_must_keep_next=false # Got value, back to normal. 1480*d874e919Schristos else 1481*d874e919Schristos case $ac_arg in 1482*d874e919Schristos *=* | --config-cache | -C | -disable-* | --disable-* \ 1483*d874e919Schristos | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1484*d874e919Schristos | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1485*d874e919Schristos | -with-* | --with-* | -without-* | --without-* | --x) 1486*d874e919Schristos case "$ac_configure_args0 " in 1487*d874e919Schristos "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1488*d874e919Schristos esac 1489*d874e919Schristos ;; 1490*d874e919Schristos -* ) ac_must_keep_next=true ;; 1491*d874e919Schristos esac 1492*d874e919Schristos fi 1493*d874e919Schristos as_fn_append ac_configure_args " '$ac_arg'" 1494*d874e919Schristos ;; 1495*d874e919Schristos esac 1496*d874e919Schristos done 1497*d874e919Schristosdone 1498*d874e919Schristos{ ac_configure_args0=; unset ac_configure_args0;} 1499*d874e919Schristos{ ac_configure_args1=; unset ac_configure_args1;} 1500*d874e919Schristos 1501*d874e919Schristos# When interrupted or exit'd, cleanup temporary files, and complete 1502*d874e919Schristos# config.log. We remove comments because anyway the quotes in there 1503*d874e919Schristos# would cause problems or look ugly. 1504*d874e919Schristos# WARNING: Use '\'' to represent an apostrophe within the trap. 1505*d874e919Schristos# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1506*d874e919Schristostrap 'exit_status=$? 1507*d874e919Schristos # Save into config.log some information that might help in debugging. 1508*d874e919Schristos { 1509*d874e919Schristos echo 1510*d874e919Schristos 1511*d874e919Schristos $as_echo "## ---------------- ## 1512*d874e919Schristos## Cache variables. ## 1513*d874e919Schristos## ---------------- ##" 1514*d874e919Schristos echo 1515*d874e919Schristos # The following way of writing the cache mishandles newlines in values, 1516*d874e919Schristos( 1517*d874e919Schristos for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1518*d874e919Schristos eval ac_val=\$$ac_var 1519*d874e919Schristos case $ac_val in #( 1520*d874e919Schristos *${as_nl}*) 1521*d874e919Schristos case $ac_var in #( 1522*d874e919Schristos *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1523*d874e919Schristos$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1524*d874e919Schristos esac 1525*d874e919Schristos case $ac_var in #( 1526*d874e919Schristos _ | IFS | as_nl) ;; #( 1527*d874e919Schristos BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1528*d874e919Schristos *) { eval $ac_var=; unset $ac_var;} ;; 1529*d874e919Schristos esac ;; 1530*d874e919Schristos esac 1531*d874e919Schristos done 1532*d874e919Schristos (set) 2>&1 | 1533*d874e919Schristos case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1534*d874e919Schristos *${as_nl}ac_space=\ *) 1535*d874e919Schristos sed -n \ 1536*d874e919Schristos "s/'\''/'\''\\\\'\'''\''/g; 1537*d874e919Schristos s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1538*d874e919Schristos ;; #( 1539*d874e919Schristos *) 1540*d874e919Schristos sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1541*d874e919Schristos ;; 1542*d874e919Schristos esac | 1543*d874e919Schristos sort 1544*d874e919Schristos) 1545*d874e919Schristos echo 1546*d874e919Schristos 1547*d874e919Schristos $as_echo "## ----------------- ## 1548*d874e919Schristos## Output variables. ## 1549*d874e919Schristos## ----------------- ##" 1550*d874e919Schristos echo 1551*d874e919Schristos for ac_var in $ac_subst_vars 1552*d874e919Schristos do 1553*d874e919Schristos eval ac_val=\$$ac_var 1554*d874e919Schristos case $ac_val in 1555*d874e919Schristos *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1556*d874e919Schristos esac 1557*d874e919Schristos $as_echo "$ac_var='\''$ac_val'\''" 1558*d874e919Schristos done | sort 1559*d874e919Schristos echo 1560*d874e919Schristos 1561*d874e919Schristos if test -n "$ac_subst_files"; then 1562*d874e919Schristos $as_echo "## ------------------- ## 1563*d874e919Schristos## File substitutions. ## 1564*d874e919Schristos## ------------------- ##" 1565*d874e919Schristos echo 1566*d874e919Schristos for ac_var in $ac_subst_files 1567*d874e919Schristos do 1568*d874e919Schristos eval ac_val=\$$ac_var 1569*d874e919Schristos case $ac_val in 1570*d874e919Schristos *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1571*d874e919Schristos esac 1572*d874e919Schristos $as_echo "$ac_var='\''$ac_val'\''" 1573*d874e919Schristos done | sort 1574*d874e919Schristos echo 1575*d874e919Schristos fi 1576*d874e919Schristos 1577*d874e919Schristos if test -s confdefs.h; then 1578*d874e919Schristos $as_echo "## ----------- ## 1579*d874e919Schristos## confdefs.h. ## 1580*d874e919Schristos## ----------- ##" 1581*d874e919Schristos echo 1582*d874e919Schristos cat confdefs.h 1583*d874e919Schristos echo 1584*d874e919Schristos fi 1585*d874e919Schristos test "$ac_signal" != 0 && 1586*d874e919Schristos $as_echo "$as_me: caught signal $ac_signal" 1587*d874e919Schristos $as_echo "$as_me: exit $exit_status" 1588*d874e919Schristos } >&5 1589*d874e919Schristos rm -f core *.core core.conftest.* && 1590*d874e919Schristos rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1591*d874e919Schristos exit $exit_status 1592*d874e919Schristos' 0 1593*d874e919Schristosfor ac_signal in 1 2 13 15; do 1594*d874e919Schristos trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1595*d874e919Schristosdone 1596*d874e919Schristosac_signal=0 1597*d874e919Schristos 1598*d874e919Schristos# confdefs.h avoids OS command line length limits that DEFS can exceed. 1599*d874e919Schristosrm -f -r conftest* confdefs.h 1600*d874e919Schristos 1601*d874e919Schristos$as_echo "/* confdefs.h */" > confdefs.h 1602*d874e919Schristos 1603*d874e919Schristos# Predefined preprocessor variables. 1604*d874e919Schristos 1605*d874e919Schristoscat >>confdefs.h <<_ACEOF 1606*d874e919Schristos#define PACKAGE_NAME "$PACKAGE_NAME" 1607*d874e919Schristos_ACEOF 1608*d874e919Schristos 1609*d874e919Schristoscat >>confdefs.h <<_ACEOF 1610*d874e919Schristos#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1611*d874e919Schristos_ACEOF 1612*d874e919Schristos 1613*d874e919Schristoscat >>confdefs.h <<_ACEOF 1614*d874e919Schristos#define PACKAGE_VERSION "$PACKAGE_VERSION" 1615*d874e919Schristos_ACEOF 1616*d874e919Schristos 1617*d874e919Schristoscat >>confdefs.h <<_ACEOF 1618*d874e919Schristos#define PACKAGE_STRING "$PACKAGE_STRING" 1619*d874e919Schristos_ACEOF 1620*d874e919Schristos 1621*d874e919Schristoscat >>confdefs.h <<_ACEOF 1622*d874e919Schristos#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1623*d874e919Schristos_ACEOF 1624*d874e919Schristos 1625*d874e919Schristoscat >>confdefs.h <<_ACEOF 1626*d874e919Schristos#define PACKAGE_URL "$PACKAGE_URL" 1627*d874e919Schristos_ACEOF 1628*d874e919Schristos 1629*d874e919Schristos 1630*d874e919Schristos# Let the site file select an alternate cache file if it wants to. 1631*d874e919Schristos# Prefer an explicitly selected file to automatically selected ones. 1632*d874e919Schristosac_site_file1=NONE 1633*d874e919Schristosac_site_file2=NONE 1634*d874e919Schristosif test -n "$CONFIG_SITE"; then 1635*d874e919Schristos # We do not want a PATH search for config.site. 1636*d874e919Schristos case $CONFIG_SITE in #(( 1637*d874e919Schristos -*) ac_site_file1=./$CONFIG_SITE;; 1638*d874e919Schristos */*) ac_site_file1=$CONFIG_SITE;; 1639*d874e919Schristos *) ac_site_file1=./$CONFIG_SITE;; 1640*d874e919Schristos esac 1641*d874e919Schristoselif test "x$prefix" != xNONE; then 1642*d874e919Schristos ac_site_file1=$prefix/share/config.site 1643*d874e919Schristos ac_site_file2=$prefix/etc/config.site 1644*d874e919Schristoselse 1645*d874e919Schristos ac_site_file1=$ac_default_prefix/share/config.site 1646*d874e919Schristos ac_site_file2=$ac_default_prefix/etc/config.site 1647*d874e919Schristosfi 1648*d874e919Schristosfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 1649*d874e919Schristosdo 1650*d874e919Schristos test "x$ac_site_file" = xNONE && continue 1651*d874e919Schristos if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1652*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1653*d874e919Schristos$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1654*d874e919Schristos sed 's/^/| /' "$ac_site_file" >&5 1655*d874e919Schristos . "$ac_site_file" \ 1656*d874e919Schristos || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1657*d874e919Schristos$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1658*d874e919Schristosas_fn_error $? "failed to load site script $ac_site_file 1659*d874e919SchristosSee \`config.log' for more details" "$LINENO" 5; } 1660*d874e919Schristos fi 1661*d874e919Schristosdone 1662*d874e919Schristos 1663*d874e919Schristosif test -r "$cache_file"; then 1664*d874e919Schristos # Some versions of bash will fail to source /dev/null (special files 1665*d874e919Schristos # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1666*d874e919Schristos if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1667*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1668*d874e919Schristos$as_echo "$as_me: loading cache $cache_file" >&6;} 1669*d874e919Schristos case $cache_file in 1670*d874e919Schristos [\\/]* | ?:[\\/]* ) . "$cache_file";; 1671*d874e919Schristos *) . "./$cache_file";; 1672*d874e919Schristos esac 1673*d874e919Schristos fi 1674*d874e919Schristoselse 1675*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1676*d874e919Schristos$as_echo "$as_me: creating cache $cache_file" >&6;} 1677*d874e919Schristos >$cache_file 1678*d874e919Schristosfi 1679*d874e919Schristos 1680*d874e919Schristos# Check that the precious variables saved in the cache have kept the same 1681*d874e919Schristos# value. 1682*d874e919Schristosac_cache_corrupted=false 1683*d874e919Schristosfor ac_var in $ac_precious_vars; do 1684*d874e919Schristos eval ac_old_set=\$ac_cv_env_${ac_var}_set 1685*d874e919Schristos eval ac_new_set=\$ac_env_${ac_var}_set 1686*d874e919Schristos eval ac_old_val=\$ac_cv_env_${ac_var}_value 1687*d874e919Schristos eval ac_new_val=\$ac_env_${ac_var}_value 1688*d874e919Schristos case $ac_old_set,$ac_new_set in 1689*d874e919Schristos set,) 1690*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1691*d874e919Schristos$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1692*d874e919Schristos ac_cache_corrupted=: ;; 1693*d874e919Schristos ,set) 1694*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1695*d874e919Schristos$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1696*d874e919Schristos ac_cache_corrupted=: ;; 1697*d874e919Schristos ,);; 1698*d874e919Schristos *) 1699*d874e919Schristos if test "x$ac_old_val" != "x$ac_new_val"; then 1700*d874e919Schristos # differences in whitespace do not lead to failure. 1701*d874e919Schristos ac_old_val_w=`echo x $ac_old_val` 1702*d874e919Schristos ac_new_val_w=`echo x $ac_new_val` 1703*d874e919Schristos if test "$ac_old_val_w" != "$ac_new_val_w"; then 1704*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1705*d874e919Schristos$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1706*d874e919Schristos ac_cache_corrupted=: 1707*d874e919Schristos else 1708*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1709*d874e919Schristos$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1710*d874e919Schristos eval $ac_var=\$ac_old_val 1711*d874e919Schristos fi 1712*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1713*d874e919Schristos$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1714*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1715*d874e919Schristos$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1716*d874e919Schristos fi;; 1717*d874e919Schristos esac 1718*d874e919Schristos # Pass precious variables to config.status. 1719*d874e919Schristos if test "$ac_new_set" = set; then 1720*d874e919Schristos case $ac_new_val in 1721*d874e919Schristos *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1722*d874e919Schristos *) ac_arg=$ac_var=$ac_new_val ;; 1723*d874e919Schristos esac 1724*d874e919Schristos case " $ac_configure_args " in 1725*d874e919Schristos *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1726*d874e919Schristos *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1727*d874e919Schristos esac 1728*d874e919Schristos fi 1729*d874e919Schristosdone 1730*d874e919Schristosif $ac_cache_corrupted; then 1731*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1732*d874e919Schristos$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1733*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1734*d874e919Schristos$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1735*d874e919Schristos as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1736*d874e919Schristosfi 1737*d874e919Schristos## -------------------- ## 1738*d874e919Schristos## Main body of script. ## 1739*d874e919Schristos## -------------------- ## 1740*d874e919Schristos 1741*d874e919Schristosac_ext=c 1742*d874e919Schristosac_cpp='$CPP $CPPFLAGS' 1743*d874e919Schristosac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1744*d874e919Schristosac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1745*d874e919Schristosac_compiler_gnu=$ac_cv_c_compiler_gnu 1746*d874e919Schristos 1747*d874e919Schristos 1748*d874e919Schristos 1749*d874e919Schristos 1750*d874e919Schristosac_aux_dir= 1751*d874e919Schristosfor ac_dir in build-aux "$srcdir"/build-aux; do 1752*d874e919Schristos if test -f "$ac_dir/install-sh"; then 1753*d874e919Schristos ac_aux_dir=$ac_dir 1754*d874e919Schristos ac_install_sh="$ac_aux_dir/install-sh -c" 1755*d874e919Schristos break 1756*d874e919Schristos elif test -f "$ac_dir/install.sh"; then 1757*d874e919Schristos ac_aux_dir=$ac_dir 1758*d874e919Schristos ac_install_sh="$ac_aux_dir/install.sh -c" 1759*d874e919Schristos break 1760*d874e919Schristos elif test -f "$ac_dir/shtool"; then 1761*d874e919Schristos ac_aux_dir=$ac_dir 1762*d874e919Schristos ac_install_sh="$ac_aux_dir/shtool install -c" 1763*d874e919Schristos break 1764*d874e919Schristos fi 1765*d874e919Schristosdone 1766*d874e919Schristosif test -z "$ac_aux_dir"; then 1767*d874e919Schristos as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 1768*d874e919Schristosfi 1769*d874e919Schristos 1770*d874e919Schristos# These three variables are undocumented and unsupported, 1771*d874e919Schristos# and are intended to be withdrawn in a future Autoconf release. 1772*d874e919Schristos# They can cause serious problems if a builder's source tree is in a directory 1773*d874e919Schristos# whose full name contains unusual characters. 1774*d874e919Schristosac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1775*d874e919Schristosac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1776*d874e919Schristosac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1777*d874e919Schristos 1778*d874e919Schristos 1779*d874e919Schristos 1780*d874e919Schristosam__api_version='1.11' 1781*d874e919Schristos 1782*d874e919Schristos# Find a good install program. We prefer a C program (faster), 1783*d874e919Schristos# so one script is as good as another. But avoid the broken or 1784*d874e919Schristos# incompatible versions: 1785*d874e919Schristos# SysV /etc/install, /usr/sbin/install 1786*d874e919Schristos# SunOS /usr/etc/install 1787*d874e919Schristos# IRIX /sbin/install 1788*d874e919Schristos# AIX /bin/install 1789*d874e919Schristos# AmigaOS /C/install, which installs bootblocks on floppy discs 1790*d874e919Schristos# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1791*d874e919Schristos# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1792*d874e919Schristos# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1793*d874e919Schristos# OS/2's system install, which has a completely different semantic 1794*d874e919Schristos# ./install, which can be erroneously created by make from ./install.sh. 1795*d874e919Schristos# Reject install programs that cannot install multiple files. 1796*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1797*d874e919Schristos$as_echo_n "checking for a BSD-compatible install... " >&6; } 1798*d874e919Schristosif test -z "$INSTALL"; then 1799*d874e919Schristosif ${ac_cv_path_install+:} false; then : 1800*d874e919Schristos $as_echo_n "(cached) " >&6 1801*d874e919Schristoselse 1802*d874e919Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1803*d874e919Schristosfor as_dir in $PATH 1804*d874e919Schristosdo 1805*d874e919Schristos IFS=$as_save_IFS 1806*d874e919Schristos test -z "$as_dir" && as_dir=. 1807*d874e919Schristos # Account for people who put trailing slashes in PATH elements. 1808*d874e919Schristoscase $as_dir/ in #(( 1809*d874e919Schristos ./ | .// | /[cC]/* | \ 1810*d874e919Schristos /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1811*d874e919Schristos ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1812*d874e919Schristos /usr/ucb/* ) ;; 1813*d874e919Schristos *) 1814*d874e919Schristos # OSF1 and SCO ODT 3.0 have their own names for install. 1815*d874e919Schristos # Don't use installbsd from OSF since it installs stuff as root 1816*d874e919Schristos # by default. 1817*d874e919Schristos for ac_prog in ginstall scoinst install; do 1818*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 1819*d874e919Schristos if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1820*d874e919Schristos if test $ac_prog = install && 1821*d874e919Schristos grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1822*d874e919Schristos # AIX install. It has an incompatible calling convention. 1823*d874e919Schristos : 1824*d874e919Schristos elif test $ac_prog = install && 1825*d874e919Schristos grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1826*d874e919Schristos # program-specific install script used by HP pwplus--don't use. 1827*d874e919Schristos : 1828*d874e919Schristos else 1829*d874e919Schristos rm -rf conftest.one conftest.two conftest.dir 1830*d874e919Schristos echo one > conftest.one 1831*d874e919Schristos echo two > conftest.two 1832*d874e919Schristos mkdir conftest.dir 1833*d874e919Schristos if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1834*d874e919Schristos test -s conftest.one && test -s conftest.two && 1835*d874e919Schristos test -s conftest.dir/conftest.one && 1836*d874e919Schristos test -s conftest.dir/conftest.two 1837*d874e919Schristos then 1838*d874e919Schristos ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1839*d874e919Schristos break 3 1840*d874e919Schristos fi 1841*d874e919Schristos fi 1842*d874e919Schristos fi 1843*d874e919Schristos done 1844*d874e919Schristos done 1845*d874e919Schristos ;; 1846*d874e919Schristosesac 1847*d874e919Schristos 1848*d874e919Schristos done 1849*d874e919SchristosIFS=$as_save_IFS 1850*d874e919Schristos 1851*d874e919Schristosrm -rf conftest.one conftest.two conftest.dir 1852*d874e919Schristos 1853*d874e919Schristosfi 1854*d874e919Schristos if test "${ac_cv_path_install+set}" = set; then 1855*d874e919Schristos INSTALL=$ac_cv_path_install 1856*d874e919Schristos else 1857*d874e919Schristos # As a last resort, use the slow shell script. Don't cache a 1858*d874e919Schristos # value for INSTALL within a source directory, because that will 1859*d874e919Schristos # break other packages using the cache if that directory is 1860*d874e919Schristos # removed, or if the value is a relative name. 1861*d874e919Schristos INSTALL=$ac_install_sh 1862*d874e919Schristos fi 1863*d874e919Schristosfi 1864*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 1865*d874e919Schristos$as_echo "$INSTALL" >&6; } 1866*d874e919Schristos 1867*d874e919Schristos# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1868*d874e919Schristos# It thinks the first close brace ends the variable substitution. 1869*d874e919Schristostest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1870*d874e919Schristos 1871*d874e919Schristostest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1872*d874e919Schristos 1873*d874e919Schristostest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1874*d874e919Schristos 1875*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 1876*d874e919Schristos$as_echo_n "checking whether build environment is sane... " >&6; } 1877*d874e919Schristos# Just in case 1878*d874e919Schristossleep 1 1879*d874e919Schristosecho timestamp > conftest.file 1880*d874e919Schristos# Reject unsafe characters in $srcdir or the absolute working directory 1881*d874e919Schristos# name. Accept space and tab only in the latter. 1882*d874e919Schristosam_lf=' 1883*d874e919Schristos' 1884*d874e919Schristoscase `pwd` in 1885*d874e919Schristos *[\\\"\#\$\&\'\`$am_lf]*) 1886*d874e919Schristos as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 1887*d874e919Schristosesac 1888*d874e919Schristoscase $srcdir in 1889*d874e919Schristos *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 1890*d874e919Schristos as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 1891*d874e919Schristosesac 1892*d874e919Schristos 1893*d874e919Schristos# Do `set' in a subshell so we don't clobber the current shell's 1894*d874e919Schristos# arguments. Must try -L first in case configure is actually a 1895*d874e919Schristos# symlink; some systems play weird games with the mod time of symlinks 1896*d874e919Schristos# (eg FreeBSD returns the mod time of the symlink's containing 1897*d874e919Schristos# directory). 1898*d874e919Schristosif ( 1899*d874e919Schristos set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 1900*d874e919Schristos if test "$*" = "X"; then 1901*d874e919Schristos # -L didn't work. 1902*d874e919Schristos set X `ls -t "$srcdir/configure" conftest.file` 1903*d874e919Schristos fi 1904*d874e919Schristos rm -f conftest.file 1905*d874e919Schristos if test "$*" != "X $srcdir/configure conftest.file" \ 1906*d874e919Schristos && test "$*" != "X conftest.file $srcdir/configure"; then 1907*d874e919Schristos 1908*d874e919Schristos # If neither matched, then we have a broken ls. This can happen 1909*d874e919Schristos # if, for instance, CONFIG_SHELL is bash and it inherits a 1910*d874e919Schristos # broken ls alias from the environment. This has actually 1911*d874e919Schristos # happened. Such a system could not be considered "sane". 1912*d874e919Schristos as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 1913*d874e919Schristosalias in your environment" "$LINENO" 5 1914*d874e919Schristos fi 1915*d874e919Schristos 1916*d874e919Schristos test "$2" = conftest.file 1917*d874e919Schristos ) 1918*d874e919Schristosthen 1919*d874e919Schristos # Ok. 1920*d874e919Schristos : 1921*d874e919Schristoselse 1922*d874e919Schristos as_fn_error $? "newly created file is older than distributed files! 1923*d874e919SchristosCheck your system clock" "$LINENO" 5 1924*d874e919Schristosfi 1925*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1926*d874e919Schristos$as_echo "yes" >&6; } 1927*d874e919Schristostest "$program_prefix" != NONE && 1928*d874e919Schristos program_transform_name="s&^&$program_prefix&;$program_transform_name" 1929*d874e919Schristos# Use a double $ so make ignores it. 1930*d874e919Schristostest "$program_suffix" != NONE && 1931*d874e919Schristos program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1932*d874e919Schristos# Double any \ or $. 1933*d874e919Schristos# By default was `s,x,x', remove it if useless. 1934*d874e919Schristosac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 1935*d874e919Schristosprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 1936*d874e919Schristos 1937*d874e919Schristos# expand $ac_aux_dir to an absolute path 1938*d874e919Schristosam_aux_dir=`cd $ac_aux_dir && pwd` 1939*d874e919Schristos 1940*d874e919Schristosif test x"${MISSING+set}" != xset; then 1941*d874e919Schristos case $am_aux_dir in 1942*d874e919Schristos *\ * | *\ *) 1943*d874e919Schristos MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 1944*d874e919Schristos *) 1945*d874e919Schristos MISSING="\${SHELL} $am_aux_dir/missing" ;; 1946*d874e919Schristos esac 1947*d874e919Schristosfi 1948*d874e919Schristos# Use eval to expand $SHELL 1949*d874e919Schristosif eval "$MISSING --run true"; then 1950*d874e919Schristos am_missing_run="$MISSING --run " 1951*d874e919Schristoselse 1952*d874e919Schristos am_missing_run= 1953*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 1954*d874e919Schristos$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1955*d874e919Schristosfi 1956*d874e919Schristos 1957*d874e919Schristosif test x"${install_sh}" != xset; then 1958*d874e919Schristos case $am_aux_dir in 1959*d874e919Schristos *\ * | *\ *) 1960*d874e919Schristos install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 1961*d874e919Schristos *) 1962*d874e919Schristos install_sh="\${SHELL} $am_aux_dir/install-sh" 1963*d874e919Schristos esac 1964*d874e919Schristosfi 1965*d874e919Schristos 1966*d874e919Schristos# Installed binaries are usually stripped using `strip' when the user 1967*d874e919Schristos# run `make install-strip'. However `strip' might not be the right 1968*d874e919Schristos# tool to use in cross-compilation environments, therefore Automake 1969*d874e919Schristos# will honor the `STRIP' environment variable to overrule this program. 1970*d874e919Schristosif test "$cross_compiling" != no; then 1971*d874e919Schristos if test -n "$ac_tool_prefix"; then 1972*d874e919Schristos # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1973*d874e919Schristosset dummy ${ac_tool_prefix}strip; ac_word=$2 1974*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1975*d874e919Schristos$as_echo_n "checking for $ac_word... " >&6; } 1976*d874e919Schristosif ${ac_cv_prog_STRIP+:} false; then : 1977*d874e919Schristos $as_echo_n "(cached) " >&6 1978*d874e919Schristoselse 1979*d874e919Schristos if test -n "$STRIP"; then 1980*d874e919Schristos ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1981*d874e919Schristoselse 1982*d874e919Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1983*d874e919Schristosfor as_dir in $PATH 1984*d874e919Schristosdo 1985*d874e919Schristos IFS=$as_save_IFS 1986*d874e919Schristos test -z "$as_dir" && as_dir=. 1987*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 1988*d874e919Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1989*d874e919Schristos ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1990*d874e919Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1991*d874e919Schristos break 2 1992*d874e919Schristos fi 1993*d874e919Schristosdone 1994*d874e919Schristos done 1995*d874e919SchristosIFS=$as_save_IFS 1996*d874e919Schristos 1997*d874e919Schristosfi 1998*d874e919Schristosfi 1999*d874e919SchristosSTRIP=$ac_cv_prog_STRIP 2000*d874e919Schristosif test -n "$STRIP"; then 2001*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2002*d874e919Schristos$as_echo "$STRIP" >&6; } 2003*d874e919Schristoselse 2004*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2005*d874e919Schristos$as_echo "no" >&6; } 2006*d874e919Schristosfi 2007*d874e919Schristos 2008*d874e919Schristos 2009*d874e919Schristosfi 2010*d874e919Schristosif test -z "$ac_cv_prog_STRIP"; then 2011*d874e919Schristos ac_ct_STRIP=$STRIP 2012*d874e919Schristos # Extract the first word of "strip", so it can be a program name with args. 2013*d874e919Schristosset dummy strip; ac_word=$2 2014*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2015*d874e919Schristos$as_echo_n "checking for $ac_word... " >&6; } 2016*d874e919Schristosif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2017*d874e919Schristos $as_echo_n "(cached) " >&6 2018*d874e919Schristoselse 2019*d874e919Schristos if test -n "$ac_ct_STRIP"; then 2020*d874e919Schristos ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2021*d874e919Schristoselse 2022*d874e919Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2023*d874e919Schristosfor as_dir in $PATH 2024*d874e919Schristosdo 2025*d874e919Schristos IFS=$as_save_IFS 2026*d874e919Schristos test -z "$as_dir" && as_dir=. 2027*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2028*d874e919Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2029*d874e919Schristos ac_cv_prog_ac_ct_STRIP="strip" 2030*d874e919Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2031*d874e919Schristos break 2 2032*d874e919Schristos fi 2033*d874e919Schristosdone 2034*d874e919Schristos done 2035*d874e919SchristosIFS=$as_save_IFS 2036*d874e919Schristos 2037*d874e919Schristosfi 2038*d874e919Schristosfi 2039*d874e919Schristosac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2040*d874e919Schristosif test -n "$ac_ct_STRIP"; then 2041*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2042*d874e919Schristos$as_echo "$ac_ct_STRIP" >&6; } 2043*d874e919Schristoselse 2044*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2045*d874e919Schristos$as_echo "no" >&6; } 2046*d874e919Schristosfi 2047*d874e919Schristos 2048*d874e919Schristos if test "x$ac_ct_STRIP" = x; then 2049*d874e919Schristos STRIP=":" 2050*d874e919Schristos else 2051*d874e919Schristos case $cross_compiling:$ac_tool_warned in 2052*d874e919Schristosyes:) 2053*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2054*d874e919Schristos$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2055*d874e919Schristosac_tool_warned=yes ;; 2056*d874e919Schristosesac 2057*d874e919Schristos STRIP=$ac_ct_STRIP 2058*d874e919Schristos fi 2059*d874e919Schristoselse 2060*d874e919Schristos STRIP="$ac_cv_prog_STRIP" 2061*d874e919Schristosfi 2062*d874e919Schristos 2063*d874e919Schristosfi 2064*d874e919SchristosINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2065*d874e919Schristos 2066*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2067*d874e919Schristos$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2068*d874e919Schristosif test -z "$MKDIR_P"; then 2069*d874e919Schristos if ${ac_cv_path_mkdir+:} false; then : 2070*d874e919Schristos $as_echo_n "(cached) " >&6 2071*d874e919Schristoselse 2072*d874e919Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2073*d874e919Schristosfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2074*d874e919Schristosdo 2075*d874e919Schristos IFS=$as_save_IFS 2076*d874e919Schristos test -z "$as_dir" && as_dir=. 2077*d874e919Schristos for ac_prog in mkdir gmkdir; do 2078*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2079*d874e919Schristos as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2080*d874e919Schristos case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2081*d874e919Schristos 'mkdir (GNU coreutils) '* | \ 2082*d874e919Schristos 'mkdir (coreutils) '* | \ 2083*d874e919Schristos 'mkdir (fileutils) '4.1*) 2084*d874e919Schristos ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2085*d874e919Schristos break 3;; 2086*d874e919Schristos esac 2087*d874e919Schristos done 2088*d874e919Schristos done 2089*d874e919Schristos done 2090*d874e919SchristosIFS=$as_save_IFS 2091*d874e919Schristos 2092*d874e919Schristosfi 2093*d874e919Schristos 2094*d874e919Schristos test -d ./--version && rmdir ./--version 2095*d874e919Schristos if test "${ac_cv_path_mkdir+set}" = set; then 2096*d874e919Schristos MKDIR_P="$ac_cv_path_mkdir -p" 2097*d874e919Schristos else 2098*d874e919Schristos # As a last resort, use the slow shell script. Don't cache a 2099*d874e919Schristos # value for MKDIR_P within a source directory, because that will 2100*d874e919Schristos # break other packages using the cache if that directory is 2101*d874e919Schristos # removed, or if the value is a relative name. 2102*d874e919Schristos MKDIR_P="$ac_install_sh -d" 2103*d874e919Schristos fi 2104*d874e919Schristosfi 2105*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2106*d874e919Schristos$as_echo "$MKDIR_P" >&6; } 2107*d874e919Schristos 2108*d874e919Schristosmkdir_p="$MKDIR_P" 2109*d874e919Schristoscase $mkdir_p in 2110*d874e919Schristos [\\/$]* | ?:[\\/]*) ;; 2111*d874e919Schristos */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2112*d874e919Schristosesac 2113*d874e919Schristos 2114*d874e919Schristosfor ac_prog in gawk mawk nawk awk 2115*d874e919Schristosdo 2116*d874e919Schristos # Extract the first word of "$ac_prog", so it can be a program name with args. 2117*d874e919Schristosset dummy $ac_prog; ac_word=$2 2118*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2119*d874e919Schristos$as_echo_n "checking for $ac_word... " >&6; } 2120*d874e919Schristosif ${ac_cv_prog_AWK+:} false; then : 2121*d874e919Schristos $as_echo_n "(cached) " >&6 2122*d874e919Schristoselse 2123*d874e919Schristos if test -n "$AWK"; then 2124*d874e919Schristos ac_cv_prog_AWK="$AWK" # Let the user override the test. 2125*d874e919Schristoselse 2126*d874e919Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2127*d874e919Schristosfor as_dir in $PATH 2128*d874e919Schristosdo 2129*d874e919Schristos IFS=$as_save_IFS 2130*d874e919Schristos test -z "$as_dir" && as_dir=. 2131*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2132*d874e919Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2133*d874e919Schristos ac_cv_prog_AWK="$ac_prog" 2134*d874e919Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2135*d874e919Schristos break 2 2136*d874e919Schristos fi 2137*d874e919Schristosdone 2138*d874e919Schristos done 2139*d874e919SchristosIFS=$as_save_IFS 2140*d874e919Schristos 2141*d874e919Schristosfi 2142*d874e919Schristosfi 2143*d874e919SchristosAWK=$ac_cv_prog_AWK 2144*d874e919Schristosif test -n "$AWK"; then 2145*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2146*d874e919Schristos$as_echo "$AWK" >&6; } 2147*d874e919Schristoselse 2148*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2149*d874e919Schristos$as_echo "no" >&6; } 2150*d874e919Schristosfi 2151*d874e919Schristos 2152*d874e919Schristos 2153*d874e919Schristos test -n "$AWK" && break 2154*d874e919Schristosdone 2155*d874e919Schristos 2156*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2157*d874e919Schristos$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2158*d874e919Schristosset x ${MAKE-make} 2159*d874e919Schristosac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2160*d874e919Schristosif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2161*d874e919Schristos $as_echo_n "(cached) " >&6 2162*d874e919Schristoselse 2163*d874e919Schristos cat >conftest.make <<\_ACEOF 2164*d874e919SchristosSHELL = /bin/sh 2165*d874e919Schristosall: 2166*d874e919Schristos @echo '@@@%%%=$(MAKE)=@@@%%%' 2167*d874e919Schristos_ACEOF 2168*d874e919Schristos# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2169*d874e919Schristoscase `${MAKE-make} -f conftest.make 2>/dev/null` in 2170*d874e919Schristos *@@@%%%=?*=@@@%%%*) 2171*d874e919Schristos eval ac_cv_prog_make_${ac_make}_set=yes;; 2172*d874e919Schristos *) 2173*d874e919Schristos eval ac_cv_prog_make_${ac_make}_set=no;; 2174*d874e919Schristosesac 2175*d874e919Schristosrm -f conftest.make 2176*d874e919Schristosfi 2177*d874e919Schristosif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2178*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2179*d874e919Schristos$as_echo "yes" >&6; } 2180*d874e919Schristos SET_MAKE= 2181*d874e919Schristoselse 2182*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2183*d874e919Schristos$as_echo "no" >&6; } 2184*d874e919Schristos SET_MAKE="MAKE=${MAKE-make}" 2185*d874e919Schristosfi 2186*d874e919Schristos 2187*d874e919Schristosrm -rf .tst 2>/dev/null 2188*d874e919Schristosmkdir .tst 2>/dev/null 2189*d874e919Schristosif test -d .tst; then 2190*d874e919Schristos am__leading_dot=. 2191*d874e919Schristoselse 2192*d874e919Schristos am__leading_dot=_ 2193*d874e919Schristosfi 2194*d874e919Schristosrmdir .tst 2>/dev/null 2195*d874e919Schristos 2196*d874e919Schristosif test "`cd $srcdir && pwd`" != "`pwd`"; then 2197*d874e919Schristos # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2198*d874e919Schristos # is not polluted with repeated "-I." 2199*d874e919Schristos am__isrc=' -I$(srcdir)' 2200*d874e919Schristos # test to see if srcdir already configured 2201*d874e919Schristos if test -f $srcdir/config.status; then 2202*d874e919Schristos as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2203*d874e919Schristos fi 2204*d874e919Schristosfi 2205*d874e919Schristos 2206*d874e919Schristos# test whether we have cygpath 2207*d874e919Schristosif test -z "$CYGPATH_W"; then 2208*d874e919Schristos if (cygpath --version) >/dev/null 2>/dev/null; then 2209*d874e919Schristos CYGPATH_W='cygpath -w' 2210*d874e919Schristos else 2211*d874e919Schristos CYGPATH_W=echo 2212*d874e919Schristos fi 2213*d874e919Schristosfi 2214*d874e919Schristos 2215*d874e919Schristos 2216*d874e919Schristos# Define the identity of the package. 2217*d874e919Schristos PACKAGE='autoconf' 2218*d874e919Schristos VERSION='2.69' 2219*d874e919Schristos 2220*d874e919Schristos 2221*d874e919Schristoscat >>confdefs.h <<_ACEOF 2222*d874e919Schristos#define PACKAGE "$PACKAGE" 2223*d874e919Schristos_ACEOF 2224*d874e919Schristos 2225*d874e919Schristos 2226*d874e919Schristoscat >>confdefs.h <<_ACEOF 2227*d874e919Schristos#define VERSION "$VERSION" 2228*d874e919Schristos_ACEOF 2229*d874e919Schristos 2230*d874e919Schristos# Some tools Automake needs. 2231*d874e919Schristos 2232*d874e919SchristosACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2233*d874e919Schristos 2234*d874e919Schristos 2235*d874e919SchristosAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2236*d874e919Schristos 2237*d874e919Schristos 2238*d874e919SchristosAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2239*d874e919Schristos 2240*d874e919Schristos 2241*d874e919SchristosAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2242*d874e919Schristos 2243*d874e919Schristos 2244*d874e919SchristosMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2245*d874e919Schristos 2246*d874e919Schristos# We need awk for the "check" target. The system "awk" is bad on 2247*d874e919Schristos# some platforms. 2248*d874e919Schristos# Always define AMTAR for backward compatibility. 2249*d874e919Schristos 2250*d874e919SchristosAMTAR=${AMTAR-"${am_missing_run}tar"} 2251*d874e919Schristos 2252*d874e919Schristosam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2253*d874e919Schristos 2254*d874e919Schristos 2255*d874e919Schristos 2256*d874e919Schristos 2257*d874e919Schristos 2258*d874e919Schristos 2259*d874e919Schristos# Make sure we can run config.sub. 2260*d874e919Schristos$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2261*d874e919Schristos as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2262*d874e919Schristos 2263*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2264*d874e919Schristos$as_echo_n "checking build system type... " >&6; } 2265*d874e919Schristosif ${ac_cv_build+:} false; then : 2266*d874e919Schristos $as_echo_n "(cached) " >&6 2267*d874e919Schristoselse 2268*d874e919Schristos ac_build_alias=$build_alias 2269*d874e919Schristostest "x$ac_build_alias" = x && 2270*d874e919Schristos ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2271*d874e919Schristostest "x$ac_build_alias" = x && 2272*d874e919Schristos as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2273*d874e919Schristosac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2274*d874e919Schristos as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2275*d874e919Schristos 2276*d874e919Schristosfi 2277*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2278*d874e919Schristos$as_echo "$ac_cv_build" >&6; } 2279*d874e919Schristoscase $ac_cv_build in 2280*d874e919Schristos*-*-*) ;; 2281*d874e919Schristos*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2282*d874e919Schristosesac 2283*d874e919Schristosbuild=$ac_cv_build 2284*d874e919Schristosac_save_IFS=$IFS; IFS='-' 2285*d874e919Schristosset x $ac_cv_build 2286*d874e919Schristosshift 2287*d874e919Schristosbuild_cpu=$1 2288*d874e919Schristosbuild_vendor=$2 2289*d874e919Schristosshift; shift 2290*d874e919Schristos# Remember, the first character of IFS is used to create $*, 2291*d874e919Schristos# except with old shells: 2292*d874e919Schristosbuild_os=$* 2293*d874e919SchristosIFS=$ac_save_IFS 2294*d874e919Schristoscase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2295*d874e919Schristos 2296*d874e919Schristos 2297*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2298*d874e919Schristos$as_echo_n "checking host system type... " >&6; } 2299*d874e919Schristosif ${ac_cv_host+:} false; then : 2300*d874e919Schristos $as_echo_n "(cached) " >&6 2301*d874e919Schristoselse 2302*d874e919Schristos if test "x$host_alias" = x; then 2303*d874e919Schristos ac_cv_host=$ac_cv_build 2304*d874e919Schristoselse 2305*d874e919Schristos ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2306*d874e919Schristos as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2307*d874e919Schristosfi 2308*d874e919Schristos 2309*d874e919Schristosfi 2310*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2311*d874e919Schristos$as_echo "$ac_cv_host" >&6; } 2312*d874e919Schristoscase $ac_cv_host in 2313*d874e919Schristos*-*-*) ;; 2314*d874e919Schristos*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2315*d874e919Schristosesac 2316*d874e919Schristoshost=$ac_cv_host 2317*d874e919Schristosac_save_IFS=$IFS; IFS='-' 2318*d874e919Schristosset x $ac_cv_host 2319*d874e919Schristosshift 2320*d874e919Schristoshost_cpu=$1 2321*d874e919Schristoshost_vendor=$2 2322*d874e919Schristosshift; shift 2323*d874e919Schristos# Remember, the first character of IFS is used to create $*, 2324*d874e919Schristos# except with old shells: 2325*d874e919Schristoshost_os=$* 2326*d874e919SchristosIFS=$ac_save_IFS 2327*d874e919Schristoscase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2328*d874e919Schristos 2329*d874e919Schristos 2330*d874e919Schristos 2331*d874e919Schristos 2332*d874e919Schristos 2333*d874e919Schristos 2334*d874e919Schristos if test -z "$AB_PACKAGE"; then 2335*d874e919Schristos AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE} 2336*d874e919Schristos fi 2337*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5 2338*d874e919Schristos$as_echo "$as_me: autobuild project... $AB_PACKAGE" >&6;} 2339*d874e919Schristos 2340*d874e919Schristos if test -z "$AB_VERSION"; then 2341*d874e919Schristos AB_VERSION=${PACKAGE_VERSION:-$VERSION} 2342*d874e919Schristos fi 2343*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5 2344*d874e919Schristos$as_echo "$as_me: autobuild revision... $AB_VERSION" >&6;} 2345*d874e919Schristos 2346*d874e919Schristos hostname=`hostname` 2347*d874e919Schristos if test "$hostname"; then 2348*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5 2349*d874e919Schristos$as_echo "$as_me: autobuild hostname... $hostname" >&6;} 2350*d874e919Schristos fi 2351*d874e919Schristos 2352*d874e919Schristos 2353*d874e919Schristos 2354*d874e919Schristos date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ` 2355*d874e919Schristos if test "$?" != 0; then 2356*d874e919Schristos date=`date` 2357*d874e919Schristos fi 2358*d874e919Schristos if test "$date"; then 2359*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5 2360*d874e919Schristos$as_echo "$as_me: autobuild timestamp... $date" >&6;} 2361*d874e919Schristos fi 2362*d874e919Schristos 2363*d874e919Schristos 2364*d874e919Schristos# We use `/bin/sh -n script' to check that there are no syntax errors 2365*d874e919Schristos# in the scripts. Although incredible, there are /bin/sh that go into 2366*d874e919Schristos# endless loops with `-n', e.g., SunOS's: 2367*d874e919Schristos# 2368*d874e919Schristos# $ uname -a 2369*d874e919Schristos# SunOS ondine 4.1.3 2 sun4m unknown 2370*d874e919Schristos# $ cat endless.sh 2371*d874e919Schristos# while false 2372*d874e919Schristos# do 2373*d874e919Schristos# : 2374*d874e919Schristos# done 2375*d874e919Schristos# exit 0 2376*d874e919Schristos# $ time sh endless.sh 2377*d874e919Schristos# sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total 2378*d874e919Schristos# $ time sh -nx endless.sh 2379*d874e919Schristos# ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total 2380*d874e919Schristos# 2381*d874e919Schristos# Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow 2382*d874e919Schristos# that they are unusable on large scripts like our testsuite. 2383*d874e919Schristos 2384*d874e919Schristos# So before using `/bin/sh -n' to check our scripts, we first check 2385*d874e919Schristos# that `/bin/sh -n' is known to not have these problems. 2386*d874e919Schristos 2387*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether /bin/sh -n is known to work" >&5 2388*d874e919Schristos$as_echo_n "checking whether /bin/sh -n is known to work... " >&6; } 2389*d874e919Schristosif ${ac_cv_sh_n_works+:} false; then : 2390*d874e919Schristos $as_echo_n "(cached) " >&6 2391*d874e919Schristoselse 2392*d874e919Schristos if ( 2393*d874e919Schristos unset BASH_VERSION ZSH_VERSION 2394*d874e919Schristos /bin/sh -c ' 2395*d874e919Schristos test -n "${BASH_VERSION+set}" || # Bash 2396*d874e919Schristos test -n "${KSH_VERSION+set}" || # pdksh 2397*d874e919Schristos test -n "${ZSH_VERSION+set}" || # zsh 2398*d874e919Schristos test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy 2399*d874e919Schristos ' 2400*d874e919Schristos ) 2>/dev/null 2401*d874e919Schristosthen ac_cv_sh_n_works=yes 2402*d874e919Schristoselse ac_cv_sh_n_works=no 2403*d874e919Schristosfi 2404*d874e919Schristos 2405*d874e919Schristosfi 2406*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sh_n_works" >&5 2407*d874e919Schristos$as_echo "$ac_cv_sh_n_works" >&6; } 2408*d874e919Schristos 2409*d874e919Schristos 2410*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for characters that cannot appear in file names" >&5 2411*d874e919Schristos$as_echo_n "checking for characters that cannot appear in file names... " >&6; } 2412*d874e919Schristosif ${ac_cv_unsupported_fs_chars+:} false; then : 2413*d874e919Schristos $as_echo_n "(cached) " >&6 2414*d874e919Schristoselse 2415*d874e919Schristos ac_cv_unsupported_fs_chars= 2416*d874e919Schristosfor c in '\\' \" '<' '>' '*' '?' '|' 2417*d874e919Schristosdo 2418*d874e919Schristos touch "conftest.t${c}t" 2>/dev/null 2419*d874e919Schristos test -f "conftest.t${c}t" && rm -f "conftest.t${c}t" && continue 2420*d874e919Schristos # $c cannot be used in a file name. 2421*d874e919Schristos ac_cv_unsupported_fs_chars=$ac_cv_unsupported_fs_chars$c 2422*d874e919Schristosdone 2423*d874e919Schristos 2424*d874e919Schristosfi 2425*d874e919Schristos 2426*d874e919Schristosif test -n "$ac_cv_unsupported_fs_chars"; then 2427*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_unsupported_fs_chars" >&5 2428*d874e919Schristos$as_echo "$ac_cv_unsupported_fs_chars" >&6; } 2429*d874e919Schristoselse 2430*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 2431*d874e919Schristos$as_echo "none" >&6; } 2432*d874e919Schristosfi 2433*d874e919Schristos 2434*d874e919Schristos 2435*d874e919Schristos 2436*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether directories can have trailing spaces" >&5 2437*d874e919Schristos$as_echo_n "checking whether directories can have trailing spaces... " >&6; } 2438*d874e919Schristosif ${ac_cv_dir_trailing_space+:} false; then : 2439*d874e919Schristos $as_echo_n "(cached) " >&6 2440*d874e919Schristoselse 2441*d874e919Schristos rm -rf 'conftest.d ' && mkdir 'conftest.d ' && touch 'conftest.d /tfile' 2>/dev/null 2442*d874e919Schristosstat=$? 2443*d874e919Schristosrm -rf 'conftest.d ' 2444*d874e919Schristoscase $stat$? in #( 2445*d874e919Schristos 00) ac_cv_dir_trailing_space=yes ;; #( 2446*d874e919Schristos *) ac_cv_dir_trailing_space=no ;; 2447*d874e919Schristosesac 2448*d874e919Schristos 2449*d874e919Schristosfi 2450*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dir_trailing_space" >&5 2451*d874e919Schristos$as_echo "$ac_cv_dir_trailing_space" >&6; } 2452*d874e919Schristos 2453*d874e919Schristos 2454*d874e919Schristos# Initialize the test suite. 2455*d874e919Schristosac_config_commands="$ac_config_commands tests/atconfig" 2456*d874e919Schristos 2457*d874e919Schristosac_config_files="$ac_config_files tests/Makefile tests/atlocal" 2458*d874e919Schristos 2459*d874e919Schristos# Extract the first word of "expr", so it can be a program name with args. 2460*d874e919Schristosset dummy expr; ac_word=$2 2461*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2462*d874e919Schristos$as_echo_n "checking for $ac_word... " >&6; } 2463*d874e919Schristosif ${ac_cv_path_EXPR+:} false; then : 2464*d874e919Schristos $as_echo_n "(cached) " >&6 2465*d874e919Schristoselse 2466*d874e919Schristos case $EXPR in 2467*d874e919Schristos [\\/]* | ?:[\\/]*) 2468*d874e919Schristos ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path. 2469*d874e919Schristos ;; 2470*d874e919Schristos *) 2471*d874e919Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2472*d874e919Schristosfor as_dir in $PATH 2473*d874e919Schristosdo 2474*d874e919Schristos IFS=$as_save_IFS 2475*d874e919Schristos test -z "$as_dir" && as_dir=. 2476*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2477*d874e919Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2478*d874e919Schristos ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext" 2479*d874e919Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2480*d874e919Schristos break 2 2481*d874e919Schristos fi 2482*d874e919Schristosdone 2483*d874e919Schristos done 2484*d874e919SchristosIFS=$as_save_IFS 2485*d874e919Schristos 2486*d874e919Schristos ;; 2487*d874e919Schristosesac 2488*d874e919Schristosfi 2489*d874e919SchristosEXPR=$ac_cv_path_EXPR 2490*d874e919Schristosif test -n "$EXPR"; then 2491*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPR" >&5 2492*d874e919Schristos$as_echo "$EXPR" >&6; } 2493*d874e919Schristoselse 2494*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2495*d874e919Schristos$as_echo "no" >&6; } 2496*d874e919Schristosfi 2497*d874e919Schristos 2498*d874e919Schristos 2499*d874e919Schristos 2500*d874e919Schristos 2501*d874e919Schristos## ---- ## 2502*d874e919Schristos## M4. ## 2503*d874e919Schristos## ---- ## 2504*d874e919Schristos 2505*d874e919Schristos# We use an absolute name for GNU m4 so even if users have another m4 first in 2506*d874e919Schristos# their path, the installer can configure with a path that has GNU m4 2507*d874e919Schristos# on it and get that path embedded in the installed autoconf and 2508*d874e919Schristos# autoheader scripts. 2509*d874e919Schristos 2510*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU M4 that supports accurate traces" >&5 2511*d874e919Schristos$as_echo_n "checking for GNU M4 that supports accurate traces... " >&6; } 2512*d874e919Schristosif ${ac_cv_path_M4+:} false; then : 2513*d874e919Schristos $as_echo_n "(cached) " >&6 2514*d874e919Schristoselse 2515*d874e919Schristos rm -f conftest.m4f 2516*d874e919Schristosac_had_posixly_correct=${POSIXLY_CORRECT:+yes} 2517*d874e919Schristos{ POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} 2518*d874e919Schristosif test -z "$M4"; then 2519*d874e919Schristos ac_path_M4_found=false 2520*d874e919Schristos # Loop through the user's path and test for each of PROGNAME-LIST 2521*d874e919Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2522*d874e919Schristosfor as_dir in $PATH 2523*d874e919Schristosdo 2524*d874e919Schristos IFS=$as_save_IFS 2525*d874e919Schristos test -z "$as_dir" && as_dir=. 2526*d874e919Schristos for ac_prog in m4 gm4 gnum4; do 2527*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2528*d874e919Schristos ac_path_M4="$as_dir/$ac_prog$ac_exec_ext" 2529*d874e919Schristos as_fn_executable_p "$ac_path_M4" || continue 2530*d874e919Schristos # Root out GNU M4 1.4.5, as well as non-GNU m4 that ignore -t, -F. 2531*d874e919Schristos # Root out GNU M4 1.4.15 with buggy false negative replacement strstr. 2532*d874e919Schristos # Root out Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 with buggy 2533*d874e919Schristos # false positive strstr. 2534*d874e919Schristos ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)' 2535*d874e919Schristos ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl 2536*d874e919Schristos ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(..wi.d.,.d.),-1,bug)' 2537*d874e919Schristos ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(;:11-:12-:12-:12-:12-:12-:12-:12-:12.:12.:12.:12.:12.:12.:12.:12.:12-,:12-:12-:12-:12-:12-:12-:12-:12-),-1,,strstr-bug2)' 2538*d874e919Schristos test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \ 2539*d874e919Schristos && test -z "`$as_echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \ 2540*d874e919Schristos && test -f conftest.m4f \ 2541*d874e919Schristos && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=: 2542*d874e919Schristos rm -f conftest.m4f 2543*d874e919Schristos $ac_path_M4_found && break 3 2544*d874e919Schristos done 2545*d874e919Schristos done 2546*d874e919Schristos done 2547*d874e919SchristosIFS=$as_save_IFS 2548*d874e919Schristos if test -z "$ac_cv_path_M4"; then 2549*d874e919Schristos as_fn_error $? "no acceptable m4 could be found in \$PATH. 2550*d874e919SchristosGNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended. 2551*d874e919SchristosGNU M4 1.4.15 uses a buggy replacement strstr on some systems. 2552*d874e919SchristosGlibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug." "$LINENO" 5 2553*d874e919Schristos fi 2554*d874e919Schristoselse 2555*d874e919Schristos ac_cv_path_M4=$M4 2556*d874e919Schristosfi 2557*d874e919Schristos 2558*d874e919Schristosfi 2559*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_M4" >&5 2560*d874e919Schristos$as_echo "$ac_cv_path_M4" >&6; } 2561*d874e919Schristos M4=$ac_cv_path_M4 2562*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ac_cv_path_M4 accepts --gnu" >&5 2563*d874e919Schristos$as_echo_n "checking whether $ac_cv_path_M4 accepts --gnu... " >&6; } 2564*d874e919Schristosif ${ac_cv_prog_gnu_m4_gnu+:} false; then : 2565*d874e919Schristos $as_echo_n "(cached) " >&6 2566*d874e919Schristoselse 2567*d874e919Schristos case `$M4 --help < /dev/null 2>&1` in 2568*d874e919Schristos *--gnu*) ac_cv_prog_gnu_m4_gnu=yes ;; 2569*d874e919Schristos *) ac_cv_prog_gnu_m4_gnu=no ;; 2570*d874e919Schristos esac 2571*d874e919Schristosfi 2572*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gnu_m4_gnu" >&5 2573*d874e919Schristos$as_echo "$ac_cv_prog_gnu_m4_gnu" >&6; } 2574*d874e919Schristos if test "$ac_cv_prog_gnu_m4_gnu" = yes; then 2575*d874e919Schristos M4_GNU=--gnu 2576*d874e919Schristos else 2577*d874e919Schristos M4_GNU= 2578*d874e919Schristos fi 2579*d874e919Schristos 2580*d874e919Schristos if test x$ac_had_posixly_correct = xyes; then 2581*d874e919Schristos POSIXLY_CORRECT=: 2582*d874e919Schristos if test $ac_cv_prog_gnu_m4_gnu = no; then 2583*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the version of M4 that was found does not support -g" >&5 2584*d874e919Schristos$as_echo "$as_me: WARNING: the version of M4 that was found does not support -g" >&2;} 2585*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using it with POSIXLY_CORRECT set may cause problems" >&5 2586*d874e919Schristos$as_echo "$as_me: WARNING: using it with POSIXLY_CORRECT set may cause problems" >&2;} 2587*d874e919Schristos fi 2588*d874e919Schristos fi 2589*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking how m4 supports trace files" >&5 2590*d874e919Schristos$as_echo_n "checking how m4 supports trace files... " >&6; } 2591*d874e919Schristosif ${ac_cv_prog_gnu_m4_debugfile+:} false; then : 2592*d874e919Schristos $as_echo_n "(cached) " >&6 2593*d874e919Schristoselse 2594*d874e919Schristos case `$M4 --help < /dev/null 2>&1` in 2595*d874e919Schristos *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;; 2596*d874e919Schristos *) ac_cv_prog_gnu_m4_debugfile=--error-output ;; 2597*d874e919Schristos esac 2598*d874e919Schristosfi 2599*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gnu_m4_debugfile" >&5 2600*d874e919Schristos$as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; } 2601*d874e919Schristos M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile 2602*d874e919Schristos 2603*d874e919Schristos 2604*d874e919Schristos 2605*d874e919Schristos## ----------- ## 2606*d874e919Schristos## Man pages. ## 2607*d874e919Schristos## ----------- ## 2608*d874e919Schristos 2609*d874e919Schristosac_config_files="$ac_config_files man/Makefile" 2610*d874e919Schristos 2611*d874e919Schristos 2612*d874e919SchristosHELP2MAN=${HELP2MAN-"${am_missing_run}help2man"} 2613*d874e919Schristos 2614*d874e919Schristos 2615*d874e919Schristos 2616*d874e919Schristos## ------ ## 2617*d874e919Schristos## Perl. ## 2618*d874e919Schristos## ------ ## 2619*d874e919Schristos 2620*d874e919Schristos# We use an absolute name for perl so the #! line in autoscan will work. 2621*d874e919Schristos# Extract the first word of "perl", so it can be a program name with args. 2622*d874e919Schristosset dummy perl; ac_word=$2 2623*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2624*d874e919Schristos$as_echo_n "checking for $ac_word... " >&6; } 2625*d874e919Schristosif ${ac_cv_path_PERL+:} false; then : 2626*d874e919Schristos $as_echo_n "(cached) " >&6 2627*d874e919Schristoselse 2628*d874e919Schristos case $PERL in 2629*d874e919Schristos [\\/]* | ?:[\\/]*) 2630*d874e919Schristos ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 2631*d874e919Schristos ;; 2632*d874e919Schristos *) 2633*d874e919Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2634*d874e919Schristosfor as_dir in $PATH 2635*d874e919Schristosdo 2636*d874e919Schristos IFS=$as_save_IFS 2637*d874e919Schristos test -z "$as_dir" && as_dir=. 2638*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2639*d874e919Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2640*d874e919Schristos ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 2641*d874e919Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2642*d874e919Schristos break 2 2643*d874e919Schristos fi 2644*d874e919Schristosdone 2645*d874e919Schristos done 2646*d874e919SchristosIFS=$as_save_IFS 2647*d874e919Schristos 2648*d874e919Schristos test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no" 2649*d874e919Schristos ;; 2650*d874e919Schristosesac 2651*d874e919Schristosfi 2652*d874e919SchristosPERL=$ac_cv_path_PERL 2653*d874e919Schristosif test -n "$PERL"; then 2654*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 2655*d874e919Schristos$as_echo "$PERL" >&6; } 2656*d874e919Schristoselse 2657*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2658*d874e919Schristos$as_echo "no" >&6; } 2659*d874e919Schristosfi 2660*d874e919Schristos 2661*d874e919Schristos 2662*d874e919Schristosif test "$PERL" = no; then 2663*d874e919Schristos as_fn_error $? "perl is not found" "$LINENO" 5 2664*d874e919Schristosfi 2665*d874e919Schristos$PERL -e 'require 5.006;' || { 2666*d874e919Schristos as_fn_error $? "Perl 5.006 or better is required" "$LINENO" 5 2667*d874e919Schristos} 2668*d874e919Schristos 2669*d874e919Schristos# Find out whether the system supports flock 2670*d874e919Schristos# Note this test does not try to find out whether it works with this 2671*d874e919Schristos# particular file system. It merely avoids us running flock on systems 2672*d874e919Schristos# where that bails out. 2673*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PERL Fcntl::flock is implemented" >&5 2674*d874e919Schristos$as_echo_n "checking whether $PERL Fcntl::flock is implemented... " >&6; } 2675*d874e919Schristosif ${ac_cv_perl_flock_implemented+:} false; then : 2676*d874e919Schristos $as_echo_n "(cached) " >&6 2677*d874e919Schristoselse 2678*d874e919Schristos echo lock me > conftest.fil 2679*d874e919Schristos if $PERL -e 'use Fcntl ":flock"; flock("conftest.fil", LOCK_EX); 1;'; then 2680*d874e919Schristos ac_cv_perl_flock_implemented=yes 2681*d874e919Schristos else 2682*d874e919Schristos ac_cv_perl_flock_implemented=no 2683*d874e919Schristos fi 2684*d874e919Schristos rm -f conftest.fil 2685*d874e919Schristos 2686*d874e919Schristosfi 2687*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_perl_flock_implemented" >&5 2688*d874e919Schristos$as_echo "$ac_cv_perl_flock_implemented" >&6; } 2689*d874e919SchristosPERL_FLOCK=$ac_cv_perl_flock_implemented 2690*d874e919Schristos 2691*d874e919Schristos 2692*d874e919Schristos 2693*d874e919Schristos## ------- ## 2694*d874e919Schristos## Emacs. ## 2695*d874e919Schristos## ------- ## 2696*d874e919Schristos 2697*d874e919Schristosac_config_files="$ac_config_files lib/emacs/Makefile" 2698*d874e919Schristos 2699*d874e919SchristosTEST_EMACS=$EMACS 2700*d874e919Schristostest x"$TEST_EMACS" = xt && TEST_EMACS= 2701*d874e919Schristosfor ac_prog in emacs xemacs 2702*d874e919Schristosdo 2703*d874e919Schristos # Extract the first word of "$ac_prog", so it can be a program name with args. 2704*d874e919Schristosset dummy $ac_prog; ac_word=$2 2705*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2706*d874e919Schristos$as_echo_n "checking for $ac_word... " >&6; } 2707*d874e919Schristosif ${ac_cv_prog_TEST_EMACS+:} false; then : 2708*d874e919Schristos $as_echo_n "(cached) " >&6 2709*d874e919Schristoselse 2710*d874e919Schristos if test -n "$TEST_EMACS"; then 2711*d874e919Schristos ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test. 2712*d874e919Schristoselse 2713*d874e919Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2714*d874e919Schristosfor as_dir in $PATH 2715*d874e919Schristosdo 2716*d874e919Schristos IFS=$as_save_IFS 2717*d874e919Schristos test -z "$as_dir" && as_dir=. 2718*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2719*d874e919Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2720*d874e919Schristos ac_cv_prog_TEST_EMACS="$ac_prog" 2721*d874e919Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2722*d874e919Schristos break 2 2723*d874e919Schristos fi 2724*d874e919Schristosdone 2725*d874e919Schristos done 2726*d874e919SchristosIFS=$as_save_IFS 2727*d874e919Schristos 2728*d874e919Schristosfi 2729*d874e919Schristosfi 2730*d874e919SchristosTEST_EMACS=$ac_cv_prog_TEST_EMACS 2731*d874e919Schristosif test -n "$TEST_EMACS"; then 2732*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEST_EMACS" >&5 2733*d874e919Schristos$as_echo "$TEST_EMACS" >&6; } 2734*d874e919Schristoselse 2735*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2736*d874e919Schristos$as_echo "no" >&6; } 2737*d874e919Schristosfi 2738*d874e919Schristos 2739*d874e919Schristos 2740*d874e919Schristos test -n "$TEST_EMACS" && break 2741*d874e919Schristosdone 2742*d874e919Schristostest -n "$TEST_EMACS" || TEST_EMACS="no" 2743*d874e919Schristos 2744*d874e919Schristos 2745*d874e919Schristos# autoconf-mode.el and autotest-mode.el do not work with older version of 2746*d874e919Schristos# Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains: 2747*d874e919Schristos# "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1" 2748*d874e919Schristos# We detect this problem here. 2749*d874e919Schristosif test "$TEST_EMACS" != no; then : 2750*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $TEST_EMACS is sufficiently recent" >&5 2751*d874e919Schristos$as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; } 2752*d874e919Schristosif ${ac_cv_prog_emacs_ok+:} false; then : 2753*d874e919Schristos $as_echo_n "(cached) " >&6 2754*d874e919Schristoselse 2755*d874e919Schristos # Note: The quoted "EOF" is intentional. It protects the ` in the text. 2756*d874e919Schristos cat >conftest.el << "EOF" 2757*d874e919Schristos (defvar broken) 2758*d874e919Schristos (defun broken-mode () (setq broken-defaults `(broken nil))) 2759*d874e919SchristosEOF 2760*d874e919Schristos if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2"; } >&5 2761*d874e919Schristos ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5 2762*d874e919Schristos ac_status=$? 2763*d874e919Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2764*d874e919Schristos test $ac_status = 0; }; then : 2765*d874e919Schristos ac_cv_prog_emacs_ok=yes 2766*d874e919Schristoselse 2767*d874e919Schristos ac_cv_prog_emacs_ok=no 2768*d874e919Schristosfi 2769*d874e919Schristos rm -f conftest.el conftest.elc 2770*d874e919Schristosfi 2771*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_emacs_ok" >&5 2772*d874e919Schristos$as_echo "$ac_cv_prog_emacs_ok" >&6; } 2773*d874e919Schristos if test $ac_cv_prog_emacs_ok = no; then : 2774*d874e919Schristos TEST_EMACS=no 2775*d874e919Schristosfi 2776*d874e919Schristosfi 2777*d874e919Schristos 2778*d874e919SchristosEMACS=$TEST_EMACS 2779*d874e919Schristos 2780*d874e919Schristos 2781*d874e919Schristos # If set to t, that means we are running in a shell under Emacs. 2782*d874e919Schristos # If you have an Emacs named "t", then use the full path. 2783*d874e919Schristos test x"$EMACS" = xt && EMACS= 2784*d874e919Schristos for ac_prog in emacs xemacs 2785*d874e919Schristosdo 2786*d874e919Schristos # Extract the first word of "$ac_prog", so it can be a program name with args. 2787*d874e919Schristosset dummy $ac_prog; ac_word=$2 2788*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2789*d874e919Schristos$as_echo_n "checking for $ac_word... " >&6; } 2790*d874e919Schristosif ${ac_cv_prog_EMACS+:} false; then : 2791*d874e919Schristos $as_echo_n "(cached) " >&6 2792*d874e919Schristoselse 2793*d874e919Schristos if test -n "$EMACS"; then 2794*d874e919Schristos ac_cv_prog_EMACS="$EMACS" # Let the user override the test. 2795*d874e919Schristoselse 2796*d874e919Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2797*d874e919Schristosfor as_dir in $PATH 2798*d874e919Schristosdo 2799*d874e919Schristos IFS=$as_save_IFS 2800*d874e919Schristos test -z "$as_dir" && as_dir=. 2801*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2802*d874e919Schristos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2803*d874e919Schristos ac_cv_prog_EMACS="$ac_prog" 2804*d874e919Schristos $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2805*d874e919Schristos break 2 2806*d874e919Schristos fi 2807*d874e919Schristosdone 2808*d874e919Schristos done 2809*d874e919SchristosIFS=$as_save_IFS 2810*d874e919Schristos 2811*d874e919Schristosfi 2812*d874e919Schristosfi 2813*d874e919SchristosEMACS=$ac_cv_prog_EMACS 2814*d874e919Schristosif test -n "$EMACS"; then 2815*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5 2816*d874e919Schristos$as_echo "$EMACS" >&6; } 2817*d874e919Schristoselse 2818*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2819*d874e919Schristos$as_echo "no" >&6; } 2820*d874e919Schristosfi 2821*d874e919Schristos 2822*d874e919Schristos 2823*d874e919Schristos test -n "$EMACS" && break 2824*d874e919Schristosdone 2825*d874e919Schristostest -n "$EMACS" || EMACS="no" 2826*d874e919Schristos 2827*d874e919Schristos 2828*d874e919Schristos 2829*d874e919Schristos 2830*d874e919Schristos# Check whether --with-lispdir was given. 2831*d874e919Schristosif test "${with_lispdir+set}" = set; then : 2832*d874e919Schristos withval=$with_lispdir; lispdir="$withval" 2833*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5 2834*d874e919Schristos$as_echo_n "checking where .elc files should go... " >&6; } 2835*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5 2836*d874e919Schristos$as_echo "$lispdir" >&6; } 2837*d874e919Schristoselse 2838*d874e919Schristos 2839*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5 2840*d874e919Schristos$as_echo_n "checking where .elc files should go... " >&6; } 2841*d874e919Schristosif ${am_cv_lispdir+:} false; then : 2842*d874e919Schristos $as_echo_n "(cached) " >&6 2843*d874e919Schristoselse 2844*d874e919Schristos 2845*d874e919Schristos if test $EMACS != "no"; then 2846*d874e919Schristos if test x${lispdir+set} != xset; then 2847*d874e919Schristos # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly 2848*d874e919Schristos # Some emacsen will start up in interactive mode, requiring C-x C-c to exit, 2849*d874e919Schristos # which is non-obvious for non-emacs users. 2850*d874e919Schristos # Redirecting /dev/null should help a bit; pity we can't detect "broken" 2851*d874e919Schristos # emacsen earlier and avoid running this altogether. 2852*d874e919Schristos { { $as_echo "$as_me:${as_lineno-$LINENO}: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out"; } >&5 2853*d874e919Schristos ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5 2854*d874e919Schristos ac_status=$? 2855*d874e919Schristos $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2856*d874e919Schristos test $ac_status = 0; } 2857*d874e919Schristos am_cv_lispdir=`sed -n \ 2858*d874e919Schristos -e 's,/$,,' \ 2859*d874e919Schristos -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \ 2860*d874e919Schristos -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \ 2861*d874e919Schristos conftest.out` 2862*d874e919Schristos rm conftest.out 2863*d874e919Schristos fi 2864*d874e919Schristos fi 2865*d874e919Schristos test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp' 2866*d874e919Schristos 2867*d874e919Schristosfi 2868*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_lispdir" >&5 2869*d874e919Schristos$as_echo "$am_cv_lispdir" >&6; } 2870*d874e919Schristos lispdir="$am_cv_lispdir" 2871*d874e919Schristos 2872*d874e919Schristosfi 2873*d874e919Schristos 2874*d874e919Schristos 2875*d874e919Schristos 2876*d874e919Schristos 2877*d874e919Schristos 2878*d874e919Schristos## ------------ ## 2879*d874e919Schristos## Grep & sed. ## 2880*d874e919Schristos## ------------ ## 2881*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 2882*d874e919Schristos$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 2883*d874e919Schristosif ${ac_cv_path_GREP+:} false; then : 2884*d874e919Schristos $as_echo_n "(cached) " >&6 2885*d874e919Schristoselse 2886*d874e919Schristos if test -z "$GREP"; then 2887*d874e919Schristos ac_path_GREP_found=false 2888*d874e919Schristos # Loop through the user's path and test for each of PROGNAME-LIST 2889*d874e919Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2890*d874e919Schristosfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 2891*d874e919Schristosdo 2892*d874e919Schristos IFS=$as_save_IFS 2893*d874e919Schristos test -z "$as_dir" && as_dir=. 2894*d874e919Schristos for ac_prog in grep ggrep; do 2895*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2896*d874e919Schristos ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 2897*d874e919Schristos as_fn_executable_p "$ac_path_GREP" || continue 2898*d874e919Schristos# Check for GNU ac_path_GREP and select it if it is found. 2899*d874e919Schristos # Check for GNU $ac_path_GREP 2900*d874e919Schristoscase `"$ac_path_GREP" --version 2>&1` in 2901*d874e919Schristos*GNU*) 2902*d874e919Schristos ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 2903*d874e919Schristos*) 2904*d874e919Schristos ac_count=0 2905*d874e919Schristos $as_echo_n 0123456789 >"conftest.in" 2906*d874e919Schristos while : 2907*d874e919Schristos do 2908*d874e919Schristos cat "conftest.in" "conftest.in" >"conftest.tmp" 2909*d874e919Schristos mv "conftest.tmp" "conftest.in" 2910*d874e919Schristos cp "conftest.in" "conftest.nl" 2911*d874e919Schristos $as_echo 'GREP' >> "conftest.nl" 2912*d874e919Schristos "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 2913*d874e919Schristos diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 2914*d874e919Schristos as_fn_arith $ac_count + 1 && ac_count=$as_val 2915*d874e919Schristos if test $ac_count -gt ${ac_path_GREP_max-0}; then 2916*d874e919Schristos # Best one so far, save it but keep looking for a better one 2917*d874e919Schristos ac_cv_path_GREP="$ac_path_GREP" 2918*d874e919Schristos ac_path_GREP_max=$ac_count 2919*d874e919Schristos fi 2920*d874e919Schristos # 10*(2^10) chars as input seems more than enough 2921*d874e919Schristos test $ac_count -gt 10 && break 2922*d874e919Schristos done 2923*d874e919Schristos rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 2924*d874e919Schristosesac 2925*d874e919Schristos 2926*d874e919Schristos $ac_path_GREP_found && break 3 2927*d874e919Schristos done 2928*d874e919Schristos done 2929*d874e919Schristos done 2930*d874e919SchristosIFS=$as_save_IFS 2931*d874e919Schristos if test -z "$ac_cv_path_GREP"; then 2932*d874e919Schristos as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 2933*d874e919Schristos fi 2934*d874e919Schristoselse 2935*d874e919Schristos ac_cv_path_GREP=$GREP 2936*d874e919Schristosfi 2937*d874e919Schristos 2938*d874e919Schristosfi 2939*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 2940*d874e919Schristos$as_echo "$ac_cv_path_GREP" >&6; } 2941*d874e919Schristos GREP="$ac_cv_path_GREP" 2942*d874e919Schristos 2943*d874e919Schristos 2944*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 2945*d874e919Schristos$as_echo_n "checking for egrep... " >&6; } 2946*d874e919Schristosif ${ac_cv_path_EGREP+:} false; then : 2947*d874e919Schristos $as_echo_n "(cached) " >&6 2948*d874e919Schristoselse 2949*d874e919Schristos if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 2950*d874e919Schristos then ac_cv_path_EGREP="$GREP -E" 2951*d874e919Schristos else 2952*d874e919Schristos if test -z "$EGREP"; then 2953*d874e919Schristos ac_path_EGREP_found=false 2954*d874e919Schristos # Loop through the user's path and test for each of PROGNAME-LIST 2955*d874e919Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2956*d874e919Schristosfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 2957*d874e919Schristosdo 2958*d874e919Schristos IFS=$as_save_IFS 2959*d874e919Schristos test -z "$as_dir" && as_dir=. 2960*d874e919Schristos for ac_prog in egrep; do 2961*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2962*d874e919Schristos ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 2963*d874e919Schristos as_fn_executable_p "$ac_path_EGREP" || continue 2964*d874e919Schristos# Check for GNU ac_path_EGREP and select it if it is found. 2965*d874e919Schristos # Check for GNU $ac_path_EGREP 2966*d874e919Schristoscase `"$ac_path_EGREP" --version 2>&1` in 2967*d874e919Schristos*GNU*) 2968*d874e919Schristos ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 2969*d874e919Schristos*) 2970*d874e919Schristos ac_count=0 2971*d874e919Schristos $as_echo_n 0123456789 >"conftest.in" 2972*d874e919Schristos while : 2973*d874e919Schristos do 2974*d874e919Schristos cat "conftest.in" "conftest.in" >"conftest.tmp" 2975*d874e919Schristos mv "conftest.tmp" "conftest.in" 2976*d874e919Schristos cp "conftest.in" "conftest.nl" 2977*d874e919Schristos $as_echo 'EGREP' >> "conftest.nl" 2978*d874e919Schristos "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 2979*d874e919Schristos diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 2980*d874e919Schristos as_fn_arith $ac_count + 1 && ac_count=$as_val 2981*d874e919Schristos if test $ac_count -gt ${ac_path_EGREP_max-0}; then 2982*d874e919Schristos # Best one so far, save it but keep looking for a better one 2983*d874e919Schristos ac_cv_path_EGREP="$ac_path_EGREP" 2984*d874e919Schristos ac_path_EGREP_max=$ac_count 2985*d874e919Schristos fi 2986*d874e919Schristos # 10*(2^10) chars as input seems more than enough 2987*d874e919Schristos test $ac_count -gt 10 && break 2988*d874e919Schristos done 2989*d874e919Schristos rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 2990*d874e919Schristosesac 2991*d874e919Schristos 2992*d874e919Schristos $ac_path_EGREP_found && break 3 2993*d874e919Schristos done 2994*d874e919Schristos done 2995*d874e919Schristos done 2996*d874e919SchristosIFS=$as_save_IFS 2997*d874e919Schristos if test -z "$ac_cv_path_EGREP"; then 2998*d874e919Schristos as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 2999*d874e919Schristos fi 3000*d874e919Schristoselse 3001*d874e919Schristos ac_cv_path_EGREP=$EGREP 3002*d874e919Schristosfi 3003*d874e919Schristos 3004*d874e919Schristos fi 3005*d874e919Schristosfi 3006*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3007*d874e919Schristos$as_echo "$ac_cv_path_EGREP" >&6; } 3008*d874e919Schristos EGREP="$ac_cv_path_EGREP" 3009*d874e919Schristos 3010*d874e919Schristos 3011*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3012*d874e919Schristos$as_echo_n "checking for a sed that does not truncate output... " >&6; } 3013*d874e919Schristosif ${ac_cv_path_SED+:} false; then : 3014*d874e919Schristos $as_echo_n "(cached) " >&6 3015*d874e919Schristoselse 3016*d874e919Schristos ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3017*d874e919Schristos for ac_i in 1 2 3 4 5 6 7; do 3018*d874e919Schristos ac_script="$ac_script$as_nl$ac_script" 3019*d874e919Schristos done 3020*d874e919Schristos echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 3021*d874e919Schristos { ac_script=; unset ac_script;} 3022*d874e919Schristos if test -z "$SED"; then 3023*d874e919Schristos ac_path_SED_found=false 3024*d874e919Schristos # Loop through the user's path and test for each of PROGNAME-LIST 3025*d874e919Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3026*d874e919Schristosfor as_dir in $PATH 3027*d874e919Schristosdo 3028*d874e919Schristos IFS=$as_save_IFS 3029*d874e919Schristos test -z "$as_dir" && as_dir=. 3030*d874e919Schristos for ac_prog in sed gsed; do 3031*d874e919Schristos for ac_exec_ext in '' $ac_executable_extensions; do 3032*d874e919Schristos ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 3033*d874e919Schristos as_fn_executable_p "$ac_path_SED" || continue 3034*d874e919Schristos# Check for GNU ac_path_SED and select it if it is found. 3035*d874e919Schristos # Check for GNU $ac_path_SED 3036*d874e919Schristoscase `"$ac_path_SED" --version 2>&1` in 3037*d874e919Schristos*GNU*) 3038*d874e919Schristos ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3039*d874e919Schristos*) 3040*d874e919Schristos ac_count=0 3041*d874e919Schristos $as_echo_n 0123456789 >"conftest.in" 3042*d874e919Schristos while : 3043*d874e919Schristos do 3044*d874e919Schristos cat "conftest.in" "conftest.in" >"conftest.tmp" 3045*d874e919Schristos mv "conftest.tmp" "conftest.in" 3046*d874e919Schristos cp "conftest.in" "conftest.nl" 3047*d874e919Schristos $as_echo '' >> "conftest.nl" 3048*d874e919Schristos "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3049*d874e919Schristos diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3050*d874e919Schristos as_fn_arith $ac_count + 1 && ac_count=$as_val 3051*d874e919Schristos if test $ac_count -gt ${ac_path_SED_max-0}; then 3052*d874e919Schristos # Best one so far, save it but keep looking for a better one 3053*d874e919Schristos ac_cv_path_SED="$ac_path_SED" 3054*d874e919Schristos ac_path_SED_max=$ac_count 3055*d874e919Schristos fi 3056*d874e919Schristos # 10*(2^10) chars as input seems more than enough 3057*d874e919Schristos test $ac_count -gt 10 && break 3058*d874e919Schristos done 3059*d874e919Schristos rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3060*d874e919Schristosesac 3061*d874e919Schristos 3062*d874e919Schristos $ac_path_SED_found && break 3 3063*d874e919Schristos done 3064*d874e919Schristos done 3065*d874e919Schristos done 3066*d874e919SchristosIFS=$as_save_IFS 3067*d874e919Schristos if test -z "$ac_cv_path_SED"; then 3068*d874e919Schristos as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 3069*d874e919Schristos fi 3070*d874e919Schristoselse 3071*d874e919Schristos ac_cv_path_SED=$SED 3072*d874e919Schristosfi 3073*d874e919Schristos 3074*d874e919Schristosfi 3075*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 3076*d874e919Schristos$as_echo "$ac_cv_path_SED" >&6; } 3077*d874e919Schristos SED="$ac_cv_path_SED" 3078*d874e919Schristos rm -f conftest.sed 3079*d874e919Schristos 3080*d874e919Schristos 3081*d874e919Schristos 3082*d874e919Schristos## ----- ## 3083*d874e919Schristos## Make. ## 3084*d874e919Schristos## ----- ## 3085*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} is case sensitive" >&5 3086*d874e919Schristos$as_echo_n "checking whether ${MAKE-make} is case sensitive... " >&6; } 3087*d874e919Schristosif eval \${ac_cv_prog_make_${ac_make}_case+:} false; then : 3088*d874e919Schristos $as_echo_n "(cached) " >&6 3089*d874e919Schristoselse 3090*d874e919Schristos echo all: >conftest.make 3091*d874e919Schristosif ${MAKE-make} -f conftest.make ALL >/dev/null 2>&1; then 3092*d874e919Schristos ac_res=no 3093*d874e919Schristoselse 3094*d874e919Schristos ac_res=yes 3095*d874e919Schristosfi 3096*d874e919Schristoseval ac_cv_prog_make_${ac_make}_case=$ac_res 3097*d874e919Schristosrm -f conftest.make 3098*d874e919Schristosfi 3099*d874e919Schristoseval ac_res=\$ac_cv_prog_make_${ac_make}_case 3100*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 3101*d874e919Schristos$as_echo "$ac_res" >&6; } 3102*d874e919Schristos if eval test \$ac_cv_prog_make_${ac_make}_case = yes; then 3103*d874e919Schristos MAKE_CASE_SENSITIVE_TRUE= 3104*d874e919Schristos MAKE_CASE_SENSITIVE_FALSE='#' 3105*d874e919Schristoselse 3106*d874e919Schristos MAKE_CASE_SENSITIVE_TRUE='#' 3107*d874e919Schristos MAKE_CASE_SENSITIVE_FALSE= 3108*d874e919Schristosfi 3109*d874e919Schristos 3110*d874e919Schristos 3111*d874e919Schristos 3112*d874e919Schristos 3113*d874e919Schristos## ------------ ## 3114*d874e919Schristos## Conclusion. ## 3115*d874e919Schristos## ------------ ## 3116*d874e919Schristos 3117*d874e919SchristosGNUmakefile=GNUmakefile 3118*d874e919Schristosac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" 3119*d874e919Schristos 3120*d874e919Schristos 3121*d874e919Schristosac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile lib/m4sugar/Makefile lib/autoconf/Makefile lib/autotest/Makefile bin/Makefile" 3122*d874e919Schristos 3123*d874e919Schristos 3124*d874e919Schristoscat >confcache <<\_ACEOF 3125*d874e919Schristos# This file is a shell script that caches the results of configure 3126*d874e919Schristos# tests run on this system so they can be shared between configure 3127*d874e919Schristos# scripts and configure runs, see configure's option --config-cache. 3128*d874e919Schristos# It is not useful on other systems. If it contains results you don't 3129*d874e919Schristos# want to keep, you may remove or edit it. 3130*d874e919Schristos# 3131*d874e919Schristos# config.status only pays attention to the cache file if you give it 3132*d874e919Schristos# the --recheck option to rerun configure. 3133*d874e919Schristos# 3134*d874e919Schristos# `ac_cv_env_foo' variables (set or unset) will be overridden when 3135*d874e919Schristos# loading this file, other *unset* `ac_cv_foo' will be assigned the 3136*d874e919Schristos# following values. 3137*d874e919Schristos 3138*d874e919Schristos_ACEOF 3139*d874e919Schristos 3140*d874e919Schristos# The following way of writing the cache mishandles newlines in values, 3141*d874e919Schristos# but we know of no workaround that is simple, portable, and efficient. 3142*d874e919Schristos# So, we kill variables containing newlines. 3143*d874e919Schristos# Ultrix sh set writes to stderr and can't be redirected directly, 3144*d874e919Schristos# and sets the high bit in the cache file unless we assign to the vars. 3145*d874e919Schristos( 3146*d874e919Schristos for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3147*d874e919Schristos eval ac_val=\$$ac_var 3148*d874e919Schristos case $ac_val in #( 3149*d874e919Schristos *${as_nl}*) 3150*d874e919Schristos case $ac_var in #( 3151*d874e919Schristos *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3152*d874e919Schristos$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3153*d874e919Schristos esac 3154*d874e919Schristos case $ac_var in #( 3155*d874e919Schristos _ | IFS | as_nl) ;; #( 3156*d874e919Schristos BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3157*d874e919Schristos *) { eval $ac_var=; unset $ac_var;} ;; 3158*d874e919Schristos esac ;; 3159*d874e919Schristos esac 3160*d874e919Schristos done 3161*d874e919Schristos 3162*d874e919Schristos (set) 2>&1 | 3163*d874e919Schristos case $as_nl`(ac_space=' '; set) 2>&1` in #( 3164*d874e919Schristos *${as_nl}ac_space=\ *) 3165*d874e919Schristos # `set' does not quote correctly, so add quotes: double-quote 3166*d874e919Schristos # substitution turns \\\\ into \\, and sed turns \\ into \. 3167*d874e919Schristos sed -n \ 3168*d874e919Schristos "s/'/'\\\\''/g; 3169*d874e919Schristos s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3170*d874e919Schristos ;; #( 3171*d874e919Schristos *) 3172*d874e919Schristos # `set' quotes correctly as required by POSIX, so do not add quotes. 3173*d874e919Schristos sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3174*d874e919Schristos ;; 3175*d874e919Schristos esac | 3176*d874e919Schristos sort 3177*d874e919Schristos) | 3178*d874e919Schristos sed ' 3179*d874e919Schristos /^ac_cv_env_/b end 3180*d874e919Schristos t clear 3181*d874e919Schristos :clear 3182*d874e919Schristos s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3183*d874e919Schristos t end 3184*d874e919Schristos s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3185*d874e919Schristos :end' >>confcache 3186*d874e919Schristosif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3187*d874e919Schristos if test -w "$cache_file"; then 3188*d874e919Schristos if test "x$cache_file" != "x/dev/null"; then 3189*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3190*d874e919Schristos$as_echo "$as_me: updating cache $cache_file" >&6;} 3191*d874e919Schristos if test ! -f "$cache_file" || test -h "$cache_file"; then 3192*d874e919Schristos cat confcache >"$cache_file" 3193*d874e919Schristos else 3194*d874e919Schristos case $cache_file in #( 3195*d874e919Schristos */* | ?:*) 3196*d874e919Schristos mv -f confcache "$cache_file"$$ && 3197*d874e919Schristos mv -f "$cache_file"$$ "$cache_file" ;; #( 3198*d874e919Schristos *) 3199*d874e919Schristos mv -f confcache "$cache_file" ;; 3200*d874e919Schristos esac 3201*d874e919Schristos fi 3202*d874e919Schristos fi 3203*d874e919Schristos else 3204*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3205*d874e919Schristos$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3206*d874e919Schristos fi 3207*d874e919Schristosfi 3208*d874e919Schristosrm -f confcache 3209*d874e919Schristos 3210*d874e919Schristostest "x$prefix" = xNONE && prefix=$ac_default_prefix 3211*d874e919Schristos# Let make expand exec_prefix. 3212*d874e919Schristostest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3213*d874e919Schristos 3214*d874e919Schristos# Transform confdefs.h into DEFS. 3215*d874e919Schristos# Protect against shell expansion while executing Makefile rules. 3216*d874e919Schristos# Protect against Makefile macro expansion. 3217*d874e919Schristos# 3218*d874e919Schristos# If the first sed substitution is executed (which looks for macros that 3219*d874e919Schristos# take arguments), then branch to the quote section. Otherwise, 3220*d874e919Schristos# look for a macro that doesn't take arguments. 3221*d874e919Schristosac_script=' 3222*d874e919Schristos:mline 3223*d874e919Schristos/\\$/{ 3224*d874e919Schristos N 3225*d874e919Schristos s,\\\n,, 3226*d874e919Schristos b mline 3227*d874e919Schristos} 3228*d874e919Schristost clear 3229*d874e919Schristos:clear 3230*d874e919Schristoss/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3231*d874e919Schristost quote 3232*d874e919Schristoss/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3233*d874e919Schristost quote 3234*d874e919Schristosb any 3235*d874e919Schristos:quote 3236*d874e919Schristoss/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3237*d874e919Schristoss/\[/\\&/g 3238*d874e919Schristoss/\]/\\&/g 3239*d874e919Schristoss/\$/$$/g 3240*d874e919SchristosH 3241*d874e919Schristos:any 3242*d874e919Schristos${ 3243*d874e919Schristos g 3244*d874e919Schristos s/^\n// 3245*d874e919Schristos s/\n/ /g 3246*d874e919Schristos p 3247*d874e919Schristos} 3248*d874e919Schristos' 3249*d874e919SchristosDEFS=`sed -n "$ac_script" confdefs.h` 3250*d874e919Schristos 3251*d874e919Schristos 3252*d874e919Schristosac_libobjs= 3253*d874e919Schristosac_ltlibobjs= 3254*d874e919SchristosU= 3255*d874e919Schristosfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3256*d874e919Schristos # 1. Remove the extension, and $U if already installed. 3257*d874e919Schristos ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3258*d874e919Schristos ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 3259*d874e919Schristos # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3260*d874e919Schristos # will be set to the directory where LIBOBJS objects are built. 3261*d874e919Schristos as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3262*d874e919Schristos as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3263*d874e919Schristosdone 3264*d874e919SchristosLIBOBJS=$ac_libobjs 3265*d874e919Schristos 3266*d874e919SchristosLTLIBOBJS=$ac_ltlibobjs 3267*d874e919Schristos 3268*d874e919Schristos 3269*d874e919Schristos 3270*d874e919Schristosif test -z "${MAKE_CASE_SENSITIVE_TRUE}" && test -z "${MAKE_CASE_SENSITIVE_FALSE}"; then 3271*d874e919Schristos as_fn_error $? "conditional \"MAKE_CASE_SENSITIVE\" was never defined. 3272*d874e919SchristosUsually this means the macro was only invoked conditionally." "$LINENO" 5 3273*d874e919Schristosfi 3274*d874e919Schristos 3275*d874e919Schristos: "${CONFIG_STATUS=./config.status}" 3276*d874e919Schristosac_write_fail=0 3277*d874e919Schristosac_clean_files_save=$ac_clean_files 3278*d874e919Schristosac_clean_files="$ac_clean_files $CONFIG_STATUS" 3279*d874e919Schristos{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3280*d874e919Schristos$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3281*d874e919Schristosas_write_fail=0 3282*d874e919Schristoscat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3283*d874e919Schristos#! $SHELL 3284*d874e919Schristos# Generated by $as_me. 3285*d874e919Schristos# Run this file to recreate the current configuration. 3286*d874e919Schristos# Compiler output produced by configure, useful for debugging 3287*d874e919Schristos# configure, is in config.log if it exists. 3288*d874e919Schristos 3289*d874e919Schristosdebug=false 3290*d874e919Schristosac_cs_recheck=false 3291*d874e919Schristosac_cs_silent=false 3292*d874e919Schristos 3293*d874e919SchristosSHELL=\${CONFIG_SHELL-$SHELL} 3294*d874e919Schristosexport SHELL 3295*d874e919Schristos_ASEOF 3296*d874e919Schristoscat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3297*d874e919Schristos## -------------------- ## 3298*d874e919Schristos## M4sh Initialization. ## 3299*d874e919Schristos## -------------------- ## 3300*d874e919Schristos 3301*d874e919Schristos# Be more Bourne compatible 3302*d874e919SchristosDUALCASE=1; export DUALCASE # for MKS sh 3303*d874e919Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 3304*d874e919Schristos emulate sh 3305*d874e919Schristos NULLCMD=: 3306*d874e919Schristos # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3307*d874e919Schristos # is contrary to our usage. Disable this feature. 3308*d874e919Schristos alias -g '${1+"$@"}'='"$@"' 3309*d874e919Schristos setopt NO_GLOB_SUBST 3310*d874e919Schristoselse 3311*d874e919Schristos case `(set -o) 2>/dev/null` in #( 3312*d874e919Schristos *posix*) : 3313*d874e919Schristos set -o posix ;; #( 3314*d874e919Schristos *) : 3315*d874e919Schristos ;; 3316*d874e919Schristosesac 3317*d874e919Schristosfi 3318*d874e919Schristos 3319*d874e919Schristos 3320*d874e919Schristosas_nl=' 3321*d874e919Schristos' 3322*d874e919Schristosexport as_nl 3323*d874e919Schristos# Printing a long string crashes Solaris 7 /usr/bin/printf. 3324*d874e919Schristosas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3325*d874e919Schristosas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 3326*d874e919Schristosas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 3327*d874e919Schristos# Prefer a ksh shell builtin over an external printf program on Solaris, 3328*d874e919Schristos# but without wasting forks for bash or zsh. 3329*d874e919Schristosif test -z "$BASH_VERSION$ZSH_VERSION" \ 3330*d874e919Schristos && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 3331*d874e919Schristos as_echo='print -r --' 3332*d874e919Schristos as_echo_n='print -rn --' 3333*d874e919Schristoselif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 3334*d874e919Schristos as_echo='printf %s\n' 3335*d874e919Schristos as_echo_n='printf %s' 3336*d874e919Schristoselse 3337*d874e919Schristos if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 3338*d874e919Schristos as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 3339*d874e919Schristos as_echo_n='/usr/ucb/echo -n' 3340*d874e919Schristos else 3341*d874e919Schristos as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 3342*d874e919Schristos as_echo_n_body='eval 3343*d874e919Schristos arg=$1; 3344*d874e919Schristos case $arg in #( 3345*d874e919Schristos *"$as_nl"*) 3346*d874e919Schristos expr "X$arg" : "X\\(.*\\)$as_nl"; 3347*d874e919Schristos arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 3348*d874e919Schristos esac; 3349*d874e919Schristos expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 3350*d874e919Schristos ' 3351*d874e919Schristos export as_echo_n_body 3352*d874e919Schristos as_echo_n='sh -c $as_echo_n_body as_echo' 3353*d874e919Schristos fi 3354*d874e919Schristos export as_echo_body 3355*d874e919Schristos as_echo='sh -c $as_echo_body as_echo' 3356*d874e919Schristosfi 3357*d874e919Schristos 3358*d874e919Schristos# The user is always right. 3359*d874e919Schristosif test "${PATH_SEPARATOR+set}" != set; then 3360*d874e919Schristos PATH_SEPARATOR=: 3361*d874e919Schristos (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3362*d874e919Schristos (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3363*d874e919Schristos PATH_SEPARATOR=';' 3364*d874e919Schristos } 3365*d874e919Schristosfi 3366*d874e919Schristos 3367*d874e919Schristos 3368*d874e919Schristos# IFS 3369*d874e919Schristos# We need space, tab and new line, in precisely that order. Quoting is 3370*d874e919Schristos# there to prevent editors from complaining about space-tab. 3371*d874e919Schristos# (If _AS_PATH_WALK were called with IFS unset, it would disable word 3372*d874e919Schristos# splitting by setting IFS to empty value.) 3373*d874e919SchristosIFS=" "" $as_nl" 3374*d874e919Schristos 3375*d874e919Schristos# Find who we are. Look in the path if we contain no directory separator. 3376*d874e919Schristosas_myself= 3377*d874e919Schristoscase $0 in #(( 3378*d874e919Schristos *[\\/]* ) as_myself=$0 ;; 3379*d874e919Schristos *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3380*d874e919Schristosfor as_dir in $PATH 3381*d874e919Schristosdo 3382*d874e919Schristos IFS=$as_save_IFS 3383*d874e919Schristos test -z "$as_dir" && as_dir=. 3384*d874e919Schristos test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3385*d874e919Schristos done 3386*d874e919SchristosIFS=$as_save_IFS 3387*d874e919Schristos 3388*d874e919Schristos ;; 3389*d874e919Schristosesac 3390*d874e919Schristos# We did not find ourselves, most probably we were run as `sh COMMAND' 3391*d874e919Schristos# in which case we are not to be found in the path. 3392*d874e919Schristosif test "x$as_myself" = x; then 3393*d874e919Schristos as_myself=$0 3394*d874e919Schristosfi 3395*d874e919Schristosif test ! -f "$as_myself"; then 3396*d874e919Schristos $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3397*d874e919Schristos exit 1 3398*d874e919Schristosfi 3399*d874e919Schristos 3400*d874e919Schristos# Unset variables that we do not need and which cause bugs (e.g. in 3401*d874e919Schristos# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 3402*d874e919Schristos# suppresses any "Segmentation fault" message there. '((' could 3403*d874e919Schristos# trigger a bug in pdksh 5.2.14. 3404*d874e919Schristosfor as_var in BASH_ENV ENV MAIL MAILPATH 3405*d874e919Schristosdo eval test x\${$as_var+set} = xset \ 3406*d874e919Schristos && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3407*d874e919Schristosdone 3408*d874e919SchristosPS1='$ ' 3409*d874e919SchristosPS2='> ' 3410*d874e919SchristosPS4='+ ' 3411*d874e919Schristos 3412*d874e919Schristos# NLS nuisances. 3413*d874e919SchristosLC_ALL=C 3414*d874e919Schristosexport LC_ALL 3415*d874e919SchristosLANGUAGE=C 3416*d874e919Schristosexport LANGUAGE 3417*d874e919Schristos 3418*d874e919Schristos# CDPATH. 3419*d874e919Schristos(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3420*d874e919Schristos 3421*d874e919Schristos 3422*d874e919Schristos# as_fn_error STATUS ERROR [LINENO LOG_FD] 3423*d874e919Schristos# ---------------------------------------- 3424*d874e919Schristos# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3425*d874e919Schristos# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3426*d874e919Schristos# script with STATUS, using 1 if that was 0. 3427*d874e919Schristosas_fn_error () 3428*d874e919Schristos{ 3429*d874e919Schristos as_status=$1; test $as_status -eq 0 && as_status=1 3430*d874e919Schristos if test "$4"; then 3431*d874e919Schristos as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3432*d874e919Schristos $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3433*d874e919Schristos fi 3434*d874e919Schristos $as_echo "$as_me: error: $2" >&2 3435*d874e919Schristos as_fn_exit $as_status 3436*d874e919Schristos} # as_fn_error 3437*d874e919Schristos 3438*d874e919Schristos 3439*d874e919Schristos# as_fn_set_status STATUS 3440*d874e919Schristos# ----------------------- 3441*d874e919Schristos# Set $? to STATUS, without forking. 3442*d874e919Schristosas_fn_set_status () 3443*d874e919Schristos{ 3444*d874e919Schristos return $1 3445*d874e919Schristos} # as_fn_set_status 3446*d874e919Schristos 3447*d874e919Schristos# as_fn_exit STATUS 3448*d874e919Schristos# ----------------- 3449*d874e919Schristos# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3450*d874e919Schristosas_fn_exit () 3451*d874e919Schristos{ 3452*d874e919Schristos set +e 3453*d874e919Schristos as_fn_set_status $1 3454*d874e919Schristos exit $1 3455*d874e919Schristos} # as_fn_exit 3456*d874e919Schristos 3457*d874e919Schristos# as_fn_unset VAR 3458*d874e919Schristos# --------------- 3459*d874e919Schristos# Portably unset VAR. 3460*d874e919Schristosas_fn_unset () 3461*d874e919Schristos{ 3462*d874e919Schristos { eval $1=; unset $1;} 3463*d874e919Schristos} 3464*d874e919Schristosas_unset=as_fn_unset 3465*d874e919Schristos# as_fn_append VAR VALUE 3466*d874e919Schristos# ---------------------- 3467*d874e919Schristos# Append the text in VALUE to the end of the definition contained in VAR. Take 3468*d874e919Schristos# advantage of any shell optimizations that allow amortized linear growth over 3469*d874e919Schristos# repeated appends, instead of the typical quadratic growth present in naive 3470*d874e919Schristos# implementations. 3471*d874e919Schristosif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3472*d874e919Schristos eval 'as_fn_append () 3473*d874e919Schristos { 3474*d874e919Schristos eval $1+=\$2 3475*d874e919Schristos }' 3476*d874e919Schristoselse 3477*d874e919Schristos as_fn_append () 3478*d874e919Schristos { 3479*d874e919Schristos eval $1=\$$1\$2 3480*d874e919Schristos } 3481*d874e919Schristosfi # as_fn_append 3482*d874e919Schristos 3483*d874e919Schristos# as_fn_arith ARG... 3484*d874e919Schristos# ------------------ 3485*d874e919Schristos# Perform arithmetic evaluation on the ARGs, and store the result in the 3486*d874e919Schristos# global $as_val. Take advantage of shells that can avoid forks. The arguments 3487*d874e919Schristos# must be portable across $(()) and expr. 3488*d874e919Schristosif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3489*d874e919Schristos eval 'as_fn_arith () 3490*d874e919Schristos { 3491*d874e919Schristos as_val=$(( $* )) 3492*d874e919Schristos }' 3493*d874e919Schristoselse 3494*d874e919Schristos as_fn_arith () 3495*d874e919Schristos { 3496*d874e919Schristos as_val=`expr "$@" || test $? -eq 1` 3497*d874e919Schristos } 3498*d874e919Schristosfi # as_fn_arith 3499*d874e919Schristos 3500*d874e919Schristos 3501*d874e919Schristosif expr a : '\(a\)' >/dev/null 2>&1 && 3502*d874e919Schristos test "X`expr 00001 : '.*\(...\)'`" = X001; then 3503*d874e919Schristos as_expr=expr 3504*d874e919Schristoselse 3505*d874e919Schristos as_expr=false 3506*d874e919Schristosfi 3507*d874e919Schristos 3508*d874e919Schristosif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3509*d874e919Schristos as_basename=basename 3510*d874e919Schristoselse 3511*d874e919Schristos as_basename=false 3512*d874e919Schristosfi 3513*d874e919Schristos 3514*d874e919Schristosif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3515*d874e919Schristos as_dirname=dirname 3516*d874e919Schristoselse 3517*d874e919Schristos as_dirname=false 3518*d874e919Schristosfi 3519*d874e919Schristos 3520*d874e919Schristosas_me=`$as_basename -- "$0" || 3521*d874e919Schristos$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3522*d874e919Schristos X"$0" : 'X\(//\)$' \| \ 3523*d874e919Schristos X"$0" : 'X\(/\)' \| . 2>/dev/null || 3524*d874e919Schristos$as_echo X/"$0" | 3525*d874e919Schristos sed '/^.*\/\([^/][^/]*\)\/*$/{ 3526*d874e919Schristos s//\1/ 3527*d874e919Schristos q 3528*d874e919Schristos } 3529*d874e919Schristos /^X\/\(\/\/\)$/{ 3530*d874e919Schristos s//\1/ 3531*d874e919Schristos q 3532*d874e919Schristos } 3533*d874e919Schristos /^X\/\(\/\).*/{ 3534*d874e919Schristos s//\1/ 3535*d874e919Schristos q 3536*d874e919Schristos } 3537*d874e919Schristos s/.*/./; q'` 3538*d874e919Schristos 3539*d874e919Schristos# Avoid depending upon Character Ranges. 3540*d874e919Schristosas_cr_letters='abcdefghijklmnopqrstuvwxyz' 3541*d874e919Schristosas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3542*d874e919Schristosas_cr_Letters=$as_cr_letters$as_cr_LETTERS 3543*d874e919Schristosas_cr_digits='0123456789' 3544*d874e919Schristosas_cr_alnum=$as_cr_Letters$as_cr_digits 3545*d874e919Schristos 3546*d874e919SchristosECHO_C= ECHO_N= ECHO_T= 3547*d874e919Schristoscase `echo -n x` in #((((( 3548*d874e919Schristos-n*) 3549*d874e919Schristos case `echo 'xy\c'` in 3550*d874e919Schristos *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3551*d874e919Schristos xy) ECHO_C='\c';; 3552*d874e919Schristos *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3553*d874e919Schristos ECHO_T=' ';; 3554*d874e919Schristos esac;; 3555*d874e919Schristos*) 3556*d874e919Schristos ECHO_N='-n';; 3557*d874e919Schristosesac 3558*d874e919Schristos 3559*d874e919Schristosrm -f conf$$ conf$$.exe conf$$.file 3560*d874e919Schristosif test -d conf$$.dir; then 3561*d874e919Schristos rm -f conf$$.dir/conf$$.file 3562*d874e919Schristoselse 3563*d874e919Schristos rm -f conf$$.dir 3564*d874e919Schristos mkdir conf$$.dir 2>/dev/null 3565*d874e919Schristosfi 3566*d874e919Schristosif (echo >conf$$.file) 2>/dev/null; then 3567*d874e919Schristos if ln -s conf$$.file conf$$ 2>/dev/null; then 3568*d874e919Schristos as_ln_s='ln -s' 3569*d874e919Schristos # ... but there are two gotchas: 3570*d874e919Schristos # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3571*d874e919Schristos # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3572*d874e919Schristos # In both cases, we have to default to `cp -pR'. 3573*d874e919Schristos ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3574*d874e919Schristos as_ln_s='cp -pR' 3575*d874e919Schristos elif ln conf$$.file conf$$ 2>/dev/null; then 3576*d874e919Schristos as_ln_s=ln 3577*d874e919Schristos else 3578*d874e919Schristos as_ln_s='cp -pR' 3579*d874e919Schristos fi 3580*d874e919Schristoselse 3581*d874e919Schristos as_ln_s='cp -pR' 3582*d874e919Schristosfi 3583*d874e919Schristosrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3584*d874e919Schristosrmdir conf$$.dir 2>/dev/null 3585*d874e919Schristos 3586*d874e919Schristos 3587*d874e919Schristos# as_fn_mkdir_p 3588*d874e919Schristos# ------------- 3589*d874e919Schristos# Create "$as_dir" as a directory, including parents if necessary. 3590*d874e919Schristosas_fn_mkdir_p () 3591*d874e919Schristos{ 3592*d874e919Schristos 3593*d874e919Schristos case $as_dir in #( 3594*d874e919Schristos -*) as_dir=./$as_dir;; 3595*d874e919Schristos esac 3596*d874e919Schristos test -d "$as_dir" || eval $as_mkdir_p || { 3597*d874e919Schristos as_dirs= 3598*d874e919Schristos while :; do 3599*d874e919Schristos case $as_dir in #( 3600*d874e919Schristos *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3601*d874e919Schristos *) as_qdir=$as_dir;; 3602*d874e919Schristos esac 3603*d874e919Schristos as_dirs="'$as_qdir' $as_dirs" 3604*d874e919Schristos as_dir=`$as_dirname -- "$as_dir" || 3605*d874e919Schristos$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3606*d874e919Schristos X"$as_dir" : 'X\(//\)[^/]' \| \ 3607*d874e919Schristos X"$as_dir" : 'X\(//\)$' \| \ 3608*d874e919Schristos X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3609*d874e919Schristos$as_echo X"$as_dir" | 3610*d874e919Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3611*d874e919Schristos s//\1/ 3612*d874e919Schristos q 3613*d874e919Schristos } 3614*d874e919Schristos /^X\(\/\/\)[^/].*/{ 3615*d874e919Schristos s//\1/ 3616*d874e919Schristos q 3617*d874e919Schristos } 3618*d874e919Schristos /^X\(\/\/\)$/{ 3619*d874e919Schristos s//\1/ 3620*d874e919Schristos q 3621*d874e919Schristos } 3622*d874e919Schristos /^X\(\/\).*/{ 3623*d874e919Schristos s//\1/ 3624*d874e919Schristos q 3625*d874e919Schristos } 3626*d874e919Schristos s/.*/./; q'` 3627*d874e919Schristos test -d "$as_dir" && break 3628*d874e919Schristos done 3629*d874e919Schristos test -z "$as_dirs" || eval "mkdir $as_dirs" 3630*d874e919Schristos } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3631*d874e919Schristos 3632*d874e919Schristos 3633*d874e919Schristos} # as_fn_mkdir_p 3634*d874e919Schristosif mkdir -p . 2>/dev/null; then 3635*d874e919Schristos as_mkdir_p='mkdir -p "$as_dir"' 3636*d874e919Schristoselse 3637*d874e919Schristos test -d ./-p && rmdir ./-p 3638*d874e919Schristos as_mkdir_p=false 3639*d874e919Schristosfi 3640*d874e919Schristos 3641*d874e919Schristos 3642*d874e919Schristos# as_fn_executable_p FILE 3643*d874e919Schristos# ----------------------- 3644*d874e919Schristos# Test if FILE is an executable regular file. 3645*d874e919Schristosas_fn_executable_p () 3646*d874e919Schristos{ 3647*d874e919Schristos test -f "$1" && test -x "$1" 3648*d874e919Schristos} # as_fn_executable_p 3649*d874e919Schristosas_test_x='test -x' 3650*d874e919Schristosas_executable_p=as_fn_executable_p 3651*d874e919Schristos 3652*d874e919Schristos# Sed expression to map a string onto a valid CPP name. 3653*d874e919Schristosas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3654*d874e919Schristos 3655*d874e919Schristos# Sed expression to map a string onto a valid variable name. 3656*d874e919Schristosas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3657*d874e919Schristos 3658*d874e919Schristos 3659*d874e919Schristosexec 6>&1 3660*d874e919Schristos## ----------------------------------- ## 3661*d874e919Schristos## Main body of $CONFIG_STATUS script. ## 3662*d874e919Schristos## ----------------------------------- ## 3663*d874e919Schristos_ASEOF 3664*d874e919Schristostest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3665*d874e919Schristos 3666*d874e919Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3667*d874e919Schristos# Save the log message, to keep $0 and so on meaningful, and to 3668*d874e919Schristos# report actual input values of CONFIG_FILES etc. instead of their 3669*d874e919Schristos# values after options handling. 3670*d874e919Schristosac_log=" 3671*d874e919SchristosThis file was extended by GNU Autoconf $as_me 2.69, which was 3672*d874e919Schristosgenerated by GNU Autoconf 2.69. Invocation command line was 3673*d874e919Schristos 3674*d874e919Schristos CONFIG_FILES = $CONFIG_FILES 3675*d874e919Schristos CONFIG_HEADERS = $CONFIG_HEADERS 3676*d874e919Schristos CONFIG_LINKS = $CONFIG_LINKS 3677*d874e919Schristos CONFIG_COMMANDS = $CONFIG_COMMANDS 3678*d874e919Schristos $ $0 $@ 3679*d874e919Schristos 3680*d874e919Schristoson `(hostname || uname -n) 2>/dev/null | sed 1q` 3681*d874e919Schristos" 3682*d874e919Schristos 3683*d874e919Schristos_ACEOF 3684*d874e919Schristos 3685*d874e919Schristoscase $ac_config_files in *" 3686*d874e919Schristos"*) set x $ac_config_files; shift; ac_config_files=$*;; 3687*d874e919Schristosesac 3688*d874e919Schristos 3689*d874e919Schristos 3690*d874e919Schristos 3691*d874e919Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3692*d874e919Schristos# Files that config.status was made for. 3693*d874e919Schristosconfig_files="$ac_config_files" 3694*d874e919Schristosconfig_links="$ac_config_links" 3695*d874e919Schristosconfig_commands="$ac_config_commands" 3696*d874e919Schristos 3697*d874e919Schristos_ACEOF 3698*d874e919Schristos 3699*d874e919Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3700*d874e919Schristosac_cs_usage="\ 3701*d874e919Schristos\`$as_me' instantiates files and other configuration actions 3702*d874e919Schristosfrom templates according to the current configuration. Unless the files 3703*d874e919Schristosand actions are specified as TAGs, all are instantiated by default. 3704*d874e919Schristos 3705*d874e919SchristosUsage: $0 [OPTION]... [TAG]... 3706*d874e919Schristos 3707*d874e919Schristos -h, --help print this help, then exit 3708*d874e919Schristos -V, --version print version number and configuration settings, then exit 3709*d874e919Schristos --config print configuration, then exit 3710*d874e919Schristos -q, --quiet, --silent 3711*d874e919Schristos do not print progress messages 3712*d874e919Schristos -d, --debug don't remove temporary files 3713*d874e919Schristos --recheck update $as_me by reconfiguring in the same conditions 3714*d874e919Schristos --file=FILE[:TEMPLATE] 3715*d874e919Schristos instantiate the configuration file FILE 3716*d874e919Schristos 3717*d874e919SchristosConfiguration files: 3718*d874e919Schristos$config_files 3719*d874e919Schristos 3720*d874e919SchristosConfiguration links: 3721*d874e919Schristos$config_links 3722*d874e919Schristos 3723*d874e919SchristosConfiguration commands: 3724*d874e919Schristos$config_commands 3725*d874e919Schristos 3726*d874e919SchristosReport bugs to <bug-autoconf@gnu.org>. 3727*d874e919SchristosGNU Autoconf home page: <http://www.gnu.org/software/autoconf/>. 3728*d874e919SchristosGeneral help using GNU software: <http://www.gnu.org/gethelp/>." 3729*d874e919Schristos 3730*d874e919Schristos_ACEOF 3731*d874e919Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3732*d874e919Schristosac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 3733*d874e919Schristosac_cs_version="\\ 3734*d874e919SchristosGNU Autoconf config.status 2.69 3735*d874e919Schristosconfigured by $0, generated by GNU Autoconf 2.69, 3736*d874e919Schristos with options \\"\$ac_cs_config\\" 3737*d874e919Schristos 3738*d874e919SchristosCopyright (C) 2012 Free Software Foundation, Inc. 3739*d874e919SchristosThis config.status script is free software; the Free Software Foundation 3740*d874e919Schristosgives unlimited permission to copy, distribute and modify it." 3741*d874e919Schristos 3742*d874e919Schristosac_pwd='$ac_pwd' 3743*d874e919Schristossrcdir='$srcdir' 3744*d874e919SchristosINSTALL='$INSTALL' 3745*d874e919SchristosMKDIR_P='$MKDIR_P' 3746*d874e919SchristosAWK='$AWK' 3747*d874e919Schristostest -n "\$AWK" || AWK=awk 3748*d874e919Schristos_ACEOF 3749*d874e919Schristos 3750*d874e919Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3751*d874e919Schristos# The default lists apply if the user does not specify any file. 3752*d874e919Schristosac_need_defaults=: 3753*d874e919Schristoswhile test $# != 0 3754*d874e919Schristosdo 3755*d874e919Schristos case $1 in 3756*d874e919Schristos --*=?*) 3757*d874e919Schristos ac_option=`expr "X$1" : 'X\([^=]*\)='` 3758*d874e919Schristos ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3759*d874e919Schristos ac_shift=: 3760*d874e919Schristos ;; 3761*d874e919Schristos --*=) 3762*d874e919Schristos ac_option=`expr "X$1" : 'X\([^=]*\)='` 3763*d874e919Schristos ac_optarg= 3764*d874e919Schristos ac_shift=: 3765*d874e919Schristos ;; 3766*d874e919Schristos *) 3767*d874e919Schristos ac_option=$1 3768*d874e919Schristos ac_optarg=$2 3769*d874e919Schristos ac_shift=shift 3770*d874e919Schristos ;; 3771*d874e919Schristos esac 3772*d874e919Schristos 3773*d874e919Schristos case $ac_option in 3774*d874e919Schristos # Handling of the options. 3775*d874e919Schristos -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3776*d874e919Schristos ac_cs_recheck=: ;; 3777*d874e919Schristos --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3778*d874e919Schristos $as_echo "$ac_cs_version"; exit ;; 3779*d874e919Schristos --config | --confi | --conf | --con | --co | --c ) 3780*d874e919Schristos $as_echo "$ac_cs_config"; exit ;; 3781*d874e919Schristos --debug | --debu | --deb | --de | --d | -d ) 3782*d874e919Schristos debug=: ;; 3783*d874e919Schristos --file | --fil | --fi | --f ) 3784*d874e919Schristos $ac_shift 3785*d874e919Schristos case $ac_optarg in 3786*d874e919Schristos *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3787*d874e919Schristos '') as_fn_error $? "missing file argument" ;; 3788*d874e919Schristos esac 3789*d874e919Schristos as_fn_append CONFIG_FILES " '$ac_optarg'" 3790*d874e919Schristos ac_need_defaults=false;; 3791*d874e919Schristos --he | --h | --help | --hel | -h ) 3792*d874e919Schristos $as_echo "$ac_cs_usage"; exit ;; 3793*d874e919Schristos -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3794*d874e919Schristos | -silent | --silent | --silen | --sile | --sil | --si | --s) 3795*d874e919Schristos ac_cs_silent=: ;; 3796*d874e919Schristos 3797*d874e919Schristos # This is an error. 3798*d874e919Schristos -*) as_fn_error $? "unrecognized option: \`$1' 3799*d874e919SchristosTry \`$0 --help' for more information." ;; 3800*d874e919Schristos 3801*d874e919Schristos *) as_fn_append ac_config_targets " $1" 3802*d874e919Schristos ac_need_defaults=false ;; 3803*d874e919Schristos 3804*d874e919Schristos esac 3805*d874e919Schristos shift 3806*d874e919Schristosdone 3807*d874e919Schristos 3808*d874e919Schristosac_configure_extra_args= 3809*d874e919Schristos 3810*d874e919Schristosif $ac_cs_silent; then 3811*d874e919Schristos exec 6>/dev/null 3812*d874e919Schristos ac_configure_extra_args="$ac_configure_extra_args --silent" 3813*d874e919Schristosfi 3814*d874e919Schristos 3815*d874e919Schristos_ACEOF 3816*d874e919Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3817*d874e919Schristosif \$ac_cs_recheck; then 3818*d874e919Schristos set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3819*d874e919Schristos shift 3820*d874e919Schristos \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3821*d874e919Schristos CONFIG_SHELL='$SHELL' 3822*d874e919Schristos export CONFIG_SHELL 3823*d874e919Schristos exec "\$@" 3824*d874e919Schristosfi 3825*d874e919Schristos 3826*d874e919Schristos_ACEOF 3827*d874e919Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3828*d874e919Schristosexec 5>>config.log 3829*d874e919Schristos{ 3830*d874e919Schristos echo 3831*d874e919Schristos sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3832*d874e919Schristos## Running $as_me. ## 3833*d874e919Schristos_ASBOX 3834*d874e919Schristos $as_echo "$ac_log" 3835*d874e919Schristos} >&5 3836*d874e919Schristos 3837*d874e919Schristos_ACEOF 3838*d874e919Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3839*d874e919Schristos# 3840*d874e919Schristos# INIT-COMMANDS 3841*d874e919Schristos# 3842*d874e919Schristos 3843*d874e919SchristosGNUmakefile=$GNUmakefile 3844*d874e919Schristos 3845*d874e919Schristos_ACEOF 3846*d874e919Schristos 3847*d874e919Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3848*d874e919Schristos 3849*d874e919Schristos# Handling of arguments. 3850*d874e919Schristosfor ac_config_target in $ac_config_targets 3851*d874e919Schristosdo 3852*d874e919Schristos case $ac_config_target in 3853*d874e919Schristos "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;; 3854*d874e919Schristos "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 3855*d874e919Schristos "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;; 3856*d874e919Schristos "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 3857*d874e919Schristos "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;; 3858*d874e919Schristos "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;; 3859*d874e919Schristos "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3860*d874e919Schristos "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 3861*d874e919Schristos "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 3862*d874e919Schristos "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;; 3863*d874e919Schristos "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;; 3864*d874e919Schristos "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;; 3865*d874e919Schristos "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;; 3866*d874e919Schristos "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;; 3867*d874e919Schristos "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;; 3868*d874e919Schristos 3869*d874e919Schristos *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3870*d874e919Schristos esac 3871*d874e919Schristosdone 3872*d874e919Schristos 3873*d874e919Schristos 3874*d874e919Schristos# If the user did not use the arguments to specify the items to instantiate, 3875*d874e919Schristos# then the envvar interface is used. Set only those that are not. 3876*d874e919Schristos# We use the long form for the default assignment because of an extremely 3877*d874e919Schristos# bizarre bug on SunOS 4.1.3. 3878*d874e919Schristosif $ac_need_defaults; then 3879*d874e919Schristos test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3880*d874e919Schristos test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links 3881*d874e919Schristos test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 3882*d874e919Schristosfi 3883*d874e919Schristos 3884*d874e919Schristos# Have a temporary directory for convenience. Make it in the build tree 3885*d874e919Schristos# simply because there is no reason against having it here, and in addition, 3886*d874e919Schristos# creating and moving files from /tmp can sometimes cause problems. 3887*d874e919Schristos# Hook for its removal unless debugging. 3888*d874e919Schristos# Note that there is a small window in which the directory will not be cleaned: 3889*d874e919Schristos# after its creation but before its name has been assigned to `$tmp'. 3890*d874e919Schristos$debug || 3891*d874e919Schristos{ 3892*d874e919Schristos tmp= ac_tmp= 3893*d874e919Schristos trap 'exit_status=$? 3894*d874e919Schristos : "${ac_tmp:=$tmp}" 3895*d874e919Schristos { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 3896*d874e919Schristos' 0 3897*d874e919Schristos trap 'as_fn_exit 1' 1 2 13 15 3898*d874e919Schristos} 3899*d874e919Schristos# Create a (secure) tmp directory for tmp files. 3900*d874e919Schristos 3901*d874e919Schristos{ 3902*d874e919Schristos tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3903*d874e919Schristos test -d "$tmp" 3904*d874e919Schristos} || 3905*d874e919Schristos{ 3906*d874e919Schristos tmp=./conf$$-$RANDOM 3907*d874e919Schristos (umask 077 && mkdir "$tmp") 3908*d874e919Schristos} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3909*d874e919Schristosac_tmp=$tmp 3910*d874e919Schristos 3911*d874e919Schristos# Set up the scripts for CONFIG_FILES section. 3912*d874e919Schristos# No need to generate them if there are no CONFIG_FILES. 3913*d874e919Schristos# This happens for instance with `./config.status config.h'. 3914*d874e919Schristosif test -n "$CONFIG_FILES"; then 3915*d874e919Schristos 3916*d874e919Schristos 3917*d874e919Schristosac_cr=`echo X | tr X '\015'` 3918*d874e919Schristos# On cygwin, bash can eat \r inside `` if the user requested igncr. 3919*d874e919Schristos# But we know of no other shell where ac_cr would be empty at this 3920*d874e919Schristos# point, so we can use a bashism as a fallback. 3921*d874e919Schristosif test "x$ac_cr" = x; then 3922*d874e919Schristos eval ac_cr=\$\'\\r\' 3923*d874e919Schristosfi 3924*d874e919Schristosac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3925*d874e919Schristosif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3926*d874e919Schristos ac_cs_awk_cr='\\r' 3927*d874e919Schristoselse 3928*d874e919Schristos ac_cs_awk_cr=$ac_cr 3929*d874e919Schristosfi 3930*d874e919Schristos 3931*d874e919Schristosecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 3932*d874e919Schristos_ACEOF 3933*d874e919Schristos 3934*d874e919Schristos 3935*d874e919Schristos{ 3936*d874e919Schristos echo "cat >conf$$subs.awk <<_ACEOF" && 3937*d874e919Schristos echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3938*d874e919Schristos echo "_ACEOF" 3939*d874e919Schristos} >conf$$subs.sh || 3940*d874e919Schristos as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3941*d874e919Schristosac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 3942*d874e919Schristosac_delim='%!_!# ' 3943*d874e919Schristosfor ac_last_try in false false false false false :; do 3944*d874e919Schristos . ./conf$$subs.sh || 3945*d874e919Schristos as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3946*d874e919Schristos 3947*d874e919Schristos ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3948*d874e919Schristos if test $ac_delim_n = $ac_delim_num; then 3949*d874e919Schristos break 3950*d874e919Schristos elif $ac_last_try; then 3951*d874e919Schristos as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3952*d874e919Schristos else 3953*d874e919Schristos ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3954*d874e919Schristos fi 3955*d874e919Schristosdone 3956*d874e919Schristosrm -f conf$$subs.sh 3957*d874e919Schristos 3958*d874e919Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3959*d874e919Schristoscat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 3960*d874e919Schristos_ACEOF 3961*d874e919Schristossed -n ' 3962*d874e919Schristosh 3963*d874e919Schristoss/^/S["/; s/!.*/"]=/ 3964*d874e919Schristosp 3965*d874e919Schristosg 3966*d874e919Schristoss/^[^!]*!// 3967*d874e919Schristos:repl 3968*d874e919Schristost repl 3969*d874e919Schristoss/'"$ac_delim"'$// 3970*d874e919Schristost delim 3971*d874e919Schristos:nl 3972*d874e919Schristosh 3973*d874e919Schristoss/\(.\{148\}\)..*/\1/ 3974*d874e919Schristost more1 3975*d874e919Schristoss/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3976*d874e919Schristosp 3977*d874e919Schristosn 3978*d874e919Schristosb repl 3979*d874e919Schristos:more1 3980*d874e919Schristoss/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3981*d874e919Schristosp 3982*d874e919Schristosg 3983*d874e919Schristoss/.\{148\}// 3984*d874e919Schristost nl 3985*d874e919Schristos:delim 3986*d874e919Schristosh 3987*d874e919Schristoss/\(.\{148\}\)..*/\1/ 3988*d874e919Schristost more2 3989*d874e919Schristoss/["\\]/\\&/g; s/^/"/; s/$/"/ 3990*d874e919Schristosp 3991*d874e919Schristosb 3992*d874e919Schristos:more2 3993*d874e919Schristoss/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3994*d874e919Schristosp 3995*d874e919Schristosg 3996*d874e919Schristoss/.\{148\}// 3997*d874e919Schristost delim 3998*d874e919Schristos' <conf$$subs.awk | sed ' 3999*d874e919Schristos/^[^""]/{ 4000*d874e919Schristos N 4001*d874e919Schristos s/\n// 4002*d874e919Schristos} 4003*d874e919Schristos' >>$CONFIG_STATUS || ac_write_fail=1 4004*d874e919Schristosrm -f conf$$subs.awk 4005*d874e919Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4006*d874e919Schristos_ACAWK 4007*d874e919Schristoscat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4008*d874e919Schristos for (key in S) S_is_set[key] = 1 4009*d874e919Schristos FS = "" 4010*d874e919Schristos 4011*d874e919Schristos} 4012*d874e919Schristos{ 4013*d874e919Schristos line = $ 0 4014*d874e919Schristos nfields = split(line, field, "@") 4015*d874e919Schristos substed = 0 4016*d874e919Schristos len = length(field[1]) 4017*d874e919Schristos for (i = 2; i < nfields; i++) { 4018*d874e919Schristos key = field[i] 4019*d874e919Schristos keylen = length(key) 4020*d874e919Schristos if (S_is_set[key]) { 4021*d874e919Schristos value = S[key] 4022*d874e919Schristos line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4023*d874e919Schristos len += length(value) + length(field[++i]) 4024*d874e919Schristos substed = 1 4025*d874e919Schristos } else 4026*d874e919Schristos len += 1 + keylen 4027*d874e919Schristos } 4028*d874e919Schristos 4029*d874e919Schristos print line 4030*d874e919Schristos} 4031*d874e919Schristos 4032*d874e919Schristos_ACAWK 4033*d874e919Schristos_ACEOF 4034*d874e919Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4035*d874e919Schristosif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4036*d874e919Schristos sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4037*d874e919Schristoselse 4038*d874e919Schristos cat 4039*d874e919Schristosfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4040*d874e919Schristos || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4041*d874e919Schristos_ACEOF 4042*d874e919Schristos 4043*d874e919Schristos# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4044*d874e919Schristos# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4045*d874e919Schristos# trailing colons and then remove the whole line if VPATH becomes empty 4046*d874e919Schristos# (actually we leave an empty line to preserve line numbers). 4047*d874e919Schristosif test "x$srcdir" = x.; then 4048*d874e919Schristos ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4049*d874e919Schristosh 4050*d874e919Schristoss/// 4051*d874e919Schristoss/^/:/ 4052*d874e919Schristoss/[ ]*$/:/ 4053*d874e919Schristoss/:\$(srcdir):/:/g 4054*d874e919Schristoss/:\${srcdir}:/:/g 4055*d874e919Schristoss/:@srcdir@:/:/g 4056*d874e919Schristoss/^:*// 4057*d874e919Schristoss/:*$// 4058*d874e919Schristosx 4059*d874e919Schristoss/\(=[ ]*\).*/\1/ 4060*d874e919SchristosG 4061*d874e919Schristoss/\n// 4062*d874e919Schristoss/^[^=]*=[ ]*$// 4063*d874e919Schristos}' 4064*d874e919Schristosfi 4065*d874e919Schristos 4066*d874e919Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4067*d874e919Schristosfi # test -n "$CONFIG_FILES" 4068*d874e919Schristos 4069*d874e919Schristos 4070*d874e919Schristoseval set X " :F $CONFIG_FILES :L $CONFIG_LINKS :C $CONFIG_COMMANDS" 4071*d874e919Schristosshift 4072*d874e919Schristosfor ac_tag 4073*d874e919Schristosdo 4074*d874e919Schristos case $ac_tag in 4075*d874e919Schristos :[FHLC]) ac_mode=$ac_tag; continue;; 4076*d874e919Schristos esac 4077*d874e919Schristos case $ac_mode$ac_tag in 4078*d874e919Schristos :[FHL]*:*);; 4079*d874e919Schristos :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4080*d874e919Schristos :[FH]-) ac_tag=-:-;; 4081*d874e919Schristos :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4082*d874e919Schristos esac 4083*d874e919Schristos ac_save_IFS=$IFS 4084*d874e919Schristos IFS=: 4085*d874e919Schristos set x $ac_tag 4086*d874e919Schristos IFS=$ac_save_IFS 4087*d874e919Schristos shift 4088*d874e919Schristos ac_file=$1 4089*d874e919Schristos shift 4090*d874e919Schristos 4091*d874e919Schristos case $ac_mode in 4092*d874e919Schristos :L) ac_source=$1;; 4093*d874e919Schristos :[FH]) 4094*d874e919Schristos ac_file_inputs= 4095*d874e919Schristos for ac_f 4096*d874e919Schristos do 4097*d874e919Schristos case $ac_f in 4098*d874e919Schristos -) ac_f="$ac_tmp/stdin";; 4099*d874e919Schristos *) # Look for the file first in the build tree, then in the source tree 4100*d874e919Schristos # (if the path is not absolute). The absolute path cannot be DOS-style, 4101*d874e919Schristos # because $ac_f cannot contain `:'. 4102*d874e919Schristos test -f "$ac_f" || 4103*d874e919Schristos case $ac_f in 4104*d874e919Schristos [\\/$]*) false;; 4105*d874e919Schristos *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4106*d874e919Schristos esac || 4107*d874e919Schristos as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4108*d874e919Schristos esac 4109*d874e919Schristos case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4110*d874e919Schristos as_fn_append ac_file_inputs " '$ac_f'" 4111*d874e919Schristos done 4112*d874e919Schristos 4113*d874e919Schristos # Let's still pretend it is `configure' which instantiates (i.e., don't 4114*d874e919Schristos # use $as_me), people would be surprised to read: 4115*d874e919Schristos # /* config.h. Generated by config.status. */ 4116*d874e919Schristos configure_input='Generated from '` 4117*d874e919Schristos $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4118*d874e919Schristos `' by configure.' 4119*d874e919Schristos if test x"$ac_file" != x-; then 4120*d874e919Schristos configure_input="$ac_file. $configure_input" 4121*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4122*d874e919Schristos$as_echo "$as_me: creating $ac_file" >&6;} 4123*d874e919Schristos fi 4124*d874e919Schristos # Neutralize special characters interpreted by sed in replacement strings. 4125*d874e919Schristos case $configure_input in #( 4126*d874e919Schristos *\&* | *\|* | *\\* ) 4127*d874e919Schristos ac_sed_conf_input=`$as_echo "$configure_input" | 4128*d874e919Schristos sed 's/[\\\\&|]/\\\\&/g'`;; #( 4129*d874e919Schristos *) ac_sed_conf_input=$configure_input;; 4130*d874e919Schristos esac 4131*d874e919Schristos 4132*d874e919Schristos case $ac_tag in 4133*d874e919Schristos *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4134*d874e919Schristos || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4135*d874e919Schristos esac 4136*d874e919Schristos ;; 4137*d874e919Schristos esac 4138*d874e919Schristos 4139*d874e919Schristos ac_dir=`$as_dirname -- "$ac_file" || 4140*d874e919Schristos$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4141*d874e919Schristos X"$ac_file" : 'X\(//\)[^/]' \| \ 4142*d874e919Schristos X"$ac_file" : 'X\(//\)$' \| \ 4143*d874e919Schristos X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4144*d874e919Schristos$as_echo X"$ac_file" | 4145*d874e919Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4146*d874e919Schristos s//\1/ 4147*d874e919Schristos q 4148*d874e919Schristos } 4149*d874e919Schristos /^X\(\/\/\)[^/].*/{ 4150*d874e919Schristos s//\1/ 4151*d874e919Schristos q 4152*d874e919Schristos } 4153*d874e919Schristos /^X\(\/\/\)$/{ 4154*d874e919Schristos s//\1/ 4155*d874e919Schristos q 4156*d874e919Schristos } 4157*d874e919Schristos /^X\(\/\).*/{ 4158*d874e919Schristos s//\1/ 4159*d874e919Schristos q 4160*d874e919Schristos } 4161*d874e919Schristos s/.*/./; q'` 4162*d874e919Schristos as_dir="$ac_dir"; as_fn_mkdir_p 4163*d874e919Schristos ac_builddir=. 4164*d874e919Schristos 4165*d874e919Schristoscase "$ac_dir" in 4166*d874e919Schristos.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4167*d874e919Schristos*) 4168*d874e919Schristos ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4169*d874e919Schristos # A ".." for each directory in $ac_dir_suffix. 4170*d874e919Schristos ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4171*d874e919Schristos case $ac_top_builddir_sub in 4172*d874e919Schristos "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4173*d874e919Schristos *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4174*d874e919Schristos esac ;; 4175*d874e919Schristosesac 4176*d874e919Schristosac_abs_top_builddir=$ac_pwd 4177*d874e919Schristosac_abs_builddir=$ac_pwd$ac_dir_suffix 4178*d874e919Schristos# for backward compatibility: 4179*d874e919Schristosac_top_builddir=$ac_top_build_prefix 4180*d874e919Schristos 4181*d874e919Schristoscase $srcdir in 4182*d874e919Schristos .) # We are building in place. 4183*d874e919Schristos ac_srcdir=. 4184*d874e919Schristos ac_top_srcdir=$ac_top_builddir_sub 4185*d874e919Schristos ac_abs_top_srcdir=$ac_pwd ;; 4186*d874e919Schristos [\\/]* | ?:[\\/]* ) # Absolute name. 4187*d874e919Schristos ac_srcdir=$srcdir$ac_dir_suffix; 4188*d874e919Schristos ac_top_srcdir=$srcdir 4189*d874e919Schristos ac_abs_top_srcdir=$srcdir ;; 4190*d874e919Schristos *) # Relative name. 4191*d874e919Schristos ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4192*d874e919Schristos ac_top_srcdir=$ac_top_build_prefix$srcdir 4193*d874e919Schristos ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4194*d874e919Schristosesac 4195*d874e919Schristosac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4196*d874e919Schristos 4197*d874e919Schristos 4198*d874e919Schristos case $ac_mode in 4199*d874e919Schristos :F) 4200*d874e919Schristos # 4201*d874e919Schristos # CONFIG_FILE 4202*d874e919Schristos # 4203*d874e919Schristos 4204*d874e919Schristos case $INSTALL in 4205*d874e919Schristos [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4206*d874e919Schristos *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4207*d874e919Schristos esac 4208*d874e919Schristos ac_MKDIR_P=$MKDIR_P 4209*d874e919Schristos case $MKDIR_P in 4210*d874e919Schristos [\\/$]* | ?:[\\/]* ) ;; 4211*d874e919Schristos */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 4212*d874e919Schristos esac 4213*d874e919Schristos_ACEOF 4214*d874e919Schristos 4215*d874e919Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4216*d874e919Schristos# If the template does not know about datarootdir, expand it. 4217*d874e919Schristos# FIXME: This hack should be removed a few years after 2.60. 4218*d874e919Schristosac_datarootdir_hack=; ac_datarootdir_seen= 4219*d874e919Schristosac_sed_dataroot=' 4220*d874e919Schristos/datarootdir/ { 4221*d874e919Schristos p 4222*d874e919Schristos q 4223*d874e919Schristos} 4224*d874e919Schristos/@datadir@/p 4225*d874e919Schristos/@docdir@/p 4226*d874e919Schristos/@infodir@/p 4227*d874e919Schristos/@localedir@/p 4228*d874e919Schristos/@mandir@/p' 4229*d874e919Schristoscase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4230*d874e919Schristos*datarootdir*) ac_datarootdir_seen=yes;; 4231*d874e919Schristos*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4232*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4233*d874e919Schristos$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4234*d874e919Schristos_ACEOF 4235*d874e919Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4236*d874e919Schristos ac_datarootdir_hack=' 4237*d874e919Schristos s&@datadir@&$datadir&g 4238*d874e919Schristos s&@docdir@&$docdir&g 4239*d874e919Schristos s&@infodir@&$infodir&g 4240*d874e919Schristos s&@localedir@&$localedir&g 4241*d874e919Schristos s&@mandir@&$mandir&g 4242*d874e919Schristos s&\\\${datarootdir}&$datarootdir&g' ;; 4243*d874e919Schristosesac 4244*d874e919Schristos_ACEOF 4245*d874e919Schristos 4246*d874e919Schristos# Neutralize VPATH when `$srcdir' = `.'. 4247*d874e919Schristos# Shell code in configure.ac might set extrasub. 4248*d874e919Schristos# FIXME: do we really want to maintain this feature? 4249*d874e919Schristoscat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4250*d874e919Schristosac_sed_extra="$ac_vpsub 4251*d874e919Schristos$extrasub 4252*d874e919Schristos_ACEOF 4253*d874e919Schristoscat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4254*d874e919Schristos:t 4255*d874e919Schristos/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4256*d874e919Schristoss|@configure_input@|$ac_sed_conf_input|;t t 4257*d874e919Schristoss&@top_builddir@&$ac_top_builddir_sub&;t t 4258*d874e919Schristoss&@top_build_prefix@&$ac_top_build_prefix&;t t 4259*d874e919Schristoss&@srcdir@&$ac_srcdir&;t t 4260*d874e919Schristoss&@abs_srcdir@&$ac_abs_srcdir&;t t 4261*d874e919Schristoss&@top_srcdir@&$ac_top_srcdir&;t t 4262*d874e919Schristoss&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4263*d874e919Schristoss&@builddir@&$ac_builddir&;t t 4264*d874e919Schristoss&@abs_builddir@&$ac_abs_builddir&;t t 4265*d874e919Schristoss&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4266*d874e919Schristoss&@INSTALL@&$ac_INSTALL&;t t 4267*d874e919Schristoss&@MKDIR_P@&$ac_MKDIR_P&;t t 4268*d874e919Schristos$ac_datarootdir_hack 4269*d874e919Schristos" 4270*d874e919Schristoseval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4271*d874e919Schristos >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4272*d874e919Schristos 4273*d874e919Schristostest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4274*d874e919Schristos { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4275*d874e919Schristos { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4276*d874e919Schristos "$ac_tmp/out"`; test -z "$ac_out"; } && 4277*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4278*d874e919Schristoswhich seems to be undefined. Please make sure it is defined" >&5 4279*d874e919Schristos$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4280*d874e919Schristoswhich seems to be undefined. Please make sure it is defined" >&2;} 4281*d874e919Schristos 4282*d874e919Schristos rm -f "$ac_tmp/stdin" 4283*d874e919Schristos case $ac_file in 4284*d874e919Schristos -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4285*d874e919Schristos *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4286*d874e919Schristos esac \ 4287*d874e919Schristos || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4288*d874e919Schristos ;; 4289*d874e919Schristos 4290*d874e919Schristos :L) 4291*d874e919Schristos # 4292*d874e919Schristos # CONFIG_LINK 4293*d874e919Schristos # 4294*d874e919Schristos 4295*d874e919Schristos if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then 4296*d874e919Schristos : 4297*d874e919Schristos else 4298*d874e919Schristos # Prefer the file from the source tree if names are identical. 4299*d874e919Schristos if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then 4300*d874e919Schristos ac_source=$srcdir/$ac_source 4301*d874e919Schristos fi 4302*d874e919Schristos 4303*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 4304*d874e919Schristos$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} 4305*d874e919Schristos 4306*d874e919Schristos if test ! -r "$ac_source"; then 4307*d874e919Schristos as_fn_error $? "$ac_source: file not found" "$LINENO" 5 4308*d874e919Schristos fi 4309*d874e919Schristos rm -f "$ac_file" 4310*d874e919Schristos 4311*d874e919Schristos # Try a relative symlink, then a hard link, then a copy. 4312*d874e919Schristos case $ac_source in 4313*d874e919Schristos [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; 4314*d874e919Schristos *) ac_rel_source=$ac_top_build_prefix$ac_source ;; 4315*d874e919Schristos esac 4316*d874e919Schristos ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || 4317*d874e919Schristos ln "$ac_source" "$ac_file" 2>/dev/null || 4318*d874e919Schristos cp -p "$ac_source" "$ac_file" || 4319*d874e919Schristos as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 4320*d874e919Schristos fi 4321*d874e919Schristos ;; 4322*d874e919Schristos :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 4323*d874e919Schristos$as_echo "$as_me: executing $ac_file commands" >&6;} 4324*d874e919Schristos ;; 4325*d874e919Schristos esac 4326*d874e919Schristos 4327*d874e919Schristos 4328*d874e919Schristos case $ac_file$ac_mode in 4329*d874e919Schristos "tests/atconfig":C) cat >tests/atconfig <<ATEOF 4330*d874e919Schristos# Configurable variable values for building test suites. 4331*d874e919Schristos# Generated by $0. 4332*d874e919Schristos# Copyright (C) 2012 Free Software Foundation, Inc. 4333*d874e919Schristos 4334*d874e919Schristos# The test suite will define top_srcdir=$at_top_srcdir/../.. etc. 4335*d874e919Schristosat_testdir='tests' 4336*d874e919Schristosabs_builddir='$ac_abs_builddir' 4337*d874e919Schristosat_srcdir='$ac_srcdir' 4338*d874e919Schristosabs_srcdir='$ac_abs_srcdir' 4339*d874e919Schristosat_top_srcdir='$ac_top_srcdir' 4340*d874e919Schristosabs_top_srcdir='$ac_abs_top_srcdir' 4341*d874e919Schristosat_top_build_prefix='$ac_top_build_prefix' 4342*d874e919Schristosabs_top_builddir='$ac_abs_top_builddir' 4343*d874e919Schristos 4344*d874e919Schristos# Backward compatibility with Autotest <= 2.59b: 4345*d874e919Schristosat_top_builddir=\$at_top_build_prefix 4346*d874e919Schristos 4347*d874e919SchristosAUTOTEST_PATH='tests' 4348*d874e919Schristos 4349*d874e919SchristosSHELL=\${CONFIG_SHELL-'$SHELL'} 4350*d874e919SchristosATEOF 4351*d874e919Schristos ;; 4352*d874e919Schristos 4353*d874e919Schristos esac 4354*d874e919Schristosdone # for ac_tag 4355*d874e919Schristos 4356*d874e919Schristos 4357*d874e919Schristosas_fn_exit 0 4358*d874e919Schristos_ACEOF 4359*d874e919Schristosac_clean_files=$ac_clean_files_save 4360*d874e919Schristos 4361*d874e919Schristostest $ac_write_fail = 0 || 4362*d874e919Schristos as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4363*d874e919Schristos 4364*d874e919Schristos 4365*d874e919Schristos# configure is writing to config.log, and then calls config.status. 4366*d874e919Schristos# config.status does its own redirection, appending to config.log. 4367*d874e919Schristos# Unfortunately, on DOS this fails, as config.log is still kept open 4368*d874e919Schristos# by configure, so config.status won't be able to write to it; its 4369*d874e919Schristos# output is simply discarded. So we exec the FD to /dev/null, 4370*d874e919Schristos# effectively closing config.log, so it can be properly (re)opened and 4371*d874e919Schristos# appended to by config.status. When coming back to configure, we 4372*d874e919Schristos# need to make the FD available again. 4373*d874e919Schristosif test "$no_create" != yes; then 4374*d874e919Schristos ac_cs_success=: 4375*d874e919Schristos ac_config_status_args= 4376*d874e919Schristos test "$silent" = yes && 4377*d874e919Schristos ac_config_status_args="$ac_config_status_args --quiet" 4378*d874e919Schristos exec 5>/dev/null 4379*d874e919Schristos $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4380*d874e919Schristos exec 5>>config.log 4381*d874e919Schristos # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4382*d874e919Schristos # would make configure fail if this is the last instruction. 4383*d874e919Schristos $ac_cs_success || as_fn_exit 1 4384*d874e919Schristosfi 4385*d874e919Schristosif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4386*d874e919Schristos { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4387*d874e919Schristos$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4388*d874e919Schristosfi 4389*d874e919Schristos 4390*d874e919Schristos# Report the state of this version of Autoconf if this is a beta. 4391