"Fossies" - the Fresh Open Source Software Archive

Member "tcsh-6.22.03/configure" (18 Nov 2020, 247531 Bytes) of package /linux/misc/tcsh-6.22.03.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 6.22.02_vs_6.22.03.

    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for tcsh 6.22.03.
    4 #
    5 # Report bugs to <https://bugs.astron.com/>.
    6 #
    7 #
    8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    9 #
   10 #
   11 # This configure script is free software; the Free Software Foundation
   12 # gives unlimited permission to copy, distribute and modify it.
   13 ## -------------------- ##
   14 ## M4sh Initialization. ##
   15 ## -------------------- ##
   16 
   17 # Be more Bourne compatible
   18 DUALCASE=1; export DUALCASE # for MKS sh
   19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20   emulate sh
   21   NULLCMD=:
   22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23   # is contrary to our usage.  Disable this feature.
   24   alias -g '${1+"$@"}'='"$@"'
   25   setopt NO_GLOB_SUBST
   26 else
   27   case `(set -o) 2>/dev/null` in #(
   28   *posix*) :
   29     set -o posix ;; #(
   30   *) :
   31      ;;
   32 esac
   33 fi
   34 
   35 
   36 as_nl='
   37 '
   38 export as_nl
   39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   43 # Prefer a ksh shell builtin over an external printf program on Solaris,
   44 # but without wasting forks for bash or zsh.
   45 if test -z "$BASH_VERSION$ZSH_VERSION" \
   46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   47   as_echo='print -r --'
   48   as_echo_n='print -rn --'
   49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50   as_echo='printf %s\n'
   51   as_echo_n='printf %s'
   52 else
   53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55     as_echo_n='/usr/ucb/echo -n'
   56   else
   57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58     as_echo_n_body='eval
   59       arg=$1;
   60       case $arg in #(
   61       *"$as_nl"*)
   62     expr "X$arg" : "X\\(.*\\)$as_nl";
   63     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64       esac;
   65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66     '
   67     export as_echo_n_body
   68     as_echo_n='sh -c $as_echo_n_body as_echo'
   69   fi
   70   export as_echo_body
   71   as_echo='sh -c $as_echo_body as_echo'
   72 fi
   73 
   74 # The user is always right.
   75 if test "${PATH_SEPARATOR+set}" != set; then
   76   PATH_SEPARATOR=:
   77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79       PATH_SEPARATOR=';'
   80   }
   81 fi
   82 
   83 
   84 # IFS
   85 # We need space, tab and new line, in precisely that order.  Quoting is
   86 # there to prevent editors from complaining about space-tab.
   87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   88 # splitting by setting IFS to empty value.)
   89 IFS=" ""    $as_nl"
   90 
   91 # Find who we are.  Look in the path if we contain no directory separator.
   92 as_myself=
   93 case $0 in #((
   94   *[\\/]* ) as_myself=$0 ;;
   95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   96 for as_dir in $PATH
   97 do
   98   IFS=$as_save_IFS
   99   test -z "$as_dir" && as_dir=.
  100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101   done
  102 IFS=$as_save_IFS
  103 
  104      ;;
  105 esac
  106 # We did not find ourselves, most probably we were run as `sh COMMAND'
  107 # in which case we are not to be found in the path.
  108 if test "x$as_myself" = x; then
  109   as_myself=$0
  110 fi
  111 if test ! -f "$as_myself"; then
  112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113   exit 1
  114 fi
  115 
  116 # Unset variables that we do not need and which cause bugs (e.g. in
  117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118 # suppresses any "Segmentation fault" message there.  '((' could
  119 # trigger a bug in pdksh 5.2.14.
  120 for as_var in BASH_ENV ENV MAIL MAILPATH
  121 do eval test x\${$as_var+set} = xset \
  122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123 done
  124 PS1='$ '
  125 PS2='> '
  126 PS4='+ '
  127 
  128 # NLS nuisances.
  129 LC_ALL=C
  130 export LC_ALL
  131 LANGUAGE=C
  132 export LANGUAGE
  133 
  134 # CDPATH.
  135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136 
  137 # Use a proper internal environment variable to ensure we don't fall
  138   # into an infinite loop, continuously re-executing ourselves.
  139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  140     _as_can_reexec=no; export _as_can_reexec;
  141     # We cannot yet assume a decent shell, so we have to provide a
  142 # neutralization value for shells without unset; and this also
  143 # works around shells that cannot unset nonexistent variables.
  144 # Preserve -v and -x to the replacement shell.
  145 BASH_ENV=/dev/null
  146 ENV=/dev/null
  147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  148 case $- in # ((((
  149   *v*x* | *x*v* ) as_opts=-vx ;;
  150   *v* ) as_opts=-v ;;
  151   *x* ) as_opts=-x ;;
  152   * ) as_opts= ;;
  153 esac
  154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  155 # Admittedly, this is quite paranoid, since all the known shells bail
  156 # out after a failed `exec'.
  157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  158 as_fn_exit 255
  159   fi
  160   # We don't want this to propagate to other subprocesses.
  161           { _as_can_reexec=; unset _as_can_reexec;}
  162 if test "x$CONFIG_SHELL" = x; then
  163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  164   emulate sh
  165   NULLCMD=:
  166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  167   # is contrary to our usage.  Disable this feature.
  168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  169   setopt NO_GLOB_SUBST
  170 else
  171   case \`(set -o) 2>/dev/null\` in #(
  172   *posix*) :
  173     set -o posix ;; #(
  174   *) :
  175      ;;
  176 esac
  177 fi
  178 "
  179   as_required="as_fn_return () { (exit \$1); }
  180 as_fn_success () { as_fn_return 0; }
  181 as_fn_failure () { as_fn_return 1; }
  182 as_fn_ret_success () { return 0; }
  183 as_fn_ret_failure () { return 1; }
  184 
  185 exitcode=0
  186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  191 
  192 else
  193   exitcode=1; echo positional parameters were not saved.
  194 fi
  195 test x\$exitcode = x0 || exit 1
  196 test -x / || exit 1"
  197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  201 test \$(( 1 + 1 )) = 2 || exit 1"
  202   if (eval "$as_required") 2>/dev/null; then :
  203   as_have_required=yes
  204 else
  205   as_have_required=no
  206 fi
  207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  208 
  209 else
  210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  211 as_found=false
  212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  213 do
  214   IFS=$as_save_IFS
  215   test -z "$as_dir" && as_dir=.
  216   as_found=:
  217   case $as_dir in #(
  218      /*)
  219        for as_base in sh bash ksh sh5; do
  220          # Try only shells that exist, to save several forks.
  221          as_shell=$as_dir/$as_base
  222          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  223             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  224   CONFIG_SHELL=$as_shell as_have_required=yes
  225            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  226   break 2
  227 fi
  228 fi
  229        done;;
  230        esac
  231   as_found=false
  232 done
  233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  234           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  235   CONFIG_SHELL=$SHELL as_have_required=yes
  236 fi; }
  237 IFS=$as_save_IFS
  238 
  239 
  240       if test "x$CONFIG_SHELL" != x; then :
  241   export CONFIG_SHELL
  242              # We cannot yet assume a decent shell, so we have to provide a
  243 # neutralization value for shells without unset; and this also
  244 # works around shells that cannot unset nonexistent variables.
  245 # Preserve -v and -x to the replacement shell.
  246 BASH_ENV=/dev/null
  247 ENV=/dev/null
  248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  249 case $- in # ((((
  250   *v*x* | *x*v* ) as_opts=-vx ;;
  251   *v* ) as_opts=-v ;;
  252   *x* ) as_opts=-x ;;
  253   * ) as_opts= ;;
  254 esac
  255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  256 # Admittedly, this is quite paranoid, since all the known shells bail
  257 # out after a failed `exec'.
  258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  259 exit 255
  260 fi
  261 
  262     if test x$as_have_required = xno; then :
  263   $as_echo "$0: This script requires a shell more modern than all"
  264   $as_echo "$0: the shells that I found on your system."
  265   if test x${ZSH_VERSION+set} = xset ; then
  266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  268   else
  269     $as_echo "$0: Please tell bug-autoconf@gnu.org and
  270 $0: https://bugs.astron.com/ about your system, including
  271 $0: any error possibly output before this message. Then
  272 $0: install a modern shell, or manually run the script
  273 $0: under such a shell if you do have one."
  274   fi
  275   exit 1
  276 fi
  277 fi
  278 fi
  279 SHELL=${CONFIG_SHELL-/bin/sh}
  280 export SHELL
  281 # Unset more variables known to interfere with behavior of common tools.
  282 CLICOLOR_FORCE= GREP_OPTIONS=
  283 unset CLICOLOR_FORCE GREP_OPTIONS
  284 
  285 ## --------------------- ##
  286 ## M4sh Shell Functions. ##
  287 ## --------------------- ##
  288 # as_fn_unset VAR
  289 # ---------------
  290 # Portably unset VAR.
  291 as_fn_unset ()
  292 {
  293   { eval $1=; unset $1;}
  294 }
  295 as_unset=as_fn_unset
  296 
  297 # as_fn_set_status STATUS
  298 # -----------------------
  299 # Set $? to STATUS, without forking.
  300 as_fn_set_status ()
  301 {
  302   return $1
  303 } # as_fn_set_status
  304 
  305 # as_fn_exit STATUS
  306 # -----------------
  307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  308 as_fn_exit ()
  309 {
  310   set +e
  311   as_fn_set_status $1
  312   exit $1
  313 } # as_fn_exit
  314 
  315 # as_fn_mkdir_p
  316 # -------------
  317 # Create "$as_dir" as a directory, including parents if necessary.
  318 as_fn_mkdir_p ()
  319 {
  320 
  321   case $as_dir in #(
  322   -*) as_dir=./$as_dir;;
  323   esac
  324   test -d "$as_dir" || eval $as_mkdir_p || {
  325     as_dirs=
  326     while :; do
  327       case $as_dir in #(
  328       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  329       *) as_qdir=$as_dir;;
  330       esac
  331       as_dirs="'$as_qdir' $as_dirs"
  332       as_dir=`$as_dirname -- "$as_dir" ||
  333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  334      X"$as_dir" : 'X\(//\)[^/]' \| \
  335      X"$as_dir" : 'X\(//\)$' \| \
  336      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  337 $as_echo X"$as_dir" |
  338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  339         s//\1/
  340         q
  341       }
  342       /^X\(\/\/\)[^/].*/{
  343         s//\1/
  344         q
  345       }
  346       /^X\(\/\/\)$/{
  347         s//\1/
  348         q
  349       }
  350       /^X\(\/\).*/{
  351         s//\1/
  352         q
  353       }
  354       s/.*/./; q'`
  355       test -d "$as_dir" && break
  356     done
  357     test -z "$as_dirs" || eval "mkdir $as_dirs"
  358   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  359 
  360 
  361 } # as_fn_mkdir_p
  362 
  363 # as_fn_executable_p FILE
  364 # -----------------------
  365 # Test if FILE is an executable regular file.
  366 as_fn_executable_p ()
  367 {
  368   test -f "$1" && test -x "$1"
  369 } # as_fn_executable_p
  370 # as_fn_append VAR VALUE
  371 # ----------------------
  372 # Append the text in VALUE to the end of the definition contained in VAR. Take
  373 # advantage of any shell optimizations that allow amortized linear growth over
  374 # repeated appends, instead of the typical quadratic growth present in naive
  375 # implementations.
  376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  377   eval 'as_fn_append ()
  378   {
  379     eval $1+=\$2
  380   }'
  381 else
  382   as_fn_append ()
  383   {
  384     eval $1=\$$1\$2
  385   }
  386 fi # as_fn_append
  387 
  388 # as_fn_arith ARG...
  389 # ------------------
  390 # Perform arithmetic evaluation on the ARGs, and store the result in the
  391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
  392 # must be portable across $(()) and expr.
  393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  394   eval 'as_fn_arith ()
  395   {
  396     as_val=$(( $* ))
  397   }'
  398 else
  399   as_fn_arith ()
  400   {
  401     as_val=`expr "$@" || test $? -eq 1`
  402   }
  403 fi # as_fn_arith
  404 
  405 
  406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
  407 # ----------------------------------------
  408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  410 # script with STATUS, using 1 if that was 0.
  411 as_fn_error ()
  412 {
  413   as_status=$1; test $as_status -eq 0 && as_status=1
  414   if test "$4"; then
  415     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  416     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  417   fi
  418   $as_echo "$as_me: error: $2" >&2
  419   as_fn_exit $as_status
  420 } # as_fn_error
  421 
  422 if expr a : '\(a\)' >/dev/null 2>&1 &&
  423    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  424   as_expr=expr
  425 else
  426   as_expr=false
  427 fi
  428 
  429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  430   as_basename=basename
  431 else
  432   as_basename=false
  433 fi
  434 
  435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  436   as_dirname=dirname
  437 else
  438   as_dirname=false
  439 fi
  440 
  441 as_me=`$as_basename -- "$0" ||
  442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  443      X"$0" : 'X\(//\)$' \| \
  444      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  445 $as_echo X/"$0" |
  446     sed '/^.*\/\([^/][^/]*\)\/*$/{
  447         s//\1/
  448         q
  449       }
  450       /^X\/\(\/\/\)$/{
  451         s//\1/
  452         q
  453       }
  454       /^X\/\(\/\).*/{
  455         s//\1/
  456         q
  457       }
  458       s/.*/./; q'`
  459 
  460 # Avoid depending upon Character Ranges.
  461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  464 as_cr_digits='0123456789'
  465 as_cr_alnum=$as_cr_Letters$as_cr_digits
  466 
  467 
  468   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  469   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  470   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  471   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  472   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  473   sed -n '
  474     p
  475     /[$]LINENO/=
  476   ' <$as_myself |
  477     sed '
  478       s/[$]LINENO.*/&-/
  479       t lineno
  480       b
  481       :lineno
  482       N
  483       :loop
  484       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  485       t loop
  486       s/-\n.*//
  487     ' >$as_me.lineno &&
  488   chmod +x "$as_me.lineno" ||
  489     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  490 
  491   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  492   # already done that, so ensure we don't try to do so again and fall
  493   # in an infinite loop.  This has already happened in practice.
  494   _as_can_reexec=no; export _as_can_reexec
  495   # Don't try to exec as it changes $[0], causing all sort of problems
  496   # (the dirname of $[0] is not the place where we might find the
  497   # original and so on.  Autoconf is especially sensitive to this).
  498   . "./$as_me.lineno"
  499   # Exit status is that of the last command.
  500   exit
  501 }
  502 
  503 ECHO_C= ECHO_N= ECHO_T=
  504 case `echo -n x` in #(((((
  505 -n*)
  506   case `echo 'xy\c'` in
  507   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  508   xy)  ECHO_C='\c';;
  509   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  510        ECHO_T=' ';;
  511   esac;;
  512 *)
  513   ECHO_N='-n';;
  514 esac
  515 
  516 rm -f conf$$ conf$$.exe conf$$.file
  517 if test -d conf$$.dir; then
  518   rm -f conf$$.dir/conf$$.file
  519 else
  520   rm -f conf$$.dir
  521   mkdir conf$$.dir 2>/dev/null
  522 fi
  523 if (echo >conf$$.file) 2>/dev/null; then
  524   if ln -s conf$$.file conf$$ 2>/dev/null; then
  525     as_ln_s='ln -s'
  526     # ... but there are two gotchas:
  527     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  528     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  529     # In both cases, we have to default to `cp -pR'.
  530     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  531       as_ln_s='cp -pR'
  532   elif ln conf$$.file conf$$ 2>/dev/null; then
  533     as_ln_s=ln
  534   else
  535     as_ln_s='cp -pR'
  536   fi
  537 else
  538   as_ln_s='cp -pR'
  539 fi
  540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  541 rmdir conf$$.dir 2>/dev/null
  542 
  543 if mkdir -p . 2>/dev/null; then
  544   as_mkdir_p='mkdir -p "$as_dir"'
  545 else
  546   test -d ./-p && rmdir ./-p
  547   as_mkdir_p=false
  548 fi
  549 
  550 as_test_x='test -x'
  551 as_executable_p=as_fn_executable_p
  552 
  553 # Sed expression to map a string onto a valid CPP name.
  554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  555 
  556 # Sed expression to map a string onto a valid variable name.
  557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  558 
  559 
  560 test -n "$DJDIR" || exec 7<&0 </dev/null
  561 exec 6>&1
  562 
  563 # Name of the host.
  564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  565 # so uname gets run too.
  566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  567 
  568 #
  569 # Initializations.
  570 #
  571 ac_default_prefix=/usr/local
  572 ac_clean_files=
  573 ac_config_libobj_dir=.
  574 LIBOBJS=
  575 cross_compiling=no
  576 subdirs=
  577 MFLAGS=
  578 MAKEFLAGS=
  579 
  580 # Identity of this package.
  581 PACKAGE_NAME='tcsh'
  582 PACKAGE_TARNAME='tcsh'
  583 PACKAGE_VERSION='6.22.03'
  584 PACKAGE_STRING='tcsh 6.22.03'
  585 PACKAGE_BUGREPORT='https://bugs.astron.com/'
  586 PACKAGE_URL=''
  587 
  588 ac_unique_file="tc.vers.c"
  589 # Factoring default headers for most tests.
  590 ac_includes_default="\
  591 #include <stdio.h>
  592 #ifdef HAVE_SYS_TYPES_H
  593 # include <sys/types.h>
  594 #endif
  595 #ifdef HAVE_SYS_STAT_H
  596 # include <sys/stat.h>
  597 #endif
  598 #ifdef STDC_HEADERS
  599 # include <stdlib.h>
  600 # include <stddef.h>
  601 #else
  602 # ifdef HAVE_STDLIB_H
  603 #  include <stdlib.h>
  604 # endif
  605 #endif
  606 #ifdef HAVE_STRING_H
  607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  608 #  include <memory.h>
  609 # endif
  610 # include <string.h>
  611 #endif
  612 #ifdef HAVE_STRINGS_H
  613 # include <strings.h>
  614 #endif
  615 #ifdef HAVE_INTTYPES_H
  616 # include <inttypes.h>
  617 #endif
  618 #ifdef HAVE_STDINT_H
  619 # include <stdint.h>
  620 #endif
  621 #ifdef HAVE_UNISTD_H
  622 # include <unistd.h>
  623 #endif"
  624 
  625 ac_subst_vars='LTLIBOBJS
  626 LIBOBJS
  627 BUILD_CATALOGS
  628 HESLIB
  629 HESDEF
  630 DFLAGS
  631 CC_FOR_GETHOST
  632 GENCAT
  633 LTLIBICONV
  634 LIBICONV
  635 EGREP
  636 GREP
  637 CPP
  638 OBJEXT
  639 EXEEXT
  640 ac_ct_CC
  641 CPPFLAGS
  642 LDFLAGS
  643 CFLAGS
  644 CC
  645 host_os
  646 host_vendor
  647 host_cpu
  648 host
  649 build_os
  650 build_vendor
  651 build_cpu
  652 build
  653 INSTALL_DATA
  654 INSTALL_SCRIPT
  655 INSTALL_PROGRAM
  656 target_alias
  657 host_alias
  658 build_alias
  659 LIBS
  660 ECHO_T
  661 ECHO_N
  662 ECHO_C
  663 DEFS
  664 mandir
  665 localedir
  666 libdir
  667 psdir
  668 pdfdir
  669 dvidir
  670 htmldir
  671 infodir
  672 docdir
  673 oldincludedir
  674 includedir
  675 localstatedir
  676 sharedstatedir
  677 sysconfdir
  678 datadir
  679 datarootdir
  680 libexecdir
  681 sbindir
  682 bindir
  683 program_transform_name
  684 prefix
  685 exec_prefix
  686 PACKAGE_URL
  687 PACKAGE_BUGREPORT
  688 PACKAGE_STRING
  689 PACKAGE_VERSION
  690 PACKAGE_TARNAME
  691 PACKAGE_NAME
  692 PATH_SEPARATOR
  693 SHELL'
  694 ac_subst_files=''
  695 ac_user_opts='
  696 enable_option_checking
  697 with_gnu_ld
  698 enable_rpath
  699 with_libiconv_prefix
  700 enable_nls
  701 enable_nls_catalogs
  702 with_hesiod
  703 '
  704       ac_precious_vars='build_alias
  705 host_alias
  706 target_alias
  707 CC
  708 CFLAGS
  709 LDFLAGS
  710 LIBS
  711 CPPFLAGS
  712 CPP'
  713 
  714 
  715 # Initialize some variables set by options.
  716 ac_init_help=
  717 ac_init_version=false
  718 ac_unrecognized_opts=
  719 ac_unrecognized_sep=
  720 # The variables have the same names as the options, with
  721 # dashes changed to underlines.
  722 cache_file=/dev/null
  723 exec_prefix=NONE
  724 no_create=
  725 no_recursion=
  726 prefix=NONE
  727 program_prefix=NONE
  728 program_suffix=NONE
  729 program_transform_name=s,x,x,
  730 silent=
  731 site=
  732 srcdir=
  733 verbose=
  734 x_includes=NONE
  735 x_libraries=NONE
  736 
  737 # Installation directory options.
  738 # These are left unexpanded so users can "make install exec_prefix=/foo"
  739 # and all the variables that are supposed to be based on exec_prefix
  740 # by default will actually change.
  741 # Use braces instead of parens because sh, perl, etc. also accept them.
  742 # (The list follows the same order as the GNU Coding Standards.)
  743 bindir='${exec_prefix}/bin'
  744 sbindir='${exec_prefix}/sbin'
  745 libexecdir='${exec_prefix}/libexec'
  746 datarootdir='${prefix}/share'
  747 datadir='${datarootdir}'
  748 sysconfdir='${prefix}/etc'
  749 sharedstatedir='${prefix}/com'
  750 localstatedir='${prefix}/var'
  751 includedir='${prefix}/include'
  752 oldincludedir='/usr/include'
  753 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  754 infodir='${datarootdir}/info'
  755 htmldir='${docdir}'
  756 dvidir='${docdir}'
  757 pdfdir='${docdir}'
  758 psdir='${docdir}'
  759 libdir='${exec_prefix}/lib'
  760 localedir='${datarootdir}/locale'
  761 mandir='${datarootdir}/man'
  762 
  763 ac_prev=
  764 ac_dashdash=
  765 for ac_option
  766 do
  767   # If the previous option needs an argument, assign it.
  768   if test -n "$ac_prev"; then
  769     eval $ac_prev=\$ac_option
  770     ac_prev=
  771     continue
  772   fi
  773 
  774   case $ac_option in
  775   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  776   *=)   ac_optarg= ;;
  777   *)    ac_optarg=yes ;;
  778   esac
  779 
  780   # Accept the important Cygnus configure options, so we can diagnose typos.
  781 
  782   case $ac_dashdash$ac_option in
  783   --)
  784     ac_dashdash=yes ;;
  785 
  786   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  787     ac_prev=bindir ;;
  788   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  789     bindir=$ac_optarg ;;
  790 
  791   -build | --build | --buil | --bui | --bu)
  792     ac_prev=build_alias ;;
  793   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  794     build_alias=$ac_optarg ;;
  795 
  796   -cache-file | --cache-file | --cache-fil | --cache-fi \
  797   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  798     ac_prev=cache_file ;;
  799   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  800   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  801     cache_file=$ac_optarg ;;
  802 
  803   --config-cache | -C)
  804     cache_file=config.cache ;;
  805 
  806   -datadir | --datadir | --datadi | --datad)
  807     ac_prev=datadir ;;
  808   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  809     datadir=$ac_optarg ;;
  810 
  811   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  812   | --dataroo | --dataro | --datar)
  813     ac_prev=datarootdir ;;
  814   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  815   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  816     datarootdir=$ac_optarg ;;
  817 
  818   -disable-* | --disable-*)
  819     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  820     # Reject names that are not valid shell variable names.
  821     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  822       as_fn_error $? "invalid feature name: $ac_useropt"
  823     ac_useropt_orig=$ac_useropt
  824     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  825     case $ac_user_opts in
  826       *"
  827 "enable_$ac_useropt"
  828 "*) ;;
  829       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  830      ac_unrecognized_sep=', ';;
  831     esac
  832     eval enable_$ac_useropt=no ;;
  833 
  834   -docdir | --docdir | --docdi | --doc | --do)
  835     ac_prev=docdir ;;
  836   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  837     docdir=$ac_optarg ;;
  838 
  839   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  840     ac_prev=dvidir ;;
  841   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  842     dvidir=$ac_optarg ;;
  843 
  844   -enable-* | --enable-*)
  845     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  846     # Reject names that are not valid shell variable names.
  847     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  848       as_fn_error $? "invalid feature name: $ac_useropt"
  849     ac_useropt_orig=$ac_useropt
  850     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  851     case $ac_user_opts in
  852       *"
  853 "enable_$ac_useropt"
  854 "*) ;;
  855       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  856      ac_unrecognized_sep=', ';;
  857     esac
  858     eval enable_$ac_useropt=\$ac_optarg ;;
  859 
  860   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  861   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  862   | --exec | --exe | --ex)
  863     ac_prev=exec_prefix ;;
  864   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  865   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  866   | --exec=* | --exe=* | --ex=*)
  867     exec_prefix=$ac_optarg ;;
  868 
  869   -gas | --gas | --ga | --g)
  870     # Obsolete; use --with-gas.
  871     with_gas=yes ;;
  872 
  873   -help | --help | --hel | --he | -h)
  874     ac_init_help=long ;;
  875   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  876     ac_init_help=recursive ;;
  877   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  878     ac_init_help=short ;;
  879 
  880   -host | --host | --hos | --ho)
  881     ac_prev=host_alias ;;
  882   -host=* | --host=* | --hos=* | --ho=*)
  883     host_alias=$ac_optarg ;;
  884 
  885   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  886     ac_prev=htmldir ;;
  887   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  888   | --ht=*)
  889     htmldir=$ac_optarg ;;
  890 
  891   -includedir | --includedir | --includedi | --included | --include \
  892   | --includ | --inclu | --incl | --inc)
  893     ac_prev=includedir ;;
  894   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  895   | --includ=* | --inclu=* | --incl=* | --inc=*)
  896     includedir=$ac_optarg ;;
  897 
  898   -infodir | --infodir | --infodi | --infod | --info | --inf)
  899     ac_prev=infodir ;;
  900   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  901     infodir=$ac_optarg ;;
  902 
  903   -libdir | --libdir | --libdi | --libd)
  904     ac_prev=libdir ;;
  905   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  906     libdir=$ac_optarg ;;
  907 
  908   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  909   | --libexe | --libex | --libe)
  910     ac_prev=libexecdir ;;
  911   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  912   | --libexe=* | --libex=* | --libe=*)
  913     libexecdir=$ac_optarg ;;
  914 
  915   -localedir | --localedir | --localedi | --localed | --locale)
  916     ac_prev=localedir ;;
  917   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  918     localedir=$ac_optarg ;;
  919 
  920   -localstatedir | --localstatedir | --localstatedi | --localstated \
  921   | --localstate | --localstat | --localsta | --localst | --locals)
  922     ac_prev=localstatedir ;;
  923   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  924   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  925     localstatedir=$ac_optarg ;;
  926 
  927   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  928     ac_prev=mandir ;;
  929   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  930     mandir=$ac_optarg ;;
  931 
  932   -nfp | --nfp | --nf)
  933     # Obsolete; use --without-fp.
  934     with_fp=no ;;
  935 
  936   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  937   | --no-cr | --no-c | -n)
  938     no_create=yes ;;
  939 
  940   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  941   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  942     no_recursion=yes ;;
  943 
  944   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  945   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  946   | --oldin | --oldi | --old | --ol | --o)
  947     ac_prev=oldincludedir ;;
  948   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  949   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  950   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  951     oldincludedir=$ac_optarg ;;
  952 
  953   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  954     ac_prev=prefix ;;
  955   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  956     prefix=$ac_optarg ;;
  957 
  958   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  959   | --program-pre | --program-pr | --program-p)
  960     ac_prev=program_prefix ;;
  961   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  962   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  963     program_prefix=$ac_optarg ;;
  964 
  965   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  966   | --program-suf | --program-su | --program-s)
  967     ac_prev=program_suffix ;;
  968   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  969   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  970     program_suffix=$ac_optarg ;;
  971 
  972   -program-transform-name | --program-transform-name \
  973   | --program-transform-nam | --program-transform-na \
  974   | --program-transform-n | --program-transform- \
  975   | --program-transform | --program-transfor \
  976   | --program-transfo | --program-transf \
  977   | --program-trans | --program-tran \
  978   | --progr-tra | --program-tr | --program-t)
  979     ac_prev=program_transform_name ;;
  980   -program-transform-name=* | --program-transform-name=* \
  981   | --program-transform-nam=* | --program-transform-na=* \
  982   | --program-transform-n=* | --program-transform-=* \
  983   | --program-transform=* | --program-transfor=* \
  984   | --program-transfo=* | --program-transf=* \
  985   | --program-trans=* | --program-tran=* \
  986   | --progr-tra=* | --program-tr=* | --program-t=*)
  987     program_transform_name=$ac_optarg ;;
  988 
  989   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  990     ac_prev=pdfdir ;;
  991   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  992     pdfdir=$ac_optarg ;;
  993 
  994   -psdir | --psdir | --psdi | --psd | --ps)
  995     ac_prev=psdir ;;
  996   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  997     psdir=$ac_optarg ;;
  998 
  999   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1000   | -silent | --silent | --silen | --sile | --sil)
 1001     silent=yes ;;
 1002 
 1003   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1004     ac_prev=sbindir ;;
 1005   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1006   | --sbi=* | --sb=*)
 1007     sbindir=$ac_optarg ;;
 1008 
 1009   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1010   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1011   | --sharedst | --shareds | --shared | --share | --shar \
 1012   | --sha | --sh)
 1013     ac_prev=sharedstatedir ;;
 1014   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1015   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1016   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1017   | --sha=* | --sh=*)
 1018     sharedstatedir=$ac_optarg ;;
 1019 
 1020   -site | --site | --sit)
 1021     ac_prev=site ;;
 1022   -site=* | --site=* | --sit=*)
 1023     site=$ac_optarg ;;
 1024 
 1025   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1026     ac_prev=srcdir ;;
 1027   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1028     srcdir=$ac_optarg ;;
 1029 
 1030   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1031   | --syscon | --sysco | --sysc | --sys | --sy)
 1032     ac_prev=sysconfdir ;;
 1033   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1034   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1035     sysconfdir=$ac_optarg ;;
 1036 
 1037   -target | --target | --targe | --targ | --tar | --ta | --t)
 1038     ac_prev=target_alias ;;
 1039   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1040     target_alias=$ac_optarg ;;
 1041 
 1042   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1043     verbose=yes ;;
 1044 
 1045   -version | --version | --versio | --versi | --vers | -V)
 1046     ac_init_version=: ;;
 1047 
 1048   -with-* | --with-*)
 1049     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1050     # Reject names that are not valid shell variable names.
 1051     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1052       as_fn_error $? "invalid package name: $ac_useropt"
 1053     ac_useropt_orig=$ac_useropt
 1054     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1055     case $ac_user_opts in
 1056       *"
 1057 "with_$ac_useropt"
 1058 "*) ;;
 1059       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1060      ac_unrecognized_sep=', ';;
 1061     esac
 1062     eval with_$ac_useropt=\$ac_optarg ;;
 1063 
 1064   -without-* | --without-*)
 1065     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1066     # Reject names that are not valid shell variable names.
 1067     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1068       as_fn_error $? "invalid package name: $ac_useropt"
 1069     ac_useropt_orig=$ac_useropt
 1070     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1071     case $ac_user_opts in
 1072       *"
 1073 "with_$ac_useropt"
 1074 "*) ;;
 1075       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1076      ac_unrecognized_sep=', ';;
 1077     esac
 1078     eval with_$ac_useropt=no ;;
 1079 
 1080   --x)
 1081     # Obsolete; use --with-x.
 1082     with_x=yes ;;
 1083 
 1084   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1085   | --x-incl | --x-inc | --x-in | --x-i)
 1086     ac_prev=x_includes ;;
 1087   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1088   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1089     x_includes=$ac_optarg ;;
 1090 
 1091   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1092   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1093     ac_prev=x_libraries ;;
 1094   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1095   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1096     x_libraries=$ac_optarg ;;
 1097 
 1098   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1099 Try \`$0 --help' for more information"
 1100     ;;
 1101 
 1102   *=*)
 1103     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1104     # Reject names that are not valid shell variable names.
 1105     case $ac_envvar in #(
 1106       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1107       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1108     esac
 1109     eval $ac_envvar=\$ac_optarg
 1110     export $ac_envvar ;;
 1111 
 1112   *)
 1113     # FIXME: should be removed in autoconf 3.0.
 1114     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1115     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1116       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1117     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1118     ;;
 1119 
 1120   esac
 1121 done
 1122 
 1123 if test -n "$ac_prev"; then
 1124   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1125   as_fn_error $? "missing argument to $ac_option"
 1126 fi
 1127 
 1128 if test -n "$ac_unrecognized_opts"; then
 1129   case $enable_option_checking in
 1130     no) ;;
 1131     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1132     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1133   esac
 1134 fi
 1135 
 1136 # Check all directory arguments for consistency.
 1137 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1138         datadir sysconfdir sharedstatedir localstatedir includedir \
 1139         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1140         libdir localedir mandir
 1141 do
 1142   eval ac_val=\$$ac_var
 1143   # Remove trailing slashes.
 1144   case $ac_val in
 1145     */ )
 1146       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1147       eval $ac_var=\$ac_val;;
 1148   esac
 1149   # Be sure to have absolute directory names.
 1150   case $ac_val in
 1151     [\\/$]* | ?:[\\/]* )  continue;;
 1152     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1153   esac
 1154   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1155 done
 1156 
 1157 # There might be people who depend on the old broken behavior: `$host'
 1158 # used to hold the argument of --host etc.
 1159 # FIXME: To remove some day.
 1160 build=$build_alias
 1161 host=$host_alias
 1162 target=$target_alias
 1163 
 1164 # FIXME: To remove some day.
 1165 if test "x$host_alias" != x; then
 1166   if test "x$build_alias" = x; then
 1167     cross_compiling=maybe
 1168   elif test "x$build_alias" != "x$host_alias"; then
 1169     cross_compiling=yes
 1170   fi
 1171 fi
 1172 
 1173 ac_tool_prefix=
 1174 test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1175 
 1176 test "$silent" = yes && exec 6>/dev/null
 1177 
 1178 
 1179 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1180 ac_ls_di=`ls -di .` &&
 1181 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1182   as_fn_error $? "working directory cannot be determined"
 1183 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1184   as_fn_error $? "pwd does not report name of working directory"
 1185 
 1186 
 1187 # Find the source files, if location was not specified.
 1188 if test -z "$srcdir"; then
 1189   ac_srcdir_defaulted=yes
 1190   # Try the directory containing this script, then the parent directory.
 1191   ac_confdir=`$as_dirname -- "$as_myself" ||
 1192 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1193      X"$as_myself" : 'X\(//\)[^/]' \| \
 1194      X"$as_myself" : 'X\(//\)$' \| \
 1195      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1196 $as_echo X"$as_myself" |
 1197     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1198         s//\1/
 1199         q
 1200       }
 1201       /^X\(\/\/\)[^/].*/{
 1202         s//\1/
 1203         q
 1204       }
 1205       /^X\(\/\/\)$/{
 1206         s//\1/
 1207         q
 1208       }
 1209       /^X\(\/\).*/{
 1210         s//\1/
 1211         q
 1212       }
 1213       s/.*/./; q'`
 1214   srcdir=$ac_confdir
 1215   if test ! -r "$srcdir/$ac_unique_file"; then
 1216     srcdir=..
 1217   fi
 1218 else
 1219   ac_srcdir_defaulted=no
 1220 fi
 1221 if test ! -r "$srcdir/$ac_unique_file"; then
 1222   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1223   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1224 fi
 1225 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1226 ac_abs_confdir=`(
 1227     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1228     pwd)`
 1229 # When building in place, set srcdir=.
 1230 if test "$ac_abs_confdir" = "$ac_pwd"; then
 1231   srcdir=.
 1232 fi
 1233 # Remove unnecessary trailing slashes from srcdir.
 1234 # Double slashes in file names in object file debugging info
 1235 # mess up M-x gdb in Emacs.
 1236 case $srcdir in
 1237 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1238 esac
 1239 for ac_var in $ac_precious_vars; do
 1240   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1241   eval ac_env_${ac_var}_value=\$${ac_var}
 1242   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1243   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1244 done
 1245 
 1246 #
 1247 # Report the --help message.
 1248 #
 1249 if test "$ac_init_help" = "long"; then
 1250   # Omit some internal or obsolete options to make the list less imposing.
 1251   # This message is too long to be a string in the A/UX 3.1 sh.
 1252   cat <<_ACEOF
 1253 \`configure' configures tcsh 6.22.03 to adapt to many kinds of systems.
 1254 
 1255 Usage: $0 [OPTION]... [VAR=VALUE]...
 1256 
 1257 To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1258 VAR=VALUE.  See below for descriptions of some of the useful variables.
 1259 
 1260 Defaults for the options are specified in brackets.
 1261 
 1262 Configuration:
 1263   -h, --help              display this help and exit
 1264       --help=short        display options specific to this package
 1265       --help=recursive    display the short help of all the included packages
 1266   -V, --version           display version information and exit
 1267   -q, --quiet, --silent   do not print \`checking ...' messages
 1268       --cache-file=FILE   cache test results in FILE [disabled]
 1269   -C, --config-cache      alias for \`--cache-file=config.cache'
 1270   -n, --no-create         do not create output files
 1271       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1272 
 1273 Installation directories:
 1274   --prefix=PREFIX         install architecture-independent files in PREFIX
 1275                           [$ac_default_prefix]
 1276   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1277                           [PREFIX]
 1278 
 1279 By default, \`make install' will install all the files in
 1280 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1281 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1282 for instance \`--prefix=\$HOME'.
 1283 
 1284 For better control, use the options below.
 1285 
 1286 Fine tuning of the installation directories:
 1287   --bindir=DIR            user executables [EPREFIX/bin]
 1288   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1289   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1290   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1291   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1292   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1293   --libdir=DIR            object code libraries [EPREFIX/lib]
 1294   --includedir=DIR        C header files [PREFIX/include]
 1295   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1296   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1297   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1298   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1299   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1300   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1301   --docdir=DIR            documentation root [DATAROOTDIR/doc/tcsh]
 1302   --htmldir=DIR           html documentation [DOCDIR]
 1303   --dvidir=DIR            dvi documentation [DOCDIR]
 1304   --pdfdir=DIR            pdf documentation [DOCDIR]
 1305   --psdir=DIR             ps documentation [DOCDIR]
 1306 _ACEOF
 1307 
 1308   cat <<\_ACEOF
 1309 
 1310 System types:
 1311   --build=BUILD     configure for building on BUILD [guessed]
 1312   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1313 _ACEOF
 1314 fi
 1315 
 1316 if test -n "$ac_init_help"; then
 1317   case $ac_init_help in
 1318      short | recursive ) echo "Configuration of tcsh 6.22.03:";;
 1319    esac
 1320   cat <<\_ACEOF
 1321 
 1322 Optional Features:
 1323   --disable-option-checking  ignore unrecognized --enable/--with options
 1324   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1325   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1326   --disable-rpath         do not hardcode runtime library paths
 1327   --disable-nls           Disable NLS support
 1328   --disable-nls-catalogs  Disable NLS catalog support
 1329 
 1330 Optional Packages:
 1331   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1332   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1333   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1334   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 1335   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 1336   --with-hesiod=PREFIX    Use Hesiod lookup for ~ expansion
 1337 
 1338 Some influential environment variables:
 1339   CC          C compiler command
 1340   CFLAGS      C compiler flags
 1341   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1342               nonstandard directory <lib dir>
 1343   LIBS        libraries to pass to the linker, e.g. -l<library>
 1344   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1345               you have headers in a nonstandard directory <include dir>
 1346   CPP         C preprocessor
 1347 
 1348 Use these variables to override the choices made by `configure' or to help
 1349 it to find libraries and programs with nonstandard names/locations.
 1350 
 1351 Report bugs to <https://bugs.astron.com/>.
 1352 _ACEOF
 1353 ac_status=$?
 1354 fi
 1355 
 1356 if test "$ac_init_help" = "recursive"; then
 1357   # If there are subdirs, report their specific --help.
 1358   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1359     test -d "$ac_dir" ||
 1360       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1361       continue
 1362     ac_builddir=.
 1363 
 1364 case "$ac_dir" in
 1365 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1366 *)
 1367   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1368   # A ".." for each directory in $ac_dir_suffix.
 1369   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1370   case $ac_top_builddir_sub in
 1371   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1372   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1373   esac ;;
 1374 esac
 1375 ac_abs_top_builddir=$ac_pwd
 1376 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1377 # for backward compatibility:
 1378 ac_top_builddir=$ac_top_build_prefix
 1379 
 1380 case $srcdir in
 1381   .)  # We are building in place.
 1382     ac_srcdir=.
 1383     ac_top_srcdir=$ac_top_builddir_sub
 1384     ac_abs_top_srcdir=$ac_pwd ;;
 1385   [\\/]* | ?:[\\/]* )  # Absolute name.
 1386     ac_srcdir=$srcdir$ac_dir_suffix;
 1387     ac_top_srcdir=$srcdir
 1388     ac_abs_top_srcdir=$srcdir ;;
 1389   *) # Relative name.
 1390     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1391     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1392     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1393 esac
 1394 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1395 
 1396     cd "$ac_dir" || { ac_status=$?; continue; }
 1397     # Check for guested configure.
 1398     if test -f "$ac_srcdir/configure.gnu"; then
 1399       echo &&
 1400       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1401     elif test -f "$ac_srcdir/configure"; then
 1402       echo &&
 1403       $SHELL "$ac_srcdir/configure" --help=recursive
 1404     else
 1405       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1406     fi || ac_status=$?
 1407     cd "$ac_pwd" || { ac_status=$?; break; }
 1408   done
 1409 fi
 1410 
 1411 test -n "$ac_init_help" && exit $ac_status
 1412 if $ac_init_version; then
 1413   cat <<\_ACEOF
 1414 tcsh configure 6.22.03
 1415 generated by GNU Autoconf 2.69
 1416 
 1417 Copyright (C) 2012 Free Software Foundation, Inc.
 1418 This configure script is free software; the Free Software Foundation
 1419 gives unlimited permission to copy, distribute and modify it.
 1420 _ACEOF
 1421   exit
 1422 fi
 1423 
 1424 ## ------------------------ ##
 1425 ## Autoconf initialization. ##
 1426 ## ------------------------ ##
 1427 
 1428 # ac_fn_c_try_compile LINENO
 1429 # --------------------------
 1430 # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1431 ac_fn_c_try_compile ()
 1432 {
 1433   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1434   rm -f conftest.$ac_objext
 1435   if { { ac_try="$ac_compile"
 1436 case "(($ac_try" in
 1437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1438   *) ac_try_echo=$ac_try;;
 1439 esac
 1440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1441 $as_echo "$ac_try_echo"; } >&5
 1442   (eval "$ac_compile") 2>conftest.err
 1443   ac_status=$?
 1444   if test -s conftest.err; then
 1445     grep -v '^ *+' conftest.err >conftest.er1
 1446     cat conftest.er1 >&5
 1447     mv -f conftest.er1 conftest.err
 1448   fi
 1449   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1450   test $ac_status = 0; } && {
 1451      test -z "$ac_c_werror_flag" ||
 1452      test ! -s conftest.err
 1453        } && test -s conftest.$ac_objext; then :
 1454   ac_retval=0
 1455 else
 1456   $as_echo "$as_me: failed program was:" >&5
 1457 sed 's/^/| /' conftest.$ac_ext >&5
 1458 
 1459     ac_retval=1
 1460 fi
 1461   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1462   as_fn_set_status $ac_retval
 1463 
 1464 } # ac_fn_c_try_compile
 1465 
 1466 # ac_fn_c_try_cpp LINENO
 1467 # ----------------------
 1468 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1469 ac_fn_c_try_cpp ()
 1470 {
 1471   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1472   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1473 case "(($ac_try" in
 1474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1475   *) ac_try_echo=$ac_try;;
 1476 esac
 1477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1478 $as_echo "$ac_try_echo"; } >&5
 1479   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1480   ac_status=$?
 1481   if test -s conftest.err; then
 1482     grep -v '^ *+' conftest.err >conftest.er1
 1483     cat conftest.er1 >&5
 1484     mv -f conftest.er1 conftest.err
 1485   fi
 1486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1487   test $ac_status = 0; } > conftest.i && {
 1488      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1489      test ! -s conftest.err
 1490        }; then :
 1491   ac_retval=0
 1492 else
 1493   $as_echo "$as_me: failed program was:" >&5
 1494 sed 's/^/| /' conftest.$ac_ext >&5
 1495 
 1496     ac_retval=1
 1497 fi
 1498   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1499   as_fn_set_status $ac_retval
 1500 
 1501 } # ac_fn_c_try_cpp
 1502 
 1503 # ac_fn_c_try_link LINENO
 1504 # -----------------------
 1505 # Try to link conftest.$ac_ext, and return whether this succeeded.
 1506 ac_fn_c_try_link ()
 1507 {
 1508   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1509   rm -f conftest.$ac_objext conftest$ac_exeext
 1510   if { { ac_try="$ac_link"
 1511 case "(($ac_try" in
 1512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1513   *) ac_try_echo=$ac_try;;
 1514 esac
 1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1516 $as_echo "$ac_try_echo"; } >&5
 1517   (eval "$ac_link") 2>conftest.err
 1518   ac_status=$?
 1519   if test -s conftest.err; then
 1520     grep -v '^ *+' conftest.err >conftest.er1
 1521     cat conftest.er1 >&5
 1522     mv -f conftest.er1 conftest.err
 1523   fi
 1524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1525   test $ac_status = 0; } && {
 1526      test -z "$ac_c_werror_flag" ||
 1527      test ! -s conftest.err
 1528        } && test -s conftest$ac_exeext && {
 1529      test "$cross_compiling" = yes ||
 1530      test -x conftest$ac_exeext
 1531        }; then :
 1532   ac_retval=0
 1533 else
 1534   $as_echo "$as_me: failed program was:" >&5
 1535 sed 's/^/| /' conftest.$ac_ext >&5
 1536 
 1537     ac_retval=1
 1538 fi
 1539   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1540   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1541   # interfere with the next link command; also delete a directory that is
 1542   # left behind by Apple's compiler.  We do this before executing the actions.
 1543   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1544   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1545   as_fn_set_status $ac_retval
 1546 
 1547 } # ac_fn_c_try_link
 1548 
 1549 # ac_fn_c_try_run LINENO
 1550 # ----------------------
 1551 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1552 # that executables *can* be run.
 1553 ac_fn_c_try_run ()
 1554 {
 1555   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1556   if { { ac_try="$ac_link"
 1557 case "(($ac_try" in
 1558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1559   *) ac_try_echo=$ac_try;;
 1560 esac
 1561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1562 $as_echo "$ac_try_echo"; } >&5
 1563   (eval "$ac_link") 2>&5
 1564   ac_status=$?
 1565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1566   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1567   { { case "(($ac_try" in
 1568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1569   *) ac_try_echo=$ac_try;;
 1570 esac
 1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1572 $as_echo "$ac_try_echo"; } >&5
 1573   (eval "$ac_try") 2>&5
 1574   ac_status=$?
 1575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1576   test $ac_status = 0; }; }; then :
 1577   ac_retval=0
 1578 else
 1579   $as_echo "$as_me: program exited with status $ac_status" >&5
 1580        $as_echo "$as_me: failed program was:" >&5
 1581 sed 's/^/| /' conftest.$ac_ext >&5
 1582 
 1583        ac_retval=$ac_status
 1584 fi
 1585   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1586   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1587   as_fn_set_status $ac_retval
 1588 
 1589 } # ac_fn_c_try_run
 1590 
 1591 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 1592 # -------------------------------------------------------
 1593 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 1594 # the include files in INCLUDES and setting the cache variable VAR
 1595 # accordingly.
 1596 ac_fn_c_check_header_mongrel ()
 1597 {
 1598   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1599   if eval \${$3+:} false; then :
 1600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1601 $as_echo_n "checking for $2... " >&6; }
 1602 if eval \${$3+:} false; then :
 1603   $as_echo_n "(cached) " >&6
 1604 fi
 1605 eval ac_res=\$$3
 1606            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1607 $as_echo "$ac_res" >&6; }
 1608 else
 1609   # Is the header compilable?
 1610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 1611 $as_echo_n "checking $2 usability... " >&6; }
 1612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1613 /* end confdefs.h.  */
 1614 $4
 1615 #include <$2>
 1616 _ACEOF
 1617 if ac_fn_c_try_compile "$LINENO"; then :
 1618   ac_header_compiler=yes
 1619 else
 1620   ac_header_compiler=no
 1621 fi
 1622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 1624 $as_echo "$ac_header_compiler" >&6; }
 1625 
 1626 # Is the header present?
 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 1628 $as_echo_n "checking $2 presence... " >&6; }
 1629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1630 /* end confdefs.h.  */
 1631 #include <$2>
 1632 _ACEOF
 1633 if ac_fn_c_try_cpp "$LINENO"; then :
 1634   ac_header_preproc=yes
 1635 else
 1636   ac_header_preproc=no
 1637 fi
 1638 rm -f conftest.err conftest.i conftest.$ac_ext
 1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 1640 $as_echo "$ac_header_preproc" >&6; }
 1641 
 1642 # So?  What about this header?
 1643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 1644   yes:no: )
 1645     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 1646 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 1647     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1648 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1649     ;;
 1650   no:yes:* )
 1651     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 1652 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 1653     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 1654 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 1655     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 1656 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 1657     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 1658 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 1659     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1660 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1661 ( $as_echo "## --------------------------------------- ##
 1662 ## Report this to https://bugs.astron.com/ ##
 1663 ## --------------------------------------- ##"
 1664      ) | sed "s/^/$as_me: WARNING:     /" >&2
 1665     ;;
 1666 esac
 1667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1668 $as_echo_n "checking for $2... " >&6; }
 1669 if eval \${$3+:} false; then :
 1670   $as_echo_n "(cached) " >&6
 1671 else
 1672   eval "$3=\$ac_header_compiler"
 1673 fi
 1674 eval ac_res=\$$3
 1675            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1676 $as_echo "$ac_res" >&6; }
 1677 fi
 1678   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1679 
 1680 } # ac_fn_c_check_header_mongrel
 1681 
 1682 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1683 # -------------------------------------------------------
 1684 # Tests whether HEADER exists and can be compiled using the include files in
 1685 # INCLUDES, setting the cache variable VAR accordingly.
 1686 ac_fn_c_check_header_compile ()
 1687 {
 1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1690 $as_echo_n "checking for $2... " >&6; }
 1691 if eval \${$3+:} false; then :
 1692   $as_echo_n "(cached) " >&6
 1693 else
 1694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1695 /* end confdefs.h.  */
 1696 $4
 1697 #include <$2>
 1698 _ACEOF
 1699 if ac_fn_c_try_compile "$LINENO"; then :
 1700   eval "$3=yes"
 1701 else
 1702   eval "$3=no"
 1703 fi
 1704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1705 fi
 1706 eval ac_res=\$$3
 1707            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1708 $as_echo "$ac_res" >&6; }
 1709   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1710 
 1711 } # ac_fn_c_check_header_compile
 1712 
 1713 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 1714 # --------------------------------------------
 1715 # Tries to find the compile-time value of EXPR in a program that includes
 1716 # INCLUDES, setting VAR accordingly. Returns whether the value could be
 1717 # computed
 1718 ac_fn_c_compute_int ()
 1719 {
 1720   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1721   if test "$cross_compiling" = yes; then
 1722     # Depending upon the size, compute the lo and hi bounds.
 1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1724 /* end confdefs.h.  */
 1725 $4
 1726 int
 1727 main ()
 1728 {
 1729 static int test_array [1 - 2 * !(($2) >= 0)];
 1730 test_array [0] = 0;
 1731 return test_array [0];
 1732 
 1733   ;
 1734   return 0;
 1735 }
 1736 _ACEOF
 1737 if ac_fn_c_try_compile "$LINENO"; then :
 1738   ac_lo=0 ac_mid=0
 1739   while :; do
 1740     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1741 /* end confdefs.h.  */
 1742 $4
 1743 int
 1744 main ()
 1745 {
 1746 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 1747 test_array [0] = 0;
 1748 return test_array [0];
 1749 
 1750   ;
 1751   return 0;
 1752 }
 1753 _ACEOF
 1754 if ac_fn_c_try_compile "$LINENO"; then :
 1755   ac_hi=$ac_mid; break
 1756 else
 1757   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 1758             if test $ac_lo -le $ac_mid; then
 1759               ac_lo= ac_hi=
 1760               break
 1761             fi
 1762             as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 1763 fi
 1764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1765   done
 1766 else
 1767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1768 /* end confdefs.h.  */
 1769 $4
 1770 int
 1771 main ()
 1772 {
 1773 static int test_array [1 - 2 * !(($2) < 0)];
 1774 test_array [0] = 0;
 1775 return test_array [0];
 1776 
 1777   ;
 1778   return 0;
 1779 }
 1780 _ACEOF
 1781 if ac_fn_c_try_compile "$LINENO"; then :
 1782   ac_hi=-1 ac_mid=-1
 1783   while :; do
 1784     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1785 /* end confdefs.h.  */
 1786 $4
 1787 int
 1788 main ()
 1789 {
 1790 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 1791 test_array [0] = 0;
 1792 return test_array [0];
 1793 
 1794   ;
 1795   return 0;
 1796 }
 1797 _ACEOF
 1798 if ac_fn_c_try_compile "$LINENO"; then :
 1799   ac_lo=$ac_mid; break
 1800 else
 1801   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 1802             if test $ac_mid -le $ac_hi; then
 1803               ac_lo= ac_hi=
 1804               break
 1805             fi
 1806             as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 1807 fi
 1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1809   done
 1810 else
 1811   ac_lo= ac_hi=
 1812 fi
 1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1814 fi
 1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1816 # Binary search between lo and hi bounds.
 1817 while test "x$ac_lo" != "x$ac_hi"; do
 1818   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 1819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1820 /* end confdefs.h.  */
 1821 $4
 1822 int
 1823 main ()
 1824 {
 1825 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 1826 test_array [0] = 0;
 1827 return test_array [0];
 1828 
 1829   ;
 1830   return 0;
 1831 }
 1832 _ACEOF
 1833 if ac_fn_c_try_compile "$LINENO"; then :
 1834   ac_hi=$ac_mid
 1835 else
 1836   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 1837 fi
 1838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1839 done
 1840 case $ac_lo in #((
 1841 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 1842 '') ac_retval=1 ;;
 1843 esac
 1844   else
 1845     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1846 /* end confdefs.h.  */
 1847 $4
 1848 static long int longval () { return $2; }
 1849 static unsigned long int ulongval () { return $2; }
 1850 #include <stdio.h>
 1851 #include <stdlib.h>
 1852 int
 1853 main ()
 1854 {
 1855 
 1856   FILE *f = fopen ("conftest.val", "w");
 1857   if (! f)
 1858     return 1;
 1859   if (($2) < 0)
 1860     {
 1861       long int i = longval ();
 1862       if (i != ($2))
 1863     return 1;
 1864       fprintf (f, "%ld", i);
 1865     }
 1866   else
 1867     {
 1868       unsigned long int i = ulongval ();
 1869       if (i != ($2))
 1870     return 1;
 1871       fprintf (f, "%lu", i);
 1872     }
 1873   /* Do not output a trailing newline, as this causes \r\n confusion
 1874      on some platforms.  */
 1875   return ferror (f) || fclose (f) != 0;
 1876 
 1877   ;
 1878   return 0;
 1879 }
 1880 _ACEOF
 1881 if ac_fn_c_try_run "$LINENO"; then :
 1882   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 1883 else
 1884   ac_retval=1
 1885 fi
 1886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 1887   conftest.$ac_objext conftest.beam conftest.$ac_ext
 1888 rm -f conftest.val
 1889 
 1890   fi
 1891   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1892   as_fn_set_status $ac_retval
 1893 
 1894 } # ac_fn_c_compute_int
 1895 
 1896 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1897 # -------------------------------------------
 1898 # Tests whether TYPE exists after having included INCLUDES, setting cache
 1899 # variable VAR accordingly.
 1900 ac_fn_c_check_type ()
 1901 {
 1902   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1904 $as_echo_n "checking for $2... " >&6; }
 1905 if eval \${$3+:} false; then :
 1906   $as_echo_n "(cached) " >&6
 1907 else
 1908   eval "$3=no"
 1909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1910 /* end confdefs.h.  */
 1911 $4
 1912 int
 1913 main ()
 1914 {
 1915 if (sizeof ($2))
 1916      return 0;
 1917   ;
 1918   return 0;
 1919 }
 1920 _ACEOF
 1921 if ac_fn_c_try_compile "$LINENO"; then :
 1922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1923 /* end confdefs.h.  */
 1924 $4
 1925 int
 1926 main ()
 1927 {
 1928 if (sizeof (($2)))
 1929         return 0;
 1930   ;
 1931   return 0;
 1932 }
 1933 _ACEOF
 1934 if ac_fn_c_try_compile "$LINENO"; then :
 1935 
 1936 else
 1937   eval "$3=yes"
 1938 fi
 1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1940 fi
 1941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1942 fi
 1943 eval ac_res=\$$3
 1944            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1945 $as_echo "$ac_res" >&6; }
 1946   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1947 
 1948 } # ac_fn_c_check_type
 1949 
 1950 # ac_fn_c_find_uintX_t LINENO BITS VAR
 1951 # ------------------------------------
 1952 # Finds an unsigned integer type with width BITS, setting cache variable VAR
 1953 # accordingly.
 1954 ac_fn_c_find_uintX_t ()
 1955 {
 1956   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
 1958 $as_echo_n "checking for uint$2_t... " >&6; }
 1959 if eval \${$3+:} false; then :
 1960   $as_echo_n "(cached) " >&6
 1961 else
 1962   eval "$3=no"
 1963      # Order is important - never check a type that is potentially smaller
 1964      # than half of the expected target width.
 1965      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
 1966      'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 1967        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1968 /* end confdefs.h.  */
 1969 $ac_includes_default
 1970 int
 1971 main ()
 1972 {
 1973 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
 1974 test_array [0] = 0;
 1975 return test_array [0];
 1976 
 1977   ;
 1978   return 0;
 1979 }
 1980 _ACEOF
 1981 if ac_fn_c_try_compile "$LINENO"; then :
 1982   case $ac_type in #(
 1983   uint$2_t) :
 1984     eval "$3=yes" ;; #(
 1985   *) :
 1986     eval "$3=\$ac_type" ;;
 1987 esac
 1988 fi
 1989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1990        if eval test \"x\$"$3"\" = x"no"; then :
 1991 
 1992 else
 1993   break
 1994 fi
 1995      done
 1996 fi
 1997 eval ac_res=\$$3
 1998            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1999 $as_echo "$ac_res" >&6; }
 2000   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2001 
 2002 } # ac_fn_c_find_uintX_t
 2003 
 2004 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 2005 # ----------------------------------------------------
 2006 # Tries to find if the field MEMBER exists in type AGGR, after including
 2007 # INCLUDES, setting cache variable VAR accordingly.
 2008 ac_fn_c_check_member ()
 2009 {
 2010   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 2012 $as_echo_n "checking for $2.$3... " >&6; }
 2013 if eval \${$4+:} false; then :
 2014   $as_echo_n "(cached) " >&6
 2015 else
 2016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2017 /* end confdefs.h.  */
 2018 $5
 2019 int
 2020 main ()
 2021 {
 2022 static $2 ac_aggr;
 2023 if (ac_aggr.$3)
 2024 return 0;
 2025   ;
 2026   return 0;
 2027 }
 2028 _ACEOF
 2029 if ac_fn_c_try_compile "$LINENO"; then :
 2030   eval "$4=yes"
 2031 else
 2032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2033 /* end confdefs.h.  */
 2034 $5
 2035 int
 2036 main ()
 2037 {
 2038 static $2 ac_aggr;
 2039 if (sizeof ac_aggr.$3)
 2040 return 0;
 2041   ;
 2042   return 0;
 2043 }
 2044 _ACEOF
 2045 if ac_fn_c_try_compile "$LINENO"; then :
 2046   eval "$4=yes"
 2047 else
 2048   eval "$4=no"
 2049 fi
 2050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2051 fi
 2052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2053 fi
 2054 eval ac_res=\$$4
 2055            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2056 $as_echo "$ac_res" >&6; }
 2057   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2058 
 2059 } # ac_fn_c_check_member
 2060 
 2061 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 2062 # ---------------------------------------------
 2063 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 2064 # accordingly.
 2065 ac_fn_c_check_decl ()
 2066 {
 2067   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2068   as_decl_name=`echo $2|sed 's/ *(.*//'`
 2069   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 2070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 2071 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 2072 if eval \${$3+:} false; then :
 2073   $as_echo_n "(cached) " >&6
 2074 else
 2075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2076 /* end confdefs.h.  */
 2077 $4
 2078 int
 2079 main ()
 2080 {
 2081 #ifndef $as_decl_name
 2082 #ifdef __cplusplus
 2083   (void) $as_decl_use;
 2084 #else
 2085   (void) $as_decl_name;
 2086 #endif
 2087 #endif
 2088 
 2089   ;
 2090   return 0;
 2091 }
 2092 _ACEOF
 2093 if ac_fn_c_try_compile "$LINENO"; then :
 2094   eval "$3=yes"
 2095 else
 2096   eval "$3=no"
 2097 fi
 2098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2099 fi
 2100 eval ac_res=\$$3
 2101            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2102 $as_echo "$ac_res" >&6; }
 2103   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2104 
 2105 } # ac_fn_c_check_decl
 2106 
 2107 # ac_fn_c_check_func LINENO FUNC VAR
 2108 # ----------------------------------
 2109 # Tests whether FUNC exists, setting the cache variable VAR accordingly
 2110 ac_fn_c_check_func ()
 2111 {
 2112   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 2113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 2114 $as_echo_n "checking for $2... " >&6; }
 2115 if eval \${$3+:} false; then :
 2116   $as_echo_n "(cached) " >&6
 2117 else
 2118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2119 /* end confdefs.h.  */
 2120 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 2121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 2122 #define $2 innocuous_$2
 2123 
 2124 /* System header to define __stub macros and hopefully few prototypes,
 2125     which can conflict with char $2 (); below.
 2126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 2127     <limits.h> exists even on freestanding compilers.  */
 2128 
 2129 #ifdef __STDC__
 2130 # include <limits.h>
 2131 #else
 2132 # include <assert.h>
 2133 #endif
 2134 
 2135 #undef $2
 2136 
 2137 /* Override any GCC internal prototype to avoid an error.
 2138    Use char because int might match the return type of a GCC
 2139    builtin and then its argument prototype would still apply.  */
 2140 #ifdef __cplusplus
 2141 extern "C"
 2142 #endif
 2143 char $2 ();
 2144 /* The GNU C library defines this for functions which it implements
 2145     to always fail with ENOSYS.  Some functions are actually named
 2146     something starting with __ and the normal name is an alias.  */
 2147 #if defined __stub_$2 || defined __stub___$2
 2148 choke me
 2149 #endif
 2150 
 2151 int
 2152 main ()
 2153 {
 2154 return $2 ();
 2155   ;
 2156   return 0;
 2157 }
 2158 _ACEOF
 2159 if ac_fn_c_try_link "$LINENO"; then :
 2160   eval "$3=yes"
 2161 else
 2162   eval "$3=no"
 2163 fi
 2164 rm -f core conftest.err conftest.$ac_objext \
 2165     conftest$ac_exeext conftest.$ac_ext
 2166 fi
 2167 eval ac_res=\$$3
 2168            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 2169 $as_echo "$ac_res" >&6; }
 2170   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 2171 
 2172 } # ac_fn_c_check_func
 2173 cat >config.log <<_ACEOF
 2174 This file contains any messages produced by compilers while
 2175 running configure, to aid debugging if configure makes a mistake.
 2176 
 2177 It was created by tcsh $as_me 6.22.03, which was
 2178 generated by GNU Autoconf 2.69.  Invocation command line was
 2179 
 2180   $ $0 $@
 2181 
 2182 _ACEOF
 2183 exec 5>>config.log
 2184 {
 2185 cat <<_ASUNAME
 2186 ## --------- ##
 2187 ## Platform. ##
 2188 ## --------- ##
 2189 
 2190 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 2191 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 2192 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 2193 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 2194 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 2195 
 2196 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 2197 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 2198 
 2199 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2200 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2201 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2202 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2203 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2204 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2205 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2206 
 2207 _ASUNAME
 2208 
 2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2210 for as_dir in $PATH
 2211 do
 2212   IFS=$as_save_IFS
 2213   test -z "$as_dir" && as_dir=.
 2214     $as_echo "PATH: $as_dir"
 2215   done
 2216 IFS=$as_save_IFS
 2217 
 2218 } >&5
 2219 
 2220 cat >&5 <<_ACEOF
 2221 
 2222 
 2223 ## ----------- ##
 2224 ## Core tests. ##
 2225 ## ----------- ##
 2226 
 2227 _ACEOF
 2228 
 2229 
 2230 # Keep a trace of the command line.
 2231 # Strip out --no-create and --no-recursion so they do not pile up.
 2232 # Strip out --silent because we don't want to record it for future runs.
 2233 # Also quote any args containing shell meta-characters.
 2234 # Make two passes to allow for proper duplicate-argument suppression.
 2235 ac_configure_args=
 2236 ac_configure_args0=
 2237 ac_configure_args1=
 2238 ac_must_keep_next=false
 2239 for ac_pass in 1 2
 2240 do
 2241   for ac_arg
 2242   do
 2243     case $ac_arg in
 2244     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2245     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2246     | -silent | --silent | --silen | --sile | --sil)
 2247       continue ;;
 2248     *\'*)
 2249       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2250     esac
 2251     case $ac_pass in
 2252     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2253     2)
 2254       as_fn_append ac_configure_args1 " '$ac_arg'"
 2255       if test $ac_must_keep_next = true; then
 2256     ac_must_keep_next=false # Got value, back to normal.
 2257       else
 2258     case $ac_arg in
 2259       *=* | --config-cache | -C | -disable-* | --disable-* \
 2260       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2261       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2262       | -with-* | --with-* | -without-* | --without-* | --x)
 2263         case "$ac_configure_args0 " in
 2264           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2265         esac
 2266         ;;
 2267       -* ) ac_must_keep_next=true ;;
 2268     esac
 2269       fi
 2270       as_fn_append ac_configure_args " '$ac_arg'"
 2271       ;;
 2272     esac
 2273   done
 2274 done
 2275 { ac_configure_args0=; unset ac_configure_args0;}
 2276 { ac_configure_args1=; unset ac_configure_args1;}
 2277 
 2278 # When interrupted or exit'd, cleanup temporary files, and complete
 2279 # config.log.  We remove comments because anyway the quotes in there
 2280 # would cause problems or look ugly.
 2281 # WARNING: Use '\'' to represent an apostrophe within the trap.
 2282 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2283 trap 'exit_status=$?
 2284   # Save into config.log some information that might help in debugging.
 2285   {
 2286     echo
 2287 
 2288     $as_echo "## ---------------- ##
 2289 ## Cache variables. ##
 2290 ## ---------------- ##"
 2291     echo
 2292     # The following way of writing the cache mishandles newlines in values,
 2293 (
 2294   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2295     eval ac_val=\$$ac_var
 2296     case $ac_val in #(
 2297     *${as_nl}*)
 2298       case $ac_var in #(
 2299       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2300 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2301       esac
 2302       case $ac_var in #(
 2303       _ | IFS | as_nl) ;; #(
 2304       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2305       *) { eval $ac_var=; unset $ac_var;} ;;
 2306       esac ;;
 2307     esac
 2308   done
 2309   (set) 2>&1 |
 2310     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2311     *${as_nl}ac_space=\ *)
 2312       sed -n \
 2313     "s/'\''/'\''\\\\'\'''\''/g;
 2314       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2315       ;; #(
 2316     *)
 2317       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2318       ;;
 2319     esac |
 2320     sort
 2321 )
 2322     echo
 2323 
 2324     $as_echo "## ----------------- ##
 2325 ## Output variables. ##
 2326 ## ----------------- ##"
 2327     echo
 2328     for ac_var in $ac_subst_vars
 2329     do
 2330       eval ac_val=\$$ac_var
 2331       case $ac_val in
 2332       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2333       esac
 2334       $as_echo "$ac_var='\''$ac_val'\''"
 2335     done | sort
 2336     echo
 2337 
 2338     if test -n "$ac_subst_files"; then
 2339       $as_echo "## ------------------- ##
 2340 ## File substitutions. ##
 2341 ## ------------------- ##"
 2342       echo
 2343       for ac_var in $ac_subst_files
 2344       do
 2345     eval ac_val=\$$ac_var
 2346     case $ac_val in
 2347     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2348     esac
 2349     $as_echo "$ac_var='\''$ac_val'\''"
 2350       done | sort
 2351       echo
 2352     fi
 2353 
 2354     if test -s confdefs.h; then
 2355       $as_echo "## ----------- ##
 2356 ## confdefs.h. ##
 2357 ## ----------- ##"
 2358       echo
 2359       cat confdefs.h
 2360       echo
 2361     fi
 2362     test "$ac_signal" != 0 &&
 2363       $as_echo "$as_me: caught signal $ac_signal"
 2364     $as_echo "$as_me: exit $exit_status"
 2365   } >&5
 2366   rm -f core *.core core.conftest.* &&
 2367     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2368     exit $exit_status
 2369 ' 0
 2370 for ac_signal in 1 2 13 15; do
 2371   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2372 done
 2373 ac_signal=0
 2374 
 2375 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2376 rm -f -r conftest* confdefs.h
 2377 
 2378 $as_echo "/* confdefs.h */" > confdefs.h
 2379 
 2380 # Predefined preprocessor variables.
 2381 
 2382 cat >>confdefs.h <<_ACEOF
 2383 #define PACKAGE_NAME "$PACKAGE_NAME"
 2384 _ACEOF
 2385 
 2386 cat >>confdefs.h <<_ACEOF
 2387 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2388 _ACEOF
 2389 
 2390 cat >>confdefs.h <<_ACEOF
 2391 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2392 _ACEOF
 2393 
 2394 cat >>confdefs.h <<_ACEOF
 2395 #define PACKAGE_STRING "$PACKAGE_STRING"
 2396 _ACEOF
 2397 
 2398 cat >>confdefs.h <<_ACEOF
 2399 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2400 _ACEOF
 2401 
 2402 cat >>confdefs.h <<_ACEOF
 2403 #define PACKAGE_URL "$PACKAGE_URL"
 2404 _ACEOF
 2405 
 2406 
 2407 # Let the site file select an alternate cache file if it wants to.
 2408 # Prefer an explicitly selected file to automatically selected ones.
 2409 ac_site_file1=NONE
 2410 ac_site_file2=NONE
 2411 if test -n "$CONFIG_SITE"; then
 2412   # We do not want a PATH search for config.site.
 2413   case $CONFIG_SITE in #((
 2414     -*)  ac_site_file1=./$CONFIG_SITE;;
 2415     */*) ac_site_file1=$CONFIG_SITE;;
 2416     *)   ac_site_file1=./$CONFIG_SITE;;
 2417   esac
 2418 elif test "x$prefix" != xNONE; then
 2419   ac_site_file1=$prefix/share/config.site
 2420   ac_site_file2=$prefix/etc/config.site
 2421 else
 2422   ac_site_file1=$ac_default_prefix/share/config.site
 2423   ac_site_file2=$ac_default_prefix/etc/config.site
 2424 fi
 2425 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2426 do
 2427   test "x$ac_site_file" = xNONE && continue
 2428   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2429     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2430 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2431     sed 's/^/| /' "$ac_site_file" >&5
 2432     . "$ac_site_file" \
 2433       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2435 as_fn_error $? "failed to load site script $ac_site_file
 2436 See \`config.log' for more details" "$LINENO" 5; }
 2437   fi
 2438 done
 2439 
 2440 if test -r "$cache_file"; then
 2441   # Some versions of bash will fail to source /dev/null (special files
 2442   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2443   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2444     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2445 $as_echo "$as_me: loading cache $cache_file" >&6;}
 2446     case $cache_file in
 2447       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2448       *)                      . "./$cache_file";;
 2449     esac
 2450   fi
 2451 else
 2452   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2453 $as_echo "$as_me: creating cache $cache_file" >&6;}
 2454   >$cache_file
 2455 fi
 2456 
 2457 # Check that the precious variables saved in the cache have kept the same
 2458 # value.
 2459 ac_cache_corrupted=false
 2460 for ac_var in $ac_precious_vars; do
 2461   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2462   eval ac_new_set=\$ac_env_${ac_var}_set
 2463   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2464   eval ac_new_val=\$ac_env_${ac_var}_value
 2465   case $ac_old_set,$ac_new_set in
 2466     set,)
 2467       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2468 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2469       ac_cache_corrupted=: ;;
 2470     ,set)
 2471       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2472 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2473       ac_cache_corrupted=: ;;
 2474     ,);;
 2475     *)
 2476       if test "x$ac_old_val" != "x$ac_new_val"; then
 2477     # differences in whitespace do not lead to failure.
 2478     ac_old_val_w=`echo x $ac_old_val`
 2479     ac_new_val_w=`echo x $ac_new_val`
 2480     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2481       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2482 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2483       ac_cache_corrupted=:
 2484     else
 2485       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2486 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2487       eval $ac_var=\$ac_old_val
 2488     fi
 2489     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2490 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2491     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2492 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2493       fi;;
 2494   esac
 2495   # Pass precious variables to config.status.
 2496   if test "$ac_new_set" = set; then
 2497     case $ac_new_val in
 2498     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2499     *) ac_arg=$ac_var=$ac_new_val ;;
 2500     esac
 2501     case " $ac_configure_args " in
 2502       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2503       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2504     esac
 2505   fi
 2506 done
 2507 if $ac_cache_corrupted; then
 2508   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2510   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2511 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2512   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2513 fi
 2514 ## -------------------- ##
 2515 ## Main body of script. ##
 2516 ## -------------------- ##
 2517 
 2518 ac_ext=c
 2519 ac_cpp='$CPP $CPPFLAGS'
 2520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2523 
 2524 
 2525 
 2526 
 2527 ac_config_headers="$ac_config_headers config.h"
 2528 
 2529 ac_config_commands="$ac_config_commands ./atconfig"
 2530 
 2531 
 2532 ac_aux_dir=
 2533 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2534   if test -f "$ac_dir/install-sh"; then
 2535     ac_aux_dir=$ac_dir
 2536     ac_install_sh="$ac_aux_dir/install-sh -c"
 2537     break
 2538   elif test -f "$ac_dir/install.sh"; then
 2539     ac_aux_dir=$ac_dir
 2540     ac_install_sh="$ac_aux_dir/install.sh -c"
 2541     break
 2542   elif test -f "$ac_dir/shtool"; then
 2543     ac_aux_dir=$ac_dir
 2544     ac_install_sh="$ac_aux_dir/shtool install -c"
 2545     break
 2546   fi
 2547 done
 2548 if test -z "$ac_aux_dir"; then
 2549   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2550 fi
 2551 
 2552 # These three variables are undocumented and unsupported,
 2553 # and are intended to be withdrawn in a future Autoconf release.
 2554 # They can cause serious problems if a builder's source tree is in a directory
 2555 # whose full name contains unusual characters.
 2556 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2557 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2558 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2559 
 2560 
 2561 # Find a good install program.  We prefer a C program (faster),
 2562 # so one script is as good as another.  But avoid the broken or
 2563 # incompatible versions:
 2564 # SysV /etc/install, /usr/sbin/install
 2565 # SunOS /usr/etc/install
 2566 # IRIX /sbin/install
 2567 # AIX /bin/install
 2568 # AmigaOS /C/install, which installs bootblocks on floppy discs
 2569 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2570 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2571 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2572 # OS/2's system install, which has a completely different semantic
 2573 # ./install, which can be erroneously created by make from ./install.sh.
 2574 # Reject install programs that cannot install multiple files.
 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2576 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2577 if test -z "$INSTALL"; then
 2578 if ${ac_cv_path_install+:} false; then :
 2579   $as_echo_n "(cached) " >&6
 2580 else
 2581   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2582 for as_dir in $PATH
 2583 do
 2584   IFS=$as_save_IFS
 2585   test -z "$as_dir" && as_dir=.
 2586     # Account for people who put trailing slashes in PATH elements.
 2587 case $as_dir/ in #((
 2588   ./ | .// | /[cC]/* | \
 2589   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2590   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2591   /usr/ucb/* ) ;;
 2592   *)
 2593     # OSF1 and SCO ODT 3.0 have their own names for install.
 2594     # Don't use installbsd from OSF since it installs stuff as root
 2595     # by default.
 2596     for ac_prog in ginstall scoinst install; do
 2597       for ac_exec_ext in '' $ac_executable_extensions; do
 2598     if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 2599       if test $ac_prog = install &&
 2600         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2601         # AIX install.  It has an incompatible calling convention.
 2602         :
 2603       elif test $ac_prog = install &&
 2604         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2605         # program-specific install script used by HP pwplus--don't use.
 2606         :
 2607       else
 2608         rm -rf conftest.one conftest.two conftest.dir
 2609         echo one > conftest.one
 2610         echo two > conftest.two
 2611         mkdir conftest.dir
 2612         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2613           test -s conftest.one && test -s conftest.two &&
 2614           test -s conftest.dir/conftest.one &&
 2615           test -s conftest.dir/conftest.two
 2616         then
 2617           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2618           break 3
 2619         fi
 2620       fi
 2621     fi
 2622       done
 2623     done
 2624     ;;
 2625 esac
 2626 
 2627   done
 2628 IFS=$as_save_IFS
 2629 
 2630 rm -rf conftest.one conftest.two conftest.dir
 2631 
 2632 fi
 2633   if test "${ac_cv_path_install+set}" = set; then
 2634     INSTALL=$ac_cv_path_install
 2635   else
 2636     # As a last resort, use the slow shell script.  Don't cache a
 2637     # value for INSTALL within a source directory, because that will
 2638     # break other packages using the cache if that directory is
 2639     # removed, or if the value is a relative name.
 2640     INSTALL=$ac_install_sh
 2641   fi
 2642 fi
 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2644 $as_echo "$INSTALL" >&6; }
 2645 
 2646 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2647 # It thinks the first close brace ends the variable substitution.
 2648 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2649 
 2650 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2651 
 2652 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2653 
 2654 # Make sure we can run config.sub.
 2655 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2656   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 2657 
 2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 2659 $as_echo_n "checking build system type... " >&6; }
 2660 if ${ac_cv_build+:} false; then :
 2661   $as_echo_n "(cached) " >&6
 2662 else
 2663   ac_build_alias=$build_alias
 2664 test "x$ac_build_alias" = x &&
 2665   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2666 test "x$ac_build_alias" = x &&
 2667   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 2668 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2669   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 2670 
 2671 fi
 2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 2673 $as_echo "$ac_cv_build" >&6; }
 2674 case $ac_cv_build in
 2675 *-*-*) ;;
 2676 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 2677 esac
 2678 build=$ac_cv_build
 2679 ac_save_IFS=$IFS; IFS='-'
 2680 set x $ac_cv_build
 2681 shift
 2682 build_cpu=$1
 2683 build_vendor=$2
 2684 shift; shift
 2685 # Remember, the first character of IFS is used to create $*,
 2686 # except with old shells:
 2687 build_os=$*
 2688 IFS=$ac_save_IFS
 2689 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2690 
 2691 
 2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 2693 $as_echo_n "checking host system type... " >&6; }
 2694 if ${ac_cv_host+:} false; then :
 2695   $as_echo_n "(cached) " >&6
 2696 else
 2697   if test "x$host_alias" = x; then
 2698   ac_cv_host=$ac_cv_build
 2699 else
 2700   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2701     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 2702 fi
 2703 
 2704 fi
 2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 2706 $as_echo "$ac_cv_host" >&6; }
 2707 case $ac_cv_host in
 2708 *-*-*) ;;
 2709 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 2710 esac
 2711 host=$ac_cv_host
 2712 ac_save_IFS=$IFS; IFS='-'
 2713 set x $ac_cv_host
 2714 shift
 2715 host_cpu=$1
 2716 host_vendor=$2
 2717 shift; shift
 2718 # Remember, the first character of IFS is used to create $*,
 2719 # except with old shells:
 2720 host_os=$*
 2721 IFS=$ac_save_IFS
 2722 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2723 
 2724 
 2725 
 2726 
 2727       if test "X$prefix" = "XNONE"; then
 2728     acl_final_prefix="$ac_default_prefix"
 2729   else
 2730     acl_final_prefix="$prefix"
 2731   fi
 2732   if test "X$exec_prefix" = "XNONE"; then
 2733     acl_final_exec_prefix='${prefix}'
 2734   else
 2735     acl_final_exec_prefix="$exec_prefix"
 2736   fi
 2737   acl_save_prefix="$prefix"
 2738   prefix="$acl_final_prefix"
 2739   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 2740   prefix="$acl_save_prefix"
 2741 
 2742 ac_ext=c
 2743 ac_cpp='$CPP $CPPFLAGS'
 2744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2747 if test -n "$ac_tool_prefix"; then
 2748   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2749 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2751 $as_echo_n "checking for $ac_word... " >&6; }
 2752 if ${ac_cv_prog_CC+:} false; then :
 2753   $as_echo_n "(cached) " >&6
 2754 else
 2755   if test -n "$CC"; then
 2756   ac_cv_prog_CC="$CC" # Let the user override the test.
 2757 else
 2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2759 for as_dir in $PATH
 2760 do
 2761   IFS=$as_save_IFS
 2762   test -z "$as_dir" && as_dir=.
 2763     for ac_exec_ext in '' $ac_executable_extensions; do
 2764   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2765     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2767     break 2
 2768   fi
 2769 done
 2770   done
 2771 IFS=$as_save_IFS
 2772 
 2773 fi
 2774 fi
 2775 CC=$ac_cv_prog_CC
 2776 if test -n "$CC"; then
 2777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2778 $as_echo "$CC" >&6; }
 2779 else
 2780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2781 $as_echo "no" >&6; }
 2782 fi
 2783 
 2784 
 2785 fi
 2786 if test -z "$ac_cv_prog_CC"; then
 2787   ac_ct_CC=$CC
 2788   # Extract the first word of "gcc", so it can be a program name with args.
 2789 set dummy gcc; ac_word=$2
 2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2791 $as_echo_n "checking for $ac_word... " >&6; }
 2792 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2793   $as_echo_n "(cached) " >&6
 2794 else
 2795   if test -n "$ac_ct_CC"; then
 2796   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2797 else
 2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2799 for as_dir in $PATH
 2800 do
 2801   IFS=$as_save_IFS
 2802   test -z "$as_dir" && as_dir=.
 2803     for ac_exec_ext in '' $ac_executable_extensions; do
 2804   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2805     ac_cv_prog_ac_ct_CC="gcc"
 2806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2807     break 2
 2808   fi
 2809 done
 2810   done
 2811 IFS=$as_save_IFS
 2812 
 2813 fi
 2814 fi
 2815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2816 if test -n "$ac_ct_CC"; then
 2817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 2818 $as_echo "$ac_ct_CC" >&6; }
 2819 else
 2820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2821 $as_echo "no" >&6; }
 2822 fi
 2823 
 2824   if test "x$ac_ct_CC" = x; then
 2825     CC=""
 2826   else
 2827     case $cross_compiling:$ac_tool_warned in
 2828 yes:)
 2829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2831 ac_tool_warned=yes ;;
 2832 esac
 2833     CC=$ac_ct_CC
 2834   fi
 2835 else
 2836   CC="$ac_cv_prog_CC"
 2837 fi
 2838 
 2839 if test -z "$CC"; then
 2840           if test -n "$ac_tool_prefix"; then
 2841     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2842 set dummy ${ac_tool_prefix}cc; ac_word=$2
 2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2844 $as_echo_n "checking for $ac_word... " >&6; }
 2845 if ${ac_cv_prog_CC+:} false; then :
 2846   $as_echo_n "(cached) " >&6
 2847 else
 2848   if test -n "$CC"; then
 2849   ac_cv_prog_CC="$CC" # Let the user override the test.
 2850 else
 2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2852 for as_dir in $PATH
 2853 do
 2854   IFS=$as_save_IFS
 2855   test -z "$as_dir" && as_dir=.
 2856     for ac_exec_ext in '' $ac_executable_extensions; do
 2857   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2858     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2859     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2860     break 2
 2861   fi
 2862 done
 2863   done
 2864 IFS=$as_save_IFS
 2865 
 2866 fi
 2867 fi
 2868 CC=$ac_cv_prog_CC
 2869 if test -n "$CC"; then
 2870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2871 $as_echo "$CC" >&6; }
 2872 else
 2873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2874 $as_echo "no" >&6; }
 2875 fi
 2876 
 2877 
 2878   fi
 2879 fi
 2880 if test -z "$CC"; then
 2881   # Extract the first word of "cc", so it can be a program name with args.
 2882 set dummy cc; ac_word=$2
 2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2884 $as_echo_n "checking for $ac_word... " >&6; }
 2885 if ${ac_cv_prog_CC+:} false; then :
 2886   $as_echo_n "(cached) " >&6
 2887 else
 2888   if test -n "$CC"; then
 2889   ac_cv_prog_CC="$CC" # Let the user override the test.
 2890 else
 2891   ac_prog_rejected=no
 2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2893 for as_dir in $PATH
 2894 do
 2895   IFS=$as_save_IFS
 2896   test -z "$as_dir" && as_dir=.
 2897     for ac_exec_ext in '' $ac_executable_extensions; do
 2898   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2899     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2900        ac_prog_rejected=yes
 2901        continue
 2902      fi
 2903     ac_cv_prog_CC="cc"
 2904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2905     break 2
 2906   fi
 2907 done
 2908   done
 2909 IFS=$as_save_IFS
 2910 
 2911 if test $ac_prog_rejected = yes; then
 2912   # We found a bogon in the path, so make sure we never use it.
 2913   set dummy $ac_cv_prog_CC
 2914   shift
 2915   if test $# != 0; then
 2916     # We chose a different compiler from the bogus one.
 2917     # However, it has the same basename, so the bogon will be chosen
 2918     # first if we set CC to just the basename; use the full file name.
 2919     shift
 2920     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2921   fi
 2922 fi
 2923 fi
 2924 fi
 2925 CC=$ac_cv_prog_CC
 2926 if test -n "$CC"; then
 2927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2928 $as_echo "$CC" >&6; }
 2929 else
 2930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2931 $as_echo "no" >&6; }
 2932 fi
 2933 
 2934 
 2935 fi
 2936 if test -z "$CC"; then
 2937   if test -n "$ac_tool_prefix"; then
 2938   for ac_prog in cl.exe
 2939   do
 2940     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2941 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2943 $as_echo_n "checking for $ac_word... " >&6; }
 2944 if ${ac_cv_prog_CC+:} false; then :
 2945   $as_echo_n "(cached) " >&6
 2946 else
 2947   if test -n "$CC"; then
 2948   ac_cv_prog_CC="$CC" # Let the user override the test.
 2949 else
 2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2951 for as_dir in $PATH
 2952 do
 2953   IFS=$as_save_IFS
 2954   test -z "$as_dir" && as_dir=.
 2955     for ac_exec_ext in '' $ac_executable_extensions; do
 2956   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2957     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2958     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2959     break 2
 2960   fi
 2961 done
 2962   done
 2963 IFS=$as_save_IFS
 2964 
 2965 fi
 2966 fi
 2967 CC=$ac_cv_prog_CC
 2968 if test -n "$CC"; then
 2969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2970 $as_echo "$CC" >&6; }
 2971 else
 2972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2973 $as_echo "no" >&6; }
 2974 fi
 2975 
 2976 
 2977     test -n "$CC" && break
 2978   done
 2979 fi
 2980 if test -z "$CC"; then
 2981   ac_ct_CC=$CC
 2982   for ac_prog in cl.exe
 2983 do
 2984   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2985 set dummy $ac_prog; ac_word=$2
 2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2987 $as_echo_n "checking for $ac_word... " >&6; }
 2988 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2989   $as_echo_n "(cached) " >&6
 2990 else
 2991   if test -n "$ac_ct_CC"; then
 2992   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2993 else
 2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2995 for as_dir in $PATH
 2996 do
 2997   IFS=$as_save_IFS
 2998   test -z "$as_dir" && as_dir=.
 2999     for ac_exec_ext in '' $ac_executable_extensions; do
 3000   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3001     ac_cv_prog_ac_ct_CC="$ac_prog"
 3002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3003     break 2
 3004   fi
 3005 done
 3006   done
 3007 IFS=$as_save_IFS
 3008 
 3009 fi
 3010 fi
 3011 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3012 if test -n "$ac_ct_CC"; then
 3013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3014 $as_echo "$ac_ct_CC" >&6; }
 3015 else
 3016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3017 $as_echo "no" >&6; }
 3018 fi
 3019 
 3020 
 3021   test -n "$ac_ct_CC" && break
 3022 done
 3023 
 3024   if test "x$ac_ct_CC" = x; then
 3025     CC=""
 3026   else
 3027     case $cross_compiling:$ac_tool_warned in
 3028 yes:)
 3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3031 ac_tool_warned=yes ;;
 3032 esac
 3033     CC=$ac_ct_CC
 3034   fi
 3035 fi
 3036 
 3037 fi
 3038 
 3039 
 3040 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3042 as_fn_error $? "no acceptable C compiler found in \$PATH
 3043 See \`config.log' for more details" "$LINENO" 5; }
 3044 
 3045 # Provide some information about the compiler.
 3046 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3047 set X $ac_compile
 3048 ac_compiler=$2
 3049 for ac_option in --version -v -V -qversion; do
 3050   { { ac_try="$ac_compiler $ac_option >&5"
 3051 case "(($ac_try" in
 3052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3053   *) ac_try_echo=$ac_try;;
 3054 esac
 3055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3056 $as_echo "$ac_try_echo"; } >&5
 3057   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3058   ac_status=$?
 3059   if test -s conftest.err; then
 3060     sed '10a\
 3061 ... rest of stderr output deleted ...
 3062          10q' conftest.err >conftest.er1
 3063     cat conftest.er1 >&5
 3064   fi
 3065   rm -f conftest.er1 conftest.err
 3066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3067   test $ac_status = 0; }
 3068 done
 3069 
 3070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3071 /* end confdefs.h.  */
 3072 
 3073 int
 3074 main ()
 3075 {
 3076 
 3077   ;
 3078   return 0;
 3079 }
 3080 _ACEOF
 3081 ac_clean_files_save=$ac_clean_files
 3082 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3083 # Try to create an executable without -o first, disregard a.out.
 3084 # It will help us diagnose broken compilers, and finding out an intuition
 3085 # of exeext.
 3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3087 $as_echo_n "checking whether the C compiler works... " >&6; }
 3088 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3089 
 3090 # The possible output files:
 3091 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3092 
 3093 ac_rmfiles=
 3094 for ac_file in $ac_files
 3095 do
 3096   case $ac_file in
 3097     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3098     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3099   esac
 3100 done
 3101 rm -f $ac_rmfiles
 3102 
 3103 if { { ac_try="$ac_link_default"
 3104 case "(($ac_try" in
 3105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3106   *) ac_try_echo=$ac_try;;
 3107 esac
 3108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3109 $as_echo "$ac_try_echo"; } >&5
 3110   (eval "$ac_link_default") 2>&5
 3111   ac_status=$?
 3112   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3113   test $ac_status = 0; }; then :
 3114   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3115 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3116 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3117 # so that the user can short-circuit this test for compilers unknown to
 3118 # Autoconf.
 3119 for ac_file in $ac_files ''
 3120 do
 3121   test -f "$ac_file" || continue
 3122   case $ac_file in
 3123     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3124     ;;
 3125     [ab].out )
 3126     # We found the default executable, but exeext='' is most
 3127     # certainly right.
 3128     break;;
 3129     *.* )
 3130     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3131     then :; else
 3132        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3133     fi
 3134     # We set ac_cv_exeext here because the later test for it is not
 3135     # safe: cross compilers may not add the suffix if given an `-o'
 3136     # argument, so we may need to know it at that point already.
 3137     # Even if this section looks crufty: it has the advantage of
 3138     # actually working.
 3139     break;;
 3140     * )
 3141     break;;
 3142   esac
 3143 done
 3144 test "$ac_cv_exeext" = no && ac_cv_exeext=
 3145 
 3146 else
 3147   ac_file=''
 3148 fi
 3149 if test -z "$ac_file"; then :
 3150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3151 $as_echo "no" >&6; }
 3152 $as_echo "$as_me: failed program was:" >&5
 3153 sed 's/^/| /' conftest.$ac_ext >&5
 3154 
 3155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3157 as_fn_error 77 "C compiler cannot create executables
 3158 See \`config.log' for more details" "$LINENO" 5; }
 3159 else
 3160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3161 $as_echo "yes" >&6; }
 3162 fi
 3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3164 $as_echo_n "checking for C compiler default output file name... " >&6; }
 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3166 $as_echo "$ac_file" >&6; }
 3167 ac_exeext=$ac_cv_exeext
 3168 
 3169 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3170 ac_clean_files=$ac_clean_files_save
 3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3172 $as_echo_n "checking for suffix of executables... " >&6; }
 3173 if { { ac_try="$ac_link"
 3174 case "(($ac_try" in
 3175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3176   *) ac_try_echo=$ac_try;;
 3177 esac
 3178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3179 $as_echo "$ac_try_echo"; } >&5
 3180   (eval "$ac_link") 2>&5
 3181   ac_status=$?
 3182   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3183   test $ac_status = 0; }; then :
 3184   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3185 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3186 # work properly (i.e., refer to `conftest.exe'), while it won't with
 3187 # `rm'.
 3188 for ac_file in conftest.exe conftest conftest.*; do
 3189   test -f "$ac_file" || continue
 3190   case $ac_file in
 3191     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3192     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3193       break;;
 3194     * ) break;;
 3195   esac
 3196 done
 3197 else
 3198   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3200 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3201 See \`config.log' for more details" "$LINENO" 5; }
 3202 fi
 3203 rm -f conftest conftest$ac_cv_exeext
 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3205 $as_echo "$ac_cv_exeext" >&6; }
 3206 
 3207 rm -f conftest.$ac_ext
 3208 EXEEXT=$ac_cv_exeext
 3209 ac_exeext=$EXEEXT
 3210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3211 /* end confdefs.h.  */
 3212 #include <stdio.h>
 3213 int
 3214 main ()
 3215 {
 3216 FILE *f = fopen ("conftest.out", "w");
 3217  return ferror (f) || fclose (f) != 0;
 3218 
 3219   ;
 3220   return 0;
 3221 }
 3222 _ACEOF
 3223 ac_clean_files="$ac_clean_files conftest.out"
 3224 # Check that the compiler produces executables we can run.  If not, either
 3225 # the compiler is broken, or we cross compile.
 3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3227 $as_echo_n "checking whether we are cross compiling... " >&6; }
 3228 if test "$cross_compiling" != yes; then
 3229   { { ac_try="$ac_link"
 3230 case "(($ac_try" in
 3231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3232   *) ac_try_echo=$ac_try;;
 3233 esac
 3234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3235 $as_echo "$ac_try_echo"; } >&5
 3236   (eval "$ac_link") 2>&5
 3237   ac_status=$?
 3238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3239   test $ac_status = 0; }
 3240   if { ac_try='./conftest$ac_cv_exeext'
 3241   { { case "(($ac_try" in
 3242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3243   *) ac_try_echo=$ac_try;;
 3244 esac
 3245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3246 $as_echo "$ac_try_echo"; } >&5
 3247   (eval "$ac_try") 2>&5
 3248   ac_status=$?
 3249   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3250   test $ac_status = 0; }; }; then
 3251     cross_compiling=no
 3252   else
 3253     if test "$cross_compiling" = maybe; then
 3254     cross_compiling=yes
 3255     else
 3256     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3258 as_fn_error $? "cannot run C compiled programs.
 3259 If you meant to cross compile, use \`--host'.
 3260 See \`config.log' for more details" "$LINENO" 5; }
 3261     fi
 3262   fi
 3263 fi
 3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3265 $as_echo "$cross_compiling" >&6; }
 3266 
 3267 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3268 ac_clean_files=$ac_clean_files_save
 3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3270 $as_echo_n "checking for suffix of object files... " >&6; }
 3271 if ${ac_cv_objext+:} false; then :
 3272   $as_echo_n "(cached) " >&6
 3273 else
 3274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3275 /* end confdefs.h.  */
 3276 
 3277 int
 3278 main ()
 3279 {
 3280 
 3281   ;
 3282   return 0;
 3283 }
 3284 _ACEOF
 3285 rm -f conftest.o conftest.obj
 3286 if { { ac_try="$ac_compile"
 3287 case "(($ac_try" in
 3288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3289   *) ac_try_echo=$ac_try;;
 3290 esac
 3291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3292 $as_echo "$ac_try_echo"; } >&5
 3293   (eval "$ac_compile") 2>&5
 3294   ac_status=$?
 3295   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3296   test $ac_status = 0; }; then :
 3297   for ac_file in conftest.o conftest.obj conftest.*; do
 3298   test -f "$ac_file" || continue;
 3299   case $ac_file in
 3300     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3301     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3302        break;;
 3303   esac
 3304 done
 3305 else
 3306   $as_echo "$as_me: failed program was:" >&5
 3307 sed 's/^/| /' conftest.$ac_ext >&5
 3308 
 3309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3311 as_fn_error $? "cannot compute suffix of object files: cannot compile
 3312 See \`config.log' for more details" "$LINENO" 5; }
 3313 fi
 3314 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3315 fi
 3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3317 $as_echo "$ac_cv_objext" >&6; }
 3318 OBJEXT=$ac_cv_objext
 3319 ac_objext=$OBJEXT
 3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3321 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3322 if ${ac_cv_c_compiler_gnu+:} false; then :
 3323   $as_echo_n "(cached) " >&6
 3324 else
 3325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3326 /* end confdefs.h.  */
 3327 
 3328 int
 3329 main ()
 3330 {
 3331 #ifndef __GNUC__
 3332        choke me
 3333 #endif
 3334 
 3335   ;
 3336   return 0;
 3337 }
 3338 _ACEOF
 3339 if ac_fn_c_try_compile "$LINENO"; then :
 3340   ac_compiler_gnu=yes
 3341 else
 3342   ac_compiler_gnu=no
 3343 fi
 3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3345 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3346 
 3347 fi
 3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3349 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3350 if test $ac_compiler_gnu = yes; then
 3351   GCC=yes
 3352 else
 3353   GCC=
 3354 fi
 3355 ac_test_CFLAGS=${CFLAGS+set}
 3356 ac_save_CFLAGS=$CFLAGS
 3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3358 $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3359 if ${ac_cv_prog_cc_g+:} false; then :
 3360   $as_echo_n "(cached) " >&6
 3361 else
 3362   ac_save_c_werror_flag=$ac_c_werror_flag
 3363    ac_c_werror_flag=yes
 3364    ac_cv_prog_cc_g=no
 3365    CFLAGS="-g"
 3366    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3367 /* end confdefs.h.  */
 3368 
 3369 int
 3370 main ()
 3371 {
 3372 
 3373   ;
 3374   return 0;
 3375 }
 3376 _ACEOF
 3377 if ac_fn_c_try_compile "$LINENO"; then :
 3378   ac_cv_prog_cc_g=yes
 3379 else
 3380   CFLAGS=""
 3381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3382 /* end confdefs.h.  */
 3383 
 3384 int
 3385 main ()
 3386 {
 3387 
 3388   ;
 3389   return 0;
 3390 }
 3391 _ACEOF
 3392 if ac_fn_c_try_compile "$LINENO"; then :
 3393 
 3394 else
 3395   ac_c_werror_flag=$ac_save_c_werror_flag
 3396      CFLAGS="-g"
 3397      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3398 /* end confdefs.h.  */
 3399 
 3400 int
 3401 main ()
 3402 {
 3403 
 3404   ;
 3405   return 0;
 3406 }
 3407 _ACEOF
 3408 if ac_fn_c_try_compile "$LINENO"; then :
 3409   ac_cv_prog_cc_g=yes
 3410 fi
 3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3412 fi
 3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3414 fi
 3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3416    ac_c_werror_flag=$ac_save_c_werror_flag
 3417 fi
 3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3419 $as_echo "$ac_cv_prog_cc_g" >&6; }
 3420 if test "$ac_test_CFLAGS" = set; then
 3421   CFLAGS=$ac_save_CFLAGS
 3422 elif test $ac_cv_prog_cc_g = yes; then
 3423   if test "$GCC" = yes; then
 3424     CFLAGS="-g -O2"
 3425   else
 3426     CFLAGS="-g"
 3427   fi
 3428 else
 3429   if test "$GCC" = yes; then
 3430     CFLAGS="-O2"
 3431   else
 3432     CFLAGS=
 3433   fi
 3434 fi
 3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3436 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3437 if ${ac_cv_prog_cc_c89+:} false; then :
 3438   $as_echo_n "(cached) " >&6
 3439 else
 3440   ac_cv_prog_cc_c89=no
 3441 ac_save_CC=$CC
 3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3443 /* end confdefs.h.  */
 3444 #include <stdarg.h>
 3445 #include <stdio.h>
 3446 struct stat;
 3447 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3448 struct buf { int x; };
 3449 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3450 static char *e (p, i)
 3451      char **p;
 3452      int i;
 3453 {
 3454   return p[i];
 3455 }
 3456 static char *f (char * (*g) (char **, int), char **p, ...)
 3457 {
 3458   char *s;
 3459   va_list v;
 3460   va_start (v,p);
 3461   s = g (p, va_arg (v,int));
 3462   va_end (v);
 3463   return s;
 3464 }
 3465 
 3466 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3467    function prototypes and stuff, but not '\xHH' hex character constants.
 3468    These don't provoke an error unfortunately, instead are silently treated
 3469    as 'x'.  The following induces an error, until -std is added to get
 3470    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3471    array size at least.  It's necessary to write '\x00'==0 to get something
 3472    that's true only with -std.  */
 3473 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3474 
 3475 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3476    inside strings and character constants.  */
 3477 #define FOO(x) 'x'
 3478 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3479 
 3480 int test (int i, double x);
 3481 struct s1 {int (*f) (int a);};
 3482 struct s2 {int (*f) (double a);};
 3483 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3484 int argc;
 3485 char **argv;
 3486 int
 3487 main ()
 3488 {
 3489 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3490   ;
 3491   return 0;
 3492 }
 3493 _ACEOF
 3494 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3495     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3496 do
 3497   CC="$ac_save_CC $ac_arg"
 3498   if ac_fn_c_try_compile "$LINENO"; then :
 3499   ac_cv_prog_cc_c89=$ac_arg
 3500 fi
 3501 rm -f core conftest.err conftest.$ac_objext
 3502   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3503 done
 3504 rm -f conftest.$ac_ext
 3505 CC=$ac_save_CC
 3506 
 3507 fi
 3508 # AC_CACHE_VAL
 3509 case "x$ac_cv_prog_cc_c89" in
 3510   x)
 3511     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3512 $as_echo "none needed" >&6; } ;;
 3513   xno)
 3514     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3515 $as_echo "unsupported" >&6; } ;;
 3516   *)
 3517     CC="$CC $ac_cv_prog_cc_c89"
 3518     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3519 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3520 esac
 3521 if test "x$ac_cv_prog_cc_c89" != xno; then :
 3522 
 3523 fi
 3524 
 3525 ac_ext=c
 3526 ac_cpp='$CPP $CPPFLAGS'
 3527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3530 
 3531 
 3532 
 3533 # Check whether --with-gnu-ld was given.
 3534 if test "${with_gnu_ld+set}" = set; then :
 3535   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 3536 else
 3537   with_gnu_ld=no
 3538 fi
 3539 
 3540 # Prepare PATH_SEPARATOR.
 3541 # The user is always right.
 3542 if test "${PATH_SEPARATOR+set}" != set; then
 3543   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
 3544   # contains only /bin. Note that ksh looks also at the FPATH variable,
 3545   # so we have to set that as well for the test.
 3546   PATH_SEPARATOR=:
 3547   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
 3548     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
 3549            || PATH_SEPARATOR=';'
 3550        }
 3551 fi
 3552 
 3553 ac_prog=ld
 3554 if test "$GCC" = yes; then
 3555   # Check if gcc -print-prog-name=ld gives a path.
 3556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 3557 $as_echo_n "checking for ld used by $CC... " >&6; }
 3558   case $host in
 3559   *-*-mingw*)
 3560     # gcc leaves a trailing carriage return which upsets mingw
 3561     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 3562   *)
 3563     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 3564   esac
 3565   case $ac_prog in
 3566     # Accept absolute paths.
 3567     [\\/]* | ?:[\\/]*)
 3568       re_direlt='/[^/][^/]*/\.\./'
 3569       # Canonicalize the pathname of ld
 3570       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
 3571       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
 3572         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 3573       done
 3574       test -z "$LD" && LD="$ac_prog"
 3575       ;;
 3576   "")
 3577     # If it fails, then pretend we aren't using GCC.
 3578     ac_prog=ld
 3579     ;;
 3580   *)
 3581     # If it is relative, then search for the first ld in PATH.
 3582     with_gnu_ld=unknown
 3583     ;;
 3584   esac
 3585 elif test "$with_gnu_ld" = yes; then
 3586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 3587 $as_echo_n "checking for GNU ld... " >&6; }
 3588 else
 3589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 3590 $as_echo_n "checking for non-GNU ld... " >&6; }
 3591 fi
 3592 if ${acl_cv_path_LD+:} false; then :
 3593   $as_echo_n "(cached) " >&6
 3594 else
 3595   if test -z "$LD"; then
 3596   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 3597   for ac_dir in $PATH; do
 3598     IFS="$acl_save_ifs"
 3599     test -z "$ac_dir" && ac_dir=.
 3600     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 3601       acl_cv_path_LD="$ac_dir/$ac_prog"
 3602       # Check to see if the program is GNU ld.  I'd rather use --version,
 3603       # but apparently some variants of GNU ld only accept -v.
 3604       # Break only if it was the GNU/non-GNU ld that we prefer.
 3605       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
 3606       *GNU* | *'with BFD'*)
 3607         test "$with_gnu_ld" != no && break
 3608         ;;
 3609       *)
 3610         test "$with_gnu_ld" != yes && break
 3611         ;;
 3612       esac
 3613     fi
 3614   done
 3615   IFS="$acl_save_ifs"
 3616 else
 3617   acl_cv_path_LD="$LD" # Let the user override the test with a path.
 3618 fi
 3619 fi
 3620 
 3621 LD="$acl_cv_path_LD"
 3622 if test -n "$LD"; then
 3623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 3624 $as_echo "$LD" >&6; }
 3625 else
 3626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3627 $as_echo "no" >&6; }
 3628 fi
 3629 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 3631 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 3632 if ${acl_cv_prog_gnu_ld+:} false; then :
 3633   $as_echo_n "(cached) " >&6
 3634 else
 3635   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 3636 case `$LD -v 2>&1 </dev/null` in
 3637 *GNU* | *'with BFD'*)
 3638   acl_cv_prog_gnu_ld=yes
 3639   ;;
 3640 *)
 3641   acl_cv_prog_gnu_ld=no
 3642   ;;
 3643 esac
 3644 fi
 3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
 3646 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
 3647 with_gnu_ld=$acl_cv_prog_gnu_ld
 3648 
 3649 
 3650 
 3651 
 3652                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
 3653 $as_echo_n "checking for shared library run path origin... " >&6; }
 3654 if ${acl_cv_rpath+:} false; then :
 3655   $as_echo_n "(cached) " >&6
 3656 else
 3657 
 3658     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
 3659     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
 3660     . ./conftest.sh
 3661     rm -f ./conftest.sh
 3662     acl_cv_rpath=done
 3663 
 3664 fi
 3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
 3666 $as_echo "$acl_cv_rpath" >&6; }
 3667   wl="$acl_cv_wl"
 3668   acl_libext="$acl_cv_libext"
 3669   acl_shlibext="$acl_cv_shlibext"
 3670   acl_libname_spec="$acl_cv_libname_spec"
 3671   acl_library_names_spec="$acl_cv_library_names_spec"
 3672   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
 3673   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 3674   acl_hardcode_direct="$acl_cv_hardcode_direct"
 3675   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
 3676     # Check whether --enable-rpath was given.
 3677 if test "${enable_rpath+set}" = set; then :
 3678   enableval=$enable_rpath; :
 3679 else
 3680   enable_rpath=yes
 3681 fi
 3682 
 3683 
 3684 
 3685 ac_ext=c
 3686 ac_cpp='$CPP $CPPFLAGS'
 3687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 3691 $as_echo_n "checking how to run the C preprocessor... " >&6; }
 3692 # On Suns, sometimes $CPP names a directory.
 3693 if test -n "$CPP" && test -d "$CPP"; then
 3694   CPP=
 3695 fi
 3696 if test -z "$CPP"; then
 3697   if ${ac_cv_prog_CPP+:} false; then :
 3698   $as_echo_n "(cached) " >&6
 3699 else
 3700       # Double quotes because CPP needs to be expanded
 3701     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3702     do
 3703       ac_preproc_ok=false
 3704 for ac_c_preproc_warn_flag in '' yes
 3705 do
 3706   # Use a header file that comes with gcc, so configuring glibc
 3707   # with a fresh cross-compiler works.
 3708   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3709   # <limits.h> exists even on freestanding compilers.
 3710   # On the NeXT, cc -E runs the code through the compiler's parser,
 3711   # not just through cpp. "Syntax error" is here to catch this case.
 3712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3713 /* end confdefs.h.  */
 3714 #ifdef __STDC__
 3715 # include <limits.h>
 3716 #else
 3717 # include <assert.h>
 3718 #endif
 3719              Syntax error
 3720 _ACEOF
 3721 if ac_fn_c_try_cpp "$LINENO"; then :
 3722 
 3723 else
 3724   # Broken: fails on valid input.
 3725 continue
 3726 fi
 3727 rm -f conftest.err conftest.i conftest.$ac_ext
 3728 
 3729   # OK, works on sane cases.  Now check whether nonexistent headers
 3730   # can be detected and how.
 3731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3732 /* end confdefs.h.  */
 3733 #include <ac_nonexistent.h>
 3734 _ACEOF
 3735 if ac_fn_c_try_cpp "$LINENO"; then :
 3736   # Broken: success on invalid input.
 3737 continue
 3738 else
 3739   # Passes both tests.
 3740 ac_preproc_ok=:
 3741 break
 3742 fi
 3743 rm -f conftest.err conftest.i conftest.$ac_ext
 3744 
 3745 done
 3746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3747 rm -f conftest.i conftest.err conftest.$ac_ext
 3748 if $ac_preproc_ok; then :
 3749   break
 3750 fi
 3751 
 3752     done
 3753     ac_cv_prog_CPP=$CPP
 3754 
 3755 fi
 3756   CPP=$ac_cv_prog_CPP
 3757 else
 3758   ac_cv_prog_CPP=$CPP
 3759 fi
 3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 3761 $as_echo "$CPP" >&6; }
 3762 ac_preproc_ok=false
 3763 for ac_c_preproc_warn_flag in '' yes
 3764 do
 3765   # Use a header file that comes with gcc, so configuring glibc
 3766   # with a fresh cross-compiler works.
 3767   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3768   # <limits.h> exists even on freestanding compilers.
 3769   # On the NeXT, cc -E runs the code through the compiler's parser,
 3770   # not just through cpp. "Syntax error" is here to catch this case.
 3771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3772 /* end confdefs.h.  */
 3773 #ifdef __STDC__
 3774 # include <limits.h>
 3775 #else
 3776 # include <assert.h>
 3777 #endif
 3778              Syntax error
 3779 _ACEOF
 3780 if ac_fn_c_try_cpp "$LINENO"; then :
 3781 
 3782 else
 3783   # Broken: fails on valid input.
 3784 continue
 3785 fi
 3786 rm -f conftest.err conftest.i conftest.$ac_ext
 3787 
 3788   # OK, works on sane cases.  Now check whether nonexistent headers
 3789   # can be detected and how.
 3790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3791 /* end confdefs.h.  */
 3792 #include <ac_nonexistent.h>
 3793 _ACEOF
 3794 if ac_fn_c_try_cpp "$LINENO"; then :
 3795   # Broken: success on invalid input.
 3796 continue
 3797 else
 3798   # Passes both tests.
 3799 ac_preproc_ok=:
 3800 break
 3801 fi
 3802 rm -f conftest.err conftest.i conftest.$ac_ext
 3803 
 3804 done
 3805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3806 rm -f conftest.i conftest.err conftest.$ac_ext
 3807 if $ac_preproc_ok; then :
 3808 
 3809 else
 3810   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3812 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 3813 See \`config.log' for more details" "$LINENO" 5; }
 3814 fi
 3815 
 3816 ac_ext=c
 3817 ac_cpp='$CPP $CPPFLAGS'
 3818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3821 
 3822 
 3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 3824 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 3825 if ${ac_cv_path_GREP+:} false; then :
 3826   $as_echo_n "(cached) " >&6
 3827 else
 3828   if test -z "$GREP"; then
 3829   ac_path_GREP_found=false
 3830   # Loop through the user's path and test for each of PROGNAME-LIST
 3831   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3832 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3833 do
 3834   IFS=$as_save_IFS
 3835   test -z "$as_dir" && as_dir=.
 3836     for ac_prog in grep ggrep; do
 3837     for ac_exec_ext in '' $ac_executable_extensions; do
 3838       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 3839       as_fn_executable_p "$ac_path_GREP" || continue
 3840 # Check for GNU ac_path_GREP and select it if it is found.
 3841   # Check for GNU $ac_path_GREP
 3842 case `"$ac_path_GREP" --version 2>&1` in
 3843 *GNU*)
 3844   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 3845 *)
 3846   ac_count=0
 3847   $as_echo_n 0123456789 >"conftest.in"
 3848   while :
 3849   do
 3850     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3851     mv "conftest.tmp" "conftest.in"
 3852     cp "conftest.in" "conftest.nl"
 3853     $as_echo 'GREP' >> "conftest.nl"
 3854     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3855     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3856     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3857     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 3858       # Best one so far, save it but keep looking for a better one
 3859       ac_cv_path_GREP="$ac_path_GREP"
 3860       ac_path_GREP_max=$ac_count
 3861     fi
 3862     # 10*(2^10) chars as input seems more than enough
 3863     test $ac_count -gt 10 && break
 3864   done
 3865   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3866 esac
 3867 
 3868       $ac_path_GREP_found && break 3
 3869     done
 3870   done
 3871   done
 3872 IFS=$as_save_IFS
 3873   if test -z "$ac_cv_path_GREP"; then
 3874     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 3875   fi
 3876 else
 3877   ac_cv_path_GREP=$GREP
 3878 fi
 3879 
 3880 fi
 3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 3882 $as_echo "$ac_cv_path_GREP" >&6; }
 3883  GREP="$ac_cv_path_GREP"
 3884 
 3885 
 3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 3887 $as_echo_n "checking for egrep... " >&6; }
 3888 if ${ac_cv_path_EGREP+:} false; then :
 3889   $as_echo_n "(cached) " >&6
 3890 else
 3891   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 3892    then ac_cv_path_EGREP="$GREP -E"
 3893    else
 3894      if test -z "$EGREP"; then
 3895   ac_path_EGREP_found=false
 3896   # Loop through the user's path and test for each of PROGNAME-LIST
 3897   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3898 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3899 do
 3900   IFS=$as_save_IFS
 3901   test -z "$as_dir" && as_dir=.
 3902     for ac_prog in egrep; do
 3903     for ac_exec_ext in '' $ac_executable_extensions; do
 3904       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 3905       as_fn_executable_p "$ac_path_EGREP" || continue
 3906 # Check for GNU ac_path_EGREP and select it if it is found.
 3907   # Check for GNU $ac_path_EGREP
 3908 case `"$ac_path_EGREP" --version 2>&1` in
 3909 *GNU*)
 3910   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 3911 *)
 3912   ac_count=0
 3913   $as_echo_n 0123456789 >"conftest.in"
 3914   while :
 3915   do
 3916     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3917     mv "conftest.tmp" "conftest.in"
 3918     cp "conftest.in" "conftest.nl"
 3919     $as_echo 'EGREP' >> "conftest.nl"
 3920     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3921     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3922     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3923     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 3924       # Best one so far, save it but keep looking for a better one
 3925       ac_cv_path_EGREP="$ac_path_EGREP"
 3926       ac_path_EGREP_max=$ac_count
 3927     fi
 3928     # 10*(2^10) chars as input seems more than enough
 3929     test $ac_count -gt 10 && break
 3930   done
 3931   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3932 esac
 3933 
 3934       $ac_path_EGREP_found && break 3
 3935     done
 3936   done
 3937   done
 3938 IFS=$as_save_IFS
 3939   if test -z "$ac_cv_path_EGREP"; then
 3940     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 3941   fi
 3942 else
 3943   ac_cv_path_EGREP=$EGREP
 3944 fi
 3945 
 3946    fi
 3947 fi
 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 3949 $as_echo "$ac_cv_path_EGREP" >&6; }
 3950  EGREP="$ac_cv_path_EGREP"
 3951 
 3952 
 3953 
 3954 
 3955   acl_libdirstem=lib
 3956   acl_libdirstem2=
 3957   case "$host_os" in
 3958     solaris*)
 3959                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
 3960 $as_echo_n "checking for 64-bit host... " >&6; }
 3961 if ${gl_cv_solaris_64bit+:} false; then :
 3962   $as_echo_n "(cached) " >&6
 3963 else
 3964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3965 /* end confdefs.h.  */
 3966 
 3967 #ifdef _LP64
 3968 sixtyfour bits
 3969 #endif
 3970 
 3971 _ACEOF
 3972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3973   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
 3974   gl_cv_solaris_64bit=yes
 3975 else
 3976   gl_cv_solaris_64bit=no
 3977 fi
 3978 rm -f conftest*
 3979 
 3980 
 3981 fi
 3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
 3983 $as_echo "$gl_cv_solaris_64bit" >&6; }
 3984       if test $gl_cv_solaris_64bit = yes; then
 3985         acl_libdirstem=lib/64
 3986         case "$host_cpu" in
 3987           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
 3988           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
 3989         esac
 3990       fi
 3991       ;;
 3992     *)
 3993       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 3994       if test -n "$searchpath"; then
 3995         acl_save_IFS="${IFS=    }"; IFS=":"
 3996         for searchdir in $searchpath; do
 3997           if test -d "$searchdir"; then
 3998             case "$searchdir" in
 3999               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 4000               */../ | */.. )
 4001                 # Better ignore directories of this form. They are misleading.
 4002                 ;;
 4003               *) searchdir=`cd "$searchdir" && pwd`
 4004                  case "$searchdir" in
 4005                    */lib64 ) acl_libdirstem=lib64 ;;
 4006                  esac ;;
 4007             esac
 4008           fi
 4009         done
 4010         IFS="$acl_save_IFS"
 4011       fi
 4012       ;;
 4013   esac
 4014   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
 4015 
 4016 
 4017 
 4018 
 4019 
 4020 
 4021 
 4022 
 4023 
 4024 
 4025 
 4026 
 4027     use_additional=yes
 4028 
 4029   acl_save_prefix="$prefix"
 4030   prefix="$acl_final_prefix"
 4031   acl_save_exec_prefix="$exec_prefix"
 4032   exec_prefix="$acl_final_exec_prefix"
 4033 
 4034     eval additional_includedir=\"$includedir\"
 4035     eval additional_libdir=\"$libdir\"
 4036 
 4037   exec_prefix="$acl_save_exec_prefix"
 4038   prefix="$acl_save_prefix"
 4039 
 4040 
 4041 # Check whether --with-libiconv-prefix was given.
 4042 if test "${with_libiconv_prefix+set}" = set; then :
 4043   withval=$with_libiconv_prefix;
 4044     if test "X$withval" = "Xno"; then
 4045       use_additional=no
 4046     else
 4047       if test "X$withval" = "X"; then
 4048 
 4049   acl_save_prefix="$prefix"
 4050   prefix="$acl_final_prefix"
 4051   acl_save_exec_prefix="$exec_prefix"
 4052   exec_prefix="$acl_final_exec_prefix"
 4053 
 4054           eval additional_includedir=\"$includedir\"
 4055           eval additional_libdir=\"$libdir\"
 4056 
 4057   exec_prefix="$acl_save_exec_prefix"
 4058   prefix="$acl_save_prefix"
 4059 
 4060       else
 4061         additional_includedir="$withval/include"
 4062         additional_libdir="$withval/$acl_libdirstem"
 4063         if test "$acl_libdirstem2" != "$acl_libdirstem" \
 4064            && ! test -d "$withval/$acl_libdirstem"; then
 4065           additional_libdir="$withval/$acl_libdirstem2"
 4066         fi
 4067       fi
 4068     fi
 4069 
 4070 fi
 4071 
 4072       LIBICONV=
 4073   LTLIBICONV=
 4074   INCICONV=
 4075   LIBICONV_PREFIX=
 4076       HAVE_LIBICONV=
 4077   rpathdirs=
 4078   ltrpathdirs=
 4079   names_already_handled=
 4080   names_next_round='iconv '
 4081   while test -n "$names_next_round"; do
 4082     names_this_round="$names_next_round"
 4083     names_next_round=
 4084     for name in $names_this_round; do
 4085       already_handled=
 4086       for n in $names_already_handled; do
 4087         if test "$n" = "$name"; then
 4088           already_handled=yes
 4089           break
 4090         fi
 4091       done
 4092       if test -z "$already_handled"; then
 4093         names_already_handled="$names_already_handled $name"
 4094                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
 4095         eval value=\"\$HAVE_LIB$uppername\"
 4096         if test -n "$value"; then
 4097           if test "$value" = yes; then
 4098             eval value=\"\$LIB$uppername\"
 4099             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
 4100             eval value=\"\$LTLIB$uppername\"
 4101             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
 4102           else
 4103                                     :
 4104           fi
 4105         else
 4106                               found_dir=
 4107           found_la=
 4108           found_so=
 4109           found_a=
 4110           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 4111           if test -n "$acl_shlibext"; then
 4112             shrext=".$acl_shlibext"             # typically: shrext=.so
 4113           else
 4114             shrext=
 4115           fi
 4116           if test $use_additional = yes; then
 4117             dir="$additional_libdir"
 4118                                     if test -n "$acl_shlibext"; then
 4119               if test -f "$dir/$libname$shrext"; then
 4120                 found_dir="$dir"
 4121                 found_so="$dir/$libname$shrext"
 4122               else
 4123                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 4124                   ver=`(cd "$dir" && \
 4125                         for f in "$libname$shrext".*; do echo "$f"; done \
 4126                         | sed -e "s,^$libname$shrext\\\\.,," \
 4127                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 4128                         | sed 1q ) 2>/dev/null`
 4129                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 4130                     found_dir="$dir"
 4131                     found_so="$dir/$libname$shrext.$ver"
 4132                   fi
 4133                 else
 4134                   eval library_names=\"$acl_library_names_spec\"
 4135                   for f in $library_names; do
 4136                     if test -f "$dir/$f"; then
 4137                       found_dir="$dir"
 4138                       found_so="$dir/$f"
 4139                       break
 4140                     fi
 4141                   done
 4142                 fi
 4143               fi
 4144             fi
 4145                         if test "X$found_dir" = "X"; then
 4146               if test -f "$dir/$libname.$acl_libext"; then
 4147                 found_dir="$dir"
 4148                 found_a="$dir/$libname.$acl_libext"
 4149               fi
 4150             fi
 4151             if test "X$found_dir" != "X"; then
 4152               if test -f "$dir/$libname.la"; then
 4153                 found_la="$dir/$libname.la"
 4154               fi
 4155             fi
 4156           fi
 4157           if test "X$found_dir" = "X"; then
 4158             for x in $LDFLAGS $LTLIBICONV; do
 4159 
 4160   acl_save_prefix="$prefix"
 4161   prefix="$acl_final_prefix"
 4162   acl_save_exec_prefix="$exec_prefix"
 4163   exec_prefix="$acl_final_exec_prefix"
 4164   eval x=\"$x\"
 4165   exec_prefix="$acl_save_exec_prefix"
 4166   prefix="$acl_save_prefix"
 4167 
 4168               case "$x" in
 4169                 -L*)
 4170                   dir=`echo "X$x" | sed -e 's/^X-L//'`
 4171                                     if test -n "$acl_shlibext"; then
 4172                     if test -f "$dir/$libname$shrext"; then
 4173                       found_dir="$dir"
 4174                       found_so="$dir/$libname$shrext"
 4175                     else
 4176                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 4177                         ver=`(cd "$dir" && \
 4178                               for f in "$libname$shrext".*; do echo "$f"; done \
 4179                               | sed -e "s,^$libname$shrext\\\\.,," \
 4180                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 4181                               | sed 1q ) 2>/dev/null`
 4182                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 4183                           found_dir="$dir"
 4184                           found_so="$dir/$libname$shrext.$ver"
 4185                         fi
 4186                       else
 4187                         eval library_names=\"$acl_library_names_spec\"
 4188                         for f in $library_names; do
 4189                           if test -f "$dir/$f"; then
 4190                             found_dir="$dir"
 4191                             found_so="$dir/$f"
 4192                             break
 4193                           fi
 4194                         done
 4195                       fi
 4196                     fi
 4197                   fi
 4198                                     if test "X$found_dir" = "X"; then
 4199                     if test -f "$dir/$libname.$acl_libext"; then
 4200                       found_dir="$dir"
 4201                       found_a="$dir/$libname.$acl_libext"
 4202                     fi
 4203                   fi
 4204                   if test "X$found_dir" != "X"; then
 4205                     if test -f "$dir/$libname.la"; then
 4206                       found_la="$dir/$libname.la"
 4207                     fi
 4208                   fi
 4209                   ;;
 4210               esac
 4211               if test "X$found_dir" != "X"; then
 4212                 break
 4213               fi
 4214             done
 4215           fi
 4216           if test "X$found_dir" != "X"; then
 4217                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
 4218             if test "X$found_so" != "X"; then
 4219                                                         if test "$enable_rpath" = no \
 4220                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
 4221                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
 4222                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 4223               else
 4224                                                                                 haveit=
 4225                 for x in $ltrpathdirs; do
 4226                   if test "X$x" = "X$found_dir"; then
 4227                     haveit=yes
 4228                     break
 4229                   fi
 4230                 done
 4231                 if test -z "$haveit"; then
 4232                   ltrpathdirs="$ltrpathdirs $found_dir"
 4233                 fi
 4234                                 if test "$acl_hardcode_direct" = yes; then
 4235                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 4236                 else
 4237                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 4238                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 4239                                                             haveit=
 4240                     for x in $rpathdirs; do
 4241                       if test "X$x" = "X$found_dir"; then
 4242                         haveit=yes
 4243                         break
 4244                       fi
 4245                     done
 4246                     if test -z "$haveit"; then
 4247                       rpathdirs="$rpathdirs $found_dir"
 4248                     fi
 4249                   else
 4250                                                                                 haveit=
 4251                     for x in $LDFLAGS $LIBICONV; do
 4252 
 4253   acl_save_prefix="$prefix"
 4254   prefix="$acl_final_prefix"
 4255   acl_save_exec_prefix="$exec_prefix"
 4256   exec_prefix="$acl_final_exec_prefix"
 4257   eval x=\"$x\"
 4258   exec_prefix="$acl_save_exec_prefix"
 4259   prefix="$acl_save_prefix"
 4260 
 4261                       if test "X$x" = "X-L$found_dir"; then
 4262                         haveit=yes
 4263                         break
 4264                       fi
 4265                     done
 4266                     if test -z "$haveit"; then
 4267                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
 4268                     fi
 4269                     if test "$acl_hardcode_minus_L" != no; then
 4270                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 4271                     else
 4272                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 4273                     fi
 4274                   fi
 4275                 fi
 4276               fi
 4277             else
 4278               if test "X$found_a" != "X"; then
 4279                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
 4280               else
 4281                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
 4282               fi
 4283             fi
 4284                         additional_includedir=
 4285             case "$found_dir" in
 4286               */$acl_libdirstem | */$acl_libdirstem/)
 4287                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 4288                 if test "$name" = 'iconv'; then
 4289                   LIBICONV_PREFIX="$basedir"
 4290                 fi
 4291                 additional_includedir="$basedir/include"
 4292                 ;;
 4293               */$acl_libdirstem2 | */$acl_libdirstem2/)
 4294                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
 4295                 if test "$name" = 'iconv'; then
 4296                   LIBICONV_PREFIX="$basedir"
 4297                 fi
 4298                 additional_includedir="$basedir/include"
 4299                 ;;
 4300             esac
 4301             if test "X$additional_includedir" != "X"; then
 4302                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
 4303                 haveit=
 4304                 if test "X$additional_includedir" = "X/usr/local/include"; then
 4305                   if test -n "$GCC"; then
 4306                     case $host_os in
 4307                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 4308                     esac
 4309                   fi
 4310                 fi
 4311                 if test -z "$haveit"; then
 4312                   for x in $CPPFLAGS $INCICONV; do
 4313 
 4314   acl_save_prefix="$prefix"
 4315   prefix="$acl_final_prefix"
 4316   acl_save_exec_prefix="$exec_prefix"
 4317   exec_prefix="$acl_final_exec_prefix"
 4318   eval x=\"$x\"
 4319   exec_prefix="$acl_save_exec_prefix"
 4320   prefix="$acl_save_prefix"
 4321 
 4322                     if test "X$x" = "X-I$additional_includedir"; then
 4323                       haveit=yes
 4324                       break
 4325                     fi
 4326                   done
 4327                   if test -z "$haveit"; then
 4328                     if test -d "$additional_includedir"; then
 4329                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
 4330                     fi
 4331                   fi
 4332                 fi
 4333               fi
 4334             fi
 4335                         if test -n "$found_la"; then
 4336                                                         save_libdir="$libdir"
 4337               case "$found_la" in
 4338                 */* | *\\*) . "$found_la" ;;
 4339                 *) . "./$found_la" ;;
 4340               esac
 4341               libdir="$save_libdir"
 4342                             for dep in $dependency_libs; do
 4343                 case "$dep" in
 4344                   -L*)
 4345                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 4346                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
 4347                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
 4348                       haveit=
 4349                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
 4350                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
 4351                         if test -n "$GCC"; then
 4352                           case $host_os in
 4353                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 4354                           esac
 4355                         fi
 4356                       fi
 4357                       if test -z "$haveit"; then
 4358                         haveit=
 4359                         for x in $LDFLAGS $LIBICONV; do
 4360 
 4361   acl_save_prefix="$prefix"
 4362   prefix="$acl_final_prefix"
 4363   acl_save_exec_prefix="$exec_prefix"
 4364   exec_prefix="$acl_final_exec_prefix"
 4365   eval x=\"$x\"
 4366   exec_prefix="$acl_save_exec_prefix"
 4367   prefix="$acl_save_prefix"
 4368 
 4369                           if test "X$x" = "X-L$additional_libdir"; then
 4370                             haveit=yes
 4371                             break
 4372                           fi
 4373                         done
 4374                         if test -z "$haveit"; then
 4375                           if test -d "$additional_libdir"; then
 4376                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
 4377                           fi
 4378                         fi
 4379                         haveit=
 4380                         for x in $LDFLAGS $LTLIBICONV; do
 4381 
 4382   acl_save_prefix="$prefix"
 4383   prefix="$acl_final_prefix"
 4384   acl_save_exec_prefix="$exec_prefix"
 4385   exec_prefix="$acl_final_exec_prefix"
 4386   eval x=\"$x\"
 4387   exec_prefix="$acl_save_exec_prefix"
 4388   prefix="$acl_save_prefix"
 4389 
 4390                           if test "X$x" = "X-L$additional_libdir"; then
 4391                             haveit=yes
 4392                             break
 4393                           fi
 4394                         done
 4395                         if test -z "$haveit"; then
 4396                           if test -d "$additional_libdir"; then
 4397                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
 4398                           fi
 4399                         fi
 4400                       fi
 4401                     fi
 4402                     ;;
 4403                   -R*)
 4404                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
 4405                     if test "$enable_rpath" != no; then
 4406                                                                   haveit=
 4407                       for x in $rpathdirs; do
 4408                         if test "X$x" = "X$dir"; then
 4409                           haveit=yes
 4410                           break
 4411                         fi
 4412                       done
 4413                       if test -z "$haveit"; then
 4414                         rpathdirs="$rpathdirs $dir"
 4415                       fi
 4416                                                                   haveit=
 4417                       for x in $ltrpathdirs; do
 4418                         if test "X$x" = "X$dir"; then
 4419                           haveit=yes
 4420                           break
 4421                         fi
 4422                       done
 4423                       if test -z "$haveit"; then
 4424                         ltrpathdirs="$ltrpathdirs $dir"
 4425                       fi
 4426                     fi
 4427                     ;;
 4428                   -l*)
 4429                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 4430                     ;;
 4431                   *.la)
 4432                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 4433                     ;;
 4434                   *)
 4435                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
 4436                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
 4437                     ;;
 4438                 esac
 4439               done
 4440             fi
 4441           else
 4442                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 4443             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
 4444           fi
 4445         fi
 4446       fi
 4447     done
 4448   done
 4449   if test "X$rpathdirs" != "X"; then
 4450     if test -n "$acl_hardcode_libdir_separator"; then
 4451                         alldirs=
 4452       for found_dir in $rpathdirs; do
 4453         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 4454       done
 4455             acl_save_libdir="$libdir"
 4456       libdir="$alldirs"
 4457       eval flag=\"$acl_hardcode_libdir_flag_spec\"
 4458       libdir="$acl_save_libdir"
 4459       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 4460     else
 4461             for found_dir in $rpathdirs; do
 4462         acl_save_libdir="$libdir"
 4463         libdir="$found_dir"
 4464         eval flag=\"$acl_hardcode_libdir_flag_spec\"
 4465         libdir="$acl_save_libdir"
 4466         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 4467       done
 4468     fi
 4469   fi
 4470   if test "X$ltrpathdirs" != "X"; then
 4471             for found_dir in $ltrpathdirs; do
 4472       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
 4473     done
 4474   fi
 4475 
 4476 
 4477 
 4478 
 4479 
 4480 
 4481 
 4482 
 4483 
 4484 
 4485 
 4486 
 4487           am_save_CPPFLAGS="$CPPFLAGS"
 4488 
 4489   for element in $INCICONV; do
 4490     haveit=
 4491     for x in $CPPFLAGS; do
 4492 
 4493   acl_save_prefix="$prefix"
 4494   prefix="$acl_final_prefix"
 4495   acl_save_exec_prefix="$exec_prefix"
 4496   exec_prefix="$acl_final_exec_prefix"
 4497   eval x=\"$x\"
 4498   exec_prefix="$acl_save_exec_prefix"
 4499   prefix="$acl_save_prefix"
 4500 
 4501       if test "X$x" = "X$element"; then
 4502         haveit=yes
 4503         break
 4504       fi
 4505     done
 4506     if test -z "$haveit"; then
 4507       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 4508     fi
 4509   done
 4510 
 4511 
 4512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 4513 $as_echo_n "checking for iconv... " >&6; }
 4514 if ${am_cv_func_iconv+:} false; then :
 4515   $as_echo_n "(cached) " >&6
 4516 else
 4517 
 4518     am_cv_func_iconv="no, consider installing GNU libiconv"
 4519     am_cv_lib_iconv=no
 4520     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4521 /* end confdefs.h.  */
 4522 
 4523 #include <stdlib.h>
 4524 #include <iconv.h>
 4525 
 4526 int
 4527 main ()
 4528 {
 4529 iconv_t cd = iconv_open("","");
 4530            iconv(cd,NULL,NULL,NULL,NULL);
 4531            iconv_close(cd);
 4532   ;
 4533   return 0;
 4534 }
 4535 _ACEOF
 4536 if ac_fn_c_try_link "$LINENO"; then :
 4537   am_cv_func_iconv=yes
 4538 fi
 4539 rm -f core conftest.err conftest.$ac_objext \
 4540     conftest$ac_exeext conftest.$ac_ext
 4541     if test "$am_cv_func_iconv" != yes; then
 4542       am_save_LIBS="$LIBS"
 4543       LIBS="$LIBS $LIBICONV"
 4544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4545 /* end confdefs.h.  */
 4546 
 4547 #include <stdlib.h>
 4548 #include <iconv.h>
 4549 
 4550 int
 4551 main ()
 4552 {
 4553 iconv_t cd = iconv_open("","");
 4554              iconv(cd,NULL,NULL,NULL,NULL);
 4555              iconv_close(cd);
 4556   ;
 4557   return 0;
 4558 }
 4559 _ACEOF
 4560 if ac_fn_c_try_link "$LINENO"; then :
 4561   am_cv_lib_iconv=yes
 4562         am_cv_func_iconv=yes
 4563 fi
 4564 rm -f core conftest.err conftest.$ac_objext \
 4565     conftest$ac_exeext conftest.$ac_ext
 4566       LIBS="$am_save_LIBS"
 4567     fi
 4568 
 4569 fi
 4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
 4571 $as_echo "$am_cv_func_iconv" >&6; }
 4572   if test "$am_cv_func_iconv" = yes; then
 4573     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
 4574 $as_echo_n "checking for working iconv... " >&6; }
 4575 if ${am_cv_func_iconv_works+:} false; then :
 4576   $as_echo_n "(cached) " >&6
 4577 else
 4578 
 4579                   am_save_LIBS="$LIBS"
 4580       if test $am_cv_lib_iconv = yes; then
 4581         LIBS="$LIBS $LIBICONV"
 4582       fi
 4583       am_cv_func_iconv_works=no
 4584       for ac_iconv_const in '' 'const'; do
 4585         if test "$cross_compiling" = yes; then :
 4586   case "$host_os" in
 4587              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
 4588              *)            am_cv_func_iconv_works="guessing yes" ;;
 4589            esac
 4590 else
 4591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4592 /* end confdefs.h.  */
 4593 
 4594 #include <iconv.h>
 4595 #include <string.h>
 4596 
 4597 #ifndef ICONV_CONST
 4598 # define ICONV_CONST $ac_iconv_const
 4599 #endif
 4600 
 4601 int
 4602 main ()
 4603 {
 4604 int result = 0;
 4605   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
 4606      returns.  */
 4607   {
 4608     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
 4609     if (cd_utf8_to_88591 != (iconv_t)(-1))
 4610       {
 4611         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
 4612         char buf[10];
 4613         ICONV_CONST char *inptr = input;
 4614         size_t inbytesleft = strlen (input);
 4615         char *outptr = buf;
 4616         size_t outbytesleft = sizeof (buf);
 4617         size_t res = iconv (cd_utf8_to_88591,
 4618                             &inptr, &inbytesleft,
 4619                             &outptr, &outbytesleft);
 4620         if (res == 0)
 4621           result |= 1;
 4622         iconv_close (cd_utf8_to_88591);
 4623       }
 4624   }
 4625   /* Test against Solaris 10 bug: Failures are not distinguishable from
 4626      successful returns.  */
 4627   {
 4628     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
 4629     if (cd_ascii_to_88591 != (iconv_t)(-1))
 4630       {
 4631         static ICONV_CONST char input[] = "\263";
 4632         char buf[10];
 4633         ICONV_CONST char *inptr = input;
 4634         size_t inbytesleft = strlen (input);
 4635         char *outptr = buf;
 4636         size_t outbytesleft = sizeof (buf);
 4637         size_t res = iconv (cd_ascii_to_88591,
 4638                             &inptr, &inbytesleft,
 4639                             &outptr, &outbytesleft);
 4640         if (res == 0)
 4641           result |= 2;
 4642         iconv_close (cd_ascii_to_88591);
 4643       }
 4644   }
 4645   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
 4646   {
 4647     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
 4648     if (cd_88591_to_utf8 != (iconv_t)(-1))
 4649       {
 4650         static ICONV_CONST char input[] = "\304";
 4651         static char buf[2] = { (char)0xDE, (char)0xAD };
 4652         ICONV_CONST char *inptr = input;
 4653         size_t inbytesleft = 1;
 4654         char *outptr = buf;
 4655         size_t outbytesleft = 1;
 4656         size_t res = iconv (cd_88591_to_utf8,
 4657                             &inptr, &inbytesleft,
 4658                             &outptr, &outbytesleft);
 4659         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
 4660           result |= 4;
 4661         iconv_close (cd_88591_to_utf8);
 4662       }
 4663   }
 4664 #if 0 /* This bug could be worked around by the caller.  */
 4665   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
 4666   {
 4667     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
 4668     if (cd_88591_to_utf8 != (iconv_t)(-1))
 4669       {
 4670         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
 4671         char buf[50];
 4672         ICONV_CONST char *inptr = input;
 4673         size_t inbytesleft = strlen (input);
 4674         char *outptr = buf;
 4675         size_t outbytesleft = sizeof (buf);
 4676         size_t res = iconv (cd_88591_to_utf8,
 4677                             &inptr, &inbytesleft,
 4678                             &outptr, &outbytesleft);
 4679         if ((int)res > 0)
 4680           result |= 8;
 4681         iconv_close (cd_88591_to_utf8);
 4682       }
 4683   }
 4684 #endif
 4685   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
 4686      provided.  */
 4687   if (/* Try standardized names.  */
 4688       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
 4689       /* Try IRIX, OSF/1 names.  */
 4690       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
 4691       /* Try AIX names.  */
 4692       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
 4693       /* Try HP-UX names.  */
 4694       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
 4695     result |= 16;
 4696   return result;
 4697 
 4698   ;
 4699   return 0;
 4700 }
 4701 _ACEOF
 4702 if ac_fn_c_try_run "$LINENO"; then :
 4703   am_cv_func_iconv_works=yes
 4704 fi
 4705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 4706   conftest.$ac_objext conftest.beam conftest.$ac_ext
 4707 fi
 4708 
 4709         test "$am_cv_func_iconv_works" = no || break
 4710       done
 4711       LIBS="$am_save_LIBS"
 4712 
 4713 fi
 4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
 4715 $as_echo "$am_cv_func_iconv_works" >&6; }
 4716     case "$am_cv_func_iconv_works" in
 4717       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
 4718       *)   am_func_iconv=yes ;;
 4719     esac
 4720   else
 4721     am_func_iconv=no am_cv_lib_iconv=no
 4722   fi
 4723   if test "$am_func_iconv" = yes; then
 4724 
 4725 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
 4726 
 4727   fi
 4728   if test "$am_cv_lib_iconv" = yes; then
 4729     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
 4730 $as_echo_n "checking how to link with libiconv... " >&6; }
 4731     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
 4732 $as_echo "$LIBICONV" >&6; }
 4733   else
 4734             CPPFLAGS="$am_save_CPPFLAGS"
 4735     LIBICONV=
 4736     LTLIBICONV=
 4737   fi
 4738 
 4739 
 4740 
 4741   if test "$am_cv_func_iconv" = yes; then
 4742     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
 4743 $as_echo_n "checking for iconv declaration... " >&6; }
 4744     if ${am_cv_proto_iconv+:} false; then :
 4745   $as_echo_n "(cached) " >&6
 4746 else
 4747 
 4748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4749 /* end confdefs.h.  */
 4750 
 4751 #include <stdlib.h>
 4752 #include <iconv.h>
 4753 extern
 4754 #ifdef __cplusplus
 4755 "C"
 4756 #endif
 4757 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
 4758 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
 4759 #else
 4760 size_t iconv();
 4761 #endif
 4762 
 4763 int
 4764 main ()
 4765 {
 4766 
 4767   ;
 4768   return 0;
 4769 }
 4770 _ACEOF
 4771 if ac_fn_c_try_compile "$LINENO"; then :
 4772   am_cv_proto_iconv_arg1=""
 4773 else
 4774   am_cv_proto_iconv_arg1="const"
 4775 fi
 4776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4777       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
 4778 fi
 4779 
 4780     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
 4781     { $as_echo "$as_me:${as_lineno-$LINENO}: result:
 4782          $am_cv_proto_iconv" >&5
 4783 $as_echo "
 4784          $am_cv_proto_iconv" >&6; }
 4785 
 4786 cat >>confdefs.h <<_ACEOF
 4787 #define ICONV_CONST $am_cv_proto_iconv_arg1
 4788 _ACEOF
 4789 
 4790 
 4791   fi
 4792 
 4793 
 4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking cached host tuple" >&5
 4795 $as_echo_n "checking cached host tuple... " >&6; }
 4796 if { test x"${ac_cv_host_system_type+set}" = x"set" &&
 4797      test x"$ac_cv_host_system_type" != x"$host"; }; then
 4798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: different" >&5
 4799 $as_echo "different" >&6; }
 4800   as_fn_error $? "remove config.cache and re-run configure" "$LINENO" 5
 4801 else
 4802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 4803 $as_echo "ok" >&6; }
 4804 fi
 4805 ac_cv_host_system_type="$host"
 4806 
 4807 
 4808 
 4809 case "${host}" in
 4810 
 4811   ## Alpha (DEC) machines.
 4812   alpha*-dec-osf* )
 4813     tcsh_config_file=decosf1
 4814   ;;
 4815 
 4816   ## Ultrix
 4817   *-dec-ultrix* )
 4818     tcsh_config_file=ultrix
 4819   ;;
 4820 
 4821   ## DGUX
 4822   *-dg-dguxR4* )
 4823     tcsh_config_file=dgux5.4
 4824   ;;
 4825   m88k-dg-dgux5.4R* )
 4826     tcsh_config_file=dgux5.4
 4827   ;;
 4828 
 4829   ## HP/UX
 4830   *-hp-hpux7* )
 4831     tcsh_config_file=hpux7
 4832   ;;
 4833   *-hp-hpux[89]* )
 4834     tcsh_config_file=hpux8
 4835   ;;
 4836   *-hp-hpux1[0-9]* )
 4837     tcsh_config_file=hpux11
 4838   ;;
 4839 
 4840   ## IBM AIX systems
 4841   *-ibm-aix*)
 4842     tcsh_config_file=aix
 4843   ;;
 4844 
 4845   ## SX-4
 4846   sx4-nec-*)
 4847     CC='cc -h0,ansi,novector,float0'
 4848     LDFLAGS='-Gsmall'
 4849     tcsh_config_file=superux8
 4850   ;;
 4851 
 4852   ## IBM OS/390 systems
 4853   *-ibm-os390*)
 4854     CC='c89'
 4855     tcsh_config_file=os390
 4856   ;;
 4857 
 4858   ## Android
 4859   *-*-android*)
 4860     tcsh_config_file=android
 4861   ;;
 4862 
 4863   ## Linux
 4864   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
 4865     tcsh_config_file=linux
 4866   ;;
 4867 
 4868   ## Motorola systems
 4869   m68k-motorola-sysv* )
 4870     tcsh_config_file=sysV68
 4871   ;;
 4872   m88k-motorola-sysv3* )
 4873     tcsh_config_file=sysV88
 4874   ;;
 4875 
 4876   ## Minix systems
 4877   *-*-minix*)
 4878     tcsh_config_file=minix
 4879   ;;
 4880 
 4881   ## NetBSD systems
 4882   *-*-netbsd*)
 4883     tcsh_config_file=bsd4.4
 4884   ;;
 4885 
 4886   ## FreeBSD systems
 4887   *-*-freebsd*)
 4888     tcsh_config_file=bsd4.4
 4889   ;;
 4890 
 4891   ## MidnightBSD systems
 4892   *-*-midnightbsd*)
 4893     tcsh_config_file=bsd4.4
 4894   ;;
 4895 
 4896   ## DragonFlyBSD systems
 4897   *-*-dragonfly*)
 4898     tcsh_config_file=bsd4.4
 4899   ;;
 4900 
 4901   ## MirBSD systems
 4902   *-*-mirbsd*)
 4903     tcsh_config_file=bsd4.4
 4904   ;;
 4905 
 4906   ## OpenBSD systems
 4907   *-*-openbsd*)
 4908     tcsh_config_file=bsd4.4
 4909   ;;
 4910 
 4911   ## BSDI systems
 4912   *-*-bsdi*)
 4913     tcsh_config_file=bsd4.4
 4914   ;;
 4915 
 4916   ## Mac OS X Server
 4917   *-*-rhapsody* )
 4918     tcsh_config_file=bsd4.4
 4919   ;;
 4920 
 4921   ## Mac OS X Server
 4922   *-*-darwin* )
 4923     tcsh_config_file=bsd4.4
 4924   ;;
 4925 
 4926   ## DragonFly systems
 4927   *-*-dragonfly*)
 4928     tcsh_config_file=bsd4.4
 4929   ;;
 4930 
 4931   ## Silicon Graphics machines
 4932   *-sgi-iri* )
 4933     tcsh_config_file=irix
 4934     case "${host_os}" in
 4935       irix[34]*) # Irix-3.x - Irix 4.x
 4936         NON_GNU_DFLAGS='-D__STDC__'
 4937         LIBS='-lsun -lbsd -lc_s'
 4938       ;;
 4939       irix5* | irix6.[01]*) # Irix 5.x, Irix 6.0 - 6.1
 4940         LIBS='-lbsd'
 4941       ;;
 4942       irix6.[2-9]*) # Irix 6.2 and later
 4943     tcsh_config_file=irix62
 4944       ;;
 4945     esac
 4946   ;;
 4947 
 4948   ## Suns
 4949   *-sun-sunos3* )
 4950     tcsh_config_file=sunos35
 4951   ;;
 4952   *-sun-sunos4.0* )
 4953     tcsh_config_file=sunos40
 4954   ;;
 4955   *-sun-sunos4.1.[12]* )
 4956     tcsh_config_file=sunos41
 4957   ;;
 4958   *-sun-sunos4.1.[3456]* )
 4959     tcsh_config_file=sunos413
 4960   ;;
 4961   *-*-solaris2.[01] ) # Should handle sparc or x86
 4962     tcsh_config_file=sol2
 4963   ;;
 4964   *-sun-solaris2.2 ) # Sparc only release
 4965     tcsh_config_file=sol22
 4966   ;;
 4967   *-sun-solaris2.3 ) # Sparc only release
 4968     tcsh_config_file=sol23
 4969   ;;
 4970   *-*-solaris2.[45] ) # Should handle sparc, x86 and powerpc
 4971     tcsh_config_file=sol24
 4972   ;;
 4973   *-*-solaris2.[678] ) # Should handle sparc, x86 and powerpc
 4974     tcsh_config_file=sol26
 4975   ;;
 4976   *-*-solaris2.* ) # Should handle sparc, x86 and powerpc
 4977     tcsh_config_file=sol29
 4978   ;;
 4979 
 4980   ## Dell SVR4
 4981   *-dell-sysv4* )
 4982     tcsh_config_file=sysv4
 4983     DFLAGS="$DFLAGS -DDELL"
 4984   ;;
 4985 
 4986   ## SVR4 (Generic and otherwise)
 4987   *-*-sysv4* )
 4988     tcsh_config_file=sysv4
 4989   ;;
 4990 
 4991   ## Tektronix systems
 4992   m68k-tektronix-bsd* )
 4993     tcsh_config_file=bsd
 4994     NON_GNU_DFLAGS='-DBSD -DUTek'
 4995   ;;
 4996   m88k-tektronix-sysv3* )
 4997     tcsh_config_file=tekXD88
 4998   ;;
 4999 
 5000   ## SCO
 5001   *-sco3.2v5*)
 5002     tcsh_config_file=sco32v5
 5003   ;;
 5004   *-sco3.2v4*)
 5005     tcsh_config_file=sco32v4
 5006   ;;
 5007   *-sco3.2v2*)
 5008     tcsh_config_file=sco32v2
 5009   ;;
 5010 
 5011   ## Siemens BS2000 Mainframe
 5012   bs2000-siemens-*)
 5013     tcsh_config_file=bs2000
 5014   ;;
 5015 
 5016   ## Convex
 5017   *-convex*)
 5018     tcsh_config_file=convex
 5019   ;;
 5020 
 5021   ## Cray
 5022   *-cray-unicos*)
 5023     tcsh_config_file=cray
 5024   ;;
 5025 
 5026   ## Red Hat Cygwin
 5027   *-cygwin)
 5028     tcsh_config_file=cygwin
 5029   ;;
 5030 
 5031   ## mips-compaq-nonstopux
 5032   *-*-nonstopux)
 5033     tcsh_config_file=sysv4
 5034   ;;
 5035 
 5036   ## Apollo Domain/OS
 5037   *-apollo-*)
 5038     tcsh_config_file=apollo
 5039   ;;
 5040 
 5041   ## QNX6
 5042   *-qnx6*)
 5043     tcsh_config_file=qnx6
 5044   ;;
 5045 
 5046   * )
 5047     as_fn_error $? "Tcsh can't guess the configuration file name
 5048 for \`${host}' systems.
 5049 Check tcsh's \`Ported' file for manual configuration instructions." "$LINENO" 5
 5050     ;;
 5051 
 5052 esac
 5053 
 5054 echo "Tcsh will use configuration file \`$tcsh_config_file'."
 5055 cp ${srcdir}/config/${tcsh_config_file} config_p.h
 5056 
 5057 
 5058 ac_ext=c
 5059 ac_cpp='$CPP $CPPFLAGS'
 5060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5063 if test -n "$ac_tool_prefix"; then
 5064   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 5065 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5067 $as_echo_n "checking for $ac_word... " >&6; }
 5068 if ${ac_cv_prog_CC+:} false; then :
 5069   $as_echo_n "(cached) " >&6
 5070 else
 5071   if test -n "$CC"; then
 5072   ac_cv_prog_CC="$CC" # Let the user override the test.
 5073 else
 5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5075 for as_dir in $PATH
 5076 do
 5077   IFS=$as_save_IFS
 5078   test -z "$as_dir" && as_dir=.
 5079     for ac_exec_ext in '' $ac_executable_extensions; do
 5080   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5081     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 5082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5083     break 2
 5084   fi
 5085 done
 5086   done
 5087 IFS=$as_save_IFS
 5088 
 5089 fi
 5090 fi
 5091 CC=$ac_cv_prog_CC
 5092 if test -n "$CC"; then
 5093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 5094 $as_echo "$CC" >&6; }
 5095 else
 5096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5097 $as_echo "no" >&6; }
 5098 fi
 5099 
 5100 
 5101 fi
 5102 if test -z "$ac_cv_prog_CC"; then
 5103   ac_ct_CC=$CC
 5104   # Extract the first word of "gcc", so it can be a program name with args.
 5105 set dummy gcc; ac_word=$2
 5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5107 $as_echo_n "checking for $ac_word... " >&6; }
 5108 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 5109   $as_echo_n "(cached) " >&6
 5110 else
 5111   if test -n "$ac_ct_CC"; then
 5112   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 5113 else
 5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5115 for as_dir in $PATH
 5116 do
 5117   IFS=$as_save_IFS
 5118   test -z "$as_dir" && as_dir=.
 5119     for ac_exec_ext in '' $ac_executable_extensions; do
 5120   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5121     ac_cv_prog_ac_ct_CC="gcc"
 5122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5123     break 2
 5124   fi
 5125 done
 5126   done
 5127 IFS=$as_save_IFS
 5128 
 5129 fi
 5130 fi
 5131 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 5132 if test -n "$ac_ct_CC"; then
 5133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 5134 $as_echo "$ac_ct_CC" >&6; }
 5135 else
 5136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5137 $as_echo "no" >&6; }
 5138 fi
 5139 
 5140   if test "x$ac_ct_CC" = x; then
 5141     CC=""
 5142   else
 5143     case $cross_compiling:$ac_tool_warned in
 5144 yes:)
 5145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5147 ac_tool_warned=yes ;;
 5148 esac
 5149     CC=$ac_ct_CC
 5150   fi
 5151 else
 5152   CC="$ac_cv_prog_CC"
 5153 fi
 5154 
 5155 if test -z "$CC"; then
 5156           if test -n "$ac_tool_prefix"; then
 5157     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 5158 set dummy ${ac_tool_prefix}cc; ac_word=$2
 5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5160 $as_echo_n "checking for $ac_word... " >&6; }
 5161 if ${ac_cv_prog_CC+:} false; then :
 5162   $as_echo_n "(cached) " >&6
 5163 else
 5164   if test -n "$CC"; then
 5165   ac_cv_prog_CC="$CC" # Let the user override the test.
 5166 else
 5167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5168 for as_dir in $PATH
 5169 do
 5170   IFS=$as_save_IFS
 5171   test -z "$as_dir" && as_dir=.
 5172     for ac_exec_ext in '' $ac_executable_extensions; do
 5173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5174     ac_cv_prog_CC="${ac_tool_prefix}cc"
 5175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5176     break 2
 5177   fi
 5178 done
 5179   done
 5180 IFS=$as_save_IFS
 5181 
 5182 fi
 5183 fi
 5184 CC=$ac_cv_prog_CC
 5185 if test -n "$CC"; then
 5186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 5187 $as_echo "$CC" >&6; }
 5188 else
 5189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5190 $as_echo "no" >&6; }
 5191 fi
 5192 
 5193 
 5194   fi
 5195 fi
 5196 if test -z "$CC"; then
 5197   # Extract the first word of "cc", so it can be a program name with args.
 5198 set dummy cc; ac_word=$2
 5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5200 $as_echo_n "checking for $ac_word... " >&6; }
 5201 if ${ac_cv_prog_CC+:} false; then :
 5202   $as_echo_n "(cached) " >&6
 5203 else
 5204   if test -n "$CC"; then
 5205   ac_cv_prog_CC="$CC" # Let the user override the test.
 5206 else
 5207   ac_prog_rejected=no
 5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5209 for as_dir in $PATH
 5210 do
 5211   IFS=$as_save_IFS
 5212   test -z "$as_dir" && as_dir=.
 5213     for ac_exec_ext in '' $ac_executable_extensions; do
 5214   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5215     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 5216        ac_prog_rejected=yes
 5217        continue
 5218      fi
 5219     ac_cv_prog_CC="cc"
 5220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5221     break 2
 5222   fi
 5223 done
 5224   done
 5225 IFS=$as_save_IFS
 5226 
 5227 if test $ac_prog_rejected = yes; then
 5228   # We found a bogon in the path, so make sure we never use it.
 5229   set dummy $ac_cv_prog_CC
 5230   shift
 5231   if test $# != 0; then
 5232     # We chose a different compiler from the bogus one.
 5233     # However, it has the same basename, so the bogon will be chosen
 5234     # first if we set CC to just the basename; use the full file name.
 5235     shift
 5236     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 5237   fi
 5238 fi
 5239 fi
 5240 fi
 5241 CC=$ac_cv_prog_CC
 5242 if test -n "$CC"; then
 5243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 5244 $as_echo "$CC" >&6; }
 5245 else
 5246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5247 $as_echo "no" >&6; }
 5248 fi
 5249 
 5250 
 5251 fi
 5252 if test -z "$CC"; then
 5253   if test -n "$ac_tool_prefix"; then
 5254   for ac_prog in cl.exe
 5255   do
 5256     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 5257 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5259 $as_echo_n "checking for $ac_word... " >&6; }
 5260 if ${ac_cv_prog_CC+:} false; then :
 5261   $as_echo_n "(cached) " >&6
 5262 else
 5263   if test -n "$CC"; then
 5264   ac_cv_prog_CC="$CC" # Let the user override the test.
 5265 else
 5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5267 for as_dir in $PATH
 5268 do
 5269   IFS=$as_save_IFS
 5270   test -z "$as_dir" && as_dir=.
 5271     for ac_exec_ext in '' $ac_executable_extensions; do
 5272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5273     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 5274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5275     break 2
 5276   fi
 5277 done
 5278   done
 5279 IFS=$as_save_IFS
 5280 
 5281 fi
 5282 fi
 5283 CC=$ac_cv_prog_CC
 5284 if test -n "$CC"; then
 5285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 5286 $as_echo "$CC" >&6; }
 5287 else
 5288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5289 $as_echo "no" >&6; }
 5290 fi
 5291 
 5292 
 5293     test -n "$CC" && break
 5294   done
 5295 fi
 5296 if test -z "$CC"; then
 5297   ac_ct_CC=$CC
 5298   for ac_prog in cl.exe
 5299 do
 5300   # Extract the first word of "$ac_prog", so it can be a program name with args.
 5301 set dummy $ac_prog; ac_word=$2
 5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5303 $as_echo_n "checking for $ac_word... " >&6; }
 5304 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 5305   $as_echo_n "(cached) " >&6
 5306 else
 5307   if test -n "$ac_ct_CC"; then
 5308   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 5309 else
 5310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5311 for as_dir in $PATH
 5312 do
 5313   IFS=$as_save_IFS
 5314   test -z "$as_dir" && as_dir=.
 5315     for ac_exec_ext in '' $ac_executable_extensions; do
 5316   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5317     ac_cv_prog_ac_ct_CC="$ac_prog"
 5318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5319     break 2
 5320   fi
 5321 done
 5322   done
 5323 IFS=$as_save_IFS
 5324 
 5325 fi
 5326 fi
 5327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 5328 if test -n "$ac_ct_CC"; then
 5329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 5330 $as_echo "$ac_ct_CC" >&6; }
 5331 else
 5332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5333 $as_echo "no" >&6; }
 5334 fi
 5335 
 5336 
 5337   test -n "$ac_ct_CC" && break
 5338 done
 5339 
 5340   if test "x$ac_ct_CC" = x; then
 5341     CC=""
 5342   else
 5343     case $cross_compiling:$ac_tool_warned in
 5344 yes:)
 5345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5347 ac_tool_warned=yes ;;
 5348 esac
 5349     CC=$ac_ct_CC
 5350   fi
 5351 fi
 5352 
 5353 fi
 5354 
 5355 
 5356 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5358 as_fn_error $? "no acceptable C compiler found in \$PATH
 5359 See \`config.log' for more details" "$LINENO" 5; }
 5360 
 5361 # Provide some information about the compiler.
 5362 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 5363 set X $ac_compile
 5364 ac_compiler=$2
 5365 for ac_option in --version -v -V -qversion; do
 5366   { { ac_try="$ac_compiler $ac_option >&5"
 5367 case "(($ac_try" in
 5368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5369   *) ac_try_echo=$ac_try;;
 5370 esac
 5371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 5372 $as_echo "$ac_try_echo"; } >&5
 5373   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 5374   ac_status=$?
 5375   if test -s conftest.err; then
 5376     sed '10a\
 5377 ... rest of stderr output deleted ...
 5378          10q' conftest.err >conftest.er1
 5379     cat conftest.er1 >&5
 5380   fi
 5381   rm -f conftest.er1 conftest.err
 5382   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 5383   test $ac_status = 0; }
 5384 done
 5385 
 5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 5387 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 5388 if ${ac_cv_c_compiler_gnu+:} false; then :
 5389   $as_echo_n "(cached) " >&6
 5390 else
 5391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5392 /* end confdefs.h.  */
 5393 
 5394 int
 5395 main ()
 5396 {
 5397 #ifndef __GNUC__
 5398        choke me
 5399 #endif
 5400 
 5401   ;
 5402   return 0;
 5403 }
 5404 _ACEOF
 5405 if ac_fn_c_try_compile "$LINENO"; then :
 5406   ac_compiler_gnu=yes
 5407 else
 5408   ac_compiler_gnu=no
 5409 fi
 5410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5411 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 5412 
 5413 fi
 5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 5415 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 5416 if test $ac_compiler_gnu = yes; then
 5417   GCC=yes
 5418 else
 5419   GCC=
 5420 fi
 5421 ac_test_CFLAGS=${CFLAGS+set}
 5422 ac_save_CFLAGS=$CFLAGS
 5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 5424 $as_echo_n "checking whether $CC accepts -g... " >&6; }
 5425 if ${ac_cv_prog_cc_g+:} false; then :
 5426   $as_echo_n "(cached) " >&6
 5427 else
 5428   ac_save_c_werror_flag=$ac_c_werror_flag
 5429    ac_c_werror_flag=yes
 5430    ac_cv_prog_cc_g=no
 5431    CFLAGS="-g"
 5432    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5433 /* end confdefs.h.  */
 5434 
 5435 int
 5436 main ()
 5437 {
 5438 
 5439   ;
 5440   return 0;
 5441 }
 5442 _ACEOF
 5443 if ac_fn_c_try_compile "$LINENO"; then :
 5444   ac_cv_prog_cc_g=yes
 5445 else
 5446   CFLAGS=""
 5447       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5448 /* end confdefs.h.  */
 5449 
 5450 int
 5451 main ()
 5452 {
 5453 
 5454   ;
 5455   return 0;
 5456 }
 5457 _ACEOF
 5458 if ac_fn_c_try_compile "$LINENO"; then :
 5459 
 5460 else
 5461   ac_c_werror_flag=$ac_save_c_werror_flag
 5462      CFLAGS="-g"
 5463      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5464 /* end confdefs.h.  */
 5465 
 5466 int
 5467 main ()
 5468 {
 5469 
 5470   ;
 5471   return 0;
 5472 }
 5473 _ACEOF
 5474 if ac_fn_c_try_compile "$LINENO"; then :
 5475   ac_cv_prog_cc_g=yes
 5476 fi
 5477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5478 fi
 5479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5480 fi
 5481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5482    ac_c_werror_flag=$ac_save_c_werror_flag
 5483 fi
 5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 5485 $as_echo "$ac_cv_prog_cc_g" >&6; }
 5486 if test "$ac_test_CFLAGS" = set; then
 5487   CFLAGS=$ac_save_CFLAGS
 5488 elif test $ac_cv_prog_cc_g = yes; then
 5489   if test "$GCC" = yes; then
 5490     CFLAGS="-g -O2"
 5491   else
 5492     CFLAGS="-g"
 5493   fi
 5494 else
 5495   if test "$GCC" = yes; then
 5496     CFLAGS="-O2"
 5497   else
 5498     CFLAGS=
 5499   fi
 5500 fi
 5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 5502 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 5503 if ${ac_cv_prog_cc_c89+:} false; then :
 5504   $as_echo_n "(cached) " >&6
 5505 else
 5506   ac_cv_prog_cc_c89=no
 5507 ac_save_CC=$CC
 5508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5509 /* end confdefs.h.  */
 5510 #include <stdarg.h>
 5511 #include <stdio.h>
 5512 struct stat;
 5513 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 5514 struct buf { int x; };
 5515 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 5516 static char *e (p, i)
 5517      char **p;
 5518      int i;
 5519 {