home *** CD-ROM | disk | FTP | other *** search
/ ftp.shrubbery.net / 2015-02-07.ftp.shrubbery.net.tar / ftp.shrubbery.net / pub / astraceroute / astraceroute-1.4.a12.2.tar.gz / astraceroute-1.4.a12.2.tar / astraceroute-1.4.a12.2 / configure < prev    next >
Text File  |  2008-11-17  |  253KB  |  8,993 lines

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