home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.lbl.gov / 2014.05.ftp.ee.lbl.gov.tar / ftp.ee.lbl.gov / hf-1.2.tar.gz / hf-1.2.tar / hf-1.2 / configure < prev    next >
Text File  |  2009-12-13  |  215KB  |  7,773 lines

  1. #! /bin/sh
  2. # From configure.in @(#) Id: configure.in 170 2009-10-11 00:18:21Z leres  (LBL).
  3. # Guess values for system-dependent variables and create Makefiles.
  4. # Generated by GNU Autoconf 2.62.
  5. #
  6. # Copyright (c) 1996, 1998, 1999, 2000, 2001, 2002, 2004, 2009
  7. #     The Regents of the University of California.  All rights reserved.
  8. #
  9. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  10. # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  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*) set -o posix ;;
  29. esac
  30.  
  31. fi
  32.  
  33.  
  34.  
  35.  
  36. # PATH needs CR
  37. # Avoid depending upon Character Ranges.
  38. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  39. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  40. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  41. as_cr_digits='0123456789'
  42. as_cr_alnum=$as_cr_Letters$as_cr_digits
  43.  
  44. as_nl='
  45. '
  46. export as_nl
  47. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  48. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  49. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  50. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  51. if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  52.   as_echo='printf %s\n'
  53.   as_echo_n='printf %s'
  54. else
  55.   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  56.     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  57.     as_echo_n='/usr/ucb/echo -n'
  58.   else
  59.     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  60.     as_echo_n_body='eval
  61.       arg=$1;
  62.       case $arg in
  63.       *"$as_nl"*)
  64.     expr "X$arg" : "X\\(.*\\)$as_nl";
  65.     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  66.       esac;
  67.       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  68.     '
  69.     export as_echo_n_body
  70.     as_echo_n='sh -c $as_echo_n_body as_echo'
  71.   fi
  72.   export as_echo_body
  73.   as_echo='sh -c $as_echo_body as_echo'
  74. fi
  75.  
  76. # The user is always right.
  77. if test "${PATH_SEPARATOR+set}" != set; then
  78.   PATH_SEPARATOR=:
  79.   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  80.     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  81.       PATH_SEPARATOR=';'
  82.   }
  83. fi
  84.  
  85. # Support unset when possible.
  86. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  87.   as_unset=unset
  88. else
  89.   as_unset=false
  90. fi
  91.  
  92.  
  93. # IFS
  94. # We need space, tab and new line, in precisely that order.  Quoting is
  95. # there to prevent editors from complaining about space-tab.
  96. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  97. # splitting by setting IFS to empty value.)
  98. IFS=" ""    $as_nl"
  99.  
  100. # Find who we are.  Look in the path if we contain no directory separator.
  101. case $0 in
  102.   *[\\/]* ) as_myself=$0 ;;
  103.   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  104. for as_dir in $PATH
  105. do
  106.   IFS=$as_save_IFS
  107.   test -z "$as_dir" && as_dir=.
  108.   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  109. done
  110. IFS=$as_save_IFS
  111.  
  112.      ;;
  113. esac
  114. # We did not find ourselves, most probably we were run as `sh COMMAND'
  115. # in which case we are not to be found in the path.
  116. if test "x$as_myself" = x; then
  117.   as_myself=$0
  118. fi
  119. if test ! -f "$as_myself"; then
  120.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  121.   { (exit 1); exit 1; }
  122. fi
  123.  
  124. # Work around bugs in pre-3.0 UWIN ksh.
  125. for as_var in ENV MAIL MAILPATH
  126. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  127. done
  128. PS1='$ '
  129. PS2='> '
  130. PS4='+ '
  131.  
  132. # NLS nuisances.
  133. LC_ALL=C
  134. export LC_ALL
  135. LANGUAGE=C
  136. export LANGUAGE
  137.  
  138. # Required to use basename.
  139. if expr a : '\(a\)' >/dev/null 2>&1 &&
  140.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  141.   as_expr=expr
  142. else
  143.   as_expr=false
  144. fi
  145.  
  146. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  147.   as_basename=basename
  148. else
  149.   as_basename=false
  150. fi
  151.  
  152.  
  153. # Name of the executable.
  154. as_me=`$as_basename -- "$0" ||
  155. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  156.      X"$0" : 'X\(//\)$' \| \
  157.      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  158. $as_echo X/"$0" |
  159.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  160.         s//\1/
  161.         q
  162.       }
  163.       /^X\/\(\/\/\)$/{
  164.         s//\1/
  165.         q
  166.       }
  167.       /^X\/\(\/\).*/{
  168.         s//\1/
  169.         q
  170.       }
  171.       s/.*/./; q'`
  172.  
  173. # CDPATH.
  174. $as_unset CDPATH
  175.  
  176.  
  177. if test "x$CONFIG_SHELL" = x; then
  178.   if (eval ":") 2>/dev/null; then
  179.   as_have_required=yes
  180. else
  181.   as_have_required=no
  182. fi
  183.  
  184.   if test $as_have_required = yes &&     (eval ":
  185. (as_func_return () {
  186.   (exit \$1)
  187. }
  188. as_func_success () {
  189.   as_func_return 0
  190. }
  191. as_func_failure () {
  192.   as_func_return 1
  193. }
  194. as_func_ret_success () {
  195.   return 0
  196. }
  197. as_func_ret_failure () {
  198.   return 1
  199. }
  200.  
  201. exitcode=0
  202. if as_func_success; then
  203.   :
  204. else
  205.   exitcode=1
  206.   echo as_func_success failed.
  207. fi
  208.  
  209. if as_func_failure; then
  210.   exitcode=1
  211.   echo as_func_failure succeeded.
  212. fi
  213.  
  214. if as_func_ret_success; then
  215.   :
  216. else
  217.   exitcode=1
  218.   echo as_func_ret_success failed.
  219. fi
  220.  
  221. if as_func_ret_failure; then
  222.   exitcode=1
  223.   echo as_func_ret_failure succeeded.
  224. fi
  225.  
  226. if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  227.   :
  228. else
  229.   exitcode=1
  230.   echo positional parameters were not saved.
  231. fi
  232.  
  233. test \$exitcode = 0) || { (exit 1); exit 1; }
  234.  
  235. (
  236.   as_lineno_1=\$LINENO
  237.   as_lineno_2=\$LINENO
  238.   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  239.   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  240. ") 2> /dev/null; then
  241.   :
  242. else
  243.   as_candidate_shells=
  244.     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  245. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  246. do
  247.   IFS=$as_save_IFS
  248.   test -z "$as_dir" && as_dir=.
  249.   case $as_dir in
  250.      /*)
  251.        for as_base in sh bash ksh sh5; do
  252.          as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  253.        done;;
  254.        esac
  255. done
  256. IFS=$as_save_IFS
  257.  
  258.  
  259.       for as_shell in $as_candidate_shells $SHELL; do
  260.      # Try only shells that exist, to save several forks.
  261.      if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  262.         { ("$as_shell") 2> /dev/null <<\_ASEOF
  263. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  264.   emulate sh
  265.   NULLCMD=:
  266.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  267.   # is contrary to our usage.  Disable this feature.
  268.   alias -g '${1+"$@"}'='"$@"'
  269.   setopt NO_GLOB_SUBST
  270. else
  271.   case `(set -o) 2>/dev/null` in
  272.   *posix*) set -o posix ;;
  273. esac
  274.  
  275. fi
  276.  
  277.  
  278. :
  279. _ASEOF
  280. }; then
  281.   CONFIG_SHELL=$as_shell
  282.            as_have_required=yes
  283.            if { "$as_shell" 2> /dev/null <<\_ASEOF
  284. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  285.   emulate sh
  286.   NULLCMD=:
  287.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  288.   # is contrary to our usage.  Disable this feature.
  289.   alias -g '${1+"$@"}'='"$@"'
  290.   setopt NO_GLOB_SUBST
  291. else
  292.   case `(set -o) 2>/dev/null` in
  293.   *posix*) set -o posix ;;
  294. esac
  295.  
  296. fi
  297.  
  298.  
  299. :
  300. (as_func_return () {
  301.   (exit $1)
  302. }
  303. as_func_success () {
  304.   as_func_return 0
  305. }
  306. as_func_failure () {
  307.   as_func_return 1
  308. }
  309. as_func_ret_success () {
  310.   return 0
  311. }
  312. as_func_ret_failure () {
  313.   return 1
  314. }
  315.  
  316. exitcode=0
  317. if as_func_success; then
  318.   :
  319. else
  320.   exitcode=1
  321.   echo as_func_success failed.
  322. fi
  323.  
  324. if as_func_failure; then
  325.   exitcode=1
  326.   echo as_func_failure succeeded.
  327. fi
  328.  
  329. if as_func_ret_success; then
  330.   :
  331. else
  332.   exitcode=1
  333.   echo as_func_ret_success failed.
  334. fi
  335.  
  336. if as_func_ret_failure; then
  337.   exitcode=1
  338.   echo as_func_ret_failure succeeded.
  339. fi
  340.  
  341. if ( set x; as_func_ret_success y && test x = "$1" ); then
  342.   :
  343. else
  344.   exitcode=1
  345.   echo positional parameters were not saved.
  346. fi
  347.  
  348. test $exitcode = 0) || { (exit 1); exit 1; }
  349.  
  350. (
  351.   as_lineno_1=$LINENO
  352.   as_lineno_2=$LINENO
  353.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  354.   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  355.  
  356. _ASEOF
  357. }; then
  358.   break
  359. fi
  360.  
  361. fi
  362.  
  363.       done
  364.  
  365.       if test "x$CONFIG_SHELL" != x; then
  366.   for as_var in BASH_ENV ENV
  367.     do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  368.     done
  369.     export CONFIG_SHELL
  370.     exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  371. fi
  372.  
  373.  
  374.     if test $as_have_required = no; then
  375.   echo This script requires a shell more modern than all the
  376.       echo shells that I found on your system.  Please install a
  377.       echo modern shell, or manually run the script under such a
  378.       echo shell if you do have one.
  379.       { (exit 1); exit 1; }
  380. fi
  381.  
  382.  
  383. fi
  384.  
  385. fi
  386.  
  387.  
  388.  
  389. (eval "as_func_return () {
  390.   (exit \$1)
  391. }
  392. as_func_success () {
  393.   as_func_return 0
  394. }
  395. as_func_failure () {
  396.   as_func_return 1
  397. }
  398. as_func_ret_success () {
  399.   return 0
  400. }
  401. as_func_ret_failure () {
  402.   return 1
  403. }
  404.  
  405. exitcode=0
  406. if as_func_success; then
  407.   :
  408. else
  409.   exitcode=1
  410.   echo as_func_success failed.
  411. fi
  412.  
  413. if as_func_failure; then
  414.   exitcode=1
  415.   echo as_func_failure succeeded.
  416. fi
  417.  
  418. if as_func_ret_success; then
  419.   :
  420. else
  421.   exitcode=1
  422.   echo as_func_ret_success failed.
  423. fi
  424.  
  425. if as_func_ret_failure; then
  426.   exitcode=1
  427.   echo as_func_ret_failure succeeded.
  428. fi
  429.  
  430. if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  431.   :
  432. else
  433.   exitcode=1
  434.   echo positional parameters were not saved.
  435. fi
  436.  
  437. test \$exitcode = 0") || {
  438.   echo No shell found that supports shell functions.
  439.   echo Please tell bug-autoconf@gnu.org about your system,
  440.   echo including any error possibly output before this message.
  441.   echo This can help us improve future autoconf versions.
  442.   echo Configuration will now proceed without shell functions.
  443. }
  444.  
  445.  
  446.  
  447.   as_lineno_1=$LINENO
  448.   as_lineno_2=$LINENO
  449.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  450.   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  451.  
  452.   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  453.   # uniformly replaced by the line number.  The first 'sed' inserts a
  454.   # line-number line after each line using $LINENO; the second 'sed'
  455.   # does the real work.  The second script uses 'N' to pair each
  456.   # line-number line with the line containing $LINENO, and appends
  457.   # trailing '-' during substitution so that $LINENO is not a special
  458.   # case at line end.
  459.   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  460.   # scripts with optimization help from Paolo Bonzini.  Blame Lee
  461.   # E. McMahon (1931-1989) for sed's syntax.  :-)
  462.   sed -n '
  463.     p
  464.     /[$]LINENO/=
  465.   ' <$as_myself |
  466.     sed '
  467.       s/[$]LINENO.*/&-/
  468.       t lineno
  469.       b
  470.       :lineno
  471.       N
  472.       :loop
  473.       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  474.       t loop
  475.       s/-\n.*//
  476.     ' >$as_me.lineno &&
  477.   chmod +x "$as_me.lineno" ||
  478.     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  479.    { (exit 1); exit 1; }; }
  480.  
  481.   # Don't try to exec as it changes $[0], causing all sort of problems
  482.   # (the dirname of $[0] is not the place where we might find the
  483.   # original and so on.  Autoconf is especially sensitive to this).
  484.   . "./$as_me.lineno"
  485.   # Exit status is that of the last command.
  486.   exit
  487. }
  488.  
  489.  
  490. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  491.   as_dirname=dirname
  492. else
  493.   as_dirname=false
  494. fi
  495.  
  496. ECHO_C= ECHO_N= ECHO_T=
  497. case `echo -n x` in
  498. -n*)
  499.   case `echo 'x\c'` in
  500.   *c*) ECHO_T='    ';;    # ECHO_T is single tab character.
  501.   *)   ECHO_C='\c';;
  502.   esac;;
  503. *)
  504.   ECHO_N='-n';;
  505. esac
  506. if expr a : '\(a\)' >/dev/null 2>&1 &&
  507.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  508.   as_expr=expr
  509. else
  510.   as_expr=false
  511. fi
  512.  
  513. rm -f conf$$ conf$$.exe conf$$.file
  514. if test -d conf$$.dir; then
  515.   rm -f conf$$.dir/conf$$.file
  516. else
  517.   rm -f conf$$.dir
  518.   mkdir conf$$.dir 2>/dev/null
  519. fi
  520. if (echo >conf$$.file) 2>/dev/null; then
  521.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  522.     as_ln_s='ln -s'
  523.     # ... but there are two gotchas:
  524.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  525.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  526.     # In both cases, we have to default to `cp -p'.
  527.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  528.       as_ln_s='cp -p'
  529.   elif ln conf$$.file conf$$ 2>/dev/null; then
  530.     as_ln_s=ln
  531.   else
  532.     as_ln_s='cp -p'
  533.   fi
  534. else
  535.   as_ln_s='cp -p'
  536. fi
  537. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  538. rmdir conf$$.dir 2>/dev/null
  539.  
  540. if mkdir -p . 2>/dev/null; then
  541.   as_mkdir_p=:
  542. else
  543.   test -d ./-p && rmdir ./-p
  544.   as_mkdir_p=false
  545. fi
  546.  
  547. if test -x / >/dev/null 2>&1; then
  548.   as_test_x='test -x'
  549. else
  550.   if ls -dL / >/dev/null 2>&1; then
  551.     as_ls_L_option=L
  552.   else
  553.     as_ls_L_option=
  554.   fi
  555.   as_test_x='
  556.     eval sh -c '\''
  557.       if test -d "$1"; then
  558.     test -d "$1/.";
  559.       else
  560.     case $1 in
  561.     -*)set "./$1";;
  562.     esac;
  563.     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  564.     ???[sx]*):;;*)false;;esac;fi
  565.     '\'' sh
  566.   '
  567. fi
  568. as_executable_p=$as_test_x
  569.  
  570. # Sed expression to map a string onto a valid CPP name.
  571. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  572.  
  573. # Sed expression to map a string onto a valid variable name.
  574. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  575.  
  576.  
  577.  
  578. exec 7<&0 </dev/null 6>&1
  579.  
  580. # Name of the host.
  581. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  582. # so uname gets run too.
  583. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  584.  
  585. #
  586. # Initializations.
  587. #
  588. ac_default_prefix=/usr/local
  589. ac_clean_files=
  590. ac_config_libobj_dir=.
  591. LIBOBJS=
  592. cross_compiling=no
  593. subdirs=
  594. MFLAGS=
  595. MAKEFLAGS=
  596. SHELL=${CONFIG_SHELL-/bin/sh}
  597.  
  598. # Identity of this package.
  599. PACKAGE_NAME=
  600. PACKAGE_TARNAME=
  601. PACKAGE_VERSION=
  602. PACKAGE_STRING=
  603. PACKAGE_BUGREPORT=
  604.  
  605. ac_unique_file="hf.l"
  606. # Factoring default headers for most tests.
  607. ac_includes_default="\
  608. #include <stdio.h>
  609. #ifdef HAVE_SYS_TYPES_H
  610. # include <sys/types.h>
  611. #endif
  612. #ifdef HAVE_SYS_STAT_H
  613. # include <sys/stat.h>
  614. #endif
  615. #ifdef STDC_HEADERS
  616. # include <stdlib.h>
  617. # include <stddef.h>
  618. #else
  619. # ifdef HAVE_STDLIB_H
  620. #  include <stdlib.h>
  621. # endif
  622. #endif
  623. #ifdef HAVE_STRING_H
  624. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  625. #  include <memory.h>
  626. # endif
  627. # include <string.h>
  628. #endif
  629. #ifdef HAVE_STRINGS_H
  630. # include <strings.h>
  631. #endif
  632. #ifdef HAVE_INTTYPES_H
  633. # include <inttypes.h>
  634. #endif
  635. #ifdef HAVE_STDINT_H
  636. # include <stdint.h>
  637. #endif
  638. #ifdef HAVE_UNISTD_H
  639. # include <unistd.h>
  640. #endif"
  641.  
  642. ac_subst_vars='SHELL
  643. PATH_SEPARATOR
  644. PACKAGE_NAME
  645. PACKAGE_TARNAME
  646. PACKAGE_VERSION
  647. PACKAGE_STRING
  648. PACKAGE_BUGREPORT
  649. exec_prefix
  650. prefix
  651. program_transform_name
  652. bindir
  653. sbindir
  654. libexecdir
  655. datarootdir
  656. datadir
  657. sysconfdir
  658. sharedstatedir
  659. localstatedir
  660. includedir
  661. oldincludedir
  662. docdir
  663. infodir
  664. htmldir
  665. dvidir
  666. pdfdir
  667. psdir
  668. libdir
  669. localedir
  670. mandir
  671. DEFS
  672. ECHO_C
  673. ECHO_N
  674. ECHO_T
  675. LIBS
  676. build_alias
  677. host_alias
  678. target_alias
  679. build
  680. build_cpu
  681. build_vendor
  682. build_os
  683. host
  684. host_cpu
  685. host_vendor
  686. host_os
  687. target
  688. target_cpu
  689. target_vendor
  690. target_os
  691. CC
  692. CFLAGS
  693. LDFLAGS
  694. CPPFLAGS
  695. ac_ct_CC
  696. EXEEXT
  697. OBJEXT
  698. CPP
  699. GREP
  700. EGREP
  701. SHLICC2
  702. INSTALL_PROGRAM
  703. INSTALL_SCRIPT
  704. INSTALL_DATA
  705. V_LEX
  706. V_YACC
  707. LIBOBJS
  708. V_CCOPT
  709. V_ASYNC_LIBS
  710. V_ASYNC_OBJS
  711. V_INCLS
  712. LTLIBOBJS'
  713. ac_subst_files=''
  714. ac_user_opts='
  715. enable_option_checking
  716. enable_optimization
  717. with_gcc
  718. enable_largefile
  719. with_flex
  720. with_bison
  721. '
  722.       ac_precious_vars='build_alias
  723. host_alias
  724. target_alias
  725. CC
  726. CFLAGS
  727. LDFLAGS
  728. LIBS
  729. CPPFLAGS
  730. CPP'
  731.  
  732.  
  733. # Initialize some variables set by options.
  734. ac_init_help=
  735. ac_init_version=false
  736. ac_unrecognized_opts=
  737. ac_unrecognized_sep=
  738. # The variables have the same names as the options, with
  739. # dashes changed to underlines.
  740. cache_file=/dev/null
  741. exec_prefix=NONE
  742. no_create=
  743. no_recursion=
  744. prefix=NONE
  745. program_prefix=NONE
  746. program_suffix=NONE
  747. program_transform_name=s,x,x,
  748. silent=
  749. site=
  750. srcdir=
  751. verbose=
  752. x_includes=NONE
  753. x_libraries=NONE
  754.  
  755. # Installation directory options.
  756. # These are left unexpanded so users can "make install exec_prefix=/foo"
  757. # and all the variables that are supposed to be based on exec_prefix
  758. # by default will actually change.
  759. # Use braces instead of parens because sh, perl, etc. also accept them.
  760. # (The list follows the same order as the GNU Coding Standards.)
  761. bindir='${exec_prefix}/bin'
  762. sbindir='${exec_prefix}/sbin'
  763. libexecdir='${exec_prefix}/libexec'
  764. datarootdir='${prefix}/share'
  765. datadir='${datarootdir}'
  766. sysconfdir='${prefix}/etc'
  767. sharedstatedir='${prefix}/com'
  768. localstatedir='${prefix}/var'
  769. includedir='${prefix}/include'
  770. oldincludedir='/usr/include'
  771. docdir='${datarootdir}/doc/${PACKAGE}'
  772. infodir='${datarootdir}/info'
  773. htmldir='${docdir}'
  774. dvidir='${docdir}'
  775. pdfdir='${docdir}'
  776. psdir='${docdir}'
  777. libdir='${exec_prefix}/lib'
  778. localedir='${datarootdir}/locale'
  779. mandir='${datarootdir}/man'
  780.  
  781. ac_prev=
  782. ac_dashdash=
  783. for ac_option
  784. do
  785.   # If the previous option needs an argument, assign it.
  786.   if test -n "$ac_prev"; then
  787.     eval $ac_prev=\$ac_option
  788.     ac_prev=
  789.     continue
  790.   fi
  791.  
  792.   case $ac_option in
  793.   *=*)    ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  794.   *)    ac_optarg=yes ;;
  795.   esac
  796.  
  797.   # Accept the important Cygnus configure options, so we can diagnose typos.
  798.  
  799.   case $ac_dashdash$ac_option in
  800.   --)
  801.     ac_dashdash=yes ;;
  802.  
  803.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  804.     ac_prev=bindir ;;
  805.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  806.     bindir=$ac_optarg ;;
  807.  
  808.   -build | --build | --buil | --bui | --bu)
  809.     ac_prev=build_alias ;;
  810.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  811.     build_alias=$ac_optarg ;;
  812.  
  813.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  814.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  815.     ac_prev=cache_file ;;
  816.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  817.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  818.     cache_file=$ac_optarg ;;
  819.  
  820.   --config-cache | -C)
  821.     cache_file=config.cache ;;
  822.  
  823.   -datadir | --datadir | --datadi | --datad)
  824.     ac_prev=datadir ;;
  825.   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  826.     datadir=$ac_optarg ;;
  827.  
  828.   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  829.   | --dataroo | --dataro | --datar)
  830.     ac_prev=datarootdir ;;
  831.   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  832.   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  833.     datarootdir=$ac_optarg ;;
  834.  
  835.   -disable-* | --disable-*)
  836.     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  837.     # Reject names that are not valid shell variable names.
  838.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  839.       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  840.    { (exit 1); exit 1; }; }
  841.     ac_useropt_orig=$ac_useropt
  842.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  843.     case $ac_user_opts in
  844.       *"
  845. "enable_$ac_useropt"
  846. "*) ;;
  847.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  848.      ac_unrecognized_sep=', ';;
  849.     esac
  850.     eval enable_$ac_useropt=no ;;
  851.  
  852.   -docdir | --docdir | --docdi | --doc | --do)
  853.     ac_prev=docdir ;;
  854.   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  855.     docdir=$ac_optarg ;;
  856.  
  857.   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  858.     ac_prev=dvidir ;;
  859.   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  860.     dvidir=$ac_optarg ;;
  861.  
  862.   -enable-* | --enable-*)
  863.     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  864.     # Reject names that are not valid shell variable names.
  865.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  866.       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  867.    { (exit 1); exit 1; }; }
  868.     ac_useropt_orig=$ac_useropt
  869.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  870.     case $ac_user_opts in
  871.       *"
  872. "enable_$ac_useropt"
  873. "*) ;;
  874.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  875.      ac_unrecognized_sep=', ';;
  876.     esac
  877.     eval enable_$ac_useropt=\$ac_optarg ;;
  878.  
  879.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  880.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  881.   | --exec | --exe | --ex)
  882.     ac_prev=exec_prefix ;;
  883.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  884.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  885.   | --exec=* | --exe=* | --ex=*)
  886.     exec_prefix=$ac_optarg ;;
  887.  
  888.   -gas | --gas | --ga | --g)
  889.     # Obsolete; use --with-gas.
  890.     with_gas=yes ;;
  891.  
  892.   -help | --help | --hel | --he | -h)
  893.     ac_init_help=long ;;
  894.   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  895.     ac_init_help=recursive ;;
  896.   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  897.     ac_init_help=short ;;
  898.  
  899.   -host | --host | --hos | --ho)
  900.     ac_prev=host_alias ;;
  901.   -host=* | --host=* | --hos=* | --ho=*)
  902.     host_alias=$ac_optarg ;;
  903.  
  904.   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  905.     ac_prev=htmldir ;;
  906.   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  907.   | --ht=*)
  908.     htmldir=$ac_optarg ;;
  909.  
  910.   -includedir | --includedir | --includedi | --included | --include \
  911.   | --includ | --inclu | --incl | --inc)
  912.     ac_prev=includedir ;;
  913.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  914.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  915.     includedir=$ac_optarg ;;
  916.  
  917.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  918.     ac_prev=infodir ;;
  919.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  920.     infodir=$ac_optarg ;;
  921.  
  922.   -libdir | --libdir | --libdi | --libd)
  923.     ac_prev=libdir ;;
  924.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  925.     libdir=$ac_optarg ;;
  926.  
  927.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  928.   | --libexe | --libex | --libe)
  929.     ac_prev=libexecdir ;;
  930.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  931.   | --libexe=* | --libex=* | --libe=*)
  932.     libexecdir=$ac_optarg ;;
  933.  
  934.   -localedir | --localedir | --localedi | --localed | --locale)
  935.     ac_prev=localedir ;;
  936.   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  937.     localedir=$ac_optarg ;;
  938.  
  939.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  940.   | --localstate | --localstat | --localsta | --localst | --locals)
  941.     ac_prev=localstatedir ;;
  942.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  943.   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  944.     localstatedir=$ac_optarg ;;
  945.  
  946.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  947.     ac_prev=mandir ;;
  948.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  949.     mandir=$ac_optarg ;;
  950.  
  951.   -nfp | --nfp | --nf)
  952.     # Obsolete; use --without-fp.
  953.     with_fp=no ;;
  954.  
  955.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  956.   | --no-cr | --no-c | -n)
  957.     no_create=yes ;;
  958.  
  959.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  960.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  961.     no_recursion=yes ;;
  962.  
  963.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  964.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  965.   | --oldin | --oldi | --old | --ol | --o)
  966.     ac_prev=oldincludedir ;;
  967.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  968.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  969.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  970.     oldincludedir=$ac_optarg ;;
  971.  
  972.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  973.     ac_prev=prefix ;;
  974.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  975.     prefix=$ac_optarg ;;
  976.  
  977.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  978.   | --program-pre | --program-pr | --program-p)
  979.     ac_prev=program_prefix ;;
  980.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  981.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  982.     program_prefix=$ac_optarg ;;
  983.  
  984.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  985.   | --program-suf | --program-su | --program-s)
  986.     ac_prev=program_suffix ;;
  987.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  988.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  989.     program_suffix=$ac_optarg ;;
  990.  
  991.   -program-transform-name | --program-transform-name \
  992.   | --program-transform-nam | --program-transform-na \
  993.   | --program-transform-n | --program-transform- \
  994.   | --program-transform | --program-transfor \
  995.   | --program-transfo | --program-transf \
  996.   | --program-trans | --program-tran \
  997.   | --progr-tra | --program-tr | --program-t)
  998.     ac_prev=program_transform_name ;;
  999.   -program-transform-name=* | --program-transform-name=* \
  1000.   | --program-transform-nam=* | --program-transform-na=* \
  1001.   | --program-transform-n=* | --program-transform-=* \
  1002.   | --program-transform=* | --program-transfor=* \
  1003.   | --program-transfo=* | --program-transf=* \
  1004.   | --program-trans=* | --program-tran=* \
  1005.   | --progr-tra=* | --program-tr=* | --program-t=*)
  1006.     program_transform_name=$ac_optarg ;;
  1007.  
  1008.   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1009.     ac_prev=pdfdir ;;
  1010.   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1011.     pdfdir=$ac_optarg ;;
  1012.  
  1013.   -psdir | --psdir | --psdi | --psd | --ps)
  1014.     ac_prev=psdir ;;
  1015.   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1016.     psdir=$ac_optarg ;;
  1017.  
  1018.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1019.   | -silent | --silent | --silen | --sile | --sil)
  1020.     silent=yes ;;
  1021.  
  1022.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1023.     ac_prev=sbindir ;;
  1024.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1025.   | --sbi=* | --sb=*)
  1026.     sbindir=$ac_optarg ;;
  1027.  
  1028.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1029.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1030.   | --sharedst | --shareds | --shared | --share | --shar \
  1031.   | --sha | --sh)
  1032.     ac_prev=sharedstatedir ;;
  1033.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1034.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1035.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1036.   | --sha=* | --sh=*)
  1037.     sharedstatedir=$ac_optarg ;;
  1038.  
  1039.   -site | --site | --sit)
  1040.     ac_prev=site ;;
  1041.   -site=* | --site=* | --sit=*)
  1042.     site=$ac_optarg ;;
  1043.  
  1044.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1045.     ac_prev=srcdir ;;
  1046.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1047.     srcdir=$ac_optarg ;;
  1048.  
  1049.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1050.   | --syscon | --sysco | --sysc | --sys | --sy)
  1051.     ac_prev=sysconfdir ;;
  1052.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1053.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1054.     sysconfdir=$ac_optarg ;;
  1055.  
  1056.   -target | --target | --targe | --targ | --tar | --ta | --t)
  1057.     ac_prev=target_alias ;;
  1058.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1059.     target_alias=$ac_optarg ;;
  1060.  
  1061.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1062.     verbose=yes ;;
  1063.  
  1064.   -version | --version | --versio | --versi | --vers | -V)
  1065.     ac_init_version=: ;;
  1066.  
  1067.   -with-* | --with-*)
  1068.     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1069.     # Reject names that are not valid shell variable names.
  1070.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1071.       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1072.    { (exit 1); exit 1; }; }
  1073.     ac_useropt_orig=$ac_useropt
  1074.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1075.     case $ac_user_opts in
  1076.       *"
  1077. "with_$ac_useropt"
  1078. "*) ;;
  1079.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1080.      ac_unrecognized_sep=', ';;
  1081.     esac
  1082.     eval with_$ac_useropt=\$ac_optarg ;;
  1083.  
  1084.   -without-* | --without-*)
  1085.     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1086.     # Reject names that are not valid shell variable names.
  1087.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1088.       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1089.    { (exit 1); exit 1; }; }
  1090.     ac_useropt_orig=$ac_useropt
  1091.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1092.     case $ac_user_opts in
  1093.       *"
  1094. "with_$ac_useropt"
  1095. "*) ;;
  1096.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1097.      ac_unrecognized_sep=', ';;
  1098.     esac
  1099.     eval with_$ac_useropt=no ;;
  1100.  
  1101.   --x)
  1102.     # Obsolete; use --with-x.
  1103.     with_x=yes ;;
  1104.  
  1105.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1106.   | --x-incl | --x-inc | --x-in | --x-i)
  1107.     ac_prev=x_includes ;;
  1108.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1109.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1110.     x_includes=$ac_optarg ;;
  1111.  
  1112.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1113.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1114.     ac_prev=x_libraries ;;
  1115.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1116.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1117.     x_libraries=$ac_optarg ;;
  1118.  
  1119.   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1120. Try \`$0 --help' for more information." >&2
  1121.    { (exit 1); exit 1; }; }
  1122.     ;;
  1123.  
  1124.   *=*)
  1125.     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1126.     # Reject names that are not valid shell variable names.
  1127.     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1128.       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1129.    { (exit 1); exit 1; }; }
  1130.     eval $ac_envvar=\$ac_optarg
  1131.     export $ac_envvar ;;
  1132.  
  1133.   *)
  1134.     # FIXME: should be removed in autoconf 3.0.
  1135.     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1136.     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1137.       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1138.     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1139.     ;;
  1140.  
  1141.   esac
  1142. done
  1143.  
  1144. if test -n "$ac_prev"; then
  1145.   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1146.   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1147.    { (exit 1); exit 1; }; }
  1148. fi
  1149.  
  1150. if test -n "$ac_unrecognized_opts"; then
  1151.   case $enable_option_checking in
  1152.     no) ;;
  1153.     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
  1154.    { (exit 1); exit 1; }; } ;;
  1155.     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1156.   esac
  1157. fi
  1158.  
  1159. # Check all directory arguments for consistency.
  1160. for ac_var in    exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1161.         datadir sysconfdir sharedstatedir localstatedir includedir \
  1162.         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1163.         libdir localedir mandir
  1164. do
  1165.   eval ac_val=\$$ac_var
  1166.   # Remove trailing slashes.
  1167.   case $ac_val in
  1168.     */ )
  1169.       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1170.       eval $ac_var=\$ac_val;;
  1171.   esac
  1172.   # Be sure to have absolute directory names.
  1173.   case $ac_val in
  1174.     [\\/$]* | ?:[\\/]* )  continue;;
  1175.     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1176.   esac
  1177.   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1178.    { (exit 1); exit 1; }; }
  1179. done
  1180.  
  1181. # There might be people who depend on the old broken behavior: `$host'
  1182. # used to hold the argument of --host etc.
  1183. # FIXME: To remove some day.
  1184. build=$build_alias
  1185. host=$host_alias
  1186. target=$target_alias
  1187.  
  1188. # FIXME: To remove some day.
  1189. if test "x$host_alias" != x; then
  1190.   if test "x$build_alias" = x; then
  1191.     cross_compiling=maybe
  1192.     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1193.     If a cross compiler is detected then cross compile mode will be used." >&2
  1194.   elif test "x$build_alias" != "x$host_alias"; then
  1195.     cross_compiling=yes
  1196.   fi
  1197. fi
  1198.  
  1199. ac_tool_prefix=
  1200. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1201.  
  1202. test "$silent" = yes && exec 6>/dev/null
  1203.  
  1204.  
  1205. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1206. ac_ls_di=`ls -di .` &&
  1207. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1208.   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
  1209.    { (exit 1); exit 1; }; }
  1210. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1211.   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1212.    { (exit 1); exit 1; }; }
  1213.  
  1214.  
  1215. # Find the source files, if location was not specified.
  1216. if test -z "$srcdir"; then
  1217.   ac_srcdir_defaulted=yes
  1218.   # Try the directory containing this script, then the parent directory.
  1219.   ac_confdir=`$as_dirname -- "$as_myself" ||
  1220. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1221.      X"$as_myself" : 'X\(//\)[^/]' \| \
  1222.      X"$as_myself" : 'X\(//\)$' \| \
  1223.      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1224. $as_echo X"$as_myself" |
  1225.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1226.         s//\1/
  1227.         q
  1228.       }
  1229.       /^X\(\/\/\)[^/].*/{
  1230.         s//\1/
  1231.         q
  1232.       }
  1233.       /^X\(\/\/\)$/{
  1234.         s//\1/
  1235.         q
  1236.       }
  1237.       /^X\(\/\).*/{
  1238.         s//\1/
  1239.         q
  1240.       }
  1241.       s/.*/./; q'`
  1242.   srcdir=$ac_confdir
  1243.   if test ! -r "$srcdir/$ac_unique_file"; then
  1244.     srcdir=..
  1245.   fi
  1246. else
  1247.   ac_srcdir_defaulted=no
  1248. fi
  1249. if test ! -r "$srcdir/$ac_unique_file"; then
  1250.   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1251.   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1252.    { (exit 1); exit 1; }; }
  1253. fi
  1254. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1255. ac_abs_confdir=`(
  1256.     cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1257.    { (exit 1); exit 1; }; }
  1258.     pwd)`
  1259. # When building in place, set srcdir=.
  1260. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1261.   srcdir=.
  1262. fi
  1263. # Remove unnecessary trailing slashes from srcdir.
  1264. # Double slashes in file names in object file debugging info
  1265. # mess up M-x gdb in Emacs.
  1266. case $srcdir in
  1267. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1268. esac
  1269. for ac_var in $ac_precious_vars; do
  1270.   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1271.   eval ac_env_${ac_var}_value=\$${ac_var}
  1272.   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1273.   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1274. done
  1275.  
  1276. #
  1277. # Report the --help message.
  1278. #
  1279. if test "$ac_init_help" = "long"; then
  1280.   # Omit some internal or obsolete options to make the list less imposing.
  1281.   # This message is too long to be a string in the A/UX 3.1 sh.
  1282.   cat <<_ACEOF
  1283. \`configure' configures this package to adapt to many kinds of systems.
  1284.  
  1285. Usage: $0 [OPTION]... [VAR=VALUE]...
  1286.  
  1287. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1288. VAR=VALUE.  See below for descriptions of some of the useful variables.
  1289.  
  1290. Defaults for the options are specified in brackets.
  1291.  
  1292. Configuration:
  1293.   -h, --help              display this help and exit
  1294.       --help=short        display options specific to this package
  1295.       --help=recursive    display the short help of all the included packages
  1296.   -V, --version           display version information and exit
  1297.   -q, --quiet, --silent   do not print \`checking...' messages
  1298.       --cache-file=FILE   cache test results in FILE [disabled]
  1299.   -C, --config-cache      alias for \`--cache-file=config.cache'
  1300.   -n, --no-create         do not create output files
  1301.       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1302.  
  1303. Installation directories:
  1304.   --prefix=PREFIX         install architecture-independent files in PREFIX
  1305.                           [$ac_default_prefix]
  1306.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1307.                           [PREFIX]
  1308.  
  1309. By default, \`make install' will install all the files in
  1310. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1311. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1312. for instance \`--prefix=\$HOME'.
  1313.  
  1314. For better control, use the options below.
  1315.  
  1316. Fine tuning of the installation directories:
  1317.   --bindir=DIR            user executables [EPREFIX/bin]
  1318.   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1319.   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1320.   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1321.   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1322.   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1323.   --libdir=DIR            object code libraries [EPREFIX/lib]
  1324.   --includedir=DIR        C header files [PREFIX/include]
  1325.   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1326.   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1327.   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1328.   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1329.   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1330.   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1331.   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1332.   --htmldir=DIR           html documentation [DOCDIR]
  1333.   --dvidir=DIR            dvi documentation [DOCDIR]
  1334.   --pdfdir=DIR            pdf documentation [DOCDIR]
  1335.   --psdir=DIR             ps documentation [DOCDIR]
  1336. _ACEOF
  1337.  
  1338.   cat <<\_ACEOF
  1339.  
  1340. System types:
  1341.   --build=BUILD     configure for building on BUILD [guessed]
  1342.   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1343.   --target=TARGET   configure for building compilers for TARGET [HOST]
  1344. _ACEOF
  1345. fi
  1346.  
  1347. if test -n "$ac_init_help"; then
  1348.  
  1349.   cat <<\_ACEOF
  1350.  
  1351. Optional Features:
  1352.   --disable-option-checking  ignore unrecognized --enable/--with options
  1353.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1354.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1355.   --disable-optimization  turn off gcc optimization
  1356.   --disable-largefile     omit support for large files
  1357.  
  1358. Optional Packages:
  1359.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1360.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1361.   --without-gcc           don't use gcc
  1362.   --without-flex          don't use flex
  1363.   --without-bison         don't use bison
  1364.  
  1365. Some influential environment variables:
  1366.   CC          C compiler command
  1367.   CFLAGS      C compiler flags
  1368.   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1369.               nonstandard directory <lib dir>
  1370.   LIBS        libraries to pass to the linker, e.g. -l<library>
  1371.   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1372.               you have headers in a nonstandard directory <include dir>
  1373.   CPP         C preprocessor
  1374.  
  1375. Use these variables to override the choices made by `configure' or to help
  1376. it to find libraries and programs with nonstandard names/locations.
  1377.  
  1378. _ACEOF
  1379. ac_status=$?
  1380. fi
  1381.  
  1382. if test "$ac_init_help" = "recursive"; then
  1383.   # If there are subdirs, report their specific --help.
  1384.   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1385.     test -d "$ac_dir" ||
  1386.       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1387.       continue
  1388.     ac_builddir=.
  1389.  
  1390. case "$ac_dir" in
  1391. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1392. *)
  1393.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1394.   # A ".." for each directory in $ac_dir_suffix.
  1395.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1396.   case $ac_top_builddir_sub in
  1397.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1398.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1399.   esac ;;
  1400. esac
  1401. ac_abs_top_builddir=$ac_pwd
  1402. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1403. # for backward compatibility:
  1404. ac_top_builddir=$ac_top_build_prefix
  1405.  
  1406. case $srcdir in
  1407.   .)  # We are building in place.
  1408.     ac_srcdir=.
  1409.     ac_top_srcdir=$ac_top_builddir_sub
  1410.     ac_abs_top_srcdir=$ac_pwd ;;
  1411.   [\\/]* | ?:[\\/]* )  # Absolute name.
  1412.     ac_srcdir=$srcdir$ac_dir_suffix;
  1413.     ac_top_srcdir=$srcdir
  1414.     ac_abs_top_srcdir=$srcdir ;;
  1415.   *) # Relative name.
  1416.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1417.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1418.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1419. esac
  1420. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1421.  
  1422.     cd "$ac_dir" || { ac_status=$?; continue; }
  1423.     # Check for guested configure.
  1424.     if test -f "$ac_srcdir/configure.gnu"; then
  1425.       echo &&
  1426.       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1427.     elif test -f "$ac_srcdir/configure"; then
  1428.       echo &&
  1429.       $SHELL "$ac_srcdir/configure" --help=recursive
  1430.     else
  1431.       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1432.     fi || ac_status=$?
  1433.     cd "$ac_pwd" || { ac_status=$?; break; }
  1434.   done
  1435. fi
  1436.  
  1437. test -n "$ac_init_help" && exit $ac_status
  1438. if $ac_init_version; then
  1439.   cat <<\_ACEOF
  1440. configure
  1441. generated by GNU Autoconf 2.62
  1442.  
  1443. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1444. 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1445. This configure script is free software; the Free Software Foundation
  1446. gives unlimited permission to copy, distribute and modify it.
  1447.  
  1448. Copyright (c) 1996, 1998, 1999, 2000, 2001, 2002, 2004, 2009
  1449.     The Regents of the University of California.  All rights reserved.
  1450. _ACEOF
  1451.   exit
  1452. fi
  1453. cat >config.log <<_ACEOF
  1454. This file contains any messages produced by compilers while
  1455. running configure, to aid debugging if configure makes a mistake.
  1456.  
  1457. It was created by $as_me, which was
  1458. generated by GNU Autoconf 2.62.  Invocation command line was
  1459.  
  1460.   $ $0 $@
  1461.  
  1462. _ACEOF
  1463. exec 5>>config.log
  1464. {
  1465. cat <<_ASUNAME
  1466. ## --------- ##
  1467. ## Platform. ##
  1468. ## --------- ##
  1469.  
  1470. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1471. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1472. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1473. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1474. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1475.  
  1476. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1477. /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1478.  
  1479. /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1480. /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1481. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1482. /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1483. /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1484. /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1485. /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1486.  
  1487. _ASUNAME
  1488.  
  1489. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1490. for as_dir in $PATH
  1491. do
  1492.   IFS=$as_save_IFS
  1493.   test -z "$as_dir" && as_dir=.
  1494.   $as_echo "PATH: $as_dir"
  1495. done
  1496. IFS=$as_save_IFS
  1497.  
  1498. } >&5
  1499.  
  1500. cat >&5 <<_ACEOF
  1501.  
  1502.  
  1503. ## ----------- ##
  1504. ## Core tests. ##
  1505. ## ----------- ##
  1506.  
  1507. _ACEOF
  1508.  
  1509.  
  1510. # Keep a trace of the command line.
  1511. # Strip out --no-create and --no-recursion so they do not pile up.
  1512. # Strip out --silent because we don't want to record it for future runs.
  1513. # Also quote any args containing shell meta-characters.
  1514. # Make two passes to allow for proper duplicate-argument suppression.
  1515. ac_configure_args=
  1516. ac_configure_args0=
  1517. ac_configure_args1=
  1518. ac_must_keep_next=false
  1519. for ac_pass in 1 2
  1520. do
  1521.   for ac_arg
  1522.   do
  1523.     case $ac_arg in
  1524.     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1525.     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1526.     | -silent | --silent | --silen | --sile | --sil)
  1527.       continue ;;
  1528.     *\'*)
  1529.       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1530.     esac
  1531.     case $ac_pass in
  1532.     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1533.     2)
  1534.       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1535.       if test $ac_must_keep_next = true; then
  1536.     ac_must_keep_next=false # Got value, back to normal.
  1537.       else
  1538.     case $ac_arg in
  1539.       *=* | --config-cache | -C | -disable-* | --disable-* \
  1540.       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1541.       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1542.       | -with-* | --with-* | -without-* | --without-* | --x)
  1543.         case "$ac_configure_args0 " in
  1544.           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1545.         esac
  1546.         ;;
  1547.       -* ) ac_must_keep_next=true ;;
  1548.     esac
  1549.       fi
  1550.       ac_configure_args="$ac_configure_args '$ac_arg'"
  1551.       ;;
  1552.     esac
  1553.   done
  1554. done
  1555. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1556. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1557.  
  1558. # When interrupted or exit'd, cleanup temporary files, and complete
  1559. # config.log.  We remove comments because anyway the quotes in there
  1560. # would cause problems or look ugly.
  1561. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1562. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1563. trap 'exit_status=$?
  1564.   # Save into config.log some information that might help in debugging.
  1565.   {
  1566.     echo
  1567.  
  1568.     cat <<\_ASBOX
  1569. ## ---------------- ##
  1570. ## Cache variables. ##
  1571. ## ---------------- ##
  1572. _ASBOX
  1573.     echo
  1574.     # The following way of writing the cache mishandles newlines in values,
  1575. (
  1576.   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1577.     eval ac_val=\$$ac_var
  1578.     case $ac_val in #(
  1579.     *${as_nl}*)
  1580.       case $ac_var in #(
  1581.       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1582. $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1583.       esac
  1584.       case $ac_var in #(
  1585.       _ | IFS | as_nl) ;; #(
  1586.       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1587.       *) $as_unset $ac_var ;;
  1588.       esac ;;
  1589.     esac
  1590.   done
  1591.   (set) 2>&1 |
  1592.     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1593.     *${as_nl}ac_space=\ *)
  1594.       sed -n \
  1595.     "s/'\''/'\''\\\\'\'''\''/g;
  1596.       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1597.       ;; #(
  1598.     *)
  1599.       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1600.       ;;
  1601.     esac |
  1602.     sort
  1603. )
  1604.     echo
  1605.  
  1606.     cat <<\_ASBOX
  1607. ## ----------------- ##
  1608. ## Output variables. ##
  1609. ## ----------------- ##
  1610. _ASBOX
  1611.     echo
  1612.     for ac_var in $ac_subst_vars
  1613.     do
  1614.       eval ac_val=\$$ac_var
  1615.       case $ac_val in
  1616.       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1617.       esac
  1618.       $as_echo "$ac_var='\''$ac_val'\''"
  1619.     done | sort
  1620.     echo
  1621.  
  1622.     if test -n "$ac_subst_files"; then
  1623.       cat <<\_ASBOX
  1624. ## ------------------- ##
  1625. ## File substitutions. ##
  1626. ## ------------------- ##
  1627. _ASBOX
  1628.       echo
  1629.       for ac_var in $ac_subst_files
  1630.       do
  1631.     eval ac_val=\$$ac_var
  1632.     case $ac_val in
  1633.     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1634.     esac
  1635.     $as_echo "$ac_var='\''$ac_val'\''"
  1636.       done | sort
  1637.       echo
  1638.     fi
  1639.  
  1640.     if test -s confdefs.h; then
  1641.       cat <<\_ASBOX
  1642. ## ----------- ##
  1643. ## confdefs.h. ##
  1644. ## ----------- ##
  1645. _ASBOX
  1646.       echo
  1647.       cat confdefs.h
  1648.       echo
  1649.     fi
  1650.     test "$ac_signal" != 0 &&
  1651.       $as_echo "$as_me: caught signal $ac_signal"
  1652.     $as_echo "$as_me: exit $exit_status"
  1653.   } >&5
  1654.   rm -f core *.core core.conftest.* &&
  1655.     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1656.     exit $exit_status
  1657. ' 0
  1658. for ac_signal in 1 2 13 15; do
  1659.   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1660. done
  1661. ac_signal=0
  1662.  
  1663. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1664. rm -f -r conftest* confdefs.h
  1665.  
  1666. # Predefined preprocessor variables.
  1667.  
  1668. cat >>confdefs.h <<_ACEOF
  1669. #define PACKAGE_NAME "$PACKAGE_NAME"
  1670. _ACEOF
  1671.  
  1672.  
  1673. cat >>confdefs.h <<_ACEOF
  1674. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1675. _ACEOF
  1676.  
  1677.  
  1678. cat >>confdefs.h <<_ACEOF
  1679. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1680. _ACEOF
  1681.  
  1682.  
  1683. cat >>confdefs.h <<_ACEOF
  1684. #define PACKAGE_STRING "$PACKAGE_STRING"
  1685. _ACEOF
  1686.  
  1687.  
  1688. cat >>confdefs.h <<_ACEOF
  1689. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1690. _ACEOF
  1691.  
  1692.  
  1693. # Let the site file select an alternate cache file if it wants to.
  1694. # Prefer an explicitly selected file to automatically selected ones.
  1695. ac_site_file1=NONE
  1696. ac_site_file2=NONE
  1697. if test -n "$CONFIG_SITE"; then
  1698.   ac_site_file1=$CONFIG_SITE
  1699. elif test "x$prefix" != xNONE; then
  1700.   ac_site_file1=$prefix/share/config.site
  1701.   ac_site_file2=$prefix/etc/config.site
  1702. else
  1703.   ac_site_file1=$ac_default_prefix/share/config.site
  1704.   ac_site_file2=$ac_default_prefix/etc/config.site
  1705. fi
  1706. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1707. do
  1708.   test "x$ac_site_file" = xNONE && continue
  1709.   if test -r "$ac_site_file"; then
  1710.     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1711. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1712.     sed 's/^/| /' "$ac_site_file" >&5
  1713.     . "$ac_site_file"
  1714.   fi
  1715. done
  1716.  
  1717. if test -r "$cache_file"; then
  1718.   # Some versions of bash will fail to source /dev/null (special
  1719.   # files actually), so we avoid doing that.
  1720.   if test -f "$cache_file"; then
  1721.     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1722. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1723.     case $cache_file in
  1724.       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1725.       *)                      . "./$cache_file";;
  1726.     esac
  1727.   fi
  1728. else
  1729.   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1730. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1731.   >$cache_file
  1732. fi
  1733.  
  1734. # Check that the precious variables saved in the cache have kept the same
  1735. # value.
  1736. ac_cache_corrupted=false
  1737. for ac_var in $ac_precious_vars; do
  1738.   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1739.   eval ac_new_set=\$ac_env_${ac_var}_set
  1740.   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1741.   eval ac_new_val=\$ac_env_${ac_var}_value
  1742.   case $ac_old_set,$ac_new_set in
  1743.     set,)
  1744.       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1745. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1746.       ac_cache_corrupted=: ;;
  1747.     ,set)
  1748.       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1749. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1750.       ac_cache_corrupted=: ;;
  1751.     ,);;
  1752.     *)
  1753.       if test "x$ac_old_val" != "x$ac_new_val"; then
  1754.     # differences in whitespace do not lead to failure.
  1755.     ac_old_val_w=`echo x $ac_old_val`
  1756.     ac_new_val_w=`echo x $ac_new_val`
  1757.     if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1758.       { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1759. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1760.       ac_cache_corrupted=:
  1761.     else
  1762.       { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1763. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1764.       eval $ac_var=\$ac_old_val
  1765.     fi
  1766.     { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  1767. $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1768.     { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  1769. $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1770.       fi;;
  1771.   esac
  1772.   # Pass precious variables to config.status.
  1773.   if test "$ac_new_set" = set; then
  1774.     case $ac_new_val in
  1775.     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1776.     *) ac_arg=$ac_var=$ac_new_val ;;
  1777.     esac
  1778.     case " $ac_configure_args " in
  1779.       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1780.       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1781.     esac
  1782.   fi
  1783. done
  1784. if $ac_cache_corrupted; then
  1785.   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1786. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1787.   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1788. $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1789.    { (exit 1); exit 1; }; }
  1790. fi
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808. ac_ext=c
  1809. ac_cpp='$CPP $CPPFLAGS'
  1810. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1811. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1812. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1813.  
  1814.  
  1815.  
  1816.  
  1817. ac_aux_dir=
  1818. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1819.   if test -f "$ac_dir/install-sh"; then
  1820.     ac_aux_dir=$ac_dir
  1821.     ac_install_sh="$ac_aux_dir/install-sh -c"
  1822.     break
  1823.   elif test -f "$ac_dir/install.sh"; then
  1824.     ac_aux_dir=$ac_dir
  1825.     ac_install_sh="$ac_aux_dir/install.sh -c"
  1826.     break
  1827.   elif test -f "$ac_dir/shtool"; then
  1828.     ac_aux_dir=$ac_dir
  1829.     ac_install_sh="$ac_aux_dir/shtool install -c"
  1830.     break
  1831.   fi
  1832. done
  1833. if test -z "$ac_aux_dir"; then
  1834.   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1835. $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1836.    { (exit 1); exit 1; }; }
  1837. fi
  1838.  
  1839. # These three variables are undocumented and unsupported,
  1840. # and are intended to be withdrawn in a future Autoconf release.
  1841. # They can cause serious problems if a builder's source tree is in a directory
  1842. # whose full name contains unusual characters.
  1843. ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1844. ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1845. ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1846.  
  1847.  
  1848. # Make sure we can run config.sub.
  1849. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1850.   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  1851. $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  1852.    { (exit 1); exit 1; }; }
  1853.  
  1854. { $as_echo "$as_me:$LINENO: checking build system type" >&5
  1855. $as_echo_n "checking build system type... " >&6; }
  1856. if test "${ac_cv_build+set}" = set; then
  1857.   $as_echo_n "(cached) " >&6
  1858. else
  1859.   ac_build_alias=$build_alias
  1860. test "x$ac_build_alias" = x &&
  1861.   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1862. test "x$ac_build_alias" = x &&
  1863.   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1864. $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1865.    { (exit 1); exit 1; }; }
  1866. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1867.   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  1868. $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  1869.    { (exit 1); exit 1; }; }
  1870.  
  1871. fi
  1872. { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1873. $as_echo "$ac_cv_build" >&6; }
  1874. case $ac_cv_build in
  1875. *-*-*) ;;
  1876. *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  1877. $as_echo "$as_me: error: invalid value of canonical build" >&2;}
  1878.    { (exit 1); exit 1; }; };;
  1879. esac
  1880. build=$ac_cv_build
  1881. ac_save_IFS=$IFS; IFS='-'
  1882. set x $ac_cv_build
  1883. shift
  1884. build_cpu=$1
  1885. build_vendor=$2
  1886. shift; shift
  1887. # Remember, the first character of IFS is used to create $*,
  1888. # except with old shells:
  1889. build_os=$*
  1890. IFS=$ac_save_IFS
  1891. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1892.  
  1893.  
  1894. { $as_echo "$as_me:$LINENO: checking host system type" >&5
  1895. $as_echo_n "checking host system type... " >&6; }
  1896. if test "${ac_cv_host+set}" = set; then
  1897.   $as_echo_n "(cached) " >&6
  1898. else
  1899.   if test "x$host_alias" = x; then
  1900.   ac_cv_host=$ac_cv_build
  1901. else
  1902.   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1903.     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  1904. $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  1905.    { (exit 1); exit 1; }; }
  1906. fi
  1907.  
  1908. fi
  1909. { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1910. $as_echo "$ac_cv_host" >&6; }
  1911. case $ac_cv_host in
  1912. *-*-*) ;;
  1913. *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  1914. $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  1915.    { (exit 1); exit 1; }; };;
  1916. esac
  1917. host=$ac_cv_host
  1918. ac_save_IFS=$IFS; IFS='-'
  1919. set x $ac_cv_host
  1920. shift
  1921. host_cpu=$1
  1922. host_vendor=$2
  1923. shift; shift
  1924. # Remember, the first character of IFS is used to create $*,
  1925. # except with old shells:
  1926. host_os=$*
  1927. IFS=$ac_save_IFS
  1928. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  1929.  
  1930.  
  1931. { $as_echo "$as_me:$LINENO: checking target system type" >&5
  1932. $as_echo_n "checking target system type... " >&6; }
  1933. if test "${ac_cv_target+set}" = set; then
  1934.   $as_echo_n "(cached) " >&6
  1935. else
  1936.   if test "x$target_alias" = x; then
  1937.   ac_cv_target=$ac_cv_host
  1938. else
  1939.   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  1940.     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
  1941. $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
  1942.    { (exit 1); exit 1; }; }
  1943. fi
  1944.  
  1945. fi
  1946. { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
  1947. $as_echo "$ac_cv_target" >&6; }
  1948. case $ac_cv_target in
  1949. *-*-*) ;;
  1950. *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
  1951. $as_echo "$as_me: error: invalid value of canonical target" >&2;}
  1952.    { (exit 1); exit 1; }; };;
  1953. esac
  1954. target=$ac_cv_target
  1955. ac_save_IFS=$IFS; IFS='-'
  1956. set x $ac_cv_target
  1957. shift
  1958. target_cpu=$1
  1959. target_vendor=$2
  1960. shift; shift
  1961. # Remember, the first character of IFS is used to create $*,
  1962. # except with old shells:
  1963. target_os=$*
  1964. IFS=$ac_save_IFS
  1965. case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  1966.  
  1967.  
  1968. # The aliases save the names the user supplied, while $host etc.
  1969. # will get canonicalized.
  1970. test -n "$target_alias" &&
  1971.   test "$program_prefix$program_suffix$program_transform_name" = \
  1972.     NONENONEs,x,x, &&
  1973.   program_prefix=${target_alias}-
  1974.  
  1975. umask 002
  1976.  
  1977. if test -z "$PWD" ; then
  1978.     PWD=`pwd`
  1979. fi
  1980.  
  1981. ac_ext=c
  1982. ac_cpp='$CPP $CPPFLAGS'
  1983. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1984. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1985. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1986. if test -n "$ac_tool_prefix"; then
  1987.   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1988. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1989. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  1990. $as_echo_n "checking for $ac_word... " >&6; }
  1991. if test "${ac_cv_prog_CC+set}" = set; then
  1992.   $as_echo_n "(cached) " >&6
  1993. else
  1994.   if test -n "$CC"; then
  1995.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1996. else
  1997. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1998. for as_dir in $PATH
  1999. do
  2000.   IFS=$as_save_IFS
  2001.   test -z "$as_dir" && as_dir=.
  2002.   for ac_exec_ext in '' $ac_executable_extensions; do
  2003.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2004.     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2005.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2006.     break 2
  2007.   fi
  2008. done
  2009. done
  2010. IFS=$as_save_IFS
  2011.  
  2012. fi
  2013. fi
  2014. CC=$ac_cv_prog_CC
  2015. if test -n "$CC"; then
  2016.   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2017. $as_echo "$CC" >&6; }
  2018. else
  2019.   { $as_echo "$as_me:$LINENO: result: no" >&5
  2020. $as_echo "no" >&6; }
  2021. fi
  2022.  
  2023.  
  2024. fi
  2025. if test -z "$ac_cv_prog_CC"; then
  2026.   ac_ct_CC=$CC
  2027.   # Extract the first word of "gcc", so it can be a program name with args.
  2028. set dummy gcc; ac_word=$2
  2029. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2030. $as_echo_n "checking for $ac_word... " >&6; }
  2031. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2032.   $as_echo_n "(cached) " >&6
  2033. else
  2034.   if test -n "$ac_ct_CC"; then
  2035.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2036. else
  2037. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2038. for as_dir in $PATH
  2039. do
  2040.   IFS=$as_save_IFS
  2041.   test -z "$as_dir" && as_dir=.
  2042.   for ac_exec_ext in '' $ac_executable_extensions; do
  2043.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2044.     ac_cv_prog_ac_ct_CC="gcc"
  2045.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2046.     break 2
  2047.   fi
  2048. done
  2049. done
  2050. IFS=$as_save_IFS
  2051.  
  2052. fi
  2053. fi
  2054. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2055. if test -n "$ac_ct_CC"; then
  2056.   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2057. $as_echo "$ac_ct_CC" >&6; }
  2058. else
  2059.   { $as_echo "$as_me:$LINENO: result: no" >&5
  2060. $as_echo "no" >&6; }
  2061. fi
  2062.  
  2063.   if test "x$ac_ct_CC" = x; then
  2064.     CC=""
  2065.   else
  2066.     case $cross_compiling:$ac_tool_warned in
  2067. yes:)
  2068. { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2069. whose name does not start with the host triplet.  If you think this
  2070. configuration is useful to you, please write to autoconf@gnu.org." >&5
  2071. $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2072. whose name does not start with the host triplet.  If you think this
  2073. configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2074. ac_tool_warned=yes ;;
  2075. esac
  2076.     CC=$ac_ct_CC
  2077.   fi
  2078. else
  2079.   CC="$ac_cv_prog_CC"
  2080. fi
  2081.  
  2082. if test -z "$CC"; then
  2083.           if test -n "$ac_tool_prefix"; then
  2084.     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2085. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2086. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2087. $as_echo_n "checking for $ac_word... " >&6; }
  2088. if test "${ac_cv_prog_CC+set}" = set; then
  2089.   $as_echo_n "(cached) " >&6
  2090. else
  2091.   if test -n "$CC"; then
  2092.   ac_cv_prog_CC="$CC" # Let the user override the test.
  2093. else
  2094. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2095. for as_dir in $PATH
  2096. do
  2097.   IFS=$as_save_IFS
  2098.   test -z "$as_dir" && as_dir=.
  2099.   for ac_exec_ext in '' $ac_executable_extensions; do
  2100.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2101.     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2102.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2103.     break 2
  2104.   fi
  2105. done
  2106. done
  2107. IFS=$as_save_IFS
  2108.  
  2109. fi
  2110. fi
  2111. CC=$ac_cv_prog_CC
  2112. if test -n "$CC"; then
  2113.   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2114. $as_echo "$CC" >&6; }
  2115. else
  2116.   { $as_echo "$as_me:$LINENO: result: no" >&5
  2117. $as_echo "no" >&6; }
  2118. fi
  2119.  
  2120.  
  2121.   fi
  2122. fi
  2123. if test -z "$CC"; then
  2124.   # Extract the first word of "cc", so it can be a program name with args.
  2125. set dummy cc; ac_word=$2
  2126. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2127. $as_echo_n "checking for $ac_word... " >&6; }
  2128. if test "${ac_cv_prog_CC+set}" = set; then
  2129.   $as_echo_n "(cached) " >&6
  2130. else
  2131.   if test -n "$CC"; then
  2132.   ac_cv_prog_CC="$CC" # Let the user override the test.
  2133. else
  2134.   ac_prog_rejected=no
  2135. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2136. for as_dir in $PATH
  2137. do
  2138.   IFS=$as_save_IFS
  2139.   test -z "$as_dir" && as_dir=.
  2140.   for ac_exec_ext in '' $ac_executable_extensions; do
  2141.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2142.     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2143.        ac_prog_rejected=yes
  2144.        continue
  2145.      fi
  2146.     ac_cv_prog_CC="cc"
  2147.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2148.     break 2
  2149.   fi
  2150. done
  2151. done
  2152. IFS=$as_save_IFS
  2153.  
  2154. if test $ac_prog_rejected = yes; then
  2155.   # We found a bogon in the path, so make sure we never use it.
  2156.   set dummy $ac_cv_prog_CC
  2157.   shift
  2158.   if test $# != 0; then
  2159.     # We chose a different compiler from the bogus one.
  2160.     # However, it has the same basename, so the bogon will be chosen
  2161.     # first if we set CC to just the basename; use the full file name.
  2162.     shift
  2163.     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2164.   fi
  2165. fi
  2166. fi
  2167. fi
  2168. CC=$ac_cv_prog_CC
  2169. if test -n "$CC"; then
  2170.   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2171. $as_echo "$CC" >&6; }
  2172. else
  2173.   { $as_echo "$as_me:$LINENO: result: no" >&5
  2174. $as_echo "no" >&6; }
  2175. fi
  2176.  
  2177.  
  2178. fi
  2179. if test -z "$CC"; then
  2180.   if test -n "$ac_tool_prefix"; then
  2181.   for ac_prog in cl.exe
  2182.   do
  2183.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2184. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2185. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2186. $as_echo_n "checking for $ac_word... " >&6; }
  2187. if test "${ac_cv_prog_CC+set}" = set; then
  2188.   $as_echo_n "(cached) " >&6
  2189. else
  2190.   if test -n "$CC"; then
  2191.   ac_cv_prog_CC="$CC" # Let the user override the test.
  2192. else
  2193. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2194. for as_dir in $PATH
  2195. do
  2196.   IFS=$as_save_IFS
  2197.   test -z "$as_dir" && as_dir=.
  2198.   for ac_exec_ext in '' $ac_executable_extensions; do
  2199.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2200.     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2201.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2202.     break 2
  2203.   fi
  2204. done
  2205. done
  2206. IFS=$as_save_IFS
  2207.  
  2208. fi
  2209. fi
  2210. CC=$ac_cv_prog_CC
  2211. if test -n "$CC"; then
  2212.   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2213. $as_echo "$CC" >&6; }
  2214. else
  2215.   { $as_echo "$as_me:$LINENO: result: no" >&5
  2216. $as_echo "no" >&6; }
  2217. fi
  2218.  
  2219.  
  2220.     test -n "$CC" && break
  2221.   done
  2222. fi
  2223. if test -z "$CC"; then
  2224.   ac_ct_CC=$CC
  2225.   for ac_prog in cl.exe
  2226. do
  2227.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2228. set dummy $ac_prog; ac_word=$2
  2229. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2230. $as_echo_n "checking for $ac_word... " >&6; }
  2231. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2232.   $as_echo_n "(cached) " >&6
  2233. else
  2234.   if test -n "$ac_ct_CC"; then
  2235.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2236. else
  2237. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2238. for as_dir in $PATH
  2239. do
  2240.   IFS=$as_save_IFS
  2241.   test -z "$as_dir" && as_dir=.
  2242.   for ac_exec_ext in '' $ac_executable_extensions; do
  2243.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2244.     ac_cv_prog_ac_ct_CC="$ac_prog"
  2245.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2246.     break 2
  2247.   fi
  2248. done
  2249. done
  2250. IFS=$as_save_IFS
  2251.  
  2252. fi
  2253. fi
  2254. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2255. if test -n "$ac_ct_CC"; then
  2256.   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2257. $as_echo "$ac_ct_CC" >&6; }
  2258. else
  2259.   { $as_echo "$as_me:$LINENO: result: no" >&5
  2260. $as_echo "no" >&6; }
  2261. fi
  2262.  
  2263.  
  2264.   test -n "$ac_ct_CC" && break
  2265. done
  2266.  
  2267.   if test "x$ac_ct_CC" = x; then
  2268.     CC=""
  2269.   else
  2270.     case $cross_compiling:$ac_tool_warned in
  2271. yes:)
  2272. { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2273. whose name does not start with the host triplet.  If you think this
  2274. configuration is useful to you, please write to autoconf@gnu.org." >&5
  2275. $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2276. whose name does not start with the host triplet.  If you think this
  2277. configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2278. ac_tool_warned=yes ;;
  2279. esac
  2280.     CC=$ac_ct_CC
  2281.   fi
  2282. fi
  2283.  
  2284. fi
  2285.  
  2286.  
  2287. test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2288. See \`config.log' for more details." >&5
  2289. $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  2290. See \`config.log' for more details." >&2;}
  2291.    { (exit 1); exit 1; }; }
  2292.  
  2293. # Provide some information about the compiler.
  2294. $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  2295. set X $ac_compile
  2296. ac_compiler=$2
  2297. { (ac_try="$ac_compiler --version >&5"
  2298. case "(($ac_try" in
  2299.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2300.   *) ac_try_echo=$ac_try;;
  2301. esac
  2302. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2303. $as_echo "$ac_try_echo") >&5
  2304.   (eval "$ac_compiler --version >&5") 2>&5
  2305.   ac_status=$?
  2306.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2307.   (exit $ac_status); }
  2308. { (ac_try="$ac_compiler -v >&5"
  2309. case "(($ac_try" in
  2310.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2311.   *) ac_try_echo=$ac_try;;
  2312. esac
  2313. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2314. $as_echo "$ac_try_echo") >&5
  2315.   (eval "$ac_compiler -v >&5") 2>&5
  2316.   ac_status=$?
  2317.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2318.   (exit $ac_status); }
  2319. { (ac_try="$ac_compiler -V >&5"
  2320. case "(($ac_try" in
  2321.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2322.   *) ac_try_echo=$ac_try;;
  2323. esac
  2324. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2325. $as_echo "$ac_try_echo") >&5
  2326.   (eval "$ac_compiler -V >&5") 2>&5
  2327.   ac_status=$?
  2328.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2329.   (exit $ac_status); }
  2330.  
  2331. cat >conftest.$ac_ext <<_ACEOF
  2332. /* confdefs.h.  */
  2333. _ACEOF
  2334. cat confdefs.h >>conftest.$ac_ext
  2335. cat >>conftest.$ac_ext <<_ACEOF
  2336. /* end confdefs.h.  */
  2337.  
  2338. int
  2339. main ()
  2340. {
  2341.  
  2342.   ;
  2343.   return 0;
  2344. }
  2345. _ACEOF
  2346. ac_clean_files_save=$ac_clean_files
  2347. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2348. # Try to create an executable without -o first, disregard a.out.
  2349. # It will help us diagnose broken compilers, and finding out an intuition
  2350. # of exeext.
  2351. { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2352. $as_echo_n "checking for C compiler default output file name... " >&6; }
  2353. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2354.  
  2355. # The possible output files:
  2356. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2357.  
  2358. ac_rmfiles=
  2359. for ac_file in $ac_files
  2360. do
  2361.   case $ac_file in
  2362.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2363.     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2364.   esac
  2365. done
  2366. rm -f $ac_rmfiles
  2367.  
  2368. if { (ac_try="$ac_link_default"
  2369. case "(($ac_try" in
  2370.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2371.   *) ac_try_echo=$ac_try;;
  2372. esac
  2373. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2374. $as_echo "$ac_try_echo") >&5
  2375.   (eval "$ac_link_default") 2>&5
  2376.   ac_status=$?
  2377.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2378.   (exit $ac_status); }; then
  2379.   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2380. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2381. # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2382. # so that the user can short-circuit this test for compilers unknown to
  2383. # Autoconf.
  2384. for ac_file in $ac_files ''
  2385. do
  2386.   test -f "$ac_file" || continue
  2387.   case $ac_file in
  2388.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2389.     ;;
  2390.     [ab].out )
  2391.     # We found the default executable, but exeext='' is most
  2392.     # certainly right.
  2393.     break;;
  2394.     *.* )
  2395.         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2396.     then :; else
  2397.        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2398.     fi
  2399.     # We set ac_cv_exeext here because the later test for it is not
  2400.     # safe: cross compilers may not add the suffix if given an `-o'
  2401.     # argument, so we may need to know it at that point already.
  2402.     # Even if this section looks crufty: it has the advantage of
  2403.     # actually working.
  2404.     break;;
  2405.     * )
  2406.     break;;
  2407.   esac
  2408. done
  2409. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2410.  
  2411. else
  2412.   ac_file=''
  2413. fi
  2414.  
  2415. { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  2416. $as_echo "$ac_file" >&6; }
  2417. if test -z "$ac_file"; then
  2418.   $as_echo "$as_me: failed program was:" >&5
  2419. sed 's/^/| /' conftest.$ac_ext >&5
  2420.  
  2421. { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  2422. See \`config.log' for more details." >&5
  2423. $as_echo "$as_me: error: C compiler cannot create executables
  2424. See \`config.log' for more details." >&2;}
  2425.    { (exit 77); exit 77; }; }
  2426. fi
  2427.  
  2428. ac_exeext=$ac_cv_exeext
  2429.  
  2430. # Check that the compiler produces executables we can run.  If not, either
  2431. # the compiler is broken, or we cross compile.
  2432. { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2433. $as_echo_n "checking whether the C compiler works... " >&6; }
  2434. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2435. # If not cross compiling, check that we can run a simple program.
  2436. if test "$cross_compiling" != yes; then
  2437.   if { ac_try='./$ac_file'
  2438.   { (case "(($ac_try" in
  2439.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2440.   *) ac_try_echo=$ac_try;;
  2441. esac
  2442. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2443. $as_echo "$ac_try_echo") >&5
  2444.   (eval "$ac_try") 2>&5
  2445.   ac_status=$?
  2446.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2447.   (exit $ac_status); }; }; then
  2448.     cross_compiling=no
  2449.   else
  2450.     if test "$cross_compiling" = maybe; then
  2451.     cross_compiling=yes
  2452.     else
  2453.     { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2454. If you meant to cross compile, use \`--host'.
  2455. See \`config.log' for more details." >&5
  2456. $as_echo "$as_me: error: cannot run C compiled programs.
  2457. If you meant to cross compile, use \`--host'.
  2458. See \`config.log' for more details." >&2;}
  2459.    { (exit 1); exit 1; }; }
  2460.     fi
  2461.   fi
  2462. fi
  2463. { $as_echo "$as_me:$LINENO: result: yes" >&5
  2464. $as_echo "yes" >&6; }
  2465.  
  2466. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2467. ac_clean_files=$ac_clean_files_save
  2468. # Check that the compiler produces executables we can run.  If not, either
  2469. # the compiler is broken, or we cross compile.
  2470. { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2471. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2472. { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2473. $as_echo "$cross_compiling" >&6; }
  2474.  
  2475. { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2476. $as_echo_n "checking for suffix of executables... " >&6; }
  2477. if { (ac_try="$ac_link"
  2478. case "(($ac_try" in
  2479.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2480.   *) ac_try_echo=$ac_try;;
  2481. esac
  2482. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2483. $as_echo "$ac_try_echo") >&5
  2484.   (eval "$ac_link") 2>&5
  2485.   ac_status=$?
  2486.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2487.   (exit $ac_status); }; then
  2488.   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2489. # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2490. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2491. # `rm'.
  2492. for ac_file in conftest.exe conftest conftest.*; do
  2493.   test -f "$ac_file" || continue
  2494.   case $ac_file in
  2495.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2496.     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2497.       break;;
  2498.     * ) break;;
  2499.   esac
  2500. done
  2501. else
  2502.   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2503. See \`config.log' for more details." >&5
  2504. $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2505. See \`config.log' for more details." >&2;}
  2506.    { (exit 1); exit 1; }; }
  2507. fi
  2508.  
  2509. rm -f conftest$ac_cv_exeext
  2510. { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2511. $as_echo "$ac_cv_exeext" >&6; }
  2512.  
  2513. rm -f conftest.$ac_ext
  2514. EXEEXT=$ac_cv_exeext
  2515. ac_exeext=$EXEEXT
  2516. { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2517. $as_echo_n "checking for suffix of object files... " >&6; }
  2518. if test "${ac_cv_objext+set}" = set; then
  2519.   $as_echo_n "(cached) " >&6
  2520. else
  2521.   cat >conftest.$ac_ext <<_ACEOF
  2522. /* confdefs.h.  */
  2523. _ACEOF
  2524. cat confdefs.h >>conftest.$ac_ext
  2525. cat >>conftest.$ac_ext <<_ACEOF
  2526. /* end confdefs.h.  */
  2527.  
  2528. int
  2529. main ()
  2530. {
  2531.  
  2532.   ;
  2533.   return 0;
  2534. }
  2535. _ACEOF
  2536. rm -f conftest.o conftest.obj
  2537. if { (ac_try="$ac_compile"
  2538. case "(($ac_try" in
  2539.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2540.   *) ac_try_echo=$ac_try;;
  2541. esac
  2542. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2543. $as_echo "$ac_try_echo") >&5
  2544.   (eval "$ac_compile") 2>&5
  2545.   ac_status=$?
  2546.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2547.   (exit $ac_status); }; then
  2548.   for ac_file in conftest.o conftest.obj conftest.*; do
  2549.   test -f "$ac_file" || continue;
  2550.   case $ac_file in
  2551.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2552.     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2553.        break;;
  2554.   esac
  2555. done
  2556. else
  2557.   $as_echo "$as_me: failed program was:" >&5
  2558. sed 's/^/| /' conftest.$ac_ext >&5
  2559.  
  2560. { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2561. See \`config.log' for more details." >&5
  2562. $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2563. See \`config.log' for more details." >&2;}
  2564.    { (exit 1); exit 1; }; }
  2565. fi
  2566.  
  2567. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2568. fi
  2569. { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2570. $as_echo "$ac_cv_objext" >&6; }
  2571. OBJEXT=$ac_cv_objext
  2572. ac_objext=$OBJEXT
  2573. { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2574. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  2575. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2576.   $as_echo_n "(cached) " >&6
  2577. else
  2578.   cat >conftest.$ac_ext <<_ACEOF
  2579. /* confdefs.h.  */
  2580. _ACEOF
  2581. cat confdefs.h >>conftest.$ac_ext
  2582. cat >>conftest.$ac_ext <<_ACEOF
  2583. /* end confdefs.h.  */
  2584.  
  2585. int
  2586. main ()
  2587. {
  2588. #ifndef __GNUC__
  2589.        choke me
  2590. #endif
  2591.  
  2592.   ;
  2593.   return 0;
  2594. }
  2595. _ACEOF
  2596. rm -f conftest.$ac_objext
  2597. if { (ac_try="$ac_compile"
  2598. case "(($ac_try" in
  2599.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2600.   *) ac_try_echo=$ac_try;;
  2601. esac
  2602. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2603. $as_echo "$ac_try_echo") >&5
  2604.   (eval "$ac_compile") 2>conftest.er1
  2605.   ac_status=$?
  2606.   grep -v '^ *+' conftest.er1 >conftest.err
  2607.   rm -f conftest.er1
  2608.   cat conftest.err >&5
  2609.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2610.   (exit $ac_status); } && {
  2611.      test -z "$ac_c_werror_flag" ||
  2612.      test ! -s conftest.err
  2613.        } && test -s conftest.$ac_objext; then
  2614.   ac_compiler_gnu=yes
  2615. else
  2616.   $as_echo "$as_me: failed program was:" >&5
  2617. sed 's/^/| /' conftest.$ac_ext >&5
  2618.  
  2619.     ac_compiler_gnu=no
  2620. fi
  2621.  
  2622. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2623. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2624.  
  2625. fi
  2626. { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2627. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  2628. if test $ac_compiler_gnu = yes; then
  2629.   GCC=yes
  2630. else
  2631.   GCC=
  2632. fi
  2633. ac_test_CFLAGS=${CFLAGS+set}
  2634. ac_save_CFLAGS=$CFLAGS
  2635. { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2636. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  2637. if test "${ac_cv_prog_cc_g+set}" = set; then
  2638.   $as_echo_n "(cached) " >&6
  2639. else
  2640.   ac_save_c_werror_flag=$ac_c_werror_flag
  2641.    ac_c_werror_flag=yes
  2642.    ac_cv_prog_cc_g=no
  2643.    CFLAGS="-g"
  2644.    cat >conftest.$ac_ext <<_ACEOF
  2645. /* confdefs.h.  */
  2646. _ACEOF
  2647. cat confdefs.h >>conftest.$ac_ext
  2648. cat >>conftest.$ac_ext <<_ACEOF
  2649. /* end confdefs.h.  */
  2650.  
  2651. int
  2652. main ()
  2653. {
  2654.  
  2655.   ;
  2656.   return 0;
  2657. }
  2658. _ACEOF
  2659. rm -f conftest.$ac_objext
  2660. if { (ac_try="$ac_compile"
  2661. case "(($ac_try" in
  2662.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2663.   *) ac_try_echo=$ac_try;;
  2664. esac
  2665. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2666. $as_echo "$ac_try_echo") >&5
  2667.   (eval "$ac_compile") 2>conftest.er1
  2668.   ac_status=$?
  2669.   grep -v '^ *+' conftest.er1 >conftest.err
  2670.   rm -f conftest.er1
  2671.   cat conftest.err >&5
  2672.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2673.   (exit $ac_status); } && {
  2674.      test -z "$ac_c_werror_flag" ||
  2675.      test ! -s conftest.err
  2676.        } && test -s conftest.$ac_objext; then
  2677.   ac_cv_prog_cc_g=yes
  2678. else
  2679.   $as_echo "$as_me: failed program was:" >&5
  2680. sed 's/^/| /' conftest.$ac_ext >&5
  2681.  
  2682.     CFLAGS=""
  2683.       cat >conftest.$ac_ext <<_ACEOF
  2684. /* confdefs.h.  */
  2685. _ACEOF
  2686. cat confdefs.h >>conftest.$ac_ext
  2687. cat >>conftest.$ac_ext <<_ACEOF
  2688. /* end confdefs.h.  */
  2689.  
  2690. int
  2691. main ()
  2692. {
  2693.  
  2694.   ;
  2695.   return 0;
  2696. }
  2697. _ACEOF
  2698. rm -f conftest.$ac_objext
  2699. if { (ac_try="$ac_compile"
  2700. case "(($ac_try" in
  2701.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2702.   *) ac_try_echo=$ac_try;;
  2703. esac
  2704. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2705. $as_echo "$ac_try_echo") >&5
  2706.   (eval "$ac_compile") 2>conftest.er1
  2707.   ac_status=$?
  2708.   grep -v '^ *+' conftest.er1 >conftest.err
  2709.   rm -f conftest.er1
  2710.   cat conftest.err >&5
  2711.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2712.   (exit $ac_status); } && {
  2713.      test -z "$ac_c_werror_flag" ||
  2714.      test ! -s conftest.err
  2715.        } && test -s conftest.$ac_objext; then
  2716.   :
  2717. else
  2718.   $as_echo "$as_me: failed program was:" >&5
  2719. sed 's/^/| /' conftest.$ac_ext >&5
  2720.  
  2721.     ac_c_werror_flag=$ac_save_c_werror_flag
  2722.      CFLAGS="-g"
  2723.      cat >conftest.$ac_ext <<_ACEOF
  2724. /* confdefs.h.  */
  2725. _ACEOF
  2726. cat confdefs.h >>conftest.$ac_ext
  2727. cat >>conftest.$ac_ext <<_ACEOF
  2728. /* end confdefs.h.  */
  2729.  
  2730. int
  2731. main ()
  2732. {
  2733.  
  2734.   ;
  2735.   return 0;
  2736. }
  2737. _ACEOF
  2738. rm -f conftest.$ac_objext
  2739. if { (ac_try="$ac_compile"
  2740. case "(($ac_try" in
  2741.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2742.   *) ac_try_echo=$ac_try;;
  2743. esac
  2744. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2745. $as_echo "$ac_try_echo") >&5
  2746.   (eval "$ac_compile") 2>conftest.er1
  2747.   ac_status=$?
  2748.   grep -v '^ *+' conftest.er1 >conftest.err
  2749.   rm -f conftest.er1
  2750.   cat conftest.err >&5
  2751.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2752.   (exit $ac_status); } && {
  2753.      test -z "$ac_c_werror_flag" ||
  2754.      test ! -s conftest.err
  2755.        } && test -s conftest.$ac_objext; then
  2756.   ac_cv_prog_cc_g=yes
  2757. else
  2758.   $as_echo "$as_me: failed program was:" >&5
  2759. sed 's/^/| /' conftest.$ac_ext >&5
  2760.  
  2761.  
  2762. fi
  2763.  
  2764. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2765. fi
  2766.  
  2767. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2768. fi
  2769.  
  2770. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2771.    ac_c_werror_flag=$ac_save_c_werror_flag
  2772. fi
  2773. { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2774. $as_echo "$ac_cv_prog_cc_g" >&6; }
  2775. if test "$ac_test_CFLAGS" = set; then
  2776.   CFLAGS=$ac_save_CFLAGS
  2777. elif test $ac_cv_prog_cc_g = yes; then
  2778.   if test "$GCC" = yes; then
  2779.     CFLAGS="-g -O2"
  2780.   else
  2781.     CFLAGS="-g"
  2782.   fi
  2783. else
  2784.   if test "$GCC" = yes; then
  2785.     CFLAGS="-O2"
  2786.   else
  2787.     CFLAGS=
  2788.   fi
  2789. fi
  2790. { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  2791. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  2792. if test "${ac_cv_prog_cc_c89+set}" = set; then
  2793.   $as_echo_n "(cached) " >&6
  2794. else
  2795.   ac_cv_prog_cc_c89=no
  2796. ac_save_CC=$CC
  2797. cat >conftest.$ac_ext <<_ACEOF
  2798. /* confdefs.h.  */
  2799. _ACEOF
  2800. cat confdefs.h >>conftest.$ac_ext
  2801. cat >>conftest.$ac_ext <<_ACEOF
  2802. /* end confdefs.h.  */
  2803. #include <stdarg.h>
  2804. #include <stdio.h>
  2805. #include <sys/types.h>
  2806. #include <sys/stat.h>
  2807. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  2808. struct buf { int x; };
  2809. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2810. static char *e (p, i)
  2811.      char **p;
  2812.      int i;
  2813. {
  2814.   return p[i];
  2815. }
  2816. static char *f (char * (*g) (char **, int), char **p, ...)
  2817. {
  2818.   char *s;
  2819.   va_list v;
  2820.   va_start (v,p);
  2821.   s = g (p, va_arg (v,int));
  2822.   va_end (v);
  2823.   return s;
  2824. }
  2825.  
  2826. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  2827.    function prototypes and stuff, but not '\xHH' hex character constants.
  2828.    These don't provoke an error unfortunately, instead are silently treated
  2829.    as 'x'.  The following induces an error, until -std is added to get
  2830.    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  2831.    array size at least.  It's necessary to write '\x00'==0 to get something
  2832.    that's true only with -std.  */
  2833. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2834.  
  2835. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2836.    inside strings and character constants.  */
  2837. #define FOO(x) 'x'
  2838. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2839.  
  2840. int test (int i, double x);
  2841. struct s1 {int (*f) (int a);};
  2842. struct s2 {int (*f) (double a);};
  2843. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2844. int argc;
  2845. char **argv;
  2846. int
  2847. main ()
  2848. {
  2849. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  2850.   ;
  2851.   return 0;
  2852. }
  2853. _ACEOF
  2854. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2855.     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2856. do
  2857.   CC="$ac_save_CC $ac_arg"
  2858.   rm -f conftest.$ac_objext
  2859. if { (ac_try="$ac_compile"
  2860. case "(($ac_try" in
  2861.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2862.   *) ac_try_echo=$ac_try;;
  2863. esac
  2864. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2865. $as_echo "$ac_try_echo") >&5
  2866.   (eval "$ac_compile") 2>conftest.er1
  2867.   ac_status=$?
  2868.   grep -v '^ *+' conftest.er1 >conftest.err
  2869.   rm -f conftest.er1
  2870.   cat conftest.err >&5
  2871.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2872.   (exit $ac_status); } && {
  2873.      test -z "$ac_c_werror_flag" ||
  2874.      test ! -s conftest.err
  2875.        } && test -s conftest.$ac_objext; then
  2876.   ac_cv_prog_cc_c89=$ac_arg
  2877. else
  2878.   $as_echo "$as_me: failed program was:" >&5
  2879. sed 's/^/| /' conftest.$ac_ext >&5
  2880.  
  2881.  
  2882. fi
  2883.  
  2884. rm -f core conftest.err conftest.$ac_objext
  2885.   test "x$ac_cv_prog_cc_c89" != "xno" && break
  2886. done
  2887. rm -f conftest.$ac_ext
  2888. CC=$ac_save_CC
  2889.  
  2890. fi
  2891. # AC_CACHE_VAL
  2892. case "x$ac_cv_prog_cc_c89" in
  2893.   x)
  2894.     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  2895. $as_echo "none needed" >&6; } ;;
  2896.   xno)
  2897.     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  2898. $as_echo "unsupported" >&6; } ;;
  2899.   *)
  2900.     CC="$CC $ac_cv_prog_cc_c89"
  2901.     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  2902. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  2903. esac
  2904.  
  2905.  
  2906. ac_ext=c
  2907. ac_cpp='$CPP $CPPFLAGS'
  2908. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2909. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2910. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2911.  
  2912.  
  2913. ac_ext=c
  2914. ac_cpp='$CPP $CPPFLAGS'
  2915. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2916. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2917. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2918. { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  2919. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  2920. # On Suns, sometimes $CPP names a directory.
  2921. if test -n "$CPP" && test -d "$CPP"; then
  2922.   CPP=
  2923. fi
  2924. if test -z "$CPP"; then
  2925.   if test "${ac_cv_prog_CPP+set}" = set; then
  2926.   $as_echo_n "(cached) " >&6
  2927. else
  2928.       # Double quotes because CPP needs to be expanded
  2929.     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  2930.     do
  2931.       ac_preproc_ok=false
  2932. for ac_c_preproc_warn_flag in '' yes
  2933. do
  2934.   # Use a header file that comes with gcc, so configuring glibc
  2935.   # with a fresh cross-compiler works.
  2936.   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2937.   # <limits.h> exists even on freestanding compilers.
  2938.   # On the NeXT, cc -E runs the code through the compiler's parser,
  2939.   # not just through cpp. "Syntax error" is here to catch this case.
  2940.   cat >conftest.$ac_ext <<_ACEOF
  2941. /* confdefs.h.  */
  2942. _ACEOF
  2943. cat confdefs.h >>conftest.$ac_ext
  2944. cat >>conftest.$ac_ext <<_ACEOF
  2945. /* end confdefs.h.  */
  2946. #ifdef __STDC__
  2947. # include <limits.h>
  2948. #else
  2949. # include <assert.h>
  2950. #endif
  2951.              Syntax error
  2952. _ACEOF
  2953. if { (ac_try="$ac_cpp conftest.$ac_ext"
  2954. case "(($ac_try" in
  2955.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2956.   *) ac_try_echo=$ac_try;;
  2957. esac
  2958. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2959. $as_echo "$ac_try_echo") >&5
  2960.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2961.   ac_status=$?
  2962.   grep -v '^ *+' conftest.er1 >conftest.err
  2963.   rm -f conftest.er1
  2964.   cat conftest.err >&5
  2965.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2966.   (exit $ac_status); } >/dev/null && {
  2967.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2968.      test ! -s conftest.err
  2969.        }; then
  2970.   :
  2971. else
  2972.   $as_echo "$as_me: failed program was:" >&5
  2973. sed 's/^/| /' conftest.$ac_ext >&5
  2974.  
  2975.   # Broken: fails on valid input.
  2976. continue
  2977. fi
  2978.  
  2979. rm -f conftest.err conftest.$ac_ext
  2980.  
  2981.   # OK, works on sane cases.  Now check whether nonexistent headers
  2982.   # can be detected and how.
  2983.   cat >conftest.$ac_ext <<_ACEOF
  2984. /* confdefs.h.  */
  2985. _ACEOF
  2986. cat confdefs.h >>conftest.$ac_ext
  2987. cat >>conftest.$ac_ext <<_ACEOF
  2988. /* end confdefs.h.  */
  2989. #include <ac_nonexistent.h>
  2990. _ACEOF
  2991. if { (ac_try="$ac_cpp conftest.$ac_ext"
  2992. case "(($ac_try" in
  2993.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2994.   *) ac_try_echo=$ac_try;;
  2995. esac
  2996. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2997. $as_echo "$ac_try_echo") >&5
  2998.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2999.   ac_status=$?
  3000.   grep -v '^ *+' conftest.er1 >conftest.err
  3001.   rm -f conftest.er1
  3002.   cat conftest.err >&5
  3003.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3004.   (exit $ac_status); } >/dev/null && {
  3005.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3006.      test ! -s conftest.err
  3007.        }; then
  3008.   # Broken: success on invalid input.
  3009. continue
  3010. else
  3011.   $as_echo "$as_me: failed program was:" >&5
  3012. sed 's/^/| /' conftest.$ac_ext >&5
  3013.  
  3014.   # Passes both tests.
  3015. ac_preproc_ok=:
  3016. break
  3017. fi
  3018.  
  3019. rm -f conftest.err conftest.$ac_ext
  3020.  
  3021. done
  3022. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3023. rm -f conftest.err conftest.$ac_ext
  3024. if $ac_preproc_ok; then
  3025.   break
  3026. fi
  3027.  
  3028.     done
  3029.     ac_cv_prog_CPP=$CPP
  3030.  
  3031. fi
  3032.   CPP=$ac_cv_prog_CPP
  3033. else
  3034.   ac_cv_prog_CPP=$CPP
  3035. fi
  3036. { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  3037. $as_echo "$CPP" >&6; }
  3038. ac_preproc_ok=false
  3039. for ac_c_preproc_warn_flag in '' yes
  3040. do
  3041.   # Use a header file that comes with gcc, so configuring glibc
  3042.   # with a fresh cross-compiler works.
  3043.   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3044.   # <limits.h> exists even on freestanding compilers.
  3045.   # On the NeXT, cc -E runs the code through the compiler's parser,
  3046.   # not just through cpp. "Syntax error" is here to catch this case.
  3047.   cat >conftest.$ac_ext <<_ACEOF
  3048. /* confdefs.h.  */
  3049. _ACEOF
  3050. cat confdefs.h >>conftest.$ac_ext
  3051. cat >>conftest.$ac_ext <<_ACEOF
  3052. /* end confdefs.h.  */
  3053. #ifdef __STDC__
  3054. # include <limits.h>
  3055. #else
  3056. # include <assert.h>
  3057. #endif
  3058.              Syntax error
  3059. _ACEOF
  3060. if { (ac_try="$ac_cpp conftest.$ac_ext"
  3061. case "(($ac_try" in
  3062.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3063.   *) ac_try_echo=$ac_try;;
  3064. esac
  3065. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3066. $as_echo "$ac_try_echo") >&5
  3067.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3068.   ac_status=$?
  3069.   grep -v '^ *+' conftest.er1 >conftest.err
  3070.   rm -f conftest.er1
  3071.   cat conftest.err >&5
  3072.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3073.   (exit $ac_status); } >/dev/null && {
  3074.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3075.      test ! -s conftest.err
  3076.        }; then
  3077.   :
  3078. else
  3079.   $as_echo "$as_me: failed program was:" >&5
  3080. sed 's/^/| /' conftest.$ac_ext >&5
  3081.  
  3082.   # Broken: fails on valid input.
  3083. continue
  3084. fi
  3085.  
  3086. rm -f conftest.err conftest.$ac_ext
  3087.  
  3088.   # OK, works on sane cases.  Now check whether nonexistent headers
  3089.   # can be detected and how.
  3090.   cat >conftest.$ac_ext <<_ACEOF
  3091. /* confdefs.h.  */
  3092. _ACEOF
  3093. cat confdefs.h >>conftest.$ac_ext
  3094. cat >>conftest.$ac_ext <<_ACEOF
  3095. /* end confdefs.h.  */
  3096. #include <ac_nonexistent.h>
  3097. _ACEOF
  3098. if { (ac_try="$ac_cpp conftest.$ac_ext"
  3099. case "(($ac_try" in
  3100.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3101.   *) ac_try_echo=$ac_try;;
  3102. esac
  3103. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3104. $as_echo "$ac_try_echo") >&5
  3105.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3106.   ac_status=$?
  3107.   grep -v '^ *+' conftest.er1 >conftest.err
  3108.   rm -f conftest.er1
  3109.   cat conftest.err >&5
  3110.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3111.   (exit $ac_status); } >/dev/null && {
  3112.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3113.      test ! -s conftest.err
  3114.        }; then
  3115.   # Broken: success on invalid input.
  3116. continue
  3117. else
  3118.   $as_echo "$as_me: failed program was:" >&5
  3119. sed 's/^/| /' conftest.$ac_ext >&5
  3120.  
  3121.   # Passes both tests.
  3122. ac_preproc_ok=:
  3123. break
  3124. fi
  3125.  
  3126. rm -f conftest.err conftest.$ac_ext
  3127.  
  3128. done
  3129. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3130. rm -f conftest.err conftest.$ac_ext
  3131. if $ac_preproc_ok; then
  3132.   :
  3133. else
  3134.   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  3135. See \`config.log' for more details." >&5
  3136. $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  3137. See \`config.log' for more details." >&2;}
  3138.    { (exit 1); exit 1; }; }
  3139. fi
  3140.  
  3141. ac_ext=c
  3142. ac_cpp='$CPP $CPPFLAGS'
  3143. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3144. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3145. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3146.  
  3147.  
  3148. { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  3149. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3150. if test "${ac_cv_path_GREP+set}" = set; then
  3151.   $as_echo_n "(cached) " >&6
  3152. else
  3153.   if test -z "$GREP"; then
  3154.   ac_path_GREP_found=false
  3155.   # Loop through the user's path and test for each of PROGNAME-LIST
  3156.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3157. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3158. do
  3159.   IFS=$as_save_IFS
  3160.   test -z "$as_dir" && as_dir=.
  3161.   for ac_prog in grep ggrep; do
  3162.     for ac_exec_ext in '' $ac_executable_extensions; do
  3163.       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3164.       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3165. # Check for GNU ac_path_GREP and select it if it is found.
  3166.   # Check for GNU $ac_path_GREP
  3167. case `"$ac_path_GREP" --version 2>&1` in
  3168. *GNU*)
  3169.   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3170. *)
  3171.   ac_count=0
  3172.   $as_echo_n 0123456789 >"conftest.in"
  3173.   while :
  3174.   do
  3175.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3176.     mv "conftest.tmp" "conftest.in"
  3177.     cp "conftest.in" "conftest.nl"
  3178.     $as_echo 'GREP' >> "conftest.nl"
  3179.     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3180.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3181.     ac_count=`expr $ac_count + 1`
  3182.     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3183.       # Best one so far, save it but keep looking for a better one
  3184.       ac_cv_path_GREP="$ac_path_GREP"
  3185.       ac_path_GREP_max=$ac_count
  3186.     fi
  3187.     # 10*(2^10) chars as input seems more than enough
  3188.     test $ac_count -gt 10 && break
  3189.   done
  3190.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3191. esac
  3192.  
  3193.       $ac_path_GREP_found && break 3
  3194.     done
  3195.   done
  3196. done
  3197. IFS=$as_save_IFS
  3198.   if test -z "$ac_cv_path_GREP"; then
  3199.     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3200. $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3201.    { (exit 1); exit 1; }; }
  3202.   fi
  3203. else
  3204.   ac_cv_path_GREP=$GREP
  3205. fi
  3206.  
  3207. fi
  3208. { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  3209. $as_echo "$ac_cv_path_GREP" >&6; }
  3210.  GREP="$ac_cv_path_GREP"
  3211.  
  3212.  
  3213. { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  3214. $as_echo_n "checking for egrep... " >&6; }
  3215. if test "${ac_cv_path_EGREP+set}" = set; then
  3216.   $as_echo_n "(cached) " >&6
  3217. else
  3218.   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3219.    then ac_cv_path_EGREP="$GREP -E"
  3220.    else
  3221.      if test -z "$EGREP"; then
  3222.   ac_path_EGREP_found=false
  3223.   # Loop through the user's path and test for each of PROGNAME-LIST
  3224.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3225. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3226. do
  3227.   IFS=$as_save_IFS
  3228.   test -z "$as_dir" && as_dir=.
  3229.   for ac_prog in egrep; do
  3230.     for ac_exec_ext in '' $ac_executable_extensions; do
  3231.       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3232.       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3233. # Check for GNU ac_path_EGREP and select it if it is found.
  3234.   # Check for GNU $ac_path_EGREP
  3235. case `"$ac_path_EGREP" --version 2>&1` in
  3236. *GNU*)
  3237.   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3238. *)
  3239.   ac_count=0
  3240.   $as_echo_n 0123456789 >"conftest.in"
  3241.   while :
  3242.   do
  3243.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  3244.     mv "conftest.tmp" "conftest.in"
  3245.     cp "conftest.in" "conftest.nl"
  3246.     $as_echo 'EGREP' >> "conftest.nl"
  3247.     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3248.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3249.     ac_count=`expr $ac_count + 1`
  3250.     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3251.       # Best one so far, save it but keep looking for a better one
  3252.       ac_cv_path_EGREP="$ac_path_EGREP"
  3253.       ac_path_EGREP_max=$ac_count
  3254.     fi
  3255.     # 10*(2^10) chars as input seems more than enough
  3256.     test $ac_count -gt 10 && break
  3257.   done
  3258.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3259. esac
  3260.  
  3261.       $ac_path_EGREP_found && break 3
  3262.     done
  3263.   done
  3264. done
  3265. IFS=$as_save_IFS
  3266.   if test -z "$ac_cv_path_EGREP"; then
  3267.     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3268. $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3269.    { (exit 1); exit 1; }; }
  3270.   fi
  3271. else
  3272.   ac_cv_path_EGREP=$EGREP
  3273. fi
  3274.  
  3275.    fi
  3276. fi
  3277. { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  3278. $as_echo "$ac_cv_path_EGREP" >&6; }
  3279.  EGREP="$ac_cv_path_EGREP"
  3280.  
  3281.  
  3282. { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3283. $as_echo_n "checking for ANSI C header files... " >&6; }
  3284. if test "${ac_cv_header_stdc+set}" = set; then
  3285.   $as_echo_n "(cached) " >&6
  3286. else
  3287.   cat >conftest.$ac_ext <<_ACEOF
  3288. /* confdefs.h.  */
  3289. _ACEOF
  3290. cat confdefs.h >>conftest.$ac_ext
  3291. cat >>conftest.$ac_ext <<_ACEOF
  3292. /* end confdefs.h.  */
  3293. #include <stdlib.h>
  3294. #include <stdarg.h>
  3295. #include <string.h>
  3296. #include <float.h>
  3297.  
  3298. int
  3299. main ()
  3300. {
  3301.  
  3302.   ;
  3303.   return 0;
  3304. }
  3305. _ACEOF
  3306. rm -f conftest.$ac_objext
  3307. if { (ac_try="$ac_compile"
  3308. case "(($ac_try" in
  3309.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3310.   *) ac_try_echo=$ac_try;;
  3311. esac
  3312. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3313. $as_echo "$ac_try_echo") >&5
  3314.   (eval "$ac_compile") 2>conftest.er1
  3315.   ac_status=$?
  3316.   grep -v '^ *+' conftest.er1 >conftest.err
  3317.   rm -f conftest.er1
  3318.   cat conftest.err >&5
  3319.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3320.   (exit $ac_status); } && {
  3321.      test -z "$ac_c_werror_flag" ||
  3322.      test ! -s conftest.err
  3323.        } && test -s conftest.$ac_objext; then
  3324.   ac_cv_header_stdc=yes
  3325. else
  3326.   $as_echo "$as_me: failed program was:" >&5
  3327. sed 's/^/| /' conftest.$ac_ext >&5
  3328.  
  3329.     ac_cv_header_stdc=no
  3330. fi
  3331.  
  3332. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3333.  
  3334. if test $ac_cv_header_stdc = yes; then
  3335.   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3336.   cat >conftest.$ac_ext <<_ACEOF
  3337. /* confdefs.h.  */
  3338. _ACEOF
  3339. cat confdefs.h >>conftest.$ac_ext
  3340. cat >>conftest.$ac_ext <<_ACEOF
  3341. /* end confdefs.h.  */
  3342. #include <string.h>
  3343.  
  3344. _ACEOF
  3345. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3346.   $EGREP "memchr" >/dev/null 2>&1; then
  3347.   :
  3348. else
  3349.   ac_cv_header_stdc=no
  3350. fi
  3351. rm -f conftest*
  3352.  
  3353. fi
  3354.  
  3355. if test $ac_cv_header_stdc = yes; then
  3356.   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  3357.   cat >conftest.$ac_ext <<_ACEOF
  3358. /* confdefs.h.  */
  3359. _ACEOF
  3360. cat confdefs.h >>conftest.$ac_ext
  3361. cat >>conftest.$ac_ext <<_ACEOF
  3362. /* end confdefs.h.  */
  3363. #include <stdlib.h>
  3364.  
  3365. _ACEOF
  3366. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3367.   $EGREP "free" >/dev/null 2>&1; then
  3368.   :
  3369. else
  3370.   ac_cv_header_stdc=no
  3371. fi
  3372. rm -f conftest*
  3373.  
  3374. fi
  3375.  
  3376. if test $ac_cv_header_stdc = yes; then
  3377.   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  3378.   if test "$cross_compiling" = yes; then
  3379.   :
  3380. else
  3381.   cat >conftest.$ac_ext <<_ACEOF
  3382. /* confdefs.h.  */
  3383. _ACEOF
  3384. cat confdefs.h >>conftest.$ac_ext
  3385. cat >>conftest.$ac_ext <<_ACEOF
  3386. /* end confdefs.h.  */
  3387. #include <ctype.h>
  3388. #include <stdlib.h>
  3389. #if ((' ' & 0x0FF) == 0x020)
  3390. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3391. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3392. #else
  3393. # define ISLOWER(c) \
  3394.            (('a' <= (c) && (c) <= 'i') \
  3395.              || ('j' <= (c) && (c) <= 'r') \
  3396.              || ('s' <= (c) && (c) <= 'z'))
  3397. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  3398. #endif
  3399.  
  3400. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  3401. int
  3402. main ()
  3403. {
  3404.   int i;
  3405.   for (i = 0; i < 256; i++)
  3406.     if (XOR (islower (i), ISLOWER (i))
  3407.     || toupper (i) != TOUPPER (i))
  3408.       return 2;
  3409.   return 0;
  3410. }
  3411. _ACEOF
  3412. rm -f conftest$ac_exeext
  3413. if { (ac_try="$ac_link"
  3414. case "(($ac_try" in
  3415.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3416.   *) ac_try_echo=$ac_try;;
  3417. esac
  3418. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3419. $as_echo "$ac_try_echo") >&5
  3420.   (eval "$ac_link") 2>&5
  3421.   ac_status=$?
  3422.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3423.   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3424.   { (case "(($ac_try" in
  3425.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3426.   *) ac_try_echo=$ac_try;;
  3427. esac
  3428. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3429. $as_echo "$ac_try_echo") >&5
  3430.   (eval "$ac_try") 2>&5
  3431.   ac_status=$?
  3432.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3433.   (exit $ac_status); }; }; then
  3434.   :
  3435. else
  3436.   $as_echo "$as_me: program exited with status $ac_status" >&5
  3437. $as_echo "$as_me: failed program was:" >&5
  3438. sed 's/^/| /' conftest.$ac_ext >&5
  3439.  
  3440. ( exit $ac_status )
  3441. ac_cv_header_stdc=no
  3442. fi
  3443. rm -rf conftest.dSYM
  3444. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3445. fi
  3446.  
  3447.  
  3448. fi
  3449. fi
  3450. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3451. $as_echo "$ac_cv_header_stdc" >&6; }
  3452. if test $ac_cv_header_stdc = yes; then
  3453.  
  3454. cat >>confdefs.h <<\_ACEOF
  3455. #define STDC_HEADERS 1
  3456. _ACEOF
  3457.  
  3458. fi
  3459.  
  3460. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.  
  3470. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  3471.           inttypes.h stdint.h unistd.h
  3472. do
  3473. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3474. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  3475. $as_echo_n "checking for $ac_header... " >&6; }
  3476. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3477.   $as_echo_n "(cached) " >&6
  3478. else
  3479.   cat >conftest.$ac_ext <<_ACEOF
  3480. /* confdefs.h.  */
  3481. _ACEOF
  3482. cat confdefs.h >>conftest.$ac_ext
  3483. cat >>conftest.$ac_ext <<_ACEOF
  3484. /* end confdefs.h.  */
  3485. $ac_includes_default
  3486.  
  3487. #include <$ac_header>
  3488. _ACEOF
  3489. rm -f conftest.$ac_objext
  3490. if { (ac_try="$ac_compile"
  3491. case "(($ac_try" in
  3492.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3493.   *) ac_try_echo=$ac_try;;
  3494. esac
  3495. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3496. $as_echo "$ac_try_echo") >&5
  3497.   (eval "$ac_compile") 2>conftest.er1
  3498.   ac_status=$?
  3499.   grep -v '^ *+' conftest.er1 >conftest.err
  3500.   rm -f conftest.er1
  3501.   cat conftest.err >&5
  3502.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3503.   (exit $ac_status); } && {
  3504.      test -z "$ac_c_werror_flag" ||
  3505.      test ! -s conftest.err
  3506.        } && test -s conftest.$ac_objext; then
  3507.   eval "$as_ac_Header=yes"
  3508. else
  3509.   $as_echo "$as_me: failed program was:" >&5
  3510. sed 's/^/| /' conftest.$ac_ext >&5
  3511.  
  3512.     eval "$as_ac_Header=no"
  3513. fi
  3514.  
  3515. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3516. fi
  3517. ac_res=`eval 'as_val=${'$as_ac_Header'}
  3518.          $as_echo "$as_val"'`
  3519.            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  3520. $as_echo "$ac_res" >&6; }
  3521. if test `eval 'as_val=${'$as_ac_Header'}
  3522.          $as_echo "$as_val"'` = yes; then
  3523.   cat >>confdefs.h <<_ACEOF
  3524. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3525. _ACEOF
  3526.  
  3527. fi
  3528.  
  3529. done
  3530.  
  3531.  
  3532.  
  3533.     # Check whether --enable-optimization was given.
  3534. if test "${enable_optimization+set}" = set; then
  3535.   enableval=$enable_optimization; ac_cv_enable_optimization=${enableval}
  3536. fi
  3537.  
  3538.  
  3539.  
  3540.  
  3541.  
  3542. # Check whether --with-gcc was given.
  3543. if test "${with_gcc+set}" = set; then
  3544.   withval=$with_gcc;
  3545. fi
  3546.  
  3547.  
  3548.   if test "${ac_cv_header_minix_config_h+set}" = set; then
  3549.   { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
  3550. $as_echo_n "checking for minix/config.h... " >&6; }
  3551. if test "${ac_cv_header_minix_config_h+set}" = set; then
  3552.   $as_echo_n "(cached) " >&6
  3553. fi
  3554. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
  3555. $as_echo "$ac_cv_header_minix_config_h" >&6; }
  3556. else
  3557.   # Is the header compilable?
  3558. { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
  3559. $as_echo_n "checking minix/config.h usability... " >&6; }
  3560. cat >conftest.$ac_ext <<_ACEOF
  3561. /* confdefs.h.  */
  3562. _ACEOF
  3563. cat confdefs.h >>conftest.$ac_ext
  3564. cat >>conftest.$ac_ext <<_ACEOF
  3565. /* end confdefs.h.  */
  3566. $ac_includes_default
  3567. #include <minix/config.h>
  3568. _ACEOF
  3569. rm -f conftest.$ac_objext
  3570. if { (ac_try="$ac_compile"
  3571. case "(($ac_try" in
  3572.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3573.   *) ac_try_echo=$ac_try;;
  3574. esac
  3575. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3576. $as_echo "$ac_try_echo") >&5
  3577.   (eval "$ac_compile") 2>conftest.er1
  3578.   ac_status=$?
  3579.   grep -v '^ *+' conftest.er1 >conftest.err
  3580.   rm -f conftest.er1
  3581.   cat conftest.err >&5
  3582.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3583.   (exit $ac_status); } && {
  3584.      test -z "$ac_c_werror_flag" ||
  3585.      test ! -s conftest.err
  3586.        } && test -s conftest.$ac_objext; then
  3587.   ac_header_compiler=yes
  3588. else
  3589.   $as_echo "$as_me: failed program was:" >&5
  3590. sed 's/^/| /' conftest.$ac_ext >&5
  3591.  
  3592.     ac_header_compiler=no
  3593. fi
  3594.  
  3595. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3596. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3597. $as_echo "$ac_header_compiler" >&6; }
  3598.  
  3599. # Is the header present?
  3600. { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
  3601. $as_echo_n "checking minix/config.h presence... " >&6; }
  3602. cat >conftest.$ac_ext <<_ACEOF
  3603. /* confdefs.h.  */
  3604. _ACEOF
  3605. cat confdefs.h >>conftest.$ac_ext
  3606. cat >>conftest.$ac_ext <<_ACEOF
  3607. /* end confdefs.h.  */
  3608. #include <minix/config.h>
  3609. _ACEOF
  3610. if { (ac_try="$ac_cpp conftest.$ac_ext"
  3611. case "(($ac_try" in
  3612.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3613.   *) ac_try_echo=$ac_try;;
  3614. esac
  3615. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3616. $as_echo "$ac_try_echo") >&5
  3617.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3618.   ac_status=$?
  3619.   grep -v '^ *+' conftest.er1 >conftest.err
  3620.   rm -f conftest.er1
  3621.   cat conftest.err >&5
  3622.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3623.   (exit $ac_status); } >/dev/null && {
  3624.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3625.      test ! -s conftest.err
  3626.        }; then
  3627.   ac_header_preproc=yes
  3628. else
  3629.   $as_echo "$as_me: failed program was:" >&5
  3630. sed 's/^/| /' conftest.$ac_ext >&5
  3631.  
  3632.   ac_header_preproc=no
  3633. fi
  3634.  
  3635. rm -f conftest.err conftest.$ac_ext
  3636. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  3637. $as_echo "$ac_header_preproc" >&6; }
  3638.  
  3639. # So?  What about this header?
  3640. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  3641.   yes:no: )
  3642.     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
  3643. $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  3644.     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
  3645. $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
  3646.     ac_header_preproc=yes
  3647.     ;;
  3648.   no:yes:* )
  3649.     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
  3650. $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
  3651.     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
  3652. $as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
  3653.     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
  3654. $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
  3655.     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
  3656. $as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  3657.     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
  3658. $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
  3659.     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
  3660. $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
  3661.  
  3662.     ;;
  3663. esac
  3664. { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
  3665. $as_echo_n "checking for minix/config.h... " >&6; }
  3666. if test "${ac_cv_header_minix_config_h+set}" = set; then
  3667.   $as_echo_n "(cached) " >&6
  3668. else
  3669.   ac_cv_header_minix_config_h=$ac_header_preproc
  3670. fi
  3671. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
  3672. $as_echo "$ac_cv_header_minix_config_h" >&6; }
  3673.  
  3674. fi
  3675. if test $ac_cv_header_minix_config_h = yes; then
  3676.   MINIX=yes
  3677. else
  3678.   MINIX=
  3679. fi
  3680.  
  3681.  
  3682.   if test "$MINIX" = yes; then
  3683.  
  3684. cat >>confdefs.h <<\_ACEOF
  3685. #define _POSIX_SOURCE 1
  3686. _ACEOF
  3687.  
  3688.  
  3689. cat >>confdefs.h <<\_ACEOF
  3690. #define _POSIX_1_SOURCE 2
  3691. _ACEOF
  3692.  
  3693.  
  3694. cat >>confdefs.h <<\_ACEOF
  3695. #define _MINIX 1
  3696. _ACEOF
  3697.  
  3698.   fi
  3699.  
  3700.  
  3701.  
  3702.   { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
  3703. $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  3704. if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
  3705.   $as_echo_n "(cached) " >&6
  3706. else
  3707.   cat >conftest.$ac_ext <<_ACEOF
  3708. /* confdefs.h.  */
  3709. _ACEOF
  3710. cat confdefs.h >>conftest.$ac_ext
  3711. cat >>conftest.$ac_ext <<_ACEOF
  3712. /* end confdefs.h.  */
  3713.  
  3714. #      define __EXTENSIONS__ 1
  3715.       $ac_includes_default
  3716. int
  3717. main ()
  3718. {
  3719.  
  3720.   ;
  3721.   return 0;
  3722. }
  3723. _ACEOF
  3724. rm -f conftest.$ac_objext
  3725. if { (ac_try="$ac_compile"
  3726. case "(($ac_try" in
  3727.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3728.   *) ac_try_echo=$ac_try;;
  3729. esac
  3730. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3731. $as_echo "$ac_try_echo") >&5
  3732.   (eval "$ac_compile") 2>conftest.er1
  3733.   ac_status=$?
  3734.   grep -v '^ *+' conftest.er1 >conftest.err
  3735.   rm -f conftest.er1
  3736.   cat conftest.err >&5
  3737.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3738.   (exit $ac_status); } && {
  3739.      test -z "$ac_c_werror_flag" ||
  3740.      test ! -s conftest.err
  3741.        } && test -s conftest.$ac_objext; then
  3742.   ac_cv_safe_to_define___extensions__=yes
  3743. else
  3744.   $as_echo "$as_me: failed program was:" >&5
  3745. sed 's/^/| /' conftest.$ac_ext >&5
  3746.  
  3747.     ac_cv_safe_to_define___extensions__=no
  3748. fi
  3749.  
  3750. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3751. fi
  3752. { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
  3753. $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
  3754.   test $ac_cv_safe_to_define___extensions__ = yes &&
  3755.     cat >>confdefs.h <<\_ACEOF
  3756. #define __EXTENSIONS__ 1
  3757. _ACEOF
  3758.  
  3759.   cat >>confdefs.h <<\_ACEOF
  3760. #define _ALL_SOURCE 1
  3761. _ACEOF
  3762.  
  3763.   cat >>confdefs.h <<\_ACEOF
  3764. #define _GNU_SOURCE 1
  3765. _ACEOF
  3766.  
  3767.   cat >>confdefs.h <<\_ACEOF
  3768. #define _POSIX_PTHREAD_SEMANTICS 1
  3769. _ACEOF
  3770.  
  3771.   cat >>confdefs.h <<\_ACEOF
  3772. #define _TANDEM_SOURCE 1
  3773. _ACEOF
  3774.  
  3775.  
  3776.     V_CCOPT=""
  3777.     if test "${ac_cv_enable_optimization}" = "" -o \
  3778.     "${ac_cv_enable_optimization}" = yes ; then
  3779.         V_CCOPT="-O"
  3780.     fi
  3781.     V_INCLS=""
  3782.     if test "${srcdir}" != "." ; then
  3783.         V_INCLS="-I\$\(srcdir\)"
  3784.     fi
  3785.     if test -z "$CC" ; then
  3786.         case "$target_os" in
  3787.  
  3788.         bsdi*)
  3789.             # Extract the first word of "shlicc2", so it can be a program name with args.
  3790. set dummy shlicc2; ac_word=$2
  3791. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3792. $as_echo_n "checking for $ac_word... " >&6; }
  3793. if test "${ac_cv_prog_SHLICC2+set}" = set; then
  3794.   $as_echo_n "(cached) " >&6
  3795. else
  3796.   if test -n "$SHLICC2"; then
  3797.   ac_cv_prog_SHLICC2="$SHLICC2" # Let the user override the test.
  3798. else
  3799. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3800. for as_dir in $PATH
  3801. do
  3802.   IFS=$as_save_IFS
  3803.   test -z "$as_dir" && as_dir=.
  3804.   for ac_exec_ext in '' $ac_executable_extensions; do
  3805.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3806.     ac_cv_prog_SHLICC2="yes"
  3807.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3808.     break 2
  3809.   fi
  3810. done
  3811. done
  3812. IFS=$as_save_IFS
  3813.  
  3814.   test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2="no"
  3815. fi
  3816. fi
  3817. SHLICC2=$ac_cv_prog_SHLICC2
  3818. if test -n "$SHLICC2"; then
  3819.   { $as_echo "$as_me:$LINENO: result: $SHLICC2" >&5
  3820. $as_echo "$SHLICC2" >&6; }
  3821. else
  3822.   { $as_echo "$as_me:$LINENO: result: no" >&5
  3823. $as_echo "no" >&6; }
  3824. fi
  3825.  
  3826.  
  3827.             if test $SHLICC2 = yes ; then
  3828.                 CC=shlicc2
  3829.                 export CC
  3830.             fi
  3831.             ;;
  3832.         esac
  3833.     fi
  3834.     if test -z "$CC" -a "$with_gcc" = no ; then
  3835.         CC=cc
  3836.         export CC
  3837.     fi
  3838.     ac_ext=c
  3839. ac_cpp='$CPP $CPPFLAGS'
  3840. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3841. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3842. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3843. if test -n "$ac_tool_prefix"; then
  3844.   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3845. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3846. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3847. $as_echo_n "checking for $ac_word... " >&6; }
  3848. if test "${ac_cv_prog_CC+set}" = set; then
  3849.   $as_echo_n "(cached) " >&6
  3850. else
  3851.   if test -n "$CC"; then
  3852.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3853. else
  3854. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3855. for as_dir in $PATH
  3856. do
  3857.   IFS=$as_save_IFS
  3858.   test -z "$as_dir" && as_dir=.
  3859.   for ac_exec_ext in '' $ac_executable_extensions; do
  3860.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3861.     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3862.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3863.     break 2
  3864.   fi
  3865. done
  3866. done
  3867. IFS=$as_save_IFS
  3868.  
  3869. fi
  3870. fi
  3871. CC=$ac_cv_prog_CC
  3872. if test -n "$CC"; then
  3873.   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3874. $as_echo "$CC" >&6; }
  3875. else
  3876.   { $as_echo "$as_me:$LINENO: result: no" >&5
  3877. $as_echo "no" >&6; }
  3878. fi
  3879.  
  3880.  
  3881. fi
  3882. if test -z "$ac_cv_prog_CC"; then
  3883.   ac_ct_CC=$CC
  3884.   # Extract the first word of "gcc", so it can be a program name with args.
  3885. set dummy gcc; ac_word=$2
  3886. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3887. $as_echo_n "checking for $ac_word... " >&6; }
  3888. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3889.   $as_echo_n "(cached) " >&6
  3890. else
  3891.   if test -n "$ac_ct_CC"; then
  3892.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3893. else
  3894. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3895. for as_dir in $PATH
  3896. do
  3897.   IFS=$as_save_IFS
  3898.   test -z "$as_dir" && as_dir=.
  3899.   for ac_exec_ext in '' $ac_executable_extensions; do
  3900.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3901.     ac_cv_prog_ac_ct_CC="gcc"
  3902.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3903.     break 2
  3904.   fi
  3905. done
  3906. done
  3907. IFS=$as_save_IFS
  3908.  
  3909. fi
  3910. fi
  3911. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3912. if test -n "$ac_ct_CC"; then
  3913.   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3914. $as_echo "$ac_ct_CC" >&6; }
  3915. else
  3916.   { $as_echo "$as_me:$LINENO: result: no" >&5
  3917. $as_echo "no" >&6; }
  3918. fi
  3919.  
  3920.   if test "x$ac_ct_CC" = x; then
  3921.     CC=""
  3922.   else
  3923.     case $cross_compiling:$ac_tool_warned in
  3924. yes:)
  3925. { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3926. whose name does not start with the host triplet.  If you think this
  3927. configuration is useful to you, please write to autoconf@gnu.org." >&5
  3928. $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3929. whose name does not start with the host triplet.  If you think this
  3930. configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3931. ac_tool_warned=yes ;;
  3932. esac
  3933.     CC=$ac_ct_CC
  3934.   fi
  3935. else
  3936.   CC="$ac_cv_prog_CC"
  3937. fi
  3938.  
  3939. if test -z "$CC"; then
  3940.           if test -n "$ac_tool_prefix"; then
  3941.     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3942. set dummy ${ac_tool_prefix}cc; ac_word=$2
  3943. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3944. $as_echo_n "checking for $ac_word... " >&6; }
  3945. if test "${ac_cv_prog_CC+set}" = set; then
  3946.   $as_echo_n "(cached) " >&6
  3947. else
  3948.   if test -n "$CC"; then
  3949.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3950. else
  3951. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3952. for as_dir in $PATH
  3953. do
  3954.   IFS=$as_save_IFS
  3955.   test -z "$as_dir" && as_dir=.
  3956.   for ac_exec_ext in '' $ac_executable_extensions; do
  3957.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3958.     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3959.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3960.     break 2
  3961.   fi
  3962. done
  3963. done
  3964. IFS=$as_save_IFS
  3965.  
  3966. fi
  3967. fi
  3968. CC=$ac_cv_prog_CC
  3969. if test -n "$CC"; then
  3970.   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3971. $as_echo "$CC" >&6; }
  3972. else
  3973.   { $as_echo "$as_me:$LINENO: result: no" >&5
  3974. $as_echo "no" >&6; }
  3975. fi
  3976.  
  3977.  
  3978.   fi
  3979. fi
  3980. if test -z "$CC"; then
  3981.   # Extract the first word of "cc", so it can be a program name with args.
  3982. set dummy cc; ac_word=$2
  3983. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3984. $as_echo_n "checking for $ac_word... " >&6; }
  3985. if test "${ac_cv_prog_CC+set}" = set; then
  3986.   $as_echo_n "(cached) " >&6
  3987. else
  3988.   if test -n "$CC"; then
  3989.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3990. else
  3991.   ac_prog_rejected=no
  3992. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3993. for as_dir in $PATH
  3994. do
  3995.   IFS=$as_save_IFS
  3996.   test -z "$as_dir" && as_dir=.
  3997.   for ac_exec_ext in '' $ac_executable_extensions; do
  3998.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3999.     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4000.        ac_prog_rejected=yes
  4001.        continue
  4002.      fi
  4003.     ac_cv_prog_CC="cc"
  4004.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4005.     break 2
  4006.   fi
  4007. done
  4008. done
  4009. IFS=$as_save_IFS
  4010.  
  4011. if test $ac_prog_rejected = yes; then
  4012.   # We found a bogon in the path, so make sure we never use it.
  4013.   set dummy $ac_cv_prog_CC
  4014.   shift
  4015.   if test $# != 0; then
  4016.     # We chose a different compiler from the bogus one.
  4017.     # However, it has the same basename, so the bogon will be chosen
  4018.     # first if we set CC to just the basename; use the full file name.
  4019.     shift
  4020.     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4021.   fi
  4022. fi
  4023. fi
  4024. fi
  4025. CC=$ac_cv_prog_CC
  4026. if test -n "$CC"; then
  4027.   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4028. $as_echo "$CC" >&6; }
  4029. else
  4030.   { $as_echo "$as_me:$LINENO: result: no" >&5
  4031. $as_echo "no" >&6; }
  4032. fi
  4033.  
  4034.  
  4035. fi
  4036. if test -z "$CC"; then
  4037.   if test -n "$ac_tool_prefix"; then
  4038.   for ac_prog in cl.exe
  4039.   do
  4040.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4041. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4042. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4043. $as_echo_n "checking for $ac_word... " >&6; }
  4044. if test "${ac_cv_prog_CC+set}" = set; then
  4045.   $as_echo_n "(cached) " >&6
  4046. else
  4047.   if test -n "$CC"; then
  4048.   ac_cv_prog_CC="$CC" # Let the user override the test.
  4049. else
  4050. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4051. for as_dir in $PATH
  4052. do
  4053.   IFS=$as_save_IFS
  4054.   test -z "$as_dir" && as_dir=.
  4055.   for ac_exec_ext in '' $ac_executable_extensions; do
  4056.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4057.     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4058.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4059.     break 2
  4060.   fi
  4061. done
  4062. done
  4063. IFS=$as_save_IFS
  4064.  
  4065. fi
  4066. fi
  4067. CC=$ac_cv_prog_CC
  4068. if test -n "$CC"; then
  4069.   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4070. $as_echo "$CC" >&6; }
  4071. else
  4072.   { $as_echo "$as_me:$LINENO: result: no" >&5
  4073. $as_echo "no" >&6; }
  4074. fi
  4075.  
  4076.  
  4077.     test -n "$CC" && break
  4078.   done
  4079. fi
  4080. if test -z "$CC"; then
  4081.   ac_ct_CC=$CC
  4082.   for ac_prog in cl.exe
  4083. do
  4084.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4085. set dummy $ac_prog; ac_word=$2
  4086. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4087. $as_echo_n "checking for $ac_word... " >&6; }
  4088. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4089.   $as_echo_n "(cached) " >&6
  4090. else
  4091.   if test -n "$ac_ct_CC"; then
  4092.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4093. else
  4094. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4095. for as_dir in $PATH
  4096. do
  4097.   IFS=$as_save_IFS
  4098.   test -z "$as_dir" && as_dir=.
  4099.   for ac_exec_ext in '' $ac_executable_extensions; do
  4100.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4101.     ac_cv_prog_ac_ct_CC="$ac_prog"
  4102.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4103.     break 2
  4104.   fi
  4105. done
  4106. done
  4107. IFS=$as_save_IFS
  4108.  
  4109. fi
  4110. fi
  4111. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4112. if test -n "$ac_ct_CC"; then
  4113.   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4114. $as_echo "$ac_ct_CC" >&6; }
  4115. else
  4116.   { $as_echo "$as_me:$LINENO: result: no" >&5
  4117. $as_echo "no" >&6; }
  4118. fi
  4119.  
  4120.  
  4121.   test -n "$ac_ct_CC" && break
  4122. done
  4123.  
  4124.   if test "x$ac_ct_CC" = x; then
  4125.     CC=""
  4126.   else
  4127.     case $cross_compiling:$ac_tool_warned in
  4128. yes:)
  4129. { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4130. whose name does not start with the host triplet.  If you think this
  4131. configuration is useful to you, please write to autoconf@gnu.org." >&5
  4132. $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4133. whose name does not start with the host triplet.  If you think this
  4134. configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4135. ac_tool_warned=yes ;;
  4136. esac
  4137.     CC=$ac_ct_CC
  4138.   fi
  4139. fi
  4140.  
  4141. fi
  4142.  
  4143.  
  4144. test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4145. See \`config.log' for more details." >&5
  4146. $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  4147. See \`config.log' for more details." >&2;}
  4148.    { (exit 1); exit 1; }; }
  4149.  
  4150. # Provide some information about the compiler.
  4151. $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  4152. set X $ac_compile
  4153. ac_compiler=$2
  4154. { (ac_try="$ac_compiler --version >&5"
  4155. case "(($ac_try" in
  4156.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4157.   *) ac_try_echo=$ac_try;;
  4158. esac
  4159. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4160. $as_echo "$ac_try_echo") >&5
  4161.   (eval "$ac_compiler --version >&5") 2>&5
  4162.   ac_status=$?
  4163.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4164.   (exit $ac_status); }
  4165. { (ac_try="$ac_compiler -v >&5"
  4166. case "(($ac_try" in
  4167.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4168.   *) ac_try_echo=$ac_try;;
  4169. esac
  4170. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4171. $as_echo "$ac_try_echo") >&5
  4172.   (eval "$ac_compiler -v >&5") 2>&5
  4173.   ac_status=$?
  4174.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4175.   (exit $ac_status); }
  4176. { (ac_try="$ac_compiler -V >&5"
  4177. case "(($ac_try" in
  4178.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4179.   *) ac_try_echo=$ac_try;;
  4180. esac
  4181. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4182. $as_echo "$ac_try_echo") >&5
  4183.   (eval "$ac_compiler -V >&5") 2>&5
  4184.   ac_status=$?
  4185.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4186.   (exit $ac_status); }
  4187.  
  4188. { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4189. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4190. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4191.   $as_echo_n "(cached) " >&6
  4192. else
  4193.   cat >conftest.$ac_ext <<_ACEOF
  4194. /* confdefs.h.  */
  4195. _ACEOF
  4196. cat confdefs.h >>conftest.$ac_ext
  4197. cat >>conftest.$ac_ext <<_ACEOF
  4198. /* end confdefs.h.  */
  4199.  
  4200. int
  4201. main ()
  4202. {
  4203. #ifndef __GNUC__
  4204.        choke me
  4205. #endif
  4206.  
  4207.   ;
  4208.   return 0;
  4209. }
  4210. _ACEOF
  4211. rm -f conftest.$ac_objext
  4212. if { (ac_try="$ac_compile"
  4213. case "(($ac_try" in
  4214.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4215.   *) ac_try_echo=$ac_try;;
  4216. esac
  4217. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4218. $as_echo "$ac_try_echo") >&5
  4219.   (eval "$ac_compile") 2>conftest.er1
  4220.   ac_status=$?
  4221.   grep -v '^ *+' conftest.er1 >conftest.err
  4222.   rm -f conftest.er1
  4223.   cat conftest.err >&5
  4224.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4225.   (exit $ac_status); } && {
  4226.      test -z "$ac_c_werror_flag" ||
  4227.      test ! -s conftest.err
  4228.        } && test -s conftest.$ac_objext; then
  4229.   ac_compiler_gnu=yes
  4230. else
  4231.   $as_echo "$as_me: failed program was:" >&5
  4232. sed 's/^/| /' conftest.$ac_ext >&5
  4233.  
  4234.     ac_compiler_gnu=no
  4235. fi
  4236.  
  4237. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4238. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4239.  
  4240. fi
  4241. { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4242. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4243. if test $ac_compiler_gnu = yes; then
  4244.   GCC=yes
  4245. else
  4246.   GCC=
  4247. fi
  4248. ac_test_CFLAGS=${CFLAGS+set}
  4249. ac_save_CFLAGS=$CFLAGS
  4250. { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4251. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4252. if test "${ac_cv_prog_cc_g+set}" = set; then
  4253.   $as_echo_n "(cached) " >&6
  4254. else
  4255.   ac_save_c_werror_flag=$ac_c_werror_flag
  4256.    ac_c_werror_flag=yes
  4257.    ac_cv_prog_cc_g=no
  4258.    CFLAGS="-g"
  4259.    cat >conftest.$ac_ext <<_ACEOF
  4260. /* confdefs.h.  */
  4261. _ACEOF
  4262. cat confdefs.h >>conftest.$ac_ext
  4263. cat >>conftest.$ac_ext <<_ACEOF
  4264. /* end confdefs.h.  */
  4265.  
  4266. int
  4267. main ()
  4268. {
  4269.  
  4270.   ;
  4271.   return 0;
  4272. }
  4273. _ACEOF
  4274. rm -f conftest.$ac_objext
  4275. if { (ac_try="$ac_compile"
  4276. case "(($ac_try" in
  4277.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4278.   *) ac_try_echo=$ac_try;;
  4279. esac
  4280. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4281. $as_echo "$ac_try_echo") >&5
  4282.   (eval "$ac_compile") 2>conftest.er1
  4283.   ac_status=$?
  4284.   grep -v '^ *+' conftest.er1 >conftest.err
  4285.   rm -f conftest.er1
  4286.   cat conftest.err >&5
  4287.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4288.   (exit $ac_status); } && {
  4289.      test -z "$ac_c_werror_flag" ||
  4290.      test ! -s conftest.err
  4291.        } && test -s conftest.$ac_objext; then
  4292.   ac_cv_prog_cc_g=yes
  4293. else
  4294.   $as_echo "$as_me: failed program was:" >&5
  4295. sed 's/^/| /' conftest.$ac_ext >&5
  4296.  
  4297.     CFLAGS=""
  4298.       cat >conftest.$ac_ext <<_ACEOF
  4299. /* confdefs.h.  */
  4300. _ACEOF
  4301. cat confdefs.h >>conftest.$ac_ext
  4302. cat >>conftest.$ac_ext <<_ACEOF
  4303. /* end confdefs.h.  */
  4304.  
  4305. int
  4306. main ()
  4307. {
  4308.  
  4309.   ;
  4310.   return 0;
  4311. }
  4312. _ACEOF
  4313. rm -f conftest.$ac_objext
  4314. if { (ac_try="$ac_compile"
  4315. case "(($ac_try" in
  4316.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4317.   *) ac_try_echo=$ac_try;;
  4318. esac
  4319. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4320. $as_echo "$ac_try_echo") >&5
  4321.   (eval "$ac_compile") 2>conftest.er1
  4322.   ac_status=$?
  4323.   grep -v '^ *+' conftest.er1 >conftest.err
  4324.   rm -f conftest.er1
  4325.   cat conftest.err >&5
  4326.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4327.   (exit $ac_status); } && {
  4328.      test -z "$ac_c_werror_flag" ||
  4329.      test ! -s conftest.err
  4330.        } && test -s conftest.$ac_objext; then
  4331.   :
  4332. else
  4333.   $as_echo "$as_me: failed program was:" >&5
  4334. sed 's/^/| /' conftest.$ac_ext >&5
  4335.  
  4336.     ac_c_werror_flag=$ac_save_c_werror_flag
  4337.      CFLAGS="-g"
  4338.      cat >conftest.$ac_ext <<_ACEOF
  4339. /* confdefs.h.  */
  4340. _ACEOF
  4341. cat confdefs.h >>conftest.$ac_ext
  4342. cat >>conftest.$ac_ext <<_ACEOF
  4343. /* end confdefs.h.  */
  4344.  
  4345. int
  4346. main ()
  4347. {
  4348.  
  4349.   ;
  4350.   return 0;
  4351. }
  4352. _ACEOF
  4353. rm -f conftest.$ac_objext
  4354. if { (ac_try="$ac_compile"
  4355. case "(($ac_try" in
  4356.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4357.   *) ac_try_echo=$ac_try;;
  4358. esac
  4359. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4360. $as_echo "$ac_try_echo") >&5
  4361.   (eval "$ac_compile") 2>conftest.er1
  4362.   ac_status=$?
  4363.   grep -v '^ *+' conftest.er1 >conftest.err
  4364.   rm -f conftest.er1
  4365.   cat conftest.err >&5
  4366.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4367.   (exit $ac_status); } && {
  4368.      test -z "$ac_c_werror_flag" ||
  4369.      test ! -s conftest.err
  4370.        } && test -s conftest.$ac_objext; then
  4371.   ac_cv_prog_cc_g=yes
  4372. else
  4373.   $as_echo "$as_me: failed program was:" >&5
  4374. sed 's/^/| /' conftest.$ac_ext >&5
  4375.  
  4376.  
  4377. fi
  4378.  
  4379. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4380. fi
  4381.  
  4382. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4383. fi
  4384.  
  4385. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4386.    ac_c_werror_flag=$ac_save_c_werror_flag
  4387. fi
  4388. { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4389. $as_echo "$ac_cv_prog_cc_g" >&6; }
  4390. if test "$ac_test_CFLAGS" = set; then
  4391.   CFLAGS=$ac_save_CFLAGS
  4392. elif test $ac_cv_prog_cc_g = yes; then
  4393.   if test "$GCC" = yes; then
  4394.     CFLAGS="-g -O2"
  4395.   else
  4396.     CFLAGS="-g"
  4397.   fi
  4398. else
  4399.   if test "$GCC" = yes; then
  4400.     CFLAGS="-O2"
  4401.   else
  4402.     CFLAGS=
  4403.   fi
  4404. fi
  4405. { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4406. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4407. if test "${ac_cv_prog_cc_c89+set}" = set; then
  4408.   $as_echo_n "(cached) " >&6
  4409. else
  4410.   ac_cv_prog_cc_c89=no
  4411. ac_save_CC=$CC
  4412. cat >conftest.$ac_ext <<_ACEOF
  4413. /* confdefs.h.  */
  4414. _ACEOF
  4415. cat confdefs.h >>conftest.$ac_ext
  4416. cat >>conftest.$ac_ext <<_ACEOF
  4417. /* end confdefs.h.  */
  4418. #include <stdarg.h>
  4419. #include <stdio.h>
  4420. #include <sys/types.h>
  4421. #include <sys/stat.h>
  4422. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4423. struct buf { int x; };
  4424. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4425. static char *e (p, i)
  4426.      char **p;
  4427.      int i;
  4428. {
  4429.   return p[i];
  4430. }
  4431. static char *f (char * (*g) (char **, int), char **p, ...)
  4432. {
  4433.   char *s;
  4434.   va_list v;
  4435.   va_start (v,p);
  4436.   s = g (p, va_arg (v,int));
  4437.   va_end (v);
  4438.   return s;
  4439. }
  4440.  
  4441. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4442.    function prototypes and stuff, but not '\xHH' hex character constants.
  4443.    These don't provoke an error unfortunately, instead are silently treated
  4444.    as 'x'.  The following induces an error, until -std is added to get
  4445.    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4446.    array size at least.  It's necessary to write '\x00'==0 to get something
  4447.    that's true only with -std.  */
  4448. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4449.  
  4450. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4451.    inside strings and character constants.  */
  4452. #define FOO(x) 'x'
  4453. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4454.  
  4455. int test (int i, double x);
  4456. struct s1 {int (*f) (int a);};
  4457. struct s2 {int (*f) (double a);};
  4458. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4459. int argc;
  4460. char **argv;
  4461. int
  4462. main ()
  4463. {
  4464. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4465.   ;
  4466.   return 0;
  4467. }
  4468. _ACEOF
  4469. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4470.     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4471. do
  4472.   CC="$ac_save_CC $ac_arg"
  4473.   rm -f conftest.$ac_objext
  4474. if { (ac_try="$ac_compile"
  4475. case "(($ac_try" in
  4476.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4477.   *) ac_try_echo=$ac_try;;
  4478. esac
  4479. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4480. $as_echo "$ac_try_echo") >&5
  4481.   (eval "$ac_compile") 2>conftest.er1
  4482.   ac_status=$?
  4483.   grep -v '^ *+' conftest.er1 >conftest.err
  4484.   rm -f conftest.er1
  4485.   cat conftest.err >&5
  4486.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4487.   (exit $ac_status); } && {
  4488.      test -z "$ac_c_werror_flag" ||
  4489.      test ! -s conftest.err
  4490.        } && test -s conftest.$ac_objext; then
  4491.   ac_cv_prog_cc_c89=$ac_arg
  4492. else
  4493.   $as_echo "$as_me: failed program was:" >&5
  4494. sed 's/^/| /' conftest.$ac_ext >&5
  4495.  
  4496.  
  4497. fi
  4498.  
  4499. rm -f core conftest.err conftest.$ac_objext
  4500.   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4501. done
  4502. rm -f conftest.$ac_ext
  4503. CC=$ac_save_CC
  4504.  
  4505. fi
  4506. # AC_CACHE_VAL
  4507. case "x$ac_cv_prog_cc_c89" in
  4508.   x)
  4509.     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  4510. $as_echo "none needed" >&6; } ;;
  4511.   xno)
  4512.     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  4513. $as_echo "unsupported" >&6; } ;;
  4514.   *)
  4515.     CC="$CC $ac_cv_prog_cc_c89"
  4516.     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4517. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4518. esac
  4519.  
  4520.  
  4521. ac_ext=c
  4522. ac_cpp='$CPP $CPPFLAGS'
  4523. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4524. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4525. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4526.  
  4527.     # Check whether --enable-largefile was given.
  4528. if test "${enable_largefile+set}" = set; then
  4529.   enableval=$enable_largefile;
  4530. fi
  4531.  
  4532. if test "$enable_largefile" != no; then
  4533.  
  4534.   { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
  4535. $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  4536. if test "${ac_cv_sys_largefile_CC+set}" = set; then
  4537.   $as_echo_n "(cached) " >&6
  4538. else
  4539.   ac_cv_sys_largefile_CC=no
  4540.      if test "$GCC" != yes; then
  4541.        ac_save_CC=$CC
  4542.        while :; do
  4543.      # IRIX 6.2 and later do not support large files by default,
  4544.      # so use the C compiler's -n32 option if that helps.
  4545.      cat >conftest.$ac_ext <<_ACEOF
  4546. /* confdefs.h.  */
  4547. _ACEOF
  4548. cat confdefs.h >>conftest.$ac_ext
  4549. cat >>conftest.$ac_ext <<_ACEOF
  4550. /* end confdefs.h.  */
  4551. #include <sys/types.h>
  4552.  /* Check that off_t can represent 2**63 - 1 correctly.
  4553.     We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4554.     since some C++ compilers masquerading as C compilers
  4555.     incorrectly reject 9223372036854775807.  */
  4556. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  4557.   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4558.                && LARGE_OFF_T % 2147483647 == 1)
  4559.               ? 1 : -1];
  4560. int
  4561. main ()
  4562. {
  4563.  
  4564.   ;
  4565.   return 0;
  4566. }
  4567. _ACEOF
  4568.      rm -f conftest.$ac_objext
  4569. if { (ac_try="$ac_compile"
  4570. case "(($ac_try" in
  4571.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4572.   *) ac_try_echo=$ac_try;;
  4573. esac
  4574. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4575. $as_echo "$ac_try_echo") >&5
  4576.   (eval "$ac_compile") 2>conftest.er1
  4577.   ac_status=$?
  4578.   grep -v '^ *+' conftest.er1 >conftest.err
  4579.   rm -f conftest.er1
  4580.   cat conftest.err >&5
  4581.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4582.   (exit $ac_status); } && {
  4583.      test -z "$ac_c_werror_flag" ||
  4584.      test ! -s conftest.err
  4585.        } && test -s conftest.$ac_objext; then
  4586.   break
  4587. else
  4588.   $as_echo "$as_me: failed program was:" >&5
  4589. sed 's/^/| /' conftest.$ac_ext >&5
  4590.  
  4591.  
  4592. fi
  4593.  
  4594. rm -f core conftest.err conftest.$ac_objext
  4595.      CC="$CC -n32"
  4596.      rm -f conftest.$ac_objext
  4597. if { (ac_try="$ac_compile"
  4598. case "(($ac_try" in
  4599.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4600.   *) ac_try_echo=$ac_try;;
  4601. esac
  4602. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4603. $as_echo "$ac_try_echo") >&5
  4604.   (eval "$ac_compile") 2>conftest.er1
  4605.   ac_status=$?
  4606.   grep -v '^ *+' conftest.er1 >conftest.err
  4607.   rm -f conftest.er1
  4608.   cat conftest.err >&5
  4609.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4610.   (exit $ac_status); } && {
  4611.      test -z "$ac_c_werror_flag" ||
  4612.      test ! -s conftest.err
  4613.        } && test -s conftest.$ac_objext; then
  4614.   ac_cv_sys_largefile_CC=' -n32'; break
  4615. else
  4616.   $as_echo "$as_me: failed program was:" >&5
  4617. sed 's/^/| /' conftest.$ac_ext >&5
  4618.  
  4619.  
  4620. fi
  4621.  
  4622. rm -f core conftest.err conftest.$ac_objext
  4623.      break
  4624.        done
  4625.        CC=$ac_save_CC
  4626.        rm -f conftest.$ac_ext
  4627.     fi
  4628. fi
  4629. { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
  4630. $as_echo "$ac_cv_sys_largefile_CC" >&6; }
  4631.   if test "$ac_cv_sys_largefile_CC" != no; then
  4632.     CC=$CC$ac_cv_sys_largefile_CC
  4633.   fi
  4634.  
  4635.   { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  4636. $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  4637. if test "${ac_cv_sys_file_offset_bits+set}" = set; then
  4638.   $as_echo_n "(cached) " >&6
  4639. else
  4640.   while :; do
  4641.   cat >conftest.$ac_ext <<_ACEOF
  4642. /* confdefs.h.  */
  4643. _ACEOF
  4644. cat confdefs.h >>conftest.$ac_ext
  4645. cat >>conftest.$ac_ext <<_ACEOF
  4646. /* end confdefs.h.  */
  4647. #include <sys/types.h>
  4648.  /* Check that off_t can represent 2**63 - 1 correctly.
  4649.     We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4650.     since some C++ compilers masquerading as C compilers
  4651.     incorrectly reject 9223372036854775807.  */
  4652. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  4653.   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4654.                && LARGE_OFF_T % 2147483647 == 1)
  4655.               ? 1 : -1];
  4656. int
  4657. main ()
  4658. {
  4659.  
  4660.   ;
  4661.   return 0;
  4662. }
  4663. _ACEOF
  4664. rm -f conftest.$ac_objext
  4665. if { (ac_try="$ac_compile"
  4666. case "(($ac_try" in
  4667.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4668.   *) ac_try_echo=$ac_try;;
  4669. esac
  4670. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4671. $as_echo "$ac_try_echo") >&5
  4672.   (eval "$ac_compile") 2>conftest.er1
  4673.   ac_status=$?
  4674.   grep -v '^ *+' conftest.er1 >conftest.err
  4675.   rm -f conftest.er1
  4676.   cat conftest.err >&5
  4677.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4678.   (exit $ac_status); } && {
  4679.      test -z "$ac_c_werror_flag" ||
  4680.      test ! -s conftest.err
  4681.        } && test -s conftest.$ac_objext; then
  4682.   ac_cv_sys_file_offset_bits=no; break
  4683. else
  4684.   $as_echo "$as_me: failed program was:" >&5
  4685. sed 's/^/| /' conftest.$ac_ext >&5
  4686.  
  4687.  
  4688. fi
  4689.  
  4690. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4691.   cat >conftest.$ac_ext <<_ACEOF
  4692. /* confdefs.h.  */
  4693. _ACEOF
  4694. cat confdefs.h >>conftest.$ac_ext
  4695. cat >>conftest.$ac_ext <<_ACEOF
  4696. /* end confdefs.h.  */
  4697. #define _FILE_OFFSET_BITS 64
  4698. #include <sys/types.h>
  4699.  /* Check that off_t can represent 2**63 - 1 correctly.
  4700.     We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4701.     since some C++ compilers masquerading as C compilers
  4702.     incorrectly reject 9223372036854775807.  */
  4703. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  4704.   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4705.                && LARGE_OFF_T % 2147483647 == 1)
  4706.               ? 1 : -1];
  4707. int
  4708. main ()
  4709. {
  4710.  
  4711.   ;
  4712.   return 0;
  4713. }
  4714. _ACEOF
  4715. rm -f conftest.$ac_objext
  4716. if { (ac_try="$ac_compile"
  4717. case "(($ac_try" in
  4718.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4719.   *) ac_try_echo=$ac_try;;
  4720. esac
  4721. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4722. $as_echo "$ac_try_echo") >&5
  4723.   (eval "$ac_compile") 2>conftest.er1
  4724.   ac_status=$?
  4725.   grep -v '^ *+' conftest.er1 >conftest.err
  4726.   rm -f conftest.er1
  4727.   cat conftest.err >&5
  4728.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4729.   (exit $ac_status); } && {
  4730.      test -z "$ac_c_werror_flag" ||
  4731.      test ! -s conftest.err
  4732.        } && test -s conftest.$ac_objext; then
  4733.   ac_cv_sys_file_offset_bits=64; break
  4734. else
  4735.   $as_echo "$as_me: failed program was:" >&5
  4736. sed 's/^/| /' conftest.$ac_ext >&5
  4737.  
  4738.  
  4739. fi
  4740.  
  4741. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4742.   ac_cv_sys_file_offset_bits=unknown
  4743.   break
  4744. done
  4745. fi
  4746. { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
  4747. $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  4748. case $ac_cv_sys_file_offset_bits in #(
  4749.   no | unknown) ;;
  4750.   *)
  4751. cat >>confdefs.h <<_ACEOF
  4752. #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  4753. _ACEOF
  4754. ;;
  4755. esac
  4756. rm -rf conftest*
  4757.   if test $ac_cv_sys_file_offset_bits = unknown; then
  4758.     { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
  4759. $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  4760. if test "${ac_cv_sys_large_files+set}" = set; then
  4761.   $as_echo_n "(cached) " >&6
  4762. else
  4763.   while :; do
  4764.   cat >conftest.$ac_ext <<_ACEOF
  4765. /* confdefs.h.  */
  4766. _ACEOF
  4767. cat confdefs.h >>conftest.$ac_ext
  4768. cat >>conftest.$ac_ext <<_ACEOF
  4769. /* end confdefs.h.  */
  4770. #include <sys/types.h>
  4771.  /* Check that off_t can represent 2**63 - 1 correctly.
  4772.     We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4773.     since some C++ compilers masquerading as C compilers
  4774.     incorrectly reject 9223372036854775807.  */
  4775. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  4776.   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4777.                && LARGE_OFF_T % 2147483647 == 1)
  4778.               ? 1 : -1];
  4779. int
  4780. main ()
  4781. {
  4782.  
  4783.   ;
  4784.   return 0;
  4785. }
  4786. _ACEOF
  4787. rm -f conftest.$ac_objext
  4788. if { (ac_try="$ac_compile"
  4789. case "(($ac_try" in
  4790.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4791.   *) ac_try_echo=$ac_try;;
  4792. esac
  4793. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4794. $as_echo "$ac_try_echo") >&5
  4795.   (eval "$ac_compile") 2>conftest.er1
  4796.   ac_status=$?
  4797.   grep -v '^ *+' conftest.er1 >conftest.err
  4798.   rm -f conftest.er1
  4799.   cat conftest.err >&5
  4800.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4801.   (exit $ac_status); } && {
  4802.      test -z "$ac_c_werror_flag" ||
  4803.      test ! -s conftest.err
  4804.        } && test -s conftest.$ac_objext; then
  4805.   ac_cv_sys_large_files=no; break
  4806. else
  4807.   $as_echo "$as_me: failed program was:" >&5
  4808. sed 's/^/| /' conftest.$ac_ext >&5
  4809.  
  4810.  
  4811. fi
  4812.  
  4813. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4814.   cat >conftest.$ac_ext <<_ACEOF
  4815. /* confdefs.h.  */
  4816. _ACEOF
  4817. cat confdefs.h >>conftest.$ac_ext
  4818. cat >>conftest.$ac_ext <<_ACEOF
  4819. /* end confdefs.h.  */
  4820. #define _LARGE_FILES 1
  4821. #include <sys/types.h>
  4822.  /* Check that off_t can represent 2**63 - 1 correctly.
  4823.     We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4824.     since some C++ compilers masquerading as C compilers
  4825.     incorrectly reject 9223372036854775807.  */
  4826. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  4827.   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4828.                && LARGE_OFF_T % 2147483647 == 1)
  4829.               ? 1 : -1];
  4830. int
  4831. main ()
  4832. {
  4833.  
  4834.   ;
  4835.   return 0;
  4836. }
  4837. _ACEOF
  4838. rm -f conftest.$ac_objext
  4839. if { (ac_try="$ac_compile"
  4840. case "(($ac_try" in
  4841.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4842.   *) ac_try_echo=$ac_try;;
  4843. esac
  4844. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4845. $as_echo "$ac_try_echo") >&5
  4846.   (eval "$ac_compile") 2>conftest.er1
  4847.   ac_status=$?
  4848.   grep -v '^ *+' conftest.er1 >conftest.err
  4849.   rm -f conftest.er1
  4850.   cat conftest.err >&5
  4851.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4852.   (exit $ac_status); } && {
  4853.      test -z "$ac_c_werror_flag" ||
  4854.      test ! -s conftest.err
  4855.        } && test -s conftest.$ac_objext; then
  4856.   ac_cv_sys_large_files=1; break
  4857. else
  4858.   $as_echo "$as_me: failed program was:" >&5
  4859. sed 's/^/| /' conftest.$ac_ext >&5
  4860.  
  4861.  
  4862. fi
  4863.  
  4864. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4865.   ac_cv_sys_large_files=unknown
  4866.   break
  4867. done
  4868. fi
  4869. { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
  4870. $as_echo "$ac_cv_sys_large_files" >&6; }
  4871. case $ac_cv_sys_large_files in #(
  4872.   no | unknown) ;;
  4873.   *)
  4874. cat >>confdefs.h <<_ACEOF
  4875. #define _LARGE_FILES $ac_cv_sys_large_files
  4876. _ACEOF
  4877. ;;
  4878. esac
  4879. rm -rf conftest*
  4880.   fi
  4881. fi
  4882.  
  4883.     if test "$GCC" != yes ; then
  4884.         { $as_echo "$as_me:$LINENO: checking that $CC handles ansi prototypes" >&5
  4885. $as_echo_n "checking that $CC handles ansi prototypes... " >&6; }
  4886.         if test "${ac_cv_lbl_cc_ansi_prototypes+set}" = set; then
  4887.   $as_echo_n "(cached) " >&6
  4888. else
  4889.   cat >conftest.$ac_ext <<_ACEOF
  4890. /* confdefs.h.  */
  4891. _ACEOF
  4892. cat confdefs.h >>conftest.$ac_ext
  4893. cat >>conftest.$ac_ext <<_ACEOF
  4894. /* end confdefs.h.  */
  4895. #include <sys/types.h>
  4896. int
  4897. main ()
  4898. {
  4899. int frob(int, char *)
  4900.   ;
  4901.   return 0;
  4902. }
  4903. _ACEOF
  4904. rm -f conftest.$ac_objext
  4905. if { (ac_try="$ac_compile"
  4906. case "(($ac_try" in
  4907.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4908.   *) ac_try_echo=$ac_try;;
  4909. esac
  4910. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4911. $as_echo "$ac_try_echo") >&5
  4912.   (eval "$ac_compile") 2>conftest.er1
  4913.   ac_status=$?
  4914.   grep -v '^ *+' conftest.er1 >conftest.err
  4915.   rm -f conftest.er1
  4916.   cat conftest.err >&5
  4917.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4918.   (exit $ac_status); } && {
  4919.      test -z "$ac_c_werror_flag" ||
  4920.      test ! -s conftest.err
  4921.        } && test -s conftest.$ac_objext; then
  4922.   ac_cv_lbl_cc_ansi_prototypes=yes
  4923. else
  4924.   $as_echo "$as_me: failed program was:" >&5
  4925. sed 's/^/| /' conftest.$ac_ext >&5
  4926.  
  4927.     ac_cv_lbl_cc_ansi_prototypes=no
  4928. fi
  4929.  
  4930. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4931. fi
  4932.  
  4933.         { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_ansi_prototypes" >&5
  4934. $as_echo "$ac_cv_lbl_cc_ansi_prototypes" >&6; }
  4935.         if test $ac_cv_lbl_cc_ansi_prototypes = no ; then
  4936.             case "$target_os" in
  4937.  
  4938.             hpux*)
  4939.                 { $as_echo "$as_me:$LINENO: checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)" >&5
  4940. $as_echo_n "checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)... " >&6; }
  4941.                 savedcflags="$CFLAGS"
  4942.                 CFLAGS="-Aa -D_HPUX_SOURCE $CFLAGS"
  4943.                 if test "${ac_cv_lbl_cc_hpux_cc_aa+set}" = set; then
  4944.   $as_echo_n "(cached) " >&6
  4945. else
  4946.   cat >conftest.$ac_ext <<_ACEOF
  4947. /* confdefs.h.  */
  4948. _ACEOF
  4949. cat confdefs.h >>conftest.$ac_ext
  4950. cat >>conftest.$ac_ext <<_ACEOF
  4951. /* end confdefs.h.  */
  4952. #include <sys/types.h>
  4953. int
  4954. main ()
  4955. {
  4956. int frob(int, char *)
  4957.   ;
  4958.   return 0;
  4959. }
  4960. _ACEOF
  4961. rm -f conftest.$ac_objext
  4962. if { (ac_try="$ac_compile"
  4963. case "(($ac_try" in
  4964.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4965.   *) ac_try_echo=$ac_try;;
  4966. esac
  4967. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4968. $as_echo "$ac_try_echo") >&5
  4969.   (eval "$ac_compile") 2>conftest.er1
  4970.   ac_status=$?
  4971.   grep -v '^ *+' conftest.er1 >conftest.err
  4972.   rm -f conftest.er1
  4973.   cat conftest.err >&5
  4974.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4975.   (exit $ac_status); } && {
  4976.      test -z "$ac_c_werror_flag" ||
  4977.      test ! -s conftest.err
  4978.        } && test -s conftest.$ac_objext; then
  4979.   ac_cv_lbl_cc_hpux_cc_aa=yes
  4980. else
  4981.   $as_echo "$as_me: failed program was:" >&5
  4982. sed 's/^/| /' conftest.$ac_ext >&5
  4983.  
  4984.     ac_cv_lbl_cc_hpux_cc_aa=no
  4985. fi
  4986.  
  4987. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4988. fi
  4989.  
  4990.                 { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_hpux_cc_aa" >&5
  4991. $as_echo "$ac_cv_lbl_cc_hpux_cc_aa" >&6; }
  4992.                 if test $ac_cv_lbl_cc_hpux_cc_aa = no ; then
  4993.                     { { $as_echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5
  4994. $as_echo "$as_me: error: see the INSTALL doc for more info" >&2;}
  4995.    { (exit 1); exit 1; }; }
  4996.                 fi
  4997.                 CFLAGS="$savedcflags"
  4998.                 V_CCOPT="-Aa $V_CCOPT"
  4999.  
  5000. cat >>confdefs.h <<\_ACEOF
  5001. #define _HPUX_SOURCE /**/
  5002. _ACEOF
  5003.  
  5004.                 ;;
  5005.  
  5006.             *)
  5007.                 { { $as_echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5
  5008. $as_echo "$as_me: error: see the INSTALL doc for more info" >&2;}
  5009.    { (exit 1); exit 1; }; }
  5010.                 ;;
  5011.             esac
  5012.         fi
  5013.         V_INCLS="$V_INCLS -I/usr/local/include"
  5014.         LDFLAGS="$LDFLAGS -L/usr/local/lib"
  5015.  
  5016.         case "$target_os" in
  5017.  
  5018.         irix*)
  5019.             V_CCOPT="$V_CCOPT -xansi -signed -g3"
  5020.             ;;
  5021.  
  5022.         osf*)
  5023.             V_CCOPT="$V_CCOPT -std1 -g3"
  5024.             ;;
  5025.  
  5026.         ultrix*)
  5027.             { $as_echo "$as_me:$LINENO: checking that Ultrix $CC hacks const in prototypes" >&5
  5028. $as_echo_n "checking that Ultrix $CC hacks const in prototypes... " >&6; }
  5029.             if test "${ac_cv_lbl_cc_const_proto+set}" = set; then
  5030.   $as_echo_n "(cached) " >&6
  5031. else
  5032.   cat >conftest.$ac_ext <<_ACEOF
  5033. /* confdefs.h.  */
  5034. _ACEOF
  5035. cat confdefs.h >>conftest.$ac_ext
  5036. cat >>conftest.$ac_ext <<_ACEOF
  5037. /* end confdefs.h.  */
  5038. #include <sys/types.h>
  5039. int
  5040. main ()
  5041. {
  5042. struct a { int b; };
  5043.                 void c(const struct a *)
  5044.   ;
  5045.   return 0;
  5046. }
  5047. _ACEOF
  5048. rm -f conftest.$ac_objext
  5049. if { (ac_try="$ac_compile"
  5050. case "(($ac_try" in
  5051.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5052.   *) ac_try_echo=$ac_try;;
  5053. esac
  5054. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5055. $as_echo "$ac_try_echo") >&5
  5056.   (eval "$ac_compile") 2>conftest.er1
  5057.   ac_status=$?
  5058.   grep -v '^ *+' conftest.er1 >conftest.err
  5059.   rm -f conftest.er1
  5060.   cat conftest.err >&5
  5061.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5062.   (exit $ac_status); } && {
  5063.      test -z "$ac_c_werror_flag" ||
  5064.      test ! -s conftest.err
  5065.        } && test -s conftest.$ac_objext; then
  5066.   ac_cv_lbl_cc_const_proto=yes
  5067. else
  5068.   $as_echo "$as_me: failed program was:" >&5
  5069. sed 's/^/| /' conftest.$ac_ext >&5
  5070.  
  5071.     ac_cv_lbl_cc_const_proto=no
  5072. fi
  5073.  
  5074. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5075. fi
  5076.  
  5077.             { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_const_proto" >&5
  5078. $as_echo "$ac_cv_lbl_cc_const_proto" >&6; }
  5079.             if test $ac_cv_lbl_cc_const_proto = no ; then
  5080.  
  5081. cat >>confdefs.h <<\_ACEOF
  5082. #define const /**/
  5083. _ACEOF
  5084.  
  5085.             fi
  5086.             ;;
  5087.         esac
  5088.     fi
  5089.  
  5090. # Find a good install program.  We prefer a C program (faster),
  5091. # so one script is as good as another.  But avoid the broken or
  5092. # incompatible versions:
  5093. # SysV /etc/install, /usr/sbin/install
  5094. # SunOS /usr/etc/install
  5095. # IRIX /sbin/install
  5096. # AIX /bin/install
  5097. # AmigaOS /C/install, which installs bootblocks on floppy discs
  5098. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  5099. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  5100. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  5101. # OS/2's system install, which has a completely different semantic
  5102. # ./install, which can be erroneously created by make from ./install.sh.
  5103. # Reject install programs that cannot install multiple files.
  5104. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  5105. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  5106. if test -z "$INSTALL"; then
  5107. if test "${ac_cv_path_install+set}" = set; then
  5108.   $as_echo_n "(cached) " >&6
  5109. else
  5110.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5111. for as_dir in $PATH
  5112. do
  5113.   IFS=$as_save_IFS
  5114.   test -z "$as_dir" && as_dir=.
  5115.   # Account for people who put trailing slashes in PATH elements.
  5116. case $as_dir/ in
  5117.   ./ | .// | /cC/* | \
  5118.   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  5119.   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  5120.   /usr/ucb/* ) ;;
  5121.   *)
  5122.     # OSF1 and SCO ODT 3.0 have their own names for install.
  5123.     # Don't use installbsd from OSF since it installs stuff as root
  5124.     # by default.
  5125.     for ac_prog in ginstall scoinst install; do
  5126.       for ac_exec_ext in '' $ac_executable_extensions; do
  5127.     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  5128.       if test $ac_prog = install &&
  5129.         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  5130.         # AIX install.  It has an incompatible calling convention.
  5131.         :
  5132.       elif test $ac_prog = install &&
  5133.         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  5134.         # program-specific install script used by HP pwplus--don't use.
  5135.         :
  5136.       else
  5137.         rm -rf conftest.one conftest.two conftest.dir
  5138.         echo one > conftest.one
  5139.         echo two > conftest.two
  5140.         mkdir conftest.dir
  5141.         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  5142.           test -s conftest.one && test -s conftest.two &&
  5143.           test -s conftest.dir/conftest.one &&
  5144.           test -s conftest.dir/conftest.two
  5145.         then
  5146.           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  5147.           break 3
  5148.         fi
  5149.       fi
  5150.     fi
  5151.       done
  5152.     done
  5153.     ;;
  5154. esac
  5155.  
  5156. done
  5157. IFS=$as_save_IFS
  5158.  
  5159. rm -rf conftest.one conftest.two conftest.dir
  5160.  
  5161. fi
  5162.   if test "${ac_cv_path_install+set}" = set; then
  5163.     INSTALL=$ac_cv_path_install
  5164.   else
  5165.     # As a last resort, use the slow shell script.  Don't cache a
  5166.     # value for INSTALL within a source directory, because that will
  5167.     # break other packages using the cache if that directory is
  5168.     # removed, or if the value is a relative name.
  5169.     INSTALL=$ac_install_sh
  5170.   fi
  5171. fi
  5172. { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  5173. $as_echo "$INSTALL" >&6; }
  5174.  
  5175. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  5176. # It thinks the first close brace ends the variable substitution.
  5177. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  5178.  
  5179. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  5180.  
  5181. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  5182.  
  5183.  
  5184.  
  5185. # Check whether --with-flex was given.
  5186. if test "${with_flex+set}" = set; then
  5187.   withval=$with_flex;
  5188. fi
  5189.  
  5190.  
  5191. # Check whether --with-bison was given.
  5192. if test "${with_bison+set}" = set; then
  5193.   withval=$with_bison;
  5194. fi
  5195.  
  5196.     if test "$with_flex" = no ; then
  5197.         V_LEX=lex
  5198.     else
  5199.         for ac_prog in flex
  5200. do
  5201.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5202. set dummy $ac_prog; ac_word=$2
  5203. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5204. $as_echo_n "checking for $ac_word... " >&6; }
  5205. if test "${ac_cv_prog_V_LEX+set}" = set; then
  5206.   $as_echo_n "(cached) " >&6
  5207. else
  5208.   if test -n "$V_LEX"; then
  5209.   ac_cv_prog_V_LEX="$V_LEX" # Let the user override the test.
  5210. else
  5211. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5212. for as_dir in $PATH
  5213. do
  5214.   IFS=$as_save_IFS
  5215.   test -z "$as_dir" && as_dir=.
  5216.   for ac_exec_ext in '' $ac_executable_extensions; do
  5217.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5218.     ac_cv_prog_V_LEX="$ac_prog"
  5219.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5220.     break 2
  5221.   fi
  5222. done
  5223. done
  5224. IFS=$as_save_IFS
  5225.  
  5226. fi
  5227. fi
  5228. V_LEX=$ac_cv_prog_V_LEX
  5229. if test -n "$V_LEX"; then
  5230.   { $as_echo "$as_me:$LINENO: result: $V_LEX" >&5
  5231. $as_echo "$V_LEX" >&6; }
  5232. else
  5233.   { $as_echo "$as_me:$LINENO: result: no" >&5
  5234. $as_echo "no" >&6; }
  5235. fi
  5236.  
  5237.  
  5238.   test -n "$V_LEX" && break
  5239. done
  5240. test -n "$V_LEX" || V_LEX="lex"
  5241.  
  5242.     fi
  5243.     if test "$V_LEX" = flex ; then
  5244.         # The -V flag was added in 2.4
  5245.         { $as_echo "$as_me:$LINENO: checking for flex 2.4 or higher" >&5
  5246. $as_echo_n "checking for flex 2.4 or higher... " >&6; }
  5247.         if test "${ac_cv_lbl_flex_v24+set}" = set; then
  5248.   $as_echo_n "(cached) " >&6
  5249. else
  5250.   if flex -V >/dev/null 2>&1; then
  5251.             ac_cv_lbl_flex_v24=yes
  5252.         else
  5253.             ac_cv_lbl_flex_v24=no
  5254.         fi
  5255. fi
  5256.  
  5257.         { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_flex_v24" >&5
  5258. $as_echo "$ac_cv_lbl_flex_v24" >&6; }
  5259.         if test $ac_cv_lbl_flex_v24 = no ; then
  5260.             s="2.4 or higher required"
  5261.             { $as_echo "$as_me:$LINENO: WARNING: ignoring obsolete flex executable ($s)" >&5
  5262. $as_echo "$as_me: WARNING: ignoring obsolete flex executable ($s)" >&2;}
  5263.             V_LEX=lex
  5264.         fi
  5265.     fi
  5266.     if test "$with_bison" = no ; then
  5267.         V_YACC=yacc
  5268.     else
  5269.         for ac_prog in bison
  5270. do
  5271.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5272. set dummy $ac_prog; ac_word=$2
  5273. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5274. $as_echo_n "checking for $ac_word... " >&6; }
  5275. if test "${ac_cv_prog_V_YACC+set}" = set; then
  5276.   $as_echo_n "(cached) " >&6
  5277. else
  5278.   if test -n "$V_YACC"; then
  5279.   ac_cv_prog_V_YACC="$V_YACC" # Let the user override the test.
  5280. else
  5281. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5282. for as_dir in $PATH
  5283. do
  5284.   IFS=$as_save_IFS
  5285.   test -z "$as_dir" && as_dir=.
  5286.   for ac_exec_ext in '' $ac_executable_extensions; do
  5287.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5288.     ac_cv_prog_V_YACC="$ac_prog"
  5289.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5290.     break 2
  5291.   fi
  5292. done
  5293. done
  5294. IFS=$as_save_IFS
  5295.  
  5296. fi
  5297. fi
  5298. V_YACC=$ac_cv_prog_V_YACC
  5299. if test -n "$V_YACC"; then
  5300.   { $as_echo "$as_me:$LINENO: result: $V_YACC" >&5
  5301. $as_echo "$V_YACC" >&6; }
  5302. else
  5303.   { $as_echo "$as_me:$LINENO: result: no" >&5
  5304. $as_echo "no" >&6; }
  5305. fi
  5306.  
  5307.  
  5308.   test -n "$V_YACC" && break
  5309. done
  5310. test -n "$V_YACC" || V_YACC="yacc"
  5311.  
  5312.     fi
  5313.     if test "$V_YACC" = bison ; then
  5314.         V_YACC="$V_YACC -y"
  5315.     fi
  5316.     if test "$V_LEX" != lex -a "$V_YACC" = yacc -o "$V_LEX" = lex -a "$V_YACC" != yacc ; then
  5317.         { $as_echo "$as_me:$LINENO: WARNING: don't have both flex and bison; reverting to lex/yacc" >&5
  5318. $as_echo "$as_me: WARNING: don't have both flex and bison; reverting to lex/yacc" >&2;}
  5319.         V_LEX=lex
  5320.         V_YACC=yacc
  5321.     fi
  5322.     if test "$V_LEX" = flex -a -n "" ; then
  5323.         V_LEX="$V_LEX -P"
  5324.         V_YACC="$V_YACC -p "
  5325.     fi
  5326.  
  5327.  
  5328.     { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
  5329. $as_echo_n "checking return type of signal handlers... " >&6; }
  5330. if test "${ac_cv_type_signal+set}" = set; then
  5331.   $as_echo_n "(cached) " >&6
  5332. else
  5333.   cat >conftest.$ac_ext <<_ACEOF
  5334. /* confdefs.h.  */
  5335. _ACEOF
  5336. cat confdefs.h >>conftest.$ac_ext
  5337. cat >>conftest.$ac_ext <<_ACEOF
  5338. /* end confdefs.h.  */
  5339. #include <sys/types.h>
  5340. #include <signal.h>
  5341.  
  5342. int
  5343. main ()
  5344. {
  5345. return *(signal (0, 0)) (0) == 1;
  5346.   ;
  5347.   return 0;
  5348. }
  5349. _ACEOF
  5350. rm -f conftest.$ac_objext
  5351. if { (ac_try="$ac_compile"
  5352. case "(($ac_try" in
  5353.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5354.   *) ac_try_echo=$ac_try;;
  5355. esac
  5356. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5357. $as_echo "$ac_try_echo") >&5
  5358.   (eval "$ac_compile") 2>conftest.er1
  5359.   ac_status=$?
  5360.   grep -v '^ *+' conftest.er1 >conftest.err
  5361.   rm -f conftest.er1
  5362.   cat conftest.err >&5
  5363.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5364.   (exit $ac_status); } && {
  5365.      test -z "$ac_c_werror_flag" ||
  5366.      test ! -s conftest.err
  5367.        } && test -s conftest.$ac_objext; then
  5368.   ac_cv_type_signal=int
  5369. else
  5370.   $as_echo "$as_me: failed program was:" >&5
  5371. sed 's/^/| /' conftest.$ac_ext >&5
  5372.  
  5373.     ac_cv_type_signal=void
  5374. fi
  5375.  
  5376. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5377. fi
  5378. { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
  5379. $as_echo "$ac_cv_type_signal" >&6; }
  5380.  
  5381. cat >>confdefs.h <<_ACEOF
  5382. #define RETSIGTYPE $ac_cv_type_signal
  5383. _ACEOF
  5384.  
  5385.  
  5386.     if test "$ac_cv_type_signal" = void ; then
  5387.  
  5388. cat >>confdefs.h <<\_ACEOF
  5389. #define RETSIGVAL /**/
  5390. _ACEOF
  5391.  
  5392.     else
  5393.         cat >>confdefs.h <<\_ACEOF
  5394. #define RETSIGVAL (0)
  5395. _ACEOF
  5396.  
  5397.     fi
  5398.     case "$target_os" in
  5399.  
  5400.     irix*)
  5401.  
  5402. cat >>confdefs.h <<\_ACEOF
  5403. #define _BSD_SIGNALS /**/
  5404. _ACEOF
  5405.  
  5406.         ;;
  5407.  
  5408.     *)
  5409.  
  5410. for ac_func in sigset
  5411. do
  5412. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  5413. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  5414. $as_echo_n "checking for $ac_func... " >&6; }
  5415. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  5416.   $as_echo_n "(cached) " >&6
  5417. else
  5418.   cat >conftest.$ac_ext <<_ACEOF
  5419. /* confdefs.h.  */
  5420. _ACEOF
  5421. cat confdefs.h >>conftest.$ac_ext
  5422. cat >>conftest.$ac_ext <<_ACEOF
  5423. /* end confdefs.h.  */
  5424. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  5425.    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  5426. #define $ac_func innocuous_$ac_func
  5427.  
  5428. /* System header to define __stub macros and hopefully few prototypes,
  5429.     which can conflict with char $ac_func (); below.
  5430.     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5431.     <limits.h> exists even on freestanding compilers.  */
  5432.  
  5433. #ifdef __STDC__
  5434. # include <limits.h>
  5435. #else
  5436. # include <assert.h>
  5437. #endif
  5438.  
  5439. #undef $ac_func
  5440.  
  5441. /* Override any GCC internal prototype to avoid an error.
  5442.    Use char because int might match the return type of a GCC
  5443.    builtin and then its argument prototype would still apply.  */
  5444. #ifdef __cplusplus
  5445. extern "C"
  5446. #endif
  5447. char $ac_func ();
  5448. /* The GNU C library defines this for functions which it implements
  5449.     to always fail with ENOSYS.  Some functions are actually named
  5450.     something starting with __ and the normal name is an alias.  */
  5451. #if defined __stub_$ac_func || defined __stub___$ac_func
  5452. choke me
  5453. #endif
  5454.  
  5455. int
  5456. main ()
  5457. {
  5458. return $ac_func ();
  5459.   ;
  5460.   return 0;
  5461. }
  5462. _ACEOF
  5463. rm -f conftest.$ac_objext conftest$ac_exeext
  5464. if { (ac_try="$ac_link"
  5465. case "(($ac_try" in
  5466.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5467.   *) ac_try_echo=$ac_try;;
  5468. esac
  5469. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5470. $as_echo "$ac_try_echo") >&5
  5471.   (eval "$ac_link") 2>conftest.er1
  5472.   ac_status=$?
  5473.   grep -v '^ *+' conftest.er1 >conftest.err
  5474.   rm -f conftest.er1
  5475.   cat conftest.err >&5
  5476.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5477.   (exit $ac_status); } && {
  5478.      test -z "$ac_c_werror_flag" ||
  5479.      test ! -s conftest.err
  5480.        } && test -s conftest$ac_exeext && {
  5481.      test "$cross_compiling" = yes ||
  5482.      $as_test_x conftest$ac_exeext
  5483.        }; then
  5484.   eval "$as_ac_var=yes"
  5485. else
  5486.   $as_echo "$as_me: failed program was:" >&5
  5487. sed 's/^/| /' conftest.$ac_ext >&5
  5488.  
  5489.     eval "$as_ac_var=no"
  5490. fi
  5491.  
  5492. rm -rf conftest.dSYM
  5493. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5494.       conftest$ac_exeext conftest.$ac_ext
  5495. fi
  5496. ac_res=`eval 'as_val=${'$as_ac_var'}
  5497.          $as_echo "$as_val"'`
  5498.            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  5499. $as_echo "$ac_res" >&6; }
  5500. if test `eval 'as_val=${'$as_ac_var'}
  5501.          $as_echo "$as_val"'` = yes; then
  5502.   cat >>confdefs.h <<_ACEOF
  5503. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  5504. _ACEOF
  5505.  
  5506. fi
  5507. done
  5508.  
  5509.         if test $ac_cv_func_sigset = yes ; then
  5510.  
  5511. cat >>confdefs.h <<\_ACEOF
  5512. #define signal sigset
  5513. _ACEOF
  5514.  
  5515.         else
  5516.  
  5517. for ac_func in sigaction
  5518. do
  5519. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  5520. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  5521. $as_echo_n "checking for $ac_func... " >&6; }
  5522. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  5523.   $as_echo_n "(cached) " >&6
  5524. else
  5525.   cat >conftest.$ac_ext <<_ACEOF
  5526. /* confdefs.h.  */
  5527. _ACEOF
  5528. cat confdefs.h >>conftest.$ac_ext
  5529. cat >>conftest.$ac_ext <<_ACEOF
  5530. /* end confdefs.h.  */
  5531. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  5532.    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  5533. #define $ac_func innocuous_$ac_func
  5534.  
  5535. /* System header to define __stub macros and hopefully few prototypes,
  5536.     which can conflict with char $ac_func (); below.
  5537.     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5538.     <limits.h> exists even on freestanding compilers.  */
  5539.  
  5540. #ifdef __STDC__
  5541. # include <limits.h>
  5542. #else
  5543. # include <assert.h>
  5544. #endif
  5545.  
  5546. #undef $ac_func
  5547.  
  5548. /* Override any GCC internal prototype to avoid an error.
  5549.    Use char because int might match the return type of a GCC
  5550.    builtin and then its argument prototype would still apply.  */
  5551. #ifdef __cplusplus
  5552. extern "C"
  5553. #endif
  5554. char $ac_func ();
  5555. /* The GNU C library defines this for functions which it implements
  5556.     to always fail with ENOSYS.  Some functions are actually named
  5557.     something starting with __ and the normal name is an alias.  */
  5558. #if defined __stub_$ac_func || defined __stub___$ac_func
  5559. choke me
  5560. #endif
  5561.  
  5562. int
  5563. main ()
  5564. {
  5565. return $ac_func ();
  5566.   ;
  5567.   return 0;
  5568. }
  5569. _ACEOF
  5570. rm -f conftest.$ac_objext conftest$ac_exeext
  5571. if { (ac_try="$ac_link"
  5572. case "(($ac_try" in
  5573.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5574.   *) ac_try_echo=$ac_try;;
  5575. esac
  5576. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5577. $as_echo "$ac_try_echo") >&5
  5578.   (eval "$ac_link") 2>conftest.er1
  5579.   ac_status=$?
  5580.   grep -v '^ *+' conftest.er1 >conftest.err
  5581.   rm -f conftest.er1
  5582.   cat conftest.err >&5
  5583.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5584.   (exit $ac_status); } && {
  5585.      test -z "$ac_c_werror_flag" ||
  5586.      test ! -s conftest.err
  5587.        } && test -s conftest$ac_exeext && {
  5588.      test "$cross_compiling" = yes ||
  5589.      $as_test_x conftest$ac_exeext
  5590.        }; then
  5591.   eval "$as_ac_var=yes"
  5592. else
  5593.   $as_echo "$as_me: failed program was:" >&5
  5594. sed 's/^/| /' conftest.$ac_ext >&5
  5595.  
  5596.     eval "$as_ac_var=no"
  5597. fi
  5598.  
  5599. rm -rf conftest.dSYM
  5600. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5601.       conftest$ac_exeext conftest.$ac_ext
  5602. fi
  5603. ac_res=`eval 'as_val=${'$as_ac_var'}
  5604.          $as_echo "$as_val"'`
  5605.            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  5606. $as_echo "$ac_res" >&6; }
  5607. if test `eval 'as_val=${'$as_ac_var'}
  5608.          $as_echo "$as_val"'` = yes; then
  5609.   cat >>confdefs.h <<_ACEOF
  5610. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  5611. _ACEOF
  5612.  
  5613. fi
  5614. done
  5615.  
  5616.         fi
  5617.         ;;
  5618.     esac
  5619. { $as_echo "$as_me:$LINENO: checking for int32_t using $CC" >&5
  5620. $as_echo_n "checking for int32_t using $CC... " >&6; }
  5621.     if test "${ac_cv_lbl_have_int32_t+set}" = set; then
  5622.   $as_echo_n "(cached) " >&6
  5623. else
  5624.   cat >conftest.$ac_ext <<_ACEOF
  5625. /* confdefs.h.  */
  5626. _ACEOF
  5627. cat confdefs.h >>conftest.$ac_ext
  5628. cat >>conftest.$ac_ext <<_ACEOF
  5629. /* end confdefs.h.  */
  5630.  
  5631. #    include "confdefs.h"
  5632. #    include <sys/types.h>
  5633. #    if STDC_HEADERS
  5634. #    include <stdlib.h>
  5635. #    include <stddef.h>
  5636. #    endif
  5637. int
  5638. main ()
  5639. {
  5640. int32_t i
  5641.   ;
  5642.   return 0;
  5643. }
  5644. _ACEOF
  5645. rm -f conftest.$ac_objext
  5646. if { (ac_try="$ac_compile"
  5647. case "(($ac_try" in
  5648.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5649.   *) ac_try_echo=$ac_try;;
  5650. esac
  5651. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5652. $as_echo "$ac_try_echo") >&5
  5653.   (eval "$ac_compile") 2>conftest.er1
  5654.   ac_status=$?
  5655.   grep -v '^ *+' conftest.er1 >conftest.err
  5656.   rm -f conftest.er1
  5657.   cat conftest.err >&5
  5658.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5659.   (exit $ac_status); } && {
  5660.      test -z "$ac_c_werror_flag" ||
  5661.      test ! -s conftest.err
  5662.        } && test -s conftest.$ac_objext; then
  5663.   ac_cv_lbl_have_int32_t=yes
  5664. else
  5665.   $as_echo "$as_me: failed program was:" >&5
  5666. sed 's/^/| /' conftest.$ac_ext >&5
  5667.  
  5668.     ac_cv_lbl_have_int32_t=no
  5669. fi
  5670.  
  5671. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5672. fi
  5673.  
  5674.     { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_have_int32_t" >&5
  5675. $as_echo "$ac_cv_lbl_have_int32_t" >&6; }
  5676.     if test $ac_cv_lbl_have_int32_t = no ; then
  5677.  
  5678. cat >>confdefs.h <<\_ACEOF
  5679. #define int32_t int
  5680. _ACEOF
  5681.  
  5682.     fi
  5683. { $as_echo "$as_me:$LINENO: checking for u_int32_t using $CC" >&5
  5684. $as_echo_n "checking for u_int32_t using $CC... " >&6; }
  5685.     if test "${ac_cv_lbl_have_u_int32_t+set}" = set; then
  5686.   $as_echo_n "(cached) " >&6
  5687. else
  5688.   cat >conftest.$ac_ext <<_ACEOF
  5689. /* confdefs.h.  */
  5690. _ACEOF
  5691. cat confdefs.h >>conftest.$ac_ext
  5692. cat >>conftest.$ac_ext <<_ACEOF
  5693. /* end confdefs.h.  */
  5694.  
  5695. #    include "confdefs.h"
  5696. #    include <sys/types.h>
  5697. #    if STDC_HEADERS
  5698. #    include <stdlib.h>
  5699. #    include <stddef.h>
  5700. #    endif
  5701. int
  5702. main ()
  5703. {
  5704. u_int32_t i
  5705.   ;
  5706.   return 0;
  5707. }
  5708. _ACEOF
  5709. rm -f conftest.$ac_objext
  5710. if { (ac_try="$ac_compile"
  5711. case "(($ac_try" in
  5712.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5713.   *) ac_try_echo=$ac_try;;
  5714. esac
  5715. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5716. $as_echo "$ac_try_echo") >&5
  5717.   (eval "$ac_compile") 2>conftest.er1
  5718.   ac_status=$?
  5719.   grep -v '^ *+' conftest.er1 >conftest.err
  5720.   rm -f conftest.er1
  5721.   cat conftest.err >&5
  5722.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5723.   (exit $ac_status); } && {
  5724.      test -z "$ac_c_werror_flag" ||
  5725.      test ! -s conftest.err
  5726.        } && test -s conftest.$ac_objext; then
  5727.   ac_cv_lbl_have_u_int32_t=yes
  5728. else
  5729.   $as_echo "$as_me: failed program was:" >&5
  5730. sed 's/^/| /' conftest.$ac_ext >&5
  5731.  
  5732.     ac_cv_lbl_have_u_int32_t=no
  5733. fi
  5734.  
  5735. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5736. fi
  5737.  
  5738.     { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_have_u_int32_t" >&5
  5739. $as_echo "$ac_cv_lbl_have_u_int32_t" >&6; }
  5740.     if test $ac_cv_lbl_have_u_int32_t = no ; then
  5741.  
  5742. cat >>confdefs.h <<\_ACEOF
  5743. #define u_int32_t u_int
  5744. _ACEOF
  5745.  
  5746.     fi
  5747. { $as_echo "$as_me:$LINENO: checking for u_int16_t using $CC" >&5
  5748. $as_echo_n "checking for u_int16_t using $CC... " >&6; }
  5749.     if test "${ac_cv_lbl_have_u_int16_t+set}" = set; then
  5750.   $as_echo_n "(cached) " >&6
  5751. else
  5752.   cat >conftest.$ac_ext <<_ACEOF
  5753. /* confdefs.h.  */
  5754. _ACEOF
  5755. cat confdefs.h >>conftest.$ac_ext
  5756. cat >>conftest.$ac_ext <<_ACEOF
  5757. /* end confdefs.h.  */
  5758.  
  5759. #    include "confdefs.h"
  5760. #    include <sys/types.h>
  5761. #    if STDC_HEADERS
  5762. #    include <stdlib.h>
  5763. #    include <stddef.h>
  5764. #    endif
  5765. int
  5766. main ()
  5767. {
  5768. u_int16_t i
  5769.   ;
  5770.   return 0;
  5771. }
  5772. _ACEOF
  5773. rm -f conftest.$ac_objext
  5774. if { (ac_try="$ac_compile"
  5775. case "(($ac_try" in
  5776.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5777.   *) ac_try_echo=$ac_try;;
  5778. esac
  5779. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5780. $as_echo "$ac_try_echo") >&5
  5781.   (eval "$ac_compile") 2>conftest.er1
  5782.   ac_status=$?
  5783.   grep -v '^ *+' conftest.er1 >conftest.err
  5784.   rm -f conftest.er1
  5785.   cat conftest.err >&5
  5786.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5787.   (exit $ac_status); } && {
  5788.      test -z "$ac_c_werror_flag" ||
  5789.      test ! -s conftest.err
  5790.        } && test -s conftest.$ac_objext; then
  5791.   ac_cv_lbl_have_u_int16_t=yes
  5792. else
  5793.   $as_echo "$as_me: failed program was:" >&5
  5794. sed 's/^/| /' conftest.$ac_ext >&5
  5795.  
  5796.     ac_cv_lbl_have_u_int16_t=no
  5797. fi
  5798.  
  5799. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5800. fi
  5801.  
  5802.     { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_have_u_int16_t" >&5
  5803. $as_echo "$ac_cv_lbl_have_u_int16_t" >&6; }
  5804.     if test $ac_cv_lbl_have_u_int16_t = no ; then
  5805.  
  5806. cat >>confdefs.h <<\_ACEOF
  5807. #define u_int16_t u_short
  5808. _ACEOF
  5809.  
  5810.     fi
  5811.  
  5812.  
  5813.  
  5814.  
  5815. for ac_header in memory.h net/ethernet.h netinet/ether.h
  5816. do
  5817. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5818. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5819.   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  5820. $as_echo_n "checking for $ac_header... " >&6; }
  5821. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5822.   $as_echo_n "(cached) " >&6
  5823. fi
  5824. ac_res=`eval 'as_val=${'$as_ac_Header'}
  5825.          $as_echo "$as_val"'`
  5826.            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  5827. $as_echo "$ac_res" >&6; }
  5828. else
  5829.   # Is the header compilable?
  5830. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5831. $as_echo_n "checking $ac_header usability... " >&6; }
  5832. cat >conftest.$ac_ext <<_ACEOF
  5833. /* confdefs.h.  */
  5834. _ACEOF
  5835. cat confdefs.h >>conftest.$ac_ext
  5836. cat >>conftest.$ac_ext <<_ACEOF
  5837. /* end confdefs.h.  */
  5838. $ac_includes_default
  5839. #include <$ac_header>
  5840. _ACEOF
  5841. rm -f conftest.$ac_objext
  5842. if { (ac_try="$ac_compile"
  5843. case "(($ac_try" in
  5844.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5845.   *) ac_try_echo=$ac_try;;
  5846. esac
  5847. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5848. $as_echo "$ac_try_echo") >&5
  5849.   (eval "$ac_compile") 2>conftest.er1
  5850.   ac_status=$?
  5851.   grep -v '^ *+' conftest.er1 >conftest.err
  5852.   rm -f conftest.er1
  5853.   cat conftest.err >&5
  5854.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5855.   (exit $ac_status); } && {
  5856.      test -z "$ac_c_werror_flag" ||
  5857.      test ! -s conftest.err
  5858.        } && test -s conftest.$ac_objext; then
  5859.   ac_header_compiler=yes
  5860. else
  5861.   $as_echo "$as_me: failed program was:" >&5
  5862. sed 's/^/| /' conftest.$ac_ext >&5
  5863.  
  5864.     ac_header_compiler=no
  5865. fi
  5866.  
  5867. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5868. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5869. $as_echo "$ac_header_compiler" >&6; }
  5870.  
  5871. # Is the header present?
  5872. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  5873. $as_echo_n "checking $ac_header presence... " >&6; }
  5874. cat >conftest.$ac_ext <<_ACEOF
  5875. /* confdefs.h.  */
  5876. _ACEOF
  5877. cat confdefs.h >>conftest.$ac_ext
  5878. cat >>conftest.$ac_ext <<_ACEOF
  5879. /* end confdefs.h.  */
  5880. #include <$ac_header>
  5881. _ACEOF
  5882. if { (ac_try="$ac_cpp conftest.$ac_ext"
  5883. case "(($ac_try" in
  5884.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5885.   *) ac_try_echo=$ac_try;;
  5886. esac
  5887. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5888. $as_echo "$ac_try_echo") >&5
  5889.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5890.   ac_status=$?
  5891.   grep -v '^ *+' conftest.er1 >conftest.err
  5892.   rm -f conftest.er1
  5893.   cat conftest.err >&5
  5894.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5895.   (exit $ac_status); } >/dev/null && {
  5896.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5897.      test ! -s conftest.err
  5898.        }; then
  5899.   ac_header_preproc=yes
  5900. else
  5901.   $as_echo "$as_me: failed program was:" >&5
  5902. sed 's/^/| /' conftest.$ac_ext >&5
  5903.  
  5904.   ac_header_preproc=no
  5905. fi
  5906.  
  5907. rm -f conftest.err conftest.$ac_ext
  5908. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5909. $as_echo "$ac_header_preproc" >&6; }
  5910.  
  5911. # So?  What about this header?
  5912. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5913.   yes:no: )
  5914.     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  5915. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5916.     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  5917. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  5918.     ac_header_preproc=yes
  5919.     ;;
  5920.   no:yes:* )
  5921.     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  5922. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  5923.     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
  5924. $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
  5925.     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  5926. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  5927.     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  5928. $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  5929.     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  5930. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  5931.     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  5932. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  5933.  
  5934.     ;;
  5935. esac
  5936. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  5937. $as_echo_n "checking for $ac_header... " >&6; }
  5938. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5939.   $as_echo_n "(cached) " >&6
  5940. else
  5941.   eval "$as_ac_Header=\$ac_header_preproc"
  5942. fi
  5943. ac_res=`eval 'as_val=${'$as_ac_Header'}
  5944.          $as_echo "$as_val"'`
  5945.            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  5946. $as_echo "$ac_res" >&6; }
  5947.  
  5948. fi
  5949. if test `eval 'as_val=${'$as_ac_Header'}
  5950.          $as_echo "$as_val"'` = yes; then
  5951.   cat >>confdefs.h <<_ACEOF
  5952. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5953. _ACEOF
  5954.  
  5955. fi
  5956.  
  5957. done
  5958.  
  5959.  
  5960.  
  5961. for ac_func in strerror
  5962. do
  5963. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  5964. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  5965. $as_echo_n "checking for $ac_func... " >&6; }
  5966. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  5967.   $as_echo_n "(cached) " >&6
  5968. else
  5969.   cat >conftest.$ac_ext <<_ACEOF
  5970. /* confdefs.h.  */
  5971. _ACEOF
  5972. cat confdefs.h >>conftest.$ac_ext
  5973. cat >>conftest.$ac_ext <<_ACEOF
  5974. /* end confdefs.h.  */
  5975. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  5976.    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  5977. #define $ac_func innocuous_$ac_func
  5978.  
  5979. /* System header to define __stub macros and hopefully few prototypes,
  5980.     which can conflict with char $ac_func (); below.
  5981.     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5982.     <limits.h> exists even on freestanding compilers.  */
  5983.  
  5984. #ifdef __STDC__
  5985. # include <limits.h>
  5986. #else
  5987. # include <assert.h>
  5988. #endif
  5989.  
  5990. #undef $ac_func
  5991.  
  5992. /* Override any GCC internal prototype to avoid an error.
  5993.    Use char because int might match the return type of a GCC
  5994.    builtin and then its argument prototype would still apply.  */
  5995. #ifdef __cplusplus
  5996. extern "C"
  5997. #endif
  5998. char $ac_func ();
  5999. /* The GNU C library defines this for functions which it implements
  6000.     to always fail with ENOSYS.  Some functions are actually named
  6001.     something starting with __ and the normal name is an alias.  */
  6002. #if defined __stub_$ac_func || defined __stub___$ac_func
  6003. choke me
  6004. #endif
  6005.  
  6006. int
  6007. main ()
  6008. {
  6009. return $ac_func ();
  6010.   ;
  6011.   return 0;
  6012. }
  6013. _ACEOF
  6014. rm -f conftest.$ac_objext conftest$ac_exeext
  6015. if { (ac_try="$ac_link"
  6016. case "(($ac_try" in
  6017.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6018.   *) ac_try_echo=$ac_try;;
  6019. esac
  6020. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6021. $as_echo "$ac_try_echo") >&5
  6022.   (eval "$ac_link") 2>conftest.er1
  6023.   ac_status=$?
  6024.   grep -v '^ *+' conftest.er1 >conftest.err
  6025.   rm -f conftest.er1
  6026.   cat conftest.err >&5
  6027.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6028.   (exit $ac_status); } && {
  6029.      test -z "$ac_c_werror_flag" ||
  6030.      test ! -s conftest.err
  6031.        } && test -s conftest$ac_exeext && {
  6032.      test "$cross_compiling" = yes ||
  6033.      $as_test_x conftest$ac_exeext
  6034.        }; then
  6035.   eval "$as_ac_var=yes"
  6036. else
  6037.   $as_echo "$as_me: failed program was:" >&5
  6038. sed 's/^/| /' conftest.$ac_ext >&5
  6039.  
  6040.     eval "$as_ac_var=no"
  6041. fi
  6042.  
  6043. rm -rf conftest.dSYM
  6044. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6045.       conftest$ac_exeext conftest.$ac_ext
  6046. fi
  6047. ac_res=`eval 'as_val=${'$as_ac_var'}
  6048.          $as_echo "$as_val"'`
  6049.            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  6050. $as_echo "$ac_res" >&6; }
  6051. if test `eval 'as_val=${'$as_ac_var'}
  6052.          $as_echo "$as_val"'` = yes; then
  6053.   cat >>confdefs.h <<_ACEOF
  6054. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  6055. _ACEOF
  6056.  
  6057. else
  6058.   case " $LIBOBJS " in
  6059.   *" $ac_func.$ac_objext "* ) ;;
  6060.   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
  6061.  ;;
  6062. esac
  6063.  
  6064. fi
  6065. done
  6066.  
  6067.  
  6068.  
  6069. d="/usr/local/bind"
  6070. { $as_echo "$as_me:$LINENO: checking for ${d}" >&5
  6071. $as_echo_n "checking for ${d}... " >&6; }
  6072. if test -d ${d}; then
  6073.     { $as_echo "$as_me:$LINENO: result: yes" >&5
  6074. $as_echo "yes" >&6; }
  6075.     LDFLAGS="$LDFLAGS -L${d}/lib"
  6076.     V_INCLS="$V_INCLS -I${d}/include"
  6077. else
  6078.     { $as_echo "$as_me:$LINENO: result: no" >&5
  6079. $as_echo "no" >&6; }
  6080. fi
  6081.  
  6082.  
  6083. { $as_echo "$as_me:$LINENO: checking for main in -lsocket" >&5
  6084. $as_echo_n "checking for main in -lsocket... " >&6; }
  6085. if test "${ac_cv_lib_socket_main+set}" = set; then
  6086.   $as_echo_n "(cached) " >&6
  6087. else
  6088.   ac_check_lib_save_LIBS=$LIBS
  6089. LIBS="-lsocket  $LIBS"
  6090. cat >conftest.$ac_ext <<_ACEOF
  6091. /* confdefs.h.  */
  6092. _ACEOF
  6093. cat confdefs.h >>conftest.$ac_ext
  6094. cat >>conftest.$ac_ext <<_ACEOF
  6095. /* end confdefs.h.  */
  6096.  
  6097.  
  6098. int
  6099. main ()
  6100. {
  6101. return main ();
  6102.   ;
  6103.   return 0;
  6104. }
  6105. _ACEOF
  6106. rm -f conftest.$ac_objext conftest$ac_exeext
  6107. if { (ac_try="$ac_link"
  6108. case "(($ac_try" in
  6109.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6110.   *) ac_try_echo=$ac_try;;
  6111. esac
  6112. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6113. $as_echo "$ac_try_echo") >&5
  6114.   (eval "$ac_link") 2>conftest.er1
  6115.   ac_status=$?
  6116.   grep -v '^ *+' conftest.er1 >conftest.err
  6117.   rm -f conftest.er1
  6118.   cat conftest.err >&5
  6119.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6120.   (exit $ac_status); } && {
  6121.      test -z "$ac_c_werror_flag" ||
  6122.      test ! -s conftest.err
  6123.        } && test -s conftest$ac_exeext && {
  6124.      test "$cross_compiling" = yes ||
  6125.      $as_test_x conftest$ac_exeext
  6126.        }; then
  6127.   ac_cv_lib_socket_main=yes
  6128. else
  6129.   $as_echo "$as_me: failed program was:" >&5
  6130. sed 's/^/| /' conftest.$ac_ext >&5
  6131.  
  6132.     ac_cv_lib_socket_main=no
  6133. fi
  6134.  
  6135. rm -rf conftest.dSYM
  6136. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6137.       conftest$ac_exeext conftest.$ac_ext
  6138. LIBS=$ac_check_lib_save_LIBS
  6139. fi
  6140. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
  6141. $as_echo "$ac_cv_lib_socket_main" >&6; }
  6142. if test $ac_cv_lib_socket_main = yes; then
  6143.   cat >>confdefs.h <<_ACEOF
  6144. #define HAVE_LIBSOCKET 1
  6145. _ACEOF
  6146.  
  6147.   LIBS="-lsocket $LIBS"
  6148.  
  6149. fi
  6150.  
  6151.  
  6152. { $as_echo "$as_me:$LINENO: checking for main in -lnsl" >&5
  6153. $as_echo_n "checking for main in -lnsl... " >&6; }
  6154. if test "${ac_cv_lib_nsl_main+set}" = set; then
  6155.   $as_echo_n "(cached) " >&6
  6156. else
  6157.   ac_check_lib_save_LIBS=$LIBS
  6158. LIBS="-lnsl  $LIBS"
  6159. cat >conftest.$ac_ext <<_ACEOF
  6160. /* confdefs.h.  */
  6161. _ACEOF
  6162. cat confdefs.h >>conftest.$ac_ext
  6163. cat >>conftest.$ac_ext <<_ACEOF
  6164. /* end confdefs.h.  */
  6165.  
  6166.  
  6167. int
  6168. main ()
  6169. {
  6170. return main ();
  6171.   ;
  6172.   return 0;
  6173. }
  6174. _ACEOF
  6175. rm -f conftest.$ac_objext conftest$ac_exeext
  6176. if { (ac_try="$ac_link"
  6177. case "(($ac_try" in
  6178.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6179.   *) ac_try_echo=$ac_try;;
  6180. esac
  6181. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6182. $as_echo "$ac_try_echo") >&5
  6183.   (eval "$ac_link") 2>conftest.er1
  6184.   ac_status=$?
  6185.   grep -v '^ *+' conftest.er1 >conftest.err
  6186.   rm -f conftest.er1
  6187.   cat conftest.err >&5
  6188.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6189.   (exit $ac_status); } && {
  6190.      test -z "$ac_c_werror_flag" ||
  6191.      test ! -s conftest.err
  6192.        } && test -s conftest$ac_exeext && {
  6193.      test "$cross_compiling" = yes ||
  6194.      $as_test_x conftest$ac_exeext
  6195.        }; then
  6196.   ac_cv_lib_nsl_main=yes
  6197. else
  6198.   $as_echo "$as_me: failed program was:" >&5
  6199. sed 's/^/| /' conftest.$ac_ext >&5
  6200.  
  6201.     ac_cv_lib_nsl_main=no
  6202. fi
  6203.  
  6204. rm -rf conftest.dSYM
  6205. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6206.       conftest$ac_exeext conftest.$ac_ext
  6207. LIBS=$ac_check_lib_save_LIBS
  6208. fi
  6209. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
  6210. $as_echo "$ac_cv_lib_nsl_main" >&6; }
  6211. if test $ac_cv_lib_nsl_main = yes; then
  6212.   cat >>confdefs.h <<_ACEOF
  6213. #define HAVE_LIBNSL 1
  6214. _ACEOF
  6215.  
  6216.   LIBS="-lnsl $LIBS"
  6217.  
  6218. fi
  6219.  
  6220.  
  6221.  
  6222. { $as_echo "$as_me:$LINENO: checking for ns_initparse" >&5
  6223. $as_echo_n "checking for ns_initparse... " >&6; }
  6224. cat >conftest.$ac_ext <<_ACEOF
  6225. /* confdefs.h.  */
  6226. _ACEOF
  6227. cat confdefs.h >>conftest.$ac_ext
  6228. cat >>conftest.$ac_ext <<_ACEOF
  6229. /* end confdefs.h.  */
  6230.  
  6231. #       include <sys/types.h>
  6232. #       include <netinet/in.h>
  6233. #       include <arpa/nameser.h>
  6234. #       include <resolv.h>
  6235. int
  6236. main ()
  6237. {
  6238. int i = ns_initparse((u_char *)0, 0, (ns_msg *)0)
  6239.   ;
  6240.   return 0;
  6241. }
  6242. _ACEOF
  6243. rm -f conftest.$ac_objext conftest$ac_exeext
  6244. if { (ac_try="$ac_link"
  6245. case "(($ac_try" in
  6246.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6247.   *) ac_try_echo=$ac_try;;
  6248. esac
  6249. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6250. $as_echo "$ac_try_echo") >&5
  6251.   (eval "$ac_link") 2>conftest.er1
  6252.   ac_status=$?
  6253.   grep -v '^ *+' conftest.er1 >conftest.err
  6254.   rm -f conftest.er1
  6255.   cat conftest.err >&5
  6256.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6257.   (exit $ac_status); } && {
  6258.      test -z "$ac_c_werror_flag" ||
  6259.      test ! -s conftest.err
  6260.        } && test -s conftest$ac_exeext && {
  6261.      test "$cross_compiling" = yes ||
  6262.      $as_test_x conftest$ac_exeext
  6263.        }; then
  6264.   hf_have_ns_initparse=yes
  6265. else
  6266.   $as_echo "$as_me: failed program was:" >&5
  6267. sed 's/^/| /' conftest.$ac_ext >&5
  6268.  
  6269.     hf_have_ns_initparse=no
  6270. fi
  6271.  
  6272. rm -rf conftest.dSYM
  6273. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6274.       conftest$ac_exeext conftest.$ac_ext
  6275. { $as_echo "$as_me:$LINENO: result: $hf_have_ns_initparse" >&5
  6276. $as_echo "$hf_have_ns_initparse" >&6; }
  6277.  
  6278. if test $hf_have_ns_initparse = yes ; then
  6279.  
  6280. for ac_func in res_mkquery
  6281. do
  6282. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  6283. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  6284. $as_echo_n "checking for $ac_func... " >&6; }
  6285. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  6286.   $as_echo_n "(cached) " >&6
  6287. else
  6288.   cat >conftest.$ac_ext <<_ACEOF
  6289. /* confdefs.h.  */
  6290. _ACEOF
  6291. cat confdefs.h >>conftest.$ac_ext
  6292. cat >>conftest.$ac_ext <<_ACEOF
  6293. /* end confdefs.h.  */
  6294. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6295.    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  6296. #define $ac_func innocuous_$ac_func
  6297.  
  6298. /* System header to define __stub macros and hopefully few prototypes,
  6299.     which can conflict with char $ac_func (); below.
  6300.     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6301.     <limits.h> exists even on freestanding compilers.  */
  6302.  
  6303. #ifdef __STDC__
  6304. # include <limits.h>
  6305. #else
  6306. # include <assert.h>
  6307. #endif
  6308.  
  6309. #undef $ac_func
  6310.  
  6311. /* Override any GCC internal prototype to avoid an error.
  6312.    Use char because int might match the return type of a GCC
  6313.    builtin and then its argument prototype would still apply.  */
  6314. #ifdef __cplusplus
  6315. extern "C"
  6316. #endif
  6317. char $ac_func ();
  6318. /* The GNU C library defines this for functions which it implements
  6319.     to always fail with ENOSYS.  Some functions are actually named
  6320.     something starting with __ and the normal name is an alias.  */
  6321. #if defined __stub_$ac_func || defined __stub___$ac_func
  6322. choke me
  6323. #endif
  6324.  
  6325. int
  6326. main ()
  6327. {
  6328. return $ac_func ();
  6329.   ;
  6330.   return 0;
  6331. }
  6332. _ACEOF
  6333. rm -f conftest.$ac_objext conftest$ac_exeext
  6334. if { (ac_try="$ac_link"
  6335. case "(($ac_try" in
  6336.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6337.   *) ac_try_echo=$ac_try;;
  6338. esac
  6339. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6340. $as_echo "$ac_try_echo") >&5
  6341.   (eval "$ac_link") 2>conftest.er1
  6342.   ac_status=$?
  6343.   grep -v '^ *+' conftest.er1 >conftest.err
  6344.   rm -f conftest.er1
  6345.   cat conftest.err >&5
  6346.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6347.   (exit $ac_status); } && {
  6348.      test -z "$ac_c_werror_flag" ||
  6349.      test ! -s conftest.err
  6350.        } && test -s conftest$ac_exeext && {
  6351.      test "$cross_compiling" = yes ||
  6352.      $as_test_x conftest$ac_exeext
  6353.        }; then
  6354.   eval "$as_ac_var=yes"
  6355. else
  6356.   $as_echo "$as_me: failed program was:" >&5
  6357. sed 's/^/| /' conftest.$ac_ext >&5
  6358.  
  6359.     eval "$as_ac_var=no"
  6360. fi
  6361.  
  6362. rm -rf conftest.dSYM
  6363. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6364.       conftest$ac_exeext conftest.$ac_ext
  6365. fi
  6366. ac_res=`eval 'as_val=${'$as_ac_var'}
  6367.          $as_echo "$as_val"'`
  6368.            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  6369. $as_echo "$ac_res" >&6; }
  6370. if test `eval 'as_val=${'$as_ac_var'}
  6371.          $as_echo "$as_val"'` = yes; then
  6372.   cat >>confdefs.h <<_ACEOF
  6373. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  6374. _ACEOF
  6375.  
  6376. fi
  6377. done
  6378.  
  6379.     if test $ac_cv_func_res_mkquery = yes ; then
  6380.         cat >>confdefs.h <<\_ACEOF
  6381. #define HAVE_ASYNC_DNS 1
  6382. _ACEOF
  6383.  
  6384.         V_ASYNC_OBJS="$V_ASYNC_OBJS nb_dns.o"
  6385.     else
  6386.         SAVED_LIBS="$LIBS"
  6387.  
  6388. { $as_echo "$as_me:$LINENO: checking for res_mkquery in -lresolv" >&5
  6389. $as_echo_n "checking for res_mkquery in -lresolv... " >&6; }
  6390. if test "${ac_cv_lib_resolv_res_mkquery+set}" = set; then
  6391.   $as_echo_n "(cached) " >&6
  6392. else
  6393.   ac_check_lib_save_LIBS=$LIBS
  6394. LIBS="-lresolv  $LIBS"
  6395. cat >conftest.$ac_ext <<_ACEOF
  6396. /* confdefs.h.  */
  6397. _ACEOF
  6398. cat confdefs.h >>conftest.$ac_ext
  6399. cat >>conftest.$ac_ext <<_ACEOF
  6400. /* end confdefs.h.  */
  6401.  
  6402. /* Override any GCC internal prototype to avoid an error.
  6403.    Use char because int might match the return type of a GCC
  6404.    builtin and then its argument prototype would still apply.  */
  6405. #ifdef __cplusplus
  6406. extern "C"
  6407. #endif
  6408. char res_mkquery ();
  6409. int
  6410. main ()
  6411. {
  6412. return res_mkquery ();
  6413.   ;
  6414.   return 0;
  6415. }
  6416. _ACEOF
  6417. rm -f conftest.$ac_objext conftest$ac_exeext
  6418. if { (ac_try="$ac_link"
  6419. case "(($ac_try" in
  6420.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6421.   *) ac_try_echo=$ac_try;;
  6422. esac
  6423. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6424. $as_echo "$ac_try_echo") >&5
  6425.   (eval "$ac_link") 2>conftest.er1
  6426.   ac_status=$?
  6427.   grep -v '^ *+' conftest.er1 >conftest.err
  6428.   rm -f conftest.er1
  6429.   cat conftest.err >&5
  6430.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6431.   (exit $ac_status); } && {
  6432.      test -z "$ac_c_werror_flag" ||
  6433.      test ! -s conftest.err
  6434.        } && test -s conftest$ac_exeext && {
  6435.      test "$cross_compiling" = yes ||
  6436.      $as_test_x conftest$ac_exeext
  6437.        }; then
  6438.   ac_cv_lib_resolv_res_mkquery=yes
  6439. else
  6440.   $as_echo "$as_me: failed program was:" >&5
  6441. sed 's/^/| /' conftest.$ac_ext >&5
  6442.  
  6443.     ac_cv_lib_resolv_res_mkquery=no
  6444. fi
  6445.  
  6446. rm -rf conftest.dSYM
  6447. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6448.       conftest$ac_exeext conftest.$ac_ext
  6449. LIBS=$ac_check_lib_save_LIBS
  6450. fi
  6451. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_mkquery" >&5
  6452. $as_echo "$ac_cv_lib_resolv_res_mkquery" >&6; }
  6453. if test $ac_cv_lib_resolv_res_mkquery = yes; then
  6454.   cat >>confdefs.h <<_ACEOF
  6455. #define HAVE_LIBRESOLV 1
  6456. _ACEOF
  6457.  
  6458.   LIBS="-lresolv $LIBS"
  6459.  
  6460. fi
  6461.  
  6462.         LIBS="$SAVED_LIBS"
  6463.         if test $ac_cv_lib_resolv_res_mkquery = yes ; then
  6464.             cat >>confdefs.h <<\_ACEOF
  6465. #define HAVE_ASYNC_DNS 1
  6466. _ACEOF
  6467.  
  6468.             V_ASYNC_LIBS="$V_ASYNC_LIBS -lresolv"
  6469.             V_ASYNC_OBJS="$V_ASYNC_OBJS nb_dns.o"
  6470.         fi
  6471.     fi
  6472. fi
  6473.  
  6474.  
  6475. for ac_func in gethostbyname2
  6476. do
  6477. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  6478. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  6479. $as_echo_n "checking for $ac_func... " >&6; }
  6480. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  6481.   $as_echo_n "(cached) " >&6
  6482. else
  6483.   cat >conftest.$ac_ext <<_ACEOF
  6484. /* confdefs.h.  */
  6485. _ACEOF
  6486. cat confdefs.h >>conftest.$ac_ext
  6487. cat >>conftest.$ac_ext <<_ACEOF
  6488. /* end confdefs.h.  */
  6489. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  6490.    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  6491. #define $ac_func innocuous_$ac_func
  6492.  
  6493. /* System header to define __stub macros and hopefully few prototypes,
  6494.     which can conflict with char $ac_func (); below.
  6495.     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6496.     <limits.h> exists even on freestanding compilers.  */
  6497.  
  6498. #ifdef __STDC__
  6499. # include <limits.h>
  6500. #else
  6501. # include <assert.h>
  6502. #endif
  6503.  
  6504. #undef $ac_func
  6505.  
  6506. /* Override any GCC internal prototype to avoid an error.
  6507.    Use char because int might match the return type of a GCC
  6508.    builtin and then its argument prototype would still apply.  */
  6509. #ifdef __cplusplus
  6510. extern "C"
  6511. #endif
  6512. char $ac_func ();
  6513. /* The GNU C library defines this for functions which it implements
  6514.     to always fail with ENOSYS.  Some functions are actually named
  6515.     something starting with __ and the normal name is an alias.  */
  6516. #if defined __stub_$ac_func || defined __stub___$ac_func
  6517. choke me
  6518. #endif
  6519.  
  6520. int
  6521. main ()
  6522. {
  6523. return $ac_func ();
  6524.   ;
  6525.   return 0;
  6526. }
  6527. _ACEOF
  6528. rm -f conftest.$ac_objext conftest$ac_exeext
  6529. if { (ac_try="$ac_link"
  6530. case "(($ac_try" in
  6531.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6532.   *) ac_try_echo=$ac_try;;
  6533. esac
  6534. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6535. $as_echo "$ac_try_echo") >&5
  6536.   (eval "$ac_link") 2>conftest.er1
  6537.   ac_status=$?
  6538.   grep -v '^ *+' conftest.er1 >conftest.err
  6539.   rm -f conftest.er1
  6540.   cat conftest.err >&5
  6541.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6542.   (exit $ac_status); } && {
  6543.      test -z "$ac_c_werror_flag" ||
  6544.      test ! -s conftest.err
  6545.        } && test -s conftest$ac_exeext && {
  6546.      test "$cross_compiling" = yes ||
  6547.      $as_test_x conftest$ac_exeext
  6548.        }; then
  6549.   eval "$as_ac_var=yes"
  6550. else
  6551.   $as_echo "$as_me: failed program was:" >&5
  6552. sed 's/^/| /' conftest.$ac_ext >&5
  6553.  
  6554.     eval "$as_ac_var=no"
  6555. fi
  6556.  
  6557. rm -rf conftest.dSYM
  6558. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6559.       conftest$ac_exeext conftest.$ac_ext
  6560. fi
  6561. ac_res=`eval 'as_val=${'$as_ac_var'}
  6562.          $as_echo "$as_val"'`
  6563.            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  6564. $as_echo "$ac_res" >&6; }
  6565. if test `eval 'as_val=${'$as_ac_var'}
  6566.          $as_echo "$as_val"'` = yes; then
  6567.   cat >>confdefs.h <<_ACEOF
  6568. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  6569. _ACEOF
  6570.  
  6571. fi
  6572. done
  6573.  
  6574.  
  6575.  
  6576.  
  6577.     rm -f os-proto.h
  6578.     if test -f .devel ; then
  6579.          if test "$GCC" = yes ; then
  6580.         if test "$SHLICC2" = yes ; then
  6581.             ac_cv_lbl_gcc_vers=2
  6582.             V_CCOPT="`echo $V_CCOPT | sed -e 's/-O/-O3/'`"
  6583.         else
  6584.             { $as_echo "$as_me:$LINENO: checking gcc version" >&5
  6585. $as_echo_n "checking gcc version... " >&6; }
  6586.             if test "${ac_cv_lbl_gcc_vers+set}" = set; then
  6587.   $as_echo_n "(cached) " >&6
  6588. else
  6589.   # Gag, the gcc folks keep changing the output...
  6590.             # try to grab N.N.N
  6591.             ac_cv_lbl_gcc_vers=`$CC --version 2>&1 |
  6592.                 sed -e '1!d' -e 's/[^0-9]*\([0-9][0-9]*\)\.[0-9\][0-9]*\.[0-9][0-9]*.*/\1/'`
  6593. fi
  6594.  
  6595.             { $as_echo "$as_me:$LINENO: result: $ac_cv_lbl_gcc_vers" >&5
  6596. $as_echo "$ac_cv_lbl_gcc_vers" >&6; }
  6597.             if test "$ac_cv_lbl_gcc_vers" -gt 1 ; then
  6598.                 V_CCOPT="`echo $V_CCOPT | sed -e 's/-O/-O3/'`"
  6599.             fi
  6600.         fi
  6601.         if test "$ac_cv_prog_cc_g" = yes ; then
  6602.             V_CCOPT="-g $V_CCOPT"
  6603.         fi
  6604.         V_CCOPT="$V_CCOPT -Wall"
  6605.         if test "$ac_cv_lbl_gcc_vers" -gt 1 ; then
  6606.             V_CCOPT="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes"
  6607.             if [ "`uname -s`" = "FreeBSD" ]; then
  6608.                 V_CCOPT="$V_CCOPT -Werror"
  6609.             fi
  6610.         fi
  6611.     else
  6612.         case "$target_os" in
  6613.  
  6614.         irix6*)
  6615.             V_CCOPT="$V_CCOPT -fullwarn -n32"
  6616.             ;;
  6617.  
  6618.         *)
  6619.             ;;
  6620.         esac
  6621.     fi
  6622.         os=`echo $target_os | sed -e 's/\([0-9][0-9]*\)[^0-9].*$/\1/'`
  6623.         name="lbl/os-$os.h"
  6624.         if test -f $name ; then
  6625.             ln -s $name os-proto.h
  6626.  
  6627. cat >>confdefs.h <<\_ACEOF
  6628. #define HAVE_OS_PROTO_H /**/
  6629. _ACEOF
  6630.  
  6631.         else
  6632.             { $as_echo "$as_me:$LINENO: WARNING: can't find $name" >&5
  6633. $as_echo "$as_me: WARNING: can't find $name" >&2;}
  6634.         fi
  6635.     fi
  6636. if test -f .devel ; then
  6637.     cat >>confdefs.h <<\_ACEOF
  6638. #define DEBUG 1
  6639. _ACEOF
  6640.  
  6641. fi
  6642.  
  6643. if test -r lbl/gnuc.h ; then
  6644.     rm -f gnuc.h
  6645.     ln -s lbl/gnuc.h gnuc.h
  6646. fi
  6647.  
  6648.  
  6649.  
  6650.  
  6651.  
  6652.  
  6653.  
  6654.  
  6655.  
  6656.  
  6657. ac_config_files="$ac_config_files Makefile"
  6658.  
  6659. cat >confcache <<\_ACEOF
  6660. # This file is a shell script that caches the results of configure
  6661. # tests run on this system so they can be shared between configure
  6662. # scripts and configure runs, see configure's option --config-cache.
  6663. # It is not useful on other systems.  If it contains results you don't
  6664. # want to keep, you may remove or edit it.
  6665. #
  6666. # config.status only pays attention to the cache file if you give it
  6667. # the --recheck option to rerun configure.
  6668. #
  6669. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  6670. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  6671. # following values.
  6672.  
  6673. _ACEOF
  6674.  
  6675. # The following way of writing the cache mishandles newlines in values,
  6676. # but we know of no workaround that is simple, portable, and efficient.
  6677. # So, we kill variables containing newlines.
  6678. # Ultrix sh set writes to stderr and can't be redirected directly,
  6679. # and sets the high bit in the cache file unless we assign to the vars.
  6680. (
  6681.   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  6682.     eval ac_val=\$$ac_var
  6683.     case $ac_val in #(
  6684.     *${as_nl}*)
  6685.       case $ac_var in #(
  6686.       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  6687. $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  6688.       esac
  6689.       case $ac_var in #(
  6690.       _ | IFS | as_nl) ;; #(
  6691.       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  6692.       *) $as_unset $ac_var ;;
  6693.       esac ;;
  6694.     esac
  6695.   done
  6696.  
  6697.   (set) 2>&1 |
  6698.     case $as_nl`(ac_space=' '; set) 2>&1` in #(
  6699.     *${as_nl}ac_space=\ *)
  6700.       # `set' does not quote correctly, so add quotes (double-quote
  6701.       # substitution turns \\\\ into \\, and sed turns \\ into \).
  6702.       sed -n \
  6703.     "s/'/'\\\\''/g;
  6704.       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  6705.       ;; #(
  6706.     *)
  6707.       # `set' quotes correctly as required by POSIX, so do not add quotes.
  6708.       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  6709.       ;;
  6710.     esac |
  6711.     sort
  6712. ) |
  6713.   sed '
  6714.      /^ac_cv_env_/b end
  6715.      t clear
  6716.      :clear
  6717.      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  6718.      t end
  6719.      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  6720.      :end' >>confcache
  6721. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  6722.   if test -w "$cache_file"; then
  6723.     test "x$cache_file" != "x/dev/null" &&
  6724.       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
  6725. $as_echo "$as_me: updating cache $cache_file" >&6;}
  6726.     cat confcache >$cache_file
  6727.   else
  6728.     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  6729. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  6730.   fi
  6731. fi
  6732. rm -f confcache
  6733.  
  6734. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  6735. # Let make expand exec_prefix.
  6736. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  6737.  
  6738. # Transform confdefs.h into DEFS.
  6739. # Protect against shell expansion while executing Makefile rules.
  6740. # Protect against Makefile macro expansion.
  6741. #
  6742. # If the first sed substitution is executed (which looks for macros that
  6743. # take arguments), then branch to the quote section.  Otherwise,
  6744. # look for a macro that doesn't take arguments.
  6745. ac_script='
  6746. :mline
  6747. /\\$/{
  6748.  N
  6749.  s,\\\n,,
  6750.  b mline
  6751. }
  6752. t clear
  6753. :clear
  6754. s/^[     ]*#[     ]*define[     ][     ]*\([^     (][^     (]*([^)]*)\)[     ]*\(.*\)/-D\1=\2/g
  6755. t quote
  6756. s/^[     ]*#[     ]*define[     ][     ]*\([^     ][^     ]*\)[     ]*\(.*\)/-D\1=\2/g
  6757. t quote
  6758. b any
  6759. :quote
  6760. s/[     `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  6761. s/\[/\\&/g
  6762. s/\]/\\&/g
  6763. s/\$/$$/g
  6764. H
  6765. :any
  6766. ${
  6767.     g
  6768.     s/^\n//
  6769.     s/\n/ /g
  6770.     p
  6771. }
  6772. '
  6773. DEFS=`sed -n "$ac_script" confdefs.h`
  6774.  
  6775.  
  6776. ac_libobjs=
  6777. ac_ltlibobjs=
  6778. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  6779.   # 1. Remove the extension, and $U if already installed.
  6780.   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  6781.   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  6782.   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  6783.   #    will be set to the directory where LIBOBJS objects are built.
  6784.   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  6785.   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  6786. done
  6787. LIBOBJS=$ac_libobjs
  6788.  
  6789. LTLIBOBJS=$ac_ltlibobjs
  6790.  
  6791.  
  6792.  
  6793. : ${CONFIG_STATUS=./config.status}
  6794. ac_write_fail=0
  6795. ac_clean_files_save=$ac_clean_files
  6796. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  6797. { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  6798. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  6799. cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6800. #! $SHELL
  6801. # Generated by $as_me.
  6802. # Run this file to recreate the current configuration.
  6803. # Compiler output produced by configure, useful for debugging
  6804. # configure, is in config.log if it exists.
  6805.  
  6806. debug=false
  6807. ac_cs_recheck=false
  6808. ac_cs_silent=false
  6809. SHELL=\${CONFIG_SHELL-$SHELL}
  6810. _ACEOF
  6811.  
  6812. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6813. ## --------------------- ##
  6814. ## M4sh Initialization.  ##
  6815. ## --------------------- ##
  6816.  
  6817. # Be more Bourne compatible
  6818. DUALCASE=1; export DUALCASE # for MKS sh
  6819. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  6820.   emulate sh
  6821.   NULLCMD=:
  6822.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  6823.   # is contrary to our usage.  Disable this feature.
  6824.   alias -g '${1+"$@"}'='"$@"'
  6825.   setopt NO_GLOB_SUBST
  6826. else
  6827.   case `(set -o) 2>/dev/null` in
  6828.   *posix*) set -o posix ;;
  6829. esac
  6830.  
  6831. fi
  6832.  
  6833.  
  6834.  
  6835.  
  6836. # PATH needs CR
  6837. # Avoid depending upon Character Ranges.
  6838. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  6839. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  6840. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  6841. as_cr_digits='0123456789'
  6842. as_cr_alnum=$as_cr_Letters$as_cr_digits
  6843.  
  6844. as_nl='
  6845. '
  6846. export as_nl
  6847. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  6848. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  6849. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  6850. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  6851. if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  6852.   as_echo='printf %s\n'
  6853.   as_echo_n='printf %s'
  6854. else
  6855.   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  6856.     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  6857.     as_echo_n='/usr/ucb/echo -n'
  6858.   else
  6859.     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  6860.     as_echo_n_body='eval
  6861.       arg=$1;
  6862.       case $arg in
  6863.       *"$as_nl"*)
  6864.     expr "X$arg" : "X\\(.*\\)$as_nl";
  6865.     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  6866.       esac;
  6867.       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  6868.     '
  6869.     export as_echo_n_body
  6870.     as_echo_n='sh -c $as_echo_n_body as_echo'
  6871.   fi
  6872.   export as_echo_body
  6873.   as_echo='sh -c $as_echo_body as_echo'
  6874. fi
  6875.  
  6876. # The user is always right.
  6877. if test "${PATH_SEPARATOR+set}" != set; then
  6878.   PATH_SEPARATOR=:
  6879.   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  6880.     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  6881.       PATH_SEPARATOR=';'
  6882.   }
  6883. fi
  6884.  
  6885. # Support unset when possible.
  6886. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  6887.   as_unset=unset
  6888. else
  6889.   as_unset=false
  6890. fi
  6891.  
  6892.  
  6893. # IFS
  6894. # We need space, tab and new line, in precisely that order.  Quoting is
  6895. # there to prevent editors from complaining about space-tab.
  6896. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  6897. # splitting by setting IFS to empty value.)
  6898. IFS=" ""    $as_nl"
  6899.  
  6900. # Find who we are.  Look in the path if we contain no directory separator.
  6901. case $0 in
  6902.   *[\\/]* ) as_myself=$0 ;;
  6903.   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6904. for as_dir in $PATH
  6905. do
  6906.   IFS=$as_save_IFS
  6907.   test -z "$as_dir" && as_dir=.
  6908.   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  6909. done
  6910. IFS=$as_save_IFS
  6911.  
  6912.      ;;
  6913. esac
  6914. # We did not find ourselves, most probably we were run as `sh COMMAND'
  6915. # in which case we are not to be found in the path.
  6916. if test "x$as_myself" = x; then
  6917.   as_myself=$0
  6918. fi
  6919. if test ! -f "$as_myself"; then
  6920.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  6921.   { (exit 1); exit 1; }
  6922. fi
  6923.  
  6924. # Work around bugs in pre-3.0 UWIN ksh.
  6925. for as_var in ENV MAIL MAILPATH
  6926. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  6927. done
  6928. PS1='$ '
  6929. PS2='> '
  6930. PS4='+ '
  6931.  
  6932. # NLS nuisances.
  6933. LC_ALL=C
  6934. export LC_ALL
  6935. LANGUAGE=C
  6936. export LANGUAGE
  6937.  
  6938. # Required to use basename.
  6939. if expr a : '\(a\)' >/dev/null 2>&1 &&
  6940.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  6941.   as_expr=expr
  6942. else
  6943.   as_expr=false
  6944. fi
  6945.  
  6946. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  6947.   as_basename=basename
  6948. else
  6949.   as_basename=false
  6950. fi
  6951.  
  6952.  
  6953. # Name of the executable.
  6954. as_me=`$as_basename -- "$0" ||
  6955. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  6956.      X"$0" : 'X\(//\)$' \| \
  6957.      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  6958. $as_echo X/"$0" |
  6959.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  6960.         s//\1/
  6961.         q
  6962.       }
  6963.       /^X\/\(\/\/\)$/{
  6964.         s//\1/
  6965.         q
  6966.       }
  6967.       /^X\/\(\/\).*/{
  6968.         s//\1/
  6969.         q
  6970.       }
  6971.       s/.*/./; q'`
  6972.  
  6973. # CDPATH.
  6974. $as_unset CDPATH
  6975.  
  6976.  
  6977.  
  6978.   as_lineno_1=$LINENO
  6979.   as_lineno_2=$LINENO
  6980.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  6981.   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  6982.  
  6983.   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  6984.   # uniformly replaced by the line number.  The first 'sed' inserts a
  6985.   # line-number line after each line using $LINENO; the second 'sed'
  6986.   # does the real work.  The second script uses 'N' to pair each
  6987.   # line-number line with the line containing $LINENO, and appends
  6988.   # trailing '-' during substitution so that $LINENO is not a special
  6989.   # case at line end.
  6990.   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  6991.   # scripts with optimization help from Paolo Bonzini.  Blame Lee
  6992.   # E. McMahon (1931-1989) for sed's syntax.  :-)
  6993.   sed -n '
  6994.     p
  6995.     /[$]LINENO/=
  6996.   ' <$as_myself |
  6997.     sed '
  6998.       s/[$]LINENO.*/&-/
  6999.       t lineno
  7000.       b
  7001.       :lineno
  7002.       N
  7003.       :loop
  7004.       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  7005.       t loop
  7006.       s/-\n.*//
  7007.     ' >$as_me.lineno &&
  7008.   chmod +x "$as_me.lineno" ||
  7009.     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  7010.    { (exit 1); exit 1; }; }
  7011.  
  7012.   # Don't try to exec as it changes $[0], causing all sort of problems
  7013.   # (the dirname of $[0] is not the place where we might find the
  7014.   # original and so on.  Autoconf is especially sensitive to this).
  7015.   . "./$as_me.lineno"
  7016.   # Exit status is that of the last command.
  7017.   exit
  7018. }
  7019.  
  7020.  
  7021. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  7022.   as_dirname=dirname
  7023. else
  7024.   as_dirname=false
  7025. fi
  7026.  
  7027. ECHO_C= ECHO_N= ECHO_T=
  7028. case `echo -n x` in
  7029. -n*)
  7030.   case `echo 'x\c'` in
  7031.   *c*) ECHO_T='    ';;    # ECHO_T is single tab character.
  7032.   *)   ECHO_C='\c';;
  7033.   esac;;
  7034. *)
  7035.   ECHO_N='-n';;
  7036. esac
  7037. if expr a : '\(a\)' >/dev/null 2>&1 &&
  7038.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  7039.   as_expr=expr
  7040. else
  7041.   as_expr=false
  7042. fi
  7043.  
  7044. rm -f conf$$ conf$$.exe conf$$.file
  7045. if test -d conf$$.dir; then
  7046.   rm -f conf$$.dir/conf$$.file
  7047. else
  7048.   rm -f conf$$.dir
  7049.   mkdir conf$$.dir 2>/dev/null
  7050. fi
  7051. if (echo >conf$$.file) 2>/dev/null; then
  7052.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  7053.     as_ln_s='ln -s'
  7054.     # ... but there are two gotchas:
  7055.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  7056.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  7057.     # In both cases, we have to default to `cp -p'.
  7058.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  7059.       as_ln_s='cp -p'
  7060.   elif ln conf$$.file conf$$ 2>/dev/null; then
  7061.     as_ln_s=ln
  7062.   else
  7063.     as_ln_s='cp -p'
  7064.   fi
  7065. else
  7066.   as_ln_s='cp -p'
  7067. fi
  7068. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  7069. rmdir conf$$.dir 2>/dev/null
  7070.  
  7071. if mkdir -p . 2>/dev/null; then
  7072.   as_mkdir_p=:
  7073. else
  7074.   test -d ./-p && rmdir ./-p
  7075.   as_mkdir_p=false
  7076. fi
  7077.  
  7078. if test -x / >/dev/null 2>&1; then
  7079.   as_test_x='test -x'
  7080. else
  7081.   if ls -dL / >/dev/null 2>&1; then
  7082.     as_ls_L_option=L
  7083.   else
  7084.     as_ls_L_option=
  7085.   fi
  7086.   as_test_x='
  7087.     eval sh -c '\''
  7088.       if test -d "$1"; then
  7089.     test -d "$1/.";
  7090.       else
  7091.     case $1 in
  7092.     -*)set "./$1";;
  7093.     esac;
  7094.     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  7095.     ???[sx]*):;;*)false;;esac;fi
  7096.     '\'' sh
  7097.   '
  7098. fi
  7099. as_executable_p=$as_test_x
  7100.  
  7101. # Sed expression to map a string onto a valid CPP name.
  7102. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  7103.  
  7104. # Sed expression to map a string onto a valid variable name.
  7105. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  7106.  
  7107.  
  7108. exec 6>&1
  7109.  
  7110. # Save the log message, to keep $[0] and so on meaningful, and to
  7111. # report actual input values of CONFIG_FILES etc. instead of their
  7112. # values after options handling.
  7113. ac_log="
  7114. This file was extended by $as_me, which was
  7115. generated by GNU Autoconf 2.62.  Invocation command line was
  7116.  
  7117.   CONFIG_FILES    = $CONFIG_FILES
  7118.   CONFIG_HEADERS  = $CONFIG_HEADERS
  7119.   CONFIG_LINKS    = $CONFIG_LINKS
  7120.   CONFIG_COMMANDS = $CONFIG_COMMANDS
  7121.   $ $0 $@
  7122.  
  7123. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  7124. "
  7125.  
  7126. _ACEOF
  7127.  
  7128. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7129. # Files that config.status was made for.
  7130. config_files="$ac_config_files"
  7131.  
  7132. _ACEOF
  7133.  
  7134. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7135. ac_cs_usage="\
  7136. \`$as_me' instantiates files from templates according to the
  7137. current configuration.
  7138.  
  7139. Usage: $0 [OPTIONS] [FILE]...
  7140.  
  7141.   -h, --help       print this help, then exit
  7142.   -V, --version    print version number and configuration settings, then exit
  7143.   -q, --quiet      do not print progress messages
  7144.   -d, --debug      don't remove temporary files
  7145.       --recheck    update $as_me by reconfiguring in the same conditions
  7146.   --file=FILE[:TEMPLATE]
  7147.                    instantiate the configuration file FILE
  7148.  
  7149. Configuration files:
  7150. $config_files
  7151.  
  7152. Report bugs to <bug-autoconf@gnu.org>."
  7153.  
  7154. _ACEOF
  7155. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7156. ac_cs_version="\\
  7157. config.status
  7158. configured by $0, generated by GNU Autoconf 2.62,
  7159.   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  7160.  
  7161. Copyright (C) 2008 Free Software Foundation, Inc.
  7162. This config.status script is free software; the Free Software Foundation
  7163. gives unlimited permission to copy, distribute and modify it."
  7164.  
  7165. ac_pwd='$ac_pwd'
  7166. srcdir='$srcdir'
  7167. INSTALL='$INSTALL'
  7168. test -n "\$AWK" || AWK=awk
  7169. _ACEOF
  7170.  
  7171. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7172. # The default lists apply if the user does not specify any file.
  7173. ac_need_defaults=:
  7174. while test $# != 0
  7175. do
  7176.   case $1 in
  7177.   --*=*)
  7178.     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  7179.     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  7180.     ac_shift=:
  7181.     ;;
  7182.   *)
  7183.     ac_option=$1
  7184.     ac_optarg=$2
  7185.     ac_shift=shift
  7186.     ;;
  7187.   esac
  7188.  
  7189.   case $ac_option in
  7190.   # Handling of the options.
  7191.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  7192.     ac_cs_recheck=: ;;
  7193.   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  7194.     $as_echo "$ac_cs_version"; exit ;;
  7195.   --debug | --debu | --deb | --de | --d | -d )
  7196.     debug=: ;;
  7197.   --file | --fil | --fi | --f )
  7198.     $ac_shift
  7199.     case $ac_optarg in
  7200.     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  7201.     esac
  7202.     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
  7203.     ac_need_defaults=false;;
  7204.   --he | --h |  --help | --hel | -h )
  7205.     $as_echo "$ac_cs_usage"; exit ;;
  7206.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  7207.   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  7208.     ac_cs_silent=: ;;
  7209.  
  7210.   # This is an error.
  7211.   -*) { $as_echo "$as_me: error: unrecognized option: $1
  7212. Try \`$0 --help' for more information." >&2
  7213.    { (exit 1); exit 1; }; } ;;
  7214.  
  7215.   *) ac_config_targets="$ac_config_targets $1"
  7216.      ac_need_defaults=false ;;
  7217.  
  7218.   esac
  7219.   shift
  7220. done
  7221.  
  7222. ac_configure_extra_args=
  7223.  
  7224. if $ac_cs_silent; then
  7225.   exec 6>/dev/null
  7226.   ac_configure_extra_args="$ac_configure_extra_args --silent"
  7227. fi
  7228.  
  7229. _ACEOF
  7230. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7231. if \$ac_cs_recheck; then
  7232.   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  7233.   shift
  7234.   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  7235.   CONFIG_SHELL='$SHELL'
  7236.   export CONFIG_SHELL
  7237.   exec "\$@"
  7238. fi
  7239.  
  7240. _ACEOF
  7241. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7242. exec 5>>config.log
  7243. {
  7244.   echo
  7245.   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  7246. ## Running $as_me. ##
  7247. _ASBOX
  7248.   $as_echo "$ac_log"
  7249. } >&5
  7250.  
  7251. _ACEOF
  7252. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7253. _ACEOF
  7254.  
  7255. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7256.  
  7257. # Handling of arguments.
  7258. for ac_config_target in $ac_config_targets
  7259. do
  7260.   case $ac_config_target in
  7261.     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  7262.  
  7263.   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  7264. $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  7265.    { (exit 1); exit 1; }; };;
  7266.   esac
  7267. done
  7268.  
  7269.  
  7270. # If the user did not use the arguments to specify the items to instantiate,
  7271. # then the envvar interface is used.  Set only those that are not.
  7272. # We use the long form for the default assignment because of an extremely
  7273. # bizarre bug on SunOS 4.1.3.
  7274. if $ac_need_defaults; then
  7275.   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  7276. fi
  7277.  
  7278. # Have a temporary directory for convenience.  Make it in the build tree
  7279. # simply because there is no reason against having it here, and in addition,
  7280. # creating and moving files from /tmp can sometimes cause problems.
  7281. # Hook for its removal unless debugging.
  7282. # Note that there is a small window in which the directory will not be cleaned:
  7283. # after its creation but before its name has been assigned to `$tmp'.
  7284. $debug ||
  7285. {
  7286.   tmp=
  7287.   trap 'exit_status=$?
  7288.   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  7289. ' 0
  7290.   trap '{ (exit 1); exit 1; }' 1 2 13 15
  7291. }
  7292. # Create a (secure) tmp directory for tmp files.
  7293.  
  7294. {
  7295.   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  7296.   test -n "$tmp" && test -d "$tmp"
  7297. }  ||
  7298. {
  7299.   tmp=./conf$$-$RANDOM
  7300.   (umask 077 && mkdir "$tmp")
  7301. } ||
  7302. {
  7303.    $as_echo "$as_me: cannot create a temporary directory in ." >&2
  7304.    { (exit 1); exit 1; }
  7305. }
  7306.  
  7307. # Set up the scripts for CONFIG_FILES section.
  7308. # No need to generate them if there are no CONFIG_FILES.
  7309. # This happens for instance with `./config.status config.h'.
  7310. if test -n "$CONFIG_FILES"; then
  7311.  
  7312.  
  7313. ac_cr=''
  7314. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  7315. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  7316.   ac_cs_awk_cr='\\r'
  7317. else
  7318.   ac_cs_awk_cr=$ac_cr
  7319. fi
  7320.  
  7321. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  7322. _ACEOF
  7323.  
  7324.  
  7325. {
  7326.   echo "cat >conf$$subs.awk <<_ACEOF" &&
  7327.   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  7328.   echo "_ACEOF"
  7329. } >conf$$subs.sh ||
  7330.   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  7331. $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  7332.    { (exit 1); exit 1; }; }
  7333. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  7334. ac_delim='%!_!# '
  7335. for ac_last_try in false false false false false :; do
  7336.   . ./conf$$subs.sh ||
  7337.     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  7338. $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  7339.    { (exit 1); exit 1; }; }
  7340.  
  7341.   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
  7342.     break
  7343.   elif $ac_last_try; then
  7344.     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  7345. $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  7346.    { (exit 1); exit 1; }; }
  7347.   else
  7348.     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  7349.   fi
  7350. done
  7351. rm -f conf$$subs.sh
  7352.  
  7353. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7354. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  7355. _ACEOF
  7356. sed -n '
  7357. h
  7358. s/^/S["/; s/!.*/"]=/
  7359. p
  7360. g
  7361. s/^[^!]*!//
  7362. :repl
  7363. t repl
  7364. s/'"$ac_delim"'$//
  7365. t delim
  7366. :nl
  7367. h
  7368. s/\(.\{148\}\).*/\1/
  7369. t more1
  7370. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  7371. p
  7372. n
  7373. b repl
  7374. :more1
  7375. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  7376. p
  7377. g
  7378. s/.\{148\}//
  7379. t nl
  7380. :delim
  7381. h
  7382. s/\(.\{148\}\).*/\1/
  7383. t more2
  7384. s/["\\]/\\&/g; s/^/"/; s/$/"/
  7385. p
  7386. b
  7387. :more2
  7388. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  7389. p
  7390. g
  7391. s/.\{148\}//
  7392. t delim
  7393. ' <conf$$subs.awk | sed '
  7394. /^[^""]/{
  7395.   N
  7396.   s/\n//
  7397. }
  7398. ' >>$CONFIG_STATUS || ac_write_fail=1
  7399. rm -f conf$$subs.awk
  7400. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7401. _ACAWK
  7402. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  7403.   for (key in S) S_is_set[key] = 1
  7404.   FS = ""
  7405.  
  7406. }
  7407. {
  7408.   line = $ 0
  7409.   nfields = split(line, field, "@")
  7410.   substed = 0
  7411.   len = length(field[1])
  7412.   for (i = 2; i < nfields; i++) {
  7413.     key = field[i]
  7414.     keylen = length(key)
  7415.     if (S_is_set[key]) {
  7416.       value = S[key]
  7417.       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  7418.       len += length(value) + length(field[++i])
  7419.       substed = 1
  7420.     } else
  7421.       len += 1 + keylen
  7422.   }
  7423.  
  7424.   print line
  7425. }
  7426.  
  7427. _ACAWK
  7428. _ACEOF
  7429. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7430. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  7431.   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  7432. else
  7433.   cat
  7434. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  7435.   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
  7436. $as_echo "$as_me: error: could not setup config files machinery" >&2;}
  7437.    { (exit 1); exit 1; }; }
  7438. _ACEOF
  7439.  
  7440. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  7441. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  7442. # trailing colons and then remove the whole line if VPATH becomes empty
  7443. # (actually we leave an empty line to preserve line numbers).
  7444. if test "x$srcdir" = x.; then
  7445.   ac_vpsub='/^[     ]*VPATH[     ]*=/{
  7446. s/:*\$(srcdir):*/:/
  7447. s/:*\${srcdir}:*/:/
  7448. s/:*@srcdir@:*/:/
  7449. s/^\([^=]*=[     ]*\):*/\1/
  7450. s/:*$//
  7451. s/^[^=]*=[     ]*$//
  7452. }'
  7453. fi
  7454.  
  7455. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7456. fi # test -n "$CONFIG_FILES"
  7457.  
  7458.  
  7459. eval set X "  :F $CONFIG_FILES      "
  7460. shift
  7461. for ac_tag
  7462. do
  7463.   case $ac_tag in
  7464.   :[FHLC]) ac_mode=$ac_tag; continue;;
  7465.   esac
  7466.   case $ac_mode$ac_tag in
  7467.   :[FHL]*:*);;
  7468.   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  7469. $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  7470.    { (exit 1); exit 1; }; };;
  7471.   :[FH]-) ac_tag=-:-;;
  7472.   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  7473.   esac
  7474.   ac_save_IFS=$IFS
  7475.   IFS=:
  7476.   set x $ac_tag
  7477.   IFS=$ac_save_IFS
  7478.   shift
  7479.   ac_file=$1
  7480.   shift
  7481.  
  7482.   case $ac_mode in
  7483.   :L) ac_source=$1;;
  7484.   :[FH])
  7485.     ac_file_inputs=
  7486.     for ac_f
  7487.     do
  7488.       case $ac_f in
  7489.       -) ac_f="$tmp/stdin";;
  7490.       *) # Look for the file first in the build tree, then in the source tree
  7491.      # (if the path is not absolute).  The absolute path cannot be DOS-style,
  7492.      # because $ac_f cannot contain `:'.
  7493.      test -f "$ac_f" ||
  7494.        case $ac_f in
  7495.        [\\/$]*) false;;
  7496.        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  7497.        esac ||
  7498.        { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  7499. $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  7500.    { (exit 1); exit 1; }; };;
  7501.       esac
  7502.       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  7503.       ac_file_inputs="$ac_file_inputs '$ac_f'"
  7504.     done
  7505.  
  7506.     # Let's still pretend it is `configure' which instantiates (i.e., don't
  7507.     # use $as_me), people would be surprised to read:
  7508.     #    /* config.h.  Generated by config.status.  */
  7509.     configure_input='Generated from '`
  7510.       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  7511.     `' by configure.'
  7512.     if test x"$ac_file" != x-; then
  7513.       configure_input="$ac_file.  $configure_input"
  7514.       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
  7515. $as_echo "$as_me: creating $ac_file" >&6;}
  7516.     fi
  7517.     # Neutralize special characters interpreted by sed in replacement strings.
  7518.     case $configure_input in #(
  7519.     *\&* | *\|* | *\\* )
  7520.        ac_sed_conf_input=`$as_echo "$configure_input" |
  7521.        sed 's/[\\\\&|]/\\\\&/g'`;; #(
  7522.     *) ac_sed_conf_input=$configure_input;;
  7523.     esac
  7524.  
  7525.     case $ac_tag in
  7526.     *:-:* | *:-) cat >"$tmp/stdin" \
  7527.       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  7528. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  7529.    { (exit 1); exit 1; }; } ;;
  7530.     esac
  7531.     ;;
  7532.   esac
  7533.  
  7534.   ac_dir=`$as_dirname -- "$ac_file" ||
  7535. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7536.      X"$ac_file" : 'X\(//\)[^/]' \| \
  7537.      X"$ac_file" : 'X\(//\)$' \| \
  7538.      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  7539. $as_echo X"$ac_file" |
  7540.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7541.         s//\1/
  7542.         q
  7543.       }
  7544.       /^X\(\/\/\)[^/].*/{
  7545.         s//\1/
  7546.         q
  7547.       }
  7548.       /^X\(\/\/\)$/{
  7549.         s//\1/
  7550.         q
  7551.       }
  7552.       /^X\(\/\).*/{
  7553.         s//\1/
  7554.         q
  7555.       }
  7556.       s/.*/./; q'`
  7557.   { as_dir="$ac_dir"
  7558.   case $as_dir in #(
  7559.   -*) as_dir=./$as_dir;;
  7560.   esac
  7561.   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  7562.     as_dirs=
  7563.     while :; do
  7564.       case $as_dir in #(
  7565.       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  7566.       *) as_qdir=$as_dir;;
  7567.       esac
  7568.       as_dirs="'$as_qdir' $as_dirs"
  7569.       as_dir=`$as_dirname -- "$as_dir" ||
  7570. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7571.      X"$as_dir" : 'X\(//\)[^/]' \| \
  7572.      X"$as_dir" : 'X\(//\)$' \| \
  7573.      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  7574. $as_echo X"$as_dir" |
  7575.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7576.         s//\1/
  7577.         q
  7578.       }
  7579.       /^X\(\/\/\)[^/].*/{
  7580.         s//\1/
  7581.         q
  7582.       }
  7583.       /^X\(\/\/\)$/{
  7584.         s//\1/
  7585.         q
  7586.       }
  7587.       /^X\(\/\).*/{
  7588.         s//\1/
  7589.         q
  7590.       }
  7591.       s/.*/./; q'`
  7592.       test -d "$as_dir" && break
  7593.     done
  7594.     test -z "$as_dirs" || eval "mkdir $as_dirs"
  7595.   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  7596. $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  7597.    { (exit 1); exit 1; }; }; }
  7598.   ac_builddir=.
  7599.  
  7600. case "$ac_dir" in
  7601. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  7602. *)
  7603.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  7604.   # A ".." for each directory in $ac_dir_suffix.
  7605.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  7606.   case $ac_top_builddir_sub in
  7607.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  7608.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  7609.   esac ;;
  7610. esac
  7611. ac_abs_top_builddir=$ac_pwd
  7612. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  7613. # for backward compatibility:
  7614. ac_top_builddir=$ac_top_build_prefix
  7615.  
  7616. case $srcdir in
  7617.   .)  # We are building in place.
  7618.     ac_srcdir=.
  7619.     ac_top_srcdir=$ac_top_builddir_sub
  7620.     ac_abs_top_srcdir=$ac_pwd ;;
  7621.   [\\/]* | ?:[\\/]* )  # Absolute name.
  7622.     ac_srcdir=$srcdir$ac_dir_suffix;
  7623.     ac_top_srcdir=$srcdir
  7624.     ac_abs_top_srcdir=$srcdir ;;
  7625.   *) # Relative name.
  7626.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  7627.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  7628.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  7629. esac
  7630. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  7631.  
  7632.  
  7633.   case $ac_mode in
  7634.   :F)
  7635.   #
  7636.   # CONFIG_FILE
  7637.   #
  7638.  
  7639.   case $INSTALL in
  7640.   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  7641.   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  7642.   esac
  7643. _ACEOF
  7644.  
  7645. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7646. # If the template does not know about datarootdir, expand it.
  7647. # FIXME: This hack should be removed a few years after 2.60.
  7648. ac_datarootdir_hack=; ac_datarootdir_seen=
  7649.  
  7650. ac_sed_dataroot='
  7651. /datarootdir/ {
  7652.   p
  7653.   q
  7654. }
  7655. /@datadir@/p
  7656. /@docdir@/p
  7657. /@infodir@/p
  7658. /@localedir@/p
  7659. /@mandir@/p
  7660. '
  7661. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  7662. *datarootdir*) ac_datarootdir_seen=yes;;
  7663. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  7664.   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  7665. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  7666. _ACEOF
  7667. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7668.   ac_datarootdir_hack='
  7669.   s&@datadir@&$datadir&g
  7670.   s&@docdir@&$docdir&g
  7671.   s&@infodir@&$infodir&g
  7672.   s&@localedir@&$localedir&g
  7673.   s&@mandir@&$mandir&g
  7674.     s&\\\${datarootdir}&$datarootdir&g' ;;
  7675. esac
  7676. _ACEOF
  7677.  
  7678. # Neutralize VPATH when `$srcdir' = `.'.
  7679. # Shell code in configure.ac might set extrasub.
  7680. # FIXME: do we really want to maintain this feature?
  7681. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  7682. ac_sed_extra="$ac_vpsub
  7683. $extrasub
  7684. _ACEOF
  7685. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  7686. :t
  7687. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  7688. s|@configure_input@|$ac_sed_conf_input|;t t
  7689. s&@top_builddir@&$ac_top_builddir_sub&;t t
  7690. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  7691. s&@srcdir@&$ac_srcdir&;t t
  7692. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  7693. s&@top_srcdir@&$ac_top_srcdir&;t t
  7694. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  7695. s&@builddir@&$ac_builddir&;t t
  7696. s&@abs_builddir@&$ac_abs_builddir&;t t
  7697. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  7698. s&@INSTALL@&$ac_INSTALL&;t t
  7699. $ac_datarootdir_hack
  7700. "
  7701. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  7702.   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  7703. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  7704.    { (exit 1); exit 1; }; }
  7705.  
  7706. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  7707.   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  7708.   { ac_out=`sed -n '/^[     ]*datarootdir[     ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  7709.   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  7710. which seems to be undefined.  Please make sure it is defined." >&5
  7711. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  7712. which seems to be undefined.  Please make sure it is defined." >&2;}
  7713.  
  7714.   rm -f "$tmp/stdin"
  7715.   case $ac_file in
  7716.   -) cat "$tmp/out" && rm -f "$tmp/out";;
  7717.   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  7718.   esac \
  7719.   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  7720. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  7721.    { (exit 1); exit 1; }; }
  7722.  ;;
  7723.  
  7724.  
  7725.  
  7726.   esac
  7727.  
  7728. done # for ac_tag
  7729.  
  7730.  
  7731. { (exit 0); exit 0; }
  7732. _ACEOF
  7733. chmod +x $CONFIG_STATUS
  7734. ac_clean_files=$ac_clean_files_save
  7735.  
  7736. test $ac_write_fail = 0 ||
  7737.   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
  7738. $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
  7739.    { (exit 1); exit 1; }; }
  7740.  
  7741.  
  7742. # configure is writing to config.log, and then calls config.status.
  7743. # config.status does its own redirection, appending to config.log.
  7744. # Unfortunately, on DOS this fails, as config.log is still kept open
  7745. # by configure, so config.status won't be able to write to it; its
  7746. # output is simply discarded.  So we exec the FD to /dev/null,
  7747. # effectively closing config.log, so it can be properly (re)opened and
  7748. # appended to by config.status.  When coming back to configure, we
  7749. # need to make the FD available again.
  7750. if test "$no_create" != yes; then
  7751.   ac_cs_success=:
  7752.   ac_config_status_args=
  7753.   test "$silent" = yes &&
  7754.     ac_config_status_args="$ac_config_status_args --quiet"
  7755.   exec 5>/dev/null
  7756.   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  7757.   exec 5>>config.log
  7758.   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  7759.   # would make configure fail if this is the last instruction.
  7760.   $ac_cs_success || { (exit 1); exit 1; }
  7761. fi
  7762. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  7763.   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
  7764. $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
  7765. fi
  7766.  
  7767.  
  7768. if test -f .devel ; then
  7769.     make depend
  7770. fi
  7771.  
  7772. exit 0
  7773.