11.1Stv#! /bin/sh
21.1Stv# Guess values for system-dependent variables and create Makefiles.
31.9Slukem# Generated by GNU Autoconf 2.69 for make noversion.
41.1Stv#
51.6Ssalo# Report bugs to <bin-bug-people@NetBSD.org>.
61.1Stv#
71.9Slukem#
81.9Slukem# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
91.9Slukem#
101.9Slukem#
111.1Stv# This configure script is free software; the Free Software Foundation
121.1Stv# gives unlimited permission to copy, distribute and modify it.
131.9Slukem## -------------------- ##
141.9Slukem## M4sh Initialization. ##
151.9Slukem## -------------------- ##
161.9Slukem
171.9Slukem# Be more Bourne compatible
181.9SlukemDUALCASE=1; export DUALCASE # for MKS sh
191.9Slukemif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
201.9Slukem  emulate sh
211.9Slukem  NULLCMD=:
221.9Slukem  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
231.9Slukem  # is contrary to our usage.  Disable this feature.
241.9Slukem  alias -g '${1+"$@"}'='"$@"'
251.9Slukem  setopt NO_GLOB_SUBST
261.9Slukemelse
271.9Slukem  case `(set -o) 2>/dev/null` in #(
281.9Slukem  *posix*) :
291.9Slukem    set -o posix ;; #(
301.9Slukem  *) :
311.9Slukem     ;;
321.9Slukemesac
331.9Slukemfi
341.9Slukem
351.9Slukem
361.9Slukemas_nl='
371.9Slukem'
381.9Slukemexport as_nl
391.9Slukem# Printing a long string crashes Solaris 7 /usr/bin/printf.
401.9Slukemas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
411.9Slukemas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
421.9Slukemas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
431.9Slukem# Prefer a ksh shell builtin over an external printf program on Solaris,
441.9Slukem# but without wasting forks for bash or zsh.
451.9Slukemif test -z "$BASH_VERSION$ZSH_VERSION" \
461.9Slukem    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
471.9Slukem  as_echo='print -r --'
481.9Slukem  as_echo_n='print -rn --'
491.9Slukemelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
501.9Slukem  as_echo='printf %s\n'
511.9Slukem  as_echo_n='printf %s'
521.9Slukemelse
531.9Slukem  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
541.9Slukem    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
551.9Slukem    as_echo_n='/usr/ucb/echo -n'
561.9Slukem  else
571.9Slukem    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
581.9Slukem    as_echo_n_body='eval
591.9Slukem      arg=$1;
601.9Slukem      case $arg in #(
611.9Slukem      *"$as_nl"*)
621.9Slukem	expr "X$arg" : "X\\(.*\\)$as_nl";
631.9Slukem	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
641.9Slukem      esac;
651.9Slukem      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
661.9Slukem    '
671.9Slukem    export as_echo_n_body
681.9Slukem    as_echo_n='sh -c $as_echo_n_body as_echo'
691.9Slukem  fi
701.9Slukem  export as_echo_body
711.9Slukem  as_echo='sh -c $as_echo_body as_echo'
721.9Slukemfi
731.9Slukem
741.9Slukem# The user is always right.
751.9Slukemif test "${PATH_SEPARATOR+set}" != set; then
761.9Slukem  PATH_SEPARATOR=:
771.9Slukem  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
781.9Slukem    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
791.9Slukem      PATH_SEPARATOR=';'
801.9Slukem  }
811.9Slukemfi
821.1Stv
831.1Stv
841.9Slukem# IFS
851.9Slukem# We need space, tab and new line, in precisely that order.  Quoting is
861.9Slukem# there to prevent editors from complaining about space-tab.
871.9Slukem# (If _AS_PATH_WALK were called with IFS unset, it would disable word
881.9Slukem# splitting by setting IFS to empty value.)
891.9SlukemIFS=" ""	$as_nl"
901.9Slukem
911.9Slukem# Find who we are.  Look in the path if we contain no directory separator.
921.9Slukemas_myself=
931.9Slukemcase $0 in #((
941.9Slukem  *[\\/]* ) as_myself=$0 ;;
951.9Slukem  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
961.9Slukemfor as_dir in $PATH
971.9Slukemdo
981.9Slukem  IFS=$as_save_IFS
991.9Slukem  test -z "$as_dir" && as_dir=.
1001.9Slukem    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1011.9Slukem  done
1021.9SlukemIFS=$as_save_IFS
1031.9Slukem
1041.9Slukem     ;;
1051.9Slukemesac
1061.9Slukem# We did not find ourselves, most probably we were run as `sh COMMAND'
1071.9Slukem# in which case we are not to be found in the path.
1081.9Slukemif test "x$as_myself" = x; then
1091.9Slukem  as_myself=$0
1101.9Slukemfi
1111.9Slukemif test ! -f "$as_myself"; then
1121.9Slukem  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1131.9Slukem  exit 1
1141.9Slukemfi
1151.9Slukem
1161.9Slukem# Unset variables that we do not need and which cause bugs (e.g. in
1171.9Slukem# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
1181.9Slukem# suppresses any "Segmentation fault" message there.  '((' could
1191.9Slukem# trigger a bug in pdksh 5.2.14.
1201.9Slukemfor as_var in BASH_ENV ENV MAIL MAILPATH
1211.9Slukemdo eval test x\${$as_var+set} = xset \
1221.9Slukem  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1231.9Slukemdone
1241.9SlukemPS1='$ '
1251.9SlukemPS2='> '
1261.9SlukemPS4='+ '
1271.9Slukem
1281.9Slukem# NLS nuisances.
1291.9SlukemLC_ALL=C
1301.9Slukemexport LC_ALL
1311.9SlukemLANGUAGE=C
1321.9Slukemexport LANGUAGE
1331.1Stv
1341.9Slukem# CDPATH.
1351.9Slukem(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1361.1Stv
1371.9Slukem# Use a proper internal environment variable to ensure we don't fall
1381.9Slukem  # into an infinite loop, continuously re-executing ourselves.
1391.9Slukem  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
1401.9Slukem    _as_can_reexec=no; export _as_can_reexec;
1411.9Slukem    # We cannot yet assume a decent shell, so we have to provide a
1421.9Slukem# neutralization value for shells without unset; and this also
1431.9Slukem# works around shells that cannot unset nonexistent variables.
1441.9Slukem# Preserve -v and -x to the replacement shell.
1451.9SlukemBASH_ENV=/dev/null
1461.9SlukemENV=/dev/null
1471.9Slukem(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1481.9Slukemcase $- in # ((((
1491.9Slukem  *v*x* | *x*v* ) as_opts=-vx ;;
1501.9Slukem  *v* ) as_opts=-v ;;
1511.9Slukem  *x* ) as_opts=-x ;;
1521.9Slukem  * ) as_opts= ;;
1531.9Slukemesac
1541.9Slukemexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
1551.9Slukem# Admittedly, this is quite paranoid, since all the known shells bail
1561.9Slukem# out after a failed `exec'.
1571.9Slukem$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
1581.9Slukemas_fn_exit 255
1591.9Slukem  fi
1601.9Slukem  # We don't want this to propagate to other subprocesses.
1611.9Slukem          { _as_can_reexec=; unset _as_can_reexec;}
1621.9Slukemif test "x$CONFIG_SHELL" = x; then
1631.9Slukem  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
1641.1Stv  emulate sh
1651.1Stv  NULLCMD=:
1661.9Slukem  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
1671.9Slukem  # is contrary to our usage.  Disable this feature.
1681.9Slukem  alias -g '\${1+\"\$@\"}'='\"\$@\"'
1691.9Slukem  setopt NO_GLOB_SUBST
1701.9Slukemelse
1711.9Slukem  case \`(set -o) 2>/dev/null\` in #(
1721.9Slukem  *posix*) :
1731.9Slukem    set -o posix ;; #(
1741.9Slukem  *) :
1751.9Slukem     ;;
1761.9Slukemesac
1771.9Slukemfi
1781.9Slukem"
1791.9Slukem  as_required="as_fn_return () { (exit \$1); }
1801.9Slukemas_fn_success () { as_fn_return 0; }
1811.9Slukemas_fn_failure () { as_fn_return 1; }
1821.9Slukemas_fn_ret_success () { return 0; }
1831.9Slukemas_fn_ret_failure () { return 1; }
1841.9Slukem
1851.9Slukemexitcode=0
1861.9Slukemas_fn_success || { exitcode=1; echo as_fn_success failed.; }
1871.9Slukemas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
1881.9Slukemas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
1891.9Slukemas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1901.9Slukemif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
1911.9Slukem
1921.9Slukemelse
1931.9Slukem  exitcode=1; echo positional parameters were not saved.
1941.9Slukemfi
1951.9Slukemtest x\$exitcode = x0 || exit 1
1961.9Slukemtest -x / || exit 1"
1971.9Slukem  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
1981.9Slukem  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
1991.9Slukem  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
2001.9Slukem  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
2011.9Slukemtest \$(( 1 + 1 )) = 2 || exit 1"
2021.9Slukem  if (eval "$as_required") 2>/dev/null; then :
2031.9Slukem  as_have_required=yes
2041.9Slukemelse
2051.9Slukem  as_have_required=no
2061.9Slukemfi
2071.9Slukem  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
2081.9Slukem
2091.9Slukemelse
2101.9Slukem  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111.9Slukemas_found=false
2121.9Slukemfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2131.9Slukemdo
2141.9Slukem  IFS=$as_save_IFS
2151.9Slukem  test -z "$as_dir" && as_dir=.
2161.9Slukem  as_found=:
2171.9Slukem  case $as_dir in #(
2181.9Slukem	 /*)
2191.9Slukem	   for as_base in sh bash ksh sh5; do
2201.9Slukem	     # Try only shells that exist, to save several forks.
2211.9Slukem	     as_shell=$as_dir/$as_base
2221.9Slukem	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2231.9Slukem		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
2241.9Slukem  CONFIG_SHELL=$as_shell as_have_required=yes
2251.9Slukem		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
2261.9Slukem  break 2
2271.9Slukemfi
2281.9Slukemfi
2291.9Slukem	   done;;
2301.9Slukem       esac
2311.9Slukem  as_found=false
2321.9Slukemdone
2331.9Slukem$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2341.9Slukem	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
2351.9Slukem  CONFIG_SHELL=$SHELL as_have_required=yes
2361.9Slukemfi; }
2371.9SlukemIFS=$as_save_IFS
2381.9Slukem
2391.9Slukem
2401.9Slukem      if test "x$CONFIG_SHELL" != x; then :
2411.9Slukem  export CONFIG_SHELL
2421.9Slukem             # We cannot yet assume a decent shell, so we have to provide a
2431.9Slukem# neutralization value for shells without unset; and this also
2441.9Slukem# works around shells that cannot unset nonexistent variables.
2451.9Slukem# Preserve -v and -x to the replacement shell.
2461.9SlukemBASH_ENV=/dev/null
2471.9SlukemENV=/dev/null
2481.9Slukem(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
2491.9Slukemcase $- in # ((((
2501.9Slukem  *v*x* | *x*v* ) as_opts=-vx ;;
2511.9Slukem  *v* ) as_opts=-v ;;
2521.9Slukem  *x* ) as_opts=-x ;;
2531.9Slukem  * ) as_opts= ;;
2541.9Slukemesac
2551.9Slukemexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
2561.9Slukem# Admittedly, this is quite paranoid, since all the known shells bail
2571.9Slukem# out after a failed `exec'.
2581.9Slukem$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
2591.9Slukemexit 255
2601.1Stvfi
2611.1Stv
2621.9Slukem    if test x$as_have_required = xno; then :
2631.9Slukem  $as_echo "$0: This script requires a shell more modern than all"
2641.9Slukem  $as_echo "$0: the shells that I found on your system."
2651.9Slukem  if test x${ZSH_VERSION+set} = xset ; then
2661.9Slukem    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
2671.9Slukem    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
2681.9Slukem  else
2691.9Slukem    $as_echo "$0: Please tell bug-autoconf@gnu.org and
2701.9Slukem$0: bin-bug-people@NetBSD.org about your system, including
2711.9Slukem$0: any error possibly output before this message. Then
2721.9Slukem$0: install a modern shell, or manually run the script
2731.9Slukem$0: under such a shell if you do have one."
2741.9Slukem  fi
2751.9Slukem  exit 1
2761.9Slukemfi
2771.9Slukemfi
2781.9Slukemfi
2791.9SlukemSHELL=${CONFIG_SHELL-/bin/sh}
2801.9Slukemexport SHELL
2811.9Slukem# Unset more variables known to interfere with behavior of common tools.
2821.9SlukemCLICOLOR_FORCE= GREP_OPTIONS=
2831.9Slukemunset CLICOLOR_FORCE GREP_OPTIONS
2841.9Slukem
2851.9Slukem## --------------------- ##
2861.9Slukem## M4sh Shell Functions. ##
2871.9Slukem## --------------------- ##
2881.9Slukem# as_fn_unset VAR
2891.9Slukem# ---------------
2901.9Slukem# Portably unset VAR.
2911.9Slukemas_fn_unset ()
2921.9Slukem{
2931.9Slukem  { eval $1=; unset $1;}
2941.9Slukem}
2951.9Slukemas_unset=as_fn_unset
2961.9Slukem
2971.9Slukem# as_fn_set_status STATUS
2981.9Slukem# -----------------------
2991.9Slukem# Set $? to STATUS, without forking.
3001.9Slukemas_fn_set_status ()
3011.9Slukem{
3021.9Slukem  return $1
3031.9Slukem} # as_fn_set_status
3041.9Slukem
3051.9Slukem# as_fn_exit STATUS
3061.9Slukem# -----------------
3071.9Slukem# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3081.9Slukemas_fn_exit ()
3091.9Slukem{
3101.9Slukem  set +e
3111.9Slukem  as_fn_set_status $1
3121.9Slukem  exit $1
3131.9Slukem} # as_fn_exit
3141.9Slukem
3151.9Slukem# as_fn_mkdir_p
3161.9Slukem# -------------
3171.9Slukem# Create "$as_dir" as a directory, including parents if necessary.
3181.9Slukemas_fn_mkdir_p ()
3191.9Slukem{
3201.9Slukem
3211.9Slukem  case $as_dir in #(
3221.9Slukem  -*) as_dir=./$as_dir;;
3231.9Slukem  esac
3241.9Slukem  test -d "$as_dir" || eval $as_mkdir_p || {
3251.9Slukem    as_dirs=
3261.9Slukem    while :; do
3271.9Slukem      case $as_dir in #(
3281.9Slukem      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3291.9Slukem      *) as_qdir=$as_dir;;
3301.9Slukem      esac
3311.9Slukem      as_dirs="'$as_qdir' $as_dirs"
3321.9Slukem      as_dir=`$as_dirname -- "$as_dir" ||
3331.9Slukem$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3341.9Slukem	 X"$as_dir" : 'X\(//\)[^/]' \| \
3351.9Slukem	 X"$as_dir" : 'X\(//\)$' \| \
3361.9Slukem	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3371.9Slukem$as_echo X"$as_dir" |
3381.9Slukem    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3391.9Slukem	    s//\1/
3401.9Slukem	    q
3411.9Slukem	  }
3421.9Slukem	  /^X\(\/\/\)[^/].*/{
3431.9Slukem	    s//\1/
3441.9Slukem	    q
3451.9Slukem	  }
3461.9Slukem	  /^X\(\/\/\)$/{
3471.9Slukem	    s//\1/
3481.9Slukem	    q
3491.9Slukem	  }
3501.9Slukem	  /^X\(\/\).*/{
3511.9Slukem	    s//\1/
3521.9Slukem	    q
3531.9Slukem	  }
3541.9Slukem	  s/.*/./; q'`
3551.9Slukem      test -d "$as_dir" && break
3561.9Slukem    done
3571.9Slukem    test -z "$as_dirs" || eval "mkdir $as_dirs"
3581.9Slukem  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3591.9Slukem
3601.9Slukem
3611.9Slukem} # as_fn_mkdir_p
3621.9Slukem
3631.9Slukem# as_fn_executable_p FILE
3641.9Slukem# -----------------------
3651.9Slukem# Test if FILE is an executable regular file.
3661.9Slukemas_fn_executable_p ()
3671.9Slukem{
3681.9Slukem  test -f "$1" && test -x "$1"
3691.9Slukem} # as_fn_executable_p
3701.9Slukem# as_fn_append VAR VALUE
3711.9Slukem# ----------------------
3721.9Slukem# Append the text in VALUE to the end of the definition contained in VAR. Take
3731.9Slukem# advantage of any shell optimizations that allow amortized linear growth over
3741.9Slukem# repeated appends, instead of the typical quadratic growth present in naive
3751.9Slukem# implementations.
3761.9Slukemif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3771.9Slukem  eval 'as_fn_append ()
3781.9Slukem  {
3791.9Slukem    eval $1+=\$2
3801.9Slukem  }'
3811.9Slukemelse
3821.9Slukem  as_fn_append ()
3831.9Slukem  {
3841.9Slukem    eval $1=\$$1\$2
3851.9Slukem  }
3861.9Slukemfi # as_fn_append
3871.9Slukem
3881.9Slukem# as_fn_arith ARG...
3891.9Slukem# ------------------
3901.9Slukem# Perform arithmetic evaluation on the ARGs, and store the result in the
3911.9Slukem# global $as_val. Take advantage of shells that can avoid forks. The arguments
3921.9Slukem# must be portable across $(()) and expr.
3931.9Slukemif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3941.9Slukem  eval 'as_fn_arith ()
3951.9Slukem  {
3961.9Slukem    as_val=$(( $* ))
3971.9Slukem  }'
3981.9Slukemelse
3991.9Slukem  as_fn_arith ()
4001.9Slukem  {
4011.9Slukem    as_val=`expr "$@" || test $? -eq 1`
4021.9Slukem  }
4031.9Slukemfi # as_fn_arith
4041.9Slukem
4051.9Slukem
4061.9Slukem# as_fn_error STATUS ERROR [LINENO LOG_FD]
4071.9Slukem# ----------------------------------------
4081.9Slukem# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4091.9Slukem# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4101.9Slukem# script with STATUS, using 1 if that was 0.
4111.9Slukemas_fn_error ()
4121.9Slukem{
4131.9Slukem  as_status=$1; test $as_status -eq 0 && as_status=1
4141.9Slukem  if test "$4"; then
4151.9Slukem    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4161.9Slukem    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4171.9Slukem  fi
4181.9Slukem  $as_echo "$as_me: error: $2" >&2
4191.9Slukem  as_fn_exit $as_status
4201.9Slukem} # as_fn_error
4211.1Stv
4221.9Slukemif expr a : '\(a\)' >/dev/null 2>&1 &&
4231.9Slukem   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4241.1Stv  as_expr=expr
4251.1Stvelse
4261.1Stv  as_expr=false
4271.1Stvfi
4281.1Stv
4291.9Slukemif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4301.9Slukem  as_basename=basename
4311.9Slukemelse
4321.9Slukem  as_basename=false
4331.9Slukemfi
4341.9Slukem
4351.9Slukemif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4361.9Slukem  as_dirname=dirname
4371.9Slukemelse
4381.9Slukem  as_dirname=false
4391.9Slukemfi
4401.9Slukem
4411.9Slukemas_me=`$as_basename -- "$0" ||
4421.9Slukem$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4431.9Slukem	 X"$0" : 'X\(//\)$' \| \
4441.9Slukem	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4451.9Slukem$as_echo X/"$0" |
4461.9Slukem    sed '/^.*\/\([^/][^/]*\)\/*$/{
4471.9Slukem	    s//\1/
4481.9Slukem	    q
4491.9Slukem	  }
4501.9Slukem	  /^X\/\(\/\/\)$/{
4511.9Slukem	    s//\1/
4521.9Slukem	    q
4531.9Slukem	  }
4541.9Slukem	  /^X\/\(\/\).*/{
4551.9Slukem	    s//\1/
4561.9Slukem	    q
4571.9Slukem	  }
4581.9Slukem	  s/.*/./; q'`
4591.9Slukem
4601.9Slukem# Avoid depending upon Character Ranges.
4611.9Slukemas_cr_letters='abcdefghijklmnopqrstuvwxyz'
4621.9Slukemas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4631.9Slukemas_cr_Letters=$as_cr_letters$as_cr_LETTERS
4641.9Slukemas_cr_digits='0123456789'
4651.9Slukemas_cr_alnum=$as_cr_Letters$as_cr_digits
4661.9Slukem
4671.9Slukem
4681.9Slukem  as_lineno_1=$LINENO as_lineno_1a=$LINENO
4691.9Slukem  as_lineno_2=$LINENO as_lineno_2a=$LINENO
4701.9Slukem  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
4711.9Slukem  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
4721.9Slukem  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
4731.9Slukem  sed -n '
4741.9Slukem    p
4751.9Slukem    /[$]LINENO/=
4761.9Slukem  ' <$as_myself |
4771.9Slukem    sed '
4781.9Slukem      s/[$]LINENO.*/&-/
4791.9Slukem      t lineno
4801.9Slukem      b
4811.9Slukem      :lineno
4821.9Slukem      N
4831.9Slukem      :loop
4841.9Slukem      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4851.9Slukem      t loop
4861.9Slukem      s/-\n.*//
4871.9Slukem    ' >$as_me.lineno &&
4881.9Slukem  chmod +x "$as_me.lineno" ||
4891.9Slukem    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
4901.9Slukem
4911.9Slukem  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
4921.9Slukem  # already done that, so ensure we don't try to do so again and fall
4931.9Slukem  # in an infinite loop.  This has already happened in practice.
4941.9Slukem  _as_can_reexec=no; export _as_can_reexec
4951.9Slukem  # Don't try to exec as it changes $[0], causing all sort of problems
4961.9Slukem  # (the dirname of $[0] is not the place where we might find the
4971.9Slukem  # original and so on.  Autoconf is especially sensitive to this).
4981.9Slukem  . "./$as_me.lineno"
4991.9Slukem  # Exit status is that of the last command.
5001.9Slukem  exit
5011.9Slukem}
5021.9Slukem
5031.9SlukemECHO_C= ECHO_N= ECHO_T=
5041.9Slukemcase `echo -n x` in #(((((
5051.9Slukem-n*)
5061.9Slukem  case `echo 'xy\c'` in
5071.9Slukem  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5081.9Slukem  xy)  ECHO_C='\c';;
5091.9Slukem  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5101.9Slukem       ECHO_T='	';;
5111.9Slukem  esac;;
5121.9Slukem*)
5131.9Slukem  ECHO_N='-n';;
5141.9Slukemesac
5151.9Slukem
5161.1Stvrm -f conf$$ conf$$.exe conf$$.file
5171.9Slukemif test -d conf$$.dir; then
5181.9Slukem  rm -f conf$$.dir/conf$$.file
5191.9Slukemelse
5201.9Slukem  rm -f conf$$.dir
5211.9Slukem  mkdir conf$$.dir 2>/dev/null
5221.9Slukemfi
5231.9Slukemif (echo >conf$$.file) 2>/dev/null; then
5241.9Slukem  if ln -s conf$$.file conf$$ 2>/dev/null; then
5251.9Slukem    as_ln_s='ln -s'
5261.9Slukem    # ... but there are two gotchas:
5271.9Slukem    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5281.9Slukem    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5291.9Slukem    # In both cases, we have to default to `cp -pR'.
5301.9Slukem    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5311.9Slukem      as_ln_s='cp -pR'
5321.9Slukem  elif ln conf$$.file conf$$ 2>/dev/null; then
5331.9Slukem    as_ln_s=ln
5341.1Stv  else
5351.9Slukem    as_ln_s='cp -pR'
5361.1Stv  fi
5371.1Stvelse
5381.9Slukem  as_ln_s='cp -pR'
5391.1Stvfi
5401.9Slukemrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5411.9Slukemrmdir conf$$.dir 2>/dev/null
5421.1Stv
5431.9Slukemif mkdir -p . 2>/dev/null; then
5441.9Slukem  as_mkdir_p='mkdir -p "$as_dir"'
5451.1Stvelse
5461.9Slukem  test -d ./-p && rmdir ./-p
5471.9Slukem  as_mkdir_p=false
5481.1Stvfi
5491.1Stv
5501.9Slukemas_test_x='test -x'
5511.9Slukemas_executable_p=as_fn_executable_p
5521.9Slukem
5531.9Slukem# Sed expression to map a string onto a valid CPP name.
5541.9Slukemas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5551.9Slukem
5561.9Slukem# Sed expression to map a string onto a valid variable name.
5571.9Slukemas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5581.1Stv
5591.1Stv
5601.9Slukemtest -n "$DJDIR" || exec 7<&0 </dev/null
5611.9Slukemexec 6>&1
5621.1Stv
5631.1Stv# Name of the host.
5641.9Slukem# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
5651.1Stv# so uname gets run too.
5661.1Stvac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5671.1Stv
5681.1Stv#
5691.1Stv# Initializations.
5701.1Stv#
5711.1Stvac_default_prefix=/usr/local
5721.9Slukemac_clean_files=
5731.9Slukemac_config_libobj_dir=.
5741.9SlukemLIBOBJS=
5751.1Stvcross_compiling=no
5761.1Stvsubdirs=
5771.9SlukemMFLAGS=
5781.9SlukemMAKEFLAGS=
5791.9Slukem
5801.9Slukem# Identity of this package.
5811.9SlukemPACKAGE_NAME='make'
5821.9SlukemPACKAGE_TARNAME='make'
5831.9SlukemPACKAGE_VERSION='noversion'
5841.9SlukemPACKAGE_STRING='make noversion'
5851.9SlukemPACKAGE_BUGREPORT='bin-bug-people@NetBSD.org'
5861.9SlukemPACKAGE_URL=''
5871.9Slukem
5881.9Slukem# Factoring default headers for most tests.
5891.9Slukemac_includes_default="\
5901.9Slukem#include <stdio.h>
5911.9Slukem#ifdef HAVE_SYS_TYPES_H
5921.9Slukem# include <sys/types.h>
5931.9Slukem#endif
5941.9Slukem#ifdef HAVE_SYS_STAT_H
5951.9Slukem# include <sys/stat.h>
5961.9Slukem#endif
5971.9Slukem#ifdef STDC_HEADERS
5981.9Slukem# include <stdlib.h>
5991.9Slukem# include <stddef.h>
6001.9Slukem#else
6011.9Slukem# ifdef HAVE_STDLIB_H
6021.9Slukem#  include <stdlib.h>
6031.9Slukem# endif
6041.9Slukem#endif
6051.9Slukem#ifdef HAVE_STRING_H
6061.9Slukem# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
6071.9Slukem#  include <memory.h>
6081.9Slukem# endif
6091.9Slukem# include <string.h>
6101.9Slukem#endif
6111.9Slukem#ifdef HAVE_STRINGS_H
6121.9Slukem# include <strings.h>
6131.9Slukem#endif
6141.9Slukem#ifdef HAVE_INTTYPES_H
6151.9Slukem# include <inttypes.h>
6161.9Slukem#endif
6171.9Slukem#ifdef HAVE_STDINT_H
6181.9Slukem# include <stdint.h>
6191.9Slukem#endif
6201.9Slukem#ifdef HAVE_UNISTD_H
6211.9Slukem# include <unistd.h>
6221.9Slukem#endif"
6231.9Slukem
6241.9Slukemac_subst_vars='LTLIBOBJS
6251.9SlukemLIBOBJS
6261.9SlukemNOWARNFLAGS
6271.9SlukemEGREP
6281.9SlukemGREP
6291.9SlukemCPP
6301.9SlukemOBJEXT
6311.9SlukemEXEEXT
6321.9Slukemac_ct_CC
6331.9SlukemCPPFLAGS
6341.9SlukemLDFLAGS
6351.9SlukemCFLAGS
6361.9SlukemCC
6371.9SlukemBSHELL
6381.9Slukemtarget_alias
6391.9Slukemhost_alias
6401.9Slukembuild_alias
6411.9SlukemLIBS
6421.9SlukemECHO_T
6431.9SlukemECHO_N
6441.9SlukemECHO_C
6451.9SlukemDEFS
6461.9Slukemmandir
6471.9Slukemlocaledir
6481.9Slukemlibdir
6491.9Slukempsdir
6501.9Slukempdfdir
6511.9Slukemdvidir
6521.9Slukemhtmldir
6531.9Slukeminfodir
6541.9Slukemdocdir
6551.9Slukemoldincludedir
6561.9Slukemincludedir
6571.9Slukemlocalstatedir
6581.9Slukemsharedstatedir
6591.9Slukemsysconfdir
6601.9Slukemdatadir
6611.9Slukemdatarootdir
6621.9Slukemlibexecdir
6631.9Slukemsbindir
6641.9Slukembindir
6651.9Slukemprogram_transform_name
6661.9Slukemprefix
6671.9Slukemexec_prefix
6681.9SlukemPACKAGE_URL
6691.9SlukemPACKAGE_BUGREPORT
6701.9SlukemPACKAGE_STRING
6711.9SlukemPACKAGE_VERSION
6721.9SlukemPACKAGE_TARNAME
6731.9SlukemPACKAGE_NAME
6741.9SlukemPATH_SEPARATOR
6751.9SlukemSHELL'
6761.9Slukemac_subst_files=''
6771.9Slukemac_user_opts='
6781.9Slukemenable_option_checking
6791.9Slukem'
6801.9Slukem      ac_precious_vars='build_alias
6811.9Slukemhost_alias
6821.9Slukemtarget_alias
6831.9SlukemCC
6841.9SlukemCFLAGS
6851.9SlukemLDFLAGS
6861.9SlukemLIBS
6871.9SlukemCPPFLAGS
6881.9SlukemCPP'
6891.1Stv
6901.1Stv
6911.1Stv# Initialize some variables set by options.
6921.1Stvac_init_help=
6931.1Stvac_init_version=false
6941.9Slukemac_unrecognized_opts=
6951.9Slukemac_unrecognized_sep=
6961.1Stv# The variables have the same names as the options, with
6971.1Stv# dashes changed to underlines.
6981.1Stvcache_file=/dev/null
6991.1Stvexec_prefix=NONE
7001.1Stvno_create=
7011.1Stvno_recursion=
7021.1Stvprefix=NONE
7031.1Stvprogram_prefix=NONE
7041.1Stvprogram_suffix=NONE
7051.1Stvprogram_transform_name=s,x,x,
7061.1Stvsilent=
7071.1Stvsite=
7081.1Stvsrcdir=
7091.1Stvverbose=
7101.1Stvx_includes=NONE
7111.1Stvx_libraries=NONE
7121.1Stv
7131.1Stv# Installation directory options.
7141.1Stv# These are left unexpanded so users can "make install exec_prefix=/foo"
7151.1Stv# and all the variables that are supposed to be based on exec_prefix
7161.1Stv# by default will actually change.
7171.1Stv# Use braces instead of parens because sh, perl, etc. also accept them.
7181.9Slukem# (The list follows the same order as the GNU Coding Standards.)
7191.1Stvbindir='${exec_prefix}/bin'
7201.1Stvsbindir='${exec_prefix}/sbin'
7211.1Stvlibexecdir='${exec_prefix}/libexec'
7221.9Slukemdatarootdir='${prefix}/share'
7231.9Slukemdatadir='${datarootdir}'
7241.1Stvsysconfdir='${prefix}/etc'
7251.1Stvsharedstatedir='${prefix}/com'
7261.1Stvlocalstatedir='${prefix}/var'
7271.1Stvincludedir='${prefix}/include'
7281.1Stvoldincludedir='/usr/include'
7291.9Slukemdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7301.9Slukeminfodir='${datarootdir}/info'
7311.9Slukemhtmldir='${docdir}'
7321.9Slukemdvidir='${docdir}'
7331.9Slukempdfdir='${docdir}'
7341.9Slukempsdir='${docdir}'
7351.9Slukemlibdir='${exec_prefix}/lib'
7361.9Slukemlocaledir='${datarootdir}/locale'
7371.9Slukemmandir='${datarootdir}/man'
7381.1Stv
7391.1Stvac_prev=
7401.9Slukemac_dashdash=
7411.1Stvfor ac_option
7421.1Stvdo
7431.1Stv  # If the previous option needs an argument, assign it.
7441.1Stv  if test -n "$ac_prev"; then
7451.9Slukem    eval $ac_prev=\$ac_option
7461.1Stv    ac_prev=
7471.1Stv    continue
7481.1Stv  fi
7491.1Stv
7501.9Slukem  case $ac_option in
7511.9Slukem  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
7521.9Slukem  *=)   ac_optarg= ;;
7531.9Slukem  *)    ac_optarg=yes ;;
7541.9Slukem  esac
7551.1Stv
7561.1Stv  # Accept the important Cygnus configure options, so we can diagnose typos.
7571.1Stv
7581.9Slukem  case $ac_dashdash$ac_option in
7591.9Slukem  --)
7601.9Slukem    ac_dashdash=yes ;;
7611.1Stv
7621.1Stv  -bindir | --bindir | --bindi | --bind | --bin | --bi)
7631.1Stv    ac_prev=bindir ;;
7641.1Stv  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
7651.1Stv    bindir=$ac_optarg ;;
7661.1Stv
7671.1Stv  -build | --build | --buil | --bui | --bu)
7681.1Stv    ac_prev=build_alias ;;
7691.1Stv  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
7701.1Stv    build_alias=$ac_optarg ;;
7711.1Stv
7721.1Stv  -cache-file | --cache-file | --cache-fil | --cache-fi \
7731.1Stv  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7741.1Stv    ac_prev=cache_file ;;
7751.1Stv  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7761.1Stv  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
7771.1Stv    cache_file=$ac_optarg ;;
7781.1Stv
7791.1Stv  --config-cache | -C)
7801.1Stv    cache_file=config.cache ;;
7811.1Stv
7821.9Slukem  -datadir | --datadir | --datadi | --datad)
7831.1Stv    ac_prev=datadir ;;
7841.9Slukem  -datadir=* | --datadir=* | --datadi=* | --datad=*)
7851.1Stv    datadir=$ac_optarg ;;
7861.1Stv
7871.9Slukem  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
7881.9Slukem  | --dataroo | --dataro | --datar)
7891.9Slukem    ac_prev=datarootdir ;;
7901.9Slukem  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
7911.9Slukem  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
7921.9Slukem    datarootdir=$ac_optarg ;;
7931.9Slukem
7941.1Stv  -disable-* | --disable-*)
7951.9Slukem    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
7961.1Stv    # Reject names that are not valid shell variable names.
7971.9Slukem    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7981.9Slukem      as_fn_error $? "invalid feature name: $ac_useropt"
7991.9Slukem    ac_useropt_orig=$ac_useropt
8001.9Slukem    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
8011.9Slukem    case $ac_user_opts in
8021.9Slukem      *"
8031.9Slukem"enable_$ac_useropt"
8041.9Slukem"*) ;;
8051.9Slukem      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
8061.9Slukem	 ac_unrecognized_sep=', ';;
8071.9Slukem    esac
8081.9Slukem    eval enable_$ac_useropt=no ;;
8091.9Slukem
8101.9Slukem  -docdir | --docdir | --docdi | --doc | --do)
8111.9Slukem    ac_prev=docdir ;;
8121.9Slukem  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
8131.9Slukem    docdir=$ac_optarg ;;
8141.9Slukem
8151.9Slukem  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
8161.9Slukem    ac_prev=dvidir ;;
8171.9Slukem  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
8181.9Slukem    dvidir=$ac_optarg ;;
8191.1Stv
8201.1Stv  -enable-* | --enable-*)
8211.9Slukem    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
8221.1Stv    # Reject names that are not valid shell variable names.
8231.9Slukem    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8241.9Slukem      as_fn_error $? "invalid feature name: $ac_useropt"
8251.9Slukem    ac_useropt_orig=$ac_useropt
8261.9Slukem    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
8271.9Slukem    case $ac_user_opts in
8281.9Slukem      *"
8291.9Slukem"enable_$ac_useropt"
8301.9Slukem"*) ;;
8311.9Slukem      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
8321.9Slukem	 ac_unrecognized_sep=', ';;
8331.1Stv    esac
8341.9Slukem    eval enable_$ac_useropt=\$ac_optarg ;;
8351.1Stv
8361.1Stv  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
8371.1Stv  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
8381.1Stv  | --exec | --exe | --ex)
8391.1Stv    ac_prev=exec_prefix ;;
8401.1Stv  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
8411.1Stv  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
8421.1Stv  | --exec=* | --exe=* | --ex=*)
8431.1Stv    exec_prefix=$ac_optarg ;;
8441.1Stv
8451.1Stv  -gas | --gas | --ga | --g)
8461.1Stv    # Obsolete; use --with-gas.
8471.1Stv    with_gas=yes ;;
8481.1Stv
8491.1Stv  -help | --help | --hel | --he | -h)
8501.1Stv    ac_init_help=long ;;
8511.1Stv  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
8521.1Stv    ac_init_help=recursive ;;
8531.1Stv  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
8541.1Stv    ac_init_help=short ;;
8551.1Stv
8561.1Stv  -host | --host | --hos | --ho)
8571.1Stv    ac_prev=host_alias ;;
8581.1Stv  -host=* | --host=* | --hos=* | --ho=*)
8591.1Stv    host_alias=$ac_optarg ;;
8601.1Stv
8611.9Slukem  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
8621.9Slukem    ac_prev=htmldir ;;
8631.9Slukem  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
8641.9Slukem  | --ht=*)
8651.9Slukem    htmldir=$ac_optarg ;;
8661.9Slukem
8671.1Stv  -includedir | --includedir | --includedi | --included | --include \
8681.1Stv  | --includ | --inclu | --incl | --inc)
8691.1Stv    ac_prev=includedir ;;
8701.1Stv  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
8711.1Stv  | --includ=* | --inclu=* | --incl=* | --inc=*)
8721.1Stv    includedir=$ac_optarg ;;
8731.1Stv
8741.1Stv  -infodir | --infodir | --infodi | --infod | --info | --inf)
8751.1Stv    ac_prev=infodir ;;
8761.1Stv  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
8771.1Stv    infodir=$ac_optarg ;;
8781.1Stv
8791.1Stv  -libdir | --libdir | --libdi | --libd)
8801.1Stv    ac_prev=libdir ;;
8811.1Stv  -libdir=* | --libdir=* | --libdi=* | --libd=*)
8821.1Stv    libdir=$ac_optarg ;;
8831.1Stv
8841.1Stv  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
8851.1Stv  | --libexe | --libex | --libe)
8861.1Stv    ac_prev=libexecdir ;;
8871.1Stv  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
8881.1Stv  | --libexe=* | --libex=* | --libe=*)
8891.1Stv    libexecdir=$ac_optarg ;;
8901.1Stv
8911.9Slukem  -localedir | --localedir | --localedi | --localed | --locale)
8921.9Slukem    ac_prev=localedir ;;
8931.9Slukem  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
8941.9Slukem    localedir=$ac_optarg ;;
8951.9Slukem
8961.1Stv  -localstatedir | --localstatedir | --localstatedi | --localstated \
8971.9Slukem  | --localstate | --localstat | --localsta | --localst | --locals)
8981.1Stv    ac_prev=localstatedir ;;
8991.1Stv  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9001.9Slukem  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
9011.1Stv    localstatedir=$ac_optarg ;;
9021.1Stv
9031.1Stv  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
9041.1Stv    ac_prev=mandir ;;
9051.1Stv  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
9061.1Stv    mandir=$ac_optarg ;;
9071.1Stv
9081.1Stv  -nfp | --nfp | --nf)
9091.1Stv    # Obsolete; use --without-fp.
9101.1Stv    with_fp=no ;;
9111.1Stv
9121.1Stv  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9131.9Slukem  | --no-cr | --no-c | -n)
9141.1Stv    no_create=yes ;;
9151.1Stv
9161.1Stv  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9171.1Stv  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
9181.1Stv    no_recursion=yes ;;
9191.1Stv
9201.1Stv  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
9211.1Stv  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
9221.1Stv  | --oldin | --oldi | --old | --ol | --o)
9231.1Stv    ac_prev=oldincludedir ;;
9241.1Stv  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
9251.1Stv  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
9261.1Stv  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
9271.1Stv    oldincludedir=$ac_optarg ;;
9281.1Stv
9291.1Stv  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9301.1Stv    ac_prev=prefix ;;
9311.1Stv  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9321.1Stv    prefix=$ac_optarg ;;
9331.1Stv
9341.1Stv  -program-prefix | --program-prefix | --program-prefi | --program-pref \
9351.1Stv  | --program-pre | --program-pr | --program-p)
9361.1Stv    ac_prev=program_prefix ;;
9371.1Stv  -program-prefix=* | --program-prefix=* | --program-prefi=* \
9381.1Stv  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
9391.1Stv    program_prefix=$ac_optarg ;;
9401.1Stv
9411.1Stv  -program-suffix | --program-suffix | --program-suffi | --program-suff \
9421.1Stv  | --program-suf | --program-su | --program-s)
9431.1Stv    ac_prev=program_suffix ;;
9441.1Stv  -program-suffix=* | --program-suffix=* | --program-suffi=* \
9451.1Stv  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
9461.1Stv    program_suffix=$ac_optarg ;;
9471.1Stv
9481.1Stv  -program-transform-name | --program-transform-name \
9491.1Stv  | --program-transform-nam | --program-transform-na \
9501.1Stv  | --program-transform-n | --program-transform- \
9511.1Stv  | --program-transform | --program-transfor \
9521.1Stv  | --program-transfo | --program-transf \
9531.1Stv  | --program-trans | --program-tran \
9541.1Stv  | --progr-tra | --program-tr | --program-t)
9551.1Stv    ac_prev=program_transform_name ;;
9561.1Stv  -program-transform-name=* | --program-transform-name=* \
9571.1Stv  | --program-transform-nam=* | --program-transform-na=* \
9581.1Stv  | --program-transform-n=* | --program-transform-=* \
9591.1Stv  | --program-transform=* | --program-transfor=* \
9601.1Stv  | --program-transfo=* | --program-transf=* \
9611.1Stv  | --program-trans=* | --program-tran=* \
9621.1Stv  | --progr-tra=* | --program-tr=* | --program-t=*)
9631.1Stv    program_transform_name=$ac_optarg ;;
9641.1Stv
9651.9Slukem  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
9661.9Slukem    ac_prev=pdfdir ;;
9671.9Slukem  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
9681.9Slukem    pdfdir=$ac_optarg ;;
9691.9Slukem
9701.9Slukem  -psdir | --psdir | --psdi | --psd | --ps)
9711.9Slukem    ac_prev=psdir ;;
9721.9Slukem  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
9731.9Slukem    psdir=$ac_optarg ;;
9741.9Slukem
9751.1Stv  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9761.1Stv  | -silent | --silent | --silen | --sile | --sil)
9771.1Stv    silent=yes ;;
9781.1Stv
9791.1Stv  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
9801.1Stv    ac_prev=sbindir ;;
9811.1Stv  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
9821.1Stv  | --sbi=* | --sb=*)
9831.1Stv    sbindir=$ac_optarg ;;
9841.1Stv
9851.1Stv  -sharedstatedir | --sharedstatedir | --sharedstatedi \
9861.1Stv  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
9871.1Stv  | --sharedst | --shareds | --shared | --share | --shar \
9881.1Stv  | --sha | --sh)
9891.1Stv    ac_prev=sharedstatedir ;;
9901.1Stv  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
9911.1Stv  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
9921.1Stv  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
9931.1Stv  | --sha=* | --sh=*)
9941.1Stv    sharedstatedir=$ac_optarg ;;
9951.1Stv
9961.1Stv  -site | --site | --sit)
9971.1Stv    ac_prev=site ;;
9981.1Stv  -site=* | --site=* | --sit=*)
9991.1Stv    site=$ac_optarg ;;
10001.1Stv
10011.1Stv  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10021.1Stv    ac_prev=srcdir ;;
10031.1Stv  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10041.1Stv    srcdir=$ac_optarg ;;
10051.1Stv
10061.1Stv  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
10071.1Stv  | --syscon | --sysco | --sysc | --sys | --sy)
10081.1Stv    ac_prev=sysconfdir ;;
10091.1Stv  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
10101.1Stv  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
10111.1Stv    sysconfdir=$ac_optarg ;;
10121.1Stv
10131.1Stv  -target | --target | --targe | --targ | --tar | --ta | --t)
10141.1Stv    ac_prev=target_alias ;;
10151.1Stv  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
10161.1Stv    target_alias=$ac_optarg ;;
10171.1Stv
10181.1Stv  -v | -verbose | --verbose | --verbos | --verbo | --verb)
10191.1Stv    verbose=yes ;;
10201.1Stv
10211.1Stv  -version | --version | --versio | --versi | --vers | -V)
10221.1Stv    ac_init_version=: ;;
10231.1Stv
10241.1Stv  -with-* | --with-*)
10251.9Slukem    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10261.1Stv    # Reject names that are not valid shell variable names.
10271.9Slukem    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10281.9Slukem      as_fn_error $? "invalid package name: $ac_useropt"
10291.9Slukem    ac_useropt_orig=$ac_useropt
10301.9Slukem    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10311.9Slukem    case $ac_user_opts in
10321.9Slukem      *"
10331.9Slukem"with_$ac_useropt"
10341.9Slukem"*) ;;
10351.9Slukem      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
10361.9Slukem	 ac_unrecognized_sep=', ';;
10371.1Stv    esac
10381.9Slukem    eval with_$ac_useropt=\$ac_optarg ;;
10391.1Stv
10401.1Stv  -without-* | --without-*)
10411.9Slukem    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10421.1Stv    # Reject names that are not valid shell variable names.
10431.9Slukem    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10441.9Slukem      as_fn_error $? "invalid package name: $ac_useropt"
10451.9Slukem    ac_useropt_orig=$ac_useropt
10461.9Slukem    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10471.9Slukem    case $ac_user_opts in
10481.9Slukem      *"
10491.9Slukem"with_$ac_useropt"
10501.9Slukem"*) ;;
10511.9Slukem      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
10521.9Slukem	 ac_unrecognized_sep=', ';;
10531.9Slukem    esac
10541.9Slukem    eval with_$ac_useropt=no ;;
10551.1Stv
10561.1Stv  --x)
10571.1Stv    # Obsolete; use --with-x.
10581.1Stv    with_x=yes ;;
10591.1Stv
10601.1Stv  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
10611.1Stv  | --x-incl | --x-inc | --x-in | --x-i)
10621.1Stv    ac_prev=x_includes ;;
10631.1Stv  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
10641.1Stv  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
10651.1Stv    x_includes=$ac_optarg ;;
10661.1Stv
10671.1Stv  -x-libraries | --x-libraries | --x-librarie | --x-librari \
10681.1Stv  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
10691.1Stv    ac_prev=x_libraries ;;
10701.1Stv  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
10711.1Stv  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10721.1Stv    x_libraries=$ac_optarg ;;
10731.1Stv
10741.9Slukem  -*) as_fn_error $? "unrecognized option: \`$ac_option'
10751.9SlukemTry \`$0 --help' for more information"
10761.1Stv    ;;
10771.1Stv
10781.1Stv  *=*)
10791.1Stv    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10801.1Stv    # Reject names that are not valid shell variable names.
10811.9Slukem    case $ac_envvar in #(
10821.9Slukem      '' | [0-9]* | *[!_$as_cr_alnum]* )
10831.9Slukem      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
10841.9Slukem    esac
10851.9Slukem    eval $ac_envvar=\$ac_optarg
10861.1Stv    export $ac_envvar ;;
10871.1Stv
10881.1Stv  *)
10891.1Stv    # FIXME: should be removed in autoconf 3.0.
10901.9Slukem    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10911.1Stv    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10921.9Slukem      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10931.9Slukem    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
10941.1Stv    ;;
10951.1Stv
10961.1Stv  esac
10971.1Stvdone
10981.1Stv
10991.1Stvif test -n "$ac_prev"; then
11001.1Stv  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11011.9Slukem  as_fn_error $? "missing argument to $ac_option"
11021.1Stvfi
11031.1Stv
11041.9Slukemif test -n "$ac_unrecognized_opts"; then
11051.9Slukem  case $enable_option_checking in
11061.9Slukem    no) ;;
11071.9Slukem    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
11081.9Slukem    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
11091.9Slukem  esac
11101.9Slukemfi
11111.9Slukem
11121.9Slukem# Check all directory arguments for consistency.
11131.9Slukemfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
11141.9Slukem		datadir sysconfdir sharedstatedir localstatedir includedir \
11151.9Slukem		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11161.9Slukem		libdir localedir mandir
11171.1Stvdo
11181.9Slukem  eval ac_val=\$$ac_var
11191.9Slukem  # Remove trailing slashes.
11201.1Stv  case $ac_val in
11211.9Slukem    */ )
11221.9Slukem      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
11231.9Slukem      eval $ac_var=\$ac_val;;
11241.1Stv  esac
11251.9Slukem  # Be sure to have absolute directory names.
11261.1Stv  case $ac_val in
11271.9Slukem    [\\/$]* | ?:[\\/]* )  continue;;
11281.9Slukem    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11291.1Stv  esac
11301.9Slukem  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
11311.1Stvdone
11321.1Stv
11331.1Stv# There might be people who depend on the old broken behavior: `$host'
11341.1Stv# used to hold the argument of --host etc.
11351.9Slukem# FIXME: To remove some day.
11361.1Stvbuild=$build_alias
11371.1Stvhost=$host_alias
11381.1Stvtarget=$target_alias
11391.1Stv
11401.9Slukem# FIXME: To remove some day.
11411.1Stvif test "x$host_alias" != x; then
11421.1Stv  if test "x$build_alias" = x; then
11431.1Stv    cross_compiling=maybe
11441.1Stv  elif test "x$build_alias" != "x$host_alias"; then
11451.1Stv    cross_compiling=yes
11461.1Stv  fi
11471.1Stvfi
11481.1Stv
11491.1Stvac_tool_prefix=
11501.1Stvtest -n "$host_alias" && ac_tool_prefix=$host_alias-
11511.1Stv
11521.1Stvtest "$silent" = yes && exec 6>/dev/null
11531.1Stv
11541.9Slukem
11551.9Slukemac_pwd=`pwd` && test -n "$ac_pwd" &&
11561.9Slukemac_ls_di=`ls -di .` &&
11571.9Slukemac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
11581.9Slukem  as_fn_error $? "working directory cannot be determined"
11591.9Slukemtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
11601.9Slukem  as_fn_error $? "pwd does not report name of working directory"
11611.9Slukem
11621.9Slukem
11631.1Stv# Find the source files, if location was not specified.
11641.1Stvif test -z "$srcdir"; then
11651.1Stv  ac_srcdir_defaulted=yes
11661.9Slukem  # Try the directory containing this script, then the parent directory.
11671.9Slukem  ac_confdir=`$as_dirname -- "$as_myself" ||
11681.9Slukem$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11691.9Slukem	 X"$as_myself" : 'X\(//\)[^/]' \| \
11701.9Slukem	 X"$as_myself" : 'X\(//\)$' \| \
11711.9Slukem	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
11721.9Slukem$as_echo X"$as_myself" |
11731.9Slukem    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11741.9Slukem	    s//\1/
11751.9Slukem	    q
11761.9Slukem	  }
11771.9Slukem	  /^X\(\/\/\)[^/].*/{
11781.9Slukem	    s//\1/
11791.9Slukem	    q
11801.9Slukem	  }
11811.9Slukem	  /^X\(\/\/\)$/{
11821.9Slukem	    s//\1/
11831.9Slukem	    q
11841.9Slukem	  }
11851.9Slukem	  /^X\(\/\).*/{
11861.9Slukem	    s//\1/
11871.9Slukem	    q
11881.9Slukem	  }
11891.9Slukem	  s/.*/./; q'`
11901.1Stv  srcdir=$ac_confdir
11911.9Slukem  if test ! -r "$srcdir/$ac_unique_file"; then
11921.1Stv    srcdir=..
11931.1Stv  fi
11941.1Stvelse
11951.1Stv  ac_srcdir_defaulted=no
11961.1Stvfi
11971.9Slukemif test ! -r "$srcdir/$ac_unique_file"; then
11981.9Slukem  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
11991.9Slukem  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
12001.9Slukemfi
12011.9Slukemac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12021.9Slukemac_abs_confdir=`(
12031.9Slukem	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12041.9Slukem	pwd)`
12051.9Slukem# When building in place, set srcdir=.
12061.9Slukemif test "$ac_abs_confdir" = "$ac_pwd"; then
12071.9Slukem  srcdir=.
12081.9Slukemfi
12091.9Slukem# Remove unnecessary trailing slashes from srcdir.
12101.9Slukem# Double slashes in file names in object file debugging info
12111.9Slukem# mess up M-x gdb in Emacs.
12121.9Slukemcase $srcdir in
12131.9Slukem*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
12141.9Slukemesac
12151.9Slukemfor ac_var in $ac_precious_vars; do
12161.9Slukem  eval ac_env_${ac_var}_set=\${${ac_var}+set}
12171.9Slukem  eval ac_env_${ac_var}_value=\$${ac_var}
12181.9Slukem  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
12191.9Slukem  eval ac_cv_env_${ac_var}_value=\$${ac_var}
12201.9Slukemdone
12211.1Stv
12221.1Stv#
12231.1Stv# Report the --help message.
12241.1Stv#
12251.1Stvif test "$ac_init_help" = "long"; then
12261.1Stv  # Omit some internal or obsolete options to make the list less imposing.
12271.1Stv  # This message is too long to be a string in the A/UX 3.1 sh.
12281.9Slukem  cat <<_ACEOF
12291.1Stv\`configure' configures make noversion to adapt to many kinds of systems.
12301.1Stv
12311.1StvUsage: $0 [OPTION]... [VAR=VALUE]...
12321.1Stv
12331.1StvTo assign environment variables (e.g., CC, CFLAGS...), specify them as
12341.1StvVAR=VALUE.  See below for descriptions of some of the useful variables.
12351.1Stv
12361.1StvDefaults for the options are specified in brackets.
12371.1Stv
12381.1StvConfiguration:
12391.1Stv  -h, --help              display this help and exit
12401.1Stv      --help=short        display options specific to this package
12411.1Stv      --help=recursive    display the short help of all the included packages
12421.1Stv  -V, --version           display version information and exit
12431.9Slukem  -q, --quiet, --silent   do not print \`checking ...' messages
12441.1Stv      --cache-file=FILE   cache test results in FILE [disabled]
12451.1Stv  -C, --config-cache      alias for \`--cache-file=config.cache'
12461.1Stv  -n, --no-create         do not create output files
12471.1Stv      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
12481.1Stv
12491.1StvInstallation directories:
12501.1Stv  --prefix=PREFIX         install architecture-independent files in PREFIX
12511.1Stv                          [$ac_default_prefix]
12521.1Stv  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
12531.1Stv                          [PREFIX]
12541.1Stv
12551.1StvBy default, \`make install' will install all the files in
12561.1Stv\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
12571.1Stvan installation prefix other than \`$ac_default_prefix' using \`--prefix',
12581.1Stvfor instance \`--prefix=\$HOME'.
12591.1Stv
12601.1StvFor better control, use the options below.
12611.1Stv
12621.1StvFine tuning of the installation directories:
12631.9Slukem  --bindir=DIR            user executables [EPREFIX/bin]
12641.9Slukem  --sbindir=DIR           system admin executables [EPREFIX/sbin]
12651.9Slukem  --libexecdir=DIR        program executables [EPREFIX/libexec]
12661.9Slukem  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
12671.9Slukem  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
12681.9Slukem  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
12691.9Slukem  --libdir=DIR            object code libraries [EPREFIX/lib]
12701.9Slukem  --includedir=DIR        C header files [PREFIX/include]
12711.9Slukem  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
12721.9Slukem  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
12731.9Slukem  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
12741.9Slukem  --infodir=DIR           info documentation [DATAROOTDIR/info]
12751.9Slukem  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
12761.9Slukem  --mandir=DIR            man documentation [DATAROOTDIR/man]
12771.9Slukem  --docdir=DIR            documentation root [DATAROOTDIR/doc/make]
12781.9Slukem  --htmldir=DIR           html documentation [DOCDIR]
12791.9Slukem  --dvidir=DIR            dvi documentation [DOCDIR]
12801.9Slukem  --pdfdir=DIR            pdf documentation [DOCDIR]
12811.9Slukem  --psdir=DIR             ps documentation [DOCDIR]
12821.9Slukem_ACEOF
12831.1Stv
12841.9Slukem  cat <<\_ACEOF
12851.9Slukem_ACEOF
12861.1Stvfi
12871.1Stv
12881.1Stvif test -n "$ac_init_help"; then
12891.1Stv  case $ac_init_help in
12901.1Stv     short | recursive ) echo "Configuration of make noversion:";;
12911.1Stv   esac
12921.9Slukem  cat <<\_ACEOF
12931.1Stv
12941.1StvSome influential environment variables:
12951.1Stv  CC          C compiler command
12961.1Stv  CFLAGS      C compiler flags
12971.1Stv  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
12981.1Stv              nonstandard directory <lib dir>
12991.9Slukem  LIBS        libraries to pass to the linker, e.g. -l<library>
13001.9Slukem  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13011.9Slukem              you have headers in a nonstandard directory <include dir>
13021.1Stv  CPP         C preprocessor
13031.1Stv
13041.1StvUse these variables to override the choices made by `configure' or to help
13051.1Stvit to find libraries and programs with nonstandard names/locations.
13061.1Stv
13071.6SsaloReport bugs to <bin-bug-people@NetBSD.org>.
13081.9Slukem_ACEOF
13091.9Slukemac_status=$?
13101.1Stvfi
13111.1Stv
13121.1Stvif test "$ac_init_help" = "recursive"; then
13131.1Stv  # If there are subdirs, report their specific --help.
13141.9Slukem  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
13151.9Slukem    test -d "$ac_dir" ||
13161.9Slukem      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
13171.9Slukem      continue
13181.9Slukem    ac_builddir=.
13191.9Slukem
13201.9Slukemcase "$ac_dir" in
13211.9Slukem.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13221.9Slukem*)
13231.9Slukem  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13241.9Slukem  # A ".." for each directory in $ac_dir_suffix.
13251.9Slukem  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13261.9Slukem  case $ac_top_builddir_sub in
13271.9Slukem  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13281.9Slukem  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13291.9Slukem  esac ;;
13301.9Slukemesac
13311.9Slukemac_abs_top_builddir=$ac_pwd
13321.9Slukemac_abs_builddir=$ac_pwd$ac_dir_suffix
13331.9Slukem# for backward compatibility:
13341.9Slukemac_top_builddir=$ac_top_build_prefix
13351.9Slukem
13361.9Slukemcase $srcdir in
13371.9Slukem  .)  # We are building in place.
13381.9Slukem    ac_srcdir=.
13391.9Slukem    ac_top_srcdir=$ac_top_builddir_sub
13401.9Slukem    ac_abs_top_srcdir=$ac_pwd ;;
13411.9Slukem  [\\/]* | ?:[\\/]* )  # Absolute name.
13421.9Slukem    ac_srcdir=$srcdir$ac_dir_suffix;
13431.9Slukem    ac_top_srcdir=$srcdir
13441.9Slukem    ac_abs_top_srcdir=$srcdir ;;
13451.9Slukem  *) # Relative name.
13461.9Slukem    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13471.9Slukem    ac_top_srcdir=$ac_top_build_prefix$srcdir
13481.9Slukem    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13491.9Slukemesac
13501.9Slukemac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13511.1Stv
13521.9Slukem    cd "$ac_dir" || { ac_status=$?; continue; }
13531.9Slukem    # Check for guested configure.
13541.9Slukem    if test -f "$ac_srcdir/configure.gnu"; then
13551.9Slukem      echo &&
13561.9Slukem      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
13571.9Slukem    elif test -f "$ac_srcdir/configure"; then
13581.9Slukem      echo &&
13591.9Slukem      $SHELL "$ac_srcdir/configure" --help=recursive
13601.1Stv    else
13611.9Slukem      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
13621.9Slukem    fi || ac_status=$?
13631.9Slukem    cd "$ac_pwd" || { ac_status=$?; break; }
13641.1Stv  done
13651.1Stvfi
13661.1Stv
13671.9Slukemtest -n "$ac_init_help" && exit $ac_status
13681.1Stvif $ac_init_version; then
13691.9Slukem  cat <<\_ACEOF
13701.1Stvmake configure noversion
13711.9Slukemgenerated by GNU Autoconf 2.69
13721.1Stv
13731.9SlukemCopyright (C) 2012 Free Software Foundation, Inc.
13741.1StvThis configure script is free software; the Free Software Foundation
13751.1Stvgives unlimited permission to copy, distribute and modify it.
13761.9Slukem_ACEOF
13771.9Slukem  exit
13781.9Slukemfi
13791.9Slukem
13801.9Slukem## ------------------------ ##
13811.9Slukem## Autoconf initialization. ##
13821.9Slukem## ------------------------ ##
13831.9Slukem
13841.9Slukem# ac_fn_c_try_compile LINENO
13851.9Slukem# --------------------------
13861.9Slukem# Try to compile conftest.$ac_ext, and return whether this succeeded.
13871.9Slukemac_fn_c_try_compile ()
13881.9Slukem{
13891.9Slukem  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13901.9Slukem  rm -f conftest.$ac_objext
13911.9Slukem  if { { ac_try="$ac_compile"
13921.9Slukemcase "(($ac_try" in
13931.9Slukem  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13941.9Slukem  *) ac_try_echo=$ac_try;;
13951.9Slukemesac
13961.9Slukemeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13971.9Slukem$as_echo "$ac_try_echo"; } >&5
13981.9Slukem  (eval "$ac_compile") 2>conftest.err
13991.9Slukem  ac_status=$?
14001.9Slukem  if test -s conftest.err; then
14011.9Slukem    grep -v '^ *+' conftest.err >conftest.er1
14021.9Slukem    cat conftest.er1 >&5
14031.9Slukem    mv -f conftest.er1 conftest.err
14041.9Slukem  fi
14051.9Slukem  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14061.9Slukem  test $ac_status = 0; } && {
14071.9Slukem	 test -z "$ac_c_werror_flag" ||
14081.9Slukem	 test ! -s conftest.err
14091.9Slukem       } && test -s conftest.$ac_objext; then :
14101.9Slukem  ac_retval=0
14111.9Slukemelse
14121.9Slukem  $as_echo "$as_me: failed program was:" >&5
14131.9Slukemsed 's/^/| /' conftest.$ac_ext >&5
14141.9Slukem
14151.9Slukem	ac_retval=1
14161.9Slukemfi
14171.9Slukem  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
14181.9Slukem  as_fn_set_status $ac_retval
14191.9Slukem
14201.9Slukem} # ac_fn_c_try_compile
14211.9Slukem
14221.9Slukem# ac_fn_c_try_cpp LINENO
14231.9Slukem# ----------------------
14241.9Slukem# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
14251.9Slukemac_fn_c_try_cpp ()
14261.9Slukem{
14271.9Slukem  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14281.9Slukem  if { { ac_try="$ac_cpp conftest.$ac_ext"
14291.9Slukemcase "(($ac_try" in
14301.9Slukem  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14311.9Slukem  *) ac_try_echo=$ac_try;;
14321.9Slukemesac
14331.9Slukemeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14341.9Slukem$as_echo "$ac_try_echo"; } >&5
14351.9Slukem  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
14361.9Slukem  ac_status=$?
14371.9Slukem  if test -s conftest.err; then
14381.9Slukem    grep -v '^ *+' conftest.err >conftest.er1
14391.9Slukem    cat conftest.er1 >&5
14401.9Slukem    mv -f conftest.er1 conftest.err
14411.9Slukem  fi
14421.9Slukem  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14431.9Slukem  test $ac_status = 0; } > conftest.i && {
14441.9Slukem	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14451.9Slukem	 test ! -s conftest.err
14461.9Slukem       }; then :
14471.9Slukem  ac_retval=0
14481.9Slukemelse
14491.9Slukem  $as_echo "$as_me: failed program was:" >&5
14501.9Slukemsed 's/^/| /' conftest.$ac_ext >&5
14511.9Slukem
14521.9Slukem    ac_retval=1
14531.9Slukemfi
14541.9Slukem  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
14551.9Slukem  as_fn_set_status $ac_retval
14561.9Slukem
14571.9Slukem} # ac_fn_c_try_cpp
14581.9Slukem
14591.9Slukem# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
14601.9Slukem# -------------------------------------------------------
14611.9Slukem# Tests whether HEADER exists, giving a warning if it cannot be compiled using
14621.9Slukem# the include files in INCLUDES and setting the cache variable VAR
14631.9Slukem# accordingly.
14641.9Slukemac_fn_c_check_header_mongrel ()
14651.9Slukem{
14661.9Slukem  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14671.9Slukem  if eval \${$3+:} false; then :
14681.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
14691.9Slukem$as_echo_n "checking for $2... " >&6; }
14701.9Slukemif eval \${$3+:} false; then :
14711.9Slukem  $as_echo_n "(cached) " >&6
14721.9Slukemfi
14731.9Slukemeval ac_res=\$$3
14741.9Slukem	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14751.9Slukem$as_echo "$ac_res" >&6; }
14761.9Slukemelse
14771.9Slukem  # Is the header compilable?
14781.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
14791.9Slukem$as_echo_n "checking $2 usability... " >&6; }
14801.9Slukemcat confdefs.h - <<_ACEOF >conftest.$ac_ext
14811.9Slukem/* end confdefs.h.  */
14821.9Slukem$4
14831.9Slukem#include <$2>
14841.9Slukem_ACEOF
14851.9Slukemif ac_fn_c_try_compile "$LINENO"; then :
14861.9Slukem  ac_header_compiler=yes
14871.9Slukemelse
14881.9Slukem  ac_header_compiler=no
14891.9Slukemfi
14901.9Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14911.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
14921.9Slukem$as_echo "$ac_header_compiler" >&6; }
14931.9Slukem
14941.9Slukem# Is the header present?
14951.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
14961.9Slukem$as_echo_n "checking $2 presence... " >&6; }
14971.9Slukemcat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981.9Slukem/* end confdefs.h.  */
14991.9Slukem#include <$2>
15001.9Slukem_ACEOF
15011.9Slukemif ac_fn_c_try_cpp "$LINENO"; then :
15021.9Slukem  ac_header_preproc=yes
15031.9Slukemelse
15041.9Slukem  ac_header_preproc=no
15051.9Slukemfi
15061.9Slukemrm -f conftest.err conftest.i conftest.$ac_ext
15071.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
15081.9Slukem$as_echo "$ac_header_preproc" >&6; }
15091.9Slukem
15101.9Slukem# So?  What about this header?
15111.9Slukemcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
15121.9Slukem  yes:no: )
15131.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
15141.9Slukem$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
15151.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
15161.9Slukem$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
15171.9Slukem    ;;
15181.9Slukem  no:yes:* )
15191.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
15201.9Slukem$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
15211.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
15221.9Slukem$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
15231.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
15241.9Slukem$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
15251.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
15261.9Slukem$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
15271.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
15281.9Slukem$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
15291.9Slukem( $as_echo "## ---------------------------------------- ##
15301.9Slukem## Report this to bin-bug-people@NetBSD.org ##
15311.9Slukem## ---------------------------------------- ##"
15321.9Slukem     ) | sed "s/^/$as_me: WARNING:     /" >&2
15331.9Slukem    ;;
15341.9Slukemesac
15351.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
15361.9Slukem$as_echo_n "checking for $2... " >&6; }
15371.9Slukemif eval \${$3+:} false; then :
15381.9Slukem  $as_echo_n "(cached) " >&6
15391.9Slukemelse
15401.9Slukem  eval "$3=\$ac_header_compiler"
15411.9Slukemfi
15421.9Slukemeval ac_res=\$$3
15431.9Slukem	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15441.9Slukem$as_echo "$ac_res" >&6; }
15451.9Slukemfi
15461.9Slukem  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15471.9Slukem
15481.9Slukem} # ac_fn_c_check_header_mongrel
15491.9Slukem
15501.9Slukem# ac_fn_c_try_run LINENO
15511.9Slukem# ----------------------
15521.9Slukem# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
15531.9Slukem# that executables *can* be run.
15541.9Slukemac_fn_c_try_run ()
15551.9Slukem{
15561.9Slukem  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15571.9Slukem  if { { ac_try="$ac_link"
15581.9Slukemcase "(($ac_try" in
15591.9Slukem  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15601.9Slukem  *) ac_try_echo=$ac_try;;
15611.9Slukemesac
15621.9Slukemeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15631.9Slukem$as_echo "$ac_try_echo"; } >&5
15641.9Slukem  (eval "$ac_link") 2>&5
15651.9Slukem  ac_status=$?
15661.9Slukem  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15671.9Slukem  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
15681.9Slukem  { { case "(($ac_try" in
15691.9Slukem  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15701.9Slukem  *) ac_try_echo=$ac_try;;
15711.9Slukemesac
15721.9Slukemeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15731.9Slukem$as_echo "$ac_try_echo"; } >&5
15741.9Slukem  (eval "$ac_try") 2>&5
15751.9Slukem  ac_status=$?
15761.9Slukem  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15771.9Slukem  test $ac_status = 0; }; }; then :
15781.9Slukem  ac_retval=0
15791.9Slukemelse
15801.9Slukem  $as_echo "$as_me: program exited with status $ac_status" >&5
15811.9Slukem       $as_echo "$as_me: failed program was:" >&5
15821.9Slukemsed 's/^/| /' conftest.$ac_ext >&5
15831.9Slukem
15841.9Slukem       ac_retval=$ac_status
15851.9Slukemfi
15861.9Slukem  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
15871.9Slukem  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15881.9Slukem  as_fn_set_status $ac_retval
15891.9Slukem
15901.9Slukem} # ac_fn_c_try_run
15911.9Slukem
15921.9Slukem# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
15931.9Slukem# -------------------------------------------------------
15941.9Slukem# Tests whether HEADER exists and can be compiled using the include files in
15951.9Slukem# INCLUDES, setting the cache variable VAR accordingly.
15961.9Slukemac_fn_c_check_header_compile ()
15971.9Slukem{
15981.9Slukem  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15991.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
16001.9Slukem$as_echo_n "checking for $2... " >&6; }
16011.9Slukemif eval \${$3+:} false; then :
16021.9Slukem  $as_echo_n "(cached) " >&6
16031.9Slukemelse
16041.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16051.9Slukem/* end confdefs.h.  */
16061.9Slukem$4
16071.9Slukem#include <$2>
16081.9Slukem_ACEOF
16091.9Slukemif ac_fn_c_try_compile "$LINENO"; then :
16101.9Slukem  eval "$3=yes"
16111.9Slukemelse
16121.9Slukem  eval "$3=no"
16131.9Slukemfi
16141.9Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16151.9Slukemfi
16161.9Slukemeval ac_res=\$$3
16171.9Slukem	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16181.9Slukem$as_echo "$ac_res" >&6; }
16191.9Slukem  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16201.9Slukem
16211.9Slukem} # ac_fn_c_check_header_compile
16221.9Slukem
16231.9Slukem# ac_fn_c_try_link LINENO
16241.9Slukem# -----------------------
16251.9Slukem# Try to link conftest.$ac_ext, and return whether this succeeded.
16261.9Slukemac_fn_c_try_link ()
16271.9Slukem{
16281.9Slukem  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16291.9Slukem  rm -f conftest.$ac_objext conftest$ac_exeext
16301.9Slukem  if { { ac_try="$ac_link"
16311.9Slukemcase "(($ac_try" in
16321.9Slukem  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16331.9Slukem  *) ac_try_echo=$ac_try;;
16341.9Slukemesac
16351.9Slukemeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16361.9Slukem$as_echo "$ac_try_echo"; } >&5
16371.9Slukem  (eval "$ac_link") 2>conftest.err
16381.9Slukem  ac_status=$?
16391.9Slukem  if test -s conftest.err; then
16401.9Slukem    grep -v '^ *+' conftest.err >conftest.er1
16411.9Slukem    cat conftest.er1 >&5
16421.9Slukem    mv -f conftest.er1 conftest.err
16431.9Slukem  fi
16441.9Slukem  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16451.9Slukem  test $ac_status = 0; } && {
16461.9Slukem	 test -z "$ac_c_werror_flag" ||
16471.9Slukem	 test ! -s conftest.err
16481.9Slukem       } && test -s conftest$ac_exeext && {
16491.9Slukem	 test "$cross_compiling" = yes ||
16501.9Slukem	 test -x conftest$ac_exeext
16511.9Slukem       }; then :
16521.9Slukem  ac_retval=0
16531.9Slukemelse
16541.9Slukem  $as_echo "$as_me: failed program was:" >&5
16551.9Slukemsed 's/^/| /' conftest.$ac_ext >&5
16561.9Slukem
16571.9Slukem	ac_retval=1
16581.9Slukemfi
16591.9Slukem  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
16601.9Slukem  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
16611.9Slukem  # interfere with the next link command; also delete a directory that is
16621.9Slukem  # left behind by Apple's compiler.  We do this before executing the actions.
16631.9Slukem  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
16641.9Slukem  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16651.9Slukem  as_fn_set_status $ac_retval
16661.9Slukem
16671.9Slukem} # ac_fn_c_try_link
16681.9Slukem
16691.9Slukem# ac_fn_c_check_func LINENO FUNC VAR
16701.9Slukem# ----------------------------------
16711.9Slukem# Tests whether FUNC exists, setting the cache variable VAR accordingly
16721.9Slukemac_fn_c_check_func ()
16731.9Slukem{
16741.9Slukem  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16751.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
16761.9Slukem$as_echo_n "checking for $2... " >&6; }
16771.9Slukemif eval \${$3+:} false; then :
16781.9Slukem  $as_echo_n "(cached) " >&6
16791.9Slukemelse
16801.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16811.9Slukem/* end confdefs.h.  */
16821.9Slukem/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
16831.9Slukem   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16841.9Slukem#define $2 innocuous_$2
16851.9Slukem
16861.9Slukem/* System header to define __stub macros and hopefully few prototypes,
16871.9Slukem    which can conflict with char $2 (); below.
16881.9Slukem    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16891.9Slukem    <limits.h> exists even on freestanding compilers.  */
16901.9Slukem
16911.9Slukem#ifdef __STDC__
16921.9Slukem# include <limits.h>
16931.9Slukem#else
16941.9Slukem# include <assert.h>
16951.9Slukem#endif
16961.9Slukem
16971.9Slukem#undef $2
16981.9Slukem
16991.9Slukem/* Override any GCC internal prototype to avoid an error.
17001.9Slukem   Use char because int might match the return type of a GCC
17011.9Slukem   builtin and then its argument prototype would still apply.  */
17021.9Slukem#ifdef __cplusplus
17031.9Slukemextern "C"
17041.9Slukem#endif
17051.9Slukemchar $2 ();
17061.9Slukem/* The GNU C library defines this for functions which it implements
17071.9Slukem    to always fail with ENOSYS.  Some functions are actually named
17081.9Slukem    something starting with __ and the normal name is an alias.  */
17091.9Slukem#if defined __stub_$2 || defined __stub___$2
17101.9Slukemchoke me
17111.9Slukem#endif
17121.9Slukem
17131.9Slukemint
17141.9Slukemmain ()
17151.9Slukem{
17161.9Slukemreturn $2 ();
17171.9Slukem  ;
17181.9Slukem  return 0;
17191.9Slukem}
17201.9Slukem_ACEOF
17211.9Slukemif ac_fn_c_try_link "$LINENO"; then :
17221.9Slukem  eval "$3=yes"
17231.9Slukemelse
17241.9Slukem  eval "$3=no"
17251.1Stvfi
17261.9Slukemrm -f core conftest.err conftest.$ac_objext \
17271.9Slukem    conftest$ac_exeext conftest.$ac_ext
17281.9Slukemfi
17291.9Slukemeval ac_res=\$$3
17301.9Slukem	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17311.9Slukem$as_echo "$ac_res" >&6; }
17321.9Slukem  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17331.9Slukem
17341.9Slukem} # ac_fn_c_check_func
17351.9Slukemcat >config.log <<_ACEOF
17361.1StvThis file contains any messages produced by compilers while
17371.1Stvrunning configure, to aid debugging if configure makes a mistake.
17381.1Stv
17391.1StvIt was created by make $as_me noversion, which was
17401.9Slukemgenerated by GNU Autoconf 2.69.  Invocation command line was
17411.1Stv
17421.1Stv  $ $0 $@
17431.1Stv
17441.9Slukem_ACEOF
17451.9Slukemexec 5>>config.log
17461.1Stv{
17471.1Stvcat <<_ASUNAME
17481.9Slukem## --------- ##
17491.9Slukem## Platform. ##
17501.9Slukem## --------- ##
17511.1Stv
17521.1Stvhostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
17531.1Stvuname -m = `(uname -m) 2>/dev/null || echo unknown`
17541.1Stvuname -r = `(uname -r) 2>/dev/null || echo unknown`
17551.1Stvuname -s = `(uname -s) 2>/dev/null || echo unknown`
17561.1Stvuname -v = `(uname -v) 2>/dev/null || echo unknown`
17571.1Stv
17581.1Stv/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
17591.1Stv/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
17601.1Stv
17611.1Stv/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
17621.1Stv/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
17631.1Stv/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
17641.9Slukem/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
17651.1Stv/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
17661.1Stv/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
17671.1Stv/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
17681.1Stv
17691.9Slukem_ASUNAME
17701.9Slukem
17711.9Slukemas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17721.9Slukemfor as_dir in $PATH
17731.9Slukemdo
17741.9Slukem  IFS=$as_save_IFS
17751.9Slukem  test -z "$as_dir" && as_dir=.
17761.9Slukem    $as_echo "PATH: $as_dir"
17771.9Slukem  done
17781.9SlukemIFS=$as_save_IFS
17791.1Stv
17801.1Stv} >&5
17811.1Stv
17821.9Slukemcat >&5 <<_ACEOF
17831.9Slukem
17841.9Slukem
17851.9Slukem## ----------- ##
17861.9Slukem## Core tests. ##
17871.9Slukem## ----------- ##
17881.9Slukem
17891.9Slukem_ACEOF
17901.1Stv
17911.1Stv
17921.1Stv# Keep a trace of the command line.
17931.1Stv# Strip out --no-create and --no-recursion so they do not pile up.
17941.9Slukem# Strip out --silent because we don't want to record it for future runs.
17951.1Stv# Also quote any args containing shell meta-characters.
17961.9Slukem# Make two passes to allow for proper duplicate-argument suppression.
17971.1Stvac_configure_args=
17981.9Slukemac_configure_args0=
17991.9Slukemac_configure_args1=
18001.9Slukemac_must_keep_next=false
18011.9Slukemfor ac_pass in 1 2
18021.1Stvdo
18031.9Slukem  for ac_arg
18041.9Slukem  do
18051.9Slukem    case $ac_arg in
18061.9Slukem    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
18071.9Slukem    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18081.9Slukem    | -silent | --silent | --silen | --sile | --sil)
18091.9Slukem      continue ;;
18101.9Slukem    *\'*)
18111.9Slukem      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18121.9Slukem    esac
18131.9Slukem    case $ac_pass in
18141.9Slukem    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
18151.9Slukem    2)
18161.9Slukem      as_fn_append ac_configure_args1 " '$ac_arg'"
18171.9Slukem      if test $ac_must_keep_next = true; then
18181.9Slukem	ac_must_keep_next=false # Got value, back to normal.
18191.9Slukem      else
18201.9Slukem	case $ac_arg in
18211.9Slukem	  *=* | --config-cache | -C | -disable-* | --disable-* \
18221.9Slukem	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
18231.9Slukem	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
18241.9Slukem	  | -with-* | --with-* | -without-* | --without-* | --x)
18251.9Slukem	    case "$ac_configure_args0 " in
18261.9Slukem	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
18271.9Slukem	    esac
18281.9Slukem	    ;;
18291.9Slukem	  -* ) ac_must_keep_next=true ;;
18301.9Slukem	esac
18311.9Slukem      fi
18321.9Slukem      as_fn_append ac_configure_args " '$ac_arg'"
18331.9Slukem      ;;
18341.9Slukem    esac
18351.9Slukem  done
18361.1Stvdone
18371.9Slukem{ ac_configure_args0=; unset ac_configure_args0;}
18381.9Slukem{ ac_configure_args1=; unset ac_configure_args1;}
18391.1Stv
18401.1Stv# When interrupted or exit'd, cleanup temporary files, and complete
18411.1Stv# config.log.  We remove comments because anyway the quotes in there
18421.1Stv# would cause problems or look ugly.
18431.9Slukem# WARNING: Use '\'' to represent an apostrophe within the trap.
18441.9Slukem# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
18451.1Stvtrap 'exit_status=$?
18461.1Stv  # Save into config.log some information that might help in debugging.
18471.9Slukem  {
18481.9Slukem    echo
18491.9Slukem
18501.9Slukem    $as_echo "## ---------------- ##
18511.9Slukem## Cache variables. ##
18521.9Slukem## ---------------- ##"
18531.9Slukem    echo
18541.9Slukem    # The following way of writing the cache mishandles newlines in values,
18551.9Slukem(
18561.9Slukem  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
18571.9Slukem    eval ac_val=\$$ac_var
18581.9Slukem    case $ac_val in #(
18591.9Slukem    *${as_nl}*)
18601.9Slukem      case $ac_var in #(
18611.9Slukem      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18621.9Slukem$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18631.9Slukem      esac
18641.9Slukem      case $ac_var in #(
18651.9Slukem      _ | IFS | as_nl) ;; #(
18661.9Slukem      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18671.9Slukem      *) { eval $ac_var=; unset $ac_var;} ;;
18681.9Slukem      esac ;;
18691.9Slukem    esac
18701.9Slukem  done
18711.1Stv  (set) 2>&1 |
18721.9Slukem    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
18731.9Slukem    *${as_nl}ac_space=\ *)
18741.1Stv      sed -n \
18751.9Slukem	"s/'\''/'\''\\\\'\'''\''/g;
18761.9Slukem	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
18771.9Slukem      ;; #(
18781.1Stv    *)
18791.9Slukem      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18801.1Stv      ;;
18811.9Slukem    esac |
18821.9Slukem    sort
18831.9Slukem)
18841.9Slukem    echo
18851.9Slukem
18861.9Slukem    $as_echo "## ----------------- ##
18871.9Slukem## Output variables. ##
18881.9Slukem## ----------------- ##"
18891.9Slukem    echo
18901.9Slukem    for ac_var in $ac_subst_vars
18911.9Slukem    do
18921.9Slukem      eval ac_val=\$$ac_var
18931.9Slukem      case $ac_val in
18941.9Slukem      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
18951.9Slukem      esac
18961.9Slukem      $as_echo "$ac_var='\''$ac_val'\''"
18971.9Slukem    done | sort
18981.9Slukem    echo
18991.9Slukem
19001.9Slukem    if test -n "$ac_subst_files"; then
19011.9Slukem      $as_echo "## ------------------- ##
19021.9Slukem## File substitutions. ##
19031.9Slukem## ------------------- ##"
19041.9Slukem      echo
19051.9Slukem      for ac_var in $ac_subst_files
19061.9Slukem      do
19071.9Slukem	eval ac_val=\$$ac_var
19081.9Slukem	case $ac_val in
19091.9Slukem	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19101.9Slukem	esac
19111.9Slukem	$as_echo "$ac_var='\''$ac_val'\''"
19121.9Slukem      done | sort
19131.9Slukem      echo
19141.9Slukem    fi
19151.9Slukem
19161.9Slukem    if test -s confdefs.h; then
19171.9Slukem      $as_echo "## ----------- ##
19181.9Slukem## confdefs.h. ##
19191.9Slukem## ----------- ##"
19201.9Slukem      echo
19211.9Slukem      cat confdefs.h
19221.9Slukem      echo
19231.9Slukem    fi
19241.9Slukem    test "$ac_signal" != 0 &&
19251.9Slukem      $as_echo "$as_me: caught signal $ac_signal"
19261.9Slukem    $as_echo "$as_me: exit $exit_status"
19271.9Slukem  } >&5
19281.9Slukem  rm -f core *.core core.conftest.* &&
19291.9Slukem    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
19301.1Stv    exit $exit_status
19311.9Slukem' 0
19321.1Stvfor ac_signal in 1 2 13 15; do
19331.9Slukem  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
19341.1Stvdone
19351.1Stvac_signal=0
19361.1Stv
19371.1Stv# confdefs.h avoids OS command line length limits that DEFS can exceed.
19381.9Slukemrm -f -r conftest* confdefs.h
19391.9Slukem
19401.9Slukem$as_echo "/* confdefs.h */" > confdefs.h
19411.9Slukem
19421.9Slukem# Predefined preprocessor variables.
19431.9Slukem
19441.9Slukemcat >>confdefs.h <<_ACEOF
19451.9Slukem#define PACKAGE_NAME "$PACKAGE_NAME"
19461.9Slukem_ACEOF
19471.9Slukem
19481.9Slukemcat >>confdefs.h <<_ACEOF
19491.9Slukem#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
19501.9Slukem_ACEOF
19511.9Slukem
19521.9Slukemcat >>confdefs.h <<_ACEOF
19531.9Slukem#define PACKAGE_VERSION "$PACKAGE_VERSION"
19541.9Slukem_ACEOF
19551.9Slukem
19561.9Slukemcat >>confdefs.h <<_ACEOF
19571.9Slukem#define PACKAGE_STRING "$PACKAGE_STRING"
19581.9Slukem_ACEOF
19591.9Slukem
19601.9Slukemcat >>confdefs.h <<_ACEOF
19611.9Slukem#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
19621.9Slukem_ACEOF
19631.9Slukem
19641.9Slukemcat >>confdefs.h <<_ACEOF
19651.9Slukem#define PACKAGE_URL "$PACKAGE_URL"
19661.9Slukem_ACEOF
19671.9Slukem
19681.1Stv
19691.1Stv# Let the site file select an alternate cache file if it wants to.
19701.9Slukem# Prefer an explicitly selected file to automatically selected ones.
19711.9Slukemac_site_file1=NONE
19721.9Slukemac_site_file2=NONE
19731.9Slukemif test -n "$CONFIG_SITE"; then
19741.9Slukem  # We do not want a PATH search for config.site.
19751.9Slukem  case $CONFIG_SITE in #((
19761.9Slukem    -*)  ac_site_file1=./$CONFIG_SITE;;
19771.9Slukem    */*) ac_site_file1=$CONFIG_SITE;;
19781.9Slukem    *)   ac_site_file1=./$CONFIG_SITE;;
19791.9Slukem  esac
19801.9Slukemelif test "x$prefix" != xNONE; then
19811.9Slukem  ac_site_file1=$prefix/share/config.site
19821.9Slukem  ac_site_file2=$prefix/etc/config.site
19831.9Slukemelse
19841.9Slukem  ac_site_file1=$ac_default_prefix/share/config.site
19851.9Slukem  ac_site_file2=$ac_default_prefix/etc/config.site
19861.1Stvfi
19871.9Slukemfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
19881.9Slukemdo
19891.9Slukem  test "x$ac_site_file" = xNONE && continue
19901.9Slukem  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
19911.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
19921.9Slukem$as_echo "$as_me: loading site script $ac_site_file" >&6;}
19931.9Slukem    sed 's/^/| /' "$ac_site_file" >&5
19941.9Slukem    . "$ac_site_file" \
19951.9Slukem      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19961.9Slukem$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19971.9Slukemas_fn_error $? "failed to load site script $ac_site_file
19981.9SlukemSee \`config.log' for more details" "$LINENO" 5; }
19991.1Stv  fi
20001.1Stvdone
20011.1Stv
20021.1Stvif test -r "$cache_file"; then
20031.9Slukem  # Some versions of bash will fail to source /dev/null (special files
20041.9Slukem  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
20051.9Slukem  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
20061.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
20071.9Slukem$as_echo "$as_me: loading cache $cache_file" >&6;}
20081.1Stv    case $cache_file in
20091.9Slukem      [\\/]* | ?:[\\/]* ) . "$cache_file";;
20101.9Slukem      *)                      . "./$cache_file";;
20111.1Stv    esac
20121.1Stv  fi
20131.1Stvelse
20141.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
20151.9Slukem$as_echo "$as_me: creating cache $cache_file" >&6;}
20161.1Stv  >$cache_file
20171.1Stvfi
20181.1Stv
20191.1Stv# Check that the precious variables saved in the cache have kept the same
20201.1Stv# value.
20211.1Stvac_cache_corrupted=false
20221.9Slukemfor ac_var in $ac_precious_vars; do
20231.1Stv  eval ac_old_set=\$ac_cv_env_${ac_var}_set
20241.1Stv  eval ac_new_set=\$ac_env_${ac_var}_set
20251.9Slukem  eval ac_old_val=\$ac_cv_env_${ac_var}_value
20261.9Slukem  eval ac_new_val=\$ac_env_${ac_var}_value
20271.1Stv  case $ac_old_set,$ac_new_set in
20281.1Stv    set,)
20291.9Slukem      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
20301.9Slukem$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
20311.1Stv      ac_cache_corrupted=: ;;
20321.1Stv    ,set)
20331.9Slukem      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
20341.9Slukem$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
20351.1Stv      ac_cache_corrupted=: ;;
20361.1Stv    ,);;
20371.1Stv    *)
20381.1Stv      if test "x$ac_old_val" != "x$ac_new_val"; then
20391.9Slukem	# differences in whitespace do not lead to failure.
20401.9Slukem	ac_old_val_w=`echo x $ac_old_val`
20411.9Slukem	ac_new_val_w=`echo x $ac_new_val`
20421.9Slukem	if test "$ac_old_val_w" != "$ac_new_val_w"; then
20431.9Slukem	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
20441.9Slukem$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
20451.9Slukem	  ac_cache_corrupted=:
20461.9Slukem	else
20471.9Slukem	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
20481.9Slukem$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
20491.9Slukem	  eval $ac_var=\$ac_old_val
20501.9Slukem	fi
20511.9Slukem	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
20521.9Slukem$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
20531.9Slukem	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
20541.9Slukem$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
20551.1Stv      fi;;
20561.1Stv  esac
20571.9Slukem  # Pass precious variables to config.status.
20581.1Stv  if test "$ac_new_set" = set; then
20591.1Stv    case $ac_new_val in
20601.9Slukem    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
20611.9Slukem    *) ac_arg=$ac_var=$ac_new_val ;;
20621.9Slukem    esac
20631.9Slukem    case " $ac_configure_args " in
20641.9Slukem      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
20651.9Slukem      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
20661.1Stv    esac
20671.1Stv  fi
20681.1Stvdone
20691.1Stvif $ac_cache_corrupted; then
20701.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20711.9Slukem$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20721.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
20731.9Slukem$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
20741.9Slukem  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
20751.9Slukemfi
20761.9Slukem## -------------------- ##
20771.9Slukem## Main body of script. ##
20781.9Slukem## -------------------- ##
20791.1Stv
20801.1Stvac_ext=c
20811.1Stvac_cpp='$CPP $CPPFLAGS'
20821.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20831.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20841.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
20851.1Stv
20861.1Stv
20871.1Stvac_config_files="$ac_config_files buildmake.sh"
20881.1Stv
20891.9Slukem
20901.9Slukem
20911.9Slukem
20921.9Slukem
20931.3Sbjh21# Extract the first word of "sh", so it can be a program name with args.
20941.3Sbjh21set dummy sh; ac_word=$2
20951.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20961.9Slukem$as_echo_n "checking for $ac_word... " >&6; }
20971.9Slukemif ${ac_cv_path_BSHELL+:} false; then :
20981.9Slukem  $as_echo_n "(cached) " >&6
20991.3Sbjh21else
21001.3Sbjh21  case $BSHELL in
21011.3Sbjh21  [\\/]* | ?:[\\/]*)
21021.3Sbjh21  ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
21031.3Sbjh21  ;;
21041.3Sbjh21  *)
21051.9Slukem  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21061.9Slukemfor as_dir in $PATH
21071.9Slukemdo
21081.9Slukem  IFS=$as_save_IFS
21091.9Slukem  test -z "$as_dir" && as_dir=.
21101.9Slukem    for ac_exec_ext in '' $ac_executable_extensions; do
21111.9Slukem  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21121.9Slukem    ac_cv_path_BSHELL="$as_dir/$ac_word$ac_exec_ext"
21131.9Slukem    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21141.9Slukem    break 2
21151.9Slukem  fi
21161.3Sbjh21done
21171.9Slukem  done
21181.9SlukemIFS=$as_save_IFS
21191.3Sbjh21
21201.3Sbjh21  ;;
21211.3Sbjh21esac
21221.3Sbjh21fi
21231.3Sbjh21BSHELL=$ac_cv_path_BSHELL
21241.3Sbjh21if test -n "$BSHELL"; then
21251.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BSHELL" >&5
21261.9Slukem$as_echo "$BSHELL" >&6; }
21271.3Sbjh21else
21281.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21291.9Slukem$as_echo "no" >&6; }
21301.3Sbjh21fi
21311.3Sbjh21
21321.9Slukem
21331.3Sbjh21if test x"$BSHELL" = x; then
21341.9Slukem    as_fn_error $? "sh must be somewhere on \$PATH, or BSHELL must be defined" "$LINENO" 5
21351.3Sbjh21fi
21361.9Slukemcat >>confdefs.h <<_ACEOF
21371.8Sapb#define DEFSHELL_CUSTOM "${BSHELL}"
21381.9Slukem_ACEOF
21391.9Slukem
21401.3Sbjh21
21411.1Stv# Make sure we have POSIX regex ability.
21421.1Stvac_ext=c
21431.1Stvac_cpp='$CPP $CPPFLAGS'
21441.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21451.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21461.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
21471.1Stvif test -n "$ac_tool_prefix"; then
21481.1Stv  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
21491.1Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2
21501.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21511.9Slukem$as_echo_n "checking for $ac_word... " >&6; }
21521.9Slukemif ${ac_cv_prog_CC+:} false; then :
21531.9Slukem  $as_echo_n "(cached) " >&6
21541.1Stvelse
21551.1Stv  if test -n "$CC"; then
21561.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
21571.1Stvelse
21581.9Slukemas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21591.9Slukemfor as_dir in $PATH
21601.9Slukemdo
21611.9Slukem  IFS=$as_save_IFS
21621.9Slukem  test -z "$as_dir" && as_dir=.
21631.9Slukem    for ac_exec_ext in '' $ac_executable_extensions; do
21641.9Slukem  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21651.9Slukem    ac_cv_prog_CC="${ac_tool_prefix}gcc"
21661.9Slukem    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21671.9Slukem    break 2
21681.9Slukem  fi
21691.1Stvdone
21701.9Slukem  done
21711.9SlukemIFS=$as_save_IFS
21721.1Stv
21731.1Stvfi
21741.1Stvfi
21751.1StvCC=$ac_cv_prog_CC
21761.1Stvif test -n "$CC"; then
21771.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
21781.9Slukem$as_echo "$CC" >&6; }
21791.1Stvelse
21801.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21811.9Slukem$as_echo "no" >&6; }
21821.1Stvfi
21831.1Stv
21841.9Slukem
21851.1Stvfi
21861.1Stvif test -z "$ac_cv_prog_CC"; then
21871.1Stv  ac_ct_CC=$CC
21881.1Stv  # Extract the first word of "gcc", so it can be a program name with args.
21891.1Stvset dummy gcc; ac_word=$2
21901.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21911.9Slukem$as_echo_n "checking for $ac_word... " >&6; }
21921.9Slukemif ${ac_cv_prog_ac_ct_CC+:} false; then :
21931.9Slukem  $as_echo_n "(cached) " >&6
21941.1Stvelse
21951.1Stv  if test -n "$ac_ct_CC"; then
21961.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
21971.1Stvelse
21981.9Slukemas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21991.9Slukemfor as_dir in $PATH
22001.9Slukemdo
22011.9Slukem  IFS=$as_save_IFS
22021.9Slukem  test -z "$as_dir" && as_dir=.
22031.9Slukem    for ac_exec_ext in '' $ac_executable_extensions; do
22041.9Slukem  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22051.9Slukem    ac_cv_prog_ac_ct_CC="gcc"
22061.9Slukem    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22071.9Slukem    break 2
22081.9Slukem  fi
22091.1Stvdone
22101.9Slukem  done
22111.9SlukemIFS=$as_save_IFS
22121.1Stv
22131.1Stvfi
22141.1Stvfi
22151.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
22161.1Stvif test -n "$ac_ct_CC"; then
22171.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
22181.9Slukem$as_echo "$ac_ct_CC" >&6; }
22191.1Stvelse
22201.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22211.9Slukem$as_echo "no" >&6; }
22221.1Stvfi
22231.1Stv
22241.9Slukem  if test "x$ac_ct_CC" = x; then
22251.9Slukem    CC=""
22261.9Slukem  else
22271.9Slukem    case $cross_compiling:$ac_tool_warned in
22281.9Slukemyes:)
22291.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22301.9Slukem$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22311.9Slukemac_tool_warned=yes ;;
22321.9Slukemesac
22331.9Slukem    CC=$ac_ct_CC
22341.9Slukem  fi
22351.1Stvelse
22361.1Stv  CC="$ac_cv_prog_CC"
22371.1Stvfi
22381.1Stv
22391.1Stvif test -z "$CC"; then
22401.9Slukem          if test -n "$ac_tool_prefix"; then
22411.9Slukem    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
22421.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2
22431.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22441.9Slukem$as_echo_n "checking for $ac_word... " >&6; }
22451.9Slukemif ${ac_cv_prog_CC+:} false; then :
22461.9Slukem  $as_echo_n "(cached) " >&6
22471.1Stvelse
22481.1Stv  if test -n "$CC"; then
22491.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
22501.1Stvelse
22511.9Slukemas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22521.9Slukemfor as_dir in $PATH
22531.9Slukemdo
22541.9Slukem  IFS=$as_save_IFS
22551.9Slukem  test -z "$as_dir" && as_dir=.
22561.9Slukem    for ac_exec_ext in '' $ac_executable_extensions; do
22571.9Slukem  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22581.9Slukem    ac_cv_prog_CC="${ac_tool_prefix}cc"
22591.9Slukem    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22601.9Slukem    break 2
22611.9Slukem  fi
22621.1Stvdone
22631.9Slukem  done
22641.9SlukemIFS=$as_save_IFS
22651.1Stv
22661.1Stvfi
22671.1Stvfi
22681.1StvCC=$ac_cv_prog_CC
22691.1Stvif test -n "$CC"; then
22701.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
22711.9Slukem$as_echo "$CC" >&6; }
22721.1Stvelse
22731.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22741.9Slukem$as_echo "no" >&6; }
22751.1Stvfi
22761.1Stv
22771.1Stv
22781.9Slukem  fi
22791.1Stvfi
22801.1Stvif test -z "$CC"; then
22811.1Stv  # Extract the first word of "cc", so it can be a program name with args.
22821.1Stvset dummy cc; ac_word=$2
22831.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22841.9Slukem$as_echo_n "checking for $ac_word... " >&6; }
22851.9Slukemif ${ac_cv_prog_CC+:} false; then :
22861.9Slukem  $as_echo_n "(cached) " >&6
22871.1Stvelse
22881.1Stv  if test -n "$CC"; then
22891.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
22901.1Stvelse
22911.1Stv  ac_prog_rejected=no
22921.9Slukemas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22931.9Slukemfor as_dir in $PATH
22941.9Slukemdo
22951.9Slukem  IFS=$as_save_IFS
22961.9Slukem  test -z "$as_dir" && as_dir=.
22971.9Slukem    for ac_exec_ext in '' $ac_executable_extensions; do
22981.9Slukem  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22991.9Slukem    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
23001.9Slukem       ac_prog_rejected=yes
23011.9Slukem       continue
23021.9Slukem     fi
23031.9Slukem    ac_cv_prog_CC="cc"
23041.9Slukem    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23051.9Slukem    break 2
23061.9Slukem  fi
23071.1Stvdone
23081.9Slukem  done
23091.9SlukemIFS=$as_save_IFS
23101.1Stv
23111.1Stvif test $ac_prog_rejected = yes; then
23121.1Stv  # We found a bogon in the path, so make sure we never use it.
23131.1Stv  set dummy $ac_cv_prog_CC
23141.1Stv  shift
23151.1Stv  if test $# != 0; then
23161.1Stv    # We chose a different compiler from the bogus one.
23171.1Stv    # However, it has the same basename, so the bogon will be chosen
23181.1Stv    # first if we set CC to just the basename; use the full file name.
23191.1Stv    shift
23201.9Slukem    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
23211.1Stv  fi
23221.1Stvfi
23231.1Stvfi
23241.1Stvfi
23251.1StvCC=$ac_cv_prog_CC
23261.1Stvif test -n "$CC"; then
23271.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
23281.9Slukem$as_echo "$CC" >&6; }
23291.1Stvelse
23301.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23311.9Slukem$as_echo "no" >&6; }
23321.1Stvfi
23331.1Stv
23341.9Slukem
23351.1Stvfi
23361.1Stvif test -z "$CC"; then
23371.1Stv  if test -n "$ac_tool_prefix"; then
23381.9Slukem  for ac_prog in cl.exe
23391.1Stv  do
23401.1Stv    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23411.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2
23421.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23431.9Slukem$as_echo_n "checking for $ac_word... " >&6; }
23441.9Slukemif ${ac_cv_prog_CC+:} false; then :
23451.9Slukem  $as_echo_n "(cached) " >&6
23461.1Stvelse
23471.1Stv  if test -n "$CC"; then
23481.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
23491.1Stvelse
23501.9Slukemas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23511.9Slukemfor as_dir in $PATH
23521.9Slukemdo
23531.9Slukem  IFS=$as_save_IFS
23541.9Slukem  test -z "$as_dir" && as_dir=.
23551.9Slukem    for ac_exec_ext in '' $ac_executable_extensions; do
23561.9Slukem  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23571.9Slukem    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
23581.9Slukem    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23591.9Slukem    break 2
23601.9Slukem  fi
23611.1Stvdone
23621.9Slukem  done
23631.9SlukemIFS=$as_save_IFS
23641.1Stv
23651.1Stvfi
23661.1Stvfi
23671.1StvCC=$ac_cv_prog_CC
23681.1Stvif test -n "$CC"; then
23691.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
23701.9Slukem$as_echo "$CC" >&6; }
23711.1Stvelse
23721.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23731.9Slukem$as_echo "no" >&6; }
23741.1Stvfi
23751.1Stv
23761.9Slukem
23771.1Stv    test -n "$CC" && break
23781.1Stv  done
23791.1Stvfi
23801.1Stvif test -z "$CC"; then
23811.1Stv  ac_ct_CC=$CC
23821.9Slukem  for ac_prog in cl.exe
23831.1Stvdo
23841.1Stv  # Extract the first word of "$ac_prog", so it can be a program name with args.
23851.1Stvset dummy $ac_prog; ac_word=$2
23861.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23871.9Slukem$as_echo_n "checking for $ac_word... " >&6; }
23881.9Slukemif ${ac_cv_prog_ac_ct_CC+:} false; then :
23891.9Slukem  $as_echo_n "(cached) " >&6
23901.1Stvelse
23911.1Stv  if test -n "$ac_ct_CC"; then
23921.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
23931.1Stvelse
23941.9Slukemas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23951.9Slukemfor as_dir in $PATH
23961.9Slukemdo
23971.9Slukem  IFS=$as_save_IFS
23981.9Slukem  test -z "$as_dir" && as_dir=.
23991.9Slukem    for ac_exec_ext in '' $ac_executable_extensions; do
24001.9Slukem  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24011.9Slukem    ac_cv_prog_ac_ct_CC="$ac_prog"
24021.9Slukem    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24031.9Slukem    break 2
24041.9Slukem  fi
24051.1Stvdone
24061.9Slukem  done
24071.9SlukemIFS=$as_save_IFS
24081.1Stv
24091.1Stvfi
24101.1Stvfi
24111.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
24121.1Stvif test -n "$ac_ct_CC"; then
24131.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
24141.9Slukem$as_echo "$ac_ct_CC" >&6; }
24151.1Stvelse
24161.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24171.9Slukem$as_echo "no" >&6; }
24181.1Stvfi
24191.1Stv
24201.9Slukem
24211.1Stv  test -n "$ac_ct_CC" && break
24221.1Stvdone
24231.1Stv
24241.9Slukem  if test "x$ac_ct_CC" = x; then
24251.9Slukem    CC=""
24261.9Slukem  else
24271.9Slukem    case $cross_compiling:$ac_tool_warned in
24281.9Slukemyes:)
24291.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24301.9Slukem$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24311.9Slukemac_tool_warned=yes ;;
24321.9Slukemesac
24331.9Slukem    CC=$ac_ct_CC
24341.9Slukem  fi
24351.1Stvfi
24361.1Stv
24371.1Stvfi
24381.1Stv
24391.9Slukem
24401.9Slukemtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24411.9Slukem$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24421.9Slukemas_fn_error $? "no acceptable C compiler found in \$PATH
24431.9SlukemSee \`config.log' for more details" "$LINENO" 5; }
24441.1Stv
24451.1Stv# Provide some information about the compiler.
24461.9Slukem$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
24471.9Slukemset X $ac_compile
24481.9Slukemac_compiler=$2
24491.9Slukemfor ac_option in --version -v -V -qversion; do
24501.9Slukem  { { ac_try="$ac_compiler $ac_option >&5"
24511.9Slukemcase "(($ac_try" in
24521.9Slukem  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24531.9Slukem  *) ac_try_echo=$ac_try;;
24541.9Slukemesac
24551.9Slukemeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
24561.9Slukem$as_echo "$ac_try_echo"; } >&5
24571.9Slukem  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
24581.1Stv  ac_status=$?
24591.9Slukem  if test -s conftest.err; then
24601.9Slukem    sed '10a\
24611.9Slukem... rest of stderr output deleted ...
24621.9Slukem         10q' conftest.err >conftest.er1
24631.9Slukem    cat conftest.er1 >&5
24641.9Slukem  fi
24651.9Slukem  rm -f conftest.er1 conftest.err
24661.9Slukem  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24671.9Slukem  test $ac_status = 0; }
24681.9Slukemdone
24691.1Stv
24701.9Slukemcat confdefs.h - <<_ACEOF >conftest.$ac_ext
24711.9Slukem/* end confdefs.h.  */
24721.1Stv
24731.1Stvint
24741.1Stvmain ()
24751.1Stv{
24761.1Stv
24771.1Stv  ;
24781.1Stv  return 0;
24791.1Stv}
24801.1Stv_ACEOF
24811.1Stvac_clean_files_save=$ac_clean_files
24821.9Slukemac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
24831.1Stv# Try to create an executable without -o first, disregard a.out.
24841.1Stv# It will help us diagnose broken compilers, and finding out an intuition
24851.1Stv# of exeext.
24861.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
24871.9Slukem$as_echo_n "checking whether the C compiler works... " >&6; }
24881.9Slukemac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
24891.9Slukem
24901.9Slukem# The possible output files:
24911.9Slukemac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
24921.9Slukem
24931.9Slukemac_rmfiles=
24941.9Slukemfor ac_file in $ac_files
24951.9Slukemdo
24961.9Slukem  case $ac_file in
24971.9Slukem    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
24981.9Slukem    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
24991.9Slukem  esac
25001.9Slukemdone
25011.9Slukemrm -f $ac_rmfiles
25021.9Slukem
25031.9Slukemif { { ac_try="$ac_link_default"
25041.9Slukemcase "(($ac_try" in
25051.9Slukem  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25061.9Slukem  *) ac_try_echo=$ac_try;;
25071.9Slukemesac
25081.9Slukemeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
25091.9Slukem$as_echo "$ac_try_echo"; } >&5
25101.9Slukem  (eval "$ac_link_default") 2>&5
25111.1Stv  ac_status=$?
25121.9Slukem  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25131.9Slukem  test $ac_status = 0; }; then :
25141.9Slukem  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
25151.9Slukem# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
25161.9Slukem# in a Makefile.  We should not override ac_cv_exeext if it was cached,
25171.9Slukem# so that the user can short-circuit this test for compilers unknown to
25181.9Slukem# Autoconf.
25191.9Slukemfor ac_file in $ac_files ''
25201.9Slukemdo
25211.9Slukem  test -f "$ac_file" || continue
25221.1Stv  case $ac_file in
25231.9Slukem    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
25241.9Slukem	;;
25251.9Slukem    [ab].out )
25261.9Slukem	# We found the default executable, but exeext='' is most
25271.9Slukem	# certainly right.
25281.9Slukem	break;;
25291.9Slukem    *.* )
25301.9Slukem	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
25311.9Slukem	then :; else
25321.9Slukem	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
25331.9Slukem	fi
25341.9Slukem	# We set ac_cv_exeext here because the later test for it is not
25351.9Slukem	# safe: cross compilers may not add the suffix if given an `-o'
25361.9Slukem	# argument, so we may need to know it at that point already.
25371.9Slukem	# Even if this section looks crufty: it has the advantage of
25381.9Slukem	# actually working.
25391.9Slukem	break;;
25401.9Slukem    * )
25411.9Slukem	break;;
25421.1Stv  esac
25431.1Stvdone
25441.9Slukemtest "$ac_cv_exeext" = no && ac_cv_exeext=
25451.9Slukem
25461.1Stvelse
25471.9Slukem  ac_file=''
25481.1Stvfi
25491.9Slukemif test -z "$ac_file"; then :
25501.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25511.9Slukem$as_echo "no" >&6; }
25521.9Slukem$as_echo "$as_me: failed program was:" >&5
25531.9Slukemsed 's/^/| /' conftest.$ac_ext >&5
25541.1Stv
25551.9Slukem{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25561.9Slukem$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25571.9Slukemas_fn_error 77 "C compiler cannot create executables
25581.9SlukemSee \`config.log' for more details" "$LINENO" 5; }
25591.9Slukemelse
25601.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25611.9Slukem$as_echo "yes" >&6; }
25621.9Slukemfi
25631.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
25641.9Slukem$as_echo_n "checking for C compiler default output file name... " >&6; }
25651.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
25661.9Slukem$as_echo "$ac_file" >&6; }
25671.1Stvac_exeext=$ac_cv_exeext
25681.1Stv
25691.9Slukemrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
25701.1Stvac_clean_files=$ac_clean_files_save
25711.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
25721.9Slukem$as_echo_n "checking for suffix of executables... " >&6; }
25731.9Slukemif { { ac_try="$ac_link"
25741.9Slukemcase "(($ac_try" in
25751.9Slukem  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25761.9Slukem  *) ac_try_echo=$ac_try;;
25771.9Slukemesac
25781.9Slukemeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
25791.9Slukem$as_echo "$ac_try_echo"; } >&5
25801.9Slukem  (eval "$ac_link") 2>&5
25811.1Stv  ac_status=$?
25821.9Slukem  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25831.9Slukem  test $ac_status = 0; }; then :
25841.1Stv  # If both `conftest.exe' and `conftest' are `present' (well, observable)
25851.1Stv# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
25861.1Stv# work properly (i.e., refer to `conftest.exe'), while it won't with
25871.1Stv# `rm'.
25881.9Slukemfor ac_file in conftest.exe conftest conftest.*; do
25891.9Slukem  test -f "$ac_file" || continue
25901.1Stv  case $ac_file in
25911.9Slukem    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
25921.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
25931.9Slukem	  break;;
25941.1Stv    * ) break;;
25951.1Stv  esac
25961.1Stvdone
25971.1Stvelse
25981.9Slukem  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25991.9Slukem$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26001.9Slukemas_fn_error $? "cannot compute suffix of executables: cannot compile and link
26011.9SlukemSee \`config.log' for more details" "$LINENO" 5; }
26021.9Slukemfi
26031.9Slukemrm -f conftest conftest$ac_cv_exeext
26041.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
26051.9Slukem$as_echo "$ac_cv_exeext" >&6; }
26061.1Stv
26071.1Stvrm -f conftest.$ac_ext
26081.1StvEXEEXT=$ac_cv_exeext
26091.1Stvac_exeext=$EXEEXT
26101.9Slukemcat confdefs.h - <<_ACEOF >conftest.$ac_ext
26111.9Slukem/* end confdefs.h.  */
26121.9Slukem#include <stdio.h>
26131.9Slukemint
26141.9Slukemmain ()
26151.9Slukem{
26161.9SlukemFILE *f = fopen ("conftest.out", "w");
26171.9Slukem return ferror (f) || fclose (f) != 0;
26181.9Slukem
26191.9Slukem  ;
26201.9Slukem  return 0;
26211.9Slukem}
26221.9Slukem_ACEOF
26231.9Slukemac_clean_files="$ac_clean_files conftest.out"
26241.9Slukem# Check that the compiler produces executables we can run.  If not, either
26251.9Slukem# the compiler is broken, or we cross compile.
26261.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
26271.9Slukem$as_echo_n "checking whether we are cross compiling... " >&6; }
26281.9Slukemif test "$cross_compiling" != yes; then
26291.9Slukem  { { ac_try="$ac_link"
26301.9Slukemcase "(($ac_try" in
26311.9Slukem  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26321.9Slukem  *) ac_try_echo=$ac_try;;
26331.9Slukemesac
26341.9Slukemeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
26351.9Slukem$as_echo "$ac_try_echo"; } >&5
26361.9Slukem  (eval "$ac_link") 2>&5
26371.9Slukem  ac_status=$?
26381.9Slukem  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26391.9Slukem  test $ac_status = 0; }
26401.9Slukem  if { ac_try='./conftest$ac_cv_exeext'
26411.9Slukem  { { case "(($ac_try" in
26421.9Slukem  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26431.9Slukem  *) ac_try_echo=$ac_try;;
26441.9Slukemesac
26451.9Slukemeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
26461.9Slukem$as_echo "$ac_try_echo"; } >&5
26471.9Slukem  (eval "$ac_try") 2>&5
26481.9Slukem  ac_status=$?
26491.9Slukem  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26501.9Slukem  test $ac_status = 0; }; }; then
26511.9Slukem    cross_compiling=no
26521.9Slukem  else
26531.9Slukem    if test "$cross_compiling" = maybe; then
26541.9Slukem	cross_compiling=yes
26551.9Slukem    else
26561.9Slukem	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26571.9Slukem$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26581.9Slukemas_fn_error $? "cannot run C compiled programs.
26591.9SlukemIf you meant to cross compile, use \`--host'.
26601.9SlukemSee \`config.log' for more details" "$LINENO" 5; }
26611.9Slukem    fi
26621.9Slukem  fi
26631.9Slukemfi
26641.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
26651.9Slukem$as_echo "$cross_compiling" >&6; }
26661.9Slukem
26671.9Slukemrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
26681.9Slukemac_clean_files=$ac_clean_files_save
26691.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
26701.9Slukem$as_echo_n "checking for suffix of object files... " >&6; }
26711.9Slukemif ${ac_cv_objext+:} false; then :
26721.9Slukem  $as_echo_n "(cached) " >&6
26731.9Slukemelse
26741.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26751.9Slukem/* end confdefs.h.  */
26761.1Stv
26771.1Stvint
26781.1Stvmain ()
26791.1Stv{
26801.1Stv
26811.1Stv  ;
26821.1Stv  return 0;
26831.1Stv}
26841.1Stv_ACEOF
26851.1Stvrm -f conftest.o conftest.obj
26861.9Slukemif { { ac_try="$ac_compile"
26871.9Slukemcase "(($ac_try" in
26881.9Slukem  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26891.9Slukem  *) ac_try_echo=$ac_try;;
26901.9Slukemesac
26911.9Slukemeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
26921.9Slukem$as_echo "$ac_try_echo"; } >&5
26931.9Slukem  (eval "$ac_compile") 2>&5
26941.1Stv  ac_status=$?
26951.9Slukem  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26961.9Slukem  test $ac_status = 0; }; then :
26971.9Slukem  for ac_file in conftest.o conftest.obj conftest.*; do
26981.9Slukem  test -f "$ac_file" || continue;
26991.1Stv  case $ac_file in
27001.9Slukem    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
27011.1Stv    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
27021.1Stv       break;;
27031.1Stv  esac
27041.1Stvdone
27051.1Stvelse
27061.9Slukem  $as_echo "$as_me: failed program was:" >&5
27071.9Slukemsed 's/^/| /' conftest.$ac_ext >&5
27081.9Slukem
27091.9Slukem{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27101.9Slukem$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27111.9Slukemas_fn_error $? "cannot compute suffix of object files: cannot compile
27121.9SlukemSee \`config.log' for more details" "$LINENO" 5; }
27131.1Stvfi
27141.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext
27151.1Stvfi
27161.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
27171.9Slukem$as_echo "$ac_cv_objext" >&6; }
27181.1StvOBJEXT=$ac_cv_objext
27191.1Stvac_objext=$OBJEXT
27201.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
27211.9Slukem$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
27221.9Slukemif ${ac_cv_c_compiler_gnu+:} false; then :
27231.9Slukem  $as_echo_n "(cached) " >&6
27241.9Slukemelse
27251.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27261.9Slukem/* end confdefs.h.  */
27271.1Stv
27281.1Stvint
27291.1Stvmain ()
27301.1Stv{
27311.1Stv#ifndef __GNUC__
27321.1Stv       choke me
27331.1Stv#endif
27341.1Stv
27351.1Stv  ;
27361.1Stv  return 0;
27371.1Stv}
27381.1Stv_ACEOF
27391.9Slukemif ac_fn_c_try_compile "$LINENO"; then :
27401.1Stv  ac_compiler_gnu=yes
27411.1Stvelse
27421.9Slukem  ac_compiler_gnu=no
27431.1Stvfi
27441.9Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27451.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
27461.1Stv
27471.1Stvfi
27481.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
27491.9Slukem$as_echo "$ac_cv_c_compiler_gnu" >&6; }
27501.9Slukemif test $ac_compiler_gnu = yes; then
27511.9Slukem  GCC=yes
27521.9Slukemelse
27531.9Slukem  GCC=
27541.9Slukemfi
27551.1Stvac_test_CFLAGS=${CFLAGS+set}
27561.1Stvac_save_CFLAGS=$CFLAGS
27571.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
27581.9Slukem$as_echo_n "checking whether $CC accepts -g... " >&6; }
27591.9Slukemif ${ac_cv_prog_cc_g+:} false; then :
27601.9Slukem  $as_echo_n "(cached) " >&6
27611.9Slukemelse
27621.9Slukem  ac_save_c_werror_flag=$ac_c_werror_flag
27631.9Slukem   ac_c_werror_flag=yes
27641.9Slukem   ac_cv_prog_cc_g=no
27651.9Slukem   CFLAGS="-g"
27661.9Slukem   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27671.9Slukem/* end confdefs.h.  */
27681.1Stv
27691.1Stvint
27701.1Stvmain ()
27711.1Stv{
27721.1Stv
27731.1Stv  ;
27741.1Stv  return 0;
27751.1Stv}
27761.1Stv_ACEOF
27771.9Slukemif ac_fn_c_try_compile "$LINENO"; then :
27781.1Stv  ac_cv_prog_cc_g=yes
27791.1Stvelse
27801.9Slukem  CFLAGS=""
27811.9Slukem      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27821.9Slukem/* end confdefs.h.  */
27831.9Slukem
27841.9Slukemint
27851.9Slukemmain ()
27861.9Slukem{
27871.9Slukem
27881.9Slukem  ;
27891.9Slukem  return 0;
27901.9Slukem}
27911.9Slukem_ACEOF
27921.9Slukemif ac_fn_c_try_compile "$LINENO"; then :
27931.9Slukem
27941.9Slukemelse
27951.9Slukem  ac_c_werror_flag=$ac_save_c_werror_flag
27961.9Slukem	 CFLAGS="-g"
27971.9Slukem	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27981.9Slukem/* end confdefs.h.  */
27991.9Slukem
28001.9Slukemint
28011.9Slukemmain ()
28021.9Slukem{
28031.9Slukem
28041.9Slukem  ;
28051.9Slukem  return 0;
28061.9Slukem}
28071.9Slukem_ACEOF
28081.9Slukemif ac_fn_c_try_compile "$LINENO"; then :
28091.9Slukem  ac_cv_prog_cc_g=yes
28101.9Slukemfi
28111.9Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28121.1Stvfi
28131.9Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28141.1Stvfi
28151.9Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28161.9Slukem   ac_c_werror_flag=$ac_save_c_werror_flag
28171.9Slukemfi
28181.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
28191.9Slukem$as_echo "$ac_cv_prog_cc_g" >&6; }
28201.1Stvif test "$ac_test_CFLAGS" = set; then
28211.1Stv  CFLAGS=$ac_save_CFLAGS
28221.1Stvelif test $ac_cv_prog_cc_g = yes; then
28231.1Stv  if test "$GCC" = yes; then
28241.1Stv    CFLAGS="-g -O2"
28251.1Stv  else
28261.1Stv    CFLAGS="-g"
28271.1Stv  fi
28281.1Stvelse
28291.1Stv  if test "$GCC" = yes; then
28301.1Stv    CFLAGS="-O2"
28311.1Stv  else
28321.1Stv    CFLAGS=
28331.1Stv  fi
28341.1Stvfi
28351.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
28361.9Slukem$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
28371.9Slukemif ${ac_cv_prog_cc_c89+:} false; then :
28381.9Slukem  $as_echo_n "(cached) " >&6
28391.9Slukemelse
28401.9Slukem  ac_cv_prog_cc_c89=no
28411.9Slukemac_save_CC=$CC
28421.9Slukemcat confdefs.h - <<_ACEOF >conftest.$ac_ext
28431.9Slukem/* end confdefs.h.  */
28441.9Slukem#include <stdarg.h>
28451.9Slukem#include <stdio.h>
28461.9Slukemstruct stat;
28471.9Slukem/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
28481.9Slukemstruct buf { int x; };
28491.9SlukemFILE * (*rcsopen) (struct buf *, struct stat *, int);
28501.9Slukemstatic char *e (p, i)
28511.9Slukem     char **p;
28521.9Slukem     int i;
28531.9Slukem{
28541.9Slukem  return p[i];
28551.9Slukem}
28561.9Slukemstatic char *f (char * (*g) (char **, int), char **p, ...)
28571.1Stv{
28581.9Slukem  char *s;
28591.9Slukem  va_list v;
28601.9Slukem  va_start (v,p);
28611.9Slukem  s = g (p, va_arg (v,int));
28621.9Slukem  va_end (v);
28631.9Slukem  return s;
28641.1Stv}
28651.9Slukem
28661.9Slukem/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
28671.9Slukem   function prototypes and stuff, but not '\xHH' hex character constants.
28681.9Slukem   These don't provoke an error unfortunately, instead are silently treated
28691.9Slukem   as 'x'.  The following induces an error, until -std is added to get
28701.9Slukem   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
28711.9Slukem   array size at least.  It's necessary to write '\x00'==0 to get something
28721.9Slukem   that's true only with -std.  */
28731.9Slukemint osf4_cc_array ['\x00' == 0 ? 1 : -1];
28741.9Slukem
28751.9Slukem/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
28761.9Slukem   inside strings and character constants.  */
28771.9Slukem#define FOO(x) 'x'
28781.9Slukemint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
28791.9Slukem
28801.9Slukemint test (int i, double x);
28811.9Slukemstruct s1 {int (*f) (int a);};
28821.9Slukemstruct s2 {int (*f) (double a);};
28831.9Slukemint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
28841.9Slukemint argc;
28851.9Slukemchar **argv;
28861.1Stvint
28871.1Stvmain ()
28881.1Stv{
28891.9Slukemreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
28901.1Stv  ;
28911.1Stv  return 0;
28921.1Stv}
28931.1Stv_ACEOF
28941.9Slukemfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
28951.9Slukem	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
28961.9Slukemdo
28971.9Slukem  CC="$ac_save_CC $ac_arg"
28981.9Slukem  if ac_fn_c_try_compile "$LINENO"; then :
28991.9Slukem  ac_cv_prog_cc_c89=$ac_arg
29001.1Stvfi
29011.9Slukemrm -f core conftest.err conftest.$ac_objext
29021.9Slukem  test "x$ac_cv_prog_cc_c89" != "xno" && break
29031.1Stvdone
29041.9Slukemrm -f conftest.$ac_ext
29051.9SlukemCC=$ac_save_CC
29061.9Slukem
29071.1Stvfi
29081.9Slukem# AC_CACHE_VAL
29091.9Slukemcase "x$ac_cv_prog_cc_c89" in
29101.9Slukem  x)
29111.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
29121.9Slukem$as_echo "none needed" >&6; } ;;
29131.9Slukem  xno)
29141.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
29151.9Slukem$as_echo "unsupported" >&6; } ;;
29161.9Slukem  *)
29171.9Slukem    CC="$CC $ac_cv_prog_cc_c89"
29181.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
29191.9Slukem$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
29201.9Slukemesac
29211.9Slukemif test "x$ac_cv_prog_cc_c89" != xno; then :
29221.1Stv
29231.1Stvfi
29241.9Slukem
29251.1Stvac_ext=c
29261.1Stvac_cpp='$CPP $CPPFLAGS'
29271.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29281.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29291.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
29301.1Stv
29311.9Slukem
29321.1Stvac_ext=c
29331.1Stvac_cpp='$CPP $CPPFLAGS'
29341.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29351.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29361.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
29371.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
29381.9Slukem$as_echo_n "checking how to run the C preprocessor... " >&6; }
29391.1Stv# On Suns, sometimes $CPP names a directory.
29401.1Stvif test -n "$CPP" && test -d "$CPP"; then
29411.1Stv  CPP=
29421.1Stvfi
29431.1Stvif test -z "$CPP"; then
29441.9Slukem  if ${ac_cv_prog_CPP+:} false; then :
29451.9Slukem  $as_echo_n "(cached) " >&6
29461.1Stvelse
29471.1Stv      # Double quotes because CPP needs to be expanded
29481.1Stv    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
29491.1Stv    do
29501.1Stv      ac_preproc_ok=false
29511.1Stvfor ac_c_preproc_warn_flag in '' yes
29521.1Stvdo
29531.1Stv  # Use a header file that comes with gcc, so configuring glibc
29541.1Stv  # with a fresh cross-compiler works.
29551.9Slukem  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29561.9Slukem  # <limits.h> exists even on freestanding compilers.
29571.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
29581.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
29591.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29601.9Slukem/* end confdefs.h.  */
29611.9Slukem#ifdef __STDC__
29621.9Slukem# include <limits.h>
29631.9Slukem#else
29641.9Slukem# include <assert.h>
29651.9Slukem#endif
29661.9Slukem		     Syntax error
29671.1Stv_ACEOF
29681.9Slukemif ac_fn_c_try_cpp "$LINENO"; then :
29691.9Slukem
29701.1Stvelse
29711.1Stv  # Broken: fails on valid input.
29721.1Stvcontinue
29731.1Stvfi
29741.9Slukemrm -f conftest.err conftest.i conftest.$ac_ext
29751.1Stv
29761.9Slukem  # OK, works on sane cases.  Now check whether nonexistent headers
29771.1Stv  # can be detected and how.
29781.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29791.9Slukem/* end confdefs.h.  */
29801.1Stv#include <ac_nonexistent.h>
29811.1Stv_ACEOF
29821.9Slukemif ac_fn_c_try_cpp "$LINENO"; then :
29831.9Slukem  # Broken: success on invalid input.
29841.1Stvcontinue
29851.1Stvelse
29861.1Stv  # Passes both tests.
29871.1Stvac_preproc_ok=:
29881.1Stvbreak
29891.1Stvfi
29901.9Slukemrm -f conftest.err conftest.i conftest.$ac_ext
29911.1Stv
29921.1Stvdone
29931.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
29941.9Slukemrm -f conftest.i conftest.err conftest.$ac_ext
29951.9Slukemif $ac_preproc_ok; then :
29961.1Stv  break
29971.1Stvfi
29981.1Stv
29991.1Stv    done
30001.1Stv    ac_cv_prog_CPP=$CPP
30011.1Stv
30021.1Stvfi
30031.1Stv  CPP=$ac_cv_prog_CPP
30041.1Stvelse
30051.1Stv  ac_cv_prog_CPP=$CPP
30061.1Stvfi
30071.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
30081.9Slukem$as_echo "$CPP" >&6; }
30091.1Stvac_preproc_ok=false
30101.1Stvfor ac_c_preproc_warn_flag in '' yes
30111.1Stvdo
30121.1Stv  # Use a header file that comes with gcc, so configuring glibc
30131.1Stv  # with a fresh cross-compiler works.
30141.9Slukem  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30151.9Slukem  # <limits.h> exists even on freestanding compilers.
30161.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
30171.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
30181.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30191.9Slukem/* end confdefs.h.  */
30201.9Slukem#ifdef __STDC__
30211.9Slukem# include <limits.h>
30221.9Slukem#else
30231.9Slukem# include <assert.h>
30241.9Slukem#endif
30251.9Slukem		     Syntax error
30261.1Stv_ACEOF
30271.9Slukemif ac_fn_c_try_cpp "$LINENO"; then :
30281.9Slukem
30291.1Stvelse
30301.1Stv  # Broken: fails on valid input.
30311.1Stvcontinue
30321.1Stvfi
30331.9Slukemrm -f conftest.err conftest.i conftest.$ac_ext
30341.1Stv
30351.9Slukem  # OK, works on sane cases.  Now check whether nonexistent headers
30361.1Stv  # can be detected and how.
30371.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30381.9Slukem/* end confdefs.h.  */
30391.1Stv#include <ac_nonexistent.h>
30401.1Stv_ACEOF
30411.9Slukemif ac_fn_c_try_cpp "$LINENO"; then :
30421.1Stv  # Broken: success on invalid input.
30431.1Stvcontinue
30441.1Stvelse
30451.1Stv  # Passes both tests.
30461.1Stvac_preproc_ok=:
30471.1Stvbreak
30481.1Stvfi
30491.9Slukemrm -f conftest.err conftest.i conftest.$ac_ext
30501.1Stv
30511.1Stvdone
30521.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
30531.9Slukemrm -f conftest.i conftest.err conftest.$ac_ext
30541.9Slukemif $ac_preproc_ok; then :
30551.9Slukem
30561.1Stvelse
30571.9Slukem  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30581.9Slukem$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30591.9Slukemas_fn_error $? "C preprocessor \"$CPP\" fails sanity check
30601.9SlukemSee \`config.log' for more details" "$LINENO" 5; }
30611.1Stvfi
30621.1Stv
30631.1Stvac_ext=c
30641.1Stvac_cpp='$CPP $CPPFLAGS'
30651.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30661.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30671.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
30681.1Stv
30691.9Slukem
30701.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
30711.9Slukem$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
30721.9Slukemif ${ac_cv_path_GREP+:} false; then :
30731.9Slukem  $as_echo_n "(cached) " >&6
30741.9Slukemelse
30751.9Slukem  if test -z "$GREP"; then
30761.9Slukem  ac_path_GREP_found=false
30771.9Slukem  # Loop through the user's path and test for each of PROGNAME-LIST
30781.9Slukem  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30791.9Slukemfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
30801.9Slukemdo
30811.9Slukem  IFS=$as_save_IFS
30821.9Slukem  test -z "$as_dir" && as_dir=.
30831.9Slukem    for ac_prog in grep ggrep; do
30841.9Slukem    for ac_exec_ext in '' $ac_executable_extensions; do
30851.9Slukem      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
30861.9Slukem      as_fn_executable_p "$ac_path_GREP" || continue
30871.9Slukem# Check for GNU ac_path_GREP and select it if it is found.
30881.9Slukem  # Check for GNU $ac_path_GREP
30891.9Slukemcase `"$ac_path_GREP" --version 2>&1` in
30901.9Slukem*GNU*)
30911.9Slukem  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
30921.9Slukem*)
30931.9Slukem  ac_count=0
30941.9Slukem  $as_echo_n 0123456789 >"conftest.in"
30951.9Slukem  while :
30961.9Slukem  do
30971.9Slukem    cat "conftest.in" "conftest.in" >"conftest.tmp"
30981.9Slukem    mv "conftest.tmp" "conftest.in"
30991.9Slukem    cp "conftest.in" "conftest.nl"
31001.9Slukem    $as_echo 'GREP' >> "conftest.nl"
31011.9Slukem    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
31021.9Slukem    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
31031.9Slukem    as_fn_arith $ac_count + 1 && ac_count=$as_val
31041.9Slukem    if test $ac_count -gt ${ac_path_GREP_max-0}; then
31051.9Slukem      # Best one so far, save it but keep looking for a better one
31061.9Slukem      ac_cv_path_GREP="$ac_path_GREP"
31071.9Slukem      ac_path_GREP_max=$ac_count
31081.9Slukem    fi
31091.9Slukem    # 10*(2^10) chars as input seems more than enough
31101.9Slukem    test $ac_count -gt 10 && break
31111.9Slukem  done
31121.9Slukem  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
31131.9Slukemesac
31141.9Slukem
31151.9Slukem      $ac_path_GREP_found && break 3
31161.9Slukem    done
31171.9Slukem  done
31181.9Slukem  done
31191.9SlukemIFS=$as_save_IFS
31201.9Slukem  if test -z "$ac_cv_path_GREP"; then
31211.9Slukem    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
31221.1Stv  fi
31231.1Stvelse
31241.9Slukem  ac_cv_path_GREP=$GREP
31251.1Stvfi
31261.9Slukem
31271.9Slukemfi
31281.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
31291.9Slukem$as_echo "$ac_cv_path_GREP" >&6; }
31301.9Slukem GREP="$ac_cv_path_GREP"
31311.9Slukem
31321.9Slukem
31331.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
31341.9Slukem$as_echo_n "checking for egrep... " >&6; }
31351.9Slukemif ${ac_cv_path_EGREP+:} false; then :
31361.9Slukem  $as_echo_n "(cached) " >&6
31371.1Stvelse
31381.9Slukem  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
31391.9Slukem   then ac_cv_path_EGREP="$GREP -E"
31401.9Slukem   else
31411.9Slukem     if test -z "$EGREP"; then
31421.9Slukem  ac_path_EGREP_found=false
31431.9Slukem  # Loop through the user's path and test for each of PROGNAME-LIST
31441.9Slukem  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31451.9Slukemfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
31461.9Slukemdo
31471.9Slukem  IFS=$as_save_IFS
31481.9Slukem  test -z "$as_dir" && as_dir=.
31491.9Slukem    for ac_prog in egrep; do
31501.9Slukem    for ac_exec_ext in '' $ac_executable_extensions; do
31511.9Slukem      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
31521.9Slukem      as_fn_executable_p "$ac_path_EGREP" || continue
31531.9Slukem# Check for GNU ac_path_EGREP and select it if it is found.
31541.9Slukem  # Check for GNU $ac_path_EGREP
31551.9Slukemcase `"$ac_path_EGREP" --version 2>&1` in
31561.9Slukem*GNU*)
31571.9Slukem  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
31581.9Slukem*)
31591.9Slukem  ac_count=0
31601.9Slukem  $as_echo_n 0123456789 >"conftest.in"
31611.9Slukem  while :
31621.9Slukem  do
31631.9Slukem    cat "conftest.in" "conftest.in" >"conftest.tmp"
31641.9Slukem    mv "conftest.tmp" "conftest.in"
31651.9Slukem    cp "conftest.in" "conftest.nl"
31661.9Slukem    $as_echo 'EGREP' >> "conftest.nl"
31671.9Slukem    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
31681.9Slukem    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
31691.9Slukem    as_fn_arith $ac_count + 1 && ac_count=$as_val
31701.9Slukem    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
31711.9Slukem      # Best one so far, save it but keep looking for a better one
31721.9Slukem      ac_cv_path_EGREP="$ac_path_EGREP"
31731.9Slukem      ac_path_EGREP_max=$ac_count
31741.9Slukem    fi
31751.9Slukem    # 10*(2^10) chars as input seems more than enough
31761.9Slukem    test $ac_count -gt 10 && break
31771.9Slukem  done
31781.9Slukem  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
31791.9Slukemesac
31801.9Slukem
31811.9Slukem      $ac_path_EGREP_found && break 3
31821.9Slukem    done
31831.9Slukem  done
31841.9Slukem  done
31851.9SlukemIFS=$as_save_IFS
31861.9Slukem  if test -z "$ac_cv_path_EGREP"; then
31871.9Slukem    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
31881.9Slukem  fi
31891.9Slukemelse
31901.9Slukem  ac_cv_path_EGREP=$EGREP
31911.1Stvfi
31921.9Slukem
31931.9Slukem   fi
31941.1Stvfi
31951.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
31961.9Slukem$as_echo "$ac_cv_path_EGREP" >&6; }
31971.9Slukem EGREP="$ac_cv_path_EGREP"
31981.9Slukem
31991.9Slukem
32001.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
32011.9Slukem$as_echo_n "checking for ANSI C header files... " >&6; }
32021.9Slukemif ${ac_cv_header_stdc+:} false; then :
32031.9Slukem  $as_echo_n "(cached) " >&6
32041.9Slukemelse
32051.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32061.9Slukem/* end confdefs.h.  */
32071.9Slukem#include <stdlib.h>
32081.9Slukem#include <stdarg.h>
32091.9Slukem#include <string.h>
32101.9Slukem#include <float.h>
32111.9Slukem
32121.9Slukemint
32131.9Slukemmain ()
32141.9Slukem{
32151.9Slukem
32161.9Slukem  ;
32171.9Slukem  return 0;
32181.9Slukem}
32191.9Slukem_ACEOF
32201.9Slukemif ac_fn_c_try_compile "$LINENO"; then :
32211.9Slukem  ac_cv_header_stdc=yes
32221.1Stvelse
32231.9Slukem  ac_cv_header_stdc=no
32241.1Stvfi
32251.9Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32261.9Slukem
32271.9Slukemif test $ac_cv_header_stdc = yes; then
32281.9Slukem  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
32291.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32301.9Slukem/* end confdefs.h.  */
32311.9Slukem#include <string.h>
32321.1Stv
32331.5Sthorpej_ACEOF
32341.9Slukemif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32351.9Slukem  $EGREP "memchr" >/dev/null 2>&1; then :
32361.9Slukem
32371.5Sthorpejelse
32381.9Slukem  ac_cv_header_stdc=no
32391.5Sthorpejfi
32401.9Slukemrm -f conftest*
32411.9Slukem
32421.9Slukemfi
32431.9Slukem
32441.9Slukemif test $ac_cv_header_stdc = yes; then
32451.9Slukem  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
32461.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32471.9Slukem/* end confdefs.h.  */
32481.9Slukem#include <stdlib.h>
32491.9Slukem
32501.9Slukem_ACEOF
32511.9Slukemif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32521.9Slukem  $EGREP "free" >/dev/null 2>&1; then :
32531.9Slukem
32541.5Sthorpejelse
32551.9Slukem  ac_cv_header_stdc=no
32561.5Sthorpejfi
32571.9Slukemrm -f conftest*
32581.9Slukem
32591.5Sthorpejfi
32601.9Slukem
32611.9Slukemif test $ac_cv_header_stdc = yes; then
32621.9Slukem  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
32631.9Slukem  if test "$cross_compiling" = yes; then :
32641.5Sthorpej  :
32651.5Sthorpejelse
32661.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32671.9Slukem/* end confdefs.h.  */
32681.9Slukem#include <ctype.h>
32691.9Slukem#include <stdlib.h>
32701.9Slukem#if ((' ' & 0x0FF) == 0x020)
32711.9Slukem# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
32721.9Slukem# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
32731.9Slukem#else
32741.9Slukem# define ISLOWER(c) \
32751.9Slukem		   (('a' <= (c) && (c) <= 'i') \
32761.9Slukem		     || ('j' <= (c) && (c) <= 'r') \
32771.9Slukem		     || ('s' <= (c) && (c) <= 'z'))
32781.9Slukem# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
32791.9Slukem#endif
32801.9Slukem
32811.9Slukem#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
32821.9Slukemint
32831.9Slukemmain ()
32841.9Slukem{
32851.9Slukem  int i;
32861.9Slukem  for (i = 0; i < 256; i++)
32871.9Slukem    if (XOR (islower (i), ISLOWER (i))
32881.9Slukem	|| toupper (i) != TOUPPER (i))
32891.9Slukem      return 2;
32901.9Slukem  return 0;
32911.9Slukem}
32921.9Slukem_ACEOF
32931.9Slukemif ac_fn_c_try_run "$LINENO"; then :
32941.9Slukem
32951.9Slukemelse
32961.9Slukem  ac_cv_header_stdc=no
32971.9Slukemfi
32981.9Slukemrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
32991.9Slukem  conftest.$ac_objext conftest.beam conftest.$ac_ext
33001.9Slukemfi
33011.9Slukem
33021.9Slukemfi
33031.9Slukemfi
33041.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
33051.9Slukem$as_echo "$ac_cv_header_stdc" >&6; }
33061.9Slukemif test $ac_cv_header_stdc = yes; then
33071.9Slukem
33081.9Slukem$as_echo "#define STDC_HEADERS 1" >>confdefs.h
33091.9Slukem
33101.9Slukemfi
33111.9Slukem
33121.9Slukem# On IRIX 5.3, sys/types and inttypes.h are conflicting.
33131.9Slukemfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
33141.9Slukem		  inttypes.h stdint.h unistd.h
33151.9Slukemdo :
33161.9Slukem  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
33171.9Slukemac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
33181.9Slukem"
33191.9Slukemif eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
33201.9Slukem  cat >>confdefs.h <<_ACEOF
33211.9Slukem#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
33221.9Slukem_ACEOF
33231.9Slukem
33241.9Slukemfi
33251.9Slukem
33261.9Slukemdone
33271.9Slukem
33281.9Slukem
33291.9Slukemac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
33301.9Slukemif test "x$ac_cv_header_regex_h" = xyes; then :
33311.9Slukem
33321.9Slukemelse
33331.9Slukem  as_fn_error $? "POSIX regex.h is required" "$LINENO" 5
33341.9Slukemfi
33351.9Slukem
33361.9Slukem
33371.9Slukem
33381.9Slukem# If we don't have <poll.h>, we need to use select(2).
33391.9Slukemac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
33401.9Slukemif test "x$ac_cv_header_poll_h" = xyes; then :
33411.9Slukem
33421.9Slukemelse
33431.9Slukem  $as_echo "#define USE_SELECT 1" >>confdefs.h
33441.5Sthorpej
33451.5Sthorpejfi
33461.5Sthorpej
33471.9Slukem
33481.9Slukem
33491.1Stv# regcomp() and regexec() are also names of functions in the old V8
33501.1Stv# regexp package.  To avoid them, we need to find out who has regfree().
33511.1Stv
33521.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for regfree in -lregex" >&5
33531.9Slukem$as_echo_n "checking for regfree in -lregex... " >&6; }
33541.9Slukemif ${ac_cv_lib_regex_regfree+:} false; then :
33551.9Slukem  $as_echo_n "(cached) " >&6
33561.1Stvelse
33571.1Stv  ac_check_lib_save_LIBS=$LIBS
33581.1StvLIBS="-lregex  $LIBS"
33591.9Slukemcat confdefs.h - <<_ACEOF >conftest.$ac_ext
33601.9Slukem/* end confdefs.h.  */
33611.1Stv
33621.9Slukem/* Override any GCC internal prototype to avoid an error.
33631.9Slukem   Use char because int might match the return type of a GCC
33641.9Slukem   builtin and then its argument prototype would still apply.  */
33651.1Stv#ifdef __cplusplus
33661.1Stvextern "C"
33671.1Stv#endif
33681.1Stvchar regfree ();
33691.1Stvint
33701.1Stvmain ()
33711.1Stv{
33721.9Slukemreturn regfree ();
33731.1Stv  ;
33741.1Stv  return 0;
33751.1Stv}
33761.1Stv_ACEOF
33771.9Slukemif ac_fn_c_try_link "$LINENO"; then :
33781.1Stv  ac_cv_lib_regex_regfree=yes
33791.1Stvelse
33801.9Slukem  ac_cv_lib_regex_regfree=no
33811.1Stvfi
33821.9Slukemrm -f core conftest.err conftest.$ac_objext \
33831.9Slukem    conftest$ac_exeext conftest.$ac_ext
33841.1StvLIBS=$ac_check_lib_save_LIBS
33851.1Stvfi
33861.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regfree" >&5
33871.9Slukem$as_echo "$ac_cv_lib_regex_regfree" >&6; }
33881.9Slukemif test "x$ac_cv_lib_regex_regfree" = xyes; then :
33891.9Slukem  cat >>confdefs.h <<_ACEOF
33901.1Stv#define HAVE_LIBREGEX 1
33911.9Slukem_ACEOF
33921.1Stv
33931.1Stv  LIBS="-lregex $LIBS"
33941.1Stv
33951.1Stvfi
33961.1Stv
33971.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regfree" >&5
33981.9Slukem$as_echo_n "checking for library containing regfree... " >&6; }
33991.9Slukemif ${ac_cv_search_regfree+:} false; then :
34001.9Slukem  $as_echo_n "(cached) " >&6
34011.1Stvelse
34021.1Stv  ac_func_search_save_LIBS=$LIBS
34031.9Slukemcat confdefs.h - <<_ACEOF >conftest.$ac_ext
34041.9Slukem/* end confdefs.h.  */
34051.1Stv
34061.9Slukem/* Override any GCC internal prototype to avoid an error.
34071.9Slukem   Use char because int might match the return type of a GCC
34081.9Slukem   builtin and then its argument prototype would still apply.  */
34091.1Stv#ifdef __cplusplus
34101.1Stvextern "C"
34111.1Stv#endif
34121.1Stvchar regfree ();
34131.1Stvint
34141.1Stvmain ()
34151.1Stv{
34161.9Slukemreturn regfree ();
34171.1Stv  ;
34181.1Stv  return 0;
34191.1Stv}
34201.1Stv_ACEOF
34211.9Slukemfor ac_lib in '' rx posix; do
34221.9Slukem  if test -z "$ac_lib"; then
34231.9Slukem    ac_res="none required"
34241.9Slukem  else
34251.9Slukem    ac_res=-l$ac_lib
34261.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
34271.9Slukem  fi
34281.9Slukem  if ac_fn_c_try_link "$LINENO"; then :
34291.9Slukem  ac_cv_search_regfree=$ac_res
34301.9Slukemfi
34311.9Slukemrm -f core conftest.err conftest.$ac_objext \
34321.9Slukem    conftest$ac_exeext
34331.9Slukem  if ${ac_cv_search_regfree+:} false; then :
34341.9Slukem  break
34351.9Slukemfi
34361.9Slukemdone
34371.9Slukemif ${ac_cv_search_regfree+:} false; then :
34381.9Slukem
34391.9Slukemelse
34401.9Slukem  ac_cv_search_regfree=no
34411.9Slukemfi
34421.9Slukemrm conftest.$ac_ext
34431.9SlukemLIBS=$ac_func_search_save_LIBS
34441.9Slukemfi
34451.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regfree" >&5
34461.9Slukem$as_echo "$ac_cv_search_regfree" >&6; }
34471.9Slukemac_res=$ac_cv_search_regfree
34481.9Slukemif test "$ac_res" != no; then :
34491.9Slukem  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
34501.9Slukem
34511.9Slukemfi
34521.9Slukem
34531.9Slukem
34541.9Slukemfor ac_func in setenv strdup strerror strftime vsnprintf
34551.9Slukemdo :
34561.9Slukem  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34571.9Slukemac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34581.9Slukemif eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34591.9Slukem  cat >>confdefs.h <<_ACEOF
34601.9Slukem#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34611.9Slukem_ACEOF
34621.9Slukem
34631.9Slukemfi
34641.9Slukemdone
34651.9Slukem
34661.9Slukem
34671.9Slukemnb_cv_check_cc_flags=
34681.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
34691.9Slukem$as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
34701.9Slukemif ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then :
34711.9Slukem  $as_echo_n "(cached) " >&6
34721.9Slukemelse
34731.9Slukem
34741.9Slukem  ax_check_save_flags=$CFLAGS
34751.9Slukem  CFLAGS="$CFLAGS  -Werror=unknown-warning-option"
34761.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34771.9Slukem/* end confdefs.h.  */
34781.1Stv
34791.1Stvint
34801.1Stvmain ()
34811.1Stv{
34821.9Slukem
34831.1Stv  ;
34841.1Stv  return 0;
34851.1Stv}
34861.1Stv_ACEOF
34871.9Slukemif ac_fn_c_try_compile "$LINENO"; then :
34881.9Slukem  ax_cv_check_cflags___Werror_unknown_warning_option=yes
34891.1Stvelse
34901.9Slukem  ax_cv_check_cflags___Werror_unknown_warning_option=no
34911.1Stvfi
34921.9Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34931.9Slukem  CFLAGS=$ax_check_save_flags
34941.1Stvfi
34951.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
34961.9Slukem$as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
34971.9Slukemif test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then :
34981.9Slukem  nb_cv_check_cc_flags=-Werror=unknown-warning-option
34991.9Slukemelse
35001.9Slukem  :
35011.1Stvfi
35021.1Stv
35031.1Stv
35041.9Slukemas_CACHEVAR=`$as_echo "ax_cv_check_cflags_$nb_cv_check_cc_flags_-Wdeprecated-declarations" | $as_tr_sh`
35051.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wdeprecated-declarations" >&5
35061.9Slukem$as_echo_n "checking whether C compiler accepts -Wdeprecated-declarations... " >&6; }
35071.9Slukemif eval \${$as_CACHEVAR+:} false; then :
35081.9Slukem  $as_echo_n "(cached) " >&6
35091.9Slukemelse
35101.9Slukem
35111.9Slukem  ax_check_save_flags=$CFLAGS
35121.9Slukem  CFLAGS="$CFLAGS $nb_cv_check_cc_flags -Wdeprecated-declarations"
35131.9Slukem  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35141.9Slukem/* end confdefs.h.  */
35151.2Stv
35161.2Stvint
35171.2Stvmain ()
35181.2Stv{
35191.2Stv
35201.2Stv  ;
35211.2Stv  return 0;
35221.2Stv}
35231.2Stv_ACEOF
35241.9Slukemif ac_fn_c_try_compile "$LINENO"; then :
35251.9Slukem  eval "$as_CACHEVAR=yes"
35261.9Slukemelse
35271.9Slukem  eval "$as_CACHEVAR=no"
35281.9Slukemfi
35291.9Slukemrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35301.9Slukem  CFLAGS=$ax_check_save_flags
35311.9Slukemfi
35321.9Slukemeval ac_res=\$$as_CACHEVAR
35331.9Slukem	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
35341.9Slukem$as_echo "$ac_res" >&6; }
35351.9Slukemif eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
35361.9Slukem  NOWARNFLAGS=-Wno-deprecated-declarations
35371.9Slukemelse
35381.9Slukem  :
35391.9Slukemfi
35401.9Slukem
35411.9Slukem
35421.2Stv
35431.2Stv
35441.1Stvcat >confcache <<\_ACEOF
35451.1Stv# This file is a shell script that caches the results of configure
35461.1Stv# tests run on this system so they can be shared between configure
35471.1Stv# scripts and configure runs, see configure's option --config-cache.
35481.1Stv# It is not useful on other systems.  If it contains results you don't
35491.1Stv# want to keep, you may remove or edit it.
35501.1Stv#
35511.1Stv# config.status only pays attention to the cache file if you give it
35521.1Stv# the --recheck option to rerun configure.
35531.1Stv#
35541.9Slukem# `ac_cv_env_foo' variables (set or unset) will be overridden when
35551.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
35561.1Stv# following values.
35571.1Stv
35581.1Stv_ACEOF
35591.1Stv
35601.1Stv# The following way of writing the cache mishandles newlines in values,
35611.1Stv# but we know of no workaround that is simple, portable, and efficient.
35621.9Slukem# So, we kill variables containing newlines.
35631.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
35641.1Stv# and sets the high bit in the cache file unless we assign to the vars.
35651.9Slukem(
35661.9Slukem  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
35671.9Slukem    eval ac_val=\$$ac_var
35681.9Slukem    case $ac_val in #(
35691.9Slukem    *${as_nl}*)
35701.9Slukem      case $ac_var in #(
35711.9Slukem      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
35721.9Slukem$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
35731.9Slukem      esac
35741.9Slukem      case $ac_var in #(
35751.9Slukem      _ | IFS | as_nl) ;; #(
35761.9Slukem      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
35771.9Slukem      *) { eval $ac_var=; unset $ac_var;} ;;
35781.9Slukem      esac ;;
35791.9Slukem    esac
35801.9Slukem  done
35811.9Slukem
35821.1Stv  (set) 2>&1 |
35831.9Slukem    case $as_nl`(ac_space=' '; set) 2>&1` in #(
35841.9Slukem    *${as_nl}ac_space=\ *)
35851.9Slukem      # `set' does not quote correctly, so add quotes: double-quote
35861.9Slukem      # substitution turns \\\\ into \\, and sed turns \\ into \.
35871.1Stv      sed -n \
35881.9Slukem	"s/'/'\\\\''/g;
35891.9Slukem	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35901.9Slukem      ;; #(
35911.1Stv    *)
35921.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
35931.9Slukem      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
35941.1Stv      ;;
35951.9Slukem    esac |
35961.9Slukem    sort
35971.9Slukem) |
35981.1Stv  sed '
35991.9Slukem     /^ac_cv_env_/b end
36001.1Stv     t clear
36011.9Slukem     :clear
36021.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36031.1Stv     t end
36041.9Slukem     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36051.9Slukem     :end' >>confcache
36061.9Slukemif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
36071.9Slukem  if test -w "$cache_file"; then
36081.9Slukem    if test "x$cache_file" != "x/dev/null"; then
36091.9Slukem      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
36101.9Slukem$as_echo "$as_me: updating cache $cache_file" >&6;}
36111.9Slukem      if test ! -f "$cache_file" || test -h "$cache_file"; then
36121.9Slukem	cat confcache >"$cache_file"
36131.9Slukem      else
36141.9Slukem        case $cache_file in #(
36151.9Slukem        */* | ?:*)
36161.9Slukem	  mv -f confcache "$cache_file"$$ &&
36171.9Slukem	  mv -f "$cache_file"$$ "$cache_file" ;; #(
36181.9Slukem        *)
36191.9Slukem	  mv -f confcache "$cache_file" ;;
36201.9Slukem	esac
36211.9Slukem      fi
36221.9Slukem    fi
36231.1Stv  else
36241.9Slukem    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
36251.9Slukem$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
36261.1Stv  fi
36271.1Stvfi
36281.1Stvrm -f confcache
36291.1Stv
36301.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
36311.1Stv# Let make expand exec_prefix.
36321.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
36331.1Stv
36341.1Stv# Transform confdefs.h into DEFS.
36351.1Stv# Protect against shell expansion while executing Makefile rules.
36361.1Stv# Protect against Makefile macro expansion.
36371.1Stv#
36381.1Stv# If the first sed substitution is executed (which looks for macros that
36391.9Slukem# take arguments), then branch to the quote section.  Otherwise,
36401.1Stv# look for a macro that doesn't take arguments.
36411.9Slukemac_script='
36421.9Slukem:mline
36431.9Slukem/\\$/{
36441.9Slukem N
36451.9Slukem s,\\\n,,
36461.9Slukem b mline
36471.9Slukem}
36481.1Stvt clear
36491.9Slukem:clear
36501.9Slukems/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
36511.1Stvt quote
36521.9Slukems/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
36531.1Stvt quote
36541.9Slukemb any
36551.9Slukem:quote
36561.9Slukems/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
36571.9Slukems/\[/\\&/g
36581.9Slukems/\]/\\&/g
36591.9Slukems/\$/$$/g
36601.9SlukemH
36611.9Slukem:any
36621.9Slukem${
36631.9Slukem	g
36641.9Slukem	s/^\n//
36651.9Slukem	s/\n/ /g
36661.9Slukem	p
36671.9Slukem}
36681.9Slukem'
36691.9SlukemDEFS=`sed -n "$ac_script" confdefs.h`
36701.9Slukem
36711.9Slukem
36721.9Slukemac_libobjs=
36731.9Slukemac_ltlibobjs=
36741.9SlukemU=
36751.9Slukemfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
36761.9Slukem  # 1. Remove the extension, and $U if already installed.
36771.9Slukem  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
36781.9Slukem  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
36791.9Slukem  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
36801.9Slukem  #    will be set to the directory where LIBOBJS objects are built.
36811.9Slukem  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
36821.9Slukem  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
36831.9Slukemdone
36841.9SlukemLIBOBJS=$ac_libobjs
36851.9Slukem
36861.9SlukemLTLIBOBJS=$ac_ltlibobjs
36871.9Slukem
36881.9Slukem
36891.1Stv
36901.9Slukem: "${CONFIG_STATUS=./config.status}"
36911.9Slukemac_write_fail=0
36921.1Stvac_clean_files_save=$ac_clean_files
36931.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
36941.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
36951.9Slukem$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
36961.9Slukemas_write_fail=0
36971.9Slukemcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
36981.1Stv#! $SHELL
36991.9Slukem# Generated by $as_me.
37001.1Stv# Run this file to recreate the current configuration.
37011.1Stv# Compiler output produced by configure, useful for debugging
37021.1Stv# configure, is in config.log if it exists.
37031.1Stv
37041.1Stvdebug=false
37051.9Slukemac_cs_recheck=false
37061.9Slukemac_cs_silent=false
37071.9Slukem
37081.1StvSHELL=\${CONFIG_SHELL-$SHELL}
37091.9Slukemexport SHELL
37101.9Slukem_ASEOF
37111.9Slukemcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
37121.9Slukem## -------------------- ##
37131.9Slukem## M4sh Initialization. ##
37141.9Slukem## -------------------- ##
37151.9Slukem
37161.9Slukem# Be more Bourne compatible
37171.9SlukemDUALCASE=1; export DUALCASE # for MKS sh
37181.9Slukemif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
37191.9Slukem  emulate sh
37201.9Slukem  NULLCMD=:
37211.9Slukem  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
37221.9Slukem  # is contrary to our usage.  Disable this feature.
37231.9Slukem  alias -g '${1+"$@"}'='"$@"'
37241.9Slukem  setopt NO_GLOB_SUBST
37251.9Slukemelse
37261.9Slukem  case `(set -o) 2>/dev/null` in #(
37271.9Slukem  *posix*) :
37281.9Slukem    set -o posix ;; #(
37291.9Slukem  *) :
37301.9Slukem     ;;
37311.9Slukemesac
37321.9Slukemfi
37331.1Stv
37341.1Stv
37351.9Slukemas_nl='
37361.9Slukem'
37371.9Slukemexport as_nl
37381.9Slukem# Printing a long string crashes Solaris 7 /usr/bin/printf.
37391.9Slukemas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
37401.9Slukemas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
37411.9Slukemas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
37421.9Slukem# Prefer a ksh shell builtin over an external printf program on Solaris,
37431.9Slukem# but without wasting forks for bash or zsh.
37441.9Slukemif test -z "$BASH_VERSION$ZSH_VERSION" \
37451.9Slukem    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
37461.9Slukem  as_echo='print -r --'
37471.9Slukem  as_echo_n='print -rn --'
37481.9Slukemelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
37491.9Slukem  as_echo='printf %s\n'
37501.9Slukem  as_echo_n='printf %s'
37511.9Slukemelse
37521.9Slukem  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
37531.9Slukem    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
37541.9Slukem    as_echo_n='/usr/ucb/echo -n'
37551.9Slukem  else
37561.9Slukem    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
37571.9Slukem    as_echo_n_body='eval
37581.9Slukem      arg=$1;
37591.9Slukem      case $arg in #(
37601.9Slukem      *"$as_nl"*)
37611.9Slukem	expr "X$arg" : "X\\(.*\\)$as_nl";
37621.9Slukem	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
37631.9Slukem      esac;
37641.9Slukem      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
37651.9Slukem    '
37661.9Slukem    export as_echo_n_body
37671.9Slukem    as_echo_n='sh -c $as_echo_n_body as_echo'
37681.9Slukem  fi
37691.9Slukem  export as_echo_body
37701.9Slukem  as_echo='sh -c $as_echo_body as_echo'
37711.9Slukemfi
37721.9Slukem
37731.9Slukem# The user is always right.
37741.9Slukemif test "${PATH_SEPARATOR+set}" != set; then
37751.9Slukem  PATH_SEPARATOR=:
37761.9Slukem  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
37771.9Slukem    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
37781.9Slukem      PATH_SEPARATOR=';'
37791.9Slukem  }
37801.1Stvfi
37811.1Stv
37821.1Stv
37831.9Slukem# IFS
37841.9Slukem# We need space, tab and new line, in precisely that order.  Quoting is
37851.9Slukem# there to prevent editors from complaining about space-tab.
37861.9Slukem# (If _AS_PATH_WALK were called with IFS unset, it would disable word
37871.9Slukem# splitting by setting IFS to empty value.)
37881.9SlukemIFS=" ""	$as_nl"
37891.9Slukem
37901.9Slukem# Find who we are.  Look in the path if we contain no directory separator.
37911.9Slukemas_myself=
37921.9Slukemcase $0 in #((
37931.9Slukem  *[\\/]* ) as_myself=$0 ;;
37941.9Slukem  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37951.9Slukemfor as_dir in $PATH
37961.9Slukemdo
37971.9Slukem  IFS=$as_save_IFS
37981.9Slukem  test -z "$as_dir" && as_dir=.
37991.9Slukem    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
38001.9Slukem  done
38011.9SlukemIFS=$as_save_IFS
38021.9Slukem
38031.9Slukem     ;;
38041.9Slukemesac
38051.9Slukem# We did not find ourselves, most probably we were run as `sh COMMAND'
38061.9Slukem# in which case we are not to be found in the path.
38071.9Slukemif test "x$as_myself" = x; then
38081.9Slukem  as_myself=$0
38091.9Slukemfi
38101.9Slukemif test ! -f "$as_myself"; then
38111.9Slukem  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
38121.9Slukem  exit 1
38131.9Slukemfi
38141.9Slukem
38151.9Slukem# Unset variables that we do not need and which cause bugs (e.g. in
38161.9Slukem# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
38171.9Slukem# suppresses any "Segmentation fault" message there.  '((' could
38181.9Slukem# trigger a bug in pdksh 5.2.14.
38191.9Slukemfor as_var in BASH_ENV ENV MAIL MAILPATH
38201.9Slukemdo eval test x\${$as_var+set} = xset \
38211.9Slukem  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
38221.9Slukemdone
38231.9SlukemPS1='$ '
38241.9SlukemPS2='> '
38251.9SlukemPS4='+ '
38261.9Slukem
38271.9Slukem# NLS nuisances.
38281.9SlukemLC_ALL=C
38291.9Slukemexport LC_ALL
38301.9SlukemLANGUAGE=C
38311.9Slukemexport LANGUAGE
38321.9Slukem
38331.9Slukem# CDPATH.
38341.9Slukem(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
38351.9Slukem
38361.9Slukem
38371.9Slukem# as_fn_error STATUS ERROR [LINENO LOG_FD]
38381.9Slukem# ----------------------------------------
38391.9Slukem# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
38401.9Slukem# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
38411.9Slukem# script with STATUS, using 1 if that was 0.
38421.9Slukemas_fn_error ()
38431.9Slukem{
38441.9Slukem  as_status=$1; test $as_status -eq 0 && as_status=1
38451.9Slukem  if test "$4"; then
38461.9Slukem    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
38471.9Slukem    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
38481.9Slukem  fi
38491.9Slukem  $as_echo "$as_me: error: $2" >&2
38501.9Slukem  as_fn_exit $as_status
38511.9Slukem} # as_fn_error
38521.9Slukem
38531.9Slukem
38541.9Slukem# as_fn_set_status STATUS
38551.9Slukem# -----------------------
38561.9Slukem# Set $? to STATUS, without forking.
38571.9Slukemas_fn_set_status ()
38581.9Slukem{
38591.9Slukem  return $1
38601.9Slukem} # as_fn_set_status
38611.9Slukem
38621.9Slukem# as_fn_exit STATUS
38631.9Slukem# -----------------
38641.9Slukem# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
38651.9Slukemas_fn_exit ()
38661.9Slukem{
38671.9Slukem  set +e
38681.9Slukem  as_fn_set_status $1
38691.9Slukem  exit $1
38701.9Slukem} # as_fn_exit
38711.9Slukem
38721.9Slukem# as_fn_unset VAR
38731.9Slukem# ---------------
38741.9Slukem# Portably unset VAR.
38751.9Slukemas_fn_unset ()
38761.9Slukem{
38771.9Slukem  { eval $1=; unset $1;}
38781.9Slukem}
38791.9Slukemas_unset=as_fn_unset
38801.9Slukem# as_fn_append VAR VALUE
38811.9Slukem# ----------------------
38821.9Slukem# Append the text in VALUE to the end of the definition contained in VAR. Take
38831.9Slukem# advantage of any shell optimizations that allow amortized linear growth over
38841.9Slukem# repeated appends, instead of the typical quadratic growth present in naive
38851.9Slukem# implementations.
38861.9Slukemif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
38871.9Slukem  eval 'as_fn_append ()
38881.9Slukem  {
38891.9Slukem    eval $1+=\$2
38901.9Slukem  }'
38911.9Slukemelse
38921.9Slukem  as_fn_append ()
38931.9Slukem  {
38941.9Slukem    eval $1=\$$1\$2
38951.9Slukem  }
38961.9Slukemfi # as_fn_append
38971.9Slukem
38981.9Slukem# as_fn_arith ARG...
38991.9Slukem# ------------------
39001.9Slukem# Perform arithmetic evaluation on the ARGs, and store the result in the
39011.9Slukem# global $as_val. Take advantage of shells that can avoid forks. The arguments
39021.9Slukem# must be portable across $(()) and expr.
39031.9Slukemif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
39041.9Slukem  eval 'as_fn_arith ()
39051.9Slukem  {
39061.9Slukem    as_val=$(( $* ))
39071.9Slukem  }'
39081.9Slukemelse
39091.9Slukem  as_fn_arith ()
39101.9Slukem  {
39111.9Slukem    as_val=`expr "$@" || test $? -eq 1`
39121.9Slukem  }
39131.9Slukemfi # as_fn_arith
39141.9Slukem
39151.9Slukem
39161.9Slukemif expr a : '\(a\)' >/dev/null 2>&1 &&
39171.9Slukem   test "X`expr 00001 : '.*\(...\)'`" = X001; then
39181.1Stv  as_expr=expr
39191.1Stvelse
39201.1Stv  as_expr=false
39211.1Stvfi
39221.1Stv
39231.9Slukemif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
39241.9Slukem  as_basename=basename
39251.9Slukemelse
39261.9Slukem  as_basename=false
39271.9Slukemfi
39281.9Slukem
39291.9Slukemif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
39301.9Slukem  as_dirname=dirname
39311.9Slukemelse
39321.9Slukem  as_dirname=false
39331.9Slukemfi
39341.9Slukem
39351.9Slukemas_me=`$as_basename -- "$0" ||
39361.9Slukem$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39371.9Slukem	 X"$0" : 'X\(//\)$' \| \
39381.9Slukem	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
39391.9Slukem$as_echo X/"$0" |
39401.9Slukem    sed '/^.*\/\([^/][^/]*\)\/*$/{
39411.9Slukem	    s//\1/
39421.9Slukem	    q
39431.9Slukem	  }
39441.9Slukem	  /^X\/\(\/\/\)$/{
39451.9Slukem	    s//\1/
39461.9Slukem	    q
39471.9Slukem	  }
39481.9Slukem	  /^X\/\(\/\).*/{
39491.9Slukem	    s//\1/
39501.9Slukem	    q
39511.9Slukem	  }
39521.9Slukem	  s/.*/./; q'`
39531.9Slukem
39541.9Slukem# Avoid depending upon Character Ranges.
39551.9Slukemas_cr_letters='abcdefghijklmnopqrstuvwxyz'
39561.9Slukemas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39571.9Slukemas_cr_Letters=$as_cr_letters$as_cr_LETTERS
39581.9Slukemas_cr_digits='0123456789'
39591.9Slukemas_cr_alnum=$as_cr_Letters$as_cr_digits
39601.9Slukem
39611.9SlukemECHO_C= ECHO_N= ECHO_T=
39621.9Slukemcase `echo -n x` in #(((((
39631.9Slukem-n*)
39641.9Slukem  case `echo 'xy\c'` in
39651.9Slukem  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
39661.9Slukem  xy)  ECHO_C='\c';;
39671.9Slukem  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
39681.9Slukem       ECHO_T='	';;
39691.9Slukem  esac;;
39701.9Slukem*)
39711.9Slukem  ECHO_N='-n';;
39721.9Slukemesac
39731.9Slukem
39741.1Stvrm -f conf$$ conf$$.exe conf$$.file
39751.9Slukemif test -d conf$$.dir; then
39761.9Slukem  rm -f conf$$.dir/conf$$.file
39771.9Slukemelse
39781.9Slukem  rm -f conf$$.dir
39791.9Slukem  mkdir conf$$.dir 2>/dev/null
39801.9Slukemfi
39811.9Slukemif (echo >conf$$.file) 2>/dev/null; then
39821.9Slukem  if ln -s conf$$.file conf$$ 2>/dev/null; then
39831.9Slukem    as_ln_s='ln -s'
39841.9Slukem    # ... but there are two gotchas:
39851.9Slukem    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
39861.9Slukem    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
39871.9Slukem    # In both cases, we have to default to `cp -pR'.
39881.9Slukem    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
39891.9Slukem      as_ln_s='cp -pR'
39901.9Slukem  elif ln conf$$.file conf$$ 2>/dev/null; then
39911.9Slukem    as_ln_s=ln
39921.1Stv  else
39931.9Slukem    as_ln_s='cp -pR'
39941.1Stv  fi
39951.1Stvelse
39961.9Slukem  as_ln_s='cp -pR'
39971.1Stvfi
39981.9Slukemrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
39991.9Slukemrmdir conf$$.dir 2>/dev/null
40001.9Slukem
40011.9Slukem
40021.9Slukem# as_fn_mkdir_p
40031.9Slukem# -------------
40041.9Slukem# Create "$as_dir" as a directory, including parents if necessary.
40051.9Slukemas_fn_mkdir_p ()
40061.9Slukem{
40071.9Slukem
40081.9Slukem  case $as_dir in #(
40091.9Slukem  -*) as_dir=./$as_dir;;
40101.9Slukem  esac
40111.9Slukem  test -d "$as_dir" || eval $as_mkdir_p || {
40121.9Slukem    as_dirs=
40131.9Slukem    while :; do
40141.9Slukem      case $as_dir in #(
40151.9Slukem      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
40161.9Slukem      *) as_qdir=$as_dir;;
40171.9Slukem      esac
40181.9Slukem      as_dirs="'$as_qdir' $as_dirs"
40191.9Slukem      as_dir=`$as_dirname -- "$as_dir" ||
40201.9Slukem$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40211.9Slukem	 X"$as_dir" : 'X\(//\)[^/]' \| \
40221.9Slukem	 X"$as_dir" : 'X\(//\)$' \| \
40231.9Slukem	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
40241.9Slukem$as_echo X"$as_dir" |
40251.9Slukem    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40261.9Slukem	    s//\1/
40271.9Slukem	    q
40281.9Slukem	  }
40291.9Slukem	  /^X\(\/\/\)[^/].*/{
40301.9Slukem	    s//\1/
40311.9Slukem	    q
40321.9Slukem	  }
40331.9Slukem	  /^X\(\/\/\)$/{
40341.9Slukem	    s//\1/
40351.9Slukem	    q
40361.9Slukem	  }
40371.9Slukem	  /^X\(\/\).*/{
40381.9Slukem	    s//\1/
40391.9Slukem	    q
40401.9Slukem	  }
40411.9Slukem	  s/.*/./; q'`
40421.9Slukem      test -d "$as_dir" && break
40431.9Slukem    done
40441.9Slukem    test -z "$as_dirs" || eval "mkdir $as_dirs"
40451.9Slukem  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
40461.1Stv
40471.1Stv
40481.9Slukem} # as_fn_mkdir_p
40491.9Slukemif mkdir -p . 2>/dev/null; then
40501.9Slukem  as_mkdir_p='mkdir -p "$as_dir"'
40511.1Stvelse
40521.9Slukem  test -d ./-p && rmdir ./-p
40531.9Slukem  as_mkdir_p=false
40541.1Stvfi
40551.1Stv
40561.1Stv
40571.9Slukem# as_fn_executable_p FILE
40581.9Slukem# -----------------------
40591.9Slukem# Test if FILE is an executable regular file.
40601.9Slukemas_fn_executable_p ()
40611.9Slukem{
40621.9Slukem  test -f "$1" && test -x "$1"
40631.9Slukem} # as_fn_executable_p
40641.9Slukemas_test_x='test -x'
40651.9Slukemas_executable_p=as_fn_executable_p
40661.9Slukem
40671.9Slukem# Sed expression to map a string onto a valid CPP name.
40681.9Slukemas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40691.9Slukem
40701.9Slukem# Sed expression to map a string onto a valid variable name.
40711.9Slukemas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40721.1Stv
40731.1Stv
40741.1Stvexec 6>&1
40751.9Slukem## ----------------------------------- ##
40761.9Slukem## Main body of $CONFIG_STATUS script. ##
40771.9Slukem## ----------------------------------- ##
40781.9Slukem_ASEOF
40791.9Slukemtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
40801.9Slukem
40811.9Slukemcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40821.9Slukem# Save the log message, to keep $0 and so on meaningful, and to
40831.9Slukem# report actual input values of CONFIG_FILES etc. instead of their
40841.9Slukem# values after options handling.
40851.9Slukemac_log="
40861.9SlukemThis file was extended by make $as_me noversion, which was
40871.9Slukemgenerated by GNU Autoconf 2.69.  Invocation command line was
40881.9Slukem
40891.9Slukem  CONFIG_FILES    = $CONFIG_FILES
40901.9Slukem  CONFIG_HEADERS  = $CONFIG_HEADERS
40911.9Slukem  CONFIG_LINKS    = $CONFIG_LINKS
40921.9Slukem  CONFIG_COMMANDS = $CONFIG_COMMANDS
40931.9Slukem  $ $0 $@
40941.9Slukem
40951.9Slukemon `(hostname || uname -n) 2>/dev/null | sed 1q`
40961.9Slukem"
40971.1Stv
40981.1Stv_ACEOF
40991.1Stv
41001.9Slukemcase $ac_config_files in *"
41011.9Slukem"*) set x $ac_config_files; shift; ac_config_files=$*;;
41021.9Slukemesac
41031.1Stv
41041.1Stv
41051.1Stv
41061.9Slukemcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41071.9Slukem# Files that config.status was made for.
41081.9Slukemconfig_files="$ac_config_files"
41091.1Stv
41101.9Slukem_ACEOF
41111.1Stv
41121.9Slukemcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41131.1Stvac_cs_usage="\
41141.9Slukem\`$as_me' instantiates files and other configuration actions
41151.9Slukemfrom templates according to the current configuration.  Unless the files
41161.9Slukemand actions are specified as TAGs, all are instantiated by default.
41171.1Stv
41181.9SlukemUsage: $0 [OPTION]... [TAG]...
41191.1Stv
41201.1Stv  -h, --help       print this help, then exit
41211.9Slukem  -V, --version    print version number and configuration settings, then exit
41221.9Slukem      --config     print configuration, then exit
41231.9Slukem  -q, --quiet, --silent
41241.9Slukem                   do not print progress messages
41251.1Stv  -d, --debug      don't remove temporary files
41261.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
41271.9Slukem      --file=FILE[:TEMPLATE]
41281.1Stv                   instantiate the configuration file FILE
41291.1Stv
41301.1StvConfiguration files:
41311.1Stv$config_files
41321.1Stv
41331.9SlukemReport bugs to <bin-bug-people@NetBSD.org>."
41341.1Stv
41351.9Slukem_ACEOF
41361.9Slukemcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41371.9Slukemac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41381.1Stvac_cs_version="\\
41391.1Stvmake config.status noversion
41401.9Slukemconfigured by $0, generated by GNU Autoconf 2.69,
41411.9Slukem  with options \\"\$ac_cs_config\\"
41421.1Stv
41431.9SlukemCopyright (C) 2012 Free Software Foundation, Inc.
41441.1StvThis config.status script is free software; the Free Software Foundation
41451.1Stvgives unlimited permission to copy, distribute and modify it."
41461.1Stv
41471.9Slukemac_pwd='$ac_pwd'
41481.9Slukemsrcdir='$srcdir'
41491.9Slukemtest -n "\$AWK" || AWK=awk
41501.9Slukem_ACEOF
41511.9Slukem
41521.9Slukemcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41531.9Slukem# The default lists apply if the user does not specify any file.
41541.1Stvac_need_defaults=:
41551.1Stvwhile test $# != 0
41561.1Stvdo
41571.1Stv  case $1 in
41581.9Slukem  --*=?*)
41591.9Slukem    ac_option=`expr "X$1" : 'X\([^=]*\)='`
41601.9Slukem    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41611.9Slukem    ac_shift=:
41621.9Slukem    ;;
41631.9Slukem  --*=)
41641.9Slukem    ac_option=`expr "X$1" : 'X\([^=]*\)='`
41651.9Slukem    ac_optarg=
41661.9Slukem    ac_shift=:
41671.9Slukem    ;;
41681.9Slukem  *)
41691.9Slukem    ac_option=$1
41701.9Slukem    ac_optarg=$2
41711.9Slukem    ac_shift=shift
41721.1Stv    ;;
41731.1Stv  esac
41741.1Stv
41751.9Slukem  case $ac_option in
41761.1Stv  # Handling of the options.
41771.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41781.9Slukem    ac_cs_recheck=: ;;
41791.9Slukem  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41801.9Slukem    $as_echo "$ac_cs_version"; exit ;;
41811.9Slukem  --config | --confi | --conf | --con | --co | --c )
41821.9Slukem    $as_echo "$ac_cs_config"; exit ;;
41831.9Slukem  --debug | --debu | --deb | --de | --d | -d )
41841.1Stv    debug=: ;;
41851.1Stv  --file | --fil | --fi | --f )
41861.9Slukem    $ac_shift
41871.9Slukem    case $ac_optarg in
41881.9Slukem    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41891.9Slukem    '') as_fn_error $? "missing file argument" ;;
41901.9Slukem    esac
41911.9Slukem    as_fn_append CONFIG_FILES " '$ac_optarg'"
41921.1Stv    ac_need_defaults=false;;
41931.9Slukem  --he | --h |  --help | --hel | -h )
41941.9Slukem    $as_echo "$ac_cs_usage"; exit ;;
41951.9Slukem  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41961.9Slukem  | -silent | --silent | --silen | --sile | --sil | --si | --s)
41971.9Slukem    ac_cs_silent=: ;;
41981.1Stv
41991.1Stv  # This is an error.
42001.9Slukem  -*) as_fn_error $? "unrecognized option: \`$1'
42011.9SlukemTry \`$0 --help' for more information." ;;
42021.1Stv
42031.9Slukem  *) as_fn_append ac_config_targets " $1"
42041.9Slukem     ac_need_defaults=false ;;
42051.1Stv
42061.1Stv  esac
42071.1Stv  shift
42081.1Stvdone
42091.1Stv
42101.9Slukemac_configure_extra_args=
42111.1Stv
42121.9Slukemif $ac_cs_silent; then
42131.9Slukem  exec 6>/dev/null
42141.9Slukem  ac_configure_extra_args="$ac_configure_extra_args --silent"
42151.9Slukemfi
42161.1Stv
42171.9Slukem_ACEOF
42181.9Slukemcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42191.9Slukemif \$ac_cs_recheck; then
42201.9Slukem  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42211.9Slukem  shift
42221.9Slukem  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42231.9Slukem  CONFIG_SHELL='$SHELL'
42241.9Slukem  export CONFIG_SHELL
42251.9Slukem  exec "\$@"
42261.9Slukemfi
42271.9Slukem
42281.9Slukem_ACEOF
42291.9Slukemcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42301.9Slukemexec 5>>config.log
42311.9Slukem{
42321.9Slukem  echo
42331.9Slukem  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42341.9Slukem## Running $as_me. ##
42351.9Slukem_ASBOX
42361.9Slukem  $as_echo "$ac_log"
42371.9Slukem} >&5
42381.1Stv
42391.1Stv_ACEOF
42401.9Slukemcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42411.9Slukem_ACEOF
42421.1Stv
42431.9Slukemcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42441.9Slukem
42451.9Slukem# Handling of arguments.
42461.1Stvfor ac_config_target in $ac_config_targets
42471.1Stvdo
42481.9Slukem  case $ac_config_target in
42491.9Slukem    "buildmake.sh") CONFIG_FILES="$CONFIG_FILES buildmake.sh" ;;
42501.9Slukem
42511.9Slukem  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42521.1Stv  esac
42531.1Stvdone
42541.1Stv
42551.9Slukem
42561.1Stv# If the user did not use the arguments to specify the items to instantiate,
42571.1Stv# then the envvar interface is used.  Set only those that are not.
42581.1Stv# We use the long form for the default assignment because of an extremely
42591.1Stv# bizarre bug on SunOS 4.1.3.
42601.1Stvif $ac_need_defaults; then
42611.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42621.1Stvfi
42631.1Stv
42641.9Slukem# Have a temporary directory for convenience.  Make it in the build tree
42651.9Slukem# simply because there is no reason against having it here, and in addition,
42661.9Slukem# creating and moving files from /tmp can sometimes cause problems.
42671.9Slukem# Hook for its removal unless debugging.
42681.9Slukem# Note that there is a small window in which the directory will not be cleaned:
42691.9Slukem# after its creation but before its name has been assigned to `$tmp'.
42701.1Stv$debug ||
42711.1Stv{
42721.9Slukem  tmp= ac_tmp=
42731.9Slukem  trap 'exit_status=$?
42741.9Slukem  : "${ac_tmp:=$tmp}"
42751.9Slukem  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42761.9Slukem' 0
42771.9Slukem  trap 'as_fn_exit 1' 1 2 13 15
42781.1Stv}
42791.9Slukem# Create a (secure) tmp directory for tmp files.
42801.1Stv
42811.1Stv{
42821.9Slukem  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42831.9Slukem  test -d "$tmp"
42841.1Stv}  ||
42851.1Stv{
42861.9Slukem  tmp=./conf$$-$RANDOM
42871.9Slukem  (umask 077 && mkdir "$tmp")
42881.9Slukem} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42891.9Slukemac_tmp=$tmp
42901.9Slukem
42911.9Slukem# Set up the scripts for CONFIG_FILES section.
42921.9Slukem# No need to generate them if there are no CONFIG_FILES.
42931.9Slukem# This happens for instance with `./config.status config.h'.
42941.9Slukemif test -n "$CONFIG_FILES"; then
42951.9Slukem
42961.9Slukem
42971.9Slukemac_cr=`echo X | tr X '\015'`
42981.9Slukem# On cygwin, bash can eat \r inside `` if the user requested igncr.
42991.9Slukem# But we know of no other shell where ac_cr would be empty at this
43001.9Slukem# point, so we can use a bashism as a fallback.
43011.9Slukemif test "x$ac_cr" = x; then
43021.9Slukem  eval ac_cr=\$\'\\r\'
43031.9Slukemfi
43041.9Slukemac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
43051.9Slukemif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
43061.9Slukem  ac_cs_awk_cr='\\r'
43071.9Slukemelse
43081.9Slukem  ac_cs_awk_cr=$ac_cr
43091.9Slukemfi
43101.9Slukem
43111.9Slukemecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
43121.9Slukem_ACEOF
43131.9Slukem
43141.9Slukem
43151.1Stv{
43161.9Slukem  echo "cat >conf$$subs.awk <<_ACEOF" &&
43171.9Slukem  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
43181.9Slukem  echo "_ACEOF"
43191.9Slukem} >conf$$subs.sh ||
43201.9Slukem  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
43211.9Slukemac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
43221.9Slukemac_delim='%!_!# '
43231.9Slukemfor ac_last_try in false false false false false :; do
43241.9Slukem  . ./conf$$subs.sh ||
43251.9Slukem    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
43261.9Slukem
43271.9Slukem  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
43281.9Slukem  if test $ac_delim_n = $ac_delim_num; then
43291.9Slukem    break
43301.9Slukem  elif $ac_last_try; then
43311.9Slukem    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
43321.9Slukem  else
43331.9Slukem    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
43341.9Slukem  fi
43351.9Slukemdone
43361.9Slukemrm -f conf$$subs.sh
43371.9Slukem
43381.9Slukemcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
43391.9Slukemcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
43401.9Slukem_ACEOF
43411.9Slukemsed -n '
43421.9Slukemh
43431.9Slukems/^/S["/; s/!.*/"]=/
43441.9Slukemp
43451.9Slukemg
43461.9Slukems/^[^!]*!//
43471.9Slukem:repl
43481.9Slukemt repl
43491.9Slukems/'"$ac_delim"'$//
43501.9Slukemt delim
43511.9Slukem:nl
43521.9Slukemh
43531.9Slukems/\(.\{148\}\)..*/\1/
43541.9Slukemt more1
43551.9Slukems/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
43561.9Slukemp
43571.9Slukemn
43581.9Slukemb repl
43591.9Slukem:more1
43601.9Slukems/["\\]/\\&/g; s/^/"/; s/$/"\\/
43611.9Slukemp
43621.9Slukemg
43631.9Slukems/.\{148\}//
43641.9Slukemt nl
43651.9Slukem:delim
43661.9Slukemh
43671.9Slukems/\(.\{148\}\)..*/\1/
43681.9Slukemt more2
43691.9Slukems/["\\]/\\&/g; s/^/"/; s/$/"/
43701.9Slukemp
43711.9Slukemb
43721.9Slukem:more2
43731.9Slukems/["\\]/\\&/g; s/^/"/; s/$/"\\/
43741.9Slukemp
43751.9Slukemg
43761.9Slukems/.\{148\}//
43771.9Slukemt delim
43781.9Slukem' <conf$$subs.awk | sed '
43791.9Slukem/^[^""]/{
43801.9Slukem  N
43811.9Slukem  s/\n//
43821.1Stv}
43831.9Slukem' >>$CONFIG_STATUS || ac_write_fail=1
43841.9Slukemrm -f conf$$subs.awk
43851.9Slukemcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
43861.9Slukem_ACAWK
43871.9Slukemcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
43881.9Slukem  for (key in S) S_is_set[key] = 1
43891.9Slukem  FS = ""
43901.1Stv
43911.9Slukem}
43921.9Slukem{
43931.9Slukem  line = $ 0
43941.9Slukem  nfields = split(line, field, "@")
43951.9Slukem  substed = 0
43961.9Slukem  len = length(field[1])
43971.9Slukem  for (i = 2; i < nfields; i++) {
43981.9Slukem    key = field[i]
43991.9Slukem    keylen = length(key)
44001.9Slukem    if (S_is_set[key]) {
44011.9Slukem      value = S[key]
44021.9Slukem      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
44031.9Slukem      len += length(value) + length(field[++i])
44041.9Slukem      substed = 1
44051.9Slukem    } else
44061.9Slukem      len += 1 + keylen
44071.9Slukem  }
44081.1Stv
44091.9Slukem  print line
44101.9Slukem}
44111.1Stv
44121.9Slukem_ACAWK
44131.9Slukem_ACEOF
44141.9Slukemcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
44151.9Slukemif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
44161.9Slukem  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
44171.9Slukemelse
44181.9Slukem  cat
44191.9Slukemfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
44201.9Slukem  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
44211.9Slukem_ACEOF
44221.9Slukem
44231.9Slukem# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
44241.9Slukem# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
44251.9Slukem# trailing colons and then remove the whole line if VPATH becomes empty
44261.9Slukem# (actually we leave an empty line to preserve line numbers).
44271.9Slukemif test "x$srcdir" = x.; then
44281.9Slukem  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
44291.9Slukemh
44301.9Slukems///
44311.9Slukems/^/:/
44321.9Slukems/[	 ]*$/:/
44331.9Slukems/:\$(srcdir):/:/g
44341.9Slukems/:\${srcdir}:/:/g
44351.9Slukems/:@srcdir@:/:/g
44361.9Slukems/^:*//
44371.9Slukems/:*$//
44381.9Slukemx
44391.9Slukems/\(=[	 ]*\).*/\1/
44401.9SlukemG
44411.9Slukems/\n//
44421.9Slukems/^[^=]*=[	 ]*$//
44431.9Slukem}'
44441.9Slukemfi
44451.1Stv
44461.9Slukemcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
44471.1Stvfi # test -n "$CONFIG_FILES"
44481.1Stv
44491.9Slukem
44501.9Slukemeval set X "  :F $CONFIG_FILES      "
44511.9Slukemshift
44521.9Slukemfor ac_tag
44531.9Slukemdo
44541.9Slukem  case $ac_tag in
44551.9Slukem  :[FHLC]) ac_mode=$ac_tag; continue;;
44561.9Slukem  esac
44571.9Slukem  case $ac_mode$ac_tag in
44581.9Slukem  :[FHL]*:*);;
44591.9Slukem  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
44601.9Slukem  :[FH]-) ac_tag=-:-;;
44611.9Slukem  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
44621.1Stv  esac
44631.9Slukem  ac_save_IFS=$IFS
44641.9Slukem  IFS=:
44651.9Slukem  set x $ac_tag
44661.9Slukem  IFS=$ac_save_IFS
44671.9Slukem  shift
44681.9Slukem  ac_file=$1
44691.9Slukem  shift
44701.1Stv
44711.9Slukem  case $ac_mode in
44721.9Slukem  :L) ac_source=$1;;
44731.9Slukem  :[FH])
44741.9Slukem    ac_file_inputs=
44751.9Slukem    for ac_f
44761.9Slukem    do
44771.9Slukem      case $ac_f in
44781.9Slukem      -) ac_f="$ac_tmp/stdin";;
44791.9Slukem      *) # Look for the file first in the build tree, then in the source tree
44801.9Slukem	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
44811.9Slukem	 # because $ac_f cannot contain `:'.
44821.9Slukem	 test -f "$ac_f" ||
44831.9Slukem	   case $ac_f in
44841.9Slukem	   [\\/$]*) false;;
44851.9Slukem	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
44861.9Slukem	   esac ||
44871.9Slukem	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
44881.9Slukem      esac
44891.9Slukem      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
44901.9Slukem      as_fn_append ac_file_inputs " '$ac_f'"
44911.9Slukem    done
44921.9Slukem
44931.9Slukem    # Let's still pretend it is `configure' which instantiates (i.e., don't
44941.9Slukem    # use $as_me), people would be surprised to read:
44951.9Slukem    #    /* config.h.  Generated by config.status.  */
44961.9Slukem    configure_input='Generated from '`
44971.9Slukem	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
44981.9Slukem	`' by configure.'
44991.9Slukem    if test x"$ac_file" != x-; then
45001.9Slukem      configure_input="$ac_file.  $configure_input"
45011.9Slukem      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
45021.9Slukem$as_echo "$as_me: creating $ac_file" >&6;}
45031.9Slukem    fi
45041.9Slukem    # Neutralize special characters interpreted by sed in replacement strings.
45051.9Slukem    case $configure_input in #(
45061.9Slukem    *\&* | *\|* | *\\* )
45071.9Slukem       ac_sed_conf_input=`$as_echo "$configure_input" |
45081.9Slukem       sed 's/[\\\\&|]/\\\\&/g'`;; #(
45091.9Slukem    *) ac_sed_conf_input=$configure_input;;
45101.9Slukem    esac
45111.9Slukem
45121.9Slukem    case $ac_tag in
45131.9Slukem    *:-:* | *:-) cat >"$ac_tmp/stdin" \
45141.9Slukem      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
45151.9Slukem    esac
45161.1Stv    ;;
45171.1Stv  esac
45181.1Stv
45191.9Slukem  ac_dir=`$as_dirname -- "$ac_file" ||
45201.9Slukem$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45211.9Slukem	 X"$ac_file" : 'X\(//\)[^/]' \| \
45221.9Slukem	 X"$ac_file" : 'X\(//\)$' \| \
45231.9Slukem	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
45241.9Slukem$as_echo X"$ac_file" |
45251.9Slukem    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
45261.9Slukem	    s//\1/
45271.9Slukem	    q
45281.9Slukem	  }
45291.9Slukem	  /^X\(\/\/\)[^/].*/{
45301.9Slukem	    s//\1/
45311.9Slukem	    q
45321.9Slukem	  }
45331.9Slukem	  /^X\(\/\/\)$/{
45341.9Slukem	    s//\1/
45351.9Slukem	    q
45361.9Slukem	  }
45371.9Slukem	  /^X\(\/\).*/{
45381.9Slukem	    s//\1/
45391.9Slukem	    q
45401.9Slukem	  }
45411.9Slukem	  s/.*/./; q'`
45421.9Slukem  as_dir="$ac_dir"; as_fn_mkdir_p
45431.9Slukem  ac_builddir=.
45441.9Slukem
45451.9Slukemcase "$ac_dir" in
45461.9Slukem.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
45471.9Slukem*)
45481.9Slukem  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
45491.9Slukem  # A ".." for each directory in $ac_dir_suffix.
45501.9Slukem  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
45511.9Slukem  case $ac_top_builddir_sub in
45521.9Slukem  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
45531.9Slukem  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
45541.9Slukem  esac ;;
45551.9Slukemesac
45561.9Slukemac_abs_top_builddir=$ac_pwd
45571.9Slukemac_abs_builddir=$ac_pwd$ac_dir_suffix
45581.9Slukem# for backward compatibility:
45591.9Slukemac_top_builddir=$ac_top_build_prefix
45601.9Slukem
45611.9Slukemcase $srcdir in
45621.9Slukem  .)  # We are building in place.
45631.9Slukem    ac_srcdir=.
45641.9Slukem    ac_top_srcdir=$ac_top_builddir_sub
45651.9Slukem    ac_abs_top_srcdir=$ac_pwd ;;
45661.9Slukem  [\\/]* | ?:[\\/]* )  # Absolute name.
45671.9Slukem    ac_srcdir=$srcdir$ac_dir_suffix;
45681.9Slukem    ac_top_srcdir=$srcdir
45691.9Slukem    ac_abs_top_srcdir=$srcdir ;;
45701.9Slukem  *) # Relative name.
45711.9Slukem    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
45721.9Slukem    ac_top_srcdir=$ac_top_build_prefix$srcdir
45731.9Slukem    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
45741.9Slukemesac
45751.9Slukemac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
45761.9Slukem
45771.9Slukem
45781.9Slukem  case $ac_mode in
45791.9Slukem  :F)
45801.9Slukem  #
45811.9Slukem  # CONFIG_FILE
45821.9Slukem  #
45831.9Slukem
45841.9Slukem_ACEOF
45851.1Stv
45861.9Slukemcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
45871.9Slukem# If the template does not know about datarootdir, expand it.
45881.9Slukem# FIXME: This hack should be removed a few years after 2.60.
45891.9Slukemac_datarootdir_hack=; ac_datarootdir_seen=
45901.9Slukemac_sed_dataroot='
45911.9Slukem/datarootdir/ {
45921.9Slukem  p
45931.9Slukem  q
45941.9Slukem}
45951.9Slukem/@datadir@/p
45961.9Slukem/@docdir@/p
45971.9Slukem/@infodir@/p
45981.9Slukem/@localedir@/p
45991.9Slukem/@mandir@/p'
46001.9Slukemcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
46011.9Slukem*datarootdir*) ac_datarootdir_seen=yes;;
46021.9Slukem*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
46031.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
46041.9Slukem$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
46051.9Slukem_ACEOF
46061.9Slukemcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
46071.9Slukem  ac_datarootdir_hack='
46081.9Slukem  s&@datadir@&$datadir&g
46091.9Slukem  s&@docdir@&$docdir&g
46101.9Slukem  s&@infodir@&$infodir&g
46111.9Slukem  s&@localedir@&$localedir&g
46121.9Slukem  s&@mandir@&$mandir&g
46131.9Slukem  s&\\\${datarootdir}&$datarootdir&g' ;;
46141.9Slukemesac
46151.9Slukem_ACEOF
46161.1Stv
46171.9Slukem# Neutralize VPATH when `$srcdir' = `.'.
46181.9Slukem# Shell code in configure.ac might set extrasub.
46191.9Slukem# FIXME: do we really want to maintain this feature?
46201.9Slukemcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
46211.9Slukemac_sed_extra="$ac_vpsub
46221.1Stv$extrasub
46231.9Slukem_ACEOF
46241.9Slukemcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
46251.1Stv:t
46261.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
46271.9Slukems|@configure_input@|$ac_sed_conf_input|;t t
46281.9Slukems&@top_builddir@&$ac_top_builddir_sub&;t t
46291.9Slukems&@top_build_prefix@&$ac_top_build_prefix&;t t
46301.9Slukems&@srcdir@&$ac_srcdir&;t t
46311.9Slukems&@abs_srcdir@&$ac_abs_srcdir&;t t
46321.9Slukems&@top_srcdir@&$ac_top_srcdir&;t t
46331.9Slukems&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
46341.9Slukems&@builddir@&$ac_builddir&;t t
46351.9Slukems&@abs_builddir@&$ac_abs_builddir&;t t
46361.9Slukems&@abs_top_builddir@&$ac_abs_top_builddir&;t t
46371.9Slukem$ac_datarootdir_hack
46381.9Slukem"
46391.9Slukemeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
46401.9Slukem  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
46411.9Slukem
46421.9Slukemtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
46431.9Slukem  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
46441.9Slukem  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
46451.9Slukem      "$ac_tmp/out"`; test -z "$ac_out"; } &&
46461.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
46471.9Slukemwhich seems to be undefined.  Please make sure it is defined" >&5
46481.9Slukem$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
46491.9Slukemwhich seems to be undefined.  Please make sure it is defined" >&2;}
46501.9Slukem
46511.9Slukem  rm -f "$ac_tmp/stdin"
46521.9Slukem  case $ac_file in
46531.9Slukem  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
46541.9Slukem  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
46551.9Slukem  esac \
46561.9Slukem  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
46571.9Slukem ;;
46581.9Slukem
46591.9Slukem
46601.9Slukem
46611.9Slukem  esac
46621.1Stv
46631.9Slukemdone # for ac_tag
46641.1Stv
46651.1Stv
46661.9Slukemas_fn_exit 0
46671.9Slukem_ACEOF
46681.1Stvac_clean_files=$ac_clean_files_save
46691.1Stv
46701.9Slukemtest $ac_write_fail = 0 ||
46711.9Slukem  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
46721.9Slukem
46731.9Slukem
46741.1Stv# configure is writing to config.log, and then calls config.status.
46751.1Stv# config.status does its own redirection, appending to config.log.
46761.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
46771.1Stv# by configure, so config.status won't be able to write to it; its
46781.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
46791.1Stv# effectively closing config.log, so it can be properly (re)opened and
46801.1Stv# appended to by config.status.  When coming back to configure, we
46811.1Stv# need to make the FD available again.
46821.1Stvif test "$no_create" != yes; then
46831.1Stv  ac_cs_success=:
46841.9Slukem  ac_config_status_args=
46851.9Slukem  test "$silent" = yes &&
46861.9Slukem    ac_config_status_args="$ac_config_status_args --quiet"
46871.1Stv  exec 5>/dev/null
46881.9Slukem  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
46891.1Stv  exec 5>>config.log
46901.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
46911.1Stv  # would make configure fail if this is the last instruction.
46921.9Slukem  $ac_cs_success || as_fn_exit 1
46931.1Stvfi
46941.9Slukemif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
46951.9Slukem  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
46961.9Slukem$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
46971.9Slukemfi
46981.9Slukem
46991.9Slukem
47001.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: ========== configure results for make ===========" >&5
47011.9Slukem$as_echo "$as_me: ========== configure results for make ===========" >&6;}
47021.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: CC                              $CC" >&5
47031.9Slukem$as_echo "$as_me: CC                              $CC" >&6;}
47041.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: CFLAGS                          $CFLAGS" >&5
47051.9Slukem$as_echo "$as_me: CFLAGS                          $CFLAGS" >&6;}
47061.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: CPPFLAGS                        $CPPFLAGS" >&5
47071.9Slukem$as_echo "$as_me: CPPFLAGS                        $CPPFLAGS" >&6;}
47081.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: DEFS                            $DEFS" >&5
47091.9Slukem$as_echo "$as_me: DEFS                            $DEFS" >&6;}
47101.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: LDFLAGS                         $LDFLAGS" >&5
47111.9Slukem$as_echo "$as_me: LDFLAGS                         $LDFLAGS" >&6;}
47121.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: LIBS                            $LIBS" >&5
47131.9Slukem$as_echo "$as_me: LIBS                            $LIBS" >&6;}
47141.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: NOWARNFLAGS                     $NOWARNFLAGS" >&5
47151.9Slukem$as_echo "$as_me: NOWARNFLAGS                     $NOWARNFLAGS" >&6;}
47161.1Stv
47171.9Slukem{ $as_echo "$as_me:${as_lineno-$LINENO}: ================================================" >&5
47181.9Slukem$as_echo "$as_me: ================================================" >&6;}
4719