1169848 [rkeene@sledge /home/rkeene/devel/dact-0.8.37]$ cat -n configure
    1 #! /bin/sh
    2 # From configure.in Revision .
    3 # Guess values for system-dependent variables and create Makefiles.
    4 # Generated by GNU Autoconf 2.59.
    5 #
    6 # Copyright (C) 2003 Free Software Foundation, Inc.
    7 # This configure script is free software; the Free Software Foundation
    8 # gives unlimited permission to copy, distribute and modify it.
    9 ## --------------------- ##
   10 ## M4sh Initialization.  ##
   11 ## --------------------- ##
   12 
   13 # Be Bourne compatible
   14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   15   emulate sh
   16   NULLCMD=:
   17   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   18   # is contrary to our usage.  Disable this feature.
   19   alias -g '${1+"$@"}'='"$@"'
   20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   21   set -o posix
   22 fi
   23 DUALCASE=1; export DUALCASE # for MKS sh
   24 
   25 # Support unset when possible.
   26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   27   as_unset=unset
   28 else
   29   as_unset=false
   30 fi
   31 
   32 
   33 # Work around bugs in pre-3.0 UWIN ksh.
   34 $as_unset ENV MAIL MAILPATH
   35 PS1='$ '
   36 PS2='> '
   37 PS4='+ '
   38 
   39 # NLS nuisances.
   40 for as_var in \
   41   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   42   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   43   LC_TELEPHONE LC_TIME
   44 do
   45   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   46     eval $as_var=C; export $as_var
   47   else
   48     $as_unset $as_var
   49   fi
   50 done
   51 
   52 # Required to use basename.
   53 if expr a : '\(a\)' >/dev/null 2>&1; then
   54   as_expr=expr
   55 else
   56   as_expr=false
   57 fi
   58 
   59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   60   as_basename=basename
   61 else
   62   as_basename=false
   63 fi
   64 
   65 
   66 # Name of the executable.
   67 as_me=`$as_basename "$0" ||
   68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   69      X"$0" : 'X\(//\)$' \| \
   70      X"$0" : 'X\(/\)$' \| \
   71      .     : '\(.\)' 2>/dev/null ||
   72 echo X/"$0" |
   73     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   74       /^X\/\(\/\/\)$/{ s//\1/; q; }
   75       /^X\/\(\/\).*/{ s//\1/; q; }
   76       s/.*/./; q'`
   77 
   78 
   79 # PATH needs CR, and LINENO needs CR and PATH.
   80 # Avoid depending upon Character Ranges.
   81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   84 as_cr_digits='0123456789'
   85 as_cr_alnum=$as_cr_Letters$as_cr_digits
   86 
   87 # The user is always right.
   88 if test "${PATH_SEPARATOR+set}" != set; then
   89   echo "#! /bin/sh" >conf$$.sh
   90   echo  "exit 0"   >>conf$$.sh
   91   chmod +x conf$$.sh
   92   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   93     PATH_SEPARATOR=';'
   94   else
   95     PATH_SEPARATOR=:
   96   fi
   97   rm -f conf$$.sh
   98 fi
   99 
  100 
  101   as_lineno_1=$LINENO
  102   as_lineno_2=$LINENO
  103   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  104   test "x$as_lineno_1" != "x$as_lineno_2" &&
  105   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  106   # Find who we are.  Look in the path if we contain no path at all
  107   # relative or not.
  108   case $0 in
  109     *[\\/]* ) as_myself=$0 ;;
  110     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111 for as_dir in $PATH
  112 do
  113   IFS=$as_save_IFS
  114   test -z "$as_dir" && as_dir=.
  115   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  116 done
  117 
  118        ;;
  119   esac
  120   # We did not find ourselves, most probably we were run as `sh COMMAND'
  121   # in which case we are not to be found in the path.
  122   if test "x$as_myself" = x; then
  123     as_myself=$0
  124   fi
  125   if test ! -f "$as_myself"; then
  126     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  127    { (exit 1); exit 1; }; }
  128   fi
  129   case $CONFIG_SHELL in
  130   '')
  131     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  133 do
  134   IFS=$as_save_IFS
  135   test -z "$as_dir" && as_dir=.
  136   for as_base in sh bash ksh sh5; do
  137      case $as_dir in
  138      /*)
  139        if ("$as_dir/$as_base" -c '
  140   as_lineno_1=$LINENO
  141   as_lineno_2=$LINENO
  142   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  143   test "x$as_lineno_1" != "x$as_lineno_2" &&
  144   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  145          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  146          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  147          CONFIG_SHELL=$as_dir/$as_base
  148          export CONFIG_SHELL
  149          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  150        fi;;
  151      esac
  152        done
  153 done
  154 ;;
  155   esac
  156 
  157   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  158   # uniformly replaced by the line number.  The first 'sed' inserts a
  159   # line-number line before each line; the second 'sed' does the real
  160   # work.  The second script uses 'N' to pair each line-number line
  161   # with the numbered line, and appends trailing '-' during
  162   # substitution so that $LINENO is not a special case at line end.
  163   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  164   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  165   sed '=' <$as_myself |
  166     sed '
  167       N
  168       s,$,-,
  169       : loop
  170       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  171       t loop
  172       s,-$,,
  173       s,^['$as_cr_digits']*\n,,
  174     ' >$as_me.lineno &&
  175   chmod +x $as_me.lineno ||
  176     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  177    { (exit 1); exit 1; }; }
  178 
  179   # Don't try to exec as it changes $[0], causing all sort of problems
  180   # (the dirname of $[0] is not the place where we might find the
  181   # original and so on.  Autoconf is especially sensible to this).
  182   . ./$as_me.lineno
  183   # Exit status is that of the last command.
  184   exit
  185 }
  186 
  187 
  188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  189   *c*,-n*) ECHO_N= ECHO_C='
  190 ' ECHO_T='  ' ;;
  191   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  192   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  193 esac
  194 
  195 if expr a : '\(a\)' >/dev/null 2>&1; then
  196   as_expr=expr
  197 else
  198   as_expr=false
  199 fi
  200 
  201 rm -f conf$$ conf$$.exe conf$$.file
  202 echo >conf$$.file
  203 if ln -s conf$$.file conf$$ 2>/dev/null; then
  204   # We could just check for DJGPP; but this test a) works b) is more generic
  205   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  206   if test -f conf$$.exe; then
  207     # Don't use ln at all; we don't have any links
  208     as_ln_s='cp -p'
  209   else
  210     as_ln_s='ln -s'
  211   fi
  212 elif ln conf$$.file conf$$ 2>/dev/null; then
  213   as_ln_s=ln
  214 else
  215   as_ln_s='cp -p'
  216 fi
  217 rm -f conf$$ conf$$.exe conf$$.file
  218 
  219 if mkdir -p . 2>/dev/null; then
  220   as_mkdir_p=:
  221 else
  222   test -d ./-p && rmdir ./-p
  223   as_mkdir_p=false
  224 fi
  225 
  226 as_executable_p="test -f"
  227 
  228 # Sed expression to map a string onto a valid CPP name.
  229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  230 
  231 # Sed expression to map a string onto a valid variable name.
  232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  233 
  234 
  235 # IFS
  236 # We need space, tab and new line, in precisely that order.
  237 as_nl='
  238 '
  239 IFS="   $as_nl"
  240 
  241 # CDPATH.
  242 $as_unset CDPATH
  243 
  244 
  245 # Name of the host.
  246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  247 # so uname gets run too.
  248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  249 
  250 exec 6>&1
  251 
  252 #
  253 # Initializations.
  254 #
  255 ac_default_prefix=/usr/local
  256 ac_config_libobj_dir=.
  257 cross_compiling=no
  258 subdirs=
  259 MFLAGS=
  260 MAKEFLAGS=
  261 SHELL=${CONFIG_SHELL-/bin/sh}
  262 
  263 # Maximum number of lines to put in a shell here document.
  264 # This variable seems obsolete.  It should probably be removed, and
  265 # only ac_max_sed_lines should be used.
  266 : ${ac_max_here_lines=38}
  267 
  268 # Identity of this package.
  269 PACKAGE_NAME=
  270 PACKAGE_TARNAME=
  271 PACKAGE_VERSION=
  272 PACKAGE_STRING=
  273 PACKAGE_BUGREPORT=
  274 
  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 CC
	CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR ac_ct_AR RANLIB
	ac_ct_RANLIB DEPEND ALLMODLIBS ALGO MODLIBS MODLIBSCOND DEFAULT MODS NOMODS SHARED CPP EGREP LIBOBJS 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_CPP_set=${CPP+set}
  770 ac_env_CPP_value=$CPP
  771 ac_cv_env_CPP_set=${CPP+set}
  772 ac_cv_env_CPP_value=$CPP
  773 
  774 #
  775 # Report the --help message.
  776 #
  777 if test "$ac_init_help" = "long"; then
  778   # Omit some internal or obsolete options to make the list less imposing.
  779   # This message is too long to be a string in the A/UX 3.1 sh.
  780   cat <<_ACEOF
  781 \`configure' configures this package to adapt to many kinds of systems.
  782 
  783 Usage: $0 [OPTION]... [VAR=VALUE]...
  784 
  785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  786 VAR=VALUE.  See below for descriptions of some of the useful variables.
  787 
  788 Defaults for the options are specified in brackets.
  789 
  790 Configuration:
  791   -h, --help              display this help and exit
  792       --help=short        display options specific to this package
  793       --help=recursive    display the short help of all the included packages
  794   -V, --version           display version information and exit
  795   -q, --quiet, --silent   do not print \`checking...' messages
  796       --cache-file=FILE   cache test results in FILE [disabled]
  797   -C, --config-cache      alias for \`--cache-file=config.cache'
  798   -n, --no-create         do not create output files
  799       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  800 
  801 _ACEOF
  802 
  803   cat <<_ACEOF
  804 Installation directories:
  805   --prefix=PREFIX         install architecture-independent files in PREFIX
  806               [$ac_default_prefix]
  807   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  808               [PREFIX]
  809 
  810 By default, \`make install' will install all the files in
  811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  813 for instance \`--prefix=\$HOME'.
  814 
  815 For better control, use the options below.
  816 
  817 Fine tuning of the installation directories:
  818   --bindir=DIR           user executables [EPREFIX/bin]
  819   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  820   --libexecdir=DIR       program executables [EPREFIX/libexec]
  821   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  822   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  823   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  824   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  825   --libdir=DIR           object code libraries [EPREFIX/lib]
  826   --includedir=DIR       C header files [PREFIX/include]
  827   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  828   --infodir=DIR          info documentation [PREFIX/info]
  829   --mandir=DIR           man documentation [PREFIX/man]
  830 _ACEOF
  831 
  832   cat <<\_ACEOF
  833 _ACEOF
  834 fi
  835 
  836 if test -n "$ac_init_help"; then
  837 
  838   cat <<\_ACEOF
  839 
  840 Optional Features:
  841   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  842   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  843   --disable-chkvers       Completely disable the ability to check for new versions
  844   --disable-network       Disable DACT's network activity completely
  845   --enable-debug          Enable developmental code
  846   --disable-modules       Disable use of modules
  847   --enable-debianupgrade  Use the Debian upgrade procedure instead of the DACT one
  848 
  849 Some influential environment variables:
  850   CC          C compiler command
  851   CFLAGS      C compiler flags
  852   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  853               nonstandard directory <lib dir>
  854   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  855               headers in a nonstandard directory <include dir>
  856   CPP         C preprocessor
  857 
  858 Use these variables to override the choices made by `configure' or to help
  859 it to find libraries and programs with nonstandard names/locations.
  860 
  861 _ACEOF
  862 fi
  863 
  864 if test "$ac_init_help" = "recursive"; then
  865   # If there are subdirs, report their specific --help.
  866   ac_popdir=`pwd`
  867   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  868     test -d $ac_dir || continue
  869     ac_builddir=.
  870 
  871 if test "$ac_dir" != .; then
  872   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  873   # A "../" for each directory in $ac_dir_suffix.
  874   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  875 else
  876   ac_dir_suffix= ac_top_builddir=
  877 fi
  878 
  879 case $srcdir in
  880   .)  # No --srcdir option.  We are building in place.
  881     ac_srcdir=.
  882     if test -z "$ac_top_builddir"; then
  883        ac_top_srcdir=.
  884     else
  885        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  886     fi ;;
  887   [\\/]* | ?:[\\/]* )  # Absolute path.
  888     ac_srcdir=$srcdir$ac_dir_suffix;
  889     ac_top_srcdir=$srcdir ;;
  890   *) # Relative path.
  891     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  892     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  893 esac
  894 
  895 # Do not use `cd foo && pwd` to compute absolute paths, because
  896 # the directories may not exist.
  897 case `pwd` in
  898 .) ac_abs_builddir="$ac_dir";;
  899 *)
  900   case "$ac_dir" in
  901   .) ac_abs_builddir=`pwd`;;
  902   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  903   *) ac_abs_builddir=`pwd`/"$ac_dir";;
  904   esac;;
  905 esac
  906 case $ac_abs_builddir in
  907 .) ac_abs_top_builddir=${ac_top_builddir}.;;
  908 *)
  909   case ${ac_top_builddir}. in
  910   .) ac_abs_top_builddir=$ac_abs_builddir;;
  911   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  912   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  913   esac;;
  914 esac
  915 case $ac_abs_builddir in
  916 .) ac_abs_srcdir=$ac_srcdir;;
  917 *)
  918   case $ac_srcdir in
  919   .) ac_abs_srcdir=$ac_abs_builddir;;
  920   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  921   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  922   esac;;
  923 esac
  924 case $ac_abs_builddir in
  925 .) ac_abs_top_srcdir=$ac_top_srcdir;;
  926 *)
  927   case $ac_top_srcdir in
  928   .) ac_abs_top_srcdir=$ac_abs_builddir;;
  929   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  930   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  931   esac;;
  932 esac
  933 
  934     cd $ac_dir
  935     # Check for guested configure; otherwise get Cygnus style configure.
  936     if test -f $ac_srcdir/configure.gnu; then
  937       echo
  938       $SHELL $ac_srcdir/configure.gnu  --help=recursive
  939     elif test -f $ac_srcdir/configure; then
  940       echo
  941       $SHELL $ac_srcdir/configure  --help=recursive
  942     elif test -f $ac_srcdir/configure.ac ||
  943        test -f $ac_srcdir/configure.in; then
  944       echo
  945       $ac_configure --help
  946     else
  947       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  948     fi
  949     cd "$ac_popdir"
  950   done
  951 fi
  952 
  953 test -n "$ac_init_help" && exit 0
  954 if $ac_init_version; then
  955   cat <<\_ACEOF
  956 
  957 Copyright (C) 2003 Free Software Foundation, Inc.
  958 This configure script is free software; the Free Software Foundation
  959 gives unlimited permission to copy, distribute and modify it.
  960 _ACEOF
  961   exit 0
  962 fi
  963 exec 5>config.log
  964 cat >&5 <<_ACEOF
  965 This file contains any messages produced by compilers while
  966 running configure, to aid debugging if configure makes a mistake.
  967 
  968 It was created by $as_me, which was
  969 generated by GNU Autoconf 2.59.  Invocation command line was
  970 
  971   $ $0 $@
  972 
  973 _ACEOF
  974 {
  975 cat <<_ASUNAME
  976 ## --------- ##
  977 ## Platform. ##
  978 ## --------- ##
  979 
  980 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  981 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  982 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  983 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  984 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  985 
  986 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  987 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  988 
  989 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  990 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  991 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  992 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  993 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  994 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  995 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  996 
  997 _ASUNAME
  998 
  999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1000 for as_dir in $PATH
 1001 do
 1002   IFS=$as_save_IFS
 1003   test -z "$as_dir" && as_dir=.
 1004   echo "PATH: $as_dir"
 1005 done
 1006 
 1007 } >&5
 1008 
 1009 cat >&5 <<_ACEOF
 1010 
 1011 
 1012 ## ----------- ##
 1013 ## Core tests. ##
 1014 ## ----------- ##
 1015 
 1016 _ACEOF
 1017 
 1018 
 1019 # Keep a trace of the command line.
 1020 # Strip out --no-create and --no-recursion so they do not pile up.
 1021 # Strip out --silent because we don't want to record it for future runs.
 1022 # Also quote any args containing shell meta-characters.
 1023 # Make two passes to allow for proper duplicate-argument suppression.
 1024 ac_configure_args=
 1025 ac_configure_args0=
 1026 ac_configure_args1=
 1027 ac_sep=
 1028 ac_must_keep_next=false
 1029 for ac_pass in 1 2
 1030 do
 1031   for ac_arg
 1032   do
 1033     case $ac_arg in
 1034     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1035     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1036     | -silent | --silent | --silen | --sile | --sil)
 1037       continue ;;
 1038     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1039       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1040     esac
 1041     case $ac_pass in
 1042     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1043     2)
 1044       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1045       if test $ac_must_keep_next = true; then
 1046     ac_must_keep_next=false # Got value, back to normal.
 1047       else
 1048     case $ac_arg in
 1049       *=* | --config-cache | -C | -disable-* | --disable-* \
 1050       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1051       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1052       | -with-* | --with-* | -without-* | --without-* | --x)
 1053         case "$ac_configure_args0 " in
 1054           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1055         esac
 1056         ;;
 1057       -* ) ac_must_keep_next=true ;;
 1058     esac
 1059       fi
 1060       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 1061       # Get rid of the leading space.
 1062       ac_sep=" "
 1063       ;;
 1064     esac
 1065   done
 1066 done
 1067 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export
	ac_configure_args0; }
 1068 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export
	ac_configure_args1; }
 1069 
 1070 # When interrupted or exit'd, cleanup temporary files, and complete
 1071 # config.log.  We remove comments because anyway the quotes in there
 1072 # would cause problems or look ugly.
 1073 # WARNING: Be sure not to use single quotes in there, as some shells,
 1074 # such as our DU 5.0 friend, will then `close' the trap.
 1075 trap 'exit_status=$?
 1076   # Save into config.log some information that might help in debugging.
 1077   {
 1078     echo
 1079 
 1080     cat <<\_ASBOX
 1081 ## ---------------- ##
 1082 ## Cache variables. ##
 1083 ## ---------------- ##
 1084 _ASBOX
 1085     echo
 1086     # The following way of writing the cache mishandles newlines in values,
 1087 {
 1088   (set) 2>&1 |
 1089     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 1090     *ac_space=\ *)
 1091       sed -n \
 1092     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 1093       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 1094       ;;
 1095     *)
 1096       sed -n \
 1097     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 1098       ;;
 1099     esac;
 1100 }
 1101     echo
 1102 
 1103     cat <<\_ASBOX
 1104 ## ----------------- ##
 1105 ## Output variables. ##
 1106 ## ----------------- ##
 1107 _ASBOX
 1108     echo
 1109     for ac_var in $ac_subst_vars
 1110     do
 1111       eval ac_val=$`echo $ac_var`
 1112       echo "$ac_var='"'"'$ac_val'"'"'"
 1113     done | sort
 1114     echo
 1115 
 1116     if test -n "$ac_subst_files"; then
 1117       cat <<\_ASBOX
 1118 ## ------------- ##
 1119 ## Output files. ##
 1120 ## ------------- ##
 1121 _ASBOX
 1122       echo
 1123       for ac_var in $ac_subst_files
 1124       do
 1125     eval ac_val=$`echo $ac_var`
 1126     echo "$ac_var='"'"'$ac_val'"'"'"
 1127       done | sort
 1128       echo
 1129     fi
 1130 
 1131     if test -s confdefs.h; then
 1132       cat <<\_ASBOX
 1133 ## ----------- ##
 1134 ## confdefs.h. ##
 1135 ## ----------- ##
 1136 _ASBOX
 1137       echo
 1138       sed "/^$/d" confdefs.h | sort
 1139       echo
 1140     fi
 1141     test "$ac_signal" != 0 &&
 1142       echo "$as_me: caught signal $ac_signal"
 1143     echo "$as_me: exit $exit_status"
 1144   } >&5
 1145   rm -f core *.core &&
 1146   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 1147     exit $exit_status
 1148      ' 0
 1149 for ac_signal in 1 2 13 15; do
 1150   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1151 done
 1152 ac_signal=0
 1153 
 1154 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1155 rm -rf conftest* confdefs.h
 1156 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
 1157 echo >confdefs.h
 1158 
 1159 # Predefined preprocessor variables.
 1160 
 1161 cat >>confdefs.h <<_ACEOF
 1162 #define PACKAGE_NAME "$PACKAGE_NAME"
 1163 _ACEOF
 1164 
 1165 
 1166 cat >>confdefs.h <<_ACEOF
 1167 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1168 _ACEOF
 1169 
 1170 
 1171 cat >>confdefs.h <<_ACEOF
 1172 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1173 _ACEOF
 1174 
 1175 
 1176 cat >>confdefs.h <<_ACEOF
 1177 #define PACKAGE_STRING "$PACKAGE_STRING"
 1178 _ACEOF
 1179 
 1180 
 1181 cat >>confdefs.h <<_ACEOF
 1182 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1183 _ACEOF
 1184 
 1185 
 1186 # Let the site file select an alternate cache file if it wants to.
 1187 # Prefer explicitly selected file to automatically selected ones.
 1188 if test -z "$CONFIG_SITE"; then
 1189   if test "x$prefix" != xNONE; then
 1190     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 1191   else
 1192     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 1193   fi
 1194 fi
 1195 for ac_site_file in $CONFIG_SITE; do
 1196   if test -r "$ac_site_file"; then
 1197     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1198 echo "$as_me: loading site script $ac_site_file" >&6;}
 1199     sed 's/^/| /' "$ac_site_file" >&5
 1200     . "$ac_site_file"
 1201   fi
 1202 done
 1203 
 1204 if test -r "$cache_file"; then
 1205   # Some versions of bash will fail to source /dev/null (special
 1206   # files actually), so we avoid doing that.
 1207   if test -f "$cache_file"; then
 1208     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1209 echo "$as_me: loading cache $cache_file" >&6;}
 1210     case $cache_file in
 1211       [\\/]* | ?:[\\/]* ) . $cache_file;;
 1212       *)                      . ./$cache_file;;
 1213     esac
 1214   fi
 1215 else
 1216   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1217 echo "$as_me: creating cache $cache_file" >&6;}
 1218   >$cache_file
 1219 fi
 1220 
 1221 # Check that the precious variables saved in the cache have kept the same
 1222 # value.
 1223 ac_cache_corrupted=false
 1224 for ac_var in `(set) 2>&1 |
 1225            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 1226   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1227   eval ac_new_set=\$ac_env_${ac_var}_set
 1228   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 1229   eval ac_new_val="\$ac_env_${ac_var}_value"
 1230   case $ac_old_set,$ac_new_set in
 1231     set,)
 1232       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1233 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1234       ac_cache_corrupted=: ;;
 1235     ,set)
 1236       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1237 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1238       ac_cache_corrupted=: ;;
 1239     ,);;
 1240     *)
 1241       if test "x$ac_old_val" != "x$ac_new_val"; then
 1242     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1243 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1244     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1245 echo "$as_me:   former value:  $ac_old_val" >&2;}
 1246     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1247 echo "$as_me:   current value: $ac_new_val" >&2;}
 1248     ac_cache_corrupted=:
 1249       fi;;
 1250   esac
 1251   # Pass precious variables to config.status.
 1252   if test "$ac_new_set" = set; then
 1253     case $ac_new_val in
 1254     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1255       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1256     *) ac_arg=$ac_var=$ac_new_val ;;
 1257     esac
 1258     case " $ac_configure_args " in
 1259       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1260       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1261     esac
 1262   fi
 1263 done
 1264 if $ac_cache_corrupted; then
 1265   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1266 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1267   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1268 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1269    { (exit 1); exit 1; }; }
 1270 fi
 1271 
 1272 ac_ext=c
 1273 ac_cpp='$CPP $CPPFLAGS'
 1274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1277 
 1278 
 1279 
 1280 
 1281 
 1282 
 1283 
 1284 
 1285 
 1286 
 1287 
 1288 
 1289 
 1290 
 1291 
 1292 
 1293 
 1294 
 1295 
 1296           ac_config_headers="$ac_config_headers config.h"
 1297 
 1298 
 1299 ac_ext=c
 1300 ac_cpp='$CPP $CPPFLAGS'
 1301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1304 if test -n "$ac_tool_prefix"; then
 1305   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 1306 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 1307 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1309 if test "${ac_cv_prog_CC+set}" = set; then
 1310   echo $ECHO_N "(cached) $ECHO_C" >&6
 1311 else
 1312   if test -n "$CC"; then
 1313   ac_cv_prog_CC="$CC" # Let the user override the test.
 1314 else
 1315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1316 for as_dir in $PATH
 1317 do
 1318   IFS=$as_save_IFS
 1319   test -z "$as_dir" && as_dir=.
 1320   for ac_exec_ext in '' $ac_executable_extensions; do
 1321   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1322     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 1323     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1324     break 2
 1325   fi
 1326 done
 1327 done
 1328 
 1329 fi
 1330 fi
 1331 CC=$ac_cv_prog_CC
 1332 if test -n "$CC"; then
 1333   echo "$as_me:$LINENO: result: $CC" >&5
 1334 echo "${ECHO_T}$CC" >&6
 1335 else
 1336   echo "$as_me:$LINENO: result: no" >&5
 1337 echo "${ECHO_T}no" >&6
 1338 fi
 1339 
 1340 fi
 1341 if test -z "$ac_cv_prog_CC"; then
 1342   ac_ct_CC=$CC
 1343   # Extract the first word of "gcc", so it can be a program name with args.
 1344 set dummy gcc; ac_word=$2
 1345 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1347 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1348   echo $ECHO_N "(cached) $ECHO_C" >&6
 1349 else
 1350   if test -n "$ac_ct_CC"; then
 1351   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1352 else
 1353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1354 for as_dir in $PATH
 1355 do
 1356   IFS=$as_save_IFS
 1357   test -z "$as_dir" && as_dir=.
 1358   for ac_exec_ext in '' $ac_executable_extensions; do
 1359   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1360     ac_cv_prog_ac_ct_CC="gcc"
 1361     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1362     break 2
 1363   fi
 1364 done
 1365 done
 1366 
 1367 fi
 1368 fi
 1369 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1370 if test -n "$ac_ct_CC"; then
 1371   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1372 echo "${ECHO_T}$ac_ct_CC" >&6
 1373 else
 1374   echo "$as_me:$LINENO: result: no" >&5
 1375 echo "${ECHO_T}no" >&6
 1376 fi
 1377 
 1378   CC=$ac_ct_CC
 1379 else
 1380   CC="$ac_cv_prog_CC"
 1381 fi
 1382 
 1383 if test -z "$CC"; then
 1384   if test -n "$ac_tool_prefix"; then
 1385   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 1386 set dummy ${ac_tool_prefix}cc; ac_word=$2
 1387 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1389 if test "${ac_cv_prog_CC+set}" = set; then
 1390   echo $ECHO_N "(cached) $ECHO_C" >&6
 1391 else
 1392   if test -n "$CC"; then
 1393   ac_cv_prog_CC="$CC" # Let the user override the test.
 1394 else
 1395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1396 for as_dir in $PATH
 1397 do
 1398   IFS=$as_save_IFS
 1399   test -z "$as_dir" && as_dir=.
 1400   for ac_exec_ext in '' $ac_executable_extensions; do
 1401   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1402     ac_cv_prog_CC="${ac_tool_prefix}cc"
 1403     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1404     break 2
 1405   fi
 1406 done
 1407 done
 1408 
 1409 fi
 1410 fi
 1411 CC=$ac_cv_prog_CC
 1412 if test -n "$CC"; then
 1413   echo "$as_me:$LINENO: result: $CC" >&5
 1414 echo "${ECHO_T}$CC" >&6
 1415 else
 1416   echo "$as_me:$LINENO: result: no" >&5
 1417 echo "${ECHO_T}no" >&6
 1418 fi
 1419 
 1420 fi
 1421 if test -z "$ac_cv_prog_CC"; then
 1422   ac_ct_CC=$CC
 1423   # Extract the first word of "cc", so it can be a program name with args.
 1424 set dummy cc; ac_word=$2
 1425 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1427 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1428   echo $ECHO_N "(cached) $ECHO_C" >&6
 1429 else
 1430   if test -n "$ac_ct_CC"; then
 1431   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1432 else
 1433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1434 for as_dir in $PATH
 1435 do
 1436   IFS=$as_save_IFS
 1437   test -z "$as_dir" && as_dir=.
 1438   for ac_exec_ext in '' $ac_executable_extensions; do
 1439   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1440     ac_cv_prog_ac_ct_CC="cc"
 1441     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1442     break 2
 1443   fi
 1444 done
 1445 done
 1446 
 1447 fi
 1448 fi
 1449 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1450 if test -n "$ac_ct_CC"; then
 1451   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1452 echo "${ECHO_T}$ac_ct_CC" >&6
 1453 else
 1454   echo "$as_me:$LINENO: result: no" >&5
 1455 echo "${ECHO_T}no" >&6
 1456 fi
 1457 
 1458   CC=$ac_ct_CC
 1459 else
 1460   CC="$ac_cv_prog_CC"
 1461 fi
 1462 
 1463 fi
 1464 if test -z "$CC"; then
 1465   # Extract the first word of "cc", so it can be a program name with args.
 1466 set dummy cc; ac_word=$2
 1467 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1469 if test "${ac_cv_prog_CC+set}" = set; then
 1470   echo $ECHO_N "(cached) $ECHO_C" >&6
 1471 else
 1472   if test -n "$CC"; then
 1473   ac_cv_prog_CC="$CC" # Let the user override the test.
 1474 else
 1475   ac_prog_rejected=no
 1476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1477 for as_dir in $PATH
 1478 do
 1479   IFS=$as_save_IFS
 1480   test -z "$as_dir" && as_dir=.
 1481   for ac_exec_ext in '' $ac_executable_extensions; do
 1482   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1483     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 1484        ac_prog_rejected=yes
 1485        continue
 1486      fi
 1487     ac_cv_prog_CC="cc"
 1488     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1489     break 2
 1490   fi
 1491 done
 1492 done
 1493 
 1494 if test $ac_prog_rejected = yes; then
 1495   # We found a bogon in the path, so make sure we never use it.
 1496   set dummy $ac_cv_prog_CC
 1497   shift
 1498   if test $# != 0; then
 1499     # We chose a different compiler from the bogus one.
 1500     # However, it has the same basename, so the bogon will be chosen
 1501     # first if we set CC to just the basename; use the full file name.
 1502     shift
 1503     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 1504   fi
 1505 fi
 1506 fi
 1507 fi
 1508 CC=$ac_cv_prog_CC
 1509 if test -n "$CC"; then
 1510   echo "$as_me:$LINENO: result: $CC" >&5
 1511 echo "${ECHO_T}$CC" >&6
 1512 else
 1513   echo "$as_me:$LINENO: result: no" >&5
 1514 echo "${ECHO_T}no" >&6
 1515 fi
 1516 
 1517 fi
 1518 if test -z "$CC"; then
 1519   if test -n "$ac_tool_prefix"; then
 1520   for ac_prog in cl
 1521   do
 1522     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 1523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 1524 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1526 if test "${ac_cv_prog_CC+set}" = set; then
 1527   echo $ECHO_N "(cached) $ECHO_C" >&6
 1528 else
 1529   if test -n "$CC"; then
 1530   ac_cv_prog_CC="$CC" # Let the user override the test.
 1531 else
 1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1533 for as_dir in $PATH
 1534 do
 1535   IFS=$as_save_IFS
 1536   test -z "$as_dir" && as_dir=.
 1537   for ac_exec_ext in '' $ac_executable_extensions; do
 1538   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1539     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 1540     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1541     break 2
 1542   fi
 1543 done
 1544 done
 1545 
 1546 fi
 1547 fi
 1548 CC=$ac_cv_prog_CC
 1549 if test -n "$CC"; then
 1550   echo "$as_me:$LINENO: result: $CC" >&5
 1551 echo "${ECHO_T}$CC" >&6
 1552 else
 1553   echo "$as_me:$LINENO: result: no" >&5
 1554 echo "${ECHO_T}no" >&6
 1555 fi
 1556 
 1557     test -n "$CC" && break
 1558   done
 1559 fi
 1560 if test -z "$CC"; then
 1561   ac_ct_CC=$CC
 1562   for ac_prog in cl
 1563 do
 1564   # Extract the first word of "$ac_prog", so it can be a program name with args.
 1565 set dummy $ac_prog; ac_word=$2
 1566 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1568 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1569   echo $ECHO_N "(cached) $ECHO_C" >&6
 1570 else
 1571   if test -n "$ac_ct_CC"; then
 1572   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1573 else
 1574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1575 for as_dir in $PATH
 1576 do
 1577   IFS=$as_save_IFS
 1578   test -z "$as_dir" && as_dir=.
 1579   for ac_exec_ext in '' $ac_executable_extensions; do
 1580   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1581     ac_cv_prog_ac_ct_CC="$ac_prog"
 1582     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1583     break 2
 1584   fi
 1585 done
 1586 done
 1587 
 1588 fi
 1589 fi
 1590 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1591 if test -n "$ac_ct_CC"; then
 1592   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1593 echo "${ECHO_T}$ac_ct_CC" >&6
 1594 else
 1595   echo "$as_me:$LINENO: result: no" >&5
 1596 echo "${ECHO_T}no" >&6
 1597 fi
 1598 
 1599   test -n "$ac_ct_CC" && break
 1600 done
 1601 
 1602   CC=$ac_ct_CC
 1603 fi
 1604 
 1605 fi
 1606 
 1607 
 1608 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 1609 See \`config.log' for more details." >&5
 1610 echo "$as_me: error: no acceptable C compiler found in \$PATH
 1611 See \`config.log' for more details." >&2;}
 1612    { (exit 1); exit 1; }; }
 1613 
 1614 # Provide some information about the compiler.
 1615 echo "$as_me:$LINENO:" \
 1616      "checking for C compiler version" >&5
 1617 ac_compiler=`set X $ac_compile; echo $2`
 1618 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 1619   (eval $ac_compiler --version </dev/null >&5) 2>&5
 1620   ac_status=$?
 1621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1622   (exit $ac_status); }
 1623 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 1624   (eval $ac_compiler -v </dev/null >&5) 2>&5
 1625   ac_status=$?
 1626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1627   (exit $ac_status); }
 1628 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 1629   (eval $ac_compiler -V </dev/null >&5) 2>&5
 1630   ac_status=$?
 1631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1632   (exit $ac_status); }
 1633 
 1634 cat >conftest.$ac_ext <<_ACEOF
 1635 /* confdefs.h.  */
 1636 _ACEOF
 1637 cat confdefs.h >>conftest.$ac_ext
 1638 cat >>conftest.$ac_ext <<_ACEOF
 1639 /* end confdefs.h.  */
 1640 
 1641 int
 1642 main ()
 1643 {
 1644 
 1645   ;
 1646   return 0;
 1647 }
 1648 _ACEOF
 1649 ac_clean_files_save=$ac_clean_files
 1650 ac_clean_files="$ac_clean_files a.out a.exe b.out"
 1651 # Try to create an executable without -o first, disregard a.out.
 1652 # It will help us diagnose broken compilers, and finding out an intuition
 1653 # of exeext.
 1654 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 1655 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 1656 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 1657 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 1658   (eval $ac_link_default) 2>&5
 1659   ac_status=$?
 1660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1661   (exit $ac_status); }; then
 1662   # Find the output, starting from the most likely.  This scheme is
 1663 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
 1664 # resort.
 1665 
 1666 # Be careful to initialize this variable, since it used to be cached.
 1667 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 1668 ac_cv_exeext=
 1669 # b.out is created by i960 compilers.
 1670 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 1671 do
 1672   test -f "$ac_file" || continue
 1673   case $ac_file in
 1674     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 1675     ;;
 1676     conftest.$ac_ext )
 1677     # This is the source file.
 1678     ;;
 1679     [ab].out )
 1680     # We found the default executable, but exeext='' is most
 1681     # certainly right.
 1682     break;;
 1683     *.* )
 1684     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 1685     # FIXME: I believe we export ac_cv_exeext for Libtool,
 1686     # but it would be cool to find out if it's true.  Does anybody
 1687     # maintain Libtool? --akim.
 1688     export ac_cv_exeext
 1689     break;;
 1690     * )
 1691     break;;
 1692   esac
 1693 done
 1694 else
 1695   echo "$as_me: failed program was:" >&5
 1696 sed 's/^/| /' conftest.$ac_ext >&5
 1697 
 1698 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
 1699 See \`config.log' for more details." >&5
 1700 echo "$as_me: error: C compiler cannot create executables
 1701 See \`config.log' for more details." >&2;}
 1702    { (exit 77); exit 77; }; }
 1703 fi
 1704 
 1705 ac_exeext=$ac_cv_exeext
 1706 echo "$as_me:$LINENO: result: $ac_file" >&5
 1707 echo "${ECHO_T}$ac_file" >&6
 1708 
 1709 # Check the compiler produces executables we can run.  If not, either
 1710 # the compiler is broken, or we cross compile.
 1711 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 1712 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 1713 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 1714 # If not cross compiling, check that we can run a simple program.
 1715 if test "$cross_compiling" != yes; then
 1716   if { ac_try='./$ac_file'
 1717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1718   (eval $ac_try) 2>&5
 1719   ac_status=$?
 1720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1721   (exit $ac_status); }; }; then
 1722     cross_compiling=no
 1723   else
 1724     if test "$cross_compiling" = maybe; then
 1725     cross_compiling=yes
 1726     else
 1727     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 1728 If you meant to cross compile, use \`--host'.
 1729 See \`config.log' for more details." >&5
 1730 echo "$as_me: error: cannot run C compiled programs.
 1731 If you meant to cross compile, use \`--host'.
 1732 See \`config.log' for more details." >&2;}
 1733    { (exit 1); exit 1; }; }
 1734     fi
 1735   fi
 1736 fi
 1737 echo "$as_me:$LINENO: result: yes" >&5
 1738 echo "${ECHO_T}yes" >&6
 1739 
 1740 rm -f a.out a.exe conftest$ac_cv_exeext b.out
 1741 ac_clean_files=$ac_clean_files_save
 1742 # Check the compiler produces executables we can run.  If not, either
 1743 # the compiler is broken, or we cross compile.
 1744 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 1745 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 1746 echo "$as_me:$LINENO: result: $cross_compiling" >&5
 1747 echo "${ECHO_T}$cross_compiling" >&6
 1748 
 1749 echo "$as_me:$LINENO: checking for suffix of executables" >&5
 1750 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 1751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 1752   (eval $ac_link) 2>&5
 1753   ac_status=$?
 1754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1755   (exit $ac_status); }; then
 1756   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 1757 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 1758 # work properly (i.e., refer to `conftest.exe'), while it won't with
 1759 # `rm'.
 1760 for ac_file in conftest.exe conftest conftest.*; do
 1761   test -f "$ac_file" || continue
 1762   case $ac_file in
 1763     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 1764     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 1765       export ac_cv_exeext
 1766       break;;
 1767     * ) break;;
 1768   esac
 1769 done
 1770 else
 1771   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 1772 See \`config.log' for more details." >&5
 1773 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 1774 See \`config.log' for more details." >&2;}
 1775    { (exit 1); exit 1; }; }
 1776 fi
 1777 
 1778 rm -f conftest$ac_cv_exeext
 1779 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 1780 echo "${ECHO_T}$ac_cv_exeext" >&6
 1781 
 1782 rm -f conftest.$ac_ext
 1783 EXEEXT=$ac_cv_exeext
 1784 ac_exeext=$EXEEXT
 1785 echo "$as_me:$LINENO: checking for suffix of object files" >&5
 1786 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 1787 if test "${ac_cv_objext+set}" = set; then
 1788   echo $ECHO_N "(cached) $ECHO_C" >&6
 1789 else
 1790   cat >conftest.$ac_ext <<_ACEOF
 1791 /* confdefs.h.  */
 1792 _ACEOF
 1793 cat confdefs.h >>conftest.$ac_ext
 1794 cat >>conftest.$ac_ext <<_ACEOF
 1795 /* end confdefs.h.  */
 1796 
 1797 int
 1798 main ()
 1799 {
 1800 
 1801   ;
 1802   return 0;
 1803 }
 1804 _ACEOF
 1805 rm -f conftest.o conftest.obj
 1806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 1807   (eval $ac_compile) 2>&5
 1808   ac_status=$?
 1809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1810   (exit $ac_status); }; then
 1811   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 1812   case $ac_file in
 1813     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 1814     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 1815        break;;
 1816   esac
 1817 done
 1818 else
 1819   echo "$as_me: failed program was:" >&5
 1820 sed 's/^/| /' conftest.$ac_ext >&5
 1821 
 1822 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 1823 See \`config.log' for more details." >&5
 1824 echo "$as_me: error: cannot compute suffix of object files: cannot compile
 1825 See \`config.log' for more details." >&2;}
 1826    { (exit 1); exit 1; }; }
 1827 fi
 1828 
 1829 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 1830 fi
 1831 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 1832 echo "${ECHO_T}$ac_cv_objext" >&6
 1833 OBJEXT=$ac_cv_objext
 1834 ac_objext=$OBJEXT
 1835 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 1836 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 1837 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 1838   echo $ECHO_N "(cached) $ECHO_C" >&6
 1839 else
 1840   cat >conftest.$ac_ext <<_ACEOF
 1841 /* confdefs.h.  */
 1842 _ACEOF
 1843 cat confdefs.h >>conftest.$ac_ext
 1844 cat >>conftest.$ac_ext <<_ACEOF
 1845 /* end confdefs.h.  */
 1846 
 1847 int
 1848 main ()
 1849 {
 1850 #ifndef __GNUC__
 1851        choke me
 1852 #endif
 1853 
 1854   ;
 1855   return 0;
 1856 }
 1857 _ACEOF
 1858 rm -f conftest.$ac_objext
 1859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 1860   (eval $ac_compile) 2>conftest.er1
 1861   ac_status=$?
 1862   grep -v '^ *+' conftest.er1 >conftest.err
 1863   rm -f conftest.er1
 1864   cat conftest.err >&5
 1865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1866   (exit $ac_status); } &&
 1867      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 1868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1869   (eval $ac_try) 2>&5
 1870   ac_status=$?
 1871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1872   (exit $ac_status); }; } &&
 1873      { ac_try='test -s conftest.$ac_objext'
 1874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1875   (eval $ac_try) 2>&5
 1876   ac_status=$?
 1877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1878   (exit $ac_status); }; }; then
 1879   ac_compiler_gnu=yes
 1880 else
 1881   echo "$as_me: failed program was:" >&5
 1882 sed 's/^/| /' conftest.$ac_ext >&5
 1883 
 1884 ac_compiler_gnu=no
 1885 fi
 1886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 1887 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 1888 
 1889 fi
 1890 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 1891 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 1892 GCC=`test $ac_compiler_gnu = yes && echo yes`
 1893 ac_test_CFLAGS=${CFLAGS+set}
 1894 ac_save_CFLAGS=$CFLAGS
 1895 CFLAGS="-g"
 1896 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 1897 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 1898 if test "${ac_cv_prog_cc_g+set}" = set; then
 1899   echo $ECHO_N "(cached) $ECHO_C" >&6
 1900 else
 1901   cat >conftest.$ac_ext <<_ACEOF
 1902 /* confdefs.h.  */
 1903 _ACEOF
 1904 cat confdefs.h >>conftest.$ac_ext
 1905 cat >>conftest.$ac_ext <<_ACEOF
 1906 /* end confdefs.h.  */
 1907 
 1908 int
 1909 main ()
 1910 {
 1911 
 1912   ;
 1913   return 0;
 1914 }
 1915 _ACEOF
 1916 rm -f conftest.$ac_objext
 1917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 1918   (eval $ac_compile) 2>conftest.er1
 1919   ac_status=$?
 1920   grep -v '^ *+' conftest.er1 >conftest.err
 1921   rm -f conftest.er1
 1922   cat conftest.err >&5
 1923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1924   (exit $ac_status); } &&
 1925      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 1926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1927   (eval $ac_try) 2>&5
 1928   ac_status=$?
 1929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1930   (exit $ac_status); }; } &&
 1931      { ac_try='test -s conftest.$ac_objext'
 1932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1933   (eval $ac_try) 2>&5
 1934   ac_status=$?
 1935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1936   (exit $ac_status); }; }; then
 1937   ac_cv_prog_cc_g=yes
 1938 else
 1939   echo "$as_me: failed program was:" >&5
 1940 sed 's/^/| /' conftest.$ac_ext >&5
 1941 
 1942 ac_cv_prog_cc_g=no
 1943 fi
 1944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 1945 fi
 1946 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 1947 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 1948 if test "$ac_test_CFLAGS" = set; then
 1949   CFLAGS=$ac_save_CFLAGS
 1950 elif test $ac_cv_prog_cc_g = yes; then
 1951   if test "$GCC" = yes; then
 1952     CFLAGS="-g -O2"
 1953   else
 1954     CFLAGS="-g"
 1955   fi
 1956 else
 1957   if test "$GCC" = yes; then
 1958     CFLAGS="-O2"
 1959   else
 1960     CFLAGS=
 1961   fi
 1962 fi
 1963 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 1964 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 1965 if test "${ac_cv_prog_cc_stdc+set}" = set; then
 1966   echo $ECHO_N "(cached) $ECHO_C" >&6
 1967 else
 1968   ac_cv_prog_cc_stdc=no
 1969 ac_save_CC=$CC
 1970 cat >conftest.$ac_ext <<_ACEOF
 1971 /* confdefs.h.  */
 1972 _ACEOF
 1973 cat confdefs.h >>conftest.$ac_ext
 1974 cat >>conftest.$ac_ext <<_ACEOF
 1975 /* end confdefs.h.  */
 1976 #include <stdarg.h>
 1977 #include <stdio.h>
 1978 #include <sys/types.h>
 1979 #include <sys/stat.h>
 1980 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 1981 struct buf { int x; };
 1982 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 1983 static char *e (p, i)
 1984      char **p;
 1985      int i;
 1986 {
 1987   return p[i];
 1988 }
 1989 static char *f (char * (*g) (char **, int), char **p, ...)
 1990 {
 1991   char *s;
 1992   va_list v;
 1993   va_start (v,p);
 1994   s = g (p, va_arg (v,int));
 1995   va_end (v);
 1996   return s;
 1997 }
 1998 
 1999 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 2000    function prototypes and stuff, but not '\xHH' hex character constants.
 2001    These don't provoke an error unfortunately, instead are silently treated
 2002    as 'x'.  The following induces an error, until -std1 is added to get
 2003    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 2004    array size at least.  It's necessary to write '\x00'==0 to get something
 2005    that's true only with -std1.  */
 2006 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 2007 
 2008 int test (int i, double x);
 2009 struct s1 {int (*f) (int a);};
 2010 struct s2 {int (*f) (double a);};
 2011 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 2012 int argc;
 2013 char **argv;
 2014 int
 2015 main ()
 2016 {
 2017 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 2018   ;
 2019   return 0;
 2020 }
 2021 _ACEOF
 2022 # Don't try gcc -ansi; that turns off useful extensions and
 2023 # breaks some systems' header files.
 2024 # AIX           -qlanglvl=ansi
 2025 # Ultrix and OSF/1  -std1
 2026 # HP-UX 10.20 and later -Ae
 2027 # HP-UX older versions  -Aa -D_HPUX_SOURCE
 2028 # SVR4          -Xc -D__EXTENSIONS__
 2029 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 2030 do
 2031   CC="$ac_save_CC $ac_arg"
 2032   rm -f conftest.$ac_objext
 2033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2034   (eval $ac_compile) 2>conftest.er1
 2035   ac_status=$?
 2036   grep -v '^ *+' conftest.er1 >conftest.err
 2037   rm -f conftest.er1
 2038   cat conftest.err >&5
 2039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2040   (exit $ac_status); } &&
 2041      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2043   (eval $ac_try) 2>&5
 2044   ac_status=$?
 2045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2046   (exit $ac_status); }; } &&
 2047      { ac_try='test -s conftest.$ac_objext'
 2048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2049   (eval $ac_try) 2>&5
 2050   ac_status=$?
 2051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2052   (exit $ac_status); }; }; then
 2053   ac_cv_prog_cc_stdc=$ac_arg
 2054 break
 2055 else
 2056   echo "$as_me: failed program was:" >&5
 2057 sed 's/^/| /' conftest.$ac_ext >&5
 2058 
 2059 fi
 2060 rm -f conftest.err conftest.$ac_objext
 2061 done
 2062 rm -f conftest.$ac_ext conftest.$ac_objext
 2063 CC=$ac_save_CC
 2064 
 2065 fi
 2066 
 2067 case "x$ac_cv_prog_cc_stdc" in
 2068   x|xno)
 2069     echo "$as_me:$LINENO: result: none needed" >&5
 2070 echo "${ECHO_T}none needed" >&6 ;;
 2071   *)
 2072     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 2073 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 2074     CC="$CC $ac_cv_prog_cc_stdc" ;;
 2075 esac
 2076 
 2077 # Some people use a C++ compiler to compile C.  Since we use `exit',
 2078 # in C++ we need to declare it.  In case someone uses the same compiler
 2079 # for both compiling C and C++ we need to have the C++ compiler decide
 2080 # the declaration of exit, since it's the most demanding environment.
 2081 cat >conftest.$ac_ext <<_ACEOF
 2082 #ifndef __cplusplus
 2083   choke me
 2084 #endif
 2085 _ACEOF
 2086 rm -f conftest.$ac_objext
 2087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2088   (eval $ac_compile) 2>conftest.er1
 2089   ac_status=$?
 2090   grep -v '^ *+' conftest.er1 >conftest.err
 2091   rm -f conftest.er1
 2092   cat conftest.err >&5
 2093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2094   (exit $ac_status); } &&
 2095      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2097   (eval $ac_try) 2>&5
 2098   ac_status=$?
 2099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2100   (exit $ac_status); }; } &&
 2101      { ac_try='test -s conftest.$ac_objext'
 2102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2103   (eval $ac_try) 2>&5
 2104   ac_status=$?
 2105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2106   (exit $ac_status); }; }; then
 2107   for ac_declaration in \
 2108    '' \
 2109    'extern "C" void std::exit (int) throw (); using std::exit;' \
 2110    'extern "C" void std::exit (int); using std::exit;' \
 2111    'extern "C" void exit (int) throw ();' \
 2112    'extern "C" void exit (int);' \
 2113    'void exit (int);'
 2114 do
 2115   cat >conftest.$ac_ext <<_ACEOF
 2116 /* confdefs.h.  */
 2117 _ACEOF
 2118 cat confdefs.h >>conftest.$ac_ext
 2119 cat >>conftest.$ac_ext <<_ACEOF
 2120 /* end confdefs.h.  */
 2121 $ac_declaration
 2122 #include <stdlib.h>
 2123 int
 2124 main ()
 2125 {
 2126 exit (42);
 2127   ;
 2128   return 0;
 2129 }
 2130 _ACEOF
 2131 rm -f conftest.$ac_objext
 2132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2133   (eval $ac_compile) 2>conftest.er1
 2134   ac_status=$?
 2135   grep -v '^ *+' conftest.er1 >conftest.err
 2136   rm -f conftest.er1
 2137   cat conftest.err >&5
 2138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2139   (exit $ac_status); } &&
 2140      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2142   (eval $ac_try) 2>&5
 2143   ac_status=$?
 2144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2145   (exit $ac_status); }; } &&
 2146      { ac_try='test -s conftest.$ac_objext'
 2147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2148   (eval $ac_try) 2>&5
 2149   ac_status=$?
 2150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2151   (exit $ac_status); }; }; then
 2152   :
 2153 else
 2154   echo "$as_me: failed program was:" >&5
 2155 sed 's/^/| /' conftest.$ac_ext >&5
 2156 
 2157 continue
 2158 fi
 2159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2160   cat >conftest.$ac_ext <<_ACEOF
 2161 /* confdefs.h.  */
 2162 _ACEOF
 2163 cat confdefs.h >>conftest.$ac_ext
 2164 cat >>conftest.$ac_ext <<_ACEOF
 2165 /* end confdefs.h.  */
 2166 $ac_declaration
 2167 int
 2168 main ()
 2169 {
 2170 exit (42);
 2171   ;
 2172   return 0;
 2173 }
 2174 _ACEOF
 2175 rm -f conftest.$ac_objext
 2176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2177   (eval $ac_compile) 2>conftest.er1
 2178   ac_status=$?
 2179   grep -v '^ *+' conftest.er1 >conftest.err
 2180   rm -f conftest.er1
 2181   cat conftest.err >&5
 2182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2183   (exit $ac_status); } &&
 2184      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2186   (eval $ac_try) 2>&5
 2187   ac_status=$?
 2188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2189   (exit $ac_status); }; } &&
 2190      { ac_try='test -s conftest.$ac_objext'
 2191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2192   (eval $ac_try) 2>&5
 2193   ac_status=$?
 2194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2195   (exit $ac_status); }; }; then
 2196   break
 2197 else
 2198   echo "$as_me: failed program was:" >&5
 2199 sed 's/^/| /' conftest.$ac_ext >&5
 2200 
 2201 fi
 2202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2203 done
 2204 rm -f conftest*
 2205 if test -n "$ac_declaration"; then
 2206   echo '#ifdef __cplusplus' >>confdefs.h
 2207   echo $ac_declaration      >>confdefs.h
 2208   echo '#endif'             >>confdefs.h
 2209 fi
 2210 
 2211 else
 2212   echo "$as_me: failed program was:" >&5
 2213 sed 's/^/| /' conftest.$ac_ext >&5
 2214 
 2215 fi
 2216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2217 ac_ext=c
 2218 ac_cpp='$CPP $CPPFLAGS'
 2219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2222 
 2223 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2224 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 2225 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 2226 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 2227   echo $ECHO_N "(cached) $ECHO_C" >&6
 2228 else
 2229   cat >conftest.make <<\_ACEOF
 2230 all:
 2231     @echo 'ac_maketemp="$(MAKE)"'
 2232 _ACEOF
 2233 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 2234 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 2235 if test -n "$ac_maketemp"; then
 2236   eval ac_cv_prog_make_${ac_make}_set=yes
 2237 else
 2238   eval ac_cv_prog_make_${ac_make}_set=no
 2239 fi
 2240 rm -f conftest.make
 2241 fi
 2242 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 2243   echo "$as_me:$LINENO: result: yes" >&5
 2244 echo "${ECHO_T}yes" >&6
 2245   SET_MAKE=
 2246 else
 2247   echo "$as_me:$LINENO: result: no" >&5
 2248 echo "${ECHO_T}no" >&6
 2249   SET_MAKE="MAKE=${MAKE-make}"
 2250 fi
 2251 
 2252 ac_aux_dir=
 2253 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 2254   if test -f $ac_dir/install-sh; then
 2255     ac_aux_dir=$ac_dir
 2256     ac_install_sh="$ac_aux_dir/install-sh -c"
 2257     break
 2258   elif test -f $ac_dir/install.sh; then
 2259     ac_aux_dir=$ac_dir
 2260     ac_install_sh="$ac_aux_dir/install.sh -c"
 2261     break
 2262   elif test -f $ac_dir/shtool; then
 2263     ac_aux_dir=$ac_dir
 2264     ac_install_sh="$ac_aux_dir/shtool install -c"
 2265     break
 2266   fi
 2267 done
 2268 if test -z "$ac_aux_dir"; then
 2269   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 2270 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 2271    { (exit 1); exit 1; }; }
 2272 fi
 2273 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 2274 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 2275 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 2276 
 2277 # Find a good install program.  We prefer a C program (faster),
 2278 # so one script is as good as another.  But avoid the broken or
 2279 # incompatible versions:
 2280 # SysV /etc/install, /usr/sbin/install
 2281 # SunOS /usr/etc/install
 2282 # IRIX /sbin/install
 2283 # AIX /bin/install
 2284 # AmigaOS /C/install, which installs bootblocks on floppy discs
 2285 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2286 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2287 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2288 # OS/2's system install, which has a completely different semantic
 2289 # ./install, which can be erroneously created by make from ./install.sh.
 2290 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 2291 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 2292 if test -z "$INSTALL"; then
 2293 if test "${ac_cv_path_install+set}" = set; then
 2294   echo $ECHO_N "(cached) $ECHO_C" >&6
 2295 else
 2296   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2297 for as_dir in $PATH
 2298 do
 2299   IFS=$as_save_IFS
 2300   test -z "$as_dir" && as_dir=.
 2301   # Account for people who put trailing slashes in PATH elements.
 2302 case $as_dir/ in
 2303   ./ | .// | /cC/* | \
 2304   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2305   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 2306   /usr/ucb/* ) ;;
 2307   *)
 2308     # OSF1 and SCO ODT 3.0 have their own names for install.
 2309     # Don't use installbsd from OSF since it installs stuff as root
 2310     # by default.
 2311     for ac_prog in ginstall scoinst install; do
 2312       for ac_exec_ext in '' $ac_executable_extensions; do
 2313     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 2314       if test $ac_prog = install &&
 2315         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2316         # AIX install.  It has an incompatible calling convention.
 2317         :
 2318       elif test $ac_prog = install &&
 2319         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2320         # program-specific install script used by HP pwplus--don't use.
 2321         :
 2322       else
 2323         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2324         break 3
 2325       fi
 2326     fi
 2327       done
 2328     done
 2329     ;;
 2330 esac
 2331 done
 2332 
 2333 
 2334 fi
 2335   if test "${ac_cv_path_install+set}" = set; then
 2336     INSTALL=$ac_cv_path_install
 2337   else
 2338     # As a last resort, use the slow shell script.  We don't cache a
 2339     # path for INSTALL within a source directory, because that will
 2340     # break other packages using the cache if that directory is
 2341     # removed, or if the path is relative.
 2342     INSTALL=$ac_install_sh
 2343   fi
 2344 fi
 2345 echo "$as_me:$LINENO: result: $INSTALL" >&5
 2346 echo "${ECHO_T}$INSTALL" >&6
 2347 
 2348 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2349 # It thinks the first close brace ends the variable substitution.
 2350 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2351 
 2352 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2353 
 2354 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2355 
 2356 if test -n "$ac_tool_prefix"; then
 2357   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 2358 set dummy ${ac_tool_prefix}ar; ac_word=$2
 2359 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2361 if test "${ac_cv_prog_AR+set}" = set; then
 2362   echo $ECHO_N "(cached) $ECHO_C" >&6
 2363 else
 2364   if test -n "$AR"; then
 2365   ac_cv_prog_AR="$AR" # Let the user override the test.
 2366 else
 2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2368 for as_dir in $PATH
 2369 do
 2370   IFS=$as_save_IFS
 2371   test -z "$as_dir" && as_dir=.
 2372   for ac_exec_ext in '' $ac_executable_extensions; do
 2373   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2374     ac_cv_prog_AR="${ac_tool_prefix}ar"
 2375     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2376     break 2
 2377   fi
 2378 done
 2379 done
 2380 
 2381 fi
 2382 fi
 2383 AR=$ac_cv_prog_AR
 2384 if test -n "$AR"; then
 2385   echo "$as_me:$LINENO: result: $AR" >&5
 2386 echo "${ECHO_T}$AR" >&6
 2387 else
 2388   echo "$as_me:$LINENO: result: no" >&5
 2389 echo "${ECHO_T}no" >&6
 2390 fi
 2391 
 2392 fi
 2393 if test -z "$ac_cv_prog_AR"; then
 2394   ac_ct_AR=$AR
 2395   # Extract the first word of "ar", so it can be a program name with args.
 2396 set dummy ar; ac_word=$2
 2397 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2399 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 2400   echo $ECHO_N "(cached) $ECHO_C" >&6
 2401 else
 2402   if test -n "$ac_ct_AR"; then
 2403   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 2404 else
 2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2406 for as_dir in $PATH
 2407 do
 2408   IFS=$as_save_IFS
 2409   test -z "$as_dir" && as_dir=.
 2410   for ac_exec_ext in '' $ac_executable_extensions; do
 2411   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2412     ac_cv_prog_ac_ct_AR="ar"
 2413     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2414     break 2
 2415   fi
 2416 done
 2417 done
 2418 
 2419   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="#"
 2420 fi
 2421 fi
 2422 ac_ct_AR=$ac_cv_prog_ac_ct_AR
 2423 if test -n "$ac_ct_AR"; then
 2424   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 2425 echo "${ECHO_T}$ac_ct_AR" >&6
 2426 else
 2427   echo "$as_me:$LINENO: result: no" >&5
 2428 echo "${ECHO_T}no" >&6
 2429 fi
 2430 
 2431   AR=$ac_ct_AR
 2432 else
 2433   AR="$ac_cv_prog_AR"
 2434 fi
 2435 
 2436 if test -n "$ac_tool_prefix"; then
 2437   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 2438 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 2439 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2441 if test "${ac_cv_prog_RANLIB+set}" = set; then
 2442   echo $ECHO_N "(cached) $ECHO_C" >&6
 2443 else
 2444   if test -n "$RANLIB"; then
 2445   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 2446 else
 2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2448 for as_dir in $PATH
 2449 do
 2450   IFS=$as_save_IFS
 2451   test -z "$as_dir" && as_dir=.
 2452   for ac_exec_ext in '' $ac_executable_extensions; do
 2453   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2454     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 2455     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2456     break 2
 2457   fi
 2458 done
 2459 done
 2460 
 2461 fi
 2462 fi
 2463 RANLIB=$ac_cv_prog_RANLIB
 2464 if test -n "$RANLIB"; then
 2465   echo "$as_me:$LINENO: result: $RANLIB" >&5
 2466 echo "${ECHO_T}$RANLIB" >&6
 2467 else
 2468   echo "$as_me:$LINENO: result: no" >&5
 2469 echo "${ECHO_T}no" >&6
 2470 fi
 2471 
 2472 fi
 2473 if test -z "$ac_cv_prog_RANLIB"; then
 2474   ac_ct_RANLIB=$RANLIB
 2475   # Extract the first word of "ranlib", so it can be a program name with args.
 2476 set dummy ranlib; ac_word=$2
 2477 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2479 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 2480   echo $ECHO_N "(cached) $ECHO_C" >&6
 2481 else
 2482   if test -n "$ac_ct_RANLIB"; then
 2483   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 2484 else
 2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2486 for as_dir in $PATH
 2487 do
 2488   IFS=$as_save_IFS
 2489   test -z "$as_dir" && as_dir=.
 2490   for ac_exec_ext in '' $ac_executable_extensions; do
 2491   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2492     ac_cv_prog_ac_ct_RANLIB="ranlib"
 2493     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2494     break 2
 2495   fi
 2496 done
 2497 done
 2498 
 2499   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="#"
 2500 fi
 2501 fi
 2502 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 2503 if test -n "$ac_ct_RANLIB"; then
 2504   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 2505 echo "${ECHO_T}$ac_ct_RANLIB" >&6
 2506 else
 2507   echo "$as_me:$LINENO: result: no" >&5
 2508 echo "${ECHO_T}no" >&6
 2509 fi
 2510 
 2511   RANLIB=$ac_ct_RANLIB
 2512 else
 2513   RANLIB="$ac_cv_prog_RANLIB"
 2514 fi
 2515 
 2516 
 2517 
 2518 
 2519 
 2520   if test -n "$GCC"; then
 2521     CFLAGS="$CFLAGS -Wall"
 2522     DEPEND="Makefile.dep"
 2523   fi
 2524 
 2525 
 2526 
 2527 
 2528 
 2529     echo "$as_me:$LINENO: checking for dlopen" >&5
 2530 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 2531 if test "${ac_cv_func_dlopen+set}" = set; then
 2532   echo $ECHO_N "(cached) $ECHO_C" >&6
 2533 else
 2534   cat >conftest.$ac_ext <<_ACEOF
 2535 /* confdefs.h.  */
 2536 _ACEOF
 2537 cat confdefs.h >>conftest.$ac_ext
 2538 cat >>conftest.$ac_ext <<_ACEOF
 2539 /* end confdefs.h.  */
 2540 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 2541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 2542 #define dlopen innocuous_dlopen
 2543 
 2544 /* System header to define __stub macros and hopefully few prototypes,
 2545     which can conflict with char dlopen (); below.
 2546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 2547     <limits.h> exists even on freestanding compilers.  */
 2548 
 2549 #ifdef __STDC__
 2550 # include <limits.h>
 2551 #else
 2552 # include <assert.h>
 2553 #endif
 2554 
 2555 #undef dlopen
 2556 
 2557 /* Override any gcc2 internal prototype to avoid an error.  */
 2558 #ifdef __cplusplus
 2559 extern "C"
 2560 {
 2561 #endif
 2562 /* We use char because int might match the return type of a gcc2
 2563    builtin and then its argument prototype would still apply.  */
 2564 char dlopen ();
 2565 /* The GNU C library defines this for functions which it implements
 2566     to always fail with ENOSYS.  Some functions are actually named
 2567     something starting with __ and the normal name is an alias.  */
 2568 #if defined (__stub_dlopen) || defined (__stub___dlopen)
 2569 choke me
 2570 #else
 2571 char (*f) () = dlopen;
 2572 #endif
 2573 #ifdef __cplusplus
 2574 }
 2575 #endif
 2576 
 2577 int
 2578 main ()
 2579 {
 2580 return f != dlopen;
 2581   ;
 2582   return 0;
 2583 }
 2584 _ACEOF
 2585 rm -f conftest.$ac_objext conftest$ac_exeext
 2586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2587   (eval $ac_link) 2>conftest.er1
 2588   ac_status=$?
 2589   grep -v '^ *+' conftest.er1 >conftest.err
 2590   rm -f conftest.er1
 2591   cat conftest.err >&5
 2592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2593   (exit $ac_status); } &&
 2594      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2596   (eval $ac_try) 2>&5
 2597   ac_status=$?
 2598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2599   (exit $ac_status); }; } &&
 2600      { ac_try='test -s conftest$ac_exeext'
 2601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2602   (eval $ac_try) 2>&5
 2603   ac_status=$?
 2604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2605   (exit $ac_status); }; }; then
 2606   ac_cv_func_dlopen=yes
 2607 else
 2608   echo "$as_me: failed program was:" >&5
 2609 sed 's/^/| /' conftest.$ac_ext >&5
 2610 
 2611 ac_cv_func_dlopen=no
 2612 fi
 2613 rm -f conftest.err conftest.$ac_objext \
 2614       conftest$ac_exeext conftest.$ac_ext
 2615 fi
 2616 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 2617 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 2618 if test $ac_cv_func_dlopen = yes; then
 2619 
 2620 
 2621 cat >>confdefs.h <<\_ACEOF
 2622 #define HAVE_DLOPEN 1
 2623 _ACEOF
 2624 
 2625         HAVEDLOPEN=yes
 2626 
 2627 fi
 2628 
 2629     if test "$ac_cv_func_dlopen" = "no"; then
 2630         echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 2631 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 2632 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 2633   echo $ECHO_N "(cached) $ECHO_C" >&6
 2634 else
 2635   ac_check_lib_save_LIBS=$LIBS
 2636 LIBS="-ldl  $LIBS"
 2637 cat >conftest.$ac_ext <<_ACEOF
 2638 /* confdefs.h.  */
 2639 _ACEOF
 2640 cat confdefs.h >>conftest.$ac_ext
 2641 cat >>conftest.$ac_ext <<_ACEOF
 2642 /* end confdefs.h.  */
 2643 
 2644 /* Override any gcc2 internal prototype to avoid an error.  */
 2645 #ifdef __cplusplus
 2646 extern "C"
 2647 #endif
 2648 /* We use char because int might match the return type of a gcc2
 2649    builtin and then its argument prototype would still apply.  */
 2650 char dlopen ();
 2651 int
 2652 main ()
 2653 {
 2654 dlopen ();
 2655   ;
 2656   return 0;
 2657 }
 2658 _ACEOF
 2659 rm -f conftest.$ac_objext conftest$ac_exeext
 2660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2661   (eval $ac_link) 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_c_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_exeext'
 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_cv_lib_dl_dlopen=yes
 2681 else
 2682   echo "$as_me: failed program was:" >&5
 2683 sed 's/^/| /' conftest.$ac_ext >&5
 2684 
 2685 ac_cv_lib_dl_dlopen=no
 2686 fi
 2687 rm -f conftest.err conftest.$ac_objext \
 2688       conftest$ac_exeext conftest.$ac_ext
 2689 LIBS=$ac_check_lib_save_LIBS
 2690 fi
 2691 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 2692 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 2693 if test $ac_cv_lib_dl_dlopen = yes; then
 2694 
 2695 
 2696 cat >>confdefs.h <<\_ACEOF
 2697 #define HAVE_DLOPEN 1
 2698 _ACEOF
 2699 
 2700             ALLMODLIBS=-ldl
 2701 
 2702             HAVEDLOPEN=yes
 2703 
 2704 fi
 2705 
 2706     fi
 2707 
 2708 
 2709 
 2710 
 2711 
 2712   echo "$as_me:$LINENO: checking for main in -lz" >&5
 2713 echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6
 2714 if test "${ac_cv_lib_z_main+set}" = set; then
 2715   echo $ECHO_N "(cached) $ECHO_C" >&6
 2716 else
 2717   ac_check_lib_save_LIBS=$LIBS
 2718 LIBS="-lz  $LIBS"
 2719 cat >conftest.$ac_ext <<_ACEOF
 2720 /* confdefs.h.  */
 2721 _ACEOF
 2722 cat confdefs.h >>conftest.$ac_ext
 2723 cat >>conftest.$ac_ext <<_ACEOF
 2724 /* end confdefs.h.  */
 2725 
 2726 
 2727 int
 2728 main ()
 2729 {
 2730 main ();
 2731   ;
 2732   return 0;
 2733 }
 2734 _ACEOF
 2735 rm -f conftest.$ac_objext conftest$ac_exeext
 2736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2737   (eval $ac_link) 2>conftest.er1
 2738   ac_status=$?
 2739   grep -v '^ *+' conftest.er1 >conftest.err
 2740   rm -f conftest.er1
 2741   cat conftest.err >&5
 2742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2743   (exit $ac_status); } &&
 2744      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2746   (eval $ac_try) 2>&5
 2747   ac_status=$?
 2748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2749   (exit $ac_status); }; } &&
 2750      { ac_try='test -s conftest$ac_exeext'
 2751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2752   (eval $ac_try) 2>&5
 2753   ac_status=$?
 2754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2755   (exit $ac_status); }; }; then
 2756   ac_cv_lib_z_main=yes
 2757 else
 2758   echo "$as_me: failed program was:" >&5
 2759 sed 's/^/| /' conftest.$ac_ext >&5
 2760 
 2761 ac_cv_lib_z_main=no
 2762 fi
 2763 rm -f conftest.err conftest.$ac_objext \
 2764       conftest$ac_exeext conftest.$ac_ext
 2765 LIBS=$ac_check_lib_save_LIBS
 2766 fi
 2767 echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
 2768 echo "${ECHO_T}$ac_cv_lib_z_main" >&6
 2769 if test $ac_cv_lib_z_main = yes; then
 2770 
 2771     ALGO="comp_zlib.c comp_mzlib.c comp_mzlib2.c $ALGO"
 2772     MODLIBS="-lz $MODLIBS"
 2773 
 2774 cat >>confdefs.h <<\_ACEOF
 2775 #define HAVE_LIBZ
 2776 _ACEOF
 2777 
 2778 
 2779 fi
 2780 
 2781 
 2782 
 2783 
 2784 
 2785 
 2786   echo "$as_me:$LINENO: checking for main in -lbz2" >&5
 2787 echo $ECHO_N "checking for main in -lbz2... $ECHO_C" >&6
 2788 if test "${ac_cv_lib_bz2_main+set}" = set; then
 2789   echo $ECHO_N "(cached) $ECHO_C" >&6
 2790 else
 2791   ac_check_lib_save_LIBS=$LIBS
 2792 LIBS="-lbz2  $LIBS"
 2793 cat >conftest.$ac_ext <<_ACEOF
 2794 /* confdefs.h.  */
 2795 _ACEOF
 2796 cat confdefs.h >>conftest.$ac_ext
 2797 cat >>conftest.$ac_ext <<_ACEOF
 2798 /* end confdefs.h.  */
 2799 
 2800 
 2801 int
 2802 main ()
 2803 {
 2804 main ();
 2805   ;
 2806   return 0;
 2807 }
 2808 _ACEOF
 2809 rm -f conftest.$ac_objext conftest$ac_exeext
 2810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2811   (eval $ac_link) 2>conftest.er1
 2812   ac_status=$?
 2813   grep -v '^ *+' conftest.er1 >conftest.err
 2814   rm -f conftest.er1
 2815   cat conftest.err >&5
 2816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2817   (exit $ac_status); } &&
 2818      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2820   (eval $ac_try) 2>&5
 2821   ac_status=$?
 2822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2823   (exit $ac_status); }; } &&
 2824      { ac_try='test -s conftest$ac_exeext'
 2825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2826   (eval $ac_try) 2>&5
 2827   ac_status=$?
 2828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2829   (exit $ac_status); }; }; then
 2830   ac_cv_lib_bz2_main=yes
 2831 else
 2832   echo "$as_me: failed program was:" >&5
 2833 sed 's/^/| /' conftest.$ac_ext >&5
 2834 
 2835 ac_cv_lib_bz2_main=no
 2836 fi
 2837 rm -f conftest.err conftest.$ac_objext \
 2838       conftest$ac_exeext conftest.$ac_ext
 2839 LIBS=$ac_check_lib_save_LIBS
 2840 fi
 2841 echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_main" >&5
 2842 echo "${ECHO_T}$ac_cv_lib_bz2_main" >&6
 2843 if test $ac_cv_lib_bz2_main = yes; then
 2844 
 2845     ALGO="comp_bzlib.c $ALGO"
 2846     MODLIBS="-lbz2 $MODLIBS"
 2847 
 2848 cat >>confdefs.h <<\_ACEOF
 2849 #define HAVE_LIBBZ2
 2850 _ACEOF
 2851 
 2852 
 2853 fi
 2854 
 2855 
 2856 
 2857 
 2858 
 2859 
 2860   echo "$as_me:$LINENO: checking for main in -lmcrypt" >&5
 2861 echo $ECHO_N "checking for main in -lmcrypt... $ECHO_C" >&6
 2862 if test "${ac_cv_lib_mcrypt_main+set}" = set; then
 2863   echo $ECHO_N "(cached) $ECHO_C" >&6
 2864 else
 2865   ac_check_lib_save_LIBS=$LIBS
 2866 LIBS="-lmcrypt  $LIBS"
 2867 cat >conftest.$ac_ext <<_ACEOF
 2868 /* confdefs.h.  */
 2869 _ACEOF
 2870 cat confdefs.h >>conftest.$ac_ext
 2871 cat >>conftest.$ac_ext <<_ACEOF
 2872 /* end confdefs.h.  */
 2873 
 2874 
 2875 int
 2876 main ()
 2877 {
 2878 main ();
 2879   ;
 2880   return 0;
 2881 }
 2882 _ACEOF
 2883 rm -f conftest.$ac_objext conftest$ac_exeext
 2884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2885   (eval $ac_link) 2>conftest.er1
 2886   ac_status=$?
 2887   grep -v '^ *+' conftest.er1 >conftest.err
 2888   rm -f conftest.er1
 2889   cat conftest.err >&5
 2890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2891   (exit $ac_status); } &&
 2892      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2894   (eval $ac_try) 2>&5
 2895   ac_status=$?
 2896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2897   (exit $ac_status); }; } &&
 2898      { ac_try='test -s conftest$ac_exeext'
 2899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2900   (eval $ac_try) 2>&5
 2901   ac_status=$?
 2902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2903   (exit $ac_status); }; }; then
 2904   ac_cv_lib_mcrypt_main=yes
 2905 else
 2906   echo "$as_me: failed program was:" >&5
 2907 sed 's/^/| /' conftest.$ac_ext >&5
 2908 
 2909 ac_cv_lib_mcrypt_main=no
 2910 fi
 2911 rm -f conftest.err conftest.$ac_objext \
 2912       conftest$ac_exeext conftest.$ac_ext
 2913 LIBS=$ac_check_lib_save_LIBS
 2914 fi
 2915 echo "$as_me:$LINENO: result: $ac_cv_lib_mcrypt_main" >&5
 2916 echo "${ECHO_T}$ac_cv_lib_mcrypt_main" >&6
 2917 if test $ac_cv_lib_mcrypt_main = yes; then
 2918 
 2919     ALGO="cipher_serpent.c $ALGO"
 2920     MODLIBS="-lmcrypt $MODLIBS"
 2921 
 2922 cat >>confdefs.h <<\_ACEOF
 2923 #define HAVE_LIBMCRYPT
 2924 _ACEOF
 2925 
 2926 
 2927 fi
 2928 
 2929 
 2930 
 2931 
 2932 
 2933 
 2934   echo "$as_me:$LINENO: checking for main in -llzo" >&5
 2935 echo $ECHO_N "checking for main in -llzo... $ECHO_C" >&6
 2936 if test "${ac_cv_lib_lzo_main+set}" = set; then
 2937   echo $ECHO_N "(cached) $ECHO_C" >&6
 2938 else
 2939   ac_check_lib_save_LIBS=$LIBS
 2940 LIBS="-llzo  $LIBS"
 2941 cat >conftest.$ac_ext <<_ACEOF
 2942 /* confdefs.h.  */
 2943 _ACEOF
 2944 cat confdefs.h >>conftest.$ac_ext
 2945 cat >>conftest.$ac_ext <<_ACEOF
 2946 /* end confdefs.h.  */
 2947 
 2948 
 2949 int
 2950 main ()
 2951 {
 2952 main ();
 2953   ;
 2954   return 0;
 2955 }
 2956 _ACEOF
 2957 rm -f conftest.$ac_objext conftest$ac_exeext
 2958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2959   (eval $ac_link) 2>conftest.er1
 2960   ac_status=$?
 2961   grep -v '^ *+' conftest.er1 >conftest.err
 2962   rm -f conftest.er1
 2963   cat conftest.err >&5
 2964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2965   (exit $ac_status); } &&
 2966      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2968   (eval $ac_try) 2>&5
 2969   ac_status=$?
 2970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2971   (exit $ac_status); }; } &&
 2972      { ac_try='test -s conftest$ac_exeext'
 2973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2974   (eval $ac_try) 2>&5
 2975   ac_status=$?
 2976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2977   (exit $ac_status); }; }; then
 2978   ac_cv_lib_lzo_main=yes
 2979 else
 2980   echo "$as_me: failed program was:" >&5
 2981 sed 's/^/| /' conftest.$ac_ext >&5
 2982 
 2983 ac_cv_lib_lzo_main=no
 2984 fi
 2985 rm -f conftest.err conftest.$ac_objext \
 2986       conftest$ac_exeext conftest.$ac_ext
 2987 LIBS=$ac_check_lib_save_LIBS
 2988 fi
 2989 echo "$as_me:$LINENO: result: $ac_cv_lib_lzo_main" >&5
 2990 echo "${ECHO_T}$ac_cv_lib_lzo_main" >&6
 2991 if test $ac_cv_lib_lzo_main = yes; then
 2992 
 2993     ALGO="comp_lzoox.c comp_lzooy.c comp_lzota.c $ALGO"
 2994     MODLIBSCOND="-llzo $(eval echo $(echo \$MODLIBSCOND))"
 2995 
 2996 cat >>confdefs.h <<\_ACEOF
 2997 #define HAVE_LIBLZO
 2998 _ACEOF
 2999 
 3000 
 3001 fi
 3002 
 3003 
 3004 
 3005 
 3006   # Check whether --enable-chkvers or --disable-chkvers was given.
 3007 if test "${enable_chkvers+set}" = set; then
 3008   enableval="$enable_chkvers"
 3009 
 3010     case "$enableval" in
 3011       no)
 3012       ;;
 3013       *)
 3014 
 3015 cat >>confdefs.h <<\_ACEOF
 3016 #define CHECK_VERSION
 3017 _ACEOF
 3018 
 3019       ;;
 3020     esac
 3021 
 3022 else
 3023 
 3024 cat >>confdefs.h <<\_ACEOF
 3025 #define CHECK_VERSION
 3026 _ACEOF
 3027 
 3028 fi;
 3029 
 3030 
 3031   # Check whether --enable-network or --disable-network was given.
 3032 if test "${enable_network+set}" = set; then
 3033   enableval="$enable_network"
 3034 
 3035     case "$enableval" in
 3036       no)
 3037 
 3038 cat >>confdefs.h <<\_ACEOF
 3039 #define NO_NETWORK
 3040 _ACEOF
 3041 
 3042       ;;
 3043       *)
 3044 
 3045   echo "$as_me:$LINENO: checking for library containing socket" >&5
 3046 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
 3047 if test "${ac_cv_search_socket+set}" = set; then
 3048   echo $ECHO_N "(cached) $ECHO_C" >&6
 3049 else
 3050   ac_func_search_save_LIBS=$LIBS
 3051 ac_cv_search_socket=no
 3052 cat >conftest.$ac_ext <<_ACEOF
 3053 /* confdefs.h.  */
 3054 _ACEOF
 3055 cat confdefs.h >>conftest.$ac_ext
 3056 cat >>conftest.$ac_ext <<_ACEOF
 3057 /* end confdefs.h.  */
 3058 
 3059 /* Override any gcc2 internal prototype to avoid an error.  */
 3060 #ifdef __cplusplus
 3061 extern "C"
 3062 #endif
 3063 /* We use char because int might match the return type of a gcc2
 3064    builtin and then its argument prototype would still apply.  */
 3065 char socket ();
 3066 int
 3067 main ()
 3068 {
 3069 socket ();
 3070   ;
 3071   return 0;
 3072 }
 3073 _ACEOF
 3074 rm -f conftest.$ac_objext conftest$ac_exeext
 3075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3076   (eval $ac_link) 2>conftest.er1
 3077   ac_status=$?
 3078   grep -v '^ *+' conftest.er1 >conftest.err
 3079   rm -f conftest.er1
 3080   cat conftest.err >&5
 3081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3082   (exit $ac_status); } &&
 3083      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3085   (eval $ac_try) 2>&5
 3086   ac_status=$?
 3087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3088   (exit $ac_status); }; } &&
 3089      { ac_try='test -s conftest$ac_exeext'
 3090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3091   (eval $ac_try) 2>&5
 3092   ac_status=$?
 3093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3094   (exit $ac_status); }; }; then
 3095   ac_cv_search_socket="none required"
 3096 else
 3097   echo "$as_me: failed program was:" >&5
 3098 sed 's/^/| /' conftest.$ac_ext >&5
 3099 
 3100 fi
 3101 rm -f conftest.err conftest.$ac_objext \
 3102       conftest$ac_exeext conftest.$ac_ext
 3103 if test "$ac_cv_search_socket" = no; then
 3104   for ac_lib in socket nsl ws2_32 wsock32; do
 3105     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3106     cat >conftest.$ac_ext <<_ACEOF
 3107 /* confdefs.h.  */
 3108 _ACEOF
 3109 cat confdefs.h >>conftest.$ac_ext
 3110 cat >>conftest.$ac_ext <<_ACEOF
 3111 /* end confdefs.h.  */
 3112 
 3113 /* Override any gcc2 internal prototype to avoid an error.  */
 3114 #ifdef __cplusplus
 3115 extern "C"
 3116 #endif
 3117 /* We use char because int might match the return type of a gcc2
 3118    builtin and then its argument prototype would still apply.  */
 3119 char socket ();
 3120 int
 3121 main ()
 3122 {
 3123 socket ();
 3124   ;
 3125   return 0;
 3126 }
 3127 _ACEOF
 3128 rm -f conftest.$ac_objext conftest$ac_exeext
 3129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3130   (eval $ac_link) 2>conftest.er1
 3131   ac_status=$?
 3132   grep -v '^ *+' conftest.er1 >conftest.err
 3133   rm -f conftest.er1
 3134   cat conftest.err >&5
 3135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3136   (exit $ac_status); } &&
 3137      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3139   (eval $ac_try) 2>&5
 3140   ac_status=$?
 3141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3142   (exit $ac_status); }; } &&
 3143      { ac_try='test -s conftest$ac_exeext'
 3144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3145   (eval $ac_try) 2>&5
 3146   ac_status=$?
 3147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3148   (exit $ac_status); }; }; then
 3149   ac_cv_search_socket="-l$ac_lib"
 3150 break
 3151 else
 3152   echo "$as_me: failed program was:" >&5
 3153 sed 's/^/| /' conftest.$ac_ext >&5
 3154 
 3155 fi
 3156 rm -f conftest.err conftest.$ac_objext \
 3157       conftest$ac_exeext conftest.$ac_ext
 3158   done
 3159 fi
 3160 LIBS=$ac_func_search_save_LIBS
 3161 fi
 3162 echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
 3163 echo "${ECHO_T}$ac_cv_search_socket" >&6
 3164 if test "$ac_cv_search_socket" != no; then
 3165   test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
 3166 
 3167 cat >>confdefs.h <<\_ACEOF
 3168 #define HAVE_SOCKET
 3169 _ACEOF
 3170 
 3171 fi
 3172 
 3173   echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
 3174 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
 3175 if test "${ac_cv_search_gethostbyname+set}" = set; then
 3176   echo $ECHO_N "(cached) $ECHO_C" >&6
 3177 else
 3178   ac_func_search_save_LIBS=$LIBS
 3179 ac_cv_search_gethostbyname=no
 3180 cat >conftest.$ac_ext <<_ACEOF
 3181 /* confdefs.h.  */
 3182 _ACEOF
 3183 cat confdefs.h >>conftest.$ac_ext
 3184 cat >>conftest.$ac_ext <<_ACEOF
 3185 /* end confdefs.h.  */
 3186 
 3187 /* Override any gcc2 internal prototype to avoid an error.  */
 3188 #ifdef __cplusplus
 3189 extern "C"
 3190 #endif
 3191 /* We use char because int might match the return type of a gcc2
 3192    builtin and then its argument prototype would still apply.  */
 3193 char gethostbyname ();
 3194 int
 3195 main ()
 3196 {
 3197 gethostbyname ();
 3198   ;
 3199   return 0;
 3200 }
 3201 _ACEOF
 3202 rm -f conftest.$ac_objext conftest$ac_exeext
 3203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3204   (eval $ac_link) 2>conftest.er1
 3205   ac_status=$?
 3206   grep -v '^ *+' conftest.er1 >conftest.err
 3207   rm -f conftest.er1
 3208   cat conftest.err >&5
 3209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3210   (exit $ac_status); } &&
 3211      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3213   (eval $ac_try) 2>&5
 3214   ac_status=$?
 3215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3216   (exit $ac_status); }; } &&
 3217      { ac_try='test -s conftest$ac_exeext'
 3218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3219   (eval $ac_try) 2>&5
 3220   ac_status=$?
 3221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3222   (exit $ac_status); }; }; then
 3223   ac_cv_search_gethostbyname="none required"
 3224 else
 3225   echo "$as_me: failed program was:" >&5
 3226 sed 's/^/| /' conftest.$ac_ext >&5
 3227 
 3228 fi
 3229 rm -f conftest.err conftest.$ac_objext \
 3230       conftest$ac_exeext conftest.$ac_ext
 3231 if test "$ac_cv_search_gethostbyname" = no; then
 3232   for ac_lib in nsl ws2_32 wsock32; do
 3233     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3234     cat >conftest.$ac_ext <<_ACEOF
 3235 /* confdefs.h.  */
 3236 _ACEOF
 3237 cat confdefs.h >>conftest.$ac_ext
 3238 cat >>conftest.$ac_ext <<_ACEOF
 3239 /* end confdefs.h.  */
 3240 
 3241 /* Override any gcc2 internal prototype to avoid an error.  */
 3242 #ifdef __cplusplus
 3243 extern "C"
 3244 #endif
 3245 /* We use char because int might match the return type of a gcc2
 3246    builtin and then its argument prototype would still apply.  */
 3247 char gethostbyname ();
 3248 int
 3249 main ()
 3250 {
 3251 gethostbyname ();
 3252   ;
 3253   return 0;
 3254 }
 3255 _ACEOF
 3256 rm -f conftest.$ac_objext conftest$ac_exeext
 3257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3258   (eval $ac_link) 2>conftest.er1
 3259   ac_status=$?
 3260   grep -v '^ *+' conftest.er1 >conftest.err
 3261   rm -f conftest.er1
 3262   cat conftest.err >&5
 3263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3264   (exit $ac_status); } &&
 3265      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3267   (eval $ac_try) 2>&5
 3268   ac_status=$?
 3269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3270   (exit $ac_status); }; } &&
 3271      { ac_try='test -s conftest$ac_exeext'
 3272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3273   (eval $ac_try) 2>&5
 3274   ac_status=$?
 3275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3276   (exit $ac_status); }; }; then
 3277   ac_cv_search_gethostbyname="-l$ac_lib"
 3278 break
 3279 else
 3280   echo "$as_me: failed program was:" >&5
 3281 sed 's/^/| /' conftest.$ac_ext >&5
 3282 
 3283 fi
 3284 rm -f conftest.err conftest.$ac_objext \
 3285       conftest$ac_exeext conftest.$ac_ext
 3286   done
 3287 fi
 3288 LIBS=$ac_func_search_save_LIBS
 3289 fi
 3290 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
 3291 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
 3292 if test "$ac_cv_search_gethostbyname" != no; then
 3293   test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
 3294 
 3295 cat >>confdefs.h <<\_ACEOF
 3296 #define HAVE_GETHOSTBYNAME
 3297 _ACEOF
 3298 
 3299 fi
 3300 
 3301   echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
 3302 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6
 3303 if test "${ac_cv_search_inet_aton+set}" = set; then
 3304   echo $ECHO_N "(cached) $ECHO_C" >&6
 3305 else
 3306   ac_func_search_save_LIBS=$LIBS
 3307 ac_cv_search_inet_aton=no
 3308 cat >conftest.$ac_ext <<_ACEOF
 3309 /* confdefs.h.  */
 3310 _ACEOF
 3311 cat confdefs.h >>conftest.$ac_ext
 3312 cat >>conftest.$ac_ext <<_ACEOF
 3313 /* end confdefs.h.  */
 3314 
 3315 /* Override any gcc2 internal prototype to avoid an error.  */
 3316 #ifdef __cplusplus
 3317 extern "C"
 3318 #endif
 3319 /* We use char because int might match the return type of a gcc2
 3320    builtin and then its argument prototype would still apply.  */
 3321 char inet_aton ();
 3322 int
 3323 main ()
 3324 {
 3325 inet_aton ();
 3326   ;
 3327   return 0;
 3328 }
 3329 _ACEOF
 3330 rm -f conftest.$ac_objext conftest$ac_exeext
 3331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3332   (eval $ac_link) 2>conftest.er1
 3333   ac_status=$?
 3334   grep -v '^ *+' conftest.er1 >conftest.err
 3335   rm -f conftest.er1
 3336   cat conftest.err >&5
 3337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3338   (exit $ac_status); } &&
 3339      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3341   (eval $ac_try) 2>&5
 3342   ac_status=$?
 3343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3344   (exit $ac_status); }; } &&
 3345      { ac_try='test -s conftest$ac_exeext'
 3346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3347   (eval $ac_try) 2>&5
 3348   ac_status=$?
 3349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3350   (exit $ac_status); }; }; then
 3351   ac_cv_search_inet_aton="none required"
 3352 else
 3353   echo "$as_me: failed program was:" >&5
 3354 sed 's/^/| /' conftest.$ac_ext >&5
 3355 
 3356 fi
 3357 rm -f conftest.err conftest.$ac_objext \
 3358       conftest$ac_exeext conftest.$ac_ext
 3359 if test "$ac_cv_search_inet_aton" = no; then
 3360   for ac_lib in xnet ws2_32 wsock32; do
 3361     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3362     cat >conftest.$ac_ext <<_ACEOF
 3363 /* confdefs.h.  */
 3364 _ACEOF
 3365 cat confdefs.h >>conftest.$ac_ext
 3366 cat >>conftest.$ac_ext <<_ACEOF
 3367 /* end confdefs.h.  */
 3368 
 3369 /* Override any gcc2 internal prototype to avoid an error.  */
 3370 #ifdef __cplusplus
 3371 extern "C"
 3372 #endif
 3373 /* We use char because int might match the return type of a gcc2
 3374    builtin and then its argument prototype would still apply.  */
 3375 char inet_aton ();
 3376 int
 3377 main ()
 3378 {
 3379 inet_aton ();
 3380   ;
 3381   return 0;
 3382 }
 3383 _ACEOF
 3384 rm -f conftest.$ac_objext conftest$ac_exeext
 3385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3386   (eval $ac_link) 2>conftest.er1
 3387   ac_status=$?
 3388   grep -v '^ *+' conftest.er1 >conftest.err
 3389   rm -f conftest.er1
 3390   cat conftest.err >&5
 3391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3392   (exit $ac_status); } &&
 3393      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3395   (eval $ac_try) 2>&5
 3396   ac_status=$?
 3397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3398   (exit $ac_status); }; } &&
 3399      { ac_try='test -s conftest$ac_exeext'
 3400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3401   (eval $ac_try) 2>&5
 3402   ac_status=$?
 3403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3404   (exit $ac_status); }; }; then
 3405   ac_cv_search_inet_aton="-l$ac_lib"
 3406 break
 3407 else
 3408   echo "$as_me: failed program was:" >&5
 3409 sed 's/^/| /' conftest.$ac_ext >&5
 3410 
 3411 fi
 3412 rm -f conftest.err conftest.$ac_objext \
 3413       conftest$ac_exeext conftest.$ac_ext
 3414   done
 3415 fi
 3416 LIBS=$ac_func_search_save_LIBS
 3417 fi
 3418 echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
 3419 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6
 3420 if test "$ac_cv_search_inet_aton" != no; then
 3421   test "$ac_cv_search_inet_aton" = "none required" || LIBS="$ac_cv_search_inet_aton $LIBS"
 3422 
 3423 cat >>confdefs.h <<\_ACEOF
 3424 #define HAVE_INET_ATON
 3425 _ACEOF
 3426 
 3427 else
 3428   echo "$as_me:$LINENO: checking for library containing inet_addr" >&5
 3429 echo $ECHO_N "checking for library containing inet_addr... $ECHO_C" >&6
 3430 if test "${ac_cv_search_inet_addr+set}" = set; then
 3431   echo $ECHO_N "(cached) $ECHO_C" >&6
 3432 else
 3433   ac_func_search_save_LIBS=$LIBS
 3434 ac_cv_search_inet_addr=no
 3435 cat >conftest.$ac_ext <<_ACEOF
 3436 /* confdefs.h.  */
 3437 _ACEOF
 3438 cat confdefs.h >>conftest.$ac_ext
 3439 cat >>conftest.$ac_ext <<_ACEOF
 3440 /* end confdefs.h.  */
 3441 
 3442 /* Override any gcc2 internal prototype to avoid an error.  */
 3443 #ifdef __cplusplus
 3444 extern "C"
 3445 #endif
 3446 /* We use char because int might match the return type of a gcc2
 3447    builtin and then its argument prototype would still apply.  */
 3448 char inet_addr ();
 3449 int
 3450 main ()
 3451 {
 3452 inet_addr ();
 3453   ;
 3454   return 0;
 3455 }
 3456 _ACEOF
 3457 rm -f conftest.$ac_objext conftest$ac_exeext
 3458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3459   (eval $ac_link) 2>conftest.er1
 3460   ac_status=$?
 3461   grep -v '^ *+' conftest.er1 >conftest.err
 3462   rm -f conftest.er1
 3463   cat conftest.err >&5
 3464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3465   (exit $ac_status); } &&
 3466      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3468   (eval $ac_try) 2>&5
 3469   ac_status=$?
 3470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3471   (exit $ac_status); }; } &&
 3472      { ac_try='test -s conftest$ac_exeext'
 3473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3474   (eval $ac_try) 2>&5
 3475   ac_status=$?
 3476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3477   (exit $ac_status); }; }; then
 3478   ac_cv_search_inet_addr="none required"
 3479 else
 3480   echo "$as_me: failed program was:" >&5
 3481 sed 's/^/| /' conftest.$ac_ext >&5
 3482 
 3483 fi
 3484 rm -f conftest.err conftest.$ac_objext \
 3485       conftest$ac_exeext conftest.$ac_ext
 3486 if test "$ac_cv_search_inet_addr" = no; then
 3487   for ac_lib in nsl ws2_32 wsock32; do
 3488     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3489     cat >conftest.$ac_ext <<_ACEOF
 3490 /* confdefs.h.  */
 3491 _ACEOF
 3492 cat confdefs.h >>conftest.$ac_ext
 3493 cat >>conftest.$ac_ext <<_ACEOF
 3494 /* end confdefs.h.  */
 3495 
 3496 /* Override any gcc2 internal prototype to avoid an error.  */
 3497 #ifdef __cplusplus
 3498 extern "C"
 3499 #endif
 3500 /* We use char because int might match the return type of a gcc2
 3501    builtin and then its argument prototype would still apply.  */
 3502 char inet_addr ();
 3503 int
 3504 main ()
 3505 {
 3506 inet_addr ();
 3507   ;
 3508   return 0;
 3509 }
 3510 _ACEOF
 3511 rm -f conftest.$ac_objext conftest$ac_exeext
 3512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3513   (eval $ac_link) 2>conftest.er1
 3514   ac_status=$?
 3515   grep -v '^ *+' conftest.er1 >conftest.err
 3516   rm -f conftest.er1
 3517   cat conftest.err >&5
 3518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3519   (exit $ac_status); } &&
 3520      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3522   (eval $ac_try) 2>&5
 3523   ac_status=$?
 3524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3525   (exit $ac_status); }; } &&
 3526      { ac_try='test -s conftest$ac_exeext'
 3527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3528   (eval $ac_try) 2>&5
 3529   ac_status=$?
 3530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3531   (exit $ac_status); }; }; then
 3532   ac_cv_search_inet_addr="-l$ac_lib"
 3533 break
 3534 else
 3535   echo "$as_me: failed program was:" >&5
 3536 sed 's/^/| /' conftest.$ac_ext >&5
 3537 
 3538 fi
 3539 rm -f conftest.err conftest.$ac_objext \
 3540       conftest$ac_exeext conftest.$ac_ext
 3541   done
 3542 fi
 3543 LIBS=$ac_func_search_save_LIBS
 3544 fi
 3545 echo "$as_me:$LINENO: result: $ac_cv_search_inet_addr" >&5
 3546 echo "${ECHO_T}$ac_cv_search_inet_addr" >&6
 3547 if test "$ac_cv_search_inet_addr" != no; then
 3548   test "$ac_cv_search_inet_addr" = "none required" || LIBS="$ac_cv_search_inet_addr $LIBS"
 3549 
 3550 cat >>confdefs.h <<\_ACEOF
 3551 #define HAVE_INET_ADDR
 3552 _ACEOF
 3553 
 3554 fi
 3555 
 3556 fi
 3557 
 3558 
 3559       ;;
 3560     esac
 3561 
 3562 else
 3563 
 3564   echo "$as_me:$LINENO: checking for library containing socket" >&5
 3565 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
 3566 if test "${ac_cv_search_socket+set}" = set; then
 3567   echo $ECHO_N "(cached) $ECHO_C" >&6
 3568 else
 3569   ac_func_search_save_LIBS=$LIBS
 3570 ac_cv_search_socket=no
 3571 cat >conftest.$ac_ext <<_ACEOF
 3572 /* confdefs.h.  */
 3573 _ACEOF
 3574 cat confdefs.h >>conftest.$ac_ext
 3575 cat >>conftest.$ac_ext <<_ACEOF
 3576 /* end confdefs.h.  */
 3577 
 3578 /* Override any gcc2 internal prototype to avoid an error.  */
 3579 #ifdef __cplusplus
 3580 extern "C"
 3581 #endif
 3582 /* We use char because int might match the return type of a gcc2
 3583    builtin and then its argument prototype would still apply.  */
 3584 char socket ();
 3585 int
 3586 main ()
 3587 {
 3588 socket ();
 3589   ;
 3590   return 0;
 3591 }
 3592 _ACEOF
 3593 rm -f conftest.$ac_objext conftest$ac_exeext
 3594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3595   (eval $ac_link) 2>conftest.er1
 3596   ac_status=$?
 3597   grep -v '^ *+' conftest.er1 >conftest.err
 3598   rm -f conftest.er1
 3599   cat conftest.err >&5
 3600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3601   (exit $ac_status); } &&
 3602      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3604   (eval $ac_try) 2>&5
 3605   ac_status=$?
 3606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3607   (exit $ac_status); }; } &&
 3608      { ac_try='test -s conftest$ac_exeext'
 3609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3610   (eval $ac_try) 2>&5
 3611   ac_status=$?
 3612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3613   (exit $ac_status); }; }; then
 3614   ac_cv_search_socket="none required"
 3615 else
 3616   echo "$as_me: failed program was:" >&5
 3617 sed 's/^/| /' conftest.$ac_ext >&5
 3618 
 3619 fi
 3620 rm -f conftest.err conftest.$ac_objext \
 3621       conftest$ac_exeext conftest.$ac_ext
 3622 if test "$ac_cv_search_socket" = no; then
 3623   for ac_lib in socket nsl ws2_32 wsock32; do
 3624     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3625     cat >conftest.$ac_ext <<_ACEOF
 3626 /* confdefs.h.  */
 3627 _ACEOF
 3628 cat confdefs.h >>conftest.$ac_ext
 3629 cat >>conftest.$ac_ext <<_ACEOF
 3630 /* end confdefs.h.  */
 3631 
 3632 /* Override any gcc2 internal prototype to avoid an error.  */
 3633 #ifdef __cplusplus
 3634 extern "C"
 3635 #endif
 3636 /* We use char because int might match the return type of a gcc2
 3637    builtin and then its argument prototype would still apply.  */
 3638 char socket ();
 3639 int
 3640 main ()
 3641 {
 3642 socket ();
 3643   ;
 3644   return 0;
 3645 }
 3646 _ACEOF
 3647 rm -f conftest.$ac_objext conftest$ac_exeext
 3648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3649   (eval $ac_link) 2>conftest.er1
 3650   ac_status=$?
 3651   grep -v '^ *+' conftest.er1 >conftest.err
 3652   rm -f conftest.er1
 3653   cat conftest.err >&5
 3654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3655   (exit $ac_status); } &&
 3656      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3658   (eval $ac_try) 2>&5
 3659   ac_status=$?
 3660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3661   (exit $ac_status); }; } &&
 3662      { ac_try='test -s conftest$ac_exeext'
 3663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3664   (eval $ac_try) 2>&5
 3665   ac_status=$?
 3666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3667   (exit $ac_status); }; }; then
 3668   ac_cv_search_socket="-l$ac_lib"
 3669 break
 3670 else
 3671   echo "$as_me: failed program was:" >&5
 3672 sed 's/^/| /' conftest.$ac_ext >&5
 3673 
 3674 fi
 3675 rm -f conftest.err conftest.$ac_objext \
 3676       conftest$ac_exeext conftest.$ac_ext
 3677   done
 3678 fi
 3679 LIBS=$ac_func_search_save_LIBS
 3680 fi
 3681 echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
 3682 echo "${ECHO_T}$ac_cv_search_socket" >&6
 3683 if test "$ac_cv_search_socket" != no; then
 3684   test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
 3685 
 3686 cat >>confdefs.h <<\_ACEOF
 3687 #define HAVE_SOCKET
 3688 _ACEOF
 3689 
 3690 fi
 3691 
 3692   echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
 3693 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
 3694 if test "${ac_cv_search_gethostbyname+set}" = set; then
 3695   echo $ECHO_N "(cached) $ECHO_C" >&6
 3696 else
 3697   ac_func_search_save_LIBS=$LIBS
 3698 ac_cv_search_gethostbyname=no
 3699 cat >conftest.$ac_ext <<_ACEOF
 3700 /* confdefs.h.  */
 3701 _ACEOF
 3702 cat confdefs.h >>conftest.$ac_ext
 3703 cat >>conftest.$ac_ext <<_ACEOF
 3704 /* end confdefs.h.  */
 3705 
 3706 /* Override any gcc2 internal prototype to avoid an error.  */
 3707 #ifdef __cplusplus
 3708 extern "C"
 3709 #endif
 3710 /* We use char because int might match the return type of a gcc2
 3711    builtin and then its argument prototype would still apply.  */
 3712 char gethostbyname ();
 3713 int
 3714 main ()
 3715 {
 3716 gethostbyname ();
 3717   ;
 3718   return 0;
 3719 }
 3720 _ACEOF
 3721 rm -f conftest.$ac_objext conftest$ac_exeext
 3722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3723   (eval $ac_link) 2>conftest.er1
 3724   ac_status=$?
 3725   grep -v '^ *+' conftest.er1 >conftest.err
 3726   rm -f conftest.er1
 3727   cat conftest.err >&5
 3728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3729   (exit $ac_status); } &&
 3730      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3732   (eval $ac_try) 2>&5
 3733   ac_status=$?
 3734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3735   (exit $ac_status); }; } &&
 3736      { ac_try='test -s conftest$ac_exeext'
 3737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3738   (eval $ac_try) 2>&5
 3739   ac_status=$?
 3740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3741   (exit $ac_status); }; }; then
 3742   ac_cv_search_gethostbyname="none required"
 3743 else
 3744   echo "$as_me: failed program was:" >&5
 3745 sed 's/^/| /' conftest.$ac_ext >&5
 3746 
 3747 fi
 3748 rm -f conftest.err conftest.$ac_objext \
 3749       conftest$ac_exeext conftest.$ac_ext
 3750 if test "$ac_cv_search_gethostbyname" = no; then
 3751   for ac_lib in nsl ws2_32 wsock32; do
 3752     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3753     cat >conftest.$ac_ext <<_ACEOF
 3754 /* confdefs.h.  */
 3755 _ACEOF
 3756 cat confdefs.h >>conftest.$ac_ext
 3757 cat >>conftest.$ac_ext <<_ACEOF
 3758 /* end confdefs.h.  */
 3759 
 3760 /* Override any gcc2 internal prototype to avoid an error.  */
 3761 #ifdef __cplusplus
 3762 extern "C"
 3763 #endif
 3764 /* We use char because int might match the return type of a gcc2
 3765    builtin and then its argument prototype would still apply.  */
 3766 char gethostbyname ();
 3767 int
 3768 main ()
 3769 {
 3770 gethostbyname ();
 3771   ;
 3772   return 0;
 3773 }
 3774 _ACEOF
 3775 rm -f conftest.$ac_objext conftest$ac_exeext
 3776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3777   (eval $ac_link) 2>conftest.er1
 3778   ac_status=$?
 3779   grep -v '^ *+' conftest.er1 >conftest.err
 3780   rm -f conftest.er1
 3781   cat conftest.err >&5
 3782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3783   (exit $ac_status); } &&
 3784      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3786   (eval $ac_try) 2>&5
 3787   ac_status=$?
 3788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3789   (exit $ac_status); }; } &&
 3790      { ac_try='test -s conftest$ac_exeext'
 3791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3792   (eval $ac_try) 2>&5
 3793   ac_status=$?
 3794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3795   (exit $ac_status); }; }; then
 3796   ac_cv_search_gethostbyname="-l$ac_lib"
 3797 break
 3798 else
 3799   echo "$as_me: failed program was:" >&5
 3800 sed 's/^/| /' conftest.$ac_ext >&5
 3801 
 3802 fi
 3803 rm -f conftest.err conftest.$ac_objext \
 3804       conftest$ac_exeext conftest.$ac_ext
 3805   done
 3806 fi
 3807 LIBS=$ac_func_search_save_LIBS
 3808 fi
 3809 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
 3810 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
 3811 if test "$ac_cv_search_gethostbyname" != no; then
 3812   test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
 3813 
 3814 cat >>confdefs.h <<\_ACEOF
 3815 #define HAVE_GETHOSTBYNAME
 3816 _ACEOF
 3817 
 3818 fi
 3819 
 3820   echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
 3821 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6
 3822 if test "${ac_cv_search_inet_aton+set}" = set; then
 3823   echo $ECHO_N "(cached) $ECHO_C" >&6
 3824 else
 3825   ac_func_search_save_LIBS=$LIBS
 3826 ac_cv_search_inet_aton=no
 3827 cat >conftest.$ac_ext <<_ACEOF
 3828 /* confdefs.h.  */
 3829 _ACEOF
 3830 cat confdefs.h >>conftest.$ac_ext
 3831 cat >>conftest.$ac_ext <<_ACEOF
 3832 /* end confdefs.h.  */
 3833 
 3834 /* Override any gcc2 internal prototype to avoid an error.  */
 3835 #ifdef __cplusplus
 3836 extern "C"
 3837 #endif
 3838 /* We use char because int might match the return type of a gcc2
 3839    builtin and then its argument prototype would still apply.  */
 3840 char inet_aton ();
 3841 int
 3842 main ()
 3843 {
 3844 inet_aton ();
 3845   ;
 3846   return 0;
 3847 }
 3848 _ACEOF
 3849 rm -f conftest.$ac_objext conftest$ac_exeext
 3850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3851   (eval $ac_link) 2>conftest.er1
 3852   ac_status=$?
 3853   grep -v '^ *+' conftest.er1 >conftest.err
 3854   rm -f conftest.er1
 3855   cat conftest.err >&5
 3856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3857   (exit $ac_status); } &&
 3858      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3860   (eval $ac_try) 2>&5
 3861   ac_status=$?
 3862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3863   (exit $ac_status); }; } &&
 3864      { ac_try='test -s conftest$ac_exeext'
 3865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3866   (eval $ac_try) 2>&5
 3867   ac_status=$?
 3868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3869   (exit $ac_status); }; }; then
 3870   ac_cv_search_inet_aton="none required"
 3871 else
 3872   echo "$as_me: failed program was:" >&5
 3873 sed 's/^/| /' conftest.$ac_ext >&5
 3874 
 3875 fi
 3876 rm -f conftest.err conftest.$ac_objext \
 3877       conftest$ac_exeext conftest.$ac_ext
 3878 if test "$ac_cv_search_inet_aton" = no; then
 3879   for ac_lib in xnet ws2_32 wsock32; do
 3880     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3881     cat >conftest.$ac_ext <<_ACEOF
 3882 /* confdefs.h.  */
 3883 _ACEOF
 3884 cat confdefs.h >>conftest.$ac_ext
 3885 cat >>conftest.$ac_ext <<_ACEOF
 3886 /* end confdefs.h.  */
 3887 
 3888 /* Override any gcc2 internal prototype to avoid an error.  */
 3889 #ifdef __cplusplus
 3890 extern "C"
 3891 #endif
 3892 /* We use char because int might match the return type of a gcc2
 3893    builtin and then its argument prototype would still apply.  */
 3894 char inet_aton ();
 3895 int
 3896 main ()
 3897 {
 3898 inet_aton ();
 3899   ;
 3900   return 0;
 3901 }
 3902 _ACEOF
 3903 rm -f conftest.$ac_objext conftest$ac_exeext
 3904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3905   (eval $ac_link) 2>conftest.er1
 3906   ac_status=$?
 3907   grep -v '^ *+' conftest.er1 >conftest.err
 3908   rm -f conftest.er1
 3909   cat conftest.err >&5
 3910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3911   (exit $ac_status); } &&
 3912      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3914   (eval $ac_try) 2>&5
 3915   ac_status=$?
 3916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3917   (exit $ac_status); }; } &&
 3918      { ac_try='test -s conftest$ac_exeext'
 3919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3920   (eval $ac_try) 2>&5
 3921   ac_status=$?
 3922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3923   (exit $ac_status); }; }; then
 3924   ac_cv_search_inet_aton="-l$ac_lib"
 3925 break
 3926 else
 3927   echo "$as_me: failed program was:" >&5
 3928 sed 's/^/| /' conftest.$ac_ext >&5
 3929 
 3930 fi
 3931 rm -f conftest.err conftest.$ac_objext \
 3932       conftest$ac_exeext conftest.$ac_ext
 3933   done
 3934 fi
 3935 LIBS=$ac_func_search_save_LIBS
 3936 fi
 3937 echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
 3938 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6
 3939 if test "$ac_cv_search_inet_aton" != no; then
 3940   test "$ac_cv_search_inet_aton" = "none required" || LIBS="$ac_cv_search_inet_aton $LIBS"
 3941 
 3942 cat >>confdefs.h <<\_ACEOF
 3943 #define HAVE_INET_ATON
 3944 _ACEOF
 3945 
 3946 else
 3947   echo "$as_me:$LINENO: checking for library containing inet_addr" >&5
 3948 echo $ECHO_N "checking for library containing inet_addr... $ECHO_C" >&6
 3949 if test "${ac_cv_search_inet_addr+set}" = set; then
 3950   echo $ECHO_N "(cached) $ECHO_C" >&6
 3951 else
 3952   ac_func_search_save_LIBS=$LIBS
 3953 ac_cv_search_inet_addr=no
 3954 cat >conftest.$ac_ext <<_ACEOF
 3955 /* confdefs.h.  */
 3956 _ACEOF
 3957 cat confdefs.h >>conftest.$ac_ext
 3958 cat >>conftest.$ac_ext <<_ACEOF
 3959 /* end confdefs.h.  */
 3960 
 3961 /* Override any gcc2 internal prototype to avoid an error.  */
 3962 #ifdef __cplusplus
 3963 extern "C"
 3964 #endif
 3965 /* We use char because int might match the return type of a gcc2
 3966    builtin and then its argument prototype would still apply.  */
 3967 char inet_addr ();
 3968 int
 3969 main ()
 3970 {
 3971 inet_addr ();
 3972   ;
 3973   return 0;
 3974 }
 3975 _ACEOF
 3976 rm -f conftest.$ac_objext conftest$ac_exeext
 3977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3978   (eval $ac_link) 2>conftest.er1
 3979   ac_status=$?
 3980   grep -v '^ *+' conftest.er1 >conftest.err
 3981   rm -f conftest.er1
 3982   cat conftest.err >&5
 3983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3984   (exit $ac_status); } &&
 3985      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3987   (eval $ac_try) 2>&5
 3988   ac_status=$?
 3989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3990   (exit $ac_status); }; } &&
 3991      { ac_try='test -s conftest$ac_exeext'
 3992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3993   (eval $ac_try) 2>&5
 3994   ac_status=$?
 3995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3996   (exit $ac_status); }; }; then
 3997   ac_cv_search_inet_addr="none required"
 3998 else
 3999   echo "$as_me: failed program was:" >&5
 4000 sed 's/^/| /' conftest.$ac_ext >&5
 4001 
 4002 fi
 4003 rm -f conftest.err conftest.$ac_objext \
 4004       conftest$ac_exeext conftest.$ac_ext
 4005 if test "$ac_cv_search_inet_addr" = no; then
 4006   for ac_lib in nsl ws2_32 wsock32; do
 4007     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 4008     cat >conftest.$ac_ext <<_ACEOF
 4009 /* confdefs.h.  */
 4010 _ACEOF
 4011 cat confdefs.h >>conftest.$ac_ext
 4012 cat >>conftest.$ac_ext <<_ACEOF
 4013 /* end confdefs.h.  */
 4014 
 4015 /* Override any gcc2 internal prototype to avoid an error.  */
 4016 #ifdef __cplusplus
 4017 extern "C"
 4018 #endif
 4019 /* We use char because int might match the return type of a gcc2
 4020    builtin and then its argument prototype would still apply.  */
 4021 char inet_addr ();
 4022 int
 4023 main ()
 4024 {
 4025 inet_addr ();
 4026   ;
 4027   return 0;
 4028 }
 4029 _ACEOF
 4030 rm -f conftest.$ac_objext conftest$ac_exeext
 4031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4032   (eval $ac_link) 2>conftest.er1
 4033   ac_status=$?
 4034   grep -v '^ *+' conftest.er1 >conftest.err
 4035   rm -f conftest.er1
 4036   cat conftest.err >&5
 4037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4038   (exit $ac_status); } &&
 4039      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4041   (eval $ac_try) 2>&5
 4042   ac_status=$?
 4043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4044   (exit $ac_status); }; } &&
 4045      { ac_try='test -s conftest$ac_exeext'
 4046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4047   (eval $ac_try) 2>&5
 4048   ac_status=$?
 4049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4050   (exit $ac_status); }; }; then
 4051   ac_cv_search_inet_addr="-l$ac_lib"
 4052 break
 4053 else
 4054   echo "$as_me: failed program was:" >&5
 4055 sed 's/^/| /' conftest.$ac_ext >&5
 4056 
 4057 fi
 4058 rm -f conftest.err conftest.$ac_objext \
 4059       conftest$ac_exeext conftest.$ac_ext
 4060   done
 4061 fi
 4062 LIBS=$ac_func_search_save_LIBS
 4063 fi
 4064 echo "$as_me:$LINENO: result: $ac_cv_search_inet_addr" >&5
 4065 echo "${ECHO_T}$ac_cv_search_inet_addr" >&6
 4066 if test "$ac_cv_search_inet_addr" != no; then
 4067   test "$ac_cv_search_inet_addr" = "none required" || LIBS="$ac_cv_search_inet_addr $LIBS"
 4068 
 4069 cat >>confdefs.h <<\_ACEOF
 4070 #define HAVE_INET_ADDR
 4071 _ACEOF
 4072 
 4073 fi
 4074 
 4075 fi
 4076 
 4077 
 4078 fi;
 4079 
 4080 
 4081   # Check whether --enable-debug or --disable-debug was given.
 4082 if test "${enable_debug+set}" = set; then
 4083   enableval="$enable_debug"
 4084 
 4085     if test "$enable_version" != "no"; then
 4086 
 4087   ALGO="$ALGO \$(DEBUGALGO)"
 4088 
 4089 cat >>confdefs.h <<\_ACEOF
 4090 #define DEBUG 1
 4091 _ACEOF
 4092 
 4093 
 4094     fi
 4095 
 4096 else
 4097 
 4098     case "`uname -n`" in
 4099       rkeene | unleaded | *.saurik.com )
 4100 
 4101   ALGO="$ALGO \$(DEBUGALGO)"
 4102 
 4103 cat >>confdefs.h <<\_ACEOF
 4104 #define DEBUG 1
 4105 _ACEOF
 4106 
 4107 
 4108       ;;
 4109     esac
 4110 
 4111 fi;
 4112 
 4113 
 4114 
 4115 
 4116 
 4117 
 4118 
 4119     echo "$as_me:$LINENO: checking for dlopen" >&5
 4120 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 4121 if test "${ac_cv_func_dlopen+set}" = set; then
 4122   echo $ECHO_N "(cached) $ECHO_C" >&6
 4123 else
 4124   cat >conftest.$ac_ext <<_ACEOF
 4125 /* confdefs.h.  */
 4126 _ACEOF
 4127 cat confdefs.h >>conftest.$ac_ext
 4128 cat >>conftest.$ac_ext <<_ACEOF
 4129 /* end confdefs.h.  */
 4130 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 4131    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 4132 #define dlopen innocuous_dlopen
 4133 
 4134 /* System header to define __stub macros and hopefully few prototypes,
 4135     which can conflict with char dlopen (); below.
 4136     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4137     <limits.h> exists even on freestanding compilers.  */
 4138 
 4139 #ifdef __STDC__
 4140 # include <limits.h>
 4141 #else
 4142 # include <assert.h>
 4143 #endif
 4144 
 4145 #undef dlopen
 4146 
 4147 /* Override any gcc2 internal prototype to avoid an error.  */
 4148 #ifdef __cplusplus
 4149 extern "C"
 4150 {
 4151 #endif
 4152 /* We use char because int might match the return type of a gcc2
 4153    builtin and then its argument prototype would still apply.  */
 4154 char dlopen ();
 4155 /* The GNU C library defines this for functions which it implements
 4156     to always fail with ENOSYS.  Some functions are actually named
 4157     something starting with __ and the normal name is an alias.  */
 4158 #if defined (__stub_dlopen) || defined (__stub___dlopen)
 4159 choke me
 4160 #else
 4161 char (*f) () = dlopen;
 4162 #endif
 4163 #ifdef __cplusplus
 4164 }
 4165 #endif
 4166 
 4167 int
 4168 main ()
 4169 {
 4170 return f != dlopen;
 4171   ;
 4172   return 0;
 4173 }
 4174 _ACEOF
 4175 rm -f conftest.$ac_objext conftest$ac_exeext
 4176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4177   (eval $ac_link) 2>conftest.er1
 4178   ac_status=$?
 4179   grep -v '^ *+' conftest.er1 >conftest.err
 4180   rm -f conftest.er1
 4181   cat conftest.err >&5
 4182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4183   (exit $ac_status); } &&
 4184      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4186   (eval $ac_try) 2>&5
 4187   ac_status=$?
 4188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4189   (exit $ac_status); }; } &&
 4190      { ac_try='test -s conftest$ac_exeext'
 4191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4192   (eval $ac_try) 2>&5
 4193   ac_status=$?
 4194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4195   (exit $ac_status); }; }; then
 4196   ac_cv_func_dlopen=yes
 4197 else
 4198   echo "$as_me: failed program was:" >&5
 4199 sed 's/^/| /' conftest.$ac_ext >&5
 4200 
 4201 ac_cv_func_dlopen=no
 4202 fi
 4203 rm -f conftest.err conftest.$ac_objext \
 4204       conftest$ac_exeext conftest.$ac_ext
 4205 fi
 4206 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 4207 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 4208 if test $ac_cv_func_dlopen = yes; then
 4209 
 4210 
 4211 cat >>confdefs.h <<\_ACEOF
 4212 #define HAVE_DLOPEN 1
 4213 _ACEOF
 4214 
 4215         HAVEDLOPEN=yes
 4216 
 4217 fi
 4218 
 4219     if test "$ac_cv_func_dlopen" = "no"; then
 4220         echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 4221 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 4222 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 4223   echo $ECHO_N "(cached) $ECHO_C" >&6
 4224 else
 4225   ac_check_lib_save_LIBS=$LIBS
 4226 LIBS="-ldl  $LIBS"
 4227 cat >conftest.$ac_ext <<_ACEOF
 4228 /* confdefs.h.  */
 4229 _ACEOF
 4230 cat confdefs.h >>conftest.$ac_ext
 4231 cat >>conftest.$ac_ext <<_ACEOF
 4232 /* end confdefs.h.  */
 4233 
 4234 /* Override any gcc2 internal prototype to avoid an error.  */
 4235 #ifdef __cplusplus
 4236 extern "C"
 4237 #endif
 4238 /* We use char because int might match the return type of a gcc2
 4239    builtin and then its argument prototype would still apply.  */
 4240 char dlopen ();
 4241 int
 4242 main ()
 4243 {
 4244 dlopen ();
 4245   ;
 4246   return 0;
 4247 }
 4248 _ACEOF
 4249 rm -f conftest.$ac_objext conftest$ac_exeext
 4250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4251   (eval $ac_link) 2>conftest.er1
 4252   ac_status=$?
 4253   grep -v '^ *+' conftest.er1 >conftest.err
 4254   rm -f conftest.er1
 4255   cat conftest.err >&5
 4256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4257   (exit $ac_status); } &&
 4258      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4260   (eval $ac_try) 2>&5
 4261   ac_status=$?
 4262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4263   (exit $ac_status); }; } &&
 4264      { ac_try='test -s conftest$ac_exeext'
 4265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4266   (eval $ac_try) 2>&5
 4267   ac_status=$?
 4268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4269   (exit $ac_status); }; }; then
 4270   ac_cv_lib_dl_dlopen=yes
 4271 else
 4272   echo "$as_me: failed program was:" >&5
 4273 sed 's/^/| /' conftest.$ac_ext >&5
 4274 
 4275 ac_cv_lib_dl_dlopen=no
 4276 fi
 4277 rm -f conftest.err conftest.$ac_objext \
 4278       conftest$ac_exeext conftest.$ac_ext
 4279 LIBS=$ac_check_lib_save_LIBS
 4280 fi
 4281 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 4282 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 4283 if test $ac_cv_lib_dl_dlopen = yes; then
 4284 
 4285 
 4286 cat >>confdefs.h <<\_ACEOF
 4287 #define HAVE_DLOPEN 1
 4288 _ACEOF
 4289 
 4290             ALLMODLIBS=-ldl
 4291 
 4292             HAVEDLOPEN=yes
 4293 
 4294 fi
 4295 
 4296     fi
 4297 
 4298   echo "$as_me:$LINENO: checking to use modules" >&5
 4299 echo $ECHO_N "checking to use modules... $ECHO_C" >&6
 4300   # Check whether --enable-modules or --disable-modules was given.
 4301 if test "${enable_modules+set}" = set; then
 4302   enableval="$enable_modules"
 4303 
 4304     case "$enableval" in
 4305       no)
 4306     echo "$as_me:$LINENO: result: no" >&5
 4307 echo "${ECHO_T}no" >&6
 4308 
 4309   DEFAULT="static"
 4310   MODS="# "
 4311 
 4312       ;;
 4313       *)
 4314 
 4315 
 4316 
 4317   OLD_LDFLAGS="$LDFLAGS"
 4318   SHARED=""
 4319   if test -z "$SHARED"; then
 4320     LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -rdynamic -fPIC"
 4321     cat >conftest.$ac_ext <<_ACEOF
 4322 /* confdefs.h.  */
 4323 _ACEOF
 4324 cat confdefs.h >>conftest.$ac_ext
 4325 cat >>conftest.$ac_ext <<_ACEOF
 4326 /* end confdefs.h.  */
 4327 #include <stdio.h>
 4328 int
 4329 main ()
 4330 {
 4331  printf("okay\n"); return(0);
 4332   ;
 4333   return 0;
 4334 }
 4335 _ACEOF
 4336 rm -f conftest.$ac_objext conftest$ac_exeext
 4337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4338   (eval $ac_link) 2>conftest.er1
 4339   ac_status=$?
 4340   grep -v '^ *+' conftest.er1 >conftest.err
 4341   rm -f conftest.er1
 4342   cat conftest.err >&5
 4343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4344   (exit $ac_status); } &&
 4345      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4347   (eval $ac_try) 2>&5
 4348   ac_status=$?
 4349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4350   (exit $ac_status); }; } &&
 4351      { ac_try='test -s conftest$ac_exeext'
 4352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4353   (eval $ac_try) 2>&5
 4354   ac_status=$?
 4355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4356   (exit $ac_status); }; }; then
 4357    SHARED="-shared -Wl,-G,-z,textoff -fPIC"; ADD_LDFLAGS="-rdynamic"
 4358 else
 4359   echo "$as_me: failed program was:" >&5
 4360 sed 's/^/| /' conftest.$ac_ext >&5
 4361 
 4362 SHARED=""
 4363 fi
 4364 rm -f conftest.err conftest.$ac_objext \
 4365       conftest$ac_exeext conftest.$ac_ext;
 4366   fi
 4367   if test -z "$SHARED"; then
 4368     LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -rdynamic"
 4369     cat >conftest.$ac_ext <<_ACEOF
 4370 /* confdefs.h.  */
 4371 _ACEOF
 4372 cat confdefs.h >>conftest.$ac_ext
 4373 cat >>conftest.$ac_ext <<_ACEOF
 4374 /* end confdefs.h.  */
 4375 #include <stdio.h>
 4376 int
 4377 main ()
 4378 {
 4379  printf("okay\n"); return(0);
 4380   ;
 4381   return 0;
 4382 }
 4383 _ACEOF
 4384 rm -f conftest.$ac_objext conftest$ac_exeext
 4385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4386   (eval $ac_link) 2>conftest.er1
 4387   ac_status=$?
 4388   grep -v '^ *+' conftest.er1 >conftest.err
 4389   rm -f conftest.er1
 4390   cat conftest.err >&5
 4391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4392   (exit $ac_status); } &&
 4393      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4395   (eval $ac_try) 2>&5
 4396   ac_status=$?
 4397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4398   (exit $ac_status); }; } &&
 4399      { ac_try='test -s conftest$ac_exeext'
 4400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4401   (eval $ac_try) 2>&5
 4402   ac_status=$?
 4403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4404   (exit $ac_status); }; }; then
 4405    SHARED="-shared -Wl,-G,-z,textoff"; ADD_LDFLAGS="-rdynamic"
 4406 else
 4407   echo "$as_me: failed program was:" >&5
 4408 sed 's/^/| /' conftest.$ac_ext >&5
 4409 
 4410 SHARED=""
 4411 fi
 4412 rm -f conftest.err conftest.$ac_objext \
 4413       conftest$ac_exeext conftest.$ac_ext;
 4414   fi
 4415   if test -z "$SHARED"; then
 4416     LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -fPIC"
 4417     cat >conftest.$ac_ext <<_ACEOF
 4418 /* confdefs.h.  */
 4419 _ACEOF
 4420 cat confdefs.h >>conftest.$ac_ext
 4421 cat >>conftest.$ac_ext <<_ACEOF
 4422 /* end confdefs.h.  */
 4423 #include <stdio.h>
 4424 int
 4425 main ()
 4426 {
 4427  printf("okay\n"); return(0);
 4428   ;
 4429   return 0;
 4430 }
 4431 _ACEOF
 4432 rm -f conftest.$ac_objext conftest$ac_exeext
 4433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4434   (eval $ac_link) 2>conftest.er1
 4435   ac_status=$?
 4436   grep -v '^ *+' conftest.er1 >conftest.err
 4437   rm -f conftest.er1
 4438   cat conftest.err >&5
 4439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4440   (exit $ac_status); } &&
 4441      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4443   (eval $ac_try) 2>&5
 4444   ac_status=$?
 4445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4446   (exit $ac_status); }; } &&
 4447      { ac_try='test -s conftest$ac_exeext'
 4448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4449   (eval $ac_try) 2>&5
 4450   ac_status=$?
 4451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4452   (exit $ac_status); }; }; then
 4453    SHARED="-shared -Wl,-G,-z,textoff -fPIC"; ADD_LDFLAGS=""
 4454 else
 4455   echo "$as_me: failed program was:" >&5
 4456 sed 's/^/| /' conftest.$ac_ext >&5
 4457 
 4458 SHARED=""
 4459 fi
 4460 rm -f conftest.err conftest.$ac_objext \
 4461       conftest$ac_exeext conftest.$ac_ext;
 4462   fi
 4463   if test -z "$SHARED"; then
 4464     LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff"
 4465     cat >conftest.$ac_ext <<_ACEOF
 4466 /* confdefs.h.  */
 4467 _ACEOF
 4468 cat confdefs.h >>conftest.$ac_ext
 4469 cat >>conftest.$ac_ext <<_ACEOF
 4470 /* end confdefs.h.  */
 4471 #include <stdio.h>
 4472 int
 4473 main ()
 4474 {
 4475  printf("okay\n"); return(0);
 4476   ;
 4477   return 0;
 4478 }
 4479 _ACEOF
 4480 rm -f conftest.$ac_objext conftest$ac_exeext
 4481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4482   (eval $ac_link) 2>conftest.er1
 4483   ac_status=$?
 4484   grep -v '^ *+' conftest.er1 >conftest.err
 4485   rm -f conftest.er1
 4486   cat conftest.err >&5
 4487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4488   (exit $ac_status); } &&
 4489      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4491   (eval $ac_try) 2>&5
 4492   ac_status=$?
 4493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4494   (exit $ac_status); }; } &&
 4495      { ac_try='test -s conftest$ac_exeext'
 4496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4497   (eval $ac_try) 2>&5
 4498   ac_status=$?
 4499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4500   (exit $ac_status); }; }; then
 4501    SHARED="-shared -Wl,-G,-z,textoff"; ADD_LDFLAGS=""
 4502 else
 4503   echo "$as_me: failed program was:" >&5
 4504 sed 's/^/| /' conftest.$ac_ext >&5
 4505 
 4506 SHARED=""
 4507 fi
 4508 rm -f conftest.err conftest.$ac_objext \
 4509       conftest$ac_exeext conftest.$ac_ext;
 4510   fi
 4511   if test -z "$SHARED"; then
 4512     LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -rdynamic -fPIC"
 4513     cat >conftest.$ac_ext <<_ACEOF
 4514 /* confdefs.h.  */
 4515 _ACEOF
 4516 cat confdefs.h >>conftest.$ac_ext
 4517 cat >>conftest.$ac_ext <<_ACEOF
 4518 /* end confdefs.h.  */
 4519 #include <stdio.h>
 4520 int
 4521 main ()
 4522 {
 4523  printf("okay\n"); return(0);
 4524   ;
 4525   return 0;
 4526 }
 4527 _ACEOF
 4528 rm -f conftest.$ac_objext conftest$ac_exeext
 4529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4530   (eval $ac_link) 2>conftest.er1
 4531   ac_status=$?
 4532   grep -v '^ *+' conftest.er1 >conftest.err
 4533   rm -f conftest.er1
 4534   cat conftest.err >&5
 4535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4536   (exit $ac_status); } &&
 4537      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4539   (eval $ac_try) 2>&5
 4540   ac_status=$?
 4541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4542   (exit $ac_status); }; } &&
 4543      { ac_try='test -s conftest$ac_exeext'
 4544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4545   (eval $ac_try) 2>&5
 4546   ac_status=$?
 4547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4548   (exit $ac_status); }; }; then
 4549    SHARED="-Wl,-G,-z,textoff -fPIC"; ADD_LDFLAGS="-rdynamic"
 4550 else
 4551   echo "$as_me: failed program was:" >&5
 4552 sed 's/^/| /' conftest.$ac_ext >&5
 4553 
 4554 SHARED=""
 4555 fi
 4556 rm -f conftest.err conftest.$ac_objext \
 4557       conftest$ac_exeext conftest.$ac_ext;
 4558   fi
 4559   if test -z "$SHARED"; then
 4560     LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -rdynamic"
 4561     cat >conftest.$ac_ext <<_ACEOF
 4562 /* confdefs.h.  */
 4563 _ACEOF
 4564 cat confdefs.h >>conftest.$ac_ext
 4565 cat >>conftest.$ac_ext <<_ACEOF
 4566 /* end confdefs.h.  */
 4567 #include <stdio.h>
 4568 int
 4569 main ()
 4570 {
 4571  printf("okay\n"); return(0);
 4572   ;
 4573   return 0;
 4574 }
 4575 _ACEOF
 4576 rm -f conftest.$ac_objext conftest$ac_exeext
 4577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4578   (eval $ac_link) 2>conftest.er1
 4579   ac_status=$?
 4580   grep -v '^ *+' conftest.er1 >conftest.err
 4581   rm -f conftest.er1
 4582   cat conftest.err >&5
 4583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4584   (exit $ac_status); } &&
 4585      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4587   (eval $ac_try) 2>&5
 4588   ac_status=$?
 4589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4590   (exit $ac_status); }; } &&
 4591      { ac_try='test -s conftest$ac_exeext'
 4592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4593   (eval $ac_try) 2>&5
 4594   ac_status=$?
 4595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4596   (exit $ac_status); }; }; then
 4597    SHARED="-Wl,-G,-z,textoff"; ADD_LDFLAGS="-rdynamic"
 4598 else
 4599   echo "$as_me: failed program was:" >&5
 4600 sed 's/^/| /' conftest.$ac_ext >&5
 4601 
 4602 SHARED=""
 4603 fi
 4604 rm -f conftest.err conftest.$ac_objext \
 4605       conftest$ac_exeext conftest.$ac_ext;
 4606   fi
 4607   if test -z "$SHARED"; then
 4608     LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -fPIC"
 4609     cat >conftest.$ac_ext <<_ACEOF
 4610 /* confdefs.h.  */
 4611 _ACEOF
 4612 cat confdefs.h >>conftest.$ac_ext
 4613 cat >>conftest.$ac_ext <<_ACEOF
 4614 /* end confdefs.h.  */
 4615 #include <stdio.h>
 4616 int
 4617 main ()
 4618 {
 4619  printf("okay\n"); return(0);
 4620   ;
 4621   return 0;
 4622 }
 4623 _ACEOF
 4624 rm -f conftest.$ac_objext conftest$ac_exeext
 4625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4626   (eval $ac_link) 2>conftest.er1
 4627   ac_status=$?
 4628   grep -v '^ *+' conftest.er1 >conftest.err
 4629   rm -f conftest.er1
 4630   cat conftest.err >&5
 4631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4632   (exit $ac_status); } &&
 4633      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4635   (eval $ac_try) 2>&5
 4636   ac_status=$?
 4637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4638   (exit $ac_status); }; } &&
 4639      { ac_try='test -s conftest$ac_exeext'
 4640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4641   (eval $ac_try) 2>&5
 4642   ac_status=$?
 4643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4644   (exit $ac_status); }; }; then
 4645    SHARED="-Wl,-G,-z,textoff -fPIC"; ADD_LDFLAGS=""
 4646 else
 4647   echo "$as_me: failed program was:" >&5
 4648 sed 's/^/| /' conftest.$ac_ext >&5
 4649 
 4650 SHARED=""
 4651 fi
 4652 rm -f conftest.err conftest.$ac_objext \
 4653       conftest$ac_exeext conftest.$ac_ext;
 4654   fi
 4655   if test -z "$SHARED"; then
 4656     LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff"
 4657     cat >conftest.$ac_ext <<_ACEOF
 4658 /* confdefs.h.  */
 4659 _ACEOF
 4660 cat confdefs.h >>conftest.$ac_ext
 4661 cat >>conftest.$ac_ext <<_ACEOF
 4662 /* end confdefs.h.  */
 4663 #include <stdio.h>
 4664 int
 4665 main ()
 4666 {
 4667  printf("okay\n"); return(0);
 4668   ;
 4669   return 0;
 4670 }
 4671 _ACEOF
 4672 rm -f conftest.$ac_objext conftest$ac_exeext
 4673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4674   (eval $ac_link) 2>conftest.er1
 4675   ac_status=$?
 4676   grep -v '^ *+' conftest.er1 >conftest.err
 4677   rm -f conftest.er1
 4678   cat conftest.err >&5
 4679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4680   (exit $ac_status); } &&
 4681      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4683   (eval $ac_try) 2>&5
 4684   ac_status=$?
 4685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4686   (exit $ac_status); }; } &&
 4687      { ac_try='test -s conftest$ac_exeext'
 4688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4689   (eval $ac_try) 2>&5
 4690   ac_status=$?
 4691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4692   (exit $ac_status); }; }; then
 4693    SHARED="-Wl,-G,-z,textoff"; ADD_LDFLAGS=""
 4694 else
 4695   echo "$as_me: failed program was:" >&5
 4696 sed 's/^/| /' conftest.$ac_ext >&5
 4697 
 4698 SHARED=""
 4699 fi
 4700 rm -f conftest.err conftest.$ac_objext \
 4701       conftest$ac_exeext conftest.$ac_ext;
 4702   fi
 4703   if test -z "$SHARED"; then
 4704     LDFLAGS="$LDFLAGS -shared -rdynamic -fPIC"
 4705     cat >conftest.$ac_ext <<_ACEOF
 4706 /* confdefs.h.  */
 4707 _ACEOF
 4708 cat confdefs.h >>conftest.$ac_ext
 4709 cat >>conftest.$ac_ext <<_ACEOF
 4710 /* end confdefs.h.  */
 4711 #include <stdio.h>
 4712 int
 4713 main ()
 4714 {
 4715  printf("okay\n"); return(0);
 4716   ;
 4717   return 0;
 4718 }
 4719 _ACEOF
 4720 rm -f conftest.$ac_objext conftest$ac_exeext
 4721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4722   (eval $ac_link) 2>conftest.er1
 4723   ac_status=$?
 4724   grep -v '^ *+' conftest.er1 >conftest.err
 4725   rm -f conftest.er1
 4726   cat conftest.err >&5
 4727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4728   (exit $ac_status); } &&
 4729      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4731   (eval $ac_try) 2>&5
 4732   ac_status=$?
 4733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4734   (exit $ac_status); }; } &&
 4735      { ac_try='test -s conftest$ac_exeext'
 4736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4737   (eval $ac_try) 2>&5
 4738   ac_status=$?
 4739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4740   (exit $ac_status); }; }; then
 4741    SHARED="-shared -fPIC"; ADD_LDFLAGS="-rdynamic"
 4742 else
 4743   echo "$as_me: failed program was:" >&5
 4744 sed 's/^/| /' conftest.$ac_ext >&5
 4745 
 4746 SHARED=""
 4747 fi
 4748 rm -f conftest.err conftest.$ac_objext \
 4749       conftest$ac_exeext conftest.$ac_ext;
 4750   fi
 4751   if test -z "$SHARED"; then
 4752     LDFLAGS="$OLD_LDFLAGS -shared -fPIC"
 4753     cat >conftest.$ac_ext <<_ACEOF
 4754 /* confdefs.h.  */
 4755 _ACEOF
 4756 cat confdefs.h >>conftest.$ac_ext
 4757 cat >>conftest.$ac_ext <<_ACEOF
 4758 /* end confdefs.h.  */
 4759 #include <stdio.h>
 4760 int
 4761 main ()
 4762 {
 4763  printf("okay\n"); return(0);
 4764   ;
 4765   return 0;
 4766 }
 4767 _ACEOF
 4768 rm -f conftest.$ac_objext conftest$ac_exeext
 4769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4770   (eval $ac_link) 2>conftest.er1
 4771   ac_status=$?
 4772   grep -v '^ *+' conftest.er1 >conftest.err
 4773   rm -f conftest.er1
 4774   cat conftest.err >&5
 4775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4776   (exit $ac_status); } &&
 4777      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4779   (eval $ac_try) 2>&5
 4780   ac_status=$?
 4781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4782   (exit $ac_