"Fossies" - the Fresh Open Source Software Archive

Member "portfwd-0.29/configure" (28 Jan 2004, 180930 Bytes) of package /linux/privat/old/portfwd-0.29.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
    4 #
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
    6 # This configure script is free software; the Free Software Foundation
    7 # gives unlimited permission to copy, distribute and modify it.
    8 ## --------------------- ##
    9 ## M4sh Initialization.  ##
   10 ## --------------------- ##
   11 
   12 # Be Bourne compatible
   13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   14   emulate sh
   15   NULLCMD=:
   16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   17   # is contrary to our usage.  Disable this feature.
   18   alias -g '${1+"$@"}'='"$@"'
   19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   20   set -o posix
   21 fi
   22 DUALCASE=1; export DUALCASE # for MKS sh
   23 
   24 # Support unset when possible.
   25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   26   as_unset=unset
   27 else
   28   as_unset=false
   29 fi
   30 
   31 
   32 # Work around bugs in pre-3.0 UWIN ksh.
   33 $as_unset ENV MAIL MAILPATH
   34 PS1='$ '
   35 PS2='> '
   36 PS4='+ '
   37 
   38 # NLS nuisances.
   39 for as_var in \
   40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   42   LC_TELEPHONE LC_TIME
   43 do
   44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   45     eval $as_var=C; export $as_var
   46   else
   47     $as_unset $as_var
   48   fi
   49 done
   50 
   51 # Required to use basename.
   52 if expr a : '\(a\)' >/dev/null 2>&1; then
   53   as_expr=expr
   54 else
   55   as_expr=false
   56 fi
   57 
   58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   59   as_basename=basename
   60 else
   61   as_basename=false
   62 fi
   63 
   64 
   65 # Name of the executable.
   66 as_me=`$as_basename "$0" ||
   67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   68      X"$0" : 'X\(//\)$' \| \
   69      X"$0" : 'X\(/\)$' \| \
   70      .     : '\(.\)' 2>/dev/null ||
   71 echo X/"$0" |
   72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   73       /^X\/\(\/\/\)$/{ s//\1/; q; }
   74       /^X\/\(\/\).*/{ s//\1/; q; }
   75       s/.*/./; q'`
   76 
   77 
   78 # PATH needs CR, and LINENO needs CR and PATH.
   79 # Avoid depending upon Character Ranges.
   80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   83 as_cr_digits='0123456789'
   84 as_cr_alnum=$as_cr_Letters$as_cr_digits
   85 
   86 # The user is always right.
   87 if test "${PATH_SEPARATOR+set}" != set; then
   88   echo "#! /bin/sh" >conf$$.sh
   89   echo  "exit 0"   >>conf$$.sh
   90   chmod +x conf$$.sh
   91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   92     PATH_SEPARATOR=';'
   93   else
   94     PATH_SEPARATOR=:
   95   fi
   96   rm -f conf$$.sh
   97 fi
   98 
   99 
  100   as_lineno_1=$LINENO
  101   as_lineno_2=$LINENO
  102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  103   test "x$as_lineno_1" != "x$as_lineno_2" &&
  104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  105   # Find who we are.  Look in the path if we contain no path at all
  106   # relative or not.
  107   case $0 in
  108     *[\\/]* ) as_myself=$0 ;;
  109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  110 for as_dir in $PATH
  111 do
  112   IFS=$as_save_IFS
  113   test -z "$as_dir" && as_dir=.
  114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  115 done
  116 
  117        ;;
  118   esac
  119   # We did not find ourselves, most probably we were run as `sh COMMAND'
  120   # in which case we are not to be found in the path.
  121   if test "x$as_myself" = x; then
  122     as_myself=$0
  123   fi
  124   if test ! -f "$as_myself"; then
  125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  126    { (exit 1); exit 1; }; }
  127   fi
  128   case $CONFIG_SHELL in
  129   '')
  130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  132 do
  133   IFS=$as_save_IFS
  134   test -z "$as_dir" && as_dir=.
  135   for as_base in sh bash ksh sh5; do
  136      case $as_dir in
  137      /*)
  138        if ("$as_dir/$as_base" -c '
  139   as_lineno_1=$LINENO
  140   as_lineno_2=$LINENO
  141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  142   test "x$as_lineno_1" != "x$as_lineno_2" &&
  143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  144          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  145          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  146          CONFIG_SHELL=$as_dir/$as_base
  147          export CONFIG_SHELL
  148          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  149        fi;;
  150      esac
  151        done
  152 done
  153 ;;
  154   esac
  155 
  156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  157   # uniformly replaced by the line number.  The first 'sed' inserts a
  158   # line-number line before each line; the second 'sed' does the real
  159   # work.  The second script uses 'N' to pair each line-number line
  160   # with the numbered line, and appends trailing '-' during
  161   # substitution so that $LINENO is not a special case at line end.
  162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  164   sed '=' <$as_myself |
  165     sed '
  166       N
  167       s,$,-,
  168       : loop
  169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  170       t loop
  171       s,-$,,
  172       s,^['$as_cr_digits']*\n,,
  173     ' >$as_me.lineno &&
  174   chmod +x $as_me.lineno ||
  175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  176    { (exit 1); exit 1; }; }
  177 
  178   # Don't try to exec as it changes $[0], causing all sort of problems
  179   # (the dirname of $[0] is not the place where we might find the
  180   # original and so on.  Autoconf is especially sensible to this).
  181   . ./$as_me.lineno
  182   # Exit status is that of the last command.
  183   exit
  184 }
  185 
  186 
  187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  188   *c*,-n*) ECHO_N= ECHO_C='
  189 ' ECHO_T='  ' ;;
  190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  192 esac
  193 
  194 if expr a : '\(a\)' >/dev/null 2>&1; then
  195   as_expr=expr
  196 else
  197   as_expr=false
  198 fi
  199 
  200 rm -f conf$$ conf$$.exe conf$$.file
  201 echo >conf$$.file
  202 if ln -s conf$$.file conf$$ 2>/dev/null; then
  203   # We could just check for DJGPP; but this test a) works b) is more generic
  204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  205   if test -f conf$$.exe; then
  206     # Don't use ln at all; we don't have any links
  207     as_ln_s='cp -p'
  208   else
  209     as_ln_s='ln -s'
  210   fi
  211 elif ln conf$$.file conf$$ 2>/dev/null; then
  212   as_ln_s=ln
  213 else
  214   as_ln_s='cp -p'
  215 fi
  216 rm -f conf$$ conf$$.exe conf$$.file
  217 
  218 if mkdir -p . 2>/dev/null; then
  219   as_mkdir_p=:
  220 else
  221   test -d ./-p && rmdir ./-p
  222   as_mkdir_p=false
  223 fi
  224 
  225 as_executable_p="test -f"
  226 
  227 # Sed expression to map a string onto a valid CPP name.
  228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  229 
  230 # Sed expression to map a string onto a valid variable name.
  231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  232 
  233 
  234 # IFS
  235 # We need space, tab and new line, in precisely that order.
  236 as_nl='
  237 '
  238 IFS="   $as_nl"
  239 
  240 # CDPATH.
  241 $as_unset CDPATH
  242 
  243 
  244 # Name of the host.
  245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  246 # so uname gets run too.
  247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  248 
  249 exec 6>&1
  250 
  251 #
  252 # Initializations.
  253 #
  254 ac_default_prefix=/usr/local
  255 ac_config_libobj_dir=.
  256 cross_compiling=no
  257 subdirs=
  258 MFLAGS=
  259 MAKEFLAGS=
  260 SHELL=${CONFIG_SHELL-/bin/sh}
  261 
  262 # Maximum number of lines to put in a shell here document.
  263 # This variable seems obsolete.  It should probably be removed, and
  264 # only ac_max_sed_lines should be used.
  265 : ${ac_max_here_lines=38}
  266 
  267 # Identity of this package.
  268 PACKAGE_NAME=
  269 PACKAGE_TARNAME=
  270 PACKAGE_VERSION=
  271 PACKAGE_STRING=
  272 PACKAGE_BUGREPORT=
  273 
  274 ac_unique_file="src/addr.cc"
  275 # Factoring default headers for most tests.
  276 ac_includes_default="\
  277 #include <stdio.h>
  278 #if HAVE_SYS_TYPES_H
  279 # include <sys/types.h>
  280 #endif
  281 #if HAVE_SYS_STAT_H
  282 # include <sys/stat.h>
  283 #endif
  284 #if STDC_HEADERS
  285 # include <stdlib.h>
  286 # include <stddef.h>
  287 #else
  288 # if HAVE_STDLIB_H
  289 #  include <stdlib.h>
  290 # endif
  291 #endif
  292 #if HAVE_STRING_H
  293 # if !STDC_HEADERS && HAVE_MEMORY_H
  294 #  include <memory.h>
  295 # endif
  296 # include <string.h>
  297 #endif
  298 #if HAVE_STRINGS_H
  299 # include <strings.h>
  300 #endif
  301 #if HAVE_INTTYPES_H
  302 # include <inttypes.h>
  303 #else
  304 # if HAVE_STDINT_H
  305 #  include <stdint.h>
  306 # endif
  307 #endif
  308 #if HAVE_UNISTD_H
  309 # include <unistd.h>
  310 #endif"
  311 
  312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX YACC LEX LEXLIB LEX_OUTPUT_ROOT RANLIB ac_ct_RANLIB CPP EGREP ALLOCA LIBOBJS REAL_CC LTLIBOBJS'
  313 ac_subst_files=''
  314 
  315 # Initialize some variables set by options.
  316 ac_init_help=
  317 ac_init_version=false
  318 # The variables have the same names as the options, with
  319 # dashes changed to underlines.
  320 cache_file=/dev/null
  321 exec_prefix=NONE
  322 no_create=
  323 no_recursion=
  324 prefix=NONE
  325 program_prefix=NONE
  326 program_suffix=NONE
  327 program_transform_name=s,x,x,
  328 silent=
  329 site=
  330 srcdir=
  331 verbose=
  332 x_includes=NONE
  333 x_libraries=NONE
  334 
  335 # Installation directory options.
  336 # These are left unexpanded so users can "make install exec_prefix=/foo"
  337 # and all the variables that are supposed to be based on exec_prefix
  338 # by default will actually change.
  339 # Use braces instead of parens because sh, perl, etc. also accept them.
  340 bindir='${exec_prefix}/bin'
  341 sbindir='${exec_prefix}/sbin'
  342 libexecdir='${exec_prefix}/libexec'
  343 datadir='${prefix}/share'
  344 sysconfdir='${prefix}/etc'
  345 sharedstatedir='${prefix}/com'
  346 localstatedir='${prefix}/var'
  347 libdir='${exec_prefix}/lib'
  348 includedir='${prefix}/include'
  349 oldincludedir='/usr/include'
  350 infodir='${prefix}/info'
  351 mandir='${prefix}/man'
  352 
  353 ac_prev=
  354 for ac_option
  355 do
  356   # If the previous option needs an argument, assign it.
  357   if test -n "$ac_prev"; then
  358     eval "$ac_prev=\$ac_option"
  359     ac_prev=
  360     continue
  361   fi
  362 
  363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  364 
  365   # Accept the important Cygnus configure options, so we can diagnose typos.
  366 
  367   case $ac_option in
  368 
  369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  370     ac_prev=bindir ;;
  371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  372     bindir=$ac_optarg ;;
  373 
  374   -build | --build | --buil | --bui | --bu)
  375     ac_prev=build_alias ;;
  376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  377     build_alias=$ac_optarg ;;
  378 
  379   -cache-file | --cache-file | --cache-fil | --cache-fi \
  380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  381     ac_prev=cache_file ;;
  382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  384     cache_file=$ac_optarg ;;
  385 
  386   --config-cache | -C)
  387     cache_file=config.cache ;;
  388 
  389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  390     ac_prev=datadir ;;
  391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  392   | --da=*)
  393     datadir=$ac_optarg ;;
  394 
  395   -disable-* | --disable-*)
  396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  397     # Reject names that are not valid shell variable names.
  398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  400    { (exit 1); exit 1; }; }
  401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  402     eval "enable_$ac_feature=no" ;;
  403 
  404   -enable-* | --enable-*)
  405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  406     # Reject names that are not valid shell variable names.
  407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  409    { (exit 1); exit 1; }; }
  410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  411     case $ac_option in
  412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  413       *) ac_optarg=yes ;;
  414     esac
  415     eval "enable_$ac_feature='$ac_optarg'" ;;
  416 
  417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  419   | --exec | --exe | --ex)
  420     ac_prev=exec_prefix ;;
  421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  423   | --exec=* | --exe=* | --ex=*)
  424     exec_prefix=$ac_optarg ;;
  425 
  426   -gas | --gas | --ga | --g)
  427     # Obsolete; use --with-gas.
  428     with_gas=yes ;;
  429 
  430   -help | --help | --hel | --he | -h)
  431     ac_init_help=long ;;
  432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  433     ac_init_help=recursive ;;
  434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  435     ac_init_help=short ;;
  436 
  437   -host | --host | --hos | --ho)
  438     ac_prev=host_alias ;;
  439   -host=* | --host=* | --hos=* | --ho=*)
  440     host_alias=$ac_optarg ;;
  441 
  442   -includedir | --includedir | --includedi | --included | --include \
  443   | --includ | --inclu | --incl | --inc)
  444     ac_prev=includedir ;;
  445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  446   | --includ=* | --inclu=* | --incl=* | --inc=*)
  447     includedir=$ac_optarg ;;
  448 
  449   -infodir | --infodir | --infodi | --infod | --info | --inf)
  450     ac_prev=infodir ;;
  451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  452     infodir=$ac_optarg ;;
  453 
  454   -libdir | --libdir | --libdi | --libd)
  455     ac_prev=libdir ;;
  456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  457     libdir=$ac_optarg ;;
  458 
  459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  460   | --libexe | --libex | --libe)
  461     ac_prev=libexecdir ;;
  462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  463   | --libexe=* | --libex=* | --libe=*)
  464     libexecdir=$ac_optarg ;;
  465 
  466   -localstatedir | --localstatedir | --localstatedi | --localstated \
  467   | --localstate | --localstat | --localsta | --localst \
  468   | --locals | --local | --loca | --loc | --lo)
  469     ac_prev=localstatedir ;;
  470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  473     localstatedir=$ac_optarg ;;
  474 
  475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  476     ac_prev=mandir ;;
  477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  478     mandir=$ac_optarg ;;
  479 
  480   -nfp | --nfp | --nf)
  481     # Obsolete; use --without-fp.
  482     with_fp=no ;;
  483 
  484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  485   | --no-cr | --no-c | -n)
  486     no_create=yes ;;
  487 
  488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  490     no_recursion=yes ;;
  491 
  492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  494   | --oldin | --oldi | --old | --ol | --o)
  495     ac_prev=oldincludedir ;;
  496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  499     oldincludedir=$ac_optarg ;;
  500 
  501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  502     ac_prev=prefix ;;
  503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  504     prefix=$ac_optarg ;;
  505 
  506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  507   | --program-pre | --program-pr | --program-p)
  508     ac_prev=program_prefix ;;
  509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  511     program_prefix=$ac_optarg ;;
  512 
  513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  514   | --program-suf | --program-su | --program-s)
  515     ac_prev=program_suffix ;;
  516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  518     program_suffix=$ac_optarg ;;
  519 
  520   -program-transform-name | --program-transform-name \
  521   | --program-transform-nam | --program-transform-na \
  522   | --program-transform-n | --program-transform- \
  523   | --program-transform | --program-transfor \
  524   | --program-transfo | --program-transf \
  525   | --program-trans | --program-tran \
  526   | --progr-tra | --program-tr | --program-t)
  527     ac_prev=program_transform_name ;;
  528   -program-transform-name=* | --program-transform-name=* \
  529   | --program-transform-nam=* | --program-transform-na=* \
  530   | --program-transform-n=* | --program-transform-=* \
  531   | --program-transform=* | --program-transfor=* \
  532   | --program-transfo=* | --program-transf=* \
  533   | --program-trans=* | --program-tran=* \
  534   | --progr-tra=* | --program-tr=* | --program-t=*)
  535     program_transform_name=$ac_optarg ;;
  536 
  537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  538   | -silent | --silent | --silen | --sile | --sil)
  539     silent=yes ;;
  540 
  541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  542     ac_prev=sbindir ;;
  543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  544   | --sbi=* | --sb=*)
  545     sbindir=$ac_optarg ;;
  546 
  547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  549   | --sharedst | --shareds | --shared | --share | --shar \
  550   | --sha | --sh)
  551     ac_prev=sharedstatedir ;;
  552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  555   | --sha=* | --sh=*)
  556     sharedstatedir=$ac_optarg ;;
  557 
  558   -site | --site | --sit)
  559     ac_prev=site ;;
  560   -site=* | --site=* | --sit=*)
  561     site=$ac_optarg ;;
  562 
  563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  564     ac_prev=srcdir ;;
  565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  566     srcdir=$ac_optarg ;;
  567 
  568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  569   | --syscon | --sysco | --sysc | --sys | --sy)
  570     ac_prev=sysconfdir ;;
  571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  573     sysconfdir=$ac_optarg ;;
  574 
  575   -target | --target | --targe | --targ | --tar | --ta | --t)
  576     ac_prev=target_alias ;;
  577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  578     target_alias=$ac_optarg ;;
  579 
  580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  581     verbose=yes ;;
  582 
  583   -version | --version | --versio | --versi | --vers | -V)
  584     ac_init_version=: ;;
  585 
  586   -with-* | --with-*)
  587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  588     # Reject names that are not valid shell variable names.
  589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  590       { echo "$as_me: error: invalid package name: $ac_package" >&2
  591    { (exit 1); exit 1; }; }
  592     ac_package=`echo $ac_package| sed 's/-/_/g'`
  593     case $ac_option in
  594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  595       *) ac_optarg=yes ;;
  596     esac
  597     eval "with_$ac_package='$ac_optarg'" ;;
  598 
  599   -without-* | --without-*)
  600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  601     # Reject names that are not valid shell variable names.
  602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  603       { echo "$as_me: error: invalid package name: $ac_package" >&2
  604    { (exit 1); exit 1; }; }
  605     ac_package=`echo $ac_package | sed 's/-/_/g'`
  606     eval "with_$ac_package=no" ;;
  607 
  608   --x)
  609     # Obsolete; use --with-x.
  610     with_x=yes ;;
  611 
  612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  613   | --x-incl | --x-inc | --x-in | --x-i)
  614     ac_prev=x_includes ;;
  615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  617     x_includes=$ac_optarg ;;
  618 
  619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  621     ac_prev=x_libraries ;;
  622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  624     x_libraries=$ac_optarg ;;
  625 
  626   -*) { echo "$as_me: error: unrecognized option: $ac_option
  627 Try \`$0 --help' for more information." >&2
  628    { (exit 1); exit 1; }; }
  629     ;;
  630 
  631   *=*)
  632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  633     # Reject names that are not valid shell variable names.
  634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  636    { (exit 1); exit 1; }; }
  637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  638     eval "$ac_envvar='$ac_optarg'"
  639     export $ac_envvar ;;
  640 
  641   *)
  642     # FIXME: should be removed in autoconf 3.0.
  643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  647     ;;
  648 
  649   esac
  650 done
  651 
  652 if test -n "$ac_prev"; then
  653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  654   { echo "$as_me: error: missing argument to $ac_option" >&2
  655    { (exit 1); exit 1; }; }
  656 fi
  657 
  658 # Be sure to have absolute paths.
  659 for ac_var in exec_prefix prefix
  660 do
  661   eval ac_val=$`echo $ac_var`
  662   case $ac_val in
  663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  665    { (exit 1); exit 1; }; };;
  666   esac
  667 done
  668 
  669 # Be sure to have absolute paths.
  670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  671           localstatedir libdir includedir oldincludedir infodir mandir
  672 do
  673   eval ac_val=$`echo $ac_var`
  674   case $ac_val in
  675     [\\/$]* | ?:[\\/]* ) ;;
  676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  677    { (exit 1); exit 1; }; };;
  678   esac
  679 done
  680 
  681 # There might be people who depend on the old broken behavior: `$host'
  682 # used to hold the argument of --host etc.
  683 # FIXME: To remove some day.
  684 build=$build_alias
  685 host=$host_alias
  686 target=$target_alias
  687 
  688 # FIXME: To remove some day.
  689 if test "x$host_alias" != x; then
  690   if test "x$build_alias" = x; then
  691     cross_compiling=maybe
  692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  693     If a cross compiler is detected then cross compile mode will be used." >&2
  694   elif test "x$build_alias" != "x$host_alias"; then
  695     cross_compiling=yes
  696   fi
  697 fi
  698 
  699 ac_tool_prefix=
  700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  701 
  702 test "$silent" = yes && exec 6>/dev/null
  703 
  704 
  705 # Find the source files, if location was not specified.
  706 if test -z "$srcdir"; then
  707   ac_srcdir_defaulted=yes
  708   # Try the directory containing this script, then its parent.
  709   ac_confdir=`(dirname "$0") 2>/dev/null ||
  710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  711      X"$0" : 'X\(//\)[^/]' \| \
  712      X"$0" : 'X\(//\)$' \| \
  713      X"$0" : 'X\(/\)' \| \
  714      .     : '\(.\)' 2>/dev/null ||
  715 echo X"$0" |
  716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  717       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  718       /^X\(\/\/\)$/{ s//\1/; q; }
  719       /^X\(\/\).*/{ s//\1/; q; }
  720       s/.*/./; q'`
  721   srcdir=$ac_confdir
  722   if test ! -r $srcdir/$ac_unique_file; then
  723     srcdir=..
  724   fi
  725 else
  726   ac_srcdir_defaulted=no
  727 fi
  728 if test ! -r $srcdir/$ac_unique_file; then
  729   if test "$ac_srcdir_defaulted" = yes; then
  730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  731    { (exit 1); exit 1; }; }
  732   else
  733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  734    { (exit 1); exit 1; }; }
  735   fi
  736 fi
  737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  739    { (exit 1); exit 1; }; }
  740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  741 ac_env_build_alias_set=${build_alias+set}
  742 ac_env_build_alias_value=$build_alias
  743 ac_cv_env_build_alias_set=${build_alias+set}
  744 ac_cv_env_build_alias_value=$build_alias
  745 ac_env_host_alias_set=${host_alias+set}
  746 ac_env_host_alias_value=$host_alias
  747 ac_cv_env_host_alias_set=${host_alias+set}
  748 ac_cv_env_host_alias_value=$host_alias
  749 ac_env_target_alias_set=${target_alias+set}
  750 ac_env_target_alias_value=$target_alias
  751 ac_cv_env_target_alias_set=${target_alias+set}
  752 ac_cv_env_target_alias_value=$target_alias
  753 ac_env_CC_set=${CC+set}
  754 ac_env_CC_value=$CC
  755 ac_cv_env_CC_set=${CC+set}
  756 ac_cv_env_CC_value=$CC
  757 ac_env_CFLAGS_set=${CFLAGS+set}
  758 ac_env_CFLAGS_value=$CFLAGS
  759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
  760 ac_cv_env_CFLAGS_value=$CFLAGS
  761 ac_env_LDFLAGS_set=${LDFLAGS+set}
  762 ac_env_LDFLAGS_value=$LDFLAGS
  763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  764 ac_cv_env_LDFLAGS_value=$LDFLAGS
  765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  766 ac_env_CPPFLAGS_value=$CPPFLAGS
  767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  769 ac_env_CXX_set=${CXX+set}
  770 ac_env_CXX_value=$CXX
  771 ac_cv_env_CXX_set=${CXX+set}
  772 ac_cv_env_CXX_value=$CXX
  773 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  774 ac_env_CXXFLAGS_value=$CXXFLAGS
  775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  777 ac_env_CPP_set=${CPP+set}
  778 ac_env_CPP_value=$CPP
  779 ac_cv_env_CPP_set=${CPP+set}
  780 ac_cv_env_CPP_value=$CPP
  781 
  782 #
  783 # Report the --help message.
  784 #
  785 if test "$ac_init_help" = "long"; then
  786   # Omit some internal or obsolete options to make the list less imposing.
  787   # This message is too long to be a string in the A/UX 3.1 sh.
  788   cat <<_ACEOF
  789 \`configure' configures this package to adapt to many kinds of systems.
  790 
  791 Usage: $0 [OPTION]... [VAR=VALUE]...
  792 
  793 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  794 VAR=VALUE.  See below for descriptions of some of the useful variables.
  795 
  796 Defaults for the options are specified in brackets.
  797 
  798 Configuration:
  799   -h, --help              display this help and exit
  800       --help=short        display options specific to this package
  801       --help=recursive    display the short help of all the included packages
  802   -V, --version           display version information and exit
  803   -q, --quiet, --silent   do not print \`checking...' messages
  804       --cache-file=FILE   cache test results in FILE [disabled]
  805   -C, --config-cache      alias for \`--cache-file=config.cache'
  806   -n, --no-create         do not create output files
  807       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  808 
  809 _ACEOF
  810 
  811   cat <<_ACEOF
  812 Installation directories:
  813   --prefix=PREFIX         install architecture-independent files in PREFIX
  814               [$ac_default_prefix]
  815   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  816               [PREFIX]
  817 
  818 By default, \`make install' will install all the files in
  819 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  820 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  821 for instance \`--prefix=\$HOME'.
  822 
  823 For better control, use the options below.
  824 
  825 Fine tuning of the installation directories:
  826   --bindir=DIR           user executables [EPREFIX/bin]
  827   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  828   --libexecdir=DIR       program executables [EPREFIX/libexec]
  829   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  830   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  831   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  832   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  833   --libdir=DIR           object code libraries [EPREFIX/lib]
  834   --includedir=DIR       C header files [PREFIX/include]
  835   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  836   --infodir=DIR          info documentation [PREFIX/info]
  837   --mandir=DIR           man documentation [PREFIX/man]
  838 _ACEOF
  839 
  840   cat <<\_ACEOF
  841 
  842 Program names:
  843   --program-prefix=PREFIX            prepend PREFIX to installed program names
  844   --program-suffix=SUFFIX            append SUFFIX to installed program names
  845   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  846 _ACEOF
  847 fi
  848 
  849 if test -n "$ac_init_help"; then
  850 
  851   cat <<\_ACEOF
  852 
  853 Some influential environment variables:
  854   CC          C compiler command
  855   CFLAGS      C compiler flags
  856   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  857               nonstandard directory <lib dir>
  858   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  859               headers in a nonstandard directory <include dir>
  860   CXX         C++ compiler command
  861   CXXFLAGS    C++ compiler flags
  862   CPP         C preprocessor
  863 
  864 Use these variables to override the choices made by `configure' or to help
  865 it to find libraries and programs with nonstandard names/locations.
  866 
  867 _ACEOF
  868 fi
  869 
  870 if test "$ac_init_help" = "recursive"; then
  871   # If there are subdirs, report their specific --help.
  872   ac_popdir=`pwd`
  873   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  874     test -d $ac_dir || continue
  875     ac_builddir=.
  876 
  877 if test "$ac_dir" != .; then
  878   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  879   # A "../" for each directory in $ac_dir_suffix.
  880   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  881 else
  882   ac_dir_suffix= ac_top_builddir=
  883 fi
  884 
  885 case $srcdir in
  886   .)  # No --srcdir option.  We are building in place.
  887     ac_srcdir=.
  888     if test -z "$ac_top_builddir"; then
  889        ac_top_srcdir=.
  890     else
  891        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  892     fi ;;
  893   [\\/]* | ?:[\\/]* )  # Absolute path.
  894     ac_srcdir=$srcdir$ac_dir_suffix;
  895     ac_top_srcdir=$srcdir ;;
  896   *) # Relative path.
  897     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  898     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  899 esac
  900 
  901 # Do not use `cd foo && pwd` to compute absolute paths, because
  902 # the directories may not exist.
  903 case `pwd` in
  904 .) ac_abs_builddir="$ac_dir";;
  905 *)
  906   case "$ac_dir" in
  907   .) ac_abs_builddir=`pwd`;;
  908   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  909   *) ac_abs_builddir=`pwd`/"$ac_dir";;
  910   esac;;
  911 esac
  912 case $ac_abs_builddir in
  913 .) ac_abs_top_builddir=${ac_top_builddir}.;;
  914 *)
  915   case ${ac_top_builddir}. in
  916   .) ac_abs_top_builddir=$ac_abs_builddir;;
  917   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  918   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  919   esac;;
  920 esac
  921 case $ac_abs_builddir in
  922 .) ac_abs_srcdir=$ac_srcdir;;
  923 *)
  924   case $ac_srcdir in
  925   .) ac_abs_srcdir=$ac_abs_builddir;;
  926   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  927   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  928   esac;;
  929 esac
  930 case $ac_abs_builddir in
  931 .) ac_abs_top_srcdir=$ac_top_srcdir;;
  932 *)
  933   case $ac_top_srcdir in
  934   .) ac_abs_top_srcdir=$ac_abs_builddir;;
  935   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  936   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  937   esac;;
  938 esac
  939 
  940     cd $ac_dir
  941     # Check for guested configure; otherwise get Cygnus style configure.
  942     if test -f $ac_srcdir/configure.gnu; then
  943       echo
  944       $SHELL $ac_srcdir/configure.gnu  --help=recursive
  945     elif test -f $ac_srcdir/configure; then
  946       echo
  947       $SHELL $ac_srcdir/configure  --help=recursive
  948     elif test -f $ac_srcdir/configure.ac ||
  949        test -f $ac_srcdir/configure.in; then
  950       echo
  951       $ac_configure --help
  952     else
  953       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  954     fi
  955     cd "$ac_popdir"
  956   done
  957 fi
  958 
  959 test -n "$ac_init_help" && exit 0
  960 if $ac_init_version; then
  961   cat <<\_ACEOF
  962 
  963 Copyright (C) 2003 Free Software Foundation, Inc.
  964 This configure script is free software; the Free Software Foundation
  965 gives unlimited permission to copy, distribute and modify it.
  966 _ACEOF
  967   exit 0
  968 fi
  969 exec 5>config.log
  970 cat >&5 <<_ACEOF
  971 This file contains any messages produced by compilers while
  972 running configure, to aid debugging if configure makes a mistake.
  973 
  974 It was created by $as_me, which was
  975 generated by GNU Autoconf 2.59.  Invocation command line was
  976 
  977   $ $0 $@
  978 
  979 _ACEOF
  980 {
  981 cat <<_ASUNAME
  982 ## --------- ##
  983 ## Platform. ##
  984 ## --------- ##
  985 
  986 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  987 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  988 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  989 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  990 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  991 
  992 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  993 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  994 
  995 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  996 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  997 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  998 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  999 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1000 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1001 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1002 
 1003 _ASUNAME
 1004 
 1005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1006 for as_dir in $PATH
 1007 do
 1008   IFS=$as_save_IFS
 1009   test -z "$as_dir" && as_dir=.
 1010   echo "PATH: $as_dir"
 1011 done
 1012 
 1013 } >&5
 1014 
 1015 cat >&5 <<_ACEOF
 1016 
 1017 
 1018 ## ----------- ##
 1019 ## Core tests. ##
 1020 ## ----------- ##
 1021 
 1022 _ACEOF
 1023 
 1024 
 1025 # Keep a trace of the command line.
 1026 # Strip out --no-create and --no-recursion so they do not pile up.
 1027 # Strip out --silent because we don't want to record it for future runs.
 1028 # Also quote any args containing shell meta-characters.
 1029 # Make two passes to allow for proper duplicate-argument suppression.
 1030 ac_configure_args=
 1031 ac_configure_args0=
 1032 ac_configure_args1=
 1033 ac_sep=
 1034 ac_must_keep_next=false
 1035 for ac_pass in 1 2
 1036 do
 1037   for ac_arg
 1038   do
 1039     case $ac_arg in
 1040     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1041     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1042     | -silent | --silent | --silen | --sile | --sil)
 1043       continue ;;
 1044     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1045       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1046     esac
 1047     case $ac_pass in
 1048     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1049     2)
 1050       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1051       if test $ac_must_keep_next = true; then
 1052     ac_must_keep_next=false # Got value, back to normal.
 1053       else
 1054     case $ac_arg in
 1055       *=* | --config-cache | -C | -disable-* | --disable-* \
 1056       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1057       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1058       | -with-* | --with-* | -without-* | --without-* | --x)
 1059         case "$ac_configure_args0 " in
 1060           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1061         esac
 1062         ;;
 1063       -* ) ac_must_keep_next=true ;;
 1064     esac
 1065       fi
 1066       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 1067       # Get rid of the leading space.
 1068       ac_sep=" "
 1069       ;;
 1070     esac
 1071   done
 1072 done
 1073 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1074 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1075 
 1076 # When interrupted or exit'd, cleanup temporary files, and complete
 1077 # config.log.  We remove comments because anyway the quotes in there
 1078 # would cause problems or look ugly.
 1079 # WARNING: Be sure not to use single quotes in there, as some shells,
 1080 # such as our DU 5.0 friend, will then `close' the trap.
 1081 trap 'exit_status=$?
 1082   # Save into config.log some information that might help in debugging.
 1083   {
 1084     echo
 1085 
 1086     cat <<\_ASBOX
 1087 ## ---------------- ##
 1088 ## Cache variables. ##
 1089 ## ---------------- ##
 1090 _ASBOX
 1091     echo
 1092     # The following way of writing the cache mishandles newlines in values,
 1093 {
 1094   (set) 2>&1 |
 1095     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 1096     *ac_space=\ *)
 1097       sed -n \
 1098     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 1099       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 1100       ;;
 1101     *)
 1102       sed -n \
 1103     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 1104       ;;
 1105     esac;
 1106 }
 1107     echo
 1108 
 1109     cat <<\_ASBOX
 1110 ## ----------------- ##
 1111 ## Output variables. ##
 1112 ## ----------------- ##
 1113 _ASBOX
 1114     echo
 1115     for ac_var in $ac_subst_vars
 1116     do
 1117       eval ac_val=$`echo $ac_var`
 1118       echo "$ac_var='"'"'$ac_val'"'"'"
 1119     done | sort
 1120     echo
 1121 
 1122     if test -n "$ac_subst_files"; then
 1123       cat <<\_ASBOX
 1124 ## ------------- ##
 1125 ## Output files. ##
 1126 ## ------------- ##
 1127 _ASBOX
 1128       echo
 1129       for ac_var in $ac_subst_files
 1130       do
 1131     eval ac_val=$`echo $ac_var`
 1132     echo "$ac_var='"'"'$ac_val'"'"'"
 1133       done | sort
 1134       echo
 1135     fi
 1136 
 1137     if test -s confdefs.h; then
 1138       cat <<\_ASBOX
 1139 ## ----------- ##
 1140 ## confdefs.h. ##
 1141 ## ----------- ##
 1142 _ASBOX
 1143       echo
 1144       sed "/^$/d" confdefs.h | sort
 1145       echo
 1146     fi
 1147     test "$ac_signal" != 0 &&
 1148       echo "$as_me: caught signal $ac_signal"
 1149     echo "$as_me: exit $exit_status"
 1150   } >&5
 1151   rm -f core *.core &&
 1152   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 1153     exit $exit_status
 1154      ' 0
 1155 for ac_signal in 1 2 13 15; do
 1156   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1157 done
 1158 ac_signal=0
 1159 
 1160 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1161 rm -rf conftest* confdefs.h
 1162 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
 1163 echo >confdefs.h
 1164 
 1165 # Predefined preprocessor variables.
 1166 
 1167 cat >>confdefs.h <<_ACEOF
 1168 #define PACKAGE_NAME "$PACKAGE_NAME"
 1169 _ACEOF
 1170 
 1171 
 1172 cat >>confdefs.h <<_ACEOF
 1173 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1174 _ACEOF
 1175 
 1176 
 1177 cat >>confdefs.h <<_ACEOF
 1178 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1179 _ACEOF
 1180 
 1181 
 1182 cat >>confdefs.h <<_ACEOF
 1183 #define PACKAGE_STRING "$PACKAGE_STRING"
 1184 _ACEOF
 1185 
 1186 
 1187 cat >>confdefs.h <<_ACEOF
 1188 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1189 _ACEOF
 1190 
 1191 
 1192 # Let the site file select an alternate cache file if it wants to.
 1193 # Prefer explicitly selected file to automatically selected ones.
 1194 if test -z "$CONFIG_SITE"; then
 1195   if test "x$prefix" != xNONE; then
 1196     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 1197   else
 1198     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 1199   fi
 1200 fi
 1201 for ac_site_file in $CONFIG_SITE; do
 1202   if test -r "$ac_site_file"; then
 1203     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1204 echo "$as_me: loading site script $ac_site_file" >&6;}
 1205     sed 's/^/| /' "$ac_site_file" >&5
 1206     . "$ac_site_file"
 1207   fi
 1208 done
 1209 
 1210 if test -r "$cache_file"; then
 1211   # Some versions of bash will fail to source /dev/null (special
 1212   # files actually), so we avoid doing that.
 1213   if test -f "$cache_file"; then
 1214     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1215 echo "$as_me: loading cache $cache_file" >&6;}
 1216     case $cache_file in
 1217       [\\/]* | ?:[\\/]* ) . $cache_file;;
 1218       *)                      . ./$cache_file;;
 1219     esac
 1220   fi
 1221 else
 1222   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1223 echo "$as_me: creating cache $cache_file" >&6;}
 1224   >$cache_file
 1225 fi
 1226 
 1227 # Check that the precious variables saved in the cache have kept the same
 1228 # value.
 1229 ac_cache_corrupted=false
 1230 for ac_var in `(set) 2>&1 |
 1231            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 1232   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1233   eval ac_new_set=\$ac_env_${ac_var}_set
 1234   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 1235   eval ac_new_val="\$ac_env_${ac_var}_value"
 1236   case $ac_old_set,$ac_new_set in
 1237     set,)
 1238       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1239 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1240       ac_cache_corrupted=: ;;
 1241     ,set)
 1242       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1243 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1244       ac_cache_corrupted=: ;;
 1245     ,);;
 1246     *)
 1247       if test "x$ac_old_val" != "x$ac_new_val"; then
 1248     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1249 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1250     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1251 echo "$as_me:   former value:  $ac_old_val" >&2;}
 1252     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1253 echo "$as_me:   current value: $ac_new_val" >&2;}
 1254     ac_cache_corrupted=:
 1255       fi;;
 1256   esac
 1257   # Pass precious variables to config.status.
 1258   if test "$ac_new_set" = set; then
 1259     case $ac_new_val in
 1260     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1261       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1262     *) ac_arg=$ac_var=$ac_new_val ;;
 1263     esac
 1264     case " $ac_configure_args " in
 1265       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1266       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1267     esac
 1268   fi
 1269 done
 1270 if $ac_cache_corrupted; then
 1271   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1272 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1273   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1274 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1275    { (exit 1); exit 1; }; }
 1276 fi
 1277 
 1278 ac_ext=c
 1279 ac_cpp='$CPP $CPPFLAGS'
 1280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1283 
 1284 
 1285 
 1286 
 1287 
 1288 
 1289 
 1290 
 1291 
 1292 
 1293 
 1294 
 1295 
 1296 
 1297 
 1298 
 1299 
 1300 
 1301 
 1302 ac_aux_dir=
 1303 for ac_dir in config $srcdir/config; do
 1304   if test -f $ac_dir/install-sh; then
 1305     ac_aux_dir=$ac_dir
 1306     ac_install_sh="$ac_aux_dir/install-sh -c"
 1307     break
 1308   elif test -f $ac_dir/install.sh; then
 1309     ac_aux_dir=$ac_dir
 1310     ac_install_sh="$ac_aux_dir/install.sh -c"
 1311     break
 1312   elif test -f $ac_dir/shtool; then
 1313     ac_aux_dir=$ac_dir
 1314     ac_install_sh="$ac_aux_dir/shtool install -c"
 1315     break
 1316   fi
 1317 done
 1318 if test -z "$ac_aux_dir"; then
 1319   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
 1320 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
 1321    { (exit 1); exit 1; }; }
 1322 fi
 1323 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 1324 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 1325 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 1326 
 1327 
 1328           ac_config_headers="$ac_config_headers config.h"
 1329 
 1330           ac_config_commands="$ac_config_commands default-1"
 1331 
 1332 am__api_version="1.4"
 1333 # Find a good install program.  We prefer a C program (faster),
 1334 # so one script is as good as another.  But avoid the broken or
 1335 # incompatible versions:
 1336 # SysV /etc/install, /usr/sbin/install
 1337 # SunOS /usr/etc/install
 1338 # IRIX /sbin/install
 1339 # AIX /bin/install
 1340 # AmigaOS /C/install, which installs bootblocks on floppy discs
 1341 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 1342 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 1343 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 1344 # OS/2's system install, which has a completely different semantic
 1345 # ./install, which can be erroneously created by make from ./install.sh.
 1346 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 1347 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 1348 if test -z "$INSTALL"; then
 1349 if test "${ac_cv_path_install+set}" = set; then
 1350   echo $ECHO_N "(cached) $ECHO_C" >&6
 1351 else
 1352   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1353 for as_dir in $PATH
 1354 do
 1355   IFS=$as_save_IFS
 1356   test -z "$as_dir" && as_dir=.
 1357   # Account for people who put trailing slashes in PATH elements.
 1358 case $as_dir/ in
 1359   ./ | .// | /cC/* | \
 1360   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 1361   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 1362   /usr/ucb/* ) ;;
 1363   *)
 1364     # OSF1 and SCO ODT 3.0 have their own names for install.
 1365     # Don't use installbsd from OSF since it installs stuff as root
 1366     # by default.
 1367     for ac_prog in ginstall scoinst install; do
 1368       for ac_exec_ext in '' $ac_executable_extensions; do
 1369     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 1370       if test $ac_prog = install &&
 1371         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 1372         # AIX install.  It has an incompatible calling convention.
 1373         :
 1374       elif test $ac_prog = install &&
 1375         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 1376         # program-specific install script used by HP pwplus--don't use.
 1377         :
 1378       else
 1379         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 1380         break 3
 1381       fi
 1382     fi
 1383       done
 1384     done
 1385     ;;
 1386 esac
 1387 done
 1388 
 1389 
 1390 fi
 1391   if test "${ac_cv_path_install+set}" = set; then
 1392     INSTALL=$ac_cv_path_install
 1393   else
 1394     # As a last resort, use the slow shell script.  We don't cache a
 1395     # path for INSTALL within a source directory, because that will
 1396     # break other packages using the cache if that directory is
 1397     # removed, or if the path is relative.
 1398     INSTALL=$ac_install_sh
 1399   fi
 1400 fi
 1401 echo "$as_me:$LINENO: result: $INSTALL" >&5
 1402 echo "${ECHO_T}$INSTALL" >&6
 1403 
 1404 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 1405 # It thinks the first close brace ends the variable substitution.
 1406 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 1407 
 1408 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 1409 
 1410 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 1411 
 1412 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 1413 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 1414 # Just in case
 1415 sleep 1
 1416 echo timestamp > conftestfile
 1417 # Do `set' in a subshell so we don't clobber the current shell's
 1418 # arguments.  Must try -L first in case configure is actually a
 1419 # symlink; some systems play weird games with the mod time of symlinks
 1420 # (eg FreeBSD returns the mod time of the symlink's containing
 1421 # directory).
 1422 if (
 1423    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
 1424    if test "$*" = "X"; then
 1425       # -L didn't work.
 1426       set X `ls -t $srcdir/configure conftestfile`
 1427    fi
 1428    if test "$*" != "X $srcdir/configure conftestfile" \
 1429       && test "$*" != "X conftestfile $srcdir/configure"; then
 1430 
 1431       # If neither matched, then we have a broken ls.  This can happen
 1432       # if, for instance, CONFIG_SHELL is bash and it inherits a
 1433       # broken ls alias from the environment.  This has actually
 1434       # happened.  Such a system could not be considered "sane".
 1435       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 1436 alias in your environment" >&5
 1437 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 1438 alias in your environment" >&2;}
 1439    { (exit 1); exit 1; }; }
 1440    fi
 1441 
 1442    test "$2" = conftestfile
 1443    )
 1444 then
 1445    # Ok.
 1446    :
 1447 else
 1448    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 1449 Check your system clock" >&5
 1450 echo "$as_me: error: newly created file is older than distributed files!
 1451 Check your system clock" >&2;}
 1452    { (exit 1); exit 1; }; }
 1453 fi
 1454 rm -f conftest*
 1455 echo "$as_me:$LINENO: result: yes" >&5
 1456 echo "${ECHO_T}yes" >&6
 1457 test "$program_prefix" != NONE &&
 1458   program_transform_name="s,^,$program_prefix,;$program_transform_name"
 1459 # Use a double $ so make ignores it.
 1460 test "$program_suffix" != NONE &&
 1461   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 1462 # Double any \ or $.  echo might interpret backslashes.
 1463 # By default was `s,x,x', remove it if useless.
 1464 cat <<\_ACEOF >conftest.sed
 1465 s/[\\$]/&&/g;s/;s,x,x,$//
 1466 _ACEOF
 1467 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 1468 rm conftest.sed
 1469 
 1470 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 1471 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 1472 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 1473 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 1474   echo $ECHO_N "(cached) $ECHO_C" >&6
 1475 else
 1476   cat >conftest.make <<\_ACEOF
 1477 all:
 1478     @echo 'ac_maketemp="$(MAKE)"'
 1479 _ACEOF
 1480 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 1481 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 1482 if test -n "$ac_maketemp"; then
 1483   eval ac_cv_prog_make_${ac_make}_set=yes
 1484 else
 1485   eval ac_cv_prog_make_${ac_make}_set=no
 1486 fi
 1487 rm -f conftest.make
 1488 fi
 1489 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 1490   echo "$as_me:$LINENO: result: yes" >&5
 1491 echo "${ECHO_T}yes" >&6
 1492   SET_MAKE=
 1493 else
 1494   echo "$as_me:$LINENO: result: no" >&5
 1495 echo "${ECHO_T}no" >&6
 1496   SET_MAKE="MAKE=${MAKE-make}"
 1497 fi
 1498 
 1499 
 1500 PACKAGE=portfwd
 1501 
 1502 VERSION="0.27"
 1503 
 1504 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
 1505   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 1506 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 1507    { (exit 1); exit 1; }; }
 1508 fi
 1509 
 1510 cat >>confdefs.h <<_ACEOF
 1511 #define PACKAGE "$PACKAGE"
 1512 _ACEOF
 1513 
 1514 
 1515 cat >>confdefs.h <<_ACEOF
 1516 #define VERSION "$VERSION"
 1517 _ACEOF
 1518 
 1519 
 1520 
 1521 missing_dir=`cd $ac_aux_dir && pwd`
 1522 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
 1523 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
 1524 # Run test in a subshell; some versions of sh will print an error if
 1525 # an executable is not found, even if stderr is redirected.
 1526 # Redirect stdin to placate older versions of autoconf.  Sigh.
 1527 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
 1528    ACLOCAL=aclocal-${am__api_version}
 1529    echo "$as_me:$LINENO: result: found" >&5
 1530 echo "${ECHO_T}found" >&6
 1531 else
 1532    ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
 1533    echo "$as_me:$LINENO: result: missing" >&5
 1534 echo "${ECHO_T}missing" >&6
 1535 fi
 1536 
 1537 echo "$as_me:$LINENO: checking for working autoconf" >&5
 1538 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
 1539 # Run test in a subshell; some versions of sh will print an error if
 1540 # an executable is not found, even if stderr is redirected.
 1541 # Redirect stdin to placate older versions of autoconf.  Sigh.
 1542 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
 1543    AUTOCONF=autoconf
 1544    echo "$as_me:$LINENO: result: found" >&5
 1545 echo "${ECHO_T}found" >&6
 1546 else
 1547    AUTOCONF="$missing_dir/missing autoconf"
 1548    echo "$as_me:$LINENO: result: missing" >&5
 1549 echo "${ECHO_T}missing" >&6
 1550 fi
 1551 
 1552 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
 1553 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
 1554 # Run test in a subshell; some versions of sh will print an error if
 1555 # an executable is not found, even if stderr is redirected.
 1556 # Redirect stdin to placate older versions of autoconf.  Sigh.
 1557 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
 1558    AUTOMAKE=automake-${am__api_version}
 1559    echo "$as_me:$LINENO: result: found" >&5
 1560 echo "${ECHO_T}found" >&6
 1561 else
 1562    AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
 1563    echo "$as_me:$LINENO: result: missing" >&5
 1564 echo "${ECHO_T}missing" >&6
 1565 fi
 1566 
 1567 echo "$as_me:$LINENO: checking for working autoheader" >&5
 1568 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
 1569 # Run test in a subshell; some versions of sh will print an error if
 1570 # an executable is not found, even if stderr is redirected.
 1571 # Redirect stdin to placate older versions of autoconf.  Sigh.
 1572 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
 1573    AUTOHEADER=autoheader
 1574    echo "$as_me:$LINENO: result: found" >&5
 1575 echo "${ECHO_T}found" >&6
 1576 else
 1577    AUTOHEADER="$missing_dir/missing autoheader"
 1578    echo "$as_me:$LINENO: result: missing" >&5
 1579 echo "${ECHO_T}missing" >&6
 1580 fi
 1581 
 1582 echo "$as_me:$LINENO: checking for working makeinfo" >&5
 1583 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
 1584 # Run test in a subshell; some versions of sh will print an error if
 1585 # an executable is not found, even if stderr is redirected.
 1586 # Redirect stdin to placate older versions of autoconf.  Sigh.
 1587 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
 1588    MAKEINFO=makeinfo
 1589    echo "$as_me:$LINENO: result: found" >&5
 1590 echo "${ECHO_T}found" >&6
 1591 else
 1592    MAKEINFO="$missing_dir/missing makeinfo"
 1593    echo "$as_me:$LINENO: result: missing" >&5
 1594 echo "${ECHO_T}missing" >&6
 1595 fi
 1596 
 1597 
 1598 
 1599 ac_ext=c
 1600 ac_cpp='$CPP $CPPFLAGS'
 1601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1604 if test -n "$ac_tool_prefix"; then
 1605   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 1606 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 1607 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1609 if test "${ac_cv_prog_CC+set}" = set; then
 1610   echo $ECHO_N "(cached) $ECHO_C" >&6
 1611 else
 1612   if test -n "$CC"; then
 1613   ac_cv_prog_CC="$CC" # Let the user override the test.
 1614 else
 1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1616 for as_dir in $PATH
 1617 do
 1618   IFS=$as_save_IFS
 1619   test -z "$as_dir" && as_dir=.
 1620   for ac_exec_ext in '' $ac_executable_extensions; do
 1621   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1622     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 1623     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1624     break 2
 1625   fi
 1626 done
 1627 done
 1628 
 1629 fi
 1630 fi
 1631 CC=$ac_cv_prog_CC
 1632 if test -n "$CC"; then
 1633   echo "$as_me:$LINENO: result: $CC" >&5
 1634 echo "${ECHO_T}$CC" >&6
 1635 else
 1636   echo "$as_me:$LINENO: result: no" >&5
 1637 echo "${ECHO_T}no" >&6
 1638 fi
 1639 
 1640 fi
 1641 if test -z "$ac_cv_prog_CC"; then
 1642   ac_ct_CC=$CC
 1643   # Extract the first word of "gcc", so it can be a program name with args.
 1644 set dummy gcc; ac_word=$2
 1645 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1647 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1648   echo $ECHO_N "(cached) $ECHO_C" >&6
 1649 else
 1650   if test -n "$ac_ct_CC"; then
 1651   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1652 else
 1653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1654 for as_dir in $PATH
 1655 do
 1656   IFS=$as_save_IFS
 1657   test -z "$as_dir" && as_dir=.
 1658   for ac_exec_ext in '' $ac_executable_extensions; do
 1659   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1660     ac_cv_prog_ac_ct_CC="gcc"
 1661     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1662     break 2
 1663   fi
 1664 done
 1665 done
 1666 
 1667 fi
 1668 fi
 1669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1670 if test -n "$ac_ct_CC"; then
 1671   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1672 echo "${ECHO_T}$ac_ct_CC" >&6
 1673 else
 1674   echo "$as_me:$LINENO: result: no" >&5
 1675 echo "${ECHO_T}no" >&6
 1676 fi
 1677 
 1678   CC=$ac_ct_CC
 1679 else
 1680   CC="$ac_cv_prog_CC"
 1681 fi
 1682 
 1683 if test -z "$CC"; then
 1684   if test -n "$ac_tool_prefix"; then
 1685   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 1686 set dummy ${ac_tool_prefix}cc; ac_word=$2
 1687 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1689 if test "${ac_cv_prog_CC+set}" = set; then
 1690   echo $ECHO_N "(cached) $ECHO_C" >&6
 1691 else
 1692   if test -n "$CC"; then
 1693   ac_cv_prog_CC="$CC" # Let the user override the test.
 1694 else
 1695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1696 for as_dir in $PATH
 1697 do
 1698   IFS=$as_save_IFS
 1699   test -z "$as_dir" && as_dir=.
 1700   for ac_exec_ext in '' $ac_executable_extensions; do
 1701   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1702     ac_cv_prog_CC="${ac_tool_prefix}cc"
 1703     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1704     break 2
 1705   fi
 1706 done
 1707 done
 1708 
 1709 fi
 1710 fi
 1711 CC=$ac_cv_prog_CC
 1712 if test -n "$CC"; then
 1713   echo "$as_me:$LINENO: result: $CC" >&5
 1714 echo "${ECHO_T}$CC" >&6
 1715 else
 1716   echo "$as_me:$LINENO: result: no" >&5
 1717 echo "${ECHO_T}no" >&6
 1718 fi
 1719 
 1720 fi
 1721 if test -z "$ac_cv_prog_CC"; then
 1722   ac_ct_CC=$CC
 1723   # Extract the first word of "cc", so it can be a program name with args.
 1724 set dummy cc; ac_word=$2
 1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1727 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1728   echo $ECHO_N "(cached) $ECHO_C" >&6
 1729 else
 1730   if test -n "$ac_ct_CC"; then
 1731   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1732 else
 1733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1734 for as_dir in $PATH
 1735 do
 1736   IFS=$as_save_IFS
 1737   test -z "$as_dir" && as_dir=.
 1738   for ac_exec_ext in '' $ac_executable_extensions; do
 1739   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1740     ac_cv_prog_ac_ct_CC="cc"
 1741     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1742     break 2
 1743   fi
 1744 done
 1745 done
 1746 
 1747 fi
 1748 fi
 1749 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1750 if test -n "$ac_ct_CC"; then
 1751   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1752 echo "${ECHO_T}$ac_ct_CC" >&6
 1753 else
 1754   echo "$as_me:$LINENO: result: no" >&5
 1755 echo "${ECHO_T}no" >&6
 1756 fi
 1757 
 1758   CC=$ac_ct_CC
 1759 else
 1760   CC="$ac_cv_prog_CC"
 1761 fi
 1762 
 1763 fi
 1764 if test -z "$CC"; then
 1765   # Extract the first word of "cc", so it can be a program name with args.
 1766 set dummy cc; ac_word=$2
 1767 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1769 if test "${ac_cv_prog_CC+set}" = set; then
 1770   echo $ECHO_N "(cached) $ECHO_C" >&6
 1771 else
 1772   if test -n "$CC"; then
 1773   ac_cv_prog_CC="$CC" # Let the user override the test.
 1774 else
 1775   ac_prog_rejected=no
 1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1777 for as_dir in $PATH
 1778 do
 1779   IFS=$as_save_IFS
 1780   test -z "$as_dir" && as_dir=.
 1781   for ac_exec_ext in '' $ac_executable_extensions; do
 1782   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1783     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 1784        ac_prog_rejected=yes
 1785        continue
 1786      fi
 1787     ac_cv_prog_CC="cc"
 1788     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1789     break 2
 1790   fi
 1791 done
 1792 done
 1793 
 1794 if test $ac_prog_rejected = yes; then
 1795   # We found a bogon in the path, so make sure we never use it.
 1796   set dummy $ac_cv_prog_CC
 1797   shift
 1798   if test $# != 0; then
 1799     # We chose a different compiler from the bogus one.
 1800     # However, it has the same basename, so the bogon will be chosen
 1801     # first if we set CC to just the basename; use the full file name.
 1802     shift
 1803     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 1804   fi
 1805 fi
 1806 fi
 1807 fi
 1808 CC=$ac_cv_prog_CC
 1809 if test -n "$CC"; then
 1810   echo "$as_me:$LINENO: result: $CC" >&5
 1811 echo "${ECHO_T}$CC" >&6
 1812 else
 1813   echo "$as_me:$LINENO: result: no" >&5
 1814 echo "${ECHO_T}no" >&6
 1815 fi
 1816 
 1817 fi
 1818 if test -z "$CC"; then
 1819   if test -n "$ac_tool_prefix"; then
 1820   for ac_prog in cl
 1821   do
 1822     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 1823 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 1824 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1826 if test "${ac_cv_prog_CC+set}" = set; then
 1827   echo $ECHO_N "(cached) $ECHO_C" >&6
 1828 else
 1829   if test -n "$CC"; then
 1830   ac_cv_prog_CC="$CC" # Let the user override the test.
 1831 else
 1832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1833 for as_dir in $PATH
 1834 do
 1835   IFS=$as_save_IFS
 1836   test -z "$as_dir" && as_dir=.
 1837   for ac_exec_ext in '' $ac_executable_extensions; do
 1838   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1839     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 1840     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1841     break 2
 1842   fi
 1843 done
 1844 done
 1845 
 1846 fi
 1847 fi
 1848 CC=$ac_cv_prog_CC
 1849 if test -n "$CC"; then
 1850   echo "$as_me:$LINENO: result: $CC" >&5
 1851 echo "${ECHO_T}$CC" >&6
 1852 else
 1853   echo "$as_me:$LINENO: result: no" >&5
 1854 echo "${ECHO_T}no" >&6
 1855 fi
 1856 
 1857     test -n "$CC" && break
 1858   done
 1859 fi
 1860 if test -z "$CC"; then
 1861   ac_ct_CC=$CC
 1862   for ac_prog in cl
 1863 do
 1864   # Extract the first word of "$ac_prog", so it can be a program name with args.
 1865 set dummy $ac_prog; ac_word=$2
 1866 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1868 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1869   echo $ECHO_N "(cached) $ECHO_C" >&6
 1870 else
 1871   if test -n "$ac_ct_CC"; then
 1872   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1873 else
 1874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1875 for as_dir in $PATH
 1876 do
 1877   IFS=$as_save_IFS
 1878   test -z "$as_dir" && as_dir=.
 1879   for ac_exec_ext in '' $ac_executable_extensions; do
 1880   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1881     ac_cv_prog_ac_ct_CC="$ac_prog"
 1882     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1883     break 2
 1884   fi
 1885 done
 1886 done
 1887 
 1888 fi
 1889 fi
 1890 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1891 if test -n "$ac_ct_CC"; then
 1892   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1893 echo "${ECHO_T}$ac_ct_CC" >&6
 1894 else
 1895   echo "$as_me:$LINENO: result: no" >&5
 1896 echo "${ECHO_T}no" >&6
 1897 fi
 1898 
 1899   test -n "$ac_ct_CC" && break
 1900 done
 1901 
 1902   CC=$ac_ct_CC
 1903 fi
 1904 
 1905 fi
 1906 
 1907 
 1908 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 1909 See \`config.log' for more details." >&5
 1910 echo "$as_me: error: no acceptable C compiler found in \$PATH
 1911 See \`config.log' for more details." >&2;}
 1912    { (exit 1); exit 1; }; }
 1913 
 1914 # Provide some information about the compiler.
 1915 echo "$as_me:$LINENO:" \
 1916      "checking for C compiler version" >&5
 1917 ac_compiler=`set X $ac_compile; echo $2`
 1918 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 1919   (eval $ac_compiler --version </dev/null >&5) 2>&5
 1920   ac_status=$?
 1921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1922   (exit $ac_status); }
 1923 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 1924   (eval $ac_compiler -v </dev/null >&5) 2>&5
 1925   ac_status=$?
 1926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1927   (exit $ac_status); }
 1928 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 1929   (eval $ac_compiler -V </dev/null >&5) 2>&5
 1930   ac_status=$?
 1931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1932   (exit $ac_status); }
 1933 
 1934 cat >conftest.$ac_ext <<_ACEOF
 1935 /* confdefs.h.  */
 1936 _ACEOF
 1937 cat confdefs.h >>conftest.$ac_ext
 1938 cat >>conftest.$ac_ext <<_ACEOF
 1939 /* end confdefs.h.  */
 1940 
 1941 int
 1942 main ()
 1943 {
 1944 
 1945   ;
 1946   return 0;
 1947 }
 1948 _ACEOF
 1949 ac_clean_files_save=$ac_clean_files
 1950 ac_clean_files="$ac_clean_files a.out a.exe b.out"
 1951 # Try to create an executable without -o first, disregard a.out.
 1952 # It will help us diagnose broken compilers, and finding out an intuition
 1953 # of exeext.
 1954 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 1955 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 1956 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 1957 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 1958   (eval $ac_link_default) 2>&5
 1959   ac_status=$?
 1960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1961   (exit $ac_status); }; then
 1962   # Find the output, starting from the most likely.  This scheme is
 1963 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
 1964 # resort.
 1965 
 1966 # Be careful to initialize this variable, since it used to be cached.
 1967 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 1968 ac_cv_exeext=
 1969 # b.out is created by i960 compilers.
 1970 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 1971 do
 1972   test -f "$ac_file" || continue
 1973   case $ac_file in
 1974     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 1975     ;;
 1976     conftest.$ac_ext )
 1977     # This is the source file.
 1978     ;;
 1979     [ab].out )
 1980     # We found the default executable, but exeext='' is most
 1981     # certainly right.
 1982     break;;
 1983     *.* )
 1984     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 1985     # FIXME: I believe we export ac_cv_exeext for Libtool,
 1986     # but it would be cool to find out if it's true.  Does anybody
 1987     # maintain Libtool? --akim.
 1988     export ac_cv_exeext
 1989     break;;
 1990     * )
 1991     break;;
 1992   esac
 1993 done
 1994 else
 1995   echo "$as_me: failed program was:" >&5
 1996 sed 's/^/| /' conftest.$ac_ext >&5
 1997 
 1998 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
 1999 See \`config.log' for more details." >&5
 2000 echo "$as_me: error: C compiler cannot create executables
 2001 See \`config.log' for more details." >&2;}
 2002    { (exit 77); exit 77; }; }
 2003 fi
 2004 
 2005 ac_exeext=$ac_cv_exeext
 2006 echo "$as_me:$LINENO: result: $ac_file" >&5
 2007 echo "${ECHO_T}$ac_file" >&6
 2008 
 2009 # Check the compiler produces executables we can run.  If not, either
 2010 # the compiler is broken, or we cross compile.
 2011 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 2012 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 2013 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 2014 # If not cross compiling, check that we can run a simple program.
 2015 if test "$cross_compiling" != yes; then
 2016   if { ac_try='./$ac_file'
 2017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2018   (eval $ac_try) 2>&5
 2019   ac_status=$?
 2020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2021   (exit $ac_status); }; }; then
 2022     cross_compiling=no
 2023   else
 2024     if test "$cross_compiling" = maybe; then
 2025     cross_compiling=yes
 2026     else
 2027     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 2028 If you meant to cross compile, use \`--host'.
 2029 See \`config.log' for more details." >&5
 2030 echo "$as_me: error: cannot run C compiled programs.
 2031 If you meant to cross compile, use \`--host'.
 2032 See \`config.log' for more details." >&2;}
 2033    { (exit 1); exit 1; }; }
 2034     fi
 2035   fi
 2036 fi
 2037 echo "$as_me:$LINENO: result: yes" >&5
 2038 echo "${ECHO_T}yes" >&6
 2039 
 2040 rm -f a.out a.exe conftest$ac_cv_exeext b.out
 2041 ac_clean_files=$ac_clean_files_save
 2042 # Check the compiler produces executables we can run.  If not, either
 2043 # the compiler is broken, or we cross compile.
 2044 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 2045 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 2046 echo "$as_me:$LINENO: result: $cross_compiling" >&5
 2047 echo "${ECHO_T}$cross_compiling" >&6
 2048 
 2049 echo "$as_me:$LINENO: checking for suffix of executables" >&5
 2050 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 2051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2052   (eval $ac_link) 2>&5
 2053   ac_status=$?
 2054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2055   (exit $ac_status); }; then
 2056   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2057 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2058 # work properly (i.e., refer to `conftest.exe'), while it won't with
 2059 # `rm'.
 2060 for ac_file in conftest.exe conftest conftest.*; do
 2061   test -f "$ac_file" || continue
 2062   case $ac_file in
 2063     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 2064     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2065       export ac_cv_exeext
 2066       break;;
 2067     * ) break;;
 2068   esac
 2069 done
 2070 else
 2071   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 2072 See \`config.log' for more details." >&5
 2073 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 2074 See \`config.log' for more details." >&2;}
 2075    { (exit 1); exit 1; }; }
 2076 fi
 2077 
 2078 rm -f conftest$ac_cv_exeext
 2079 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 2080 echo "${ECHO_T}$ac_cv_exeext" >&6
 2081 
 2082 rm -f conftest.$ac_ext
 2083 EXEEXT=$ac_cv_exeext
 2084 ac_exeext=$EXEEXT
 2085 echo "$as_me:$LINENO: checking for suffix of object files" >&5
 2086 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 2087 if test "${ac_cv_objext+set}" = set; then
 2088   echo $ECHO_N "(cached) $ECHO_C" >&6
 2089 else
 2090   cat >conftest.$ac_ext <<_ACEOF
 2091 /* confdefs.h.  */
 2092 _ACEOF
 2093 cat confdefs.h >>conftest.$ac_ext
 2094 cat >>conftest.$ac_ext <<_ACEOF
 2095 /* end confdefs.h.  */
 2096 
 2097 int
 2098 main ()
 2099 {
 2100 
 2101   ;
 2102   return 0;
 2103 }
 2104 _ACEOF
 2105 rm -f conftest.o conftest.obj
 2106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2107   (eval $ac_compile) 2>&5
 2108   ac_status=$?
 2109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2110   (exit $ac_status); }; then
 2111   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 2112   case $ac_file in
 2113     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 2114     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2115        break;;
 2116   esac
 2117 done
 2118 else
 2119   echo "$as_me: failed program was:" >&5
 2120 sed 's/^/| /' conftest.$ac_ext >&5
 2121 
 2122 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 2123 See \`config.log' for more details." >&5
 2124 echo "$as_me: error: cannot compute suffix of object files: cannot compile
 2125 See \`config.log' for more details." >&2;}
 2126    { (exit 1); exit 1; }; }
 2127 fi
 2128 
 2129 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2130 fi
 2131 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 2132 echo "${ECHO_T}$ac_cv_objext" >&6
 2133 OBJEXT=$ac_cv_objext
 2134 ac_objext=$OBJEXT
 2135 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 2136 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 2137 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 2138   echo $ECHO_N "(cached) $ECHO_C" >&6
 2139 else
 2140   cat >conftest.$ac_ext <<_ACEOF
 2141 /* confdefs.h.  */
 2142 _ACEOF
 2143 cat confdefs.h >>conftest.$ac_ext
 2144 cat >>conftest.$ac_ext <<_ACEOF
 2145 /* end confdefs.h.  */
 2146 
 2147 int
 2148 main ()
 2149 {
 2150 #ifndef __GNUC__
 2151        choke me
 2152 #endif
 2153 
 2154   ;
 2155   return 0;
 2156 }
 2157 _ACEOF
 2158 rm -f conftest.$ac_objext
 2159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2160   (eval $ac_compile) 2>conftest.er1
 2161   ac_status=$?
 2162   grep -v '^ *+' conftest.er1 >conftest.err
 2163   rm -f conftest.er1
 2164   cat conftest.err >&5
 2165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2166   (exit $ac_status); } &&
 2167      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2169   (eval $ac_try) 2>&5
 2170   ac_status=$?
 2171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2172   (exit $ac_status); }; } &&
 2173      { ac_try='test -s conftest.$ac_objext'
 2174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2175   (eval $ac_try) 2>&5
 2176   ac_status=$?
 2177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2178   (exit $ac_status); }; }; then
 2179   ac_compiler_gnu=yes
 2180 else
 2181   echo "$as_me: failed program was:" >&5
 2182 sed 's/^/| /' conftest.$ac_ext >&5
 2183 
 2184 ac_compiler_gnu=no
 2185 fi
 2186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2187 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 2188 
 2189 fi
 2190 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 2191 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 2192 GCC=`test $ac_compiler_gnu = yes && echo yes`
 2193 ac_test_CFLAGS=${CFLAGS+set}
 2194 ac_save_CFLAGS=$CFLAGS
 2195 CFLAGS="-g"
 2196 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 2197 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 2198 if test "${ac_cv_prog_cc_g+set}" = set; then
 2199   echo $ECHO_N "(cached) $ECHO_C" >&6
 2200 else
 2201   cat >conftest.$ac_ext <<_ACEOF
 2202 /* confdefs.h.  */
 2203 _ACEOF
 2204 cat confdefs.h >>conftest.$ac_ext
 2205 cat >>conftest.$ac_ext <<_ACEOF
 2206 /* end confdefs.h.  */
 2207 
 2208 int
 2209 main ()
 2210 {
 2211 
 2212   ;
 2213   return 0;
 2214 }
 2215 _ACEOF
 2216 rm -f conftest.$ac_objext
 2217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2218   (eval $ac_compile) 2>conftest.er1
 2219   ac_status=$?
 2220   grep -v '^ *+' conftest.er1 >conftest.err
 2221   rm -f conftest.er1
 2222   cat conftest.err >&5
 2223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2224   (exit $ac_status); } &&
 2225      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2227   (eval $ac_try) 2>&5
 2228   ac_status=$?
 2229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2230   (exit $ac_status); }; } &&
 2231      { ac_try='test -s conftest.$ac_objext'
 2232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2233   (eval $ac_try) 2>&5
 2234   ac_status=$?
 2235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2236   (exit $ac_status); }; }; then
 2237   ac_cv_prog_cc_g=yes
 2238 else
 2239   echo "$as_me: failed program was:" >&5
 2240 sed 's/^/| /' conftest.$ac_ext >&5
 2241 
 2242 ac_cv_prog_cc_g=no
 2243 fi
 2244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2245 fi
 2246 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 2247 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 2248 if test "$ac_test_CFLAGS" = set; then
 2249   CFLAGS=$ac_save_CFLAGS
 2250 elif test $ac_cv_prog_cc_g = yes; then
 2251   if test "$GCC" = yes; then
 2252     CFLAGS="-g -O2"
 2253   else
 2254     CFLAGS="-g"
 2255   fi
 2256 else
 2257   if test "$GCC" = yes; then
 2258     CFLAGS="-O2"
 2259   else
 2260     CFLAGS=
 2261   fi
 2262 fi
 2263 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 2264 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 2265 if test "${ac_cv_prog_cc_stdc+set}" = set; then
 2266   echo $ECHO_N "(cached) $ECHO_C" >&6
 2267 else
 2268   ac_cv_prog_cc_stdc=no
 2269 ac_save_CC=$CC
 2270 cat >conftest.$ac_ext <<_ACEOF
 2271 /* confdefs.h.  */
 2272 _ACEOF
 2273 cat confdefs.h >>conftest.$ac_ext
 2274 cat >>conftest.$ac_ext <<_ACEOF
 2275 /* end confdefs.h.  */
 2276 #include <stdarg.h>
 2277 #include <stdio.h>
 2278 #include <sys/types.h>
 2279 #include <sys/stat.h>
 2280 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 2281 struct buf { int x; };
 2282 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 2283 static char *e (p, i)
 2284      char **p;
 2285      int i;
 2286 {
 2287   return p[i];
 2288 }
 2289 static char *f (char * (*g) (char **, int), char **p, ...)
 2290 {
 2291   char *s;
 2292   va_list v;
 2293   va_start (v,p);
 2294   s = g (p, va_arg (v,int));
 2295   va_end (v);
 2296   return s;
 2297 }
 2298 
 2299 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 2300    function prototypes and stuff, but not '\xHH' hex character constants.
 2301    These don't provoke an error unfortunately, instead are silently treated
 2302    as 'x'.  The following induces an error, until -std1 is added to get
 2303    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 2304    array size at least.  It's necessary to write '\x00'==0 to get something
 2305    that's true only with -std1.  */
 2306 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 2307 
 2308 int test (int i, double x);
 2309 struct s1 {int (*f) (int a);};
 2310 struct s2 {int (*f) (double a);};
 2311 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 2312 int argc;
 2313 char **argv;
 2314 int
 2315 main ()
 2316 {
 2317 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 2318   ;
 2319   return 0;
 2320 }
 2321 _ACEOF
 2322 # Don't try gcc -ansi; that turns off useful extensions and
 2323 # breaks some systems' header files.
 2324 # AIX           -qlanglvl=ansi
 2325 # Ultrix and OSF/1  -std1
 2326 # HP-UX 10.20 and later -Ae
 2327 # HP-UX older versions  -Aa -D_HPUX_SOURCE
 2328 # SVR4          -Xc -D__EXTENSIONS__
 2329 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 2330 do
 2331   CC="$ac_save_CC $ac_arg"
 2332   rm -f conftest.$ac_objext
 2333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2334   (eval $ac_compile) 2>conftest.er1
 2335   ac_status=$?
 2336   grep -v '^ *+' conftest.er1 >conftest.err
 2337   rm -f conftest.er1
 2338   cat conftest.err >&5
 2339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2340   (exit $ac_status); } &&
 2341      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2343   (eval $ac_try) 2>&5
 2344   ac_status=$?
 2345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2346   (exit $ac_status); }; } &&
 2347      { ac_try='test -s conftest.$ac_objext'
 2348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2349   (eval $ac_try) 2>&5
 2350   ac_status=$?
 2351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2352   (exit $ac_status); }; }; then
 2353   ac_cv_prog_cc_stdc=$ac_arg
 2354 break
 2355 else
 2356   echo "$as_me: failed program was:" >&5
 2357 sed 's/^/| /' conftest.$ac_ext >&5
 2358 
 2359 fi
 2360 rm -f conftest.err conftest.$ac_objext
 2361 done
 2362 rm -f conftest.$ac_ext conftest.$ac_objext
 2363 CC=$ac_save_CC
 2364 
 2365 fi
 2366 
 2367 case "x$ac_cv_prog_cc_stdc" in
 2368   x|xno)
 2369     echo "$as_me:$LINENO: result: none needed" >&5
 2370 echo "${ECHO_T}none needed" >&6 ;;
 2371   *)
 2372     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 2373 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 2374     CC="$CC $ac_cv_prog_cc_stdc" ;;
 2375 esac
 2376 
 2377 # Some people use a C++ compiler to compile C.  Since we use `exit',
 2378 # in C++ we need to declare it.  In case someone uses the same compiler
 2379 # for both compiling C and C++ we need to have the C++ compiler decide
 2380 # the declaration of exit, since it's the most demanding environment.
 2381 cat >conftest.$ac_ext <<_ACEOF
 2382 #ifndef __cplusplus
 2383   choke me
 2384 #endif
 2385 _ACEOF
 2386 rm -f conftest.$ac_objext
 2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2388   (eval $ac_compile) 2>conftest.er1
 2389   ac_status=$?
 2390   grep -v '^ *+' conftest.er1 >conftest.err
 2391   rm -f conftest.er1
 2392   cat conftest.err >&5
 2393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2394   (exit $ac_status); } &&
 2395      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2397   (eval $ac_try) 2>&5
 2398   ac_status=$?
 2399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2400   (exit $ac_status); }; } &&
 2401      { ac_try='test -s conftest.$ac_objext'
 2402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2403   (eval $ac_try) 2>&5
 2404   ac_status=$?
 2405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2406   (exit $ac_status); }; }; then
 2407   for ac_declaration in \
 2408    '' \
 2409    'extern "C" void std::exit (int) throw (); using std::exit;' \
 2410    'extern "C" void std::exit (int); using std::exit;' \
 2411    'extern "C" void exit (int) throw ();' \
 2412    'extern "C" void exit (int);' \
 2413    'void exit (int);'
 2414 do
 2415   cat >conftest.$ac_ext <<_ACEOF
 2416 /* confdefs.h.  */
 2417 _ACEOF
 2418 cat confdefs.h >>conftest.$ac_ext
 2419 cat >>conftest.$ac_ext <<_ACEOF
 2420 /* end confdefs.h.  */
 2421 $ac_declaration
 2422 #include <stdlib.h>
 2423 int
 2424 main ()
 2425 {
 2426 exit (42);
 2427   ;
 2428   return 0;
 2429 }
 2430 _ACEOF
 2431 rm -f conftest.$ac_objext
 2432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2433   (eval $ac_compile) 2>conftest.er1
 2434   ac_status=$?
 2435   grep -v '^ *+' conftest.er1 >conftest.err
 2436   rm -f conftest.er1
 2437   cat conftest.err >&5
 2438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2439   (exit $ac_status); } &&
 2440      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2442   (eval $ac_try) 2>&5
 2443   ac_status=$?
 2444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2445   (exit $ac_status); }; } &&
 2446      { ac_try='test -s conftest.$ac_objext'
 2447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2448   (eval $ac_try) 2>&5
 2449   ac_status=$?
 2450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2451   (exit $ac_status); }; }; then
 2452   :
 2453 else
 2454   echo "$as_me: failed program was:" >&5
 2455 sed 's/^/| /' conftest.$ac_ext >&5
 2456 
 2457 continue
 2458 fi
 2459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2460   cat >conftest.$ac_ext <<_ACEOF
 2461 /* confdefs.h.  */
 2462 _ACEOF
 2463 cat confdefs.h >>conftest.$ac_ext
 2464 cat >>conftest.$ac_ext <<_ACEOF
 2465 /* end confdefs.h.  */
 2466 $ac_declaration
 2467 int
 2468 main ()
 2469 {
 2470 exit (42);
 2471   ;
 2472   return 0;
 2473 }
 2474 _ACEOF
 2475 rm -f conftest.$ac_objext
 2476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2477   (eval $ac_compile) 2>conftest.er1
 2478   ac_status=$?
 2479   grep -v '^ *+' conftest.er1 >conftest.err
 2480   rm -f conftest.er1
 2481   cat conftest.err >&5
 2482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2483   (exit $ac_status); } &&
 2484      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2486   (eval $ac_try) 2>&5
 2487   ac_status=$?
 2488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2489   (exit $ac_status); }; } &&
 2490      { ac_try='test -s conftest.$ac_objext'
 2491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2492   (eval $ac_try) 2>&5
 2493   ac_status=$?
 2494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2495   (exit $ac_status); }; }; then
 2496   break
 2497 else
 2498   echo "$as_me: failed program was:" >&5
 2499 sed 's/^/| /' conftest.$ac_ext >&5
 2500 
 2501 fi
 2502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2503 done
 2504 rm -f conftest*
 2505 if test -n "$ac_declaration"; then
 2506   echo '#ifdef __cplusplus' >>confdefs.h
 2507   echo $ac_declaration      >>confdefs.h
 2508   echo '#endif'             >>confdefs.h
 2509 fi
 2510 
 2511 else
 2512   echo "$as_me: failed program was:" >&5
 2513 sed 's/^/| /' conftest.$ac_ext >&5
 2514 
 2515 fi
 2516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2517 ac_ext=c
 2518 ac_cpp='$CPP $CPPFLAGS'
 2519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2522 
 2523 ac_ext=cc
 2524 ac_cpp='$CXXCPP $CPPFLAGS'
 2525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 2528 if test -n "$ac_tool_prefix"; then
 2529   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 2530   do
 2531     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2532 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2533 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2535 if test "${ac_cv_prog_CXX+set}" = set; then
 2536   echo $ECHO_N "(cached) $ECHO_C" >&6
 2537 else
 2538   if test -n "$CXX"; then
 2539   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 2540 else
 2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2542 for as_dir in $PATH
 2543 do
 2544   IFS=$as_save_IFS
 2545   test -z "$as_dir" && as_dir=.
 2546   for ac_exec_ext in '' $ac_executable_extensions; do
 2547   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2548     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 2549     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2550     break 2
 2551   fi
 2552 done
 2553 done
 2554 
 2555 fi
 2556 fi
 2557 CXX=$ac_cv_prog_CXX
 2558 if test -n "$CXX"; then
 2559   echo "$as_me:$LINENO: result: $CXX" >&5
 2560 echo "${ECHO_T}$CXX" >&6
 2561 else
 2562   echo "$as_me:$LINENO: result: no" >&5
 2563 echo "${ECHO_T}no" >&6
 2564 fi
 2565 
 2566     test -n "$CXX" && break
 2567   done
 2568 fi
 2569 if test -z "$CXX"; then
 2570   ac_ct_CXX=$CXX
 2571   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 2572 do
 2573   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2574 set dummy $ac_prog; ac_word=$2
 2575 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2577 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 2578   echo $ECHO_N "(cached) $ECHO_C" >&6
 2579 else
 2580   if test -n "$ac_ct_CXX"; then
 2581   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 2582 else
 2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2584 for as_dir in $PATH
 2585 do
 2586   IFS=$as_save_IFS
 2587   test -z "$as_dir" && as_dir=.
 2588   for ac_exec_ext in '' $ac_executable_extensions; do
 2589   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2590     ac_cv_prog_ac_ct_CXX="$ac_prog"
 2591     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2592     break 2
 2593   fi
 2594 done
 2595 done
 2596 
 2597 fi
 2598 fi
 2599 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 2600 if test -n "$ac_ct_CXX"; then
 2601   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 2602 echo "${ECHO_T}$ac_ct_CXX" >&6
 2603 else
 2604   echo "$as_me:$LINENO: result: no" >&5
 2605 echo "${ECHO_T}no" >&6
 2606 fi
 2607 
 2608   test -n "$ac_ct_CXX" && break
 2609 done
 2610 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 2611 
 2612   CXX=$ac_ct_CXX
 2613 fi
 2614 
 2615 
 2616 # Provide some information about the compiler.
 2617 echo "$as_me:$LINENO:" \
 2618      "checking for C++ compiler version" >&5
 2619 ac_compiler=`set X $ac_compile; echo $2`
 2620 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 2621   (eval $ac_compiler --version </dev/null >&5) 2>&5
 2622   ac_status=$?
 2623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2624   (exit $ac_status); }
 2625 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 2626   (eval $ac_compiler -v </dev/null >&5) 2>&5
 2627   ac_status=$?
 2628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2629   (exit $ac_status); }
 2630 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 2631   (eval $ac_compiler -V </dev/null >&5) 2>&5
 2632   ac_status=$?
 2633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2634   (exit $ac_status); }
 2635 
 2636 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 2637 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 2638 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 2639   echo $ECHO_N "(cached) $ECHO_C" >&6
 2640 else
 2641   cat >conftest.$ac_ext <<_ACEOF
 2642 /* confdefs.h.  */
 2643 _ACEOF
 2644 cat confdefs.h >>conftest.$ac_ext
 2645 cat >>conftest.$ac_ext <<_ACEOF
 2646 /* end confdefs.h.  */
 2647 
 2648 int
 2649 main ()
 2650 {
 2651 #ifndef __GNUC__
 2652        choke me
 2653 #endif
 2654 
 2655   ;
 2656   return 0;
 2657 }
 2658 _ACEOF
 2659 rm -f conftest.$ac_objext
 2660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2661   (eval $ac_compile) 2>conftest.er1
 2662   ac_status=$?
 2663   grep -v '^ *+' conftest.er1 >conftest.err
 2664   rm -f conftest.er1
 2665   cat conftest.err >&5
 2666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2667   (exit $ac_status); } &&
 2668      { ac_try='test -z "$ac_cxx_werror_flag"             || test ! -s conftest.err'
 2669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2670   (eval $ac_try) 2>&5
 2671   ac_status=$?
 2672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2673   (exit $ac_status); }; } &&
 2674      { ac_try='test -s conftest.$ac_objext'
 2675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2676   (eval $ac_try) 2>&5
 2677   ac_status=$?
 2678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2679   (exit $ac_status); }; }; then
 2680   ac_compiler_gnu=yes
 2681 else
 2682   echo "$as_me: failed program was:" >&5
 2683 sed 's/^/| /' conftest.$ac_ext >&5
 2684 
 2685 ac_compiler_gnu=no
 2686 fi
 2687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2688 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 2689 
 2690 fi
 2691 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 2692 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 2693 GXX=`test $ac_compiler_gnu = yes && echo yes`
 2694 ac_test_CXXFLAGS=${CXXFLAGS+set}
 2695 ac_save_CXXFLAGS=$CXXFLAGS
 2696 CXXFLAGS="-g"
 2697 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 2698 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 2699 if test "${ac_cv_prog_cxx_g+set}" = set; then
 2700   echo $ECHO_N "(cached) $ECHO_C" >&6
 2701 else
 2702   cat >conftest.$ac_ext <<_ACEOF
 2703 /* confdefs.h.  */
 2704 _ACEOF
 2705 cat confdefs.h >>conftest.$ac_ext
 2706 cat >>conftest.$ac_ext <<_ACEOF
 2707 /* end confdefs.h.  */
 2708 
 2709 int
 2710 main ()
 2711 {
 2712 
 2713   ;
 2714   return 0;
 2715 }
 2716 _ACEOF
 2717 rm -f conftest.$ac_objext
 2718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2719   (eval $ac_compile) 2>conftest.er1
 2720   ac_status=$?
 2721   grep -v '^ *+' conftest.er1 >conftest.err
 2722   rm -f conftest.er1
 2723   cat conftest.err >&5
 2724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2725   (exit $ac_status); } &&
 2726      { ac_try='test -z "$ac_cxx_werror_flag"             || test ! -s conftest.err'
 2727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2728   (eval $ac_try) 2>&5
 2729   ac_status=$?
 2730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2731   (exit $ac_status); }; } &&
 2732      { ac_try='test -s conftest.$ac_objext'
 2733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2734   (eval $ac_try) 2>&5
 2735   ac_status=$?
 2736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2737   (exit $ac_status); }; }; then
 2738   ac_cv_prog_cxx_g=yes
 2739 else
 2740   echo "$as_me: failed program was:" >&5
 2741 sed 's/^/| /' conftest.$ac_ext >&5
 2742 
 2743 ac_cv_prog_cxx_g=no
 2744 fi
 2745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2746 fi
 2747 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 2748 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 2749 if test "$ac_test_CXXFLAGS" = set; then
 2750   CXXFLAGS=$ac_save_CXXFLAGS
 2751 elif test $ac_cv_prog_cxx_g = yes; then
 2752   if test "$GXX" = yes; then
 2753     CXXFLAGS="-g -O2"
 2754   else
 2755     CXXFLAGS="-g"
 2756   fi
 2757 else
 2758   if test "$GXX" = yes; then
 2759     CXXFLAGS="-O2"
 2760   else
 2761     CXXFLAGS=
 2762   fi
 2763 fi
 2764 for ac_declaration in \
 2765    '' \
 2766    'extern "C" void std::exit (int) throw (); using std::exit;' \
 2767    'extern "C" void std::exit (int); using std::exit;' \
 2768    'extern "C" void exit (int) throw ();' \
 2769    'extern "C" void exit (int);' \
 2770    'void exit (int);'
 2771 do
 2772   cat >conftest.$ac_ext <<_ACEOF
 2773 /* confdefs.h.  */
 2774 _ACEOF
 2775 cat confdefs.h >>conftest.$ac_ext
 2776 cat >>conftest.$ac_ext <<_ACEOF
 2777 /* end confdefs.h.  */
 2778 $ac_declaration
 2779 #include <stdlib.h>
 2780 int
 2781 main ()
 2782 {
 2783 exit (42);
 2784   ;
 2785   return 0;
 2786 }
 2787 _ACEOF
 2788 rm -f conftest.$ac_objext
 2789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2790   (eval $ac_compile) 2>conftest.er1
 2791   ac_status=$?
 2792   grep -v '^ *+' conftest.er1 >conftest.err
 2793   rm -f conftest.er1
 2794   cat conftest.err >&5
 2795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2796   (exit $ac_status); } &&
 2797      { ac_try='test -z "$ac_cxx_werror_flag"             || test ! -s conftest.err'
 2798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2799   (eval $ac_try) 2>&5
 2800   ac_status=$?
 2801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2802   (exit $ac_status); }; } &&
 2803      { ac_try='test -s conftest.$ac_objext'
 2804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2805   (eval $ac_try) 2>&5
 2806   ac_status=$?
 2807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2808   (exit $ac_status); }; }; then
 2809   :
 2810 else
 2811   echo "$as_me: failed program was:" >&5
 2812 sed 's/^/| /' conftest.$ac_ext >&5
 2813 
 2814 continue
 2815 fi
 2816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2817   cat >conftest.$ac_ext <<_ACEOF
 2818 /* confdefs.h.  */
 2819 _ACEOF
 2820 cat confdefs.h >>conftest.$ac_ext
 2821 cat >>conftest.$ac_ext <<_ACEOF
 2822 /* end confdefs.h.  */
 2823 $ac_declaration
 2824 int
 2825 main ()
 2826 {
 2827 exit (42);
 2828   ;
 2829   return 0;
 2830 }
 2831 _ACEOF
 2832 rm -f conftest.$ac_objext
 2833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2834   (eval $ac_compile) 2>conftest.er1
 2835   ac_status=$?
 2836   grep -v '^ *+' conftest.er1 >conftest.err
 2837   rm -f conftest.er1
 2838   cat conftest.err >&5
 2839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2840   (exit $ac_status); } &&
 2841      { ac_try='test -z "$ac_cxx_werror_flag"             || test ! -s conftest.err'
 2842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2843   (eval $ac_try) 2>&5
 2844   ac_status=$?
 2845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2846   (exit $ac_status); }; } &&
 2847      { ac_try='test -s conftest.$ac_objext'
 2848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2849   (eval $ac_try) 2>&5
 2850   ac_status=$?
 2851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2852   (exit $ac_status); }; }; then
 2853   break
 2854 else
 2855   echo "$as_me: failed program was:" >&5
 2856 sed 's/^/| /' conftest.$ac_ext >&5
 2857 
 2858 fi
 2859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2860 done
 2861 rm -f conftest*
 2862 if test -n "$ac_declaration"; then
 2863   echo '#ifdef __cplusplus' >>confdefs.h
 2864   echo $ac_declaration      >>confdefs.h
 2865   echo '#endif'             >>confdefs.h
 2866 fi
 2867 
 2868 ac_ext=c
 2869 ac_cpp='$CPP $CPPFLAGS'
 2870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2873 
 2874 for ac_prog in 'bison -y' byacc
 2875 do
 2876   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2877 set dummy $ac_prog; ac_word=$2
 2878 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2880 if test "${ac_cv_prog_YACC+set}" = set; then
 2881   echo $ECHO_N "(cached) $ECHO_C" >&6
 2882 else
 2883   if test -n "$YACC"; then
 2884   ac_cv_prog_YACC="$YACC" # Let the user override the test.
 2885 else
 2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2887 for as_dir in $PATH
 2888 do
 2889   IFS=$as_save_IFS
 2890   test -z "$as_dir" && as_dir=.
 2891   for ac_exec_ext in '' $ac_executable_extensions; do
 2892   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2893     ac_cv_prog_YACC="$ac_prog"
 2894     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2895     break 2
 2896   fi
 2897 done
 2898 done
 2899 
 2900 fi
 2901 fi
 2902 YACC=$ac_cv_prog_YACC
 2903 if test -n "$YACC"; then
 2904   echo "$as_me:$LINENO: result: $YACC" >&5
 2905 echo "${ECHO_T}$YACC" >&6
 2906 else
 2907   echo "$as_me:$LINENO: result: no" >&5
 2908 echo "${ECHO_T}no" >&6
 2909 fi
 2910 
 2911   test -n "$YACC" && break
 2912 done
 2913 test -n "$YACC" || YACC="yacc"
 2914 
 2915 
 2916 missing_dir=`cd $ac_aux_dir && pwd`
 2917 for ac_prog in flex lex
 2918 do
 2919   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2920 set dummy $ac_prog; ac_word=$2
 2921 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2923 if test "${ac_cv_prog_LEX+set}" = set; then
 2924   echo $ECHO_N "(cached) $ECHO_C" >&6
 2925 else
 2926   if test -n "$LEX"; then
 2927   ac_cv_prog_LEX="$LEX" # Let the user override the test.
 2928 else
 2929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2930 for as_dir in $PATH
 2931 do
 2932   IFS=$as_save_IFS
 2933   test -z "$as_dir" && as_dir=.
 2934   for ac_exec_ext in '' $ac_executable_extensions; do
 2935   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2936     ac_cv_prog_LEX="$ac_prog"
 2937     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2938     break 2
 2939   fi
 2940 done
 2941 done
 2942 
 2943 fi
 2944 fi
 2945 LEX=$ac_cv_prog_LEX
 2946 if test -n "$LEX"; then
 2947   echo "$as_me:$LINENO: result: $LEX" >&5
 2948 echo "${ECHO_T}$LEX" >&6
 2949 else
 2950   echo "$as_me:$LINENO: result: no" >&5
 2951 echo "${ECHO_T}no" >&6
 2952 fi
 2953 
 2954   test -n "$LEX" && break
 2955 done
 2956 test -n "$LEX" || LEX="$missing_dir/missing flex"
 2957 
 2958 for ac_prog in flex lex
 2959 do
 2960   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2961 set dummy $ac_prog; ac_word=$2
 2962 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2964 if test "${ac_cv_prog_LEX+set}" = set; then
 2965   echo $ECHO_N "(cached) $ECHO_C" >&6
 2966 else
 2967   if test -n "$LEX"; then
 2968   ac_cv_prog_LEX="$LEX" # Let the user override the test.
 2969 else
 2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2971 for as_dir in $PATH
 2972 do
 2973   IFS=$as_save_IFS
 2974   test -z "$as_dir" && as_dir=.
 2975   for ac_exec_ext in '' $ac_executable_extensions; do
 2976   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2977     ac_cv_prog_LEX="$ac_prog"
 2978     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2979     break 2
 2980   fi
 2981 done
 2982 done
 2983 
 2984 fi
 2985 fi
 2986 LEX=$ac_cv_prog_LEX
 2987 if test -n "$LEX"; then
 2988   echo "$as_me:$LINENO: result: $LEX" >&5
 2989 echo "${ECHO_T}$LEX" >&6
 2990 else
 2991   echo "$as_me:$LINENO: result: no" >&5
 2992 echo "${ECHO_T}no" >&6
 2993 fi
 2994 
 2995   test -n "$LEX" && break
 2996 done
 2997 test -n "$LEX" || LEX=":"
 2998 
 2999 if test -z "$LEXLIB"
 3000 then
 3001   echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
 3002 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
 3003 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
 3004   echo $ECHO_N "(cached) $ECHO_C" >&6
 3005 else
 3006   ac_check_lib_save_LIBS=$LIBS
 3007 LIBS="-lfl  $LIBS"
 3008 cat >conftest.$ac_ext <<_ACEOF
 3009 /* confdefs.h.  */
 3010 _ACEOF
 3011 cat confdefs.h >>conftest.$ac_ext
 3012 cat >>conftest.$ac_ext <<_ACEOF
 3013 /* end confdefs.h.  */
 3014 
 3015 /* Override any gcc2 internal prototype to avoid an error.  */
 3016 #ifdef __cplusplus
 3017 extern "C"
 3018 #endif
 3019 /* We use char because int might match the return type of a gcc2
 3020    builtin and then its argument prototype would still apply.  */
 3021 char yywrap ();
 3022 int
 3023 main ()
 3024 {
 3025 yywrap ();
 3026   ;
 3027   return 0;
 3028 }
 3029 _ACEOF
 3030 rm -f conftest.$ac_objext conftest$ac_exeext
 3031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3032   (eval $ac_link) 2>conftest.er1
 3033   ac_status=$?
 3034   grep -v '^ *+' conftest.er1 >conftest.err
 3035   rm -f conftest.er1
 3036   cat conftest.err >&5
 3037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3038   (exit $ac_status); } &&
 3039      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3041   (eval $ac_try) 2>&5
 3042   ac_status=$?
 3043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3044   (exit $ac_status); }; } &&
 3045      { ac_try='test -s conftest$ac_exeext'
 3046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3047   (eval $ac_try) 2>&5
 3048   ac_status=$?
 3049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3050   (exit $ac_status); }; }; then
 3051   ac_cv_lib_fl_yywrap=yes
 3052 else
 3053   echo "$as_me: failed program was:" >&5
 3054 sed 's/^/| /' conftest.$ac_ext >&5
 3055 
 3056 ac_cv_lib_fl_yywrap=no
 3057 fi
 3058 rm -f conftest.err conftest.$ac_objext \
 3059       conftest$ac_exeext conftest.$ac_ext
 3060 LIBS=$ac_check_lib_save_LIBS
 3061 fi
 3062 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
 3063 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
 3064 if test $ac_cv_lib_fl_yywrap = yes; then
 3065   LEXLIB="-lfl"
 3066 else
 3067   echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
 3068 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
 3069 if test "${ac_cv_lib_l_yywrap+set}" = set; then
 3070   echo $ECHO_N "(cached) $ECHO_C" >&6
 3071 else
 3072   ac_check_lib_save_LIBS=$LIBS
 3073 LIBS="-ll  $LIBS"
 3074 cat >conftest.$ac_ext <<_ACEOF
 3075 /* confdefs.h.  */
 3076 _ACEOF
 3077 cat confdefs.h >>conftest.$ac_ext
 3078 cat >>conftest.$ac_ext <<_ACEOF
 3079 /* end confdefs.h.  */
 3080 
 3081 /* Override any gcc2 internal prototype to avoid an error.  */
 3082 #ifdef __cplusplus
 3083 extern "C"
 3084 #endif
 3085 /* We use char because int might match the return type of a gcc2
 3086    builtin and then its argument prototype would still apply.  */
 3087 char yywrap ();
 3088 int
 3089 main ()
 3090 {
 3091 yywrap ();
 3092   ;
 3093   return 0;
 3094 }
 3095 _ACEOF
 3096 rm -f conftest.$ac_objext conftest$ac_exeext
 3097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3098   (eval $ac_link) 2>conftest.er1
 3099   ac_status=$?
 3100   grep -v '^ *+' conftest.er1 >conftest.err
 3101   rm -f conftest.er1
 3102   cat conftest.err >&5
 3103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3104   (exit $ac_status); } &&
 3105      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3107   (eval $ac_try) 2>&5
 3108   ac_status=$?
 3109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3110   (exit $ac_status); }; } &&
 3111      { ac_try='test -s conftest$ac_exeext'
 3112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3113   (eval $ac_try) 2>&5
 3114   ac_status=$?
 3115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3116   (exit $ac_status); }; }; then
 3117   ac_cv_lib_l_yywrap=yes
 3118 else
 3119   echo "$as_me: failed program was:" >&5
 3120 sed 's/^/| /' conftest.$ac_ext >&5
 3121 
 3122 ac_cv_lib_l_yywrap=no
 3123 fi
 3124 rm -f conftest.err conftest.$ac_objext \
 3125       conftest$ac_exeext conftest.$ac_ext
 3126 LIBS=$ac_check_lib_save_LIBS
 3127 fi
 3128 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
 3129 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
 3130 if test $ac_cv_lib_l_yywrap = yes; then
 3131   LEXLIB="-ll"
 3132 fi
 3133 
 3134 fi
 3135 
 3136 fi
 3137 
 3138 if test "x$LEX" != "x:"; then
 3139   echo "$as_me:$LINENO: checking lex output file root" >&5
 3140 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
 3141 if test "${ac_cv_prog_lex_root+set}" = set; then
 3142   echo $ECHO_N "(cached) $ECHO_C" >&6
 3143 else
 3144   # The minimal lex program is just a single line: %%.  But some broken lexes
 3145 # (Solaris, I think it was) want two %% lines, so accommodate them.
 3146 cat >conftest.l <<_ACEOF
 3147 %%
 3148 %%
 3149 _ACEOF
 3150 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
 3151   (eval $LEX conftest.l) 2>&5
 3152   ac_status=$?
 3153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3154   (exit $ac_status); }
 3155 if test -f lex.yy.c; then
 3156   ac_cv_prog_lex_root=lex.yy
 3157 elif test -f lexyy.c; then
 3158   ac_cv_prog_lex_root=lexyy
 3159 else
 3160   { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
 3161 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
 3162    { (exit 1); exit 1; }; }
 3163 fi
 3164 fi
 3165 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
 3166 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
 3167 rm -f conftest.l
 3168 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
 3169 
 3170 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
 3171 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
 3172 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
 3173   echo $ECHO_N "(cached) $ECHO_C" >&6
 3174 else
 3175   # POSIX says lex can declare yytext either as a pointer or an array; the
 3176 # default is implementation-dependent. Figure out which it is, since
 3177 # not all implementations provide the %pointer and %array declarations.
 3178 ac_cv_prog_lex_yytext_pointer=no
 3179 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
 3180 ac_save_LIBS=$LIBS
 3181 LIBS="$LIBS $LEXLIB"
 3182 cat >conftest.$ac_ext <<_ACEOF
 3183 `cat $LEX_OUTPUT_ROOT.c`
 3184 _ACEOF
 3185 rm -f conftest.$ac_objext conftest$ac_exeext
 3186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3187   (eval $ac_link) 2>conftest.er1
 3188   ac_status=$?
 3189   grep -v '^ *+' conftest.er1 >conftest.err
 3190   rm -f conftest.er1
 3191   cat conftest.err >&5
 3192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3193   (exit $ac_status); } &&
 3194      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3196   (eval $ac_try) 2>&5
 3197   ac_status=$?
 3198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3199   (exit $ac_status); }; } &&
 3200      { ac_try='test -s conftest$ac_exeext'
 3201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3202   (eval $ac_try) 2>&5
 3203   ac_status=$?
 3204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3205   (exit $ac_status); }; }; then
 3206   ac_cv_prog_lex_yytext_pointer=yes
 3207 else
 3208   echo "$as_me: failed program was:" >&5
 3209 sed 's/^/| /' conftest.$ac_ext >&5
 3210 
 3211 fi
 3212 rm -f conftest.err conftest.$ac_objext \
 3213       conftest$ac_exeext conftest.$ac_ext
 3214 LIBS=$ac_save_LIBS
 3215 rm -f "${LEX_OUTPUT_ROOT}.c"
 3216 
 3217 fi
 3218 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
 3219 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
 3220 if test $ac_cv_prog_lex_yytext_pointer = yes; then
 3221 
 3222 cat >>confdefs.h <<\_ACEOF
 3223 #define YYTEXT_POINTER 1
 3224 _ACEOF
 3225 
 3226 fi
 3227 
 3228 fi
 3229 
 3230 if test -n "$ac_tool_prefix"; then
 3231   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 3232 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 3233 echo "$as_me:$LINENO: checking for $ac_word" >&5
 3234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3235 if test "${ac_cv_prog_RANLIB+set}" = set; then
 3236   echo $ECHO_N "(cached) $ECHO_C" >&6
 3237 else
 3238   if test -n "$RANLIB"; then
 3239   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 3240 else
 3241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3242 for as_dir in $PATH
 3243 do
 3244   IFS=$as_save_IFS
 3245   test -z "$as_dir" && as_dir=.
 3246   for ac_exec_ext in '' $ac_executable_extensions; do
 3247   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3248     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 3249     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3250     break 2
 3251   fi
 3252 done
 3253 done
 3254 
 3255 fi
 3256 fi
 3257 RANLIB=$ac_cv_prog_RANLIB
 3258 if test -n "$RANLIB"; then
 3259   echo "$as_me:$LINENO: result: $RANLIB" >&5
 3260 echo "${ECHO_T}$RANLIB" >&6
 3261 else
 3262   echo "$as_me:$LINENO: result: no" >&5
 3263 echo "${ECHO_T}no" >&6
 3264 fi
 3265 
 3266 fi
 3267 if test -z "$ac_cv_prog_RANLIB"; then
 3268   ac_ct_RANLIB=$RANLIB
 3269   # Extract the first word of "ranlib", so it can be a program name with args.
 3270 set dummy ranlib; ac_word=$2
 3271 echo "$as_me:$LINENO: checking for $ac_word" >&5
 3272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3273 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 3274   echo $ECHO_N "(cached) $ECHO_C" >&6
 3275 else
 3276   if test -n "$ac_ct_RANLIB"; then
 3277   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 3278 else
 3279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3280 for as_dir in $PATH
 3281 do
 3282   IFS=$as_save_IFS
 3283   test -z "$as_dir" && as_dir=.
 3284   for ac_exec_ext in '' $ac_executable_extensions; do
 3285   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3286     ac_cv_prog_ac_ct_RANLIB="ranlib"
 3287     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3288     break 2
 3289   fi
 3290 done
 3291 done
 3292 
 3293   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 3294 fi
 3295 fi
 3296 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 3297 if test -n "$ac_ct_RANLIB"; then
 3298   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 3299 echo "${ECHO_T}$ac_ct_RANLIB" >&6
 3300 else
 3301   echo "$as_me:$LINENO: result: no" >&5
 3302 echo "${ECHO_T}no" >&6
 3303 fi
 3304 
 3305   RANLIB=$ac_ct_RANLIB
 3306 else
 3307   RANLIB="$ac_cv_prog_RANLIB"
 3308 fi
 3309 
 3310 
 3311 
 3312 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
 3313 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
 3314 if test "${ac_cv_lib_socket_socket+set}" = set; then
 3315   echo $ECHO_N "(cached) $ECHO_C" >&6
 3316 else
 3317   ac_check_lib_save_LIBS=$LIBS
 3318 LIBS="-lsocket  $LIBS"
 3319 cat >conftest.$ac_ext <<_ACEOF
 3320 /* confdefs.h.  */
 3321 _ACEOF
 3322 cat confdefs.h >>conftest.$ac_ext
 3323 cat >>conftest.$ac_ext <<_ACEOF
 3324 /* end confdefs.h.  */
 3325 
 3326 /* Override any gcc2 internal prototype to avoid an error.  */
 3327 #ifdef __cplusplus
 3328 extern "C"
 3329 #endif
 3330 /* We use char because int might match the return type of a gcc2
 3331    builtin and then its argument prototype would still apply.  */
 3332 char socket ();
 3333 int
 3334 main ()
 3335 {
 3336 socket ();
 3337   ;
 3338   return 0;
 3339 }
 3340 _ACEOF
 3341 rm -f conftest.$ac_objext conftest$ac_exeext
 3342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3343   (eval $ac_link) 2>conftest.er1
 3344   ac_status=$?
 3345   grep -v '^ *+' conftest.er1 >conftest.err
 3346   rm -f conftest.er1
 3347   cat conftest.err >&5
 3348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3349   (exit $ac_status); } &&
 3350      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3352   (eval $ac_try) 2>&5
 3353   ac_status=$?
 3354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3355   (exit $ac_status); }; } &&
 3356      { ac_try='test -s conftest$ac_exeext'
 3357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3358   (eval $ac_try) 2>&5
 3359   ac_status=$?
 3360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3361   (exit $ac_status); }; }; then
 3362   ac_cv_lib_socket_socket=yes
 3363 else
 3364   echo "$as_me: failed program was:" >&5
 3365 sed 's/^/| /' conftest.$ac_ext >&5
 3366 
 3367 ac_cv_lib_socket_socket=no
 3368 fi
 3369 rm -f conftest.err conftest.$ac_objext \
 3370       conftest$ac_exeext conftest.$ac_ext
 3371 LIBS=$ac_check_lib_save_LIBS
 3372 fi
 3373 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
 3374 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
 3375 if test $ac_cv_lib_socket_socket = yes; then
 3376   cat >>confdefs.h <<_ACEOF
 3377 #define HAVE_LIBSOCKET 1
 3378 _ACEOF
 3379 
 3380   LIBS="-lsocket $LIBS"
 3381 
 3382 fi
 3383 
 3384 
 3385 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 3386 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
 3387 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
 3388   echo $ECHO_N "(cached) $ECHO_C" >&6
 3389 else
 3390   ac_check_lib_save_LIBS=$LIBS
 3391 LIBS="-lnsl  $LIBS"
 3392 cat >conftest.$ac_ext <<_ACEOF
 3393 /* confdefs.h.  */
 3394 _ACEOF
 3395 cat confdefs.h >>conftest.$ac_ext
 3396 cat >>conftest.$ac_ext <<_ACEOF
 3397 /* end confdefs.h.  */
 3398 
 3399 /* Override any gcc2 internal prototype to avoid an error.  */
 3400 #ifdef __cplusplus
 3401 extern "C"
 3402 #endif
 3403 /* We use char because int might match the return type of a gcc2
 3404    builtin and then its argument prototype would still apply.  */
 3405 char gethostbyname ();
 3406 int
 3407 main ()
 3408 {
 3409 gethostbyname ();
 3410   ;
 3411   return 0;
 3412 }
 3413 _ACEOF
 3414 rm -f conftest.$ac_objext conftest$ac_exeext
 3415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3416   (eval $ac_link) 2>conftest.er1
 3417   ac_status=$?
 3418   grep -v '^ *+' conftest.er1 >conftest.err
 3419   rm -f conftest.er1
 3420   cat conftest.err >&5
 3421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3422   (exit $ac_status); } &&
 3423      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3425   (eval $ac_try) 2>&5
 3426   ac_status=$?
 3427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3428   (exit $ac_status); }; } &&
 3429      { ac_try='test -s conftest$ac_exeext'
 3430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3431   (eval $ac_try) 2>&5
 3432   ac_status=$?
 3433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3434   (exit $ac_status); }; }; then
 3435   ac_cv_lib_nsl_gethostbyname=yes
 3436 else
 3437   echo "$as_me: failed program was:" >&5
 3438 sed 's/^/| /' conftest.$ac_ext >&5
 3439 
 3440 ac_cv_lib_nsl_gethostbyname=no
 3441 fi
 3442 rm -f conftest.err conftest.$ac_objext \
 3443       conftest$ac_exeext conftest.$ac_ext
 3444 LIBS=$ac_check_lib_save_LIBS
 3445 fi
 3446 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 3447 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
 3448 if test $ac_cv_lib_nsl_gethostbyname = yes; then
 3449   cat >>confdefs.h <<_ACEOF
 3450 #define HAVE_LIBNSL 1
 3451 _ACEOF
 3452 
 3453   LIBS="-lnsl $LIBS"
 3454 
 3455 fi
 3456 
 3457 
 3458 ac_ext=c
 3459 ac_cpp='$CPP $CPPFLAGS'
 3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3463 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 3464 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 3465 # On Suns, sometimes $CPP names a directory.
 3466 if test -n "$CPP" && test -d "$CPP"; then
 3467   CPP=
 3468 fi
 3469 if test -z "$CPP"; then
 3470   if test "${ac_cv_prog_CPP+set}" = set; then
 3471   echo $ECHO_N "(cached) $ECHO_C" >&6
 3472 else
 3473       # Double quotes because CPP needs to be expanded
 3474     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3475     do
 3476       ac_preproc_ok=false
 3477 for ac_c_preproc_warn_flag in '' yes
 3478 do
 3479   # Use a header file that comes with gcc, so configuring glibc
 3480   # with a fresh cross-compiler works.
 3481   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3482   # <limits.h> exists even on freestanding compilers.
 3483   # On the NeXT, cc -E runs the code through the compiler's parser,
 3484   # not just through cpp. "Syntax error" is here to catch this case.
 3485   cat >conftest.$ac_ext <<_ACEOF
 3486 /* confdefs.h.  */
 3487 _ACEOF
 3488 cat confdefs.h >>conftest.$ac_ext
 3489 cat >>conftest.$ac_ext <<_ACEOF
 3490 /* end confdefs.h.  */
 3491 #ifdef __STDC__
 3492 # include <limits.h>
 3493 #else
 3494 # include <assert.h>
 3495 #endif
 3496              Syntax error
 3497 _ACEOF
 3498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3499   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3500   ac_status=$?
 3501   grep -v '^ *+' conftest.er1 >conftest.err
 3502   rm -f conftest.er1
 3503   cat conftest.err >&5
 3504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3505   (exit $ac_status); } >/dev/null; then
 3506   if test -s conftest.err; then
 3507     ac_cpp_err=$ac_c_preproc_warn_flag
 3508     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3509   else
 3510     ac_cpp_err=
 3511   fi
 3512 else
 3513   ac_cpp_err=yes
 3514 fi
 3515 if test -z "$ac_cpp_err"; then
 3516   :
 3517 else
 3518   echo "$as_me: failed program was:" >&5
 3519 sed 's/^/| /' conftest.$ac_ext >&5
 3520 
 3521   # Broken: fails on valid input.
 3522 continue
 3523 fi
 3524 rm -f conftest.err conftest.$ac_ext
 3525 
 3526   # OK, works on sane cases.  Now check whether non-existent headers
 3527   # can be detected and how.
 3528   cat >conftest.$ac_ext <<_ACEOF
 3529 /* confdefs.h.  */
 3530 _ACEOF
 3531 cat confdefs.h >>conftest.$ac_ext
 3532 cat >>conftest.$ac_ext <<_ACEOF
 3533 /* end confdefs.h.  */
 3534 #include <ac_nonexistent.h>
 3535 _ACEOF
 3536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3537   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3538   ac_status=$?
 3539   grep -v '^ *+' conftest.er1 >conftest.err
 3540   rm -f conftest.er1
 3541   cat conftest.err >&5
 3542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3543   (exit $ac_status); } >/dev/null; then
 3544   if test -s conftest.err; then
 3545     ac_cpp_err=$ac_c_preproc_warn_flag
 3546     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3547   else
 3548     ac_cpp_err=
 3549   fi
 3550 else
 3551   ac_cpp_err=yes
 3552 fi
 3553 if test -z "$ac_cpp_err"; then
 3554   # Broken: success on invalid input.
 3555 continue
 3556 else
 3557   echo "$as_me: failed program was:" >&5
 3558 sed 's/^/| /' conftest.$ac_ext >&5
 3559 
 3560   # Passes both tests.
 3561 ac_preproc_ok=:
 3562 break
 3563 fi
 3564 rm -f conftest.err conftest.$ac_ext
 3565 
 3566 done
 3567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3568 rm -f conftest.err conftest.$ac_ext
 3569 if $ac_preproc_ok; then
 3570   break
 3571 fi
 3572 
 3573     done
 3574     ac_cv_prog_CPP=$CPP
 3575 
 3576 fi
 3577   CPP=$ac_cv_prog_CPP
 3578 else
 3579   ac_cv_prog_CPP=$CPP
 3580 fi
 3581 echo "$as_me:$LINENO: result: $CPP" >&5
 3582 echo "${ECHO_T}$CPP" >&6
 3583 ac_preproc_ok=false
 3584 for ac_c_preproc_warn_flag in '' yes
 3585 do
 3586   # Use a header file that comes with gcc, so configuring glibc
 3587   # with a fresh cross-compiler works.
 3588   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3589   # <limits.h> exists even on freestanding compilers.
 3590   # On the NeXT, cc -E runs the code through the compiler's parser,
 3591   # not just through cpp. "Syntax error" is here to catch this case.
 3592   cat >conftest.$ac_ext <<_ACEOF
 3593 /* confdefs.h.  */
 3594 _ACEOF
 3595 cat confdefs.h >>conftest.$ac_ext
 3596 cat >>conftest.$ac_ext <<_ACEOF
 3597 /* end confdefs.h.  */
 3598 #ifdef __STDC__
 3599 # include <limits.h>
 3600 #else
 3601 # include <assert.h>
 3602 #endif
 3603              Syntax error
 3604 _ACEOF
 3605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3606   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3607   ac_status=$?
 3608   grep -v '^ *+' conftest.er1 >conftest.err
 3609   rm -f conftest.er1
 3610   cat conftest.err >&5
 3611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3612   (exit $ac_status); } >/dev/null; then
 3613   if test -s conftest.err; then
 3614     ac_cpp_err=$ac_c_preproc_warn_flag
 3615     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3616   else
 3617     ac_cpp_err=
 3618   fi
 3619 else
 3620   ac_cpp_err=yes
 3621 fi
 3622 if test -z "$ac_cpp_err"; then
 3623   :
 3624 else
 3625   echo "$as_me: failed program was:" >&5
 3626 sed 's/^/| /' conftest.$ac_ext >&5
 3627 
 3628   # Broken: fails on valid input.
 3629 continue
 3630 fi
 3631 rm -f conftest.err conftest.$ac_ext
 3632 
 3633   # OK, works on sane cases.  Now check whether non-existent headers
 3634   # can be detected and how.
 3635   cat >conftest.$ac_ext <<_ACEOF
 3636 /* confdefs.h.  */
 3637 _ACEOF
 3638 cat confdefs.h >>conftest.$ac_ext
 3639 cat >>conftest.$ac_ext <<_ACEOF
 3640 /* end confdefs.h.  */
 3641 #include <ac_nonexistent.h>
 3642 _ACEOF
 3643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3644   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3645   ac_status=$?
 3646   grep -v '^ *+' conftest.er1 >conftest.err
 3647   rm -f conftest.er1
 3648   cat conftest.err >&5
 3649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3650   (exit $ac_status); } >/dev/null; then
 3651   if test -s conftest.err; then
 3652     ac_cpp_err=$ac_c_preproc_warn_flag
 3653     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3654   else
 3655     ac_cpp_err=
 3656   fi
 3657 else
 3658   ac_cpp_err=yes
 3659 fi
 3660 if test -z "$ac_cpp_err"; then
 3661   # Broken: success on invalid input.
 3662 continue
 3663 else
 3664   echo "$as_me: failed program was:" >&5
 3665 sed 's/^/| /' conftest.$ac_ext >&5
 3666 
 3667   # Passes both tests.
 3668 ac_preproc_ok=:
 3669 break
 3670 fi
 3671 rm -f conftest.err conftest.$ac_ext
 3672 
 3673 done
 3674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3675 rm -f conftest.err conftest.$ac_ext
 3676 if $ac_preproc_ok; then
 3677   :
 3678 else
 3679   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 3680 See \`config.log' for more details." >&5
 3681 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 3682 See \`config.log' for more details." >&2;}
 3683    { (exit 1); exit 1; }; }
 3684 fi
 3685 
 3686 ac_ext=c
 3687 ac_cpp='$CPP $CPPFLAGS'
 3688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3691 
 3692 
 3693 echo "$as_me:$LINENO: checking for egrep" >&5
 3694 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 3695 if test "${ac_cv_prog_egrep+set}" = set; then
 3696   echo $ECHO_N "(cached) $ECHO_C" >&6
 3697 else
 3698   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 3699     then ac_cv_prog_egrep='grep -E'
 3700     else ac_cv_prog_egrep='egrep'
 3701     fi
 3702 fi
 3703 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 3704 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 3705  EGREP=$ac_cv_prog_egrep
 3706 
 3707 
 3708 
 3709 echo "$as_me:$LINENO: checking for AIX" >&5
 3710 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
 3711 cat >conftest.$ac_ext <<_ACEOF
 3712 /* confdefs.h.  */
 3713 _ACEOF
 3714 cat confdefs.h >>conftest.$ac_ext
 3715 cat >>conftest.$ac_ext <<_ACEOF
 3716 /* end confdefs.h.  */
 3717 #ifdef _AIX
 3718   yes
 3719 #endif
 3720 
 3721 _ACEOF
 3722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3723   $EGREP "yes" >/dev/null 2>&1; then
 3724   echo "$as_me:$LINENO: result: yes" >&5
 3725 echo "${ECHO_T}yes" >&6
 3726 cat >>confdefs.h <<\_ACEOF
 3727 #define _ALL_SOURCE 1
 3728 _ACEOF
 3729 
 3730 else
 3731   echo "$as_me:$LINENO: result: no" >&5
 3732 echo "${ECHO_T}no" >&6
 3733 fi
 3734 rm -f conftest*
 3735 
 3736 
 3737 
 3738 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 3739 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 3740 if test "${ac_cv_header_stdc+set}" = set; then
 3741   echo $ECHO_N "(cached) $ECHO_C" >&6
 3742 else
 3743   cat >conftest.$ac_ext <<_ACEOF
 3744 /* confdefs.h.  */
 3745 _ACEOF
 3746 cat confdefs.h >>conftest.$ac_ext
 3747 cat >>conftest.$ac_ext <<_ACEOF
 3748 /* end confdefs.h.  */
 3749 #include <stdlib.h>
 3750 #include <stdarg.h>
 3751 #include <string.h>
 3752 #include <float.h>
 3753 
 3754 int
 3755 main ()
 3756 {
 3757 
 3758   ;
 3759   return 0;
 3760 }
 3761 _ACEOF
 3762 rm -f conftest.$ac_objext
 3763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3764   (eval $ac_compile) 2>conftest.er1
 3765   ac_status=$?
 3766   grep -v '^ *+' conftest.er1 >conftest.err
 3767   rm -f conftest.er1
 3768   cat conftest.err >&5
 3769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3770   (exit $ac_status); } &&
 3771      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3773   (eval $ac_try) 2>&5
 3774   ac_status=$?
 3775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3776   (exit $ac_status); }; } &&
 3777      { ac_try='test -s conftest.$ac_objext'
 3778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3779   (eval $ac_try) 2>&5
 3780   ac_status=$?
 3781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3782   (exit $ac_status); }; }; then
 3783   ac_cv_header_stdc=yes
 3784 else
 3785   echo "$as_me: failed program was:" >&5
 3786 sed 's/^/| /' conftest.$ac_ext >&5
 3787 
 3788 ac_cv_header_stdc=no
 3789 fi
 3790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3791 
 3792 if test $ac_cv_header_stdc = yes; then
 3793   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 3794   cat >conftest.$ac_ext <<_ACEOF
 3795 /* confdefs.h.  */
 3796 _ACEOF
 3797 cat confdefs.h >>conftest.$ac_ext
 3798 cat >>conftest.$ac_ext <<_ACEOF
 3799 /* end confdefs.h.  */
 3800 #include <string.h>
 3801 
 3802 _ACEOF
 3803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3804   $EGREP "memchr" >/dev/null 2>&1; then
 3805   :
 3806 else
 3807   ac_cv_header_stdc=no
 3808 fi
 3809 rm -f conftest*
 3810 
 3811 fi
 3812 
 3813 if test $ac_cv_header_stdc = yes; then
 3814   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 3815   cat >conftest.$ac_ext <<_ACEOF
 3816 /* confdefs.h.  */
 3817 _ACEOF
 3818 cat confdefs.h >>conftest.$ac_ext
 3819 cat >>conftest.$ac_ext <<_ACEOF
 3820 /* end confdefs.h.  */
 3821 #include <stdlib.h>
 3822 
 3823 _ACEOF
 3824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3825   $EGREP "free" >/dev/null 2>&1; then
 3826   :
 3827 else
 3828   ac_cv_header_stdc=no
 3829 fi
 3830 rm -f conftest*
 3831 
 3832 fi
 3833 
 3834 if test $ac_cv_header_stdc = yes; then
 3835   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 3836   if test "$cross_compiling" = yes; then
 3837   :
 3838 else
 3839   cat >conftest.$ac_ext <<_ACEOF
 3840 /* confdefs.h.  */
 3841 _ACEOF
 3842 cat confdefs.h >>conftest.$ac_ext
 3843 cat >>conftest.$ac_ext <<_ACEOF
 3844 /* end confdefs.h.  */
 3845 #include <ctype.h>
 3846 #if ((' ' & 0x0FF) == 0x020)
 3847 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 3848 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 3849 #else
 3850 # define ISLOWER(c) \
 3851            (('a' <= (c) && (c) <= 'i') \
 3852              || ('j' <= (c) && (c) <= 'r') \
 3853              || ('s' <= (c) && (c) <= 'z'))
 3854 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 3855 #endif
 3856 
 3857 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 3858 int
 3859 main ()
 3860 {
 3861   int i;
 3862   for (i = 0; i < 256; i++)
 3863     if (XOR (islower (i), ISLOWER (i))
 3864     || toupper (i) != TOUPPER (i))
 3865       exit(2);
 3866   exit (0);
 3867 }
 3868 _ACEOF
 3869 rm -f conftest$ac_exeext
 3870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3871   (eval $ac_link) 2>&5
 3872   ac_status=$?
 3873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3874   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 3875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3876   (eval $ac_try) 2>&5
 3877   ac_status=$?
 3878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3879   (exit $ac_status); }; }; then
 3880   :
 3881 else
 3882   echo "$as_me: program exited with status $ac_status" >&5
 3883 echo "$as_me: failed program was:" >&5
 3884 sed 's/^/| /' conftest.$ac_ext >&5
 3885 
 3886 ( exit $ac_status )
 3887 ac_cv_header_stdc=no
 3888 fi
 3889 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 3890 fi
 3891 fi
 3892 fi
 3893 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 3894 echo "${ECHO_T}$ac_cv_header_stdc" >&6
 3895 if test $ac_cv_header_stdc = yes; then
 3896 
 3897 cat >>confdefs.h <<\_ACEOF
 3898 #define STDC_HEADERS 1
 3899 _ACEOF
 3900 
 3901 fi
 3902 
 3903 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
 3904 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
 3905 if test "${ac_cv_header_sys_wait_h+set}" = set; then
 3906   echo $ECHO_N "(cached) $ECHO_C" >&6
 3907 else
 3908   cat >conftest.$ac_ext <<_ACEOF
 3909 /* confdefs.h.  */
 3910 _ACEOF
 3911 cat confdefs.h >>conftest.$ac_ext
 3912 cat >>conftest.$ac_ext <<_ACEOF
 3913 /* end confdefs.h.  */
 3914 #include <sys/types.h>
 3915 #include <sys/wait.h>
 3916 #ifndef WEXITSTATUS
 3917 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
 3918 #endif
 3919 #ifndef WIFEXITED
 3920 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 3921 #endif
 3922 
 3923 int
 3924 main ()
 3925 {
 3926   int s;
 3927   wait (&s);
 3928   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
 3929   ;
 3930   return 0;
 3931 }
 3932 _ACEOF
 3933 rm -f conftest.$ac_objext
 3934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3935   (eval $ac_compile) 2>conftest.er1
 3936   ac_status=$?
 3937   grep -v '^ *+' conftest.er1 >conftest.err
 3938   rm -f conftest.er1
 3939   cat conftest.err >&5
 3940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3941   (exit $ac_status); } &&
 3942      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3944   (eval $ac_try) 2>&5
 3945   ac_status=$?
 3946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3947   (exit $ac_status); }; } &&
 3948      { ac_try='test -s conftest.$ac_objext'
 3949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3950   (eval $ac_try) 2>&5
 3951   ac_status=$?
 3952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3953   (exit $ac_status); }; }; then
 3954   ac_cv_header_sys_wait_h=yes
 3955 else
 3956   echo "$as_me: failed program was:" >&5
 3957 sed 's/^/| /' conftest.$ac_ext >&5
 3958 
 3959 ac_cv_header_sys_wait_h=no
 3960 fi
 3961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3962 fi
 3963 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 3964 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
 3965 if test $ac_cv_header_sys_wait_h = yes; then
 3966 
 3967 cat >>confdefs.h <<\_ACEOF
 3968 #define HAVE_SYS_WAIT_H 1
 3969 _ACEOF
 3970 
 3971 fi
 3972 
 3973 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 3974 
 3975 
 3976 
 3977 
 3978 
 3979 
 3980 
 3981 
 3982 
 3983 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 3984           inttypes.h stdint.h unistd.h
 3985 do
 3986 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 3987 echo "$as_me:$LINENO: checking for $ac_header" >&5
 3988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 3989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 3990   echo $ECHO_N "(cached) $ECHO_C" >&6
 3991 else
 3992   cat >conftest.$ac_ext <<_ACEOF
 3993 /* confdefs.h.  */
 3994 _ACEOF
 3995 cat confdefs.h >>conftest.$ac_ext
 3996 cat >>conftest.$ac_ext <<_ACEOF
 3997 /* end confdefs.h.  */
 3998 $ac_includes_default
 3999 
 4000 #include <$ac_header>
 4001 _ACEOF
 4002 rm -f conftest.$ac_objext
 4003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4004   (eval $ac_compile) 2>conftest.er1
 4005   ac_status=$?
 4006   grep -v '^ *+' conftest.er1 >conftest.err
 4007   rm -f conftest.er1
 4008   cat conftest.err >&5
 4009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4010   (exit $ac_status); } &&
 4011      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4013   (eval $ac_try) 2>&5
 4014   ac_status=$?
 4015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4016   (exit $ac_status); }; } &&
 4017      { ac_try='test -s conftest.$ac_objext'
 4018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4019   (eval $ac_try) 2>&5
 4020   ac_status=$?
 4021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4022   (exit $ac_status); }; }; then
 4023   eval "$as_ac_Header=yes"
 4024 else
 4025   echo "$as_me: failed program was:" >&5
 4026 sed 's/^/| /' conftest.$ac_ext >&5
 4027 
 4028 eval "$as_ac_Header=no"
 4029 fi
 4030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4031 fi
 4032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4035   cat >>confdefs.h <<_ACEOF
 4036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4037 _ACEOF
 4038 
 4039 fi
 4040 
 4041 done
 4042 
 4043 
 4044 
 4045 
 4046 
 4047 
 4048 
 4049 
 4050 
 4051 
 4052 
 4053 for ac_header in getopt.h fcntl.h sys/file.h sys/ioctl.h sys/time.h syslog.h unistd.h sys/termios.h sys/socket.h
 4054 do
 4055 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4057   echo "$as_me:$LINENO: checking for $ac_header" >&5
 4058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4060   echo $ECHO_N "(cached) $ECHO_C" >&6
 4061 fi
 4062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4064 else
 4065   # Is the header compilable?
 4066 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 4067 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 4068 cat >conftest.$ac_ext <<_ACEOF
 4069 /* confdefs.h.  */
 4070 _ACEOF
 4071 cat confdefs.h >>conftest.$ac_ext
 4072 cat >>conftest.$ac_ext <<_ACEOF
 4073 /* end confdefs.h.  */
 4074 $ac_includes_default
 4075 #include <$ac_header>
 4076 _ACEOF
 4077 rm -f conftest.$ac_objext
 4078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4079   (eval $ac_compile) 2>conftest.er1
 4080   ac_status=$?
 4081   grep -v '^ *+' conftest.er1 >conftest.err
 4082   rm -f conftest.er1
 4083   cat conftest.err >&5
 4084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4085   (exit $ac_status); } &&
 4086      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4088   (eval $ac_try) 2>&5
 4089   ac_status=$?
 4090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4091   (exit $ac_status); }; } &&
 4092      { ac_try='test -s conftest.$ac_objext'
 4093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4094   (eval $ac_try) 2>&5
 4095   ac_status=$?
 4096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4097   (exit $ac_status); }; }; then
 4098   ac_header_compiler=yes
 4099 else
 4100   echo "$as_me: failed program was:" >&5
 4101 sed 's/^/| /' conftest.$ac_ext >&5
 4102 
 4103 ac_header_compiler=no
 4104 fi
 4105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 4107 echo "${ECHO_T}$ac_header_compiler" >&6
 4108 
 4109 # Is the header present?
 4110 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 4111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 4112 cat >conftest.$ac_ext <<_ACEOF
 4113 /* confdefs.h.  */
 4114 _ACEOF
 4115 cat confdefs.h >>conftest.$ac_ext
 4116 cat >>conftest.$ac_ext <<_ACEOF
 4117 /* end confdefs.h.  */
 4118 #include <$ac_header>
 4119 _ACEOF
 4120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 4121   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 4122   ac_status=$?
 4123   grep -v '^ *+' conftest.er1 >conftest.err
 4124   rm -f conftest.er1
 4125   cat conftest.err >&5
 4126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4127   (exit $ac_status); } >/dev/null; then
 4128   if test -s conftest.err; then
 4129     ac_cpp_err=$ac_c_preproc_warn_flag
 4130     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 4131   else
 4132     ac_cpp_err=
 4133   fi
 4134 else
 4135   ac_cpp_err=yes
 4136 fi
 4137 if test -z "$ac_cpp_err"; then
 4138   ac_header_preproc=yes
 4139 else
 4140   echo "$as_me: failed program was:" >&5
 4141 sed 's/^/| /' conftest.$ac_ext >&5
 4142 
 4143   ac_header_preproc=no
 4144 fi
 4145 rm -f conftest.err conftest.$ac_ext
 4146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 4147 echo "${ECHO_T}$ac_header_preproc" >&6
 4148 
 4149 # So?  What about this header?
 4150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 4151   yes:no: )
 4152     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 4153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 4154     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 4155 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 4156     ac_header_preproc=yes
 4157     ;;
 4158   no:yes:* )
 4159     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 4160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 4161     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 4162 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 4163     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 4164 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 4165     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 4166 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 4167     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 4168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 4169     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 4170 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 4171     (
 4172       cat <<\_ASBOX
 4173 ## ------------------------------------------ ##
 4174 ## Report this to the AC_PACKAGE_NAME lists.  ##
 4175 ## ------------------------------------------ ##
 4176 _ASBOX
 4177     ) |
 4178       sed "s/^/$as_me: WARNING:     /" >&2
 4179     ;;
 4180 esac
 4181 echo "$as_me:$LINENO: checking for $ac_header" >&5
 4182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4184   echo $ECHO_N "(cached) $ECHO_C" >&6
 4185 else
 4186   eval "$as_ac_Header=\$ac_header_preproc"
 4187 fi
 4188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4190 
 4191 fi
 4192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4193   cat >>confdefs.h <<_ACEOF
 4194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4195 _ACEOF
 4196 
 4197 fi
 4198 
 4199 done
 4200 
 4201 
 4202 echo "$as_me:$LINENO: checking for pid_t" >&5
 4203 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
 4204 if test "${ac_cv_type_pid_t+set}" = set; then
 4205   echo $ECHO_N "(cached) $ECHO_C" >&6
 4206 else
 4207   cat >conftest.$ac_ext <<_ACEOF
 4208 /* confdefs.h.  */
 4209 _ACEOF
 4210 cat confdefs.h >>conftest.$ac_ext
 4211 cat >>conftest.$ac_ext <<_ACEOF
 4212 /* end confdefs.h.  */
 4213 $ac_includes_default
 4214 int
 4215 main ()
 4216 {
 4217 if ((pid_t *) 0)
 4218   return 0;
 4219 if (sizeof (pid_t))
 4220   return 0;
 4221   ;
 4222   return 0;
 4223 }
 4224 _ACEOF
 4225 rm -f conftest.$ac_objext
 4226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4227   (eval $ac_compile) 2>conftest.er1
 4228   ac_status=$?
 4229   grep -v '^ *+' conftest.er1 >conftest.err
 4230   rm -f conftest.er1
 4231   cat conftest.err >&5
 4232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4233   (exit $ac_status); } &&
 4234      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4236   (eval $ac_try) 2>&5
 4237   ac_status=$?
 4238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4239   (exit $ac_status); }; } &&
 4240      { ac_try='test -s conftest.$ac_objext'
 4241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4242   (eval $ac_try) 2>&5
 4243   ac_status=$?
 4244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4245   (exit $ac_status); }; }; then
 4246   ac_cv_type_pid_t=yes
 4247 else
 4248   echo "$as_me: failed program was:" >&5
 4249 sed 's/^/| /' conftest.$ac_ext >&5
 4250 
 4251 ac_cv_type_pid_t=no
 4252 fi
 4253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4254 fi
 4255 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
 4256 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
 4257 if test $ac_cv_type_pid_t = yes; then
 4258   :
 4259 else
 4260 
 4261 cat >>confdefs.h <<_ACEOF
 4262 #define pid_t int
 4263 _ACEOF
 4264 
 4265 fi
 4266 
 4267 
 4268 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 4269 # for constant arguments.  Useless!
 4270 echo "$as_me:$LINENO: checking for working alloca.h" >&5
 4271 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
 4272 if test "${ac_cv_working_alloca_h+set}" = set; then
 4273   echo $ECHO_N "(cached) $ECHO_C" >&6
 4274 else
 4275   cat >conftest.$ac_ext <<_ACEOF
 4276 /* confdefs.h.  */
 4277 _ACEOF
 4278 cat confdefs.h >>conftest.$ac_ext
 4279 cat >>conftest.$ac_ext <<_ACEOF
 4280 /* end confdefs.h.  */
 4281 #include <alloca.h>
 4282 int
 4283 main ()
 4284 {
 4285 char *p = (char *) alloca (2 * sizeof (int));
 4286   ;
 4287   return 0;
 4288 }
 4289 _ACEOF
 4290 rm -f conftest.$ac_objext conftest$ac_exeext
 4291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4292   (eval $ac_link) 2>conftest.er1
 4293   ac_status=$?
 4294   grep -v '^ *+' conftest.er1 >conftest.err
 4295   rm -f conftest.er1
 4296   cat conftest.err >&5
 4297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4298   (exit $ac_status); } &&
 4299      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4301   (eval $ac_try) 2>&5
 4302   ac_status=$?
 4303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4304   (exit $ac_status); }; } &&
 4305      { ac_try='test -s conftest$ac_exeext'
 4306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4307   (eval $ac_try) 2>&5
 4308   ac_status=$?
 4309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4310   (exit $ac_status); }; }; then
 4311   ac_cv_working_alloca_h=yes
 4312 else
 4313   echo "$as_me: failed program was:" >&5
 4314 sed 's/^/| /' conftest.$ac_ext >&5
 4315 
 4316 ac_cv_working_alloca_h=no
 4317 fi
 4318 rm -f conftest.err conftest.$ac_objext \
 4319       conftest$ac_exeext conftest.$ac_ext
 4320 fi
 4321 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
 4322 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
 4323 if test $ac_cv_working_alloca_h = yes; then
 4324 
 4325 cat >>confdefs.h <<\_ACEOF
 4326 #define HAVE_ALLOCA_H 1
 4327 _ACEOF
 4328 
 4329 fi
 4330 
 4331 echo "$as_me:$LINENO: checking for alloca" >&5
 4332 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
 4333 if test "${ac_cv_func_alloca_works+set}" = set; then
 4334   echo $ECHO_N "(cached) $ECHO_C" >&6
 4335 else
 4336   cat >conftest.$ac_ext <<_ACEOF
 4337 /* confdefs.h.  */
 4338 _ACEOF
 4339 cat confdefs.h >>conftest.$ac_ext
 4340 cat >>conftest.$ac_ext <<_ACEOF
 4341 /* end confdefs.h.  */
 4342 #ifdef __GNUC__
 4343 # define alloca __builtin_alloca
 4344 #else
 4345 # ifdef _MSC_VER
 4346 #  include <malloc.h>
 4347 #  define alloca _alloca
 4348 # else
 4349 #  if HAVE_ALLOCA_H
 4350 #   include <alloca.h>
 4351 #  else
 4352 #   ifdef _AIX
 4353  #pragma alloca
 4354 #   else
 4355 #    ifndef alloca /* predefined by HP cc +Olibcalls */
 4356 char *alloca ();
 4357 #    endif
 4358 #   endif
 4359 #  endif
 4360 # endif
 4361 #endif
 4362 
 4363 int
 4364 main ()
 4365 {
 4366 char *p = (char *) alloca (1);
 4367   ;
 4368   return 0;
 4369 }
 4370 _ACEOF
 4371 rm -f conftest.$ac_objext conftest$ac_exeext
 4372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4373   (eval $ac_link) 2>conftest.er1
 4374   ac_status=$?
 4375   grep -v '^ *+' conftest.er1 >conftest.err
 4376   rm -f conftest.er1
 4377   cat conftest.err >&5
 4378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4379   (exit $ac_status); } &&
 4380      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4382   (eval $ac_try) 2>&5
 4383   ac_status=$?
 4384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4385   (exit $ac_status); }; } &&
 4386      { ac_try='test -s conftest$ac_exeext'
 4387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4388   (eval $ac_try) 2>&5
 4389   ac_status=$?
 4390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4391   (exit $ac_status); }; }; then
 4392   ac_cv_func_alloca_works=yes
 4393 else
 4394   echo "$as_me: failed program was:" >&5
 4395 sed 's/^/| /' conftest.$ac_ext >&5
 4396 
 4397 ac_cv_func_alloca_works=no
 4398 fi
 4399 rm -f conftest.err conftest.$ac_objext \
 4400       conftest$ac_exeext conftest.$ac_ext
 4401 fi
 4402 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
 4403 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
 4404 
 4405 if test $ac_cv_func_alloca_works = yes; then
 4406 
 4407 cat >>confdefs.h <<\_ACEOF
 4408 #define HAVE_ALLOCA 1
 4409 _ACEOF
 4410 
 4411 else
 4412   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
 4413 # that cause trouble.  Some versions do not even contain alloca or
 4414 # contain a buggy version.  If you still want to use their alloca,
 4415 # use ar to extract alloca.o from them instead of compiling alloca.c.
 4416 
 4417 ALLOCA=alloca.$ac_objext
 4418 
 4419 cat >>confdefs.h <<\_ACEOF
 4420 #define C_ALLOCA 1
 4421 _ACEOF
 4422 
 4423 
 4424 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
 4425 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
 4426 if test "${ac_cv_os_cray+set}" = set; then
 4427   echo $ECHO_N "(cached) $ECHO_C" >&6
 4428 else
 4429   cat >conftest.$ac_ext <<_ACEOF
 4430 /* confdefs.h.  */
 4431 _ACEOF
 4432 cat confdefs.h >>conftest.$ac_ext
 4433 cat >>conftest.$ac_ext <<_ACEOF
 4434 /* end confdefs.h.  */
 4435 #if defined(CRAY) && ! defined(CRAY2)
 4436 webecray
 4437 #else
 4438 wenotbecray
 4439 #endif
 4440 
 4441 _ACEOF
 4442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4443   $EGREP "webecray" >/dev/null 2>&1; then
 4444   ac_cv_os_cray=yes
 4445 else
 4446   ac_cv_os_cray=no
 4447 fi
 4448 rm -f conftest*
 4449 
 4450 fi
 4451 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
 4452 echo "${ECHO_T}$ac_cv_os_cray" >&6
 4453 if test $ac_cv_os_cray = yes; then
 4454   for ac_func in _getb67 GETB67 getb67; do
 4455     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 4456 echo "$as_me:$LINENO: checking for $ac_func" >&5
 4457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 4458 if eval "test \"\${$as_ac_var+set}\" = set"; then
 4459   echo $ECHO_N "(cached) $ECHO_C" >&6
 4460 else
 4461   cat >conftest.$ac_ext <<_ACEOF
 4462 /* confdefs.h.  */
 4463 _ACEOF
 4464 cat confdefs.h >>conftest.$ac_ext
 4465 cat >>conftest.$ac_ext <<_ACEOF
 4466 /* end confdefs.h.  */
 4467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 4468    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 4469 #define $ac_func innocuous_$ac_func
 4470 
 4471 /* System header to define __stub macros and hopefully few prototypes,
 4472     which can conflict with char $ac_func (); below.
 4473     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4474     <limits.h> exists even on freestanding compilers.  */
 4475 
 4476 #ifdef __STDC__
 4477 # include <limits.h>
 4478 #else
 4479 # include <assert.h>
 4480 #endif
 4481 
 4482 #undef $ac_func
 4483 
 4484 /* Override any gcc2 internal prototype to avoid an error.  */
 4485 #ifdef __cplusplus
 4486 extern "C"
 4487 {
 4488 #endif
 4489 /* We use char because int might match the return type of a gcc2
 4490    builtin and then its argument prototype would still apply.  */
 4491 char $ac_func ();
 4492 /* The GNU C library defines this for functions which it implements
 4493     to always fail with ENOSYS.  Some functions are actually named
 4494     something starting with __ and the normal name is an alias.  */
 4495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4496 choke me
 4497 #else
 4498 char (*f) () = $ac_func;
 4499 #endif
 4500 #ifdef __cplusplus
 4501 }
 4502 #endif
 4503 
 4504 int
 4505 main ()
 4506 {
 4507 return f != $ac_func;
 4508   ;
 4509   return 0;
 4510 }
 4511 _ACEOF
 4512 rm -f conftest.$ac_objext conftest$ac_exeext
 4513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4514   (eval $ac_link) 2>conftest.er1
 4515   ac_status=$?
 4516   grep -v '^ *+' conftest.er1 >conftest.err
 4517   rm -f conftest.er1
 4518   cat conftest.err >&5
 4519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4520   (exit $ac_status); } &&
 4521      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4523   (eval $ac_try) 2>&5
 4524   ac_status=$?
 4525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4526   (exit $ac_status); }; } &&
 4527      { ac_try='test -s conftest$ac_exeext'
 4528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4529   (eval $ac_try) 2>&5
 4530   ac_status=$?
 4531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4532   (exit $ac_status); }; }; then
 4533   eval "$as_ac_var=yes"
 4534 else
 4535   echo "$as_me: failed program was:" >&5
 4536 sed 's/^/| /' conftest.$ac_ext >&5
 4537 
 4538 eval "$as_ac_var=no"
 4539 fi
 4540 rm -f conftest.err conftest.$ac_objext \
 4541       conftest$ac_exeext conftest.$ac_ext
 4542 fi
 4543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 4544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 4545 if test `eval echo '${'$as_ac_var'}'` = yes; then
 4546 
 4547 cat >>confdefs.h <<_ACEOF
 4548 #define CRAY_STACKSEG_END $ac_func
 4549 _ACEOF
 4550 
 4551     break
 4552 fi
 4553 
 4554   done
 4555 fi
 4556 
 4557 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
 4558 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
 4559 if test "${ac_cv_c_stack_direction+set}" = set; then
 4560   echo $ECHO_N "(cached) $ECHO_C" >&6
 4561 else
 4562   if test "$cross_compiling" = yes; then
 4563   ac_cv_c_stack_direction=0
 4564 else
 4565   cat >conftest.$ac_ext <<_ACEOF
 4566 /* confdefs.h.  */
 4567 _ACEOF
 4568 cat confdefs.h >>conftest.$ac_ext
 4569 cat >>conftest.$ac_ext <<_ACEOF
 4570 /* end confdefs.h.  */
 4571 int
 4572 find_stack_direction ()
 4573 {
 4574   static char *addr = 0;
 4575   auto char dummy;
 4576   if (addr == 0)
 4577     {
 4578       addr = &dummy;
 4579       return find_stack_direction ();
 4580     }
 4581   else
 4582     return (&dummy > addr) ? 1 : -1;
 4583 }
 4584 
 4585 int
 4586 main ()
 4587 {
 4588   exit (find_stack_direction () < 0);
 4589 }
 4590 _ACEOF
 4591 rm -f conftest$ac_exeext
 4592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4593   (eval $ac_link) 2>&5
 4594   ac_status=$?
 4595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4596   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 4597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4598   (eval $ac_try) 2>&5
 4599   ac_status=$?
 4600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4601   (exit $ac_status); }; }; then
 4602   ac_cv_c_stack_direction=1
 4603 else
 4604   echo "$as_me: program exited with status $ac_status" >&5
 4605 echo "$as_me: failed program was:" >&5
 4606 sed 's/^/| /' conftest.$ac_ext >&5
 4607 
 4608 ( exit $ac_status )
 4609 ac_cv_c_stack_direction=-1
 4610 fi
 4611 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 4612 fi
 4613 fi
 4614 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
 4615 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
 4616 
 4617 cat >>confdefs.h <<_ACEOF
 4618 #define STACK_DIRECTION $ac_cv_c_stack_direction
 4619 _ACEOF
 4620 
 4621 
 4622 fi
 4623 
 4624 echo "$as_me:$LINENO: checking for working memcmp" >&5
 4625 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
 4626 if test "${ac_cv_func_memcmp_working+set}" = set; then
 4627   echo $ECHO_N "(cached) $ECHO_C" >&6
 4628 else
 4629   if test "$cross_compiling" = yes; then
 4630   ac_cv_func_memcmp_working=no
 4631 else
 4632   cat >conftest.$ac_ext <<_ACEOF
 4633 /* confdefs.h.  */
 4634 _ACEOF
 4635 cat confdefs.h >>conftest.$ac_ext
 4636 cat >>conftest.$ac_ext <<_ACEOF
 4637 /* end confdefs.h.  */
 4638 $ac_includes_default
 4639 int
 4640 main ()
 4641 {
 4642 
 4643   /* Some versions of memcmp are not 8-bit clean.  */
 4644   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
 4645   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
 4646     exit (1);
 4647 
 4648   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
 4649      or more and with at least one buffer not starting on a 4-byte boundary.
 4650      William Lewis provided this test program.   */
 4651   {
 4652     char foo[21];
 4653     char bar[21];
 4654     int i;
 4655     for (i = 0; i < 4; i++)
 4656       {
 4657     char *a = foo + i;
 4658     char *b = bar + i;
 4659     strcpy (a, "--------01111111");
 4660     strcpy (b, "--------10000000");
 4661     if (memcmp (a, b, 16) >= 0)
 4662       exit (1);
 4663       }
 4664     exit (0);
 4665   }
 4666 
 4667   ;
 4668   return 0;
 4669 }
 4670 _ACEOF
 4671 rm -f conftest$ac_exeext
 4672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4673   (eval $ac_link) 2>&5
 4674   ac_status=$?
 4675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4676   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 4677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4678   (eval $ac_try) 2>&5
 4679   ac_status=$?
 4680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4681   (exit $ac_status); }; }; then
 4682   ac_cv_func_memcmp_working=yes
 4683 else
 4684   echo "$as_me: program exited with status $ac_status" >&5
 4685 echo "$as_me: failed program was:" >&5
 4686 sed 's/^/| /' conftest.$ac_ext >&5
 4687 
 4688 ( exit $ac_status )
 4689 ac_cv_func_memcmp_working=no
 4690 fi
 4691 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 4692 fi
 4693 fi
 4694 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
 4695 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
 4696 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
 4697     "memcmp.$ac_objext"   | \
 4698   *" memcmp.$ac_objext"   | \
 4699     "memcmp.$ac_objext "* | \
 4700   *" memcmp.$ac_objext "* ) ;;
 4701   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
 4702 esac
 4703 
 4704 
 4705 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 4706 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
 4707 if test "${ac_cv_type_signal+set}" = set; then
 4708   echo $ECHO_N "(cached) $ECHO_C" >&6
 4709 else
 4710   cat >conftest.$ac_ext <<_ACEOF
 4711 /* confdefs.h.  */
 4712 _ACEOF
 4713 cat confdefs.h >>conftest.$ac_ext
 4714 cat >>conftest.$ac_ext <<_ACEOF
 4715 /* end confdefs.h.  */
 4716 #include <sys/types.h>
 4717 #include <signal.h>
 4718 #ifdef signal
 4719 # undef signal
 4720 #endif
 4721 #ifdef __cplusplus
 4722 extern "C" void (*signal (int, void (*)(int)))(int);
 4723 #else
 4724 void (*signal ()) ();
 4725 #endif
 4726 
 4727 int
 4728 main ()
 4729 {
 4730 int i;
 4731   ;
 4732   return 0;
 4733 }
 4734 _ACEOF
 4735 rm -f conftest.$ac_objext
 4736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4737   (eval $ac_compile) 2>conftest.er1
 4738   ac_status=$?
 4739   grep -v '^ *+' conftest.er1 >conftest.err
 4740   rm -f conftest.er1
 4741   cat conftest.err >&5
 4742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4743   (exit $ac_status); } &&
 4744      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4746   (eval $ac_try) 2>&5
 4747   ac_status=$?
 4748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4749   (exit $ac_status); }; } &&
 4750      { ac_try='test -s conftest.$ac_objext'
 4751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4752   (eval $ac_try) 2>&5
 4753   ac_status=$?
 4754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4755   (exit $ac_status); }; }; then
 4756   ac_cv_type_signal=void
 4757 else
 4758   echo "$as_me: failed program was:" >&5
 4759 sed 's/^/| /' conftest.$ac_ext >&5
 4760 
 4761 ac_cv_type_signal=int
 4762 fi
 4763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4764 fi
 4765 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 4766 echo "${ECHO_T}$ac_cv_type_signal" >&6
 4767 
 4768 cat >>confdefs.h <<_ACEOF
 4769 #define RETSIGTYPE $ac_cv_type_signal
 4770 _ACEOF
 4771 
 4772 
 4773 
 4774 
 4775 
 4776 
 4777 
 4778 for ac_func in getopt_long select socket strdup strerror
 4779 do
 4780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 4781 echo "$as_me:$LINENO: checking for $ac_func" >&5
 4782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 4783 if eval "test \"\${$as_ac_var+set}\" = set"; then
 4784   echo $ECHO_N "(cached) $ECHO_C" >&6
 4785 else
 4786   cat >conftest.$ac_ext <<_ACEOF
 4787 /* confdefs.h.  */
 4788 _ACEOF
 4789 cat confdefs.h >>conftest.$ac_ext
 4790 cat >>conftest.$ac_ext <<_ACEOF
 4791 /* end confdefs.h.  */
 4792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 4793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 4794 #define $ac_func innocuous_$ac_func
 4795 
 4796 /* System header to define __stub macros and hopefully few prototypes,
 4797     which can conflict with char $ac_func (); below.
 4798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4799     <limits.h> exists even on freestanding compilers.  */
 4800 
 4801 #ifdef __STDC__
 4802 # include <limits.h>
 4803 #else
 4804 # include <assert.h>
 4805 #endif
 4806 
 4807 #undef $ac_func
 4808 
 4809 /* Override any gcc2 internal prototype to avoid an error.  */
 4810 #ifdef __cplusplus
 4811 extern "C"
 4812 {
 4813 #endif
 4814 /* We use char because int might match the return type of a gcc2
 4815    builtin and then its argument prototype would still apply.  */
 4816 char $ac_func ();
 4817 /* The GNU C library defines this for functions which it implements
 4818     to always fail with ENOSYS.  Some functions are actually named
 4819     something starting with __ and the normal name is an alias.  */
 4820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4821 choke me
 4822 #else
 4823 char (*f) () = $ac_func;
 4824 #endif
 4825 #ifdef __cplusplus
 4826 }
 4827 #endif
 4828 
 4829 int
 4830 main ()
 4831 {
 4832 return f != $ac_func;
 4833   ;
 4834   return 0;
 4835 }
 4836 _ACEOF
 4837 rm -f conftest.$ac_objext conftest$ac_exeext
 4838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4839   (eval $ac_link) 2>conftest.er1
 4840   ac_status=$?
 4841   grep -v '^ *+' conftest.er1 >conftest.err
 4842   rm -f conftest.er1
 4843   cat conftest.err >&5
 4844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4845   (exit $ac_status); } &&
 4846      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4848   (eval $ac_try) 2>&5
 4849   ac_status=$?
 4850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4851   (exit $ac_status); }; } &&
 4852      { ac_try='test -s conftest$ac_exeext'
 4853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4854   (eval $ac_try) 2>&5
 4855   ac_status=$?
 4856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4857   (exit $ac_status); }; }; then
 4858   eval "$as_ac_var=yes"
 4859 else
 4860   echo "$as_me: failed program was:" >&5
 4861 sed 's/^/| /' conftest.$ac_ext >&5
 4862 
 4863 eval "$as_ac_var=no"
 4864 fi
 4865 rm -f conftest.err conftest.$ac_objext \
 4866       conftest$ac_exeext conftest.$ac_ext
 4867 fi
 4868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 4869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 4870 if test `eval echo '${'$as_ac_var'}'` = yes; then
 4871   cat >>confdefs.h <<_ACEOF
 4872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 4873 _ACEOF
 4874 
 4875 fi
 4876 done
 4877 
 4878 
 4879 
 4880 
 4881 if test "$cross_compiling" = yes; then
 4882   echo "Transparent proxy support disabled by cross-compiling"
 4883 
 4884 else
 4885   cat >conftest.$ac_ext <<_ACEOF
 4886 /* confdefs.h.  */
 4887 _ACEOF
 4888 cat confdefs.h >>conftest.$ac_ext
 4889 cat >>conftest.$ac_ext <<_ACEOF
 4890 /* end confdefs.h.  */
 4891 
 4892 #include <sys/socket.h>
 4893 int main()
 4894 {
 4895 #ifdef MSG_PROXY
 4896   exit(0);
 4897 #else
 4898   exit(1);
 4899 #endif
 4900 }
 4901 
 4902 _ACEOF
 4903 rm -f conftest$ac_exeext
 4904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4905   (eval $ac_link) 2>&5
 4906   ac_status=$?
 4907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4908   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 4909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4910   (eval $ac_try) 2>&5
 4911   ac_status=$?
 4912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4913   (exit $ac_status); }; }; then
 4914 
 4915 cat >>confdefs.h <<\_ACEOF
 4916 #define HAVE_MSG_PROXY 1
 4917 _ACEOF
 4918 
 4919 else
 4920   echo "$as_me: program exited with status $ac_status" >&5
 4921 echo "$as_me: failed program was:" >&5
 4922 sed 's/^/| /' conftest.$ac_ext >&5
 4923 
 4924 ( exit $ac_status )
 4925 echo "Transparent proxy support is NOT present in kernel"
 4926 fi
 4927 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 4928 fi
 4929 
 4930 LIBS="$LIBS $LEXLIB"
 4931 
 4932 
 4933 REAL_CC=$CC
 4934 CC=$CXX
 4935 
 4936 
 4937 
 4938                                                   ac_config_files="$ac_config_files getopt/Makefile src/Makefile tools/Makefile doc/Makefile Makefile"
 4939 cat >confcache <<\_ACEOF
 4940 # This file is a shell script that caches the results of configure
 4941 # tests run on this system so they can be shared between configure
 4942 # scripts and configure runs, see configure's option --config-cache.
 4943 # It is not useful on other systems.  If it contains results you don't
 4944 # want to keep, you may remove or edit it.
 4945 #
 4946 # config.status only pays attention to the cache file if you give it
 4947 # the --recheck option to rerun configure.
 4948 #
 4949 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 4950 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 4951 # following values.
 4952 
 4953 _ACEOF
 4954 
 4955 # The following way of writing the cache mishandles newlines in values,
 4956 # but we know of no workaround that is simple, portable, and efficient.
 4957 # So, don't put newlines in cache variables' values.
 4958 # Ultrix sh set writes to stderr and can't be redirected directly,
 4959 # and sets the high bit in the cache file unless we assign to the vars.
 4960 {
 4961   (set) 2>&1 |
 4962     case `(ac_space=' '; set | grep ac_space) 2>&1` in
 4963     *ac_space=\ *)
 4964       # `set' does not quote correctly, so add quotes (double-quote
 4965       # substitution turns \\\\ into \\, and sed turns \\ into \).
 4966       sed -n \
 4967     "s/'/'\\\\''/g;
 4968       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 4969       ;;
 4970     *)
 4971