Home | History | Annotate | Download | only in clearsilver
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.59.
      4 #
      5 # Copyright (C) 2003 Free Software Foundation, Inc.
      6 # This configure script is free software; the Free Software Foundation
      7 # gives unlimited permission to copy, distribute and modify it.
      8 ## --------------------- ##
      9 ## M4sh Initialization.  ##
     10 ## --------------------- ##
     11 
     12 # Be Bourne compatible
     13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     14   emulate sh
     15   NULLCMD=:
     16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     17   # is contrary to our usage.  Disable this feature.
     18   alias -g '${1+"$@"}'='"$@"'
     19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     20   set -o posix
     21 fi
     22 DUALCASE=1; export DUALCASE # for MKS sh
     23 
     24 # Support unset when possible.
     25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     26   as_unset=unset
     27 else
     28   as_unset=false
     29 fi
     30 
     31 
     32 # Work around bugs in pre-3.0 UWIN ksh.
     33 $as_unset ENV MAIL MAILPATH
     34 PS1='$ '
     35 PS2='> '
     36 PS4='+ '
     37 
     38 # NLS nuisances.
     39 for as_var in \
     40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     42   LC_TELEPHONE LC_TIME
     43 do
     44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     45     eval $as_var=C; export $as_var
     46   else
     47     $as_unset $as_var
     48   fi
     49 done
     50 
     51 # Required to use basename.
     52 if expr a : '\(a\)' >/dev/null 2>&1; then
     53   as_expr=expr
     54 else
     55   as_expr=false
     56 fi
     57 
     58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     59   as_basename=basename
     60 else
     61   as_basename=false
     62 fi
     63 
     64 
     65 # Name of the executable.
     66 as_me=`$as_basename "$0" ||
     67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     68 	 X"$0" : 'X\(//\)$' \| \
     69 	 X"$0" : 'X\(/\)$' \| \
     70 	 .     : '\(.\)' 2>/dev/null ||
     71 echo X/"$0" |
     72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     73   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
     74   	  /^X\/\(\/\).*/{ s//\1/; q; }
     75   	  s/.*/./; q'`
     76 
     77 
     78 # PATH needs CR, and LINENO needs CR and PATH.
     79 # Avoid depending upon Character Ranges.
     80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     83 as_cr_digits='0123456789'
     84 as_cr_alnum=$as_cr_Letters$as_cr_digits
     85 
     86 # The user is always right.
     87 if test "${PATH_SEPARATOR+set}" != set; then
     88   echo "#! /bin/sh" >conf$$.sh
     89   echo  "exit 0"   >>conf$$.sh
     90   chmod +x conf$$.sh
     91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     92     PATH_SEPARATOR=';'
     93   else
     94     PATH_SEPARATOR=:
     95   fi
     96   rm -f conf$$.sh
     97 fi
     98 
     99 
    100   as_lineno_1=$LINENO
    101   as_lineno_2=$LINENO
    102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    103   test "x$as_lineno_1" != "x$as_lineno_2" &&
    104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    105   # Find who we are.  Look in the path if we contain no path at all
    106   # relative or not.
    107   case $0 in
    108     *[\\/]* ) as_myself=$0 ;;
    109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    110 for as_dir in $PATH
    111 do
    112   IFS=$as_save_IFS
    113   test -z "$as_dir" && as_dir=.
    114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    115 done
    116 
    117        ;;
    118   esac
    119   # We did not find ourselves, most probably we were run as `sh COMMAND'
    120   # in which case we are not to be found in the path.
    121   if test "x$as_myself" = x; then
    122     as_myself=$0
    123   fi
    124   if test ! -f "$as_myself"; then
    125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    126    { (exit 1); exit 1; }; }
    127   fi
    128   case $CONFIG_SHELL in
    129   '')
    130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    132 do
    133   IFS=$as_save_IFS
    134   test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136 	 case $as_dir in
    137 	 /*)
    138 	   if ("$as_dir/$as_base" -c '
    139   as_lineno_1=$LINENO
    140   as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142   test "x$as_lineno_1" != "x$as_lineno_2" &&
    143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146 	     CONFIG_SHELL=$as_dir/$as_base
    147 	     export CONFIG_SHELL
    148 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149 	   fi;;
    150 	 esac
    151        done
    152 done
    153 ;;
    154   esac
    155 
    156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157   # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
    162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
    165     sed '
    166       N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    170       t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
    173     ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
    175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176    { (exit 1); exit 1; }; }
    177 
    178   # Don't try to exec as it changes $[0], causing all sort of problems
    179   # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
    182   # Exit status is that of the last command.
    183   exit
    184 }
    185 
    186 
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='	' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    192 esac
    193 
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
    195   as_expr=expr
    196 else
    197   as_expr=false
    198 fi
    199 
    200 rm -f conf$$ conf$$.exe conf$$.file
    201 echo >conf$$.file
    202 if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
    207     as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210   fi
    211 elif ln conf$$.file conf$$ 2>/dev/null; then
    212   as_ln_s=ln
    213 else
    214   as_ln_s='cp -p'
    215 fi
    216 rm -f conf$$ conf$$.exe conf$$.file
    217 
    218 if mkdir -p . 2>/dev/null; then
    219   as_mkdir_p=:
    220 else
    221   test -d ./-p && rmdir ./-p
    222   as_mkdir_p=false
    223 fi
    224 
    225 as_executable_p="test -f"
    226 
    227 # Sed expression to map a string onto a valid CPP name.
    228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    229 
    230 # Sed expression to map a string onto a valid variable name.
    231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    232 
    233 
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS=" 	$as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
    243 
    244 # Name of the host.
    245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    246 # so uname gets run too.
    247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248 
    249 exec 6>&1
    250 
    251 #
    252 # Initializations.
    253 #
    254 ac_default_prefix=/usr/local
    255 ac_config_libobj_dir=.
    256 cross_compiling=no
    257 subdirs=
    258 MFLAGS=
    259 MAKEFLAGS=
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 
    262 # Maximum number of lines to put in a shell here document.
    263 # This variable seems obsolete.  It should probably be removed, and
    264 # only ac_max_sed_lines should be used.
    265 : ${ac_max_here_lines=38}
    266 
    267 # Identity of this package.
    268 PACKAGE_NAME=
    269 PACKAGE_TARNAME=
    270 PACKAGE_VERSION=
    271 PACKAGE_STRING=
    272 PACKAGE_BUGREPORT=
    273 
    274 ac_unique_file="cgi/cgi.c"
    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 CPP LN_S AR RANLIB ac_ct_RANLIB SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os _ACJNI_JAVAC USE_MINGW32 APXS_PATH PERL RUBY BUILD_WRAPPERS JAVA_PATH JAVA_INCLUDE_PATH PYTHON PYTHON_INC PYTHON_LIB PYTHON_SITE EXTRA_UTL_SRC EXTRA_UTL_OBJS CSHARP_PATH 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 
    834 System types:
    835   --build=BUILD     configure for building on BUILD [guessed]
    836   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    837 _ACEOF
    838 fi
    839 
    840 if test -n "$ac_init_help"; then
    841 
    842   cat <<\_ACEOF
    843 
    844 Optional Features:
    845   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    846   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    847   --disable-wdb Disables building of wdb
    848   --disable-compression		Disables HTML Compression support
    849   --enable-remote-debugger	Enables remote X CGI debugging
    850   --disable-apache		Disables building of apache 1.3.x module
    851   --disable-python		Disables building of python module
    852   --disable-perl		Disables building of perl module
    853   --disable-ruby		Disables building of ruby module
    854   --disable-java		Disables building of java module
    855   --disable-csharp	Disables building of csharp module
    856   --enable-gettext	Enables gettext message translation
    857 
    858 Optional Packages:
    859   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    860   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    861   --with-apache=path		Set location of Apache installation
    862   --with-python=path		Set location of Python Interpreter
    863   --with-perl=path		Set location of Perl binary
    864   --with-ruby=path		Set location of Ruby binary
    865   --with-java=path		Set location of J2SDK
    866   --with-csharp=path	Set location of csharp
    867 
    868 Some influential environment variables:
    869   CC          C compiler command
    870   CFLAGS      C compiler flags
    871   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    872               nonstandard directory <lib dir>
    873   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    874               headers in a nonstandard directory <include dir>
    875   CPP         C preprocessor
    876 
    877 Use these variables to override the choices made by `configure' or to help
    878 it to find libraries and programs with nonstandard names/locations.
    879 
    880 _ACEOF
    881 fi
    882 
    883 if test "$ac_init_help" = "recursive"; then
    884   # If there are subdirs, report their specific --help.
    885   ac_popdir=`pwd`
    886   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    887     test -d $ac_dir || continue
    888     ac_builddir=.
    889 
    890 if test "$ac_dir" != .; then
    891   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    892   # A "../" for each directory in $ac_dir_suffix.
    893   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    894 else
    895   ac_dir_suffix= ac_top_builddir=
    896 fi
    897 
    898 case $srcdir in
    899   .)  # No --srcdir option.  We are building in place.
    900     ac_srcdir=.
    901     if test -z "$ac_top_builddir"; then
    902        ac_top_srcdir=.
    903     else
    904        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    905     fi ;;
    906   [\\/]* | ?:[\\/]* )  # Absolute path.
    907     ac_srcdir=$srcdir$ac_dir_suffix;
    908     ac_top_srcdir=$srcdir ;;
    909   *) # Relative path.
    910     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    911     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    912 esac
    913 
    914 # Do not use `cd foo && pwd` to compute absolute paths, because
    915 # the directories may not exist.
    916 case `pwd` in
    917 .) ac_abs_builddir="$ac_dir";;
    918 *)
    919   case "$ac_dir" in
    920   .) ac_abs_builddir=`pwd`;;
    921   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    922   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    923   esac;;
    924 esac
    925 case $ac_abs_builddir in
    926 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    927 *)
    928   case ${ac_top_builddir}. in
    929   .) ac_abs_top_builddir=$ac_abs_builddir;;
    930   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    931   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    932   esac;;
    933 esac
    934 case $ac_abs_builddir in
    935 .) ac_abs_srcdir=$ac_srcdir;;
    936 *)
    937   case $ac_srcdir in
    938   .) ac_abs_srcdir=$ac_abs_builddir;;
    939   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    940   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    941   esac;;
    942 esac
    943 case $ac_abs_builddir in
    944 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    945 *)
    946   case $ac_top_srcdir in
    947   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    948   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    949   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    950   esac;;
    951 esac
    952 
    953     cd $ac_dir
    954     # Check for guested configure; otherwise get Cygnus style configure.
    955     if test -f $ac_srcdir/configure.gnu; then
    956       echo
    957       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    958     elif test -f $ac_srcdir/configure; then
    959       echo
    960       $SHELL $ac_srcdir/configure  --help=recursive
    961     elif test -f $ac_srcdir/configure.ac ||
    962 	   test -f $ac_srcdir/configure.in; then
    963       echo
    964       $ac_configure --help
    965     else
    966       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    967     fi
    968     cd "$ac_popdir"
    969   done
    970 fi
    971 
    972 test -n "$ac_init_help" && exit 0
    973 if $ac_init_version; then
    974   cat <<\_ACEOF
    975 
    976 Copyright (C) 2003 Free Software Foundation, Inc.
    977 This configure script is free software; the Free Software Foundation
    978 gives unlimited permission to copy, distribute and modify it.
    979 _ACEOF
    980   exit 0
    981 fi
    982 exec 5>config.log
    983 cat >&5 <<_ACEOF
    984 This file contains any messages produced by compilers while
    985 running configure, to aid debugging if configure makes a mistake.
    986 
    987 It was created by $as_me, which was
    988 generated by GNU Autoconf 2.59.  Invocation command line was
    989 
    990   $ $0 $@
    991 
    992 _ACEOF
    993 {
    994 cat <<_ASUNAME
    995 ## --------- ##
    996 ## Platform. ##
    997 ## --------- ##
    998 
    999 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1000 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1001 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1002 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1003 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1004 
   1005 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1006 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1007 
   1008 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1009 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1010 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1011 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
   1012 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1013 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1014 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1015 
   1016 _ASUNAME
   1017 
   1018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1019 for as_dir in $PATH
   1020 do
   1021   IFS=$as_save_IFS
   1022   test -z "$as_dir" && as_dir=.
   1023   echo "PATH: $as_dir"
   1024 done
   1025 
   1026 } >&5
   1027 
   1028 cat >&5 <<_ACEOF
   1029 
   1030 
   1031 ## ----------- ##
   1032 ## Core tests. ##
   1033 ## ----------- ##
   1034 
   1035 _ACEOF
   1036 
   1037 
   1038 # Keep a trace of the command line.
   1039 # Strip out --no-create and --no-recursion so they do not pile up.
   1040 # Strip out --silent because we don't want to record it for future runs.
   1041 # Also quote any args containing shell meta-characters.
   1042 # Make two passes to allow for proper duplicate-argument suppression.
   1043 ac_configure_args=
   1044 ac_configure_args0=
   1045 ac_configure_args1=
   1046 ac_sep=
   1047 ac_must_keep_next=false
   1048 for ac_pass in 1 2
   1049 do
   1050   for ac_arg
   1051   do
   1052     case $ac_arg in
   1053     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1054     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1055     | -silent | --silent | --silen | --sile | --sil)
   1056       continue ;;
   1057     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1058       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1059     esac
   1060     case $ac_pass in
   1061     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1062     2)
   1063       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1064       if test $ac_must_keep_next = true; then
   1065 	ac_must_keep_next=false # Got value, back to normal.
   1066       else
   1067 	case $ac_arg in
   1068 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1069 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1070 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1071 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1072 	    case "$ac_configure_args0 " in
   1073 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1074 	    esac
   1075 	    ;;
   1076 	  -* ) ac_must_keep_next=true ;;
   1077 	esac
   1078       fi
   1079       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
   1080       # Get rid of the leading space.
   1081       ac_sep=" "
   1082       ;;
   1083     esac
   1084   done
   1085 done
   1086 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1087 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1088 
   1089 # When interrupted or exit'd, cleanup temporary files, and complete
   1090 # config.log.  We remove comments because anyway the quotes in there
   1091 # would cause problems or look ugly.
   1092 # WARNING: Be sure not to use single quotes in there, as some shells,
   1093 # such as our DU 5.0 friend, will then `close' the trap.
   1094 trap 'exit_status=$?
   1095   # Save into config.log some information that might help in debugging.
   1096   {
   1097     echo
   1098 
   1099     cat <<\_ASBOX
   1100 ## ---------------- ##
   1101 ## Cache variables. ##
   1102 ## ---------------- ##
   1103 _ASBOX
   1104     echo
   1105     # The following way of writing the cache mishandles newlines in values,
   1106 {
   1107   (set) 2>&1 |
   1108     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
   1109     *ac_space=\ *)
   1110       sed -n \
   1111 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
   1112 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
   1113       ;;
   1114     *)
   1115       sed -n \
   1116 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   1117       ;;
   1118     esac;
   1119 }
   1120     echo
   1121 
   1122     cat <<\_ASBOX
   1123 ## ----------------- ##
   1124 ## Output variables. ##
   1125 ## ----------------- ##
   1126 _ASBOX
   1127     echo
   1128     for ac_var in $ac_subst_vars
   1129     do
   1130       eval ac_val=$`echo $ac_var`
   1131       echo "$ac_var='"'"'$ac_val'"'"'"
   1132     done | sort
   1133     echo
   1134 
   1135     if test -n "$ac_subst_files"; then
   1136       cat <<\_ASBOX
   1137 ## ------------- ##
   1138 ## Output files. ##
   1139 ## ------------- ##
   1140 _ASBOX
   1141       echo
   1142       for ac_var in $ac_subst_files
   1143       do
   1144 	eval ac_val=$`echo $ac_var`
   1145 	echo "$ac_var='"'"'$ac_val'"'"'"
   1146       done | sort
   1147       echo
   1148     fi
   1149 
   1150     if test -s confdefs.h; then
   1151       cat <<\_ASBOX
   1152 ## ----------- ##
   1153 ## confdefs.h. ##
   1154 ## ----------- ##
   1155 _ASBOX
   1156       echo
   1157       sed "/^$/d" confdefs.h | sort
   1158       echo
   1159     fi
   1160     test "$ac_signal" != 0 &&
   1161       echo "$as_me: caught signal $ac_signal"
   1162     echo "$as_me: exit $exit_status"
   1163   } >&5
   1164   rm -f core *.core &&
   1165   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
   1166     exit $exit_status
   1167      ' 0
   1168 for ac_signal in 1 2 13 15; do
   1169   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1170 done
   1171 ac_signal=0
   1172 
   1173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1174 rm -rf conftest* confdefs.h
   1175 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
   1176 echo >confdefs.h
   1177 
   1178 # Predefined preprocessor variables.
   1179 
   1180 cat >>confdefs.h <<_ACEOF
   1181 #define PACKAGE_NAME "$PACKAGE_NAME"
   1182 _ACEOF
   1183 
   1184 
   1185 cat >>confdefs.h <<_ACEOF
   1186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1187 _ACEOF
   1188 
   1189 
   1190 cat >>confdefs.h <<_ACEOF
   1191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1192 _ACEOF
   1193 
   1194 
   1195 cat >>confdefs.h <<_ACEOF
   1196 #define PACKAGE_STRING "$PACKAGE_STRING"
   1197 _ACEOF
   1198 
   1199 
   1200 cat >>confdefs.h <<_ACEOF
   1201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1202 _ACEOF
   1203 
   1204 
   1205 # Let the site file select an alternate cache file if it wants to.
   1206 # Prefer explicitly selected file to automatically selected ones.
   1207 if test -z "$CONFIG_SITE"; then
   1208   if test "x$prefix" != xNONE; then
   1209     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   1210   else
   1211     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1212   fi
   1213 fi
   1214 for ac_site_file in $CONFIG_SITE; do
   1215   if test -r "$ac_site_file"; then
   1216     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1217 echo "$as_me: loading site script $ac_site_file" >&6;}
   1218     sed 's/^/| /' "$ac_site_file" >&5
   1219     . "$ac_site_file"
   1220   fi
   1221 done
   1222 
   1223 if test -r "$cache_file"; then
   1224   # Some versions of bash will fail to source /dev/null (special
   1225   # files actually), so we avoid doing that.
   1226   if test -f "$cache_file"; then
   1227     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1228 echo "$as_me: loading cache $cache_file" >&6;}
   1229     case $cache_file in
   1230       [\\/]* | ?:[\\/]* ) . $cache_file;;
   1231       *)                      . ./$cache_file;;
   1232     esac
   1233   fi
   1234 else
   1235   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1236 echo "$as_me: creating cache $cache_file" >&6;}
   1237   >$cache_file
   1238 fi
   1239 
   1240 # Check that the precious variables saved in the cache have kept the same
   1241 # value.
   1242 ac_cache_corrupted=false
   1243 for ac_var in `(set) 2>&1 |
   1244 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
   1245   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1246   eval ac_new_set=\$ac_env_${ac_var}_set
   1247   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
   1248   eval ac_new_val="\$ac_env_${ac_var}_value"
   1249   case $ac_old_set,$ac_new_set in
   1250     set,)
   1251       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1252 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1253       ac_cache_corrupted=: ;;
   1254     ,set)
   1255       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1256 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1257       ac_cache_corrupted=: ;;
   1258     ,);;
   1259     *)
   1260       if test "x$ac_old_val" != "x$ac_new_val"; then
   1261 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1262 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1263 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1264 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1265 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1266 echo "$as_me:   current value: $ac_new_val" >&2;}
   1267 	ac_cache_corrupted=:
   1268       fi;;
   1269   esac
   1270   # Pass precious variables to config.status.
   1271   if test "$ac_new_set" = set; then
   1272     case $ac_new_val in
   1273     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1274       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1275     *) ac_arg=$ac_var=$ac_new_val ;;
   1276     esac
   1277     case " $ac_configure_args " in
   1278       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1279       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1280     esac
   1281   fi
   1282 done
   1283 if $ac_cache_corrupted; then
   1284   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1285 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1286   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1287 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1288    { (exit 1); exit 1; }; }
   1289 fi
   1290 
   1291 ac_ext=c
   1292 ac_cpp='$CPP $CPPFLAGS'
   1293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1296 
   1297 
   1298 
   1299 
   1300 
   1301 
   1302 
   1303 
   1304 
   1305 
   1306 
   1307 
   1308 
   1309 
   1310 
   1311 
   1312 
   1313 
   1314 
   1315           ac_config_headers="$ac_config_headers cs_config.h"
   1316 
   1317 
   1318 ac_ext=c
   1319 ac_cpp='$CPP $CPPFLAGS'
   1320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1323 if test -n "$ac_tool_prefix"; then
   1324   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   1325 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   1326 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1328 if test "${ac_cv_prog_CC+set}" = set; then
   1329   echo $ECHO_N "(cached) $ECHO_C" >&6
   1330 else
   1331   if test -n "$CC"; then
   1332   ac_cv_prog_CC="$CC" # Let the user override the test.
   1333 else
   1334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1335 for as_dir in $PATH
   1336 do
   1337   IFS=$as_save_IFS
   1338   test -z "$as_dir" && as_dir=.
   1339   for ac_exec_ext in '' $ac_executable_extensions; do
   1340   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1341     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   1342     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1343     break 2
   1344   fi
   1345 done
   1346 done
   1347 
   1348 fi
   1349 fi
   1350 CC=$ac_cv_prog_CC
   1351 if test -n "$CC"; then
   1352   echo "$as_me:$LINENO: result: $CC" >&5
   1353 echo "${ECHO_T}$CC" >&6
   1354 else
   1355   echo "$as_me:$LINENO: result: no" >&5
   1356 echo "${ECHO_T}no" >&6
   1357 fi
   1358 
   1359 fi
   1360 if test -z "$ac_cv_prog_CC"; then
   1361   ac_ct_CC=$CC
   1362   # Extract the first word of "gcc", so it can be a program name with args.
   1363 set dummy gcc; ac_word=$2
   1364 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1366 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1367   echo $ECHO_N "(cached) $ECHO_C" >&6
   1368 else
   1369   if test -n "$ac_ct_CC"; then
   1370   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1371 else
   1372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1373 for as_dir in $PATH
   1374 do
   1375   IFS=$as_save_IFS
   1376   test -z "$as_dir" && as_dir=.
   1377   for ac_exec_ext in '' $ac_executable_extensions; do
   1378   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1379     ac_cv_prog_ac_ct_CC="gcc"
   1380     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1381     break 2
   1382   fi
   1383 done
   1384 done
   1385 
   1386 fi
   1387 fi
   1388 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1389 if test -n "$ac_ct_CC"; then
   1390   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1391 echo "${ECHO_T}$ac_ct_CC" >&6
   1392 else
   1393   echo "$as_me:$LINENO: result: no" >&5
   1394 echo "${ECHO_T}no" >&6
   1395 fi
   1396 
   1397   CC=$ac_ct_CC
   1398 else
   1399   CC="$ac_cv_prog_CC"
   1400 fi
   1401 
   1402 if test -z "$CC"; then
   1403   if test -n "$ac_tool_prefix"; then
   1404   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   1405 set dummy ${ac_tool_prefix}cc; ac_word=$2
   1406 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1408 if test "${ac_cv_prog_CC+set}" = set; then
   1409   echo $ECHO_N "(cached) $ECHO_C" >&6
   1410 else
   1411   if test -n "$CC"; then
   1412   ac_cv_prog_CC="$CC" # Let the user override the test.
   1413 else
   1414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1415 for as_dir in $PATH
   1416 do
   1417   IFS=$as_save_IFS
   1418   test -z "$as_dir" && as_dir=.
   1419   for ac_exec_ext in '' $ac_executable_extensions; do
   1420   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1421     ac_cv_prog_CC="${ac_tool_prefix}cc"
   1422     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1423     break 2
   1424   fi
   1425 done
   1426 done
   1427 
   1428 fi
   1429 fi
   1430 CC=$ac_cv_prog_CC
   1431 if test -n "$CC"; then
   1432   echo "$as_me:$LINENO: result: $CC" >&5
   1433 echo "${ECHO_T}$CC" >&6
   1434 else
   1435   echo "$as_me:$LINENO: result: no" >&5
   1436 echo "${ECHO_T}no" >&6
   1437 fi
   1438 
   1439 fi
   1440 if test -z "$ac_cv_prog_CC"; then
   1441   ac_ct_CC=$CC
   1442   # Extract the first word of "cc", so it can be a program name with args.
   1443 set dummy cc; ac_word=$2
   1444 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1447   echo $ECHO_N "(cached) $ECHO_C" >&6
   1448 else
   1449   if test -n "$ac_ct_CC"; then
   1450   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1451 else
   1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1453 for as_dir in $PATH
   1454 do
   1455   IFS=$as_save_IFS
   1456   test -z "$as_dir" && as_dir=.
   1457   for ac_exec_ext in '' $ac_executable_extensions; do
   1458   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1459     ac_cv_prog_ac_ct_CC="cc"
   1460     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1461     break 2
   1462   fi
   1463 done
   1464 done
   1465 
   1466 fi
   1467 fi
   1468 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1469 if test -n "$ac_ct_CC"; then
   1470   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1471 echo "${ECHO_T}$ac_ct_CC" >&6
   1472 else
   1473   echo "$as_me:$LINENO: result: no" >&5
   1474 echo "${ECHO_T}no" >&6
   1475 fi
   1476 
   1477   CC=$ac_ct_CC
   1478 else
   1479   CC="$ac_cv_prog_CC"
   1480 fi
   1481 
   1482 fi
   1483 if test -z "$CC"; then
   1484   # Extract the first word of "cc", so it can be a program name with args.
   1485 set dummy cc; ac_word=$2
   1486 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1488 if test "${ac_cv_prog_CC+set}" = set; then
   1489   echo $ECHO_N "(cached) $ECHO_C" >&6
   1490 else
   1491   if test -n "$CC"; then
   1492   ac_cv_prog_CC="$CC" # Let the user override the test.
   1493 else
   1494   ac_prog_rejected=no
   1495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1496 for as_dir in $PATH
   1497 do
   1498   IFS=$as_save_IFS
   1499   test -z "$as_dir" && as_dir=.
   1500   for ac_exec_ext in '' $ac_executable_extensions; do
   1501   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1502     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   1503        ac_prog_rejected=yes
   1504        continue
   1505      fi
   1506     ac_cv_prog_CC="cc"
   1507     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1508     break 2
   1509   fi
   1510 done
   1511 done
   1512 
   1513 if test $ac_prog_rejected = yes; then
   1514   # We found a bogon in the path, so make sure we never use it.
   1515   set dummy $ac_cv_prog_CC
   1516   shift
   1517   if test $# != 0; then
   1518     # We chose a different compiler from the bogus one.
   1519     # However, it has the same basename, so the bogon will be chosen
   1520     # first if we set CC to just the basename; use the full file name.
   1521     shift
   1522     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   1523   fi
   1524 fi
   1525 fi
   1526 fi
   1527 CC=$ac_cv_prog_CC
   1528 if test -n "$CC"; then
   1529   echo "$as_me:$LINENO: result: $CC" >&5
   1530 echo "${ECHO_T}$CC" >&6
   1531 else
   1532   echo "$as_me:$LINENO: result: no" >&5
   1533 echo "${ECHO_T}no" >&6
   1534 fi
   1535 
   1536 fi
   1537 if test -z "$CC"; then
   1538   if test -n "$ac_tool_prefix"; then
   1539   for ac_prog in cl
   1540   do
   1541     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   1542 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   1543 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1545 if test "${ac_cv_prog_CC+set}" = set; then
   1546   echo $ECHO_N "(cached) $ECHO_C" >&6
   1547 else
   1548   if test -n "$CC"; then
   1549   ac_cv_prog_CC="$CC" # Let the user override the test.
   1550 else
   1551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1552 for as_dir in $PATH
   1553 do
   1554   IFS=$as_save_IFS
   1555   test -z "$as_dir" && as_dir=.
   1556   for ac_exec_ext in '' $ac_executable_extensions; do
   1557   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1558     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1559     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1560     break 2
   1561   fi
   1562 done
   1563 done
   1564 
   1565 fi
   1566 fi
   1567 CC=$ac_cv_prog_CC
   1568 if test -n "$CC"; then
   1569   echo "$as_me:$LINENO: result: $CC" >&5
   1570 echo "${ECHO_T}$CC" >&6
   1571 else
   1572   echo "$as_me:$LINENO: result: no" >&5
   1573 echo "${ECHO_T}no" >&6
   1574 fi
   1575 
   1576     test -n "$CC" && break
   1577   done
   1578 fi
   1579 if test -z "$CC"; then
   1580   ac_ct_CC=$CC
   1581   for ac_prog in cl
   1582 do
   1583   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1584 set dummy $ac_prog; ac_word=$2
   1585 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1588   echo $ECHO_N "(cached) $ECHO_C" >&6
   1589 else
   1590   if test -n "$ac_ct_CC"; then
   1591   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1592 else
   1593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1594 for as_dir in $PATH
   1595 do
   1596   IFS=$as_save_IFS
   1597   test -z "$as_dir" && as_dir=.
   1598   for ac_exec_ext in '' $ac_executable_extensions; do
   1599   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1600     ac_cv_prog_ac_ct_CC="$ac_prog"
   1601     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1602     break 2
   1603   fi
   1604 done
   1605 done
   1606 
   1607 fi
   1608 fi
   1609 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1610 if test -n "$ac_ct_CC"; then
   1611   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1612 echo "${ECHO_T}$ac_ct_CC" >&6
   1613 else
   1614   echo "$as_me:$LINENO: result: no" >&5
   1615 echo "${ECHO_T}no" >&6
   1616 fi
   1617 
   1618   test -n "$ac_ct_CC" && break
   1619 done
   1620 
   1621   CC=$ac_ct_CC
   1622 fi
   1623 
   1624 fi
   1625 
   1626 
   1627 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   1628 See \`config.log' for more details." >&5
   1629 echo "$as_me: error: no acceptable C compiler found in \$PATH
   1630 See \`config.log' for more details." >&2;}
   1631    { (exit 1); exit 1; }; }
   1632 
   1633 # Provide some information about the compiler.
   1634 echo "$as_me:$LINENO:" \
   1635      "checking for C compiler version" >&5
   1636 ac_compiler=`set X $ac_compile; echo $2`
   1637 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   1638   (eval $ac_compiler --version </dev/null >&5) 2>&5
   1639   ac_status=$?
   1640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1641   (exit $ac_status); }
   1642 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   1643   (eval $ac_compiler -v </dev/null >&5) 2>&5
   1644   ac_status=$?
   1645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1646   (exit $ac_status); }
   1647 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   1648   (eval $ac_compiler -V </dev/null >&5) 2>&5
   1649   ac_status=$?
   1650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1651   (exit $ac_status); }
   1652 
   1653 cat >conftest.$ac_ext <<_ACEOF
   1654 /* confdefs.h.  */
   1655 _ACEOF
   1656 cat confdefs.h >>conftest.$ac_ext
   1657 cat >>conftest.$ac_ext <<_ACEOF
   1658 /* end confdefs.h.  */
   1659 
   1660 int
   1661 main ()
   1662 {
   1663 
   1664   ;
   1665   return 0;
   1666 }
   1667 _ACEOF
   1668 ac_clean_files_save=$ac_clean_files
   1669 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   1670 # Try to create an executable without -o first, disregard a.out.
   1671 # It will help us diagnose broken compilers, and finding out an intuition
   1672 # of exeext.
   1673 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   1674 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
   1675 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   1676 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
   1677   (eval $ac_link_default) 2>&5
   1678   ac_status=$?
   1679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1680   (exit $ac_status); }; then
   1681   # Find the output, starting from the most likely.  This scheme is
   1682 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   1683 # resort.
   1684 
   1685 # Be careful to initialize this variable, since it used to be cached.
   1686 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   1687 ac_cv_exeext=
   1688 # b.out is created by i960 compilers.
   1689 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
   1690 do
   1691   test -f "$ac_file" || continue
   1692   case $ac_file in
   1693     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
   1694 	;;
   1695     conftest.$ac_ext )
   1696 	# This is the source file.
   1697 	;;
   1698     [ab].out )
   1699 	# We found the default executable, but exeext='' is most
   1700 	# certainly right.
   1701 	break;;
   1702     *.* )
   1703 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1704 	# FIXME: I believe we export ac_cv_exeext for Libtool,
   1705 	# but it would be cool to find out if it's true.  Does anybody
   1706 	# maintain Libtool? --akim.
   1707 	export ac_cv_exeext
   1708 	break;;
   1709     * )
   1710 	break;;
   1711   esac
   1712 done
   1713 else
   1714   echo "$as_me: failed program was:" >&5
   1715 sed 's/^/| /' conftest.$ac_ext >&5
   1716 
   1717 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   1718 See \`config.log' for more details." >&5
   1719 echo "$as_me: error: C compiler cannot create executables
   1720 See \`config.log' for more details." >&2;}
   1721    { (exit 77); exit 77; }; }
   1722 fi
   1723 
   1724 ac_exeext=$ac_cv_exeext
   1725 echo "$as_me:$LINENO: result: $ac_file" >&5
   1726 echo "${ECHO_T}$ac_file" >&6
   1727 
   1728 # Check the compiler produces executables we can run.  If not, either
   1729 # the compiler is broken, or we cross compile.
   1730 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   1731 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   1732 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   1733 # If not cross compiling, check that we can run a simple program.
   1734 if test "$cross_compiling" != yes; then
   1735   if { ac_try='./$ac_file'
   1736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1737   (eval $ac_try) 2>&5
   1738   ac_status=$?
   1739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1740   (exit $ac_status); }; }; then
   1741     cross_compiling=no
   1742   else
   1743     if test "$cross_compiling" = maybe; then
   1744 	cross_compiling=yes
   1745     else
   1746 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   1747 If you meant to cross compile, use \`--host'.
   1748 See \`config.log' for more details." >&5
   1749 echo "$as_me: error: cannot run C compiled programs.
   1750 If you meant to cross compile, use \`--host'.
   1751 See \`config.log' for more details." >&2;}
   1752    { (exit 1); exit 1; }; }
   1753     fi
   1754   fi
   1755 fi
   1756 echo "$as_me:$LINENO: result: yes" >&5
   1757 echo "${ECHO_T}yes" >&6
   1758 
   1759 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   1760 ac_clean_files=$ac_clean_files_save
   1761 # Check the compiler produces executables we can run.  If not, either
   1762 # the compiler is broken, or we cross compile.
   1763 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   1764 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   1765 echo "$as_me:$LINENO: result: $cross_compiling" >&5
   1766 echo "${ECHO_T}$cross_compiling" >&6
   1767 
   1768 echo "$as_me:$LINENO: checking for suffix of executables" >&5
   1769 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
   1770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   1771   (eval $ac_link) 2>&5
   1772   ac_status=$?
   1773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1774   (exit $ac_status); }; then
   1775   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   1776 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   1777 # work properly (i.e., refer to `conftest.exe'), while it won't with
   1778 # `rm'.
   1779 for ac_file in conftest.exe conftest conftest.*; do
   1780   test -f "$ac_file" || continue
   1781   case $ac_file in
   1782     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
   1783     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1784 	  export ac_cv_exeext
   1785 	  break;;
   1786     * ) break;;
   1787   esac
   1788 done
   1789 else
   1790   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   1791 See \`config.log' for more details." >&5
   1792 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   1793 See \`config.log' for more details." >&2;}
   1794    { (exit 1); exit 1; }; }
   1795 fi
   1796 
   1797 rm -f conftest$ac_cv_exeext
   1798 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   1799 echo "${ECHO_T}$ac_cv_exeext" >&6
   1800 
   1801 rm -f conftest.$ac_ext
   1802 EXEEXT=$ac_cv_exeext
   1803 ac_exeext=$EXEEXT
   1804 echo "$as_me:$LINENO: checking for suffix of object files" >&5
   1805 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
   1806 if test "${ac_cv_objext+set}" = set; then
   1807   echo $ECHO_N "(cached) $ECHO_C" >&6
   1808 else
   1809   cat >conftest.$ac_ext <<_ACEOF
   1810 /* confdefs.h.  */
   1811 _ACEOF
   1812 cat confdefs.h >>conftest.$ac_ext
   1813 cat >>conftest.$ac_ext <<_ACEOF
   1814 /* end confdefs.h.  */
   1815 
   1816 int
   1817 main ()
   1818 {
   1819 
   1820   ;
   1821   return 0;
   1822 }
   1823 _ACEOF
   1824 rm -f conftest.o conftest.obj
   1825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   1826   (eval $ac_compile) 2>&5
   1827   ac_status=$?
   1828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1829   (exit $ac_status); }; then
   1830   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   1831   case $ac_file in
   1832     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
   1833     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   1834        break;;
   1835   esac
   1836 done
   1837 else
   1838   echo "$as_me: failed program was:" >&5
   1839 sed 's/^/| /' conftest.$ac_ext >&5
   1840 
   1841 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   1842 See \`config.log' for more details." >&5
   1843 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   1844 See \`config.log' for more details." >&2;}
   1845    { (exit 1); exit 1; }; }
   1846 fi
   1847 
   1848 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   1849 fi
   1850 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   1851 echo "${ECHO_T}$ac_cv_objext" >&6
   1852 OBJEXT=$ac_cv_objext
   1853 ac_objext=$OBJEXT
   1854 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   1855 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   1856 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   1857   echo $ECHO_N "(cached) $ECHO_C" >&6
   1858 else
   1859   cat >conftest.$ac_ext <<_ACEOF
   1860 /* confdefs.h.  */
   1861 _ACEOF
   1862 cat confdefs.h >>conftest.$ac_ext
   1863 cat >>conftest.$ac_ext <<_ACEOF
   1864 /* end confdefs.h.  */
   1865 
   1866 int
   1867 main ()
   1868 {
   1869 #ifndef __GNUC__
   1870        choke me
   1871 #endif
   1872 
   1873   ;
   1874   return 0;
   1875 }
   1876 _ACEOF
   1877 rm -f conftest.$ac_objext
   1878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   1879   (eval $ac_compile) 2>conftest.er1
   1880   ac_status=$?
   1881   grep -v '^ *+' conftest.er1 >conftest.err
   1882   rm -f conftest.er1
   1883   cat conftest.err >&5
   1884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1885   (exit $ac_status); } &&
   1886 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1888   (eval $ac_try) 2>&5
   1889   ac_status=$?
   1890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1891   (exit $ac_status); }; } &&
   1892 	 { ac_try='test -s conftest.$ac_objext'
   1893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1894   (eval $ac_try) 2>&5
   1895   ac_status=$?
   1896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1897   (exit $ac_status); }; }; then
   1898   ac_compiler_gnu=yes
   1899 else
   1900   echo "$as_me: failed program was:" >&5
   1901 sed 's/^/| /' conftest.$ac_ext >&5
   1902 
   1903 ac_compiler_gnu=no
   1904 fi
   1905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   1906 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   1907 
   1908 fi
   1909 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   1910 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   1911 GCC=`test $ac_compiler_gnu = yes && echo yes`
   1912 ac_test_CFLAGS=${CFLAGS+set}
   1913 ac_save_CFLAGS=$CFLAGS
   1914 CFLAGS="-g"
   1915 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   1916 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   1917 if test "${ac_cv_prog_cc_g+set}" = set; then
   1918   echo $ECHO_N "(cached) $ECHO_C" >&6
   1919 else
   1920   cat >conftest.$ac_ext <<_ACEOF
   1921 /* confdefs.h.  */
   1922 _ACEOF
   1923 cat confdefs.h >>conftest.$ac_ext
   1924 cat >>conftest.$ac_ext <<_ACEOF
   1925 /* end confdefs.h.  */
   1926 
   1927 int
   1928 main ()
   1929 {
   1930 
   1931   ;
   1932   return 0;
   1933 }
   1934 _ACEOF
   1935 rm -f conftest.$ac_objext
   1936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   1937   (eval $ac_compile) 2>conftest.er1
   1938   ac_status=$?
   1939   grep -v '^ *+' conftest.er1 >conftest.err
   1940   rm -f conftest.er1
   1941   cat conftest.err >&5
   1942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1943   (exit $ac_status); } &&
   1944 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   1945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1946   (eval $ac_try) 2>&5
   1947   ac_status=$?
   1948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1949   (exit $ac_status); }; } &&
   1950 	 { ac_try='test -s conftest.$ac_objext'
   1951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1952   (eval $ac_try) 2>&5
   1953   ac_status=$?
   1954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1955   (exit $ac_status); }; }; then
   1956   ac_cv_prog_cc_g=yes
   1957 else
   1958   echo "$as_me: failed program was:" >&5
   1959 sed 's/^/| /' conftest.$ac_ext >&5
   1960 
   1961 ac_cv_prog_cc_g=no
   1962 fi
   1963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   1964 fi
   1965 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   1966 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   1967 if test "$ac_test_CFLAGS" = set; then
   1968   CFLAGS=$ac_save_CFLAGS
   1969 elif test $ac_cv_prog_cc_g = yes; then
   1970   if test "$GCC" = yes; then
   1971     CFLAGS="-g -O2"
   1972   else
   1973     CFLAGS="-g"
   1974   fi
   1975 else
   1976   if test "$GCC" = yes; then
   1977     CFLAGS="-O2"
   1978   else
   1979     CFLAGS=
   1980   fi
   1981 fi
   1982 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   1983 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   1984 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   1985   echo $ECHO_N "(cached) $ECHO_C" >&6
   1986 else
   1987   ac_cv_prog_cc_stdc=no
   1988 ac_save_CC=$CC
   1989 cat >conftest.$ac_ext <<_ACEOF
   1990 /* confdefs.h.  */
   1991 _ACEOF
   1992 cat confdefs.h >>conftest.$ac_ext
   1993 cat >>conftest.$ac_ext <<_ACEOF
   1994 /* end confdefs.h.  */
   1995 #include <stdarg.h>
   1996 #include <stdio.h>
   1997 #include <sys/types.h>
   1998 #include <sys/stat.h>
   1999 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2000 struct buf { int x; };
   2001 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2002 static char *e (p, i)
   2003      char **p;
   2004      int i;
   2005 {
   2006   return p[i];
   2007 }
   2008 static char *f (char * (*g) (char **, int), char **p, ...)
   2009 {
   2010   char *s;
   2011   va_list v;
   2012   va_start (v,p);
   2013   s = g (p, va_arg (v,int));
   2014   va_end (v);
   2015   return s;
   2016 }
   2017 
   2018 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2019    function prototypes and stuff, but not '\xHH' hex character constants.
   2020    These don't provoke an error unfortunately, instead are silently treated
   2021    as 'x'.  The following induces an error, until -std1 is added to get
   2022    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2023    array size at least.  It's necessary to write '\x00'==0 to get something
   2024    that's true only with -std1.  */
   2025 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2026 
   2027 int test (int i, double x);
   2028 struct s1 {int (*f) (int a);};
   2029 struct s2 {int (*f) (double a);};
   2030 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2031 int argc;
   2032 char **argv;
   2033 int
   2034 main ()
   2035 {
   2036 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2037   ;
   2038   return 0;
   2039 }
   2040 _ACEOF
   2041 # Don't try gcc -ansi; that turns off useful extensions and
   2042 # breaks some systems' header files.
   2043 # AIX			-qlanglvl=ansi
   2044 # Ultrix and OSF/1	-std1
   2045 # HP-UX 10.20 and later	-Ae
   2046 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   2047 # SVR4			-Xc -D__EXTENSIONS__
   2048 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2049 do
   2050   CC="$ac_save_CC $ac_arg"
   2051   rm -f conftest.$ac_objext
   2052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2053   (eval $ac_compile) 2>conftest.er1
   2054   ac_status=$?
   2055   grep -v '^ *+' conftest.er1 >conftest.err
   2056   rm -f conftest.er1
   2057   cat conftest.err >&5
   2058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2059   (exit $ac_status); } &&
   2060 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2062   (eval $ac_try) 2>&5
   2063   ac_status=$?
   2064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2065   (exit $ac_status); }; } &&
   2066 	 { ac_try='test -s conftest.$ac_objext'
   2067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2068   (eval $ac_try) 2>&5
   2069   ac_status=$?
   2070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2071   (exit $ac_status); }; }; then
   2072   ac_cv_prog_cc_stdc=$ac_arg
   2073 break
   2074 else
   2075   echo "$as_me: failed program was:" >&5
   2076 sed 's/^/| /' conftest.$ac_ext >&5
   2077 
   2078 fi
   2079 rm -f conftest.err conftest.$ac_objext
   2080 done
   2081 rm -f conftest.$ac_ext conftest.$ac_objext
   2082 CC=$ac_save_CC
   2083 
   2084 fi
   2085 
   2086 case "x$ac_cv_prog_cc_stdc" in
   2087   x|xno)
   2088     echo "$as_me:$LINENO: result: none needed" >&5
   2089 echo "${ECHO_T}none needed" >&6 ;;
   2090   *)
   2091     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   2092 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   2093     CC="$CC $ac_cv_prog_cc_stdc" ;;
   2094 esac
   2095 
   2096 # Some people use a C++ compiler to compile C.  Since we use `exit',
   2097 # in C++ we need to declare it.  In case someone uses the same compiler
   2098 # for both compiling C and C++ we need to have the C++ compiler decide
   2099 # the declaration of exit, since it's the most demanding environment.
   2100 cat >conftest.$ac_ext <<_ACEOF
   2101 #ifndef __cplusplus
   2102   choke me
   2103 #endif
   2104 _ACEOF
   2105 rm -f conftest.$ac_objext
   2106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2107   (eval $ac_compile) 2>conftest.er1
   2108   ac_status=$?
   2109   grep -v '^ *+' conftest.er1 >conftest.err
   2110   rm -f conftest.er1
   2111   cat conftest.err >&5
   2112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2113   (exit $ac_status); } &&
   2114 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2116   (eval $ac_try) 2>&5
   2117   ac_status=$?
   2118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2119   (exit $ac_status); }; } &&
   2120 	 { ac_try='test -s conftest.$ac_objext'
   2121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2122   (eval $ac_try) 2>&5
   2123   ac_status=$?
   2124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2125   (exit $ac_status); }; }; then
   2126   for ac_declaration in \
   2127    '' \
   2128    'extern "C" void std::exit (int) throw (); using std::exit;' \
   2129    'extern "C" void std::exit (int); using std::exit;' \
   2130    'extern "C" void exit (int) throw ();' \
   2131    'extern "C" void exit (int);' \
   2132    'void exit (int);'
   2133 do
   2134   cat >conftest.$ac_ext <<_ACEOF
   2135 /* confdefs.h.  */
   2136 _ACEOF
   2137 cat confdefs.h >>conftest.$ac_ext
   2138 cat >>conftest.$ac_ext <<_ACEOF
   2139 /* end confdefs.h.  */
   2140 $ac_declaration
   2141 #include <stdlib.h>
   2142 int
   2143 main ()
   2144 {
   2145 exit (42);
   2146   ;
   2147   return 0;
   2148 }
   2149 _ACEOF
   2150 rm -f conftest.$ac_objext
   2151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2152   (eval $ac_compile) 2>conftest.er1
   2153   ac_status=$?
   2154   grep -v '^ *+' conftest.er1 >conftest.err
   2155   rm -f conftest.er1
   2156   cat conftest.err >&5
   2157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2158   (exit $ac_status); } &&
   2159 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2161   (eval $ac_try) 2>&5
   2162   ac_status=$?
   2163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2164   (exit $ac_status); }; } &&
   2165 	 { ac_try='test -s conftest.$ac_objext'
   2166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2167   (eval $ac_try) 2>&5
   2168   ac_status=$?
   2169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2170   (exit $ac_status); }; }; then
   2171   :
   2172 else
   2173   echo "$as_me: failed program was:" >&5
   2174 sed 's/^/| /' conftest.$ac_ext >&5
   2175 
   2176 continue
   2177 fi
   2178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2179   cat >conftest.$ac_ext <<_ACEOF
   2180 /* confdefs.h.  */
   2181 _ACEOF
   2182 cat confdefs.h >>conftest.$ac_ext
   2183 cat >>conftest.$ac_ext <<_ACEOF
   2184 /* end confdefs.h.  */
   2185 $ac_declaration
   2186 int
   2187 main ()
   2188 {
   2189 exit (42);
   2190   ;
   2191   return 0;
   2192 }
   2193 _ACEOF
   2194 rm -f conftest.$ac_objext
   2195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2196   (eval $ac_compile) 2>conftest.er1
   2197   ac_status=$?
   2198   grep -v '^ *+' conftest.er1 >conftest.err
   2199   rm -f conftest.er1
   2200   cat conftest.err >&5
   2201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2202   (exit $ac_status); } &&
   2203 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2205   (eval $ac_try) 2>&5
   2206   ac_status=$?
   2207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2208   (exit $ac_status); }; } &&
   2209 	 { ac_try='test -s conftest.$ac_objext'
   2210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2211   (eval $ac_try) 2>&5
   2212   ac_status=$?
   2213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2214   (exit $ac_status); }; }; then
   2215   break
   2216 else
   2217   echo "$as_me: failed program was:" >&5
   2218 sed 's/^/| /' conftest.$ac_ext >&5
   2219 
   2220 fi
   2221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2222 done
   2223 rm -f conftest*
   2224 if test -n "$ac_declaration"; then
   2225   echo '#ifdef __cplusplus' >>confdefs.h
   2226   echo $ac_declaration      >>confdefs.h
   2227   echo '#endif'             >>confdefs.h
   2228 fi
   2229 
   2230 else
   2231   echo "$as_me: failed program was:" >&5
   2232 sed 's/^/| /' conftest.$ac_ext >&5
   2233 
   2234 fi
   2235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2236 ac_ext=c
   2237 ac_cpp='$CPP $CPPFLAGS'
   2238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2241 
   2242 ac_ext=c
   2243 ac_cpp='$CPP $CPPFLAGS'
   2244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2247 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   2248 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   2249 # On Suns, sometimes $CPP names a directory.
   2250 if test -n "$CPP" && test -d "$CPP"; then
   2251   CPP=
   2252 fi
   2253 if test -z "$CPP"; then
   2254   if test "${ac_cv_prog_CPP+set}" = set; then
   2255   echo $ECHO_N "(cached) $ECHO_C" >&6
   2256 else
   2257       # Double quotes because CPP needs to be expanded
   2258     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   2259     do
   2260       ac_preproc_ok=false
   2261 for ac_c_preproc_warn_flag in '' yes
   2262 do
   2263   # Use a header file that comes with gcc, so configuring glibc
   2264   # with a fresh cross-compiler works.
   2265   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2266   # <limits.h> exists even on freestanding compilers.
   2267   # On the NeXT, cc -E runs the code through the compiler's parser,
   2268   # not just through cpp. "Syntax error" is here to catch this case.
   2269   cat >conftest.$ac_ext <<_ACEOF
   2270 /* confdefs.h.  */
   2271 _ACEOF
   2272 cat confdefs.h >>conftest.$ac_ext
   2273 cat >>conftest.$ac_ext <<_ACEOF
   2274 /* end confdefs.h.  */
   2275 #ifdef __STDC__
   2276 # include <limits.h>
   2277 #else
   2278 # include <assert.h>
   2279 #endif
   2280 		     Syntax error
   2281 _ACEOF
   2282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   2283   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2284   ac_status=$?
   2285   grep -v '^ *+' conftest.er1 >conftest.err
   2286   rm -f conftest.er1
   2287   cat conftest.err >&5
   2288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2289   (exit $ac_status); } >/dev/null; then
   2290   if test -s conftest.err; then
   2291     ac_cpp_err=$ac_c_preproc_warn_flag
   2292     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   2293   else
   2294     ac_cpp_err=
   2295   fi
   2296 else
   2297   ac_cpp_err=yes
   2298 fi
   2299 if test -z "$ac_cpp_err"; then
   2300   :
   2301 else
   2302   echo "$as_me: failed program was:" >&5
   2303 sed 's/^/| /' conftest.$ac_ext >&5
   2304 
   2305   # Broken: fails on valid input.
   2306 continue
   2307 fi
   2308 rm -f conftest.err conftest.$ac_ext
   2309 
   2310   # OK, works on sane cases.  Now check whether non-existent headers
   2311   # can be detected and how.
   2312   cat >conftest.$ac_ext <<_ACEOF
   2313 /* confdefs.h.  */
   2314 _ACEOF
   2315 cat confdefs.h >>conftest.$ac_ext
   2316 cat >>conftest.$ac_ext <<_ACEOF
   2317 /* end confdefs.h.  */
   2318 #include <ac_nonexistent.h>
   2319 _ACEOF
   2320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   2321   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2322   ac_status=$?
   2323   grep -v '^ *+' conftest.er1 >conftest.err
   2324   rm -f conftest.er1
   2325   cat conftest.err >&5
   2326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2327   (exit $ac_status); } >/dev/null; then
   2328   if test -s conftest.err; then
   2329     ac_cpp_err=$ac_c_preproc_warn_flag
   2330     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   2331   else
   2332     ac_cpp_err=
   2333   fi
   2334 else
   2335   ac_cpp_err=yes
   2336 fi
   2337 if test -z "$ac_cpp_err"; then
   2338   # Broken: success on invalid input.
   2339 continue
   2340 else
   2341   echo "$as_me: failed program was:" >&5
   2342 sed 's/^/| /' conftest.$ac_ext >&5
   2343 
   2344   # Passes both tests.
   2345 ac_preproc_ok=:
   2346 break
   2347 fi
   2348 rm -f conftest.err conftest.$ac_ext
   2349 
   2350 done
   2351 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   2352 rm -f conftest.err conftest.$ac_ext
   2353 if $ac_preproc_ok; then
   2354   break
   2355 fi
   2356 
   2357     done
   2358     ac_cv_prog_CPP=$CPP
   2359 
   2360 fi
   2361   CPP=$ac_cv_prog_CPP
   2362 else
   2363   ac_cv_prog_CPP=$CPP
   2364 fi
   2365 echo "$as_me:$LINENO: result: $CPP" >&5
   2366 echo "${ECHO_T}$CPP" >&6
   2367 ac_preproc_ok=false
   2368 for ac_c_preproc_warn_flag in '' yes
   2369 do
   2370   # Use a header file that comes with gcc, so configuring glibc
   2371   # with a fresh cross-compiler works.
   2372   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2373   # <limits.h> exists even on freestanding compilers.
   2374   # On the NeXT, cc -E runs the code through the compiler's parser,
   2375   # not just through cpp. "Syntax error" is here to catch this case.
   2376   cat >conftest.$ac_ext <<_ACEOF
   2377 /* confdefs.h.  */
   2378 _ACEOF
   2379 cat confdefs.h >>conftest.$ac_ext
   2380 cat >>conftest.$ac_ext <<_ACEOF
   2381 /* end confdefs.h.  */
   2382 #ifdef __STDC__
   2383 # include <limits.h>
   2384 #else
   2385 # include <assert.h>
   2386 #endif
   2387 		     Syntax error
   2388 _ACEOF
   2389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   2390   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2391   ac_status=$?
   2392   grep -v '^ *+' conftest.er1 >conftest.err
   2393   rm -f conftest.er1
   2394   cat conftest.err >&5
   2395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2396   (exit $ac_status); } >/dev/null; then
   2397   if test -s conftest.err; then
   2398     ac_cpp_err=$ac_c_preproc_warn_flag
   2399     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   2400   else
   2401     ac_cpp_err=
   2402   fi
   2403 else
   2404   ac_cpp_err=yes
   2405 fi
   2406 if test -z "$ac_cpp_err"; then
   2407   :
   2408 else
   2409   echo "$as_me: failed program was:" >&5
   2410 sed 's/^/| /' conftest.$ac_ext >&5
   2411 
   2412   # Broken: fails on valid input.
   2413 continue
   2414 fi
   2415 rm -f conftest.err conftest.$ac_ext
   2416 
   2417   # OK, works on sane cases.  Now check whether non-existent headers
   2418   # can be detected and how.
   2419   cat >conftest.$ac_ext <<_ACEOF
   2420 /* confdefs.h.  */
   2421 _ACEOF
   2422 cat confdefs.h >>conftest.$ac_ext
   2423 cat >>conftest.$ac_ext <<_ACEOF
   2424 /* end confdefs.h.  */
   2425 #include <ac_nonexistent.h>
   2426 _ACEOF
   2427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   2428   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2429   ac_status=$?
   2430   grep -v '^ *+' conftest.er1 >conftest.err
   2431   rm -f conftest.er1
   2432   cat conftest.err >&5
   2433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2434   (exit $ac_status); } >/dev/null; then
   2435   if test -s conftest.err; then
   2436     ac_cpp_err=$ac_c_preproc_warn_flag
   2437     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   2438   else
   2439     ac_cpp_err=
   2440   fi
   2441 else
   2442   ac_cpp_err=yes
   2443 fi
   2444 if test -z "$ac_cpp_err"; then
   2445   # Broken: success on invalid input.
   2446 continue
   2447 else
   2448   echo "$as_me: failed program was:" >&5
   2449 sed 's/^/| /' conftest.$ac_ext >&5
   2450 
   2451   # Passes both tests.
   2452 ac_preproc_ok=:
   2453 break
   2454 fi
   2455 rm -f conftest.err conftest.$ac_ext
   2456 
   2457 done
   2458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   2459 rm -f conftest.err conftest.$ac_ext
   2460 if $ac_preproc_ok; then
   2461   :
   2462 else
   2463   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   2464 See \`config.log' for more details." >&5
   2465 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   2466 See \`config.log' for more details." >&2;}
   2467    { (exit 1); exit 1; }; }
   2468 fi
   2469 
   2470 ac_ext=c
   2471 ac_cpp='$CPP $CPPFLAGS'
   2472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2475 
   2476 echo "$as_me:$LINENO: checking whether ln -s works" >&5
   2477 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
   2478 LN_S=$as_ln_s
   2479 if test "$LN_S" = "ln -s"; then
   2480   echo "$as_me:$LINENO: result: yes" >&5
   2481 echo "${ECHO_T}yes" >&6
   2482 else
   2483   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   2484 echo "${ECHO_T}no, using $LN_S" >&6
   2485 fi
   2486 
   2487 for ac_prog in ar aal
   2488 do
   2489   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2490 set dummy $ac_prog; ac_word=$2
   2491 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2493 if test "${ac_cv_prog_AR+set}" = set; then
   2494   echo $ECHO_N "(cached) $ECHO_C" >&6
   2495 else
   2496   if test -n "$AR"; then
   2497   ac_cv_prog_AR="$AR" # Let the user override the test.
   2498 else
   2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2500 for as_dir in $PATH
   2501 do
   2502   IFS=$as_save_IFS
   2503   test -z "$as_dir" && as_dir=.
   2504   for ac_exec_ext in '' $ac_executable_extensions; do
   2505   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2506     ac_cv_prog_AR="$ac_prog"
   2507     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2508     break 2
   2509   fi
   2510 done
   2511 done
   2512 
   2513 fi
   2514 fi
   2515 AR=$ac_cv_prog_AR
   2516 if test -n "$AR"; then
   2517   echo "$as_me:$LINENO: result: $AR" >&5
   2518 echo "${ECHO_T}$AR" >&6
   2519 else
   2520   echo "$as_me:$LINENO: result: no" >&5
   2521 echo "${ECHO_T}no" >&6
   2522 fi
   2523 
   2524   test -n "$AR" && break
   2525 done
   2526 test -n "$AR" || AR="ar"
   2527 
   2528 if test -n "$ac_tool_prefix"; then
   2529   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   2530 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   2531 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2533 if test "${ac_cv_prog_RANLIB+set}" = set; then
   2534   echo $ECHO_N "(cached) $ECHO_C" >&6
   2535 else
   2536   if test -n "$RANLIB"; then
   2537   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   2538 else
   2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2540 for as_dir in $PATH
   2541 do
   2542   IFS=$as_save_IFS
   2543   test -z "$as_dir" && as_dir=.
   2544   for ac_exec_ext in '' $ac_executable_extensions; do
   2545   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2546     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   2547     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2548     break 2
   2549   fi
   2550 done
   2551 done
   2552 
   2553 fi
   2554 fi
   2555 RANLIB=$ac_cv_prog_RANLIB
   2556 if test -n "$RANLIB"; then
   2557   echo "$as_me:$LINENO: result: $RANLIB" >&5
   2558 echo "${ECHO_T}$RANLIB" >&6
   2559 else
   2560   echo "$as_me:$LINENO: result: no" >&5
   2561 echo "${ECHO_T}no" >&6
   2562 fi
   2563 
   2564 fi
   2565 if test -z "$ac_cv_prog_RANLIB"; then
   2566   ac_ct_RANLIB=$RANLIB
   2567   # Extract the first word of "ranlib", so it can be a program name with args.
   2568 set dummy ranlib; ac_word=$2
   2569 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2571 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   2572   echo $ECHO_N "(cached) $ECHO_C" >&6
   2573 else
   2574   if test -n "$ac_ct_RANLIB"; then
   2575   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   2576 else
   2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2578 for as_dir in $PATH
   2579 do
   2580   IFS=$as_save_IFS
   2581   test -z "$as_dir" && as_dir=.
   2582   for ac_exec_ext in '' $ac_executable_extensions; do
   2583   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2584     ac_cv_prog_ac_ct_RANLIB="ranlib"
   2585     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2586     break 2
   2587   fi
   2588 done
   2589 done
   2590 
   2591   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
   2592 fi
   2593 fi
   2594 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   2595 if test -n "$ac_ct_RANLIB"; then
   2596   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   2597 echo "${ECHO_T}$ac_ct_RANLIB" >&6
   2598 else
   2599   echo "$as_me:$LINENO: result: no" >&5
   2600 echo "${ECHO_T}no" >&6
   2601 fi
   2602 
   2603   RANLIB=$ac_ct_RANLIB
   2604 else
   2605   RANLIB="$ac_cv_prog_RANLIB"
   2606 fi
   2607 
   2608 
   2609 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2610 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
   2611 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
   2612 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   2613   echo $ECHO_N "(cached) $ECHO_C" >&6
   2614 else
   2615   cat >conftest.make <<\_ACEOF
   2616 all:
   2617 	@echo 'ac_maketemp="$(MAKE)"'
   2618 _ACEOF
   2619 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2620 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   2621 if test -n "$ac_maketemp"; then
   2622   eval ac_cv_prog_make_${ac_make}_set=yes
   2623 else
   2624   eval ac_cv_prog_make_${ac_make}_set=no
   2625 fi
   2626 rm -f conftest.make
   2627 fi
   2628 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   2629   echo "$as_me:$LINENO: result: yes" >&5
   2630 echo "${ECHO_T}yes" >&6
   2631   SET_MAKE=
   2632 else
   2633   echo "$as_me:$LINENO: result: no" >&5
   2634 echo "${ECHO_T}no" >&6
   2635   SET_MAKE="MAKE=${MAKE-make}"
   2636 fi
   2637 
   2638 ac_aux_dir=
   2639 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   2640   if test -f $ac_dir/install-sh; then
   2641     ac_aux_dir=$ac_dir
   2642     ac_install_sh="$ac_aux_dir/install-sh -c"
   2643     break
   2644   elif test -f $ac_dir/install.sh; then
   2645     ac_aux_dir=$ac_dir
   2646     ac_install_sh="$ac_aux_dir/install.sh -c"
   2647     break
   2648   elif test -f $ac_dir/shtool; then
   2649     ac_aux_dir=$ac_dir
   2650     ac_install_sh="$ac_aux_dir/shtool install -c"
   2651     break
   2652   fi
   2653 done
   2654 if test -z "$ac_aux_dir"; then
   2655   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
   2656 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
   2657    { (exit 1); exit 1; }; }
   2658 fi
   2659 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
   2660 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
   2661 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   2662 
   2663 # Find a good install program.  We prefer a C program (faster),
   2664 # so one script is as good as another.  But avoid the broken or
   2665 # incompatible versions:
   2666 # SysV /etc/install, /usr/sbin/install
   2667 # SunOS /usr/etc/install
   2668 # IRIX /sbin/install
   2669 # AIX /bin/install
   2670 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2671 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2672 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2673 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2674 # OS/2's system install, which has a completely different semantic
   2675 # ./install, which can be erroneously created by make from ./install.sh.
   2676 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2677 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   2678 if test -z "$INSTALL"; then
   2679 if test "${ac_cv_path_install+set}" = set; then
   2680   echo $ECHO_N "(cached) $ECHO_C" >&6
   2681 else
   2682   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2683 for as_dir in $PATH
   2684 do
   2685   IFS=$as_save_IFS
   2686   test -z "$as_dir" && as_dir=.
   2687   # Account for people who put trailing slashes in PATH elements.
   2688 case $as_dir/ in
   2689   ./ | .// | /cC/* | \
   2690   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2691   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2692   /usr/ucb/* ) ;;
   2693   *)
   2694     # OSF1 and SCO ODT 3.0 have their own names for install.
   2695     # Don't use installbsd from OSF since it installs stuff as root
   2696     # by default.
   2697     for ac_prog in ginstall scoinst install; do
   2698       for ac_exec_ext in '' $ac_executable_extensions; do
   2699 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2700 	  if test $ac_prog = install &&
   2701 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2702 	    # AIX install.  It has an incompatible calling convention.
   2703 	    :
   2704 	  elif test $ac_prog = install &&
   2705 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2706 	    # program-specific install script used by HP pwplus--don't use.
   2707 	    :
   2708 	  else
   2709 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2710 	    break 3
   2711 	  fi
   2712 	fi
   2713       done
   2714     done
   2715     ;;
   2716 esac
   2717 done
   2718 
   2719 
   2720 fi
   2721   if test "${ac_cv_path_install+set}" = set; then
   2722     INSTALL=$ac_cv_path_install
   2723   else
   2724     # As a last resort, use the slow shell script.  We don't cache a
   2725     # path for INSTALL within a source directory, because that will
   2726     # break other packages using the cache if that directory is
   2727     # removed, or if the path is relative.
   2728     INSTALL=$ac_install_sh
   2729   fi
   2730 fi
   2731 echo "$as_me:$LINENO: result: $INSTALL" >&5
   2732 echo "${ECHO_T}$INSTALL" >&6
   2733 
   2734 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2735 # It thinks the first close brace ends the variable substitution.
   2736 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2737 
   2738 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2739 
   2740 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2741 
   2742 
   2743 echo "$as_me:$LINENO: checking for Neotonic Paths" >&5
   2744 echo $ECHO_N "checking for Neotonic Paths... $ECHO_C" >&6
   2745 if test -d /neo/opt/include; then
   2746   echo "$as_me:$LINENO: result: found" >&5
   2747 echo "${ECHO_T}found" >&6
   2748   CPPFLAGS="$CPPFLAGS -I/neo/opt/include"
   2749   LDFLAGS="$LDFLAGS -L/neo/opt/lib"
   2750 else
   2751   echo "$as_me:$LINENO: result: not found" >&5
   2752 echo "${ECHO_T}not found" >&6
   2753 fi
   2754 
   2755 
   2756 
   2757 
   2758 
   2759 
   2760 
   2761 ac_header_dirent=no
   2762 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   2763   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   2764 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
   2765 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
   2766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   2767   echo $ECHO_N "(cached) $ECHO_C" >&6
   2768 else
   2769   cat >conftest.$ac_ext <<_ACEOF
   2770 /* confdefs.h.  */
   2771 _ACEOF
   2772 cat confdefs.h >>conftest.$ac_ext
   2773 cat >>conftest.$ac_ext <<_ACEOF
   2774 /* end confdefs.h.  */
   2775 #include <sys/types.h>
   2776 #include <$ac_hdr>
   2777 
   2778 int
   2779 main ()
   2780 {
   2781 if ((DIR *) 0)
   2782 return 0;
   2783   ;
   2784   return 0;
   2785 }
   2786 _ACEOF
   2787 rm -f conftest.$ac_objext
   2788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2789   (eval $ac_compile) 2>conftest.er1
   2790   ac_status=$?
   2791   grep -v '^ *+' conftest.er1 >conftest.err
   2792   rm -f conftest.er1
   2793   cat conftest.err >&5
   2794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2795   (exit $ac_status); } &&
   2796 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2798   (eval $ac_try) 2>&5
   2799   ac_status=$?
   2800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2801   (exit $ac_status); }; } &&
   2802 	 { ac_try='test -s conftest.$ac_objext'
   2803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2804   (eval $ac_try) 2>&5
   2805   ac_status=$?
   2806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2807   (exit $ac_status); }; }; then
   2808   eval "$as_ac_Header=yes"
   2809 else
   2810   echo "$as_me: failed program was:" >&5
   2811 sed 's/^/| /' conftest.$ac_ext >&5
   2812 
   2813 eval "$as_ac_Header=no"
   2814 fi
   2815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2816 fi
   2817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   2818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   2819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   2820   cat >>confdefs.h <<_ACEOF
   2821 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   2822 _ACEOF
   2823 
   2824 ac_header_dirent=$ac_hdr; break
   2825 fi
   2826 
   2827 done
   2828 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   2829 if test $ac_header_dirent = dirent.h; then
   2830   echo "$as_me:$LINENO: checking for library containing opendir" >&5
   2831 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
   2832 if test "${ac_cv_search_opendir+set}" = set; then
   2833   echo $ECHO_N "(cached) $ECHO_C" >&6
   2834 else
   2835   ac_func_search_save_LIBS=$LIBS
   2836 ac_cv_search_opendir=no
   2837 cat >conftest.$ac_ext <<_ACEOF
   2838 /* confdefs.h.  */
   2839 _ACEOF
   2840 cat confdefs.h >>conftest.$ac_ext
   2841 cat >>conftest.$ac_ext <<_ACEOF
   2842 /* end confdefs.h.  */
   2843 
   2844 /* Override any gcc2 internal prototype to avoid an error.  */
   2845 #ifdef __cplusplus
   2846 extern "C"
   2847 #endif
   2848 /* We use char because int might match the return type of a gcc2
   2849    builtin and then its argument prototype would still apply.  */
   2850 char opendir ();
   2851 int
   2852 main ()
   2853 {
   2854 opendir ();
   2855   ;
   2856   return 0;
   2857 }
   2858 _ACEOF
   2859 rm -f conftest.$ac_objext conftest$ac_exeext
   2860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2861   (eval $ac_link) 2>conftest.er1
   2862   ac_status=$?
   2863   grep -v '^ *+' conftest.er1 >conftest.err
   2864   rm -f conftest.er1
   2865   cat conftest.err >&5
   2866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2867   (exit $ac_status); } &&
   2868 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2870   (eval $ac_try) 2>&5
   2871   ac_status=$?
   2872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2873   (exit $ac_status); }; } &&
   2874 	 { ac_try='test -s conftest$ac_exeext'
   2875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2876   (eval $ac_try) 2>&5
   2877   ac_status=$?
   2878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2879   (exit $ac_status); }; }; then
   2880   ac_cv_search_opendir="none required"
   2881 else
   2882   echo "$as_me: failed program was:" >&5
   2883 sed 's/^/| /' conftest.$ac_ext >&5
   2884 
   2885 fi
   2886 rm -f conftest.err conftest.$ac_objext \
   2887       conftest$ac_exeext conftest.$ac_ext
   2888 if test "$ac_cv_search_opendir" = no; then
   2889   for ac_lib in dir; do
   2890     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   2891     cat >conftest.$ac_ext <<_ACEOF
   2892 /* confdefs.h.  */
   2893 _ACEOF
   2894 cat confdefs.h >>conftest.$ac_ext
   2895 cat >>conftest.$ac_ext <<_ACEOF
   2896 /* end confdefs.h.  */
   2897 
   2898 /* Override any gcc2 internal prototype to avoid an error.  */
   2899 #ifdef __cplusplus
   2900 extern "C"
   2901 #endif
   2902 /* We use char because int might match the return type of a gcc2
   2903    builtin and then its argument prototype would still apply.  */
   2904 char opendir ();
   2905 int
   2906 main ()
   2907 {
   2908 opendir ();
   2909   ;
   2910   return 0;
   2911 }
   2912 _ACEOF
   2913 rm -f conftest.$ac_objext conftest$ac_exeext
   2914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2915   (eval $ac_link) 2>conftest.er1
   2916   ac_status=$?
   2917   grep -v '^ *+' conftest.er1 >conftest.err
   2918   rm -f conftest.er1
   2919   cat conftest.err >&5
   2920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2921   (exit $ac_status); } &&
   2922 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2924   (eval $ac_try) 2>&5
   2925   ac_status=$?
   2926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2927   (exit $ac_status); }; } &&
   2928 	 { ac_try='test -s conftest$ac_exeext'
   2929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2930   (eval $ac_try) 2>&5
   2931   ac_status=$?
   2932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2933   (exit $ac_status); }; }; then
   2934   ac_cv_search_opendir="-l$ac_lib"
   2935 break
   2936 else
   2937   echo "$as_me: failed program was:" >&5
   2938 sed 's/^/| /' conftest.$ac_ext >&5
   2939 
   2940 fi
   2941 rm -f conftest.err conftest.$ac_objext \
   2942       conftest$ac_exeext conftest.$ac_ext
   2943   done
   2944 fi
   2945 LIBS=$ac_func_search_save_LIBS
   2946 fi
   2947 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
   2948 echo "${ECHO_T}$ac_cv_search_opendir" >&6
   2949 if test "$ac_cv_search_opendir" != no; then
   2950   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
   2951 
   2952 fi
   2953 
   2954 else
   2955   echo "$as_me:$LINENO: checking for library containing opendir" >&5
   2956 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
   2957 if test "${ac_cv_search_opendir+set}" = set; then
   2958   echo $ECHO_N "(cached) $ECHO_C" >&6
   2959 else
   2960   ac_func_search_save_LIBS=$LIBS
   2961 ac_cv_search_opendir=no
   2962 cat >conftest.$ac_ext <<_ACEOF
   2963 /* confdefs.h.  */
   2964 _ACEOF
   2965 cat confdefs.h >>conftest.$ac_ext
   2966 cat >>conftest.$ac_ext <<_ACEOF
   2967 /* end confdefs.h.  */
   2968 
   2969 /* Override any gcc2 internal prototype to avoid an error.  */
   2970 #ifdef __cplusplus
   2971 extern "C"
   2972 #endif
   2973 /* We use char because int might match the return type of a gcc2
   2974    builtin and then its argument prototype would still apply.  */
   2975 char opendir ();
   2976 int
   2977 main ()
   2978 {
   2979 opendir ();
   2980   ;
   2981   return 0;
   2982 }
   2983 _ACEOF
   2984 rm -f conftest.$ac_objext conftest$ac_exeext
   2985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2986   (eval $ac_link) 2>conftest.er1
   2987   ac_status=$?
   2988   grep -v '^ *+' conftest.er1 >conftest.err
   2989   rm -f conftest.er1
   2990   cat conftest.err >&5
   2991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2992   (exit $ac_status); } &&
   2993 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2995   (eval $ac_try) 2>&5
   2996   ac_status=$?
   2997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2998   (exit $ac_status); }; } &&
   2999 	 { ac_try='test -s conftest$ac_exeext'
   3000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3001   (eval $ac_try) 2>&5
   3002   ac_status=$?
   3003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3004   (exit $ac_status); }; }; then
   3005   ac_cv_search_opendir="none required"
   3006 else
   3007   echo "$as_me: failed program was:" >&5
   3008 sed 's/^/| /' conftest.$ac_ext >&5
   3009 
   3010 fi
   3011 rm -f conftest.err conftest.$ac_objext \
   3012       conftest$ac_exeext conftest.$ac_ext
   3013 if test "$ac_cv_search_opendir" = no; then
   3014   for ac_lib in x; do
   3015     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   3016     cat >conftest.$ac_ext <<_ACEOF
   3017 /* confdefs.h.  */
   3018 _ACEOF
   3019 cat confdefs.h >>conftest.$ac_ext
   3020 cat >>conftest.$ac_ext <<_ACEOF
   3021 /* end confdefs.h.  */
   3022 
   3023 /* Override any gcc2 internal prototype to avoid an error.  */
   3024 #ifdef __cplusplus
   3025 extern "C"
   3026 #endif
   3027 /* We use char because int might match the return type of a gcc2
   3028    builtin and then its argument prototype would still apply.  */
   3029 char opendir ();
   3030 int
   3031 main ()
   3032 {
   3033 opendir ();
   3034   ;
   3035   return 0;
   3036 }
   3037 _ACEOF
   3038 rm -f conftest.$ac_objext conftest$ac_exeext
   3039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3040   (eval $ac_link) 2>conftest.er1
   3041   ac_status=$?
   3042   grep -v '^ *+' conftest.er1 >conftest.err
   3043   rm -f conftest.er1
   3044   cat conftest.err >&5
   3045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3046   (exit $ac_status); } &&
   3047 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3049   (eval $ac_try) 2>&5
   3050   ac_status=$?
   3051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3052   (exit $ac_status); }; } &&
   3053 	 { ac_try='test -s conftest$ac_exeext'
   3054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3055   (eval $ac_try) 2>&5
   3056   ac_status=$?
   3057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3058   (exit $ac_status); }; }; then
   3059   ac_cv_search_opendir="-l$ac_lib"
   3060 break
   3061 else
   3062   echo "$as_me: failed program was:" >&5
   3063 sed 's/^/| /' conftest.$ac_ext >&5
   3064 
   3065 fi
   3066 rm -f conftest.err conftest.$ac_objext \
   3067       conftest$ac_exeext conftest.$ac_ext
   3068   done
   3069 fi
   3070 LIBS=$ac_func_search_save_LIBS
   3071 fi
   3072 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
   3073 echo "${ECHO_T}$ac_cv_search_opendir" >&6
   3074 if test "$ac_cv_search_opendir" != no; then
   3075   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
   3076 
   3077 fi
   3078 
   3079 fi
   3080 
   3081 
   3082 echo "$as_me:$LINENO: checking for egrep" >&5
   3083 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
   3084 if test "${ac_cv_prog_egrep+set}" = set; then
   3085   echo $ECHO_N "(cached) $ECHO_C" >&6
   3086 else
   3087   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
   3088     then ac_cv_prog_egrep='grep -E'
   3089     else ac_cv_prog_egrep='egrep'
   3090     fi
   3091 fi
   3092 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
   3093 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
   3094  EGREP=$ac_cv_prog_egrep
   3095 
   3096 
   3097 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   3098 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   3099 if test "${ac_cv_header_stdc+set}" = set; then
   3100   echo $ECHO_N "(cached) $ECHO_C" >&6
   3101 else
   3102   cat >conftest.$ac_ext <<_ACEOF
   3103 /* confdefs.h.  */
   3104 _ACEOF
   3105 cat confdefs.h >>conftest.$ac_ext
   3106 cat >>conftest.$ac_ext <<_ACEOF
   3107 /* end confdefs.h.  */
   3108 #include <stdlib.h>
   3109 #include <stdarg.h>
   3110 #include <string.h>
   3111 #include <float.h>
   3112 
   3113 int
   3114 main ()
   3115 {
   3116 
   3117   ;
   3118   return 0;
   3119 }
   3120 _ACEOF
   3121 rm -f conftest.$ac_objext
   3122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3123   (eval $ac_compile) 2>conftest.er1
   3124   ac_status=$?
   3125   grep -v '^ *+' conftest.er1 >conftest.err
   3126   rm -f conftest.er1
   3127   cat conftest.err >&5
   3128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3129   (exit $ac_status); } &&
   3130 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3132   (eval $ac_try) 2>&5
   3133   ac_status=$?
   3134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3135   (exit $ac_status); }; } &&
   3136 	 { ac_try='test -s conftest.$ac_objext'
   3137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3138   (eval $ac_try) 2>&5
   3139   ac_status=$?
   3140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3141   (exit $ac_status); }; }; then
   3142   ac_cv_header_stdc=yes
   3143 else
   3144   echo "$as_me: failed program was:" >&5
   3145 sed 's/^/| /' conftest.$ac_ext >&5
   3146 
   3147 ac_cv_header_stdc=no
   3148 fi
   3149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3150 
   3151 if test $ac_cv_header_stdc = yes; then
   3152   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3153   cat >conftest.$ac_ext <<_ACEOF
   3154 /* confdefs.h.  */
   3155 _ACEOF
   3156 cat confdefs.h >>conftest.$ac_ext
   3157 cat >>conftest.$ac_ext <<_ACEOF
   3158 /* end confdefs.h.  */
   3159 #include <string.h>
   3160 
   3161 _ACEOF
   3162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3163   $EGREP "memchr" >/dev/null 2>&1; then
   3164   :
   3165 else
   3166   ac_cv_header_stdc=no
   3167 fi
   3168 rm -f conftest*
   3169 
   3170 fi
   3171 
   3172 if test $ac_cv_header_stdc = yes; then
   3173   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3174   cat >conftest.$ac_ext <<_ACEOF
   3175 /* confdefs.h.  */
   3176 _ACEOF
   3177 cat confdefs.h >>conftest.$ac_ext
   3178 cat >>conftest.$ac_ext <<_ACEOF
   3179 /* end confdefs.h.  */
   3180 #include <stdlib.h>
   3181 
   3182 _ACEOF
   3183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3184   $EGREP "free" >/dev/null 2>&1; then
   3185   :
   3186 else
   3187   ac_cv_header_stdc=no
   3188 fi
   3189 rm -f conftest*
   3190 
   3191 fi
   3192 
   3193 if test $ac_cv_header_stdc = yes; then
   3194   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3195   if test "$cross_compiling" = yes; then
   3196   :
   3197 else
   3198   cat >conftest.$ac_ext <<_ACEOF
   3199 /* confdefs.h.  */
   3200 _ACEOF
   3201 cat confdefs.h >>conftest.$ac_ext
   3202 cat >>conftest.$ac_ext <<_ACEOF
   3203 /* end confdefs.h.  */
   3204 #include <ctype.h>
   3205 #if ((' ' & 0x0FF) == 0x020)
   3206 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3207 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3208 #else
   3209 # define ISLOWER(c) \
   3210 		   (('a' <= (c) && (c) <= 'i') \
   3211 		     || ('j' <= (c) && (c) <= 'r') \
   3212 		     || ('s' <= (c) && (c) <= 'z'))
   3213 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3214 #endif
   3215 
   3216 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3217 int
   3218 main ()
   3219 {
   3220   int i;
   3221   for (i = 0; i < 256; i++)
   3222     if (XOR (islower (i), ISLOWER (i))
   3223 	|| toupper (i) != TOUPPER (i))
   3224       exit(2);
   3225   exit (0);
   3226 }
   3227 _ACEOF
   3228 rm -f conftest$ac_exeext
   3229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3230   (eval $ac_link) 2>&5
   3231   ac_status=$?
   3232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3233   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   3234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3235   (eval $ac_try) 2>&5
   3236   ac_status=$?
   3237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3238   (exit $ac_status); }; }; then
   3239   :
   3240 else
   3241   echo "$as_me: program exited with status $ac_status" >&5
   3242 echo "$as_me: failed program was:" >&5
   3243 sed 's/^/| /' conftest.$ac_ext >&5
   3244 
   3245 ( exit $ac_status )
   3246 ac_cv_header_stdc=no
   3247 fi
   3248 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   3249 fi
   3250 fi
   3251 fi
   3252 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   3253 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   3254 if test $ac_cv_header_stdc = yes; then
   3255 
   3256 cat >>confdefs.h <<\_ACEOF
   3257 #define STDC_HEADERS 1
   3258 _ACEOF
   3259 
   3260 fi
   3261 
   3262 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
   3263 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
   3264 if test "${ac_cv_header_sys_wait_h+set}" = set; then
   3265   echo $ECHO_N "(cached) $ECHO_C" >&6
   3266 else
   3267   cat >conftest.$ac_ext <<_ACEOF
   3268 /* confdefs.h.  */
   3269 _ACEOF
   3270 cat confdefs.h >>conftest.$ac_ext
   3271 cat >>conftest.$ac_ext <<_ACEOF
   3272 /* end confdefs.h.  */
   3273 #include <sys/types.h>
   3274 #include <sys/wait.h>
   3275 #ifndef WEXITSTATUS
   3276 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
   3277 #endif
   3278 #ifndef WIFEXITED
   3279 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
   3280 #endif
   3281 
   3282 int
   3283 main ()
   3284 {
   3285   int s;
   3286   wait (&s);
   3287   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
   3288   ;
   3289   return 0;
   3290 }
   3291 _ACEOF
   3292 rm -f conftest.$ac_objext
   3293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3294   (eval $ac_compile) 2>conftest.er1
   3295   ac_status=$?
   3296   grep -v '^ *+' conftest.er1 >conftest.err
   3297   rm -f conftest.er1
   3298   cat conftest.err >&5
   3299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3300   (exit $ac_status); } &&
   3301 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3303   (eval $ac_try) 2>&5
   3304   ac_status=$?
   3305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3306   (exit $ac_status); }; } &&
   3307 	 { ac_try='test -s conftest.$ac_objext'
   3308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3309   (eval $ac_try) 2>&5
   3310   ac_status=$?
   3311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3312   (exit $ac_status); }; }; then
   3313   ac_cv_header_sys_wait_h=yes
   3314 else
   3315   echo "$as_me: failed program was:" >&5
   3316 sed 's/^/| /' conftest.$ac_ext >&5
   3317 
   3318 ac_cv_header_sys_wait_h=no
   3319 fi
   3320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3321 fi
   3322 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
   3323 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
   3324 if test $ac_cv_header_sys_wait_h = yes; then
   3325 
   3326 cat >>confdefs.h <<\_ACEOF
   3327 #define HAVE_SYS_WAIT_H 1
   3328 _ACEOF
   3329 
   3330 fi
   3331 
   3332 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3333 
   3334 
   3335 
   3336 
   3337 
   3338 
   3339 
   3340 
   3341 
   3342 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3343 		  inttypes.h stdint.h unistd.h
   3344 do
   3345 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3346 echo "$as_me:$LINENO: checking for $ac_header" >&5
   3347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3349   echo $ECHO_N "(cached) $ECHO_C" >&6
   3350 else
   3351   cat >conftest.$ac_ext <<_ACEOF
   3352 /* confdefs.h.  */
   3353 _ACEOF
   3354 cat confdefs.h >>conftest.$ac_ext
   3355 cat >>conftest.$ac_ext <<_ACEOF
   3356 /* end confdefs.h.  */
   3357 $ac_includes_default
   3358 
   3359 #include <$ac_header>
   3360 _ACEOF
   3361 rm -f conftest.$ac_objext
   3362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3363   (eval $ac_compile) 2>conftest.er1
   3364   ac_status=$?
   3365   grep -v '^ *+' conftest.er1 >conftest.err
   3366   rm -f conftest.er1
   3367   cat conftest.err >&5
   3368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3369   (exit $ac_status); } &&
   3370 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3372   (eval $ac_try) 2>&5
   3373   ac_status=$?
   3374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3375   (exit $ac_status); }; } &&
   3376 	 { ac_try='test -s conftest.$ac_objext'
   3377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3378   (eval $ac_try) 2>&5
   3379   ac_status=$?
   3380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3381   (exit $ac_status); }; }; then
   3382   eval "$as_ac_Header=yes"
   3383 else
   3384   echo "$as_me: failed program was:" >&5
   3385 sed 's/^/| /' conftest.$ac_ext >&5
   3386 
   3387 eval "$as_ac_Header=no"
   3388 fi
   3389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3390 fi
   3391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3394   cat >>confdefs.h <<_ACEOF
   3395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3396 _ACEOF
   3397 
   3398 fi
   3399 
   3400 done
   3401 
   3402 
   3403 
   3404 
   3405 
   3406 
   3407 
   3408 
   3409 
   3410 
   3411 
   3412 for ac_header in fcntl.h stdarg.h varargs.h limits.h strings.h sys/ioctl.h sys/time.h unistd.h features.h
   3413 do
   3414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3416   echo "$as_me:$LINENO: checking for $ac_header" >&5
   3417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3419   echo $ECHO_N "(cached) $ECHO_C" >&6
   3420 fi
   3421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3423 else
   3424   # Is the header compilable?
   3425 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   3426 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   3427 cat >conftest.$ac_ext <<_ACEOF
   3428 /* confdefs.h.  */
   3429 _ACEOF
   3430 cat confdefs.h >>conftest.$ac_ext
   3431 cat >>conftest.$ac_ext <<_ACEOF
   3432 /* end confdefs.h.  */
   3433 $ac_includes_default
   3434 #include <$ac_header>
   3435 _ACEOF
   3436 rm -f conftest.$ac_objext
   3437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3438   (eval $ac_compile) 2>conftest.er1
   3439   ac_status=$?
   3440   grep -v '^ *+' conftest.er1 >conftest.err
   3441   rm -f conftest.er1
   3442   cat conftest.err >&5
   3443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3444   (exit $ac_status); } &&
   3445 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3447   (eval $ac_try) 2>&5
   3448   ac_status=$?
   3449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3450   (exit $ac_status); }; } &&
   3451 	 { ac_try='test -s conftest.$ac_objext'
   3452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3453   (eval $ac_try) 2>&5
   3454   ac_status=$?
   3455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3456   (exit $ac_status); }; }; then
   3457   ac_header_compiler=yes
   3458 else
   3459   echo "$as_me: failed program was:" >&5
   3460 sed 's/^/| /' conftest.$ac_ext >&5
   3461 
   3462 ac_header_compiler=no
   3463 fi
   3464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   3466 echo "${ECHO_T}$ac_header_compiler" >&6
   3467 
   3468 # Is the header present?
   3469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   3470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   3471 cat >conftest.$ac_ext <<_ACEOF
   3472 /* confdefs.h.  */
   3473 _ACEOF
   3474 cat confdefs.h >>conftest.$ac_ext
   3475 cat >>conftest.$ac_ext <<_ACEOF
   3476 /* end confdefs.h.  */
   3477 #include <$ac_header>
   3478 _ACEOF
   3479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3480   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3481   ac_status=$?
   3482   grep -v '^ *+' conftest.er1 >conftest.err
   3483   rm -f conftest.er1
   3484   cat conftest.err >&5
   3485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3486   (exit $ac_status); } >/dev/null; then
   3487   if test -s conftest.err; then
   3488     ac_cpp_err=$ac_c_preproc_warn_flag
   3489     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3490   else
   3491     ac_cpp_err=
   3492   fi
   3493 else
   3494   ac_cpp_err=yes
   3495 fi
   3496 if test -z "$ac_cpp_err"; then
   3497   ac_header_preproc=yes
   3498 else
   3499   echo "$as_me: failed program was:" >&5
   3500 sed 's/^/| /' conftest.$ac_ext >&5
   3501 
   3502   ac_header_preproc=no
   3503 fi
   3504 rm -f conftest.err conftest.$ac_ext
   3505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   3506 echo "${ECHO_T}$ac_header_preproc" >&6
   3507 
   3508 # So?  What about this header?
   3509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   3510   yes:no: )
   3511     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   3512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   3513     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   3514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   3515     ac_header_preproc=yes
   3516     ;;
   3517   no:yes:* )
   3518     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   3519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   3520     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   3521 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   3522     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   3523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   3524     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   3525 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   3526     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   3527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   3528     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   3529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   3530     (
   3531       cat <<\_ASBOX
   3532 ## ------------------------------------------ ##
   3533 ## Report this to the AC_PACKAGE_NAME lists.  ##
   3534 ## ------------------------------------------ ##
   3535 _ASBOX
   3536     ) |
   3537       sed "s/^/$as_me: WARNING:     /" >&2
   3538     ;;
   3539 esac
   3540 echo "$as_me:$LINENO: checking for $ac_header" >&5
   3541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3543   echo $ECHO_N "(cached) $ECHO_C" >&6
   3544 else
   3545   eval "$as_ac_Header=\$ac_header_preproc"
   3546 fi
   3547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3549 
   3550 fi
   3551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3552   cat >>confdefs.h <<_ACEOF
   3553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3554 _ACEOF
   3555 
   3556 fi
   3557 
   3558 done
   3559 
   3560 
   3561 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
   3562 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
   3563 if test "${ac_cv_c_const+set}" = set; then
   3564   echo $ECHO_N "(cached) $ECHO_C" >&6
   3565 else
   3566   cat >conftest.$ac_ext <<_ACEOF
   3567 /* confdefs.h.  */
   3568 _ACEOF
   3569 cat confdefs.h >>conftest.$ac_ext
   3570 cat >>conftest.$ac_ext <<_ACEOF
   3571 /* end confdefs.h.  */
   3572 
   3573 int
   3574 main ()
   3575 {
   3576 /* FIXME: Include the comments suggested by Paul. */
   3577 #ifndef __cplusplus
   3578   /* Ultrix mips cc rejects this.  */
   3579   typedef int charset[2];
   3580   const charset x;
   3581   /* SunOS 4.1.1 cc rejects this.  */
   3582   char const *const *ccp;
   3583   char **p;
   3584   /* NEC SVR4.0.2 mips cc rejects this.  */
   3585   struct point {int x, y;};
   3586   static struct point const zero = {0,0};
   3587   /* AIX XL C 1.02.0.0 rejects this.
   3588      It does not let you subtract one const X* pointer from another in
   3589      an arm of an if-expression whose if-part is not a constant
   3590      expression */
   3591   const char *g = "string";
   3592   ccp = &g + (g ? g-g : 0);
   3593   /* HPUX 7.0 cc rejects these. */
   3594   ++ccp;
   3595   p = (char**) ccp;
   3596   ccp = (char const *const *) p;
   3597   { /* SCO 3.2v4 cc rejects this.  */
   3598     char *t;
   3599     char const *s = 0 ? (char *) 0 : (char const *) 0;
   3600 
   3601     *t++ = 0;
   3602   }
   3603   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   3604     int x[] = {25, 17};
   3605     const int *foo = &x[0];
   3606     ++foo;
   3607   }
   3608   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   3609     typedef const int *iptr;
   3610     iptr p = 0;
   3611     ++p;
   3612   }
   3613   { /* AIX XL C 1.02.0.0 rejects this saying
   3614        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   3615     struct s { int j; const int *ap[3]; };
   3616     struct s *b; b->j = 5;
   3617   }
   3618   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   3619     const int foo = 10;
   3620   }
   3621 #endif
   3622 
   3623   ;
   3624   return 0;
   3625 }
   3626 _ACEOF
   3627 rm -f conftest.$ac_objext
   3628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3629   (eval $ac_compile) 2>conftest.er1
   3630   ac_status=$?
   3631   grep -v '^ *+' conftest.er1 >conftest.err
   3632   rm -f conftest.er1
   3633   cat conftest.err >&5
   3634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3635   (exit $ac_status); } &&
   3636 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3638   (eval $ac_try) 2>&5
   3639   ac_status=$?
   3640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3641   (exit $ac_status); }; } &&
   3642 	 { ac_try='test -s conftest.$ac_objext'
   3643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3644   (eval $ac_try) 2>&5
   3645   ac_status=$?
   3646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3647   (exit $ac_status); }; }; then
   3648   ac_cv_c_const=yes
   3649 else
   3650   echo "$as_me: failed program was:" >&5
   3651 sed 's/^/| /' conftest.$ac_ext >&5
   3652 
   3653 ac_cv_c_const=no
   3654 fi
   3655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3656 fi
   3657 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
   3658 echo "${ECHO_T}$ac_cv_c_const" >&6
   3659 if test $ac_cv_c_const = no; then
   3660 
   3661 cat >>confdefs.h <<\_ACEOF
   3662 #define const
   3663 _ACEOF
   3664 
   3665 fi
   3666 
   3667 echo "$as_me:$LINENO: checking for mode_t" >&5
   3668 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
   3669 if test "${ac_cv_type_mode_t+set}" = set; then
   3670   echo $ECHO_N "(cached) $ECHO_C" >&6
   3671 else
   3672   cat >conftest.$ac_ext <<_ACEOF
   3673 /* confdefs.h.  */
   3674 _ACEOF
   3675 cat confdefs.h >>conftest.$ac_ext
   3676 cat >>conftest.$ac_ext <<_ACEOF
   3677 /* end confdefs.h.  */
   3678 $ac_includes_default
   3679 int
   3680 main ()
   3681 {
   3682 if ((mode_t *) 0)
   3683   return 0;
   3684 if (sizeof (mode_t))
   3685   return 0;
   3686   ;
   3687   return 0;
   3688 }
   3689 _ACEOF
   3690 rm -f conftest.$ac_objext
   3691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3692   (eval $ac_compile) 2>conftest.er1
   3693   ac_status=$?
   3694   grep -v '^ *+' conftest.er1 >conftest.err
   3695   rm -f conftest.er1
   3696   cat conftest.err >&5
   3697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3698   (exit $ac_status); } &&
   3699 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3701   (eval $ac_try) 2>&5
   3702   ac_status=$?
   3703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3704   (exit $ac_status); }; } &&
   3705 	 { ac_try='test -s conftest.$ac_objext'
   3706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3707   (eval $ac_try) 2>&5
   3708   ac_status=$?
   3709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3710   (exit $ac_status); }; }; then
   3711   ac_cv_type_mode_t=yes
   3712 else
   3713   echo "$as_me: failed program was:" >&5
   3714 sed 's/^/| /' conftest.$ac_ext >&5
   3715 
   3716 ac_cv_type_mode_t=no
   3717 fi
   3718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3719 fi
   3720 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
   3721 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
   3722 if test $ac_cv_type_mode_t = yes; then
   3723   :
   3724 else
   3725 
   3726 cat >>confdefs.h <<_ACEOF
   3727 #define mode_t int
   3728 _ACEOF
   3729 
   3730 fi
   3731 
   3732 echo "$as_me:$LINENO: checking for off_t" >&5
   3733 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
   3734 if test "${ac_cv_type_off_t+set}" = set; then
   3735   echo $ECHO_N "(cached) $ECHO_C" >&6
   3736 else
   3737   cat >conftest.$ac_ext <<_ACEOF
   3738 /* confdefs.h.  */
   3739 _ACEOF
   3740 cat confdefs.h >>conftest.$ac_ext
   3741 cat >>conftest.$ac_ext <<_ACEOF
   3742 /* end confdefs.h.  */
   3743 $ac_includes_default
   3744 int
   3745 main ()
   3746 {
   3747 if ((off_t *) 0)
   3748   return 0;
   3749 if (sizeof (off_t))
   3750   return 0;
   3751   ;
   3752   return 0;
   3753 }
   3754 _ACEOF
   3755 rm -f conftest.$ac_objext
   3756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3757   (eval $ac_compile) 2>conftest.er1
   3758   ac_status=$?
   3759   grep -v '^ *+' conftest.er1 >conftest.err
   3760   rm -f conftest.er1
   3761   cat conftest.err >&5
   3762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3763   (exit $ac_status); } &&
   3764 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3766   (eval $ac_try) 2>&5
   3767   ac_status=$?
   3768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3769   (exit $ac_status); }; } &&
   3770 	 { ac_try='test -s conftest.$ac_objext'
   3771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3772   (eval $ac_try) 2>&5
   3773   ac_status=$?
   3774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3775   (exit $ac_status); }; }; then
   3776   ac_cv_type_off_t=yes
   3777 else
   3778   echo "$as_me: failed program was:" >&5
   3779 sed 's/^/| /' conftest.$ac_ext >&5
   3780 
   3781 ac_cv_type_off_t=no
   3782 fi
   3783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3784 fi
   3785 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
   3786 echo "${ECHO_T}$ac_cv_type_off_t" >&6
   3787 if test $ac_cv_type_off_t = yes; then
   3788   :
   3789 else
   3790 
   3791 cat >>confdefs.h <<_ACEOF
   3792 #define off_t long
   3793 _ACEOF
   3794 
   3795 fi
   3796 
   3797 echo "$as_me:$LINENO: checking for pid_t" >&5
   3798 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
   3799 if test "${ac_cv_type_pid_t+set}" = set; then
   3800   echo $ECHO_N "(cached) $ECHO_C" >&6
   3801 else
   3802   cat >conftest.$ac_ext <<_ACEOF
   3803 /* confdefs.h.  */
   3804 _ACEOF
   3805 cat confdefs.h >>conftest.$ac_ext
   3806 cat >>conftest.$ac_ext <<_ACEOF
   3807 /* end confdefs.h.  */
   3808 $ac_includes_default
   3809 int
   3810 main ()
   3811 {
   3812 if ((pid_t *) 0)
   3813   return 0;
   3814 if (sizeof (pid_t))
   3815   return 0;
   3816   ;
   3817   return 0;
   3818 }
   3819 _ACEOF
   3820 rm -f conftest.$ac_objext
   3821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3822   (eval $ac_compile) 2>conftest.er1
   3823   ac_status=$?
   3824   grep -v '^ *+' conftest.er1 >conftest.err
   3825   rm -f conftest.er1
   3826   cat conftest.err >&5
   3827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3828   (exit $ac_status); } &&
   3829 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3831   (eval $ac_try) 2>&5
   3832   ac_status=$?
   3833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3834   (exit $ac_status); }; } &&
   3835 	 { ac_try='test -s conftest.$ac_objext'
   3836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3837   (eval $ac_try) 2>&5
   3838   ac_status=$?
   3839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3840   (exit $ac_status); }; }; then
   3841   ac_cv_type_pid_t=yes
   3842 else
   3843   echo "$as_me: failed program was:" >&5
   3844 sed 's/^/| /' conftest.$ac_ext >&5
   3845 
   3846 ac_cv_type_pid_t=no
   3847 fi
   3848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3849 fi
   3850 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
   3851 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
   3852 if test $ac_cv_type_pid_t = yes; then
   3853   :
   3854 else
   3855 
   3856 cat >>confdefs.h <<_ACEOF
   3857 #define pid_t int
   3858 _ACEOF
   3859 
   3860 fi
   3861 
   3862 echo "$as_me:$LINENO: checking for size_t" >&5
   3863 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
   3864 if test "${ac_cv_type_size_t+set}" = set; then
   3865   echo $ECHO_N "(cached) $ECHO_C" >&6
   3866 else
   3867   cat >conftest.$ac_ext <<_ACEOF
   3868 /* confdefs.h.  */
   3869 _ACEOF
   3870 cat confdefs.h >>conftest.$ac_ext
   3871 cat >>conftest.$ac_ext <<_ACEOF
   3872 /* end confdefs.h.  */
   3873 $ac_includes_default
   3874 int
   3875 main ()
   3876 {
   3877 if ((size_t *) 0)
   3878   return 0;
   3879 if (sizeof (size_t))
   3880   return 0;
   3881   ;
   3882   return 0;
   3883 }
   3884 _ACEOF
   3885 rm -f conftest.$ac_objext
   3886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3887   (eval $ac_compile) 2>conftest.er1
   3888   ac_status=$?
   3889   grep -v '^ *+' conftest.er1 >conftest.err
   3890   rm -f conftest.er1
   3891   cat conftest.err >&5
   3892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3893   (exit $ac_status); } &&
   3894 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3896   (eval $ac_try) 2>&5
   3897   ac_status=$?
   3898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3899   (exit $ac_status); }; } &&
   3900 	 { ac_try='test -s conftest.$ac_objext'
   3901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3902   (eval $ac_try) 2>&5
   3903   ac_status=$?
   3904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3905   (exit $ac_status); }; }; then
   3906   ac_cv_type_size_t=yes
   3907 else
   3908   echo "$as_me: failed program was:" >&5
   3909 sed 's/^/| /' conftest.$ac_ext >&5
   3910 
   3911 ac_cv_type_size_t=no
   3912 fi
   3913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3914 fi
   3915 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
   3916 echo "${ECHO_T}$ac_cv_type_size_t" >&6
   3917 if test $ac_cv_type_size_t = yes; then
   3918   :
   3919 else
   3920 
   3921 cat >>confdefs.h <<_ACEOF
   3922 #define size_t unsigned
   3923 _ACEOF
   3924 
   3925 fi
   3926 
   3927 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
   3928 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
   3929 if test "${ac_cv_header_time+set}" = set; then
   3930   echo $ECHO_N "(cached) $ECHO_C" >&6
   3931 else
   3932   cat >conftest.$ac_ext <<_ACEOF
   3933 /* confdefs.h.  */
   3934 _ACEOF
   3935 cat confdefs.h >>conftest.$ac_ext
   3936 cat >>conftest.$ac_ext <<_ACEOF
   3937 /* end confdefs.h.  */
   3938 #include <sys/types.h>
   3939 #include <sys/time.h>
   3940 #include <time.h>
   3941 
   3942 int
   3943 main ()
   3944 {
   3945 if ((struct tm *) 0)
   3946 return 0;
   3947   ;
   3948   return 0;
   3949 }
   3950 _ACEOF
   3951 rm -f conftest.$ac_objext
   3952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3953   (eval $ac_compile) 2>conftest.er1
   3954   ac_status=$?
   3955   grep -v '^ *+' conftest.er1 >conftest.err
   3956   rm -f conftest.er1
   3957   cat conftest.err >&5
   3958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3959   (exit $ac_status); } &&
   3960 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3962   (eval $ac_try) 2>&5
   3963   ac_status=$?
   3964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3965   (exit $ac_status); }; } &&
   3966 	 { ac_try='test -s conftest.$ac_objext'
   3967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3968   (eval $ac_try) 2>&5
   3969   ac_status=$?
   3970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3971   (exit $ac_status); }; }; then
   3972   ac_cv_header_time=yes
   3973 else
   3974   echo "$as_me: failed program was:" >&5
   3975 sed 's/^/| /' conftest.$ac_ext >&5
   3976 
   3977 ac_cv_header_time=no
   3978 fi
   3979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3980 fi
   3981 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
   3982 echo "${ECHO_T}$ac_cv_header_time" >&6
   3983 if test $ac_cv_header_time = yes; then
   3984 
   3985 cat >>confdefs.h <<\_ACEOF
   3986 #define TIME_WITH_SYS_TIME 1
   3987 _ACEOF
   3988 
   3989 fi
   3990 
   3991 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
   3992 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
   3993 if test "${ac_cv_struct_tm+set}" = set; then
   3994   echo $ECHO_N "(cached) $ECHO_C" >&6
   3995 else
   3996   cat >conftest.$ac_ext <<_ACEOF
   3997 /* confdefs.h.  */
   3998 _ACEOF
   3999 cat confdefs.h >>conftest.$ac_ext
   4000 cat >>conftest.$ac_ext <<_ACEOF
   4001 /* end confdefs.h.  */
   4002 #include <sys/types.h>
   4003 #include <time.h>
   4004 
   4005 int
   4006 main ()
   4007 {
   4008 struct tm *tp; tp->tm_sec;
   4009   ;
   4010   return 0;
   4011 }
   4012 _ACEOF
   4013 rm -f conftest.$ac_objext
   4014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4015   (eval $ac_compile) 2>conftest.er1
   4016   ac_status=$?
   4017   grep -v '^ *+' conftest.er1 >conftest.err
   4018   rm -f conftest.er1
   4019   cat conftest.err >&5
   4020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4021   (exit $ac_status); } &&
   4022 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4024   (eval $ac_try) 2>&5
   4025   ac_status=$?
   4026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4027   (exit $ac_status); }; } &&
   4028 	 { ac_try='test -s conftest.$ac_objext'
   4029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4030   (eval $ac_try) 2>&5
   4031   ac_status=$?
   4032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4033   (exit $ac_status); }; }; then
   4034   ac_cv_struct_tm=time.h
   4035 else
   4036   echo "$as_me: failed program was:" >&5
   4037 sed 's/^/| /' conftest.$ac_ext >&5
   4038 
   4039 ac_cv_struct_tm=sys/time.h
   4040 fi
   4041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4042 fi
   4043 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
   4044 echo "${ECHO_T}$ac_cv_struct_tm" >&6
   4045 if test $ac_cv_struct_tm = sys/time.h; then
   4046 
   4047 cat >>confdefs.h <<\_ACEOF
   4048 #define TM_IN_SYS_TIME 1
   4049 _ACEOF
   4050 
   4051 fi
   4052 
   4053 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
   4054 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
   4055 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
   4056   echo $ECHO_N "(cached) $ECHO_C" >&6
   4057 else
   4058   cat >conftest.$ac_ext <<_ACEOF
   4059 /* confdefs.h.  */
   4060 _ACEOF
   4061 cat confdefs.h >>conftest.$ac_ext
   4062 cat >>conftest.$ac_ext <<_ACEOF
   4063 /* end confdefs.h.  */
   4064 #include <sys/types.h>
   4065 #include <$ac_cv_struct_tm>
   4066 
   4067 
   4068 int
   4069 main ()
   4070 {
   4071 static struct tm ac_aggr;
   4072 if (ac_aggr.tm_zone)
   4073 return 0;
   4074   ;
   4075   return 0;
   4076 }
   4077 _ACEOF
   4078 rm -f conftest.$ac_objext
   4079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4080   (eval $ac_compile) 2>conftest.er1
   4081   ac_status=$?
   4082   grep -v '^ *+' conftest.er1 >conftest.err
   4083   rm -f conftest.er1
   4084   cat conftest.err >&5
   4085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4086   (exit $ac_status); } &&
   4087 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4089   (eval $ac_try) 2>&5
   4090   ac_status=$?
   4091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4092   (exit $ac_status); }; } &&
   4093 	 { ac_try='test -s conftest.$ac_objext'
   4094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4095   (eval $ac_try) 2>&5
   4096   ac_status=$?
   4097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4098   (exit $ac_status); }; }; then
   4099   ac_cv_member_struct_tm_tm_zone=yes
   4100 else
   4101   echo "$as_me: failed program was:" >&5
   4102 sed 's/^/| /' conftest.$ac_ext >&5
   4103 
   4104 cat >conftest.$ac_ext <<_ACEOF
   4105 /* confdefs.h.  */
   4106 _ACEOF
   4107 cat confdefs.h >>conftest.$ac_ext
   4108 cat >>conftest.$ac_ext <<_ACEOF
   4109 /* end confdefs.h.  */
   4110 #include <sys/types.h>
   4111 #include <$ac_cv_struct_tm>
   4112 
   4113 
   4114 int
   4115 main ()
   4116 {
   4117 static struct tm ac_aggr;
   4118 if (sizeof ac_aggr.tm_zone)
   4119 return 0;
   4120   ;
   4121   return 0;
   4122 }
   4123 _ACEOF
   4124 rm -f conftest.$ac_objext
   4125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4126   (eval $ac_compile) 2>conftest.er1
   4127   ac_status=$?
   4128   grep -v '^ *+' conftest.er1 >conftest.err
   4129   rm -f conftest.er1
   4130   cat conftest.err >&5
   4131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4132   (exit $ac_status); } &&
   4133 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4135   (eval $ac_try) 2>&5
   4136   ac_status=$?
   4137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4138   (exit $ac_status); }; } &&
   4139 	 { ac_try='test -s conftest.$ac_objext'
   4140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4141   (eval $ac_try) 2>&5
   4142   ac_status=$?
   4143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4144   (exit $ac_status); }; }; then
   4145   ac_cv_member_struct_tm_tm_zone=yes
   4146 else
   4147   echo "$as_me: failed program was:" >&5
   4148 sed 's/^/| /' conftest.$ac_ext >&5
   4149 
   4150 ac_cv_member_struct_tm_tm_zone=no
   4151 fi
   4152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4153 fi
   4154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4155 fi
   4156 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
   4157 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
   4158 if test $ac_cv_member_struct_tm_tm_zone = yes; then
   4159 
   4160 cat >>confdefs.h <<_ACEOF
   4161 #define HAVE_STRUCT_TM_TM_ZONE 1
   4162 _ACEOF
   4163 
   4164 
   4165 fi
   4166 
   4167 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
   4168 
   4169 cat >>confdefs.h <<\_ACEOF
   4170 #define HAVE_TM_ZONE 1
   4171 _ACEOF
   4172 
   4173 else
   4174   echo "$as_me:$LINENO: checking for tzname" >&5
   4175 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
   4176 if test "${ac_cv_var_tzname+set}" = set; then
   4177   echo $ECHO_N "(cached) $ECHO_C" >&6
   4178 else
   4179   cat >conftest.$ac_ext <<_ACEOF
   4180 /* confdefs.h.  */
   4181 _ACEOF
   4182 cat confdefs.h >>conftest.$ac_ext
   4183 cat >>conftest.$ac_ext <<_ACEOF
   4184 /* end confdefs.h.  */
   4185 #include <time.h>
   4186 #ifndef tzname /* For SGI.  */
   4187 extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
   4188 #endif
   4189 
   4190 int
   4191 main ()
   4192 {
   4193 atoi(*tzname);
   4194   ;
   4195   return 0;
   4196 }
   4197 _ACEOF
   4198 rm -f conftest.$ac_objext conftest$ac_exeext
   4199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4200   (eval $ac_link) 2>conftest.er1
   4201   ac_status=$?
   4202   grep -v '^ *+' conftest.er1 >conftest.err
   4203   rm -f conftest.er1
   4204   cat conftest.err >&5
   4205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4206   (exit $ac_status); } &&
   4207 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4209   (eval $ac_try) 2>&5
   4210   ac_status=$?
   4211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4212   (exit $ac_status); }; } &&
   4213 	 { ac_try='test -s conftest$ac_exeext'
   4214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4215   (eval $ac_try) 2>&5
   4216   ac_status=$?
   4217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4218   (exit $ac_status); }; }; then
   4219   ac_cv_var_tzname=yes
   4220 else
   4221   echo "$as_me: failed program was:" >&5
   4222 sed 's/^/| /' conftest.$ac_ext >&5
   4223 
   4224 ac_cv_var_tzname=no
   4225 fi
   4226 rm -f conftest.err conftest.$ac_objext \
   4227       conftest$ac_exeext conftest.$ac_ext
   4228 fi
   4229 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
   4230 echo "${ECHO_T}$ac_cv_var_tzname" >&6
   4231   if test $ac_cv_var_tzname = yes; then
   4232 
   4233 cat >>confdefs.h <<\_ACEOF
   4234 #define HAVE_TZNAME 1
   4235 _ACEOF
   4236 
   4237   fi
   4238 fi
   4239 
   4240 
   4241 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
   4242 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
   4243 if test "${ac_cv_type_signal+set}" = set; then
   4244   echo $ECHO_N "(cached) $ECHO_C" >&6
   4245 else
   4246   cat >conftest.$ac_ext <<_ACEOF
   4247 /* confdefs.h.  */
   4248 _ACEOF
   4249 cat confdefs.h >>conftest.$ac_ext
   4250 cat >>conftest.$ac_ext <<_ACEOF
   4251 /* end confdefs.h.  */
   4252 #include <sys/types.h>
   4253 #include <signal.h>
   4254 #ifdef signal
   4255 # undef signal
   4256 #endif
   4257 #ifdef __cplusplus
   4258 extern "C" void (*signal (int, void (*)(int)))(int);
   4259 #else
   4260 void (*signal ()) ();
   4261 #endif
   4262 
   4263 int
   4264 main ()
   4265 {
   4266 int i;
   4267   ;
   4268   return 0;
   4269 }
   4270 _ACEOF
   4271 rm -f conftest.$ac_objext
   4272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4273   (eval $ac_compile) 2>conftest.er1
   4274   ac_status=$?
   4275   grep -v '^ *+' conftest.er1 >conftest.err
   4276   rm -f conftest.er1
   4277   cat conftest.err >&5
   4278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4279   (exit $ac_status); } &&
   4280 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4282   (eval $ac_try) 2>&5
   4283   ac_status=$?
   4284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4285   (exit $ac_status); }; } &&
   4286 	 { ac_try='test -s conftest.$ac_objext'
   4287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4288   (eval $ac_try) 2>&5
   4289   ac_status=$?
   4290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4291   (exit $ac_status); }; }; then
   4292   ac_cv_type_signal=void
   4293 else
   4294   echo "$as_me: failed program was:" >&5
   4295 sed 's/^/| /' conftest.$ac_ext >&5
   4296 
   4297 ac_cv_type_signal=int
   4298 fi
   4299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4300 fi
   4301 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
   4302 echo "${ECHO_T}$ac_cv_type_signal" >&6
   4303 
   4304 cat >>confdefs.h <<_ACEOF
   4305 #define RETSIGTYPE $ac_cv_type_signal
   4306 _ACEOF
   4307 
   4308 
   4309 
   4310 for ac_func in strftime
   4311 do
   4312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   4313 echo "$as_me:$LINENO: checking for $ac_func" >&5
   4314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   4315 if eval "test \"\${$as_ac_var+set}\" = set"; then
   4316   echo $ECHO_N "(cached) $ECHO_C" >&6
   4317 else
   4318   cat >conftest.$ac_ext <<_ACEOF
   4319 /* confdefs.h.  */
   4320 _ACEOF
   4321 cat confdefs.h >>conftest.$ac_ext
   4322 cat >>conftest.$ac_ext <<_ACEOF
   4323 /* end confdefs.h.  */
   4324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   4325    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   4326 #define $ac_func innocuous_$ac_func
   4327 
   4328 /* System header to define __stub macros and hopefully few prototypes,
   4329     which can conflict with char $ac_func (); below.
   4330     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4331     <limits.h> exists even on freestanding compilers.  */
   4332 
   4333 #ifdef __STDC__
   4334 # include <limits.h>
   4335 #else
   4336 # include <assert.h>
   4337 #endif
   4338 
   4339 #undef $ac_func
   4340 
   4341 /* Override any gcc2 internal prototype to avoid an error.  */
   4342 #ifdef __cplusplus
   4343 extern "C"
   4344 {
   4345 #endif
   4346 /* We use char because int might match the return type of a gcc2
   4347    builtin and then its argument prototype would still apply.  */
   4348 char $ac_func ();
   4349 /* The GNU C library defines this for functions which it implements
   4350     to always fail with ENOSYS.  Some functions are actually named
   4351     something starting with __ and the normal name is an alias.  */
   4352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   4353 choke me
   4354 #else
   4355 char (*f) () = $ac_func;
   4356 #endif
   4357 #ifdef __cplusplus
   4358 }
   4359 #endif
   4360 
   4361 int
   4362 main ()
   4363 {
   4364 return f != $ac_func;
   4365   ;
   4366   return 0;
   4367 }
   4368 _ACEOF
   4369 rm -f conftest.$ac_objext conftest$ac_exeext
   4370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4371   (eval $ac_link) 2>conftest.er1
   4372   ac_status=$?
   4373   grep -v '^ *+' conftest.er1 >conftest.err
   4374   rm -f conftest.er1
   4375   cat conftest.err >&5
   4376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4377   (exit $ac_status); } &&
   4378 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4380   (eval $ac_try) 2>&5
   4381   ac_status=$?
   4382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4383   (exit $ac_status); }; } &&
   4384 	 { ac_try='test -s conftest$ac_exeext'
   4385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4386   (eval $ac_try) 2>&5
   4387   ac_status=$?
   4388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4389   (exit $ac_status); }; }; then
   4390   eval "$as_ac_var=yes"
   4391 else
   4392   echo "$as_me: failed program was:" >&5
   4393 sed 's/^/| /' conftest.$ac_ext >&5
   4394 
   4395 eval "$as_ac_var=no"
   4396 fi
   4397 rm -f conftest.err conftest.$ac_objext \
   4398       conftest$ac_exeext conftest.$ac_ext
   4399 fi
   4400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   4401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   4402 if test `eval echo '${'$as_ac_var'}'` = yes; then
   4403   cat >>confdefs.h <<_ACEOF
   4404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   4405 _ACEOF
   4406 
   4407 else
   4408   # strftime is in -lintl on SCO UNIX.
   4409 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
   4410 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
   4411 if test "${ac_cv_lib_intl_strftime+set}" = set; then
   4412   echo $ECHO_N "(cached) $ECHO_C" >&6
   4413 else
   4414   ac_check_lib_save_LIBS=$LIBS
   4415 LIBS="-lintl  $LIBS"
   4416 cat >conftest.$ac_ext <<_ACEOF
   4417 /* confdefs.h.  */
   4418 _ACEOF
   4419 cat confdefs.h >>conftest.$ac_ext
   4420 cat >>conftest.$ac_ext <<_ACEOF
   4421 /* end confdefs.h.  */
   4422 
   4423 /* Override any gcc2 internal prototype to avoid an error.  */
   4424 #ifdef __cplusplus
   4425 extern "C"
   4426 #endif
   4427 /* We use char because int might match the return type of a gcc2
   4428    builtin and then its argument prototype would still apply.  */
   4429 char strftime ();
   4430 int
   4431 main ()
   4432 {
   4433 strftime ();
   4434   ;
   4435   return 0;
   4436 }
   4437 _ACEOF
   4438 rm -f conftest.$ac_objext conftest$ac_exeext
   4439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4440   (eval $ac_link) 2>conftest.er1
   4441   ac_status=$?
   4442   grep -v '^ *+' conftest.er1 >conftest.err
   4443   rm -f conftest.er1
   4444   cat conftest.err >&5
   4445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4446   (exit $ac_status); } &&
   4447 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   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); }; } &&
   4453 	 { ac_try='test -s conftest$ac_exeext'
   4454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4455   (eval $ac_try) 2>&5
   4456   ac_status=$?
   4457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4458   (exit $ac_status); }; }; then
   4459   ac_cv_lib_intl_strftime=yes
   4460 else
   4461   echo "$as_me: failed program was:" >&5
   4462 sed 's/^/| /' conftest.$ac_ext >&5
   4463 
   4464 ac_cv_lib_intl_strftime=no
   4465 fi
   4466 rm -f conftest.err conftest.$ac_objext \
   4467       conftest$ac_exeext conftest.$ac_ext
   4468 LIBS=$ac_check_lib_save_LIBS
   4469 fi
   4470 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
   4471 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
   4472 if test $ac_cv_lib_intl_strftime = yes; then
   4473   cat >>confdefs.h <<\_ACEOF
   4474 #define HAVE_STRFTIME 1
   4475 _ACEOF
   4476 
   4477 LIBS="-lintl $LIBS"
   4478 fi
   4479 
   4480 fi
   4481 done
   4482 
   4483 
   4484 for ac_func in vprintf
   4485 do
   4486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   4487 echo "$as_me:$LINENO: checking for $ac_func" >&5
   4488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   4489 if eval "test \"\${$as_ac_var+set}\" = set"; then
   4490   echo $ECHO_N "(cached) $ECHO_C" >&6
   4491 else
   4492   cat >conftest.$ac_ext <<_ACEOF
   4493 /* confdefs.h.  */
   4494 _ACEOF
   4495 cat confdefs.h >>conftest.$ac_ext
   4496 cat >>conftest.$ac_ext <<_ACEOF
   4497 /* end confdefs.h.  */
   4498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   4499    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   4500 #define $ac_func innocuous_$ac_func
   4501 
   4502 /* System header to define __stub macros and hopefully few prototypes,
   4503     which can conflict with char $ac_func (); below.
   4504     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4505     <limits.h> exists even on freestanding compilers.  */
   4506 
   4507 #ifdef __STDC__
   4508 # include <limits.h>
   4509 #else
   4510 # include <assert.h>
   4511 #endif
   4512 
   4513 #undef $ac_func
   4514 
   4515 /* Override any gcc2 internal prototype to avoid an error.  */
   4516 #ifdef __cplusplus
   4517 extern "C"
   4518 {
   4519 #endif
   4520 /* We use char because int might match the return type of a gcc2
   4521    builtin and then its argument prototype would still apply.  */
   4522 char $ac_func ();
   4523 /* The GNU C library defines this for functions which it implements
   4524     to always fail with ENOSYS.  Some functions are actually named
   4525     something starting with __ and the normal name is an alias.  */
   4526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   4527 choke me
   4528 #else
   4529 char (*f) () = $ac_func;
   4530 #endif
   4531 #ifdef __cplusplus
   4532 }
   4533 #endif
   4534 
   4535 int
   4536 main ()
   4537 {
   4538 return f != $ac_func;
   4539   ;
   4540   return 0;
   4541 }
   4542 _ACEOF
   4543 rm -f conftest.$ac_objext conftest$ac_exeext
   4544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4545   (eval $ac_link) 2>conftest.er1
   4546   ac_status=$?
   4547   grep -v '^ *+' conftest.er1 >conftest.err
   4548   rm -f conftest.er1
   4549   cat conftest.err >&5
   4550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4551   (exit $ac_status); } &&
   4552 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4554   (eval $ac_try) 2>&5
   4555   ac_status=$?
   4556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4557   (exit $ac_status); }; } &&
   4558 	 { ac_try='test -s conftest$ac_exeext'
   4559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4560   (eval $ac_try) 2>&5
   4561   ac_status=$?
   4562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4563   (exit $ac_status); }; }; then
   4564   eval "$as_ac_var=yes"
   4565 else
   4566   echo "$as_me: failed program was:" >&5
   4567 sed 's/^/| /' conftest.$ac_ext >&5
   4568 
   4569 eval "$as_ac_var=no"
   4570 fi
   4571 rm -f conftest.err conftest.$ac_objext \
   4572       conftest$ac_exeext conftest.$ac_ext
   4573 fi
   4574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   4575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   4576 if test `eval echo '${'$as_ac_var'}'` = yes; then
   4577   cat >>confdefs.h <<_ACEOF
   4578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   4579 _ACEOF
   4580 
   4581 echo "$as_me:$LINENO: checking for _doprnt" >&5
   4582 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
   4583 if test "${ac_cv_func__doprnt+set}" = set; then
   4584   echo $ECHO_N "(cached) $ECHO_C" >&6
   4585 else
   4586   cat >conftest.$ac_ext <<_ACEOF
   4587 /* confdefs.h.  */
   4588 _ACEOF
   4589 cat confdefs.h >>conftest.$ac_ext
   4590 cat >>conftest.$ac_ext <<_ACEOF
   4591 /* end confdefs.h.  */
   4592 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
   4593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   4594 #define _doprnt innocuous__doprnt
   4595 
   4596 /* System header to define __stub macros and hopefully few prototypes,
   4597     which can conflict with char _doprnt (); below.
   4598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4599     <limits.h> exists even on freestanding compilers.  */
   4600 
   4601 #ifdef __STDC__
   4602 # include <limits.h>
   4603 #else
   4604 # include <assert.h>
   4605 #endif
   4606 
   4607 #undef _doprnt
   4608 
   4609 /* Override any gcc2 internal prototype to avoid an error.  */
   4610 #ifdef __cplusplus
   4611 extern "C"
   4612 {
   4613 #endif
   4614 /* We use char because int might match the return type of a gcc2
   4615    builtin and then its argument prototype would still apply.  */
   4616 char _doprnt ();
   4617 /* The GNU C library defines this for functions which it implements
   4618     to always fail with ENOSYS.  Some functions are actually named
   4619     something starting with __ and the normal name is an alias.  */
   4620 #if defined (__stub__doprnt) || defined (__stub____doprnt)
   4621 choke me
   4622 #else
   4623 char (*f) () = _doprnt;
   4624 #endif
   4625 #ifdef __cplusplus
   4626 }
   4627 #endif
   4628 
   4629 int
   4630 main ()
   4631 {
   4632 return f != _doprnt;
   4633   ;
   4634   return 0;
   4635 }
   4636 _ACEOF
   4637 rm -f conftest.$ac_objext conftest$ac_exeext
   4638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4639   (eval $ac_link) 2>conftest.er1
   4640   ac_status=$?
   4641   grep -v '^ *+' conftest.er1 >conftest.err
   4642   rm -f conftest.er1
   4643   cat conftest.err >&5
   4644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4645   (exit $ac_status); } &&
   4646 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4648   (eval $ac_try) 2>&5
   4649   ac_status=$?
   4650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4651   (exit $ac_status); }; } &&
   4652 	 { ac_try='test -s conftest$ac_exeext'
   4653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4654   (eval $ac_try) 2>&5
   4655   ac_status=$?
   4656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4657   (exit $ac_status); }; }; then
   4658   ac_cv_func__doprnt=yes
   4659 else
   4660   echo "$as_me: failed program was:" >&5
   4661 sed 's/^/| /' conftest.$ac_ext >&5
   4662 
   4663 ac_cv_func__doprnt=no
   4664 fi
   4665 rm -f conftest.err conftest.$ac_objext \
   4666       conftest$ac_exeext conftest.$ac_ext
   4667 fi
   4668 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
   4669 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
   4670 if test $ac_cv_func__doprnt = yes; then
   4671 
   4672 cat >>confdefs.h <<\_ACEOF
   4673 #define HAVE_DOPRNT 1
   4674 _ACEOF
   4675 
   4676 fi
   4677 
   4678 fi
   4679 done
   4680 
   4681 
   4682 echo "$as_me:$LINENO: checking for wait3 that fills in rusage" >&5
   4683 echo $ECHO_N "checking for wait3 that fills in rusage... $ECHO_C" >&6
   4684 if test "${ac_cv_func_wait3_rusage+set}" = set; then
   4685   echo $ECHO_N "(cached) $ECHO_C" >&6
   4686 else
   4687   if test "$cross_compiling" = yes; then
   4688   ac_cv_func_wait3_rusage=no
   4689 else
   4690   cat >conftest.$ac_ext <<_ACEOF
   4691 /* confdefs.h.  */
   4692 _ACEOF
   4693 cat confdefs.h >>conftest.$ac_ext
   4694 cat >>conftest.$ac_ext <<_ACEOF
   4695 /* end confdefs.h.  */
   4696 #include <sys/types.h>
   4697 #include <sys/time.h>
   4698 #include <sys/resource.h>
   4699 #include <stdio.h>
   4700 /* HP-UX has wait3 but does not fill in rusage at all.  */
   4701 int
   4702 main ()
   4703 {
   4704   struct rusage r;
   4705   int i;
   4706   /* Use a field that we can force nonzero --
   4707      voluntary context switches.
   4708      For systems like NeXT and OSF/1 that don't set it,
   4709      also use the system CPU time.  And page faults (I/O) for Linux.  */
   4710   r.ru_nvcsw = 0;
   4711   r.ru_stime.tv_sec = 0;
   4712   r.ru_stime.tv_usec = 0;
   4713   r.ru_majflt = r.ru_minflt = 0;
   4714   switch (fork ())
   4715     {
   4716     case 0: /* Child.  */
   4717       sleep(1); /* Give up the CPU.  */
   4718       _exit(0);
   4719       break;
   4720     case -1: /* What can we do?  */
   4721       _exit(0);
   4722       break;
   4723     default: /* Parent.  */
   4724       wait3(&i, 0, &r);
   4725       /* Avoid "text file busy" from rm on fast HP-UX machines.  */
   4726       sleep(2);
   4727       exit (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0
   4728 	    && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0);
   4729     }
   4730 }
   4731 _ACEOF
   4732 rm -f conftest$ac_exeext
   4733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4734   (eval $ac_link) 2>&5
   4735   ac_status=$?
   4736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4737   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4739   (eval $ac_try) 2>&5
   4740   ac_status=$?
   4741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4742   (exit $ac_status); }; }; then
   4743   ac_cv_func_wait3_rusage=yes
   4744 else
   4745   echo "$as_me: program exited with status $ac_status" >&5
   4746 echo "$as_me: failed program was:" >&5
   4747 sed 's/^/| /' conftest.$ac_ext >&5
   4748 
   4749 ( exit $ac_status )
   4750 ac_cv_func_wait3_rusage=no
   4751 fi
   4752 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4753 fi
   4754 fi
   4755 echo "$as_me:$LINENO: result: $ac_cv_func_wait3_rusage" >&5
   4756 echo "${ECHO_T}$ac_cv_func_wait3_rusage" >&6
   4757 if test $ac_cv_func_wait3_rusage = yes; then
   4758 
   4759 cat >>confdefs.h <<\_ACEOF
   4760 #define HAVE_WAIT3 1
   4761 _ACEOF
   4762 
   4763 fi
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 for ac_func in gettimeofday mktime putenv strerror strspn strtod strtol strtoul
   4774 do
   4775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   4776 echo "$as_me:$LINENO: checking for $ac_func" >&5
   4777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   4778 if eval "test \"\${$as_ac_var+set}\" = set"; then
   4779   echo $ECHO_N "(cached) $ECHO_C" >&6
   4780 else
   4781   cat >conftest.$ac_ext <<_ACEOF
   4782 /* confdefs.h.  */
   4783 _ACEOF
   4784 cat confdefs.h >>conftest.$ac_ext
   4785 cat >>conftest.$ac_ext <<_ACEOF
   4786 /* end confdefs.h.  */
   4787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   4788    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   4789 #define $ac_func innocuous_$ac_func
   4790 
   4791 /* System header to define __stub macros and hopefully few prototypes,
   4792     which can conflict with char $ac_func (); below.
   4793     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4794     <limits.h> exists even on freestanding compilers.  */
   4795 
   4796 #ifdef __STDC__
   4797 # include <limits.h>
   4798 #else
   4799 # include <assert.h>
   4800 #endif
   4801 
   4802 #undef $ac_func
   4803 
   4804 /* Override any gcc2 internal prototype to avoid an error.  */
   4805 #ifdef __cplusplus
   4806 extern "C"
   4807 {
   4808 #endif
   4809 /* We use char because int might match the return type of a gcc2
   4810    builtin and then its argument prototype would still apply.  */
   4811 char $ac_func ();
   4812 /* The GNU C library defines this for functions which it implements
   4813     to always fail with ENOSYS.  Some functions are actually named
   4814     something starting with __ and the normal name is an alias.  */
   4815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   4816 choke me
   4817 #else
   4818 char (*f) () = $ac_func;
   4819 #endif
   4820 #ifdef __cplusplus
   4821 }
   4822 #endif
   4823 
   4824 int
   4825 main ()
   4826 {
   4827 return f != $ac_func;
   4828   ;
   4829   return 0;
   4830 }
   4831 _ACEOF
   4832 rm -f conftest.$ac_objext conftest$ac_exeext
   4833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4834   (eval $ac_link) 2>conftest.er1
   4835   ac_status=$?
   4836   grep -v '^ *+' conftest.er1 >conftest.err
   4837   rm -f conftest.er1
   4838   cat conftest.err >&5
   4839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4840   (exit $ac_status); } &&
   4841 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4843   (eval $ac_try) 2>&5
   4844   ac_status=$?
   4845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4846   (exit $ac_status); }; } &&
   4847 	 { ac_try='test -s conftest$ac_exeext'
   4848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4849   (eval $ac_try) 2>&5
   4850   ac_status=$?
   4851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4852   (exit $ac_status); }; }; then
   4853   eval "$as_ac_var=yes"
   4854 else
   4855   echo "$as_me: failed program was:" >&5
   4856 sed 's/^/| /' conftest.$ac_ext >&5
   4857 
   4858 eval "$as_ac_var=no"
   4859 fi
   4860 rm -f conftest.err conftest.$ac_objext \
   4861       conftest$ac_exeext conftest.$ac_ext
   4862 fi
   4863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   4864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   4865 if test `eval echo '${'$as_ac_var'}'` = yes; then
   4866   cat >>confdefs.h <<_ACEOF
   4867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   4868 _ACEOF
   4869 
   4870 fi
   4871 done
   4872 
   4873 
   4874 
   4875 
   4876 for ac_func in random rand drand48
   4877 do
   4878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   4879 echo "$as_me:$LINENO: checking for $ac_func" >&5
   4880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   4881 if eval "test \"\${$as_ac_var+set}\" = set"; then
   4882   echo $ECHO_N "(cached) $ECHO_C" >&6
   4883 else
   4884   cat >conftest.$ac_ext <<_ACEOF
   4885 /* confdefs.h.  */
   4886 _ACEOF
   4887 cat confdefs.h >>conftest.$ac_ext
   4888 cat >>conftest.$ac_ext <<_ACEOF
   4889 /* end confdefs.h.  */
   4890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   4891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   4892 #define $ac_func innocuous_$ac_func
   4893 
   4894 /* System header to define __stub macros and hopefully few prototypes,
   4895     which can conflict with char $ac_func (); below.
   4896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4897     <limits.h> exists even on freestanding compilers.  */
   4898 
   4899 #ifdef __STDC__
   4900 # include <limits.h>
   4901 #else
   4902 # include <assert.h>
   4903 #endif
   4904 
   4905 #undef $ac_func
   4906 
   4907 /* Override any gcc2 internal prototype to avoid an error.  */
   4908 #ifdef __cplusplus
   4909 extern "C"
   4910 {
   4911 #endif
   4912 /* We use char because int might match the return type of a gcc2
   4913    builtin and then its argument prototype would still apply.  */
   4914 char $ac_func ();
   4915 /* The GNU C library defines this for functions which it implements
   4916     to always fail with ENOSYS.  Some functions are actually named
   4917     something starting with __ and the normal name is an alias.  */
   4918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   4919 choke me
   4920 #else
   4921 char (*f) () = $ac_func;
   4922 #endif
   4923 #ifdef __cplusplus
   4924 }
   4925 #endif
   4926 
   4927 int
   4928 main ()
   4929 {
   4930 return f != $ac_func;
   4931   ;
   4932   return 0;
   4933 }
   4934 _ACEOF
   4935 rm -f conftest.$ac_objext conftest$ac_exeext
   4936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4937   (eval $ac_link) 2>conftest.er1
   4938   ac_status=$?
   4939   grep -v '^ *+' conftest.er1 >conftest.err
   4940   rm -f conftest.er1
   4941   cat conftest.err >&5
   4942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4943   (exit $ac_status); } &&
   4944 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4946   (eval $ac_try) 2>&5
   4947   ac_status=$?
   4948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4949   (exit $ac_status); }; } &&
   4950 	 { ac_try='test -s conftest$ac_exeext'
   4951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4952   (eval $ac_try) 2>&5
   4953   ac_status=$?
   4954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4955   (exit $ac_status); }; }; then
   4956   eval "$as_ac_var=yes"
   4957 else
   4958   echo "$as_me: failed program was:" >&5
   4959 sed 's/^/| /' conftest.$ac_ext >&5
   4960 
   4961 eval "$as_ac_var=no"
   4962 fi
   4963 rm -f conftest.err conftest.$ac_objext \
   4964       conftest$ac_exeext conftest.$ac_ext
   4965 fi
   4966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   4967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   4968 if test `eval echo '${'$as_ac_var'}'` = yes; then
   4969   cat >>confdefs.h <<_ACEOF
   4970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   4971 _ACEOF
   4972 
   4973 fi
   4974 done
   4975 
   4976 
   4977 EXTRA_UTL_OBJS=
   4978 EXTRA_UTL_SRC=
   4979 cs_cv_wdb=no
   4980 # Check whether --enable-apache or --disable-apache was given.
   4981 if test "${enable_apache+set}" = set; then
   4982   enableval="$enable_apache"
   4983   if test $enableval = no; then
   4984      echo "$as_me:$LINENO: result: Disabling wdb code" >&5
   4985 echo "${ECHO_T}Disabling wdb code" >&6
   4986    else
   4987      echo "$as_me:$LINENO: checking for library containing db_open" >&5
   4988 echo $ECHO_N "checking for library containing db_open... $ECHO_C" >&6
   4989 if test "${ac_cv_search_db_open+set}" = set; then
   4990   echo $ECHO_N "(cached) $ECHO_C" >&6
   4991 else
   4992   ac_func_search_save_LIBS=$LIBS
   4993 ac_cv_search_db_open=no
   4994 cat >conftest.$ac_ext <<_ACEOF
   4995 /* confdefs.h.  */
   4996 _ACEOF
   4997 cat confdefs.h >>conftest.$ac_ext
   4998 cat >>conftest.$ac_ext <<_ACEOF
   4999 /* end confdefs.h.  */
   5000 
   5001 /* Override any gcc2 internal prototype to avoid an error.  */
   5002 #ifdef __cplusplus
   5003 extern "C"
   5004 #endif
   5005 /* We use char because int might match the return type of a gcc2
   5006    builtin and then its argument prototype would still apply.  */
   5007 char db_open ();
   5008 int
   5009 main ()
   5010 {
   5011 db_open ();
   5012   ;
   5013   return 0;
   5014 }
   5015 _ACEOF
   5016 rm -f conftest.$ac_objext conftest$ac_exeext
   5017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5018   (eval $ac_link) 2>conftest.er1
   5019   ac_status=$?
   5020   grep -v '^ *+' conftest.er1 >conftest.err
   5021   rm -f conftest.er1
   5022   cat conftest.err >&5
   5023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5024   (exit $ac_status); } &&
   5025 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5027   (eval $ac_try) 2>&5
   5028   ac_status=$?
   5029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5030   (exit $ac_status); }; } &&
   5031 	 { ac_try='test -s conftest$ac_exeext'
   5032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5033   (eval $ac_try) 2>&5
   5034   ac_status=$?
   5035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5036   (exit $ac_status); }; }; then
   5037   ac_cv_search_db_open="none required"
   5038 else
   5039   echo "$as_me: failed program was:" >&5
   5040 sed 's/^/| /' conftest.$ac_ext >&5
   5041 
   5042 fi
   5043 rm -f conftest.err conftest.$ac_objext \
   5044       conftest$ac_exeext conftest.$ac_ext
   5045 if test "$ac_cv_search_db_open" = no; then
   5046   for ac_lib in db db2; do
   5047     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   5048     cat >conftest.$ac_ext <<_ACEOF
   5049 /* confdefs.h.  */
   5050 _ACEOF
   5051 cat confdefs.h >>conftest.$ac_ext
   5052 cat >>conftest.$ac_ext <<_ACEOF
   5053 /* end confdefs.h.  */
   5054 
   5055 /* Override any gcc2 internal prototype to avoid an error.  */
   5056 #ifdef __cplusplus
   5057 extern "C"
   5058 #endif
   5059 /* We use char because int might match the return type of a gcc2
   5060    builtin and then its argument prototype would still apply.  */
   5061 char db_open ();
   5062 int
   5063 main ()
   5064 {
   5065 db_open ();
   5066   ;
   5067   return 0;
   5068 }
   5069 _ACEOF
   5070 rm -f conftest.$ac_objext conftest$ac_exeext
   5071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5072   (eval $ac_link) 2>conftest.er1
   5073   ac_status=$?
   5074   grep -v '^ *+' conftest.er1 >conftest.err
   5075   rm -f conftest.er1
   5076   cat conftest.err >&5
   5077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5078   (exit $ac_status); } &&
   5079 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5081   (eval $ac_try) 2>&5
   5082   ac_status=$?
   5083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5084   (exit $ac_status); }; } &&
   5085 	 { ac_try='test -s conftest$ac_exeext'
   5086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5087   (eval $ac_try) 2>&5
   5088   ac_status=$?
   5089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5090   (exit $ac_status); }; }; then
   5091   ac_cv_search_db_open="-l$ac_lib"
   5092 break
   5093 else
   5094   echo "$as_me: failed program was:" >&5
   5095 sed 's/^/| /' conftest.$ac_ext >&5
   5096 
   5097 fi
   5098 rm -f conftest.err conftest.$ac_objext \
   5099       conftest$ac_exeext conftest.$ac_ext
   5100   done
   5101 fi
   5102 LIBS=$ac_func_search_save_LIBS
   5103 fi
   5104 echo "$as_me:$LINENO: result: $ac_cv_search_db_open" >&5
   5105 echo "${ECHO_T}$ac_cv_search_db_open" >&6
   5106 if test "$ac_cv_search_db_open" != no; then
   5107   test "$ac_cv_search_db_open" = "none required" || LIBS="$ac_cv_search_db_open $LIBS"
   5108   cs_cv_wdb=yes
   5109 fi
   5110 
   5111      if test $cs_cv_wdb = yes; then
   5112        cat >>confdefs.h <<\_ACEOF
   5113 #define HAVE_DB2 1
   5114 _ACEOF
   5115 
   5116        EXTRA_UTL_SRC="$EXTRA_UTL_SRC wdb.c"
   5117      fi
   5118    fi
   5119 fi;
   5120 
   5121 echo "$as_me:$LINENO: checking for lockf" >&5
   5122 echo $ECHO_N "checking for lockf... $ECHO_C" >&6
   5123 if test "${ac_cv_func_lockf+set}" = set; then
   5124   echo $ECHO_N "(cached) $ECHO_C" >&6
   5125 else
   5126   cat >conftest.$ac_ext <<_ACEOF
   5127 /* confdefs.h.  */
   5128 _ACEOF
   5129 cat confdefs.h >>conftest.$ac_ext
   5130 cat >>conftest.$ac_ext <<_ACEOF
   5131 /* end confdefs.h.  */
   5132 /* Define lockf to an innocuous variant, in case <limits.h> declares lockf.
   5133    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5134 #define lockf innocuous_lockf
   5135 
   5136 /* System header to define __stub macros and hopefully few prototypes,
   5137     which can conflict with char lockf (); below.
   5138     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5139     <limits.h> exists even on freestanding compilers.  */
   5140 
   5141 #ifdef __STDC__
   5142 # include <limits.h>
   5143 #else
   5144 # include <assert.h>
   5145 #endif
   5146 
   5147 #undef lockf
   5148 
   5149 /* Override any gcc2 internal prototype to avoid an error.  */
   5150 #ifdef __cplusplus
   5151 extern "C"
   5152 {
   5153 #endif
   5154 /* We use char because int might match the return type of a gcc2
   5155    builtin and then its argument prototype would still apply.  */
   5156 char lockf ();
   5157 /* The GNU C library defines this for functions which it implements
   5158     to always fail with ENOSYS.  Some functions are actually named
   5159     something starting with __ and the normal name is an alias.  */
   5160 #if defined (__stub_lockf) || defined (__stub___lockf)
   5161 choke me
   5162 #else
   5163 char (*f) () = lockf;
   5164 #endif
   5165 #ifdef __cplusplus
   5166 }
   5167 #endif
   5168 
   5169 int
   5170 main ()
   5171 {
   5172 return f != lockf;
   5173   ;
   5174   return 0;
   5175 }
   5176 _ACEOF
   5177 rm -f conftest.$ac_objext conftest$ac_exeext
   5178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5179   (eval $ac_link) 2>conftest.er1
   5180   ac_status=$?
   5181   grep -v '^ *+' conftest.er1 >conftest.err
   5182   rm -f conftest.er1
   5183   cat conftest.err >&5
   5184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5185   (exit $ac_status); } &&
   5186 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5188   (eval $ac_try) 2>&5
   5189   ac_status=$?
   5190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5191   (exit $ac_status); }; } &&
   5192 	 { ac_try='test -s conftest$ac_exeext'
   5193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5194   (eval $ac_try) 2>&5
   5195   ac_status=$?
   5196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5197   (exit $ac_status); }; }; then
   5198   ac_cv_func_lockf=yes
   5199 else
   5200   echo "$as_me: failed program was:" >&5
   5201 sed 's/^/| /' conftest.$ac_ext >&5
   5202 
   5203 ac_cv_func_lockf=no
   5204 fi
   5205 rm -f conftest.err conftest.$ac_objext \
   5206       conftest$ac_exeext conftest.$ac_ext
   5207 fi
   5208 echo "$as_me:$LINENO: result: $ac_cv_func_lockf" >&5
   5209 echo "${ECHO_T}$ac_cv_func_lockf" >&6
   5210 if test $ac_cv_func_lockf = yes; then
   5211 
   5212   cat >>confdefs.h <<\_ACEOF
   5213 #define HAVE_LOCKF 1
   5214 _ACEOF
   5215 
   5216   EXTRA_UTL_SRC="$EXTRA_UTL_SRC ulocks.c rcfs.c"
   5217 
   5218   cs_cv_pthread=no
   5219   if test "${ac_cv_header_pthread_h+set}" = set; then
   5220   echo "$as_me:$LINENO: checking for pthread.h" >&5
   5221 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
   5222 if test "${ac_cv_header_pthread_h+set}" = set; then
   5223   echo $ECHO_N "(cached) $ECHO_C" >&6
   5224 fi
   5225 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
   5226 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
   5227 else
   5228   # Is the header compilable?
   5229 echo "$as_me:$LINENO: checking pthread.h usability" >&5
   5230 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
   5231 cat >conftest.$ac_ext <<_ACEOF
   5232 /* confdefs.h.  */
   5233 _ACEOF
   5234 cat confdefs.h >>conftest.$ac_ext
   5235 cat >>conftest.$ac_ext <<_ACEOF
   5236 /* end confdefs.h.  */
   5237 $ac_includes_default
   5238 #include <pthread.h>
   5239 _ACEOF
   5240 rm -f conftest.$ac_objext
   5241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5242   (eval $ac_compile) 2>conftest.er1
   5243   ac_status=$?
   5244   grep -v '^ *+' conftest.er1 >conftest.err
   5245   rm -f conftest.er1
   5246   cat conftest.err >&5
   5247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5248   (exit $ac_status); } &&
   5249 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5251   (eval $ac_try) 2>&5
   5252   ac_status=$?
   5253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5254   (exit $ac_status); }; } &&
   5255 	 { ac_try='test -s conftest.$ac_objext'
   5256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5257   (eval $ac_try) 2>&5
   5258   ac_status=$?
   5259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5260   (exit $ac_status); }; }; then
   5261   ac_header_compiler=yes
   5262 else
   5263   echo "$as_me: failed program was:" >&5
   5264 sed 's/^/| /' conftest.$ac_ext >&5
   5265 
   5266 ac_header_compiler=no
   5267 fi
   5268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5269 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5270 echo "${ECHO_T}$ac_header_compiler" >&6
   5271 
   5272 # Is the header present?
   5273 echo "$as_me:$LINENO: checking pthread.h presence" >&5
   5274 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
   5275 cat >conftest.$ac_ext <<_ACEOF
   5276 /* confdefs.h.  */
   5277 _ACEOF
   5278 cat confdefs.h >>conftest.$ac_ext
   5279 cat >>conftest.$ac_ext <<_ACEOF
   5280 /* end confdefs.h.  */
   5281 #include <pthread.h>
   5282 _ACEOF
   5283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5284   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5285   ac_status=$?
   5286   grep -v '^ *+' conftest.er1 >conftest.err
   5287   rm -f conftest.er1
   5288   cat conftest.err >&5
   5289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5290   (exit $ac_status); } >/dev/null; then
   5291   if test -s conftest.err; then
   5292     ac_cpp_err=$ac_c_preproc_warn_flag
   5293     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   5294   else
   5295     ac_cpp_err=
   5296   fi
   5297 else
   5298   ac_cpp_err=yes
   5299 fi
   5300 if test -z "$ac_cpp_err"; then
   5301   ac_header_preproc=yes
   5302 else
   5303   echo "$as_me: failed program was:" >&5
   5304 sed 's/^/| /' conftest.$ac_ext >&5
   5305 
   5306   ac_header_preproc=no
   5307 fi
   5308 rm -f conftest.err conftest.$ac_ext
   5309 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5310 echo "${ECHO_T}$ac_header_preproc" >&6
   5311 
   5312 # So?  What about this header?
   5313 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5314   yes:no: )
   5315     { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
   5316 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5317     { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
   5318 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
   5319     ac_header_preproc=yes
   5320     ;;
   5321   no:yes:* )
   5322     { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
   5323 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
   5324     { echo "$as_me:$LINENO: WARNING: pthread.h:     check for missing prerequisite headers?" >&5
   5325 echo "$as_me: WARNING: pthread.h:     check for missing prerequisite headers?" >&2;}
   5326     { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
   5327 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
   5328     { echo "$as_me:$LINENO: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"" >&5
   5329 echo "$as_me: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   5330     { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
   5331 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
   5332     { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
   5333 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
   5334     (
   5335       cat <<\_ASBOX
   5336 ## ------------------------------------------ ##
   5337 ## Report this to the AC_PACKAGE_NAME lists.  ##
   5338 ## ------------------------------------------ ##
   5339 _ASBOX
   5340     ) |
   5341       sed "s/^/$as_me: WARNING:     /" >&2
   5342     ;;
   5343 esac
   5344 echo "$as_me:$LINENO: checking for pthread.h" >&5
   5345 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
   5346 if test "${ac_cv_header_pthread_h+set}" = set; then
   5347   echo $ECHO_N "(cached) $ECHO_C" >&6
   5348 else
   5349   ac_cv_header_pthread_h=$ac_header_preproc
   5350 fi
   5351 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
   5352 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
   5353 
   5354 fi
   5355 if test $ac_cv_header_pthread_h = yes; then
   5356   cs_cv_pthread=yes
   5357 fi
   5358 
   5359 
   5360   if test $cs_cv_pthread = yes; then
   5361     cat >>confdefs.h <<\_ACEOF
   5362 #define HAVE_PTHREADS 1
   5363 _ACEOF
   5364 
   5365     EXTRA_UTL_SRC="$EXTRA_UTL_SRC skiplist.c dict.c"
   5366   fi
   5367 
   5368 fi
   5369 
   5370 
   5371 # Make sure we can run config.sub.
   5372 $ac_config_sub sun4 >/dev/null 2>&1 ||
   5373   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
   5374 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   5375    { (exit 1); exit 1; }; }
   5376 
   5377 echo "$as_me:$LINENO: checking build system type" >&5
   5378 echo $ECHO_N "checking build system type... $ECHO_C" >&6
   5379 if test "${ac_cv_build+set}" = set; then
   5380   echo $ECHO_N "(cached) $ECHO_C" >&6
   5381 else
   5382   ac_cv_build_alias=$build_alias
   5383 test -z "$ac_cv_build_alias" &&
   5384   ac_cv_build_alias=`$ac_config_guess`
   5385 test -z "$ac_cv_build_alias" &&
   5386   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   5387 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   5388    { (exit 1); exit 1; }; }
   5389 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
   5390   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
   5391 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
   5392    { (exit 1); exit 1; }; }
   5393 
   5394 fi
   5395 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   5396 echo "${ECHO_T}$ac_cv_build" >&6
   5397 build=$ac_cv_build
   5398 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   5399 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   5400 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   5401 
   5402 
   5403 echo "$as_me:$LINENO: checking host system type" >&5
   5404 echo $ECHO_N "checking host system type... $ECHO_C" >&6
   5405 if test "${ac_cv_host+set}" = set; then
   5406   echo $ECHO_N "(cached) $ECHO_C" >&6
   5407 else
   5408   ac_cv_host_alias=$host_alias
   5409 test -z "$ac_cv_host_alias" &&
   5410   ac_cv_host_alias=$ac_cv_build_alias
   5411 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
   5412   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   5413 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   5414    { (exit 1); exit 1; }; }
   5415 
   5416 fi
   5417 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   5418 echo "${ECHO_T}$ac_cv_host" >&6
   5419 host=$ac_cv_host
   5420 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   5421 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   5422 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   5423 
   5424 
   5425 case $host_os in
   5426   *mingw32* ) MINGW32=yes;;
   5427 	  * ) MINGW32=no;;
   5428 esac
   5429 
   5430 if test "x$MINGW32" = "xyes"; then
   5431   CPPFLAGS="$CPPFLAGS -D__WINDOWS_GCC__"
   5432   USE_MINGW32="USE_MINGW32 = 1"
   5433 else
   5434   EXTRA_UTL_SRC="$EXTRA_UTL_SRC filter.c neo_net.c neo_server.c"
   5435 fi
   5436 
   5437 cs_cv_snprintf=no
   5438 SNPRINTFOBJS=""
   5439 echo "$as_me:$LINENO: checking for snprintf" >&5
   5440 echo $ECHO_N "checking for snprintf... $ECHO_C" >&6
   5441 if test "${ac_cv_func_snprintf+set}" = set; then
   5442   echo $ECHO_N "(cached) $ECHO_C" >&6
   5443 else
   5444   cat >conftest.$ac_ext <<_ACEOF
   5445 /* confdefs.h.  */
   5446 _ACEOF
   5447 cat confdefs.h >>conftest.$ac_ext
   5448 cat >>conftest.$ac_ext <<_ACEOF
   5449 /* end confdefs.h.  */
   5450 /* Define snprintf to an innocuous variant, in case <limits.h> declares snprintf.
   5451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5452 #define snprintf innocuous_snprintf
   5453 
   5454 /* System header to define __stub macros and hopefully few prototypes,
   5455     which can conflict with char snprintf (); below.
   5456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5457     <limits.h> exists even on freestanding compilers.  */
   5458 
   5459 #ifdef __STDC__
   5460 # include <limits.h>
   5461 #else
   5462 # include <assert.h>
   5463 #endif
   5464 
   5465 #undef snprintf
   5466 
   5467 /* Override any gcc2 internal prototype to avoid an error.  */
   5468 #ifdef __cplusplus
   5469 extern "C"
   5470 {
   5471 #endif
   5472 /* We use char because int might match the return type of a gcc2
   5473    builtin and then its argument prototype would still apply.  */
   5474 char snprintf ();
   5475 /* The GNU C library defines this for functions which it implements
   5476     to always fail with ENOSYS.  Some functions are actually named
   5477     something starting with __ and the normal name is an alias.  */
   5478 #if defined (__stub_snprintf) || defined (__stub___snprintf)
   5479 choke me
   5480 #else
   5481 char (*f) () = snprintf;
   5482 #endif
   5483 #ifdef __cplusplus
   5484 }
   5485 #endif
   5486 
   5487 int
   5488 main ()
   5489 {
   5490 return f != snprintf;
   5491   ;
   5492   return 0;
   5493 }
   5494 _ACEOF
   5495 rm -f conftest.$ac_objext conftest$ac_exeext
   5496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5497   (eval $ac_link) 2>conftest.er1
   5498   ac_status=$?
   5499   grep -v '^ *+' conftest.er1 >conftest.err
   5500   rm -f conftest.er1
   5501   cat conftest.err >&5
   5502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5503   (exit $ac_status); } &&
   5504 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5506   (eval $ac_try) 2>&5
   5507   ac_status=$?
   5508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5509   (exit $ac_status); }; } &&
   5510 	 { ac_try='test -s conftest$ac_exeext'
   5511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5512   (eval $ac_try) 2>&5
   5513   ac_status=$?
   5514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5515   (exit $ac_status); }; }; then
   5516   ac_cv_func_snprintf=yes
   5517 else
   5518   echo "$as_me: failed program was:" >&5
   5519 sed 's/^/| /' conftest.$ac_ext >&5
   5520 
   5521 ac_cv_func_snprintf=no
   5522 fi
   5523 rm -f conftest.err conftest.$ac_objext \
   5524       conftest$ac_exeext conftest.$ac_ext
   5525 fi
   5526 echo "$as_me:$LINENO: result: $ac_cv_func_snprintf" >&5
   5527 echo "${ECHO_T}$ac_cv_func_snprintf" >&6
   5528 if test $ac_cv_func_snprintf = yes; then
   5529   cat >>confdefs.h <<\_ACEOF
   5530 #define HAVE_SNPRINTF 1
   5531 _ACEOF
   5532 
   5533 else
   5534   cs_cv_snprintf=yes
   5535 fi
   5536 
   5537 echo "$as_me:$LINENO: checking for vsnprintf" >&5
   5538 echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6
   5539 if test "${ac_cv_func_vsnprintf+set}" = set; then
   5540   echo $ECHO_N "(cached) $ECHO_C" >&6
   5541 else
   5542   cat >conftest.$ac_ext <<_ACEOF
   5543 /* confdefs.h.  */
   5544 _ACEOF
   5545 cat confdefs.h >>conftest.$ac_ext
   5546 cat >>conftest.$ac_ext <<_ACEOF
   5547 /* end confdefs.h.  */
   5548 /* Define vsnprintf to an innocuous variant, in case <limits.h> declares vsnprintf.
   5549    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5550 #define vsnprintf innocuous_vsnprintf
   5551 
   5552 /* System header to define __stub macros and hopefully few prototypes,
   5553     which can conflict with char vsnprintf (); below.
   5554     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5555     <limits.h> exists even on freestanding compilers.  */
   5556 
   5557 #ifdef __STDC__
   5558 # include <limits.h>
   5559 #else
   5560 # include <assert.h>
   5561 #endif
   5562 
   5563 #undef vsnprintf
   5564 
   5565 /* Override any gcc2 internal prototype to avoid an error.  */
   5566 #ifdef __cplusplus
   5567 extern "C"
   5568 {
   5569 #endif
   5570 /* We use char because int might match the return type of a gcc2
   5571    builtin and then its argument prototype would still apply.  */
   5572 char vsnprintf ();
   5573 /* The GNU C library defines this for functions which it implements
   5574     to always fail with ENOSYS.  Some functions are actually named
   5575     something starting with __ and the normal name is an alias.  */
   5576 #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
   5577 choke me
   5578 #else
   5579 char (*f) () = vsnprintf;
   5580 #endif
   5581 #ifdef __cplusplus
   5582 }
   5583 #endif
   5584 
   5585 int
   5586 main ()
   5587 {
   5588 return f != vsnprintf;
   5589   ;
   5590   return 0;
   5591 }
   5592 _ACEOF
   5593 rm -f conftest.$ac_objext conftest$ac_exeext
   5594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5595   (eval $ac_link) 2>conftest.er1
   5596   ac_status=$?
   5597   grep -v '^ *+' conftest.er1 >conftest.err
   5598   rm -f conftest.er1
   5599   cat conftest.err >&5
   5600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5601   (exit $ac_status); } &&
   5602 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5604   (eval $ac_try) 2>&5
   5605   ac_status=$?
   5606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5607   (exit $ac_status); }; } &&
   5608 	 { ac_try='test -s conftest$ac_exeext'
   5609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5610   (eval $ac_try) 2>&5
   5611   ac_status=$?
   5612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5613   (exit $ac_status); }; }; then
   5614   ac_cv_func_vsnprintf=yes
   5615 else
   5616   echo "$as_me: failed program was:" >&5
   5617 sed 's/^/| /' conftest.$ac_ext >&5
   5618 
   5619 ac_cv_func_vsnprintf=no
   5620 fi
   5621 rm -f conftest.err conftest.$ac_objext \
   5622       conftest$ac_exeext conftest.$ac_ext
   5623 fi
   5624 echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf" >&5
   5625 echo "${ECHO_T}$ac_cv_func_vsnprintf" >&6
   5626 if test $ac_cv_func_vsnprintf = yes; then
   5627   cat >>confdefs.h <<\_ACEOF
   5628 #define HAVE_VSNPRINTF 1
   5629 _ACEOF
   5630 
   5631 else
   5632   cs_cv_snprintf=yes
   5633 fi
   5634 
   5635 if test $cs_cv_snprintf = yes; then
   5636   EXTRA_UTL_OBJS="$EXTRA_UTL_OBJS snprintf.o"
   5637 fi
   5638 
   5639 
   5640 cs_cv_missing=no
   5641 cs_cv_need_reentrant=no
   5642 
   5643 for ac_func in localtime_r
   5644 do
   5645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5646 echo "$as_me:$LINENO: checking for $ac_func" >&5
   5647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   5648 if eval "test \"\${$as_ac_var+set}\" = set"; then
   5649   echo $ECHO_N "(cached) $ECHO_C" >&6
   5650 else
   5651   cat >conftest.$ac_ext <<_ACEOF
   5652 /* confdefs.h.  */
   5653 _ACEOF
   5654 cat confdefs.h >>conftest.$ac_ext
   5655 cat >>conftest.$ac_ext <<_ACEOF
   5656 /* end confdefs.h.  */
   5657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   5658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5659 #define $ac_func innocuous_$ac_func
   5660 
   5661 /* System header to define __stub macros and hopefully few prototypes,
   5662     which can conflict with char $ac_func (); below.
   5663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5664     <limits.h> exists even on freestanding compilers.  */
   5665 
   5666 #ifdef __STDC__
   5667 # include <limits.h>
   5668 #else
   5669 # include <assert.h>
   5670 #endif
   5671 
   5672 #undef $ac_func
   5673 
   5674 /* Override any gcc2 internal prototype to avoid an error.  */
   5675 #ifdef __cplusplus
   5676 extern "C"
   5677 {
   5678 #endif
   5679 /* We use char because int might match the return type of a gcc2
   5680    builtin and then its argument prototype would still apply.  */
   5681 char $ac_func ();
   5682 /* The GNU C library defines this for functions which it implements
   5683     to always fail with ENOSYS.  Some functions are actually named
   5684     something starting with __ and the normal name is an alias.  */
   5685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   5686 choke me
   5687 #else
   5688 char (*f) () = $ac_func;
   5689 #endif
   5690 #ifdef __cplusplus
   5691 }
   5692 #endif
   5693 
   5694 int
   5695 main ()
   5696 {
   5697 return f != $ac_func;
   5698   ;
   5699   return 0;
   5700 }
   5701 _ACEOF
   5702 rm -f conftest.$ac_objext conftest$ac_exeext
   5703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5704   (eval $ac_link) 2>conftest.er1
   5705   ac_status=$?
   5706   grep -v '^ *+' conftest.er1 >conftest.err
   5707   rm -f conftest.er1
   5708   cat conftest.err >&5
   5709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5710   (exit $ac_status); } &&
   5711 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5713   (eval $ac_try) 2>&5
   5714   ac_status=$?
   5715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5716   (exit $ac_status); }; } &&
   5717 	 { ac_try='test -s conftest$ac_exeext'
   5718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5719   (eval $ac_try) 2>&5
   5720   ac_status=$?
   5721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5722   (exit $ac_status); }; }; then
   5723   eval "$as_ac_var=yes"
   5724 else
   5725   echo "$as_me: failed program was:" >&5
   5726 sed 's/^/| /' conftest.$ac_ext >&5
   5727 
   5728 eval "$as_ac_var=no"
   5729 fi
   5730 rm -f conftest.err conftest.$ac_objext \
   5731       conftest$ac_exeext conftest.$ac_ext
   5732 fi
   5733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   5734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   5735 if test `eval echo '${'$as_ac_var'}'` = yes; then
   5736   cat >>confdefs.h <<_ACEOF
   5737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5738 _ACEOF
   5739 
   5740   echo "$as_me:$LINENO: checking whether localtime_r is declared" >&5
   5741 echo $ECHO_N "checking whether localtime_r is declared... $ECHO_C" >&6
   5742   cat >conftest.$ac_ext <<_ACEOF
   5743 /* confdefs.h.  */
   5744 _ACEOF
   5745 cat confdefs.h >>conftest.$ac_ext
   5746 cat >>conftest.$ac_ext <<_ACEOF
   5747 /* end confdefs.h.  */
   5748 
   5749 #include <time.h>
   5750 _ACEOF
   5751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5752   $EGREP "localtime_r" >/dev/null 2>&1; then
   5753 
   5754     cat >>confdefs.h <<\_ACEOF
   5755 #define HAVE_LOCALTIME_R 1
   5756 _ACEOF
   5757 
   5758     echo "$as_me:$LINENO: result: yes" >&5
   5759 echo "${ECHO_T}yes" >&6
   5760 else
   5761 
   5762     echo "$as_me:$LINENO: result: no" >&5
   5763 echo "${ECHO_T}no" >&6
   5764     echo "$as_me:$LINENO: checking whether localtime_r with -D_REENTRANT is declared" >&5
   5765 echo $ECHO_N "checking whether localtime_r with -D_REENTRANT is declared... $ECHO_C" >&6
   5766     cat >conftest.$ac_ext <<_ACEOF
   5767 /* confdefs.h.  */
   5768 _ACEOF
   5769 cat confdefs.h >>conftest.$ac_ext
   5770 cat >>conftest.$ac_ext <<_ACEOF
   5771 /* end confdefs.h.  */
   5772 
   5773 #define _REENTRANT
   5774 #include <time.h>
   5775 _ACEOF
   5776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5777   $EGREP "localtime_r" >/dev/null 2>&1; then
   5778 
   5779       cs_cv_need_reentrant=yes
   5780       echo "$as_me:$LINENO: result: yes" >&5
   5781 echo "${ECHO_T}yes" >&6
   5782 else
   5783 
   5784       cs_cv_missing=yes
   5785       echo "$as_me:$LINENO: result: no" >&5
   5786 echo "${ECHO_T}no" >&6
   5787 fi
   5788 rm -f conftest*
   5789 
   5790 fi
   5791 rm -f conftest*
   5792 
   5793 else
   5794   cs_cv_missing=yes
   5795 fi
   5796 done
   5797 
   5798 
   5799 
   5800 for ac_func in gmtime_r
   5801 do
   5802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5803 echo "$as_me:$LINENO: checking for $ac_func" >&5
   5804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   5805 if eval "test \"\${$as_ac_var+set}\" = set"; then
   5806   echo $ECHO_N "(cached) $ECHO_C" >&6
   5807 else
   5808   cat >conftest.$ac_ext <<_ACEOF
   5809 /* confdefs.h.  */
   5810 _ACEOF
   5811 cat confdefs.h >>conftest.$ac_ext
   5812 cat >>conftest.$ac_ext <<_ACEOF
   5813 /* end confdefs.h.  */
   5814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   5815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5816 #define $ac_func innocuous_$ac_func
   5817 
   5818 /* System header to define __stub macros and hopefully few prototypes,
   5819     which can conflict with char $ac_func (); below.
   5820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5821     <limits.h> exists even on freestanding compilers.  */
   5822 
   5823 #ifdef __STDC__
   5824 # include <limits.h>
   5825 #else
   5826 # include <assert.h>
   5827 #endif
   5828 
   5829 #undef $ac_func
   5830 
   5831 /* Override any gcc2 internal prototype to avoid an error.  */
   5832 #ifdef __cplusplus
   5833 extern "C"
   5834 {
   5835 #endif
   5836 /* We use char because int might match the return type of a gcc2
   5837    builtin and then its argument prototype would still apply.  */
   5838 char $ac_func ();
   5839 /* The GNU C library defines this for functions which it implements
   5840     to always fail with ENOSYS.  Some functions are actually named
   5841     something starting with __ and the normal name is an alias.  */
   5842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   5843 choke me
   5844 #else
   5845 char (*f) () = $ac_func;
   5846 #endif
   5847 #ifdef __cplusplus
   5848 }
   5849 #endif
   5850 
   5851 int
   5852 main ()
   5853 {
   5854 return f != $ac_func;
   5855   ;
   5856   return 0;
   5857 }
   5858 _ACEOF
   5859 rm -f conftest.$ac_objext conftest$ac_exeext
   5860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5861   (eval $ac_link) 2>conftest.er1
   5862   ac_status=$?
   5863   grep -v '^ *+' conftest.er1 >conftest.err
   5864   rm -f conftest.er1
   5865   cat conftest.err >&5
   5866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5867   (exit $ac_status); } &&
   5868 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5870   (eval $ac_try) 2>&5
   5871   ac_status=$?
   5872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5873   (exit $ac_status); }; } &&
   5874 	 { ac_try='test -s conftest$ac_exeext'
   5875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5876   (eval $ac_try) 2>&5
   5877   ac_status=$?
   5878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5879   (exit $ac_status); }; }; then
   5880   eval "$as_ac_var=yes"
   5881 else
   5882   echo "$as_me: failed program was:" >&5
   5883 sed 's/^/| /' conftest.$ac_ext >&5
   5884 
   5885 eval "$as_ac_var=no"
   5886 fi
   5887 rm -f conftest.err conftest.$ac_objext \
   5888       conftest$ac_exeext conftest.$ac_ext
   5889 fi
   5890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   5891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   5892 if test `eval echo '${'$as_ac_var'}'` = yes; then
   5893   cat >>confdefs.h <<_ACEOF
   5894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5895 _ACEOF
   5896 
   5897   echo "$as_me:$LINENO: checking whether gmtime_r is declared" >&5
   5898 echo $ECHO_N "checking whether gmtime_r is declared... $ECHO_C" >&6
   5899   cat >conftest.$ac_ext <<_ACEOF
   5900 /* confdefs.h.  */
   5901 _ACEOF
   5902 cat confdefs.h >>conftest.$ac_ext
   5903 cat >>conftest.$ac_ext <<_ACEOF
   5904 /* end confdefs.h.  */
   5905 
   5906 #include <time.h>
   5907 _ACEOF
   5908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5909   $EGREP "gmtime_r" >/dev/null 2>&1; then
   5910 
   5911     cat >>confdefs.h <<\_ACEOF
   5912 #define HAVE_GMTIME_R 1
   5913 _ACEOF
   5914 
   5915     echo "$as_me:$LINENO: result: yes" >&5
   5916 echo "${ECHO_T}yes" >&6
   5917 else
   5918 
   5919     echo "$as_me:$LINENO: result: no" >&5
   5920 echo "${ECHO_T}no" >&6
   5921     echo "$as_me:$LINENO: checking whether gmtime_r with -D_REENTRANT is declared" >&5
   5922 echo $ECHO_N "checking whether gmtime_r with -D_REENTRANT is declared... $ECHO_C" >&6
   5923     cat >conftest.$ac_ext <<_ACEOF
   5924 /* confdefs.h.  */
   5925 _ACEOF
   5926 cat confdefs.h >>conftest.$ac_ext
   5927 cat >>conftest.$ac_ext <<_ACEOF
   5928 /* end confdefs.h.  */
   5929 
   5930 #define _REENTRANT
   5931 #include <time.h>
   5932 _ACEOF
   5933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5934   $EGREP "gmtime_r" >/dev/null 2>&1; then
   5935 
   5936       cs_cv_need_reentrant=yes
   5937       echo "$as_me:$LINENO: result: yes" >&5
   5938 echo "${ECHO_T}yes" >&6
   5939 else
   5940 
   5941       cs_cv_missing=yes
   5942       echo "$as_me:$LINENO: result: no" >&5
   5943 echo "${ECHO_T}no" >&6
   5944 fi
   5945 rm -f conftest*
   5946 
   5947 fi
   5948 rm -f conftest*
   5949 
   5950 else
   5951   cs_cv_missing=yes
   5952 fi
   5953 done
   5954 
   5955 
   5956 
   5957 for ac_func in strtok_r
   5958 do
   5959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5960 echo "$as_me:$LINENO: checking for $ac_func" >&5
   5961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   5962 if eval "test \"\${$as_ac_var+set}\" = set"; then
   5963   echo $ECHO_N "(cached) $ECHO_C" >&6
   5964 else
   5965   cat >conftest.$ac_ext <<_ACEOF
   5966 /* confdefs.h.  */
   5967 _ACEOF
   5968 cat confdefs.h >>conftest.$ac_ext
   5969 cat >>conftest.$ac_ext <<_ACEOF
   5970 /* end confdefs.h.  */
   5971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   5972    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5973 #define $ac_func innocuous_$ac_func
   5974 
   5975 /* System header to define __stub macros and hopefully few prototypes,
   5976     which can conflict with char $ac_func (); below.
   5977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5978     <limits.h> exists even on freestanding compilers.  */
   5979 
   5980 #ifdef __STDC__
   5981 # include <limits.h>
   5982 #else
   5983 # include <assert.h>
   5984 #endif
   5985 
   5986 #undef $ac_func
   5987 
   5988 /* Override any gcc2 internal prototype to avoid an error.  */
   5989 #ifdef __cplusplus
   5990 extern "C"
   5991 {
   5992 #endif
   5993 /* We use char because int might match the return type of a gcc2
   5994    builtin and then its argument prototype would still apply.  */
   5995 char $ac_func ();
   5996 /* The GNU C library defines this for functions which it implements
   5997     to always fail with ENOSYS.  Some functions are actually named
   5998     something starting with __ and the normal name is an alias.  */
   5999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   6000 choke me
   6001 #else
   6002 char (*f) () = $ac_func;
   6003 #endif
   6004 #ifdef __cplusplus
   6005 }
   6006 #endif
   6007 
   6008 int
   6009 main ()
   6010 {
   6011 return f != $ac_func;
   6012   ;
   6013   return 0;
   6014 }
   6015 _ACEOF
   6016 rm -f conftest.$ac_objext conftest$ac_exeext
   6017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6018   (eval $ac_link) 2>conftest.er1
   6019   ac_status=$?
   6020   grep -v '^ *+' conftest.er1 >conftest.err
   6021   rm -f conftest.er1
   6022   cat conftest.err >&5
   6023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6024   (exit $ac_status); } &&
   6025 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6027   (eval $ac_try) 2>&5
   6028   ac_status=$?
   6029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6030   (exit $ac_status); }; } &&
   6031 	 { ac_try='test -s conftest$ac_exeext'
   6032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6033   (eval $ac_try) 2>&5
   6034   ac_status=$?
   6035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6036   (exit $ac_status); }; }; then
   6037   eval "$as_ac_var=yes"
   6038 else
   6039   echo "$as_me: failed program was:" >&5
   6040 sed 's/^/| /' conftest.$ac_ext >&5
   6041 
   6042 eval "$as_ac_var=no"
   6043 fi
   6044 rm -f conftest.err conftest.$ac_objext \
   6045       conftest$ac_exeext conftest.$ac_ext
   6046 fi
   6047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   6048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   6049 if test `eval echo '${'$as_ac_var'}'` = yes; then
   6050   cat >>confdefs.h <<_ACEOF
   6051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   6052 _ACEOF
   6053 
   6054   echo "$as_me:$LINENO: checking whether strtok_r is declared" >&5
   6055 echo $ECHO_N "checking whether strtok_r is declared... $ECHO_C" >&6
   6056   cat >conftest.$ac_ext <<_ACEOF
   6057 /* confdefs.h.  */
   6058 _ACEOF
   6059 cat confdefs.h >>conftest.$ac_ext
   6060 cat >>conftest.$ac_ext <<_ACEOF
   6061 /* end confdefs.h.  */
   6062 
   6063 #include <string.h>
   6064 _ACEOF
   6065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6066   $EGREP "strtok_r" >/dev/null 2>&1; then
   6067 
   6068     cat >>confdefs.h <<\_ACEOF
   6069 #define HAVE_STRTOK_R 1
   6070 _ACEOF
   6071 
   6072     echo "$as_me:$LINENO: result: yes" >&5
   6073 echo "${ECHO_T}yes" >&6
   6074 else
   6075 
   6076     echo "$as_me:$LINENO: result: no" >&5
   6077 echo "${ECHO_T}no" >&6
   6078     echo "$as_me:$LINENO: checking whether strtok_r with -D_REENTRANT is declared" >&5
   6079 echo $ECHO_N "checking whether strtok_r with -D_REENTRANT is declared... $ECHO_C" >&6
   6080     cat >conftest.$ac_ext <<_ACEOF
   6081 /* confdefs.h.  */
   6082 _ACEOF
   6083 cat confdefs.h >>conftest.$ac_ext
   6084 cat >>conftest.$ac_ext <<_ACEOF
   6085 /* end confdefs.h.  */
   6086 
   6087 #define _REENTRANT
   6088 #include <string.h>
   6089 _ACEOF
   6090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6091   $EGREP "strtok_r" >/dev/null 2>&1; then
   6092 
   6093       cs_cv_need_reentrant=yes
   6094       echo "$as_me:$LINENO: result: yes" >&5
   6095 echo "${ECHO_T}yes" >&6
   6096 else
   6097 
   6098       cs_cv_missing=yes
   6099       echo "$as_me:$LINENO: result: no" >&5
   6100 echo "${ECHO_T}no" >&6
   6101 fi
   6102 rm -f conftest*
   6103 
   6104 fi
   6105 rm -f conftest*
   6106 
   6107 else
   6108   cs_cv_missing=yes
   6109 fi
   6110 done
   6111 
   6112 
   6113 echo "$as_me:$LINENO: checking for mkstemp" >&5
   6114 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
   6115 if test "${ac_cv_func_mkstemp+set}" = set; then
   6116   echo $ECHO_N "(cached) $ECHO_C" >&6
   6117 else
   6118   cat >conftest.$ac_ext <<_ACEOF
   6119 /* confdefs.h.  */
   6120 _ACEOF
   6121 cat confdefs.h >>conftest.$ac_ext
   6122 cat >>conftest.$ac_ext <<_ACEOF
   6123 /* end confdefs.h.  */
   6124 /* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
   6125    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   6126 #define mkstemp innocuous_mkstemp
   6127 
   6128 /* System header to define __stub macros and hopefully few prototypes,
   6129     which can conflict with char mkstemp (); below.
   6130     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6131     <limits.h> exists even on freestanding compilers.  */
   6132 
   6133 #ifdef __STDC__
   6134 # include <limits.h>
   6135 #else
   6136 # include <assert.h>
   6137 #endif
   6138 
   6139 #undef mkstemp
   6140 
   6141 /* Override any gcc2 internal prototype to avoid an error.  */
   6142 #ifdef __cplusplus
   6143 extern "C"
   6144 {
   6145 #endif
   6146 /* We use char because int might match the return type of a gcc2
   6147    builtin and then its argument prototype would still apply.  */
   6148 char mkstemp ();
   6149 /* The GNU C library defines this for functions which it implements
   6150     to always fail with ENOSYS.  Some functions are actually named
   6151     something starting with __ and the normal name is an alias.  */
   6152 #if defined (__stub_mkstemp) || defined (__stub___mkstemp)
   6153 choke me
   6154 #else
   6155 char (*f) () = mkstemp;
   6156 #endif
   6157 #ifdef __cplusplus
   6158 }
   6159 #endif
   6160 
   6161 int
   6162 main ()
   6163 {
   6164 return f != mkstemp;
   6165   ;
   6166   return 0;
   6167 }
   6168 _ACEOF
   6169 rm -f conftest.$ac_objext conftest$ac_exeext
   6170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6171   (eval $ac_link) 2>conftest.er1
   6172   ac_status=$?
   6173   grep -v '^ *+' conftest.er1 >conftest.err
   6174   rm -f conftest.er1
   6175   cat conftest.err >&5
   6176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6177   (exit $ac_status); } &&
   6178 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6180   (eval $ac_try) 2>&5
   6181   ac_status=$?
   6182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6183   (exit $ac_status); }; } &&
   6184 	 { ac_try='test -s conftest$ac_exeext'
   6185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6186   (eval $ac_try) 2>&5
   6187   ac_status=$?
   6188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6189   (exit $ac_status); }; }; then
   6190   ac_cv_func_mkstemp=yes
   6191 else
   6192   echo "$as_me: failed program was:" >&5
   6193 sed 's/^/| /' conftest.$ac_ext >&5
   6194 
   6195 ac_cv_func_mkstemp=no
   6196 fi
   6197 rm -f conftest.err conftest.$ac_objext \
   6198       conftest$ac_exeext conftest.$ac_ext
   6199 fi
   6200 echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
   6201 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
   6202 if test $ac_cv_func_mkstemp = yes; then
   6203   cat >>confdefs.h <<\_ACEOF
   6204 #define HAVE_MKSTEMP 1
   6205 _ACEOF
   6206 
   6207 else
   6208   cs_cv_missing=yes
   6209 fi
   6210 
   6211 if test $cs_cv_missing = yes; then
   6212   EXTRA_UTL_OBJS="$EXTRA_UTL_OBJS missing.o"
   6213 fi
   6214 if test $cs_cv_need_reentrant = yes; then
   6215   CPPFLAGS="$CPPFLAGS -D_REENTRANT"
   6216 fi
   6217 
   6218 cs_cv_regex=yes
   6219 echo "$as_me:$LINENO: checking for regexec" >&5
   6220 echo $ECHO_N "checking for regexec... $ECHO_C" >&6
   6221 if test "${ac_cv_func_regexec+set}" = set; then
   6222   echo $ECHO_N "(cached) $ECHO_C" >&6
   6223 else
   6224   cat >conftest.$ac_ext <<_ACEOF
   6225 /* confdefs.h.  */
   6226 _ACEOF
   6227 cat confdefs.h >>conftest.$ac_ext
   6228 cat >>conftest.$ac_ext <<_ACEOF
   6229 /* end confdefs.h.  */
   6230 /* Define regexec to an innocuous variant, in case <limits.h> declares regexec.
   6231    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   6232 #define regexec innocuous_regexec
   6233 
   6234 /* System header to define __stub macros and hopefully few prototypes,
   6235     which can conflict with char regexec (); below.
   6236     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6237     <limits.h> exists even on freestanding compilers.  */
   6238 
   6239 #ifdef __STDC__
   6240 # include <limits.h>
   6241 #else
   6242 # include <assert.h>
   6243 #endif
   6244 
   6245 #undef regexec
   6246 
   6247 /* Override any gcc2 internal prototype to avoid an error.  */
   6248 #ifdef __cplusplus
   6249 extern "C"
   6250 {
   6251 #endif
   6252 /* We use char because int might match the return type of a gcc2
   6253    builtin and then its argument prototype would still apply.  */
   6254 char regexec ();
   6255 /* The GNU C library defines this for functions which it implements
   6256     to always fail with ENOSYS.  Some functions are actually named
   6257     something starting with __ and the normal name is an alias.  */
   6258 #if defined (__stub_regexec) || defined (__stub___regexec)
   6259 choke me
   6260 #else
   6261 char (*f) () = regexec;
   6262 #endif
   6263 #ifdef __cplusplus
   6264 }
   6265 #endif
   6266 
   6267 int
   6268 main ()
   6269 {
   6270 return f != regexec;
   6271   ;
   6272   return 0;
   6273 }
   6274 _ACEOF
   6275 rm -f conftest.$ac_objext conftest$ac_exeext
   6276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6277   (eval $ac_link) 2>conftest.er1
   6278   ac_status=$?
   6279   grep -v '^ *+' conftest.er1 >conftest.err
   6280   rm -f conftest.er1
   6281   cat conftest.err >&5
   6282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6283   (exit $ac_status); } &&
   6284 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6286   (eval $ac_try) 2>&5
   6287   ac_status=$?
   6288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6289   (exit $ac_status); }; } &&
   6290 	 { ac_try='test -s conftest$ac_exeext'
   6291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6292   (eval $ac_try) 2>&5
   6293   ac_status=$?
   6294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6295   (exit $ac_status); }; }; then
   6296   ac_cv_func_regexec=yes
   6297 else
   6298   echo "$as_me: failed program was:" >&5
   6299 sed 's/^/| /' conftest.$ac_ext >&5
   6300 
   6301 ac_cv_func_regexec=no
   6302 fi
   6303 rm -f conftest.err conftest.$ac_objext \
   6304       conftest$ac_exeext conftest.$ac_ext
   6305 fi
   6306 echo "$as_me:$LINENO: result: $ac_cv_func_regexec" >&5
   6307 echo "${ECHO_T}$ac_cv_func_regexec" >&6
   6308 if test $ac_cv_func_regexec = yes; then
   6309   cat >>confdefs.h <<\_ACEOF
   6310 #define HAVE_REGEX 1
   6311 _ACEOF
   6312 
   6313 else
   6314   cs_cv_regex=no
   6315 fi
   6316 
   6317 if test $cs_cv_regex = no; then
   6318   CPPFLAGS="$CPPFLAGS -I\$(NEOTONIC_ROOT)/util/regex"
   6319   EXTRA_UTL_SRC="$EXTRA_UTL_SRC regex/regex.c"
   6320 fi
   6321 
   6322 cs_cv_compression=yes
   6323 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
   6324 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
   6325 if test "${ac_cv_lib_z_deflate+set}" = set; then
   6326   echo $ECHO_N "(cached) $ECHO_C" >&6
   6327 else
   6328   ac_check_lib_save_LIBS=$LIBS
   6329 LIBS="-lz  $LIBS"
   6330 cat >conftest.$ac_ext <<_ACEOF
   6331 /* confdefs.h.  */
   6332 _ACEOF
   6333 cat confdefs.h >>conftest.$ac_ext
   6334 cat >>conftest.$ac_ext <<_ACEOF
   6335 /* end confdefs.h.  */
   6336 
   6337 /* Override any gcc2 internal prototype to avoid an error.  */
   6338 #ifdef __cplusplus
   6339 extern "C"
   6340 #endif
   6341 /* We use char because int might match the return type of a gcc2
   6342    builtin and then its argument prototype would still apply.  */
   6343 char deflate ();
   6344 int
   6345 main ()
   6346 {
   6347 deflate ();
   6348   ;
   6349   return 0;
   6350 }
   6351 _ACEOF
   6352 rm -f conftest.$ac_objext conftest$ac_exeext
   6353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6354   (eval $ac_link) 2>conftest.er1
   6355   ac_status=$?
   6356   grep -v '^ *+' conftest.er1 >conftest.err
   6357   rm -f conftest.er1
   6358   cat conftest.err >&5
   6359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6360   (exit $ac_status); } &&
   6361 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6363   (eval $ac_try) 2>&5
   6364   ac_status=$?
   6365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6366   (exit $ac_status); }; } &&
   6367 	 { ac_try='test -s conftest$ac_exeext'
   6368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6369   (eval $ac_try) 2>&5
   6370   ac_status=$?
   6371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6372   (exit $ac_status); }; }; then
   6373   ac_cv_lib_z_deflate=yes
   6374 else
   6375   echo "$as_me: failed program was:" >&5
   6376 sed 's/^/| /' conftest.$ac_ext >&5
   6377 
   6378 ac_cv_lib_z_deflate=no
   6379 fi
   6380 rm -f conftest.err conftest.$ac_objext \
   6381       conftest$ac_exeext conftest.$ac_ext
   6382 LIBS=$ac_check_lib_save_LIBS
   6383 fi
   6384 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
   6385 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
   6386 if test $ac_cv_lib_z_deflate = yes; then
   6387   cs_cv_compression=yes
   6388 else
   6389   cs_cv_compression=no
   6390 fi
   6391 
   6392 # Check whether --enable-compression or --disable-compression was given.
   6393 if test "${enable_compression+set}" = set; then
   6394   enableval="$enable_compression"
   6395   if test $enableval = no; then
   6396      cs_cv_compression=no;
   6397      echo "$as_me:$LINENO: result: Disabling HTML Compression support" >&5
   6398 echo "${ECHO_T}Disabling HTML Compression support" >&6
   6399    fi
   6400 fi;
   6401 
   6402 if test $cs_cv_compression = yes; then
   6403   cat >>confdefs.h <<\_ACEOF
   6404 #define HTML_COMPRESSION 1
   6405 _ACEOF
   6406 
   6407   LIBS="$LIBS -lz"
   6408 fi
   6409 
   6410 # Check whether --enable-remote-debugger or --disable-remote-debugger was given.
   6411 if test "${enable_remote_debugger+set}" = set; then
   6412   enableval="$enable_remote_debugger"
   6413   if test $enableval = yes; then
   6414      cat >>confdefs.h <<\_ACEOF
   6415 #define ENABLE_REMOTE_DEBUG 1
   6416 _ACEOF
   6417 
   6418      echo "$as_me:$LINENO: result: Enabling CGI X Remote debugger" >&5
   6419 echo "${ECHO_T}Enabling CGI X Remote debugger" >&6
   6420    fi
   6421 fi;
   6422 
   6423 cs_cv_apache=yes
   6424 # Check whether --enable-apache or --disable-apache was given.
   6425 if test "${enable_apache+set}" = set; then
   6426   enableval="$enable_apache"
   6427   if test $enableval = no; then
   6428      cs_cv_apache=no;
   6429      echo "$as_me:$LINENO: result: Disabling Apache 1.3.x Module" >&5
   6430 echo "${ECHO_T}Disabling Apache 1.3.x Module" >&6
   6431    fi
   6432 fi;
   6433 
   6434 # Check whether --with-apache or --without-apache was given.
   6435 if test "${with_apache+set}" = set; then
   6436   withval="$with_apache"
   6437   cs_cv_apache_path="$withval"
   6438 else
   6439   cs_cv_apache_path=
   6440 fi;
   6441 
   6442 if test $cs_cv_apache = yes; then
   6443   echo "$as_me:$LINENO: checking for apache apxs" >&5
   6444 echo $ECHO_N "checking for apache apxs... $ECHO_C" >&6
   6445   apxs_path=no
   6446   apache_search_path="$cs_cv_apache_path /neo/opt /usr/local /usr"
   6447   for path in $apache_search_path; do
   6448     if test -x $path/httpd/bin/apxs; then
   6449       apxs_path=$path/httpd/bin/apxs
   6450       httpd_path=$path/httpd/bin/httpd
   6451       break
   6452     fi
   6453     if test -x $path/httpd/sbin/apxs; then
   6454       apxs_path=$path/httpd/sbin/apxs
   6455       httpd_path=$path/httpd/sbin/httpd
   6456       break
   6457     fi
   6458     if test -x $path/bin/apxs; then
   6459       apxs_path=$path/bin/apxs
   6460       httpd_path=$path/bin/httpd
   6461       break
   6462     fi
   6463     if test -x $path/sbin/apxs; then
   6464       apxs_path=$path/sbin/apxs
   6465       httpd_path=$path/sbin/httpd
   6466       break
   6467     fi
   6468   done
   6469   if test "x$apxs_path" = "xno"; then
   6470     echo "$as_me:$LINENO: result: not found" >&5
   6471 echo "${ECHO_T}not found" >&6
   6472   else
   6473     echo "$as_me:$LINENO: result: found $apxs_path" >&5
   6474 echo "${ECHO_T}found $apxs_path" >&6
   6475     echo "$as_me:$LINENO: checking for apache 1.3.x" >&5
   6476 echo $ECHO_N "checking for apache 1.3.x... $ECHO_C" >&6
   6477         apache_version="`$httpd_path -v | grep 'Server version' | sed -e 's/.*Apache\/\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/'`"
   6478     apache_major_version=`echo $apache_version | sed -e 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
   6479     apache_minor_version=`echo $apache_version | sed -e 's/.*\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
   6480         if test "$apache_major_version" = "1" -a "$apache_minor_version" = "3"; then
   6481       echo "$as_me:$LINENO: result: found $apache_version" >&5
   6482 echo "${ECHO_T}found $apache_version" >&6
   6483       APXS_PATH="$apxs_path"
   6484       BUILD_WRAPPERS="$BUILD_WRAPPERS mod_ecs"
   6485     else
   6486       echo "$as_me:$LINENO: result: found $apache_version - disabling module build" >&5
   6487 echo "${ECHO_T}found $apache_version - disabling module build" >&6
   6488     fi
   6489   fi
   6490 fi
   6491 
   6492 cs_cv_python=yes
   6493 # Check whether --enable-python or --disable-python was given.
   6494 if test "${enable_python+set}" = set; then
   6495   enableval="$enable_python"
   6496   if test $enableval = no; then
   6497      cs_cv_python=no;
   6498      echo "$as_me:$LINENO: result: Disabling python module" >&5
   6499 echo "${ECHO_T}Disabling python module" >&6
   6500    fi
   6501 fi;
   6502 
   6503 # Check whether --with-python or --without-python was given.
   6504 if test "${with_python+set}" = set; then
   6505   withval="$with_python"
   6506   cs_cv_python_path="$withval"
   6507 else
   6508   cs_cv_python_path=no
   6509 fi;
   6510 
   6511 if test $cs_cv_python = yes; then
   6512   echo "$as_me:$LINENO: checking for python includes" >&5
   6513 echo $ECHO_N "checking for python includes... $ECHO_C" >&6
   6514   python_inc=no
   6515   python_lib=no
   6516   python_search_path="/neo/opt /usr/local /usr /c"
   6517   python_versions="2.4 2.3 2.2 2.1 2.0 1.5 24 23 22 21 20 15"
   6518   if test $cs_cv_python_path != "no" -a -x $cs_cv_python_path; then
   6519     python_bin=$cs_cv_python_path
   6520     vers=`$python_bin -c "import sys; print sys.version[:3]"`
   6521     py_inst_dir=`$python_bin -c "import sys; print sys.exec_prefix"`
   6522     python_inc=$py_inst_dir/include/python$vers
   6523     python_lib="-L$py_inst_dir/lib/python$vers/config -lpython$vers"
   6524     python_site=$py_inst_dir/lib/python$vers/site-packages
   6525   else
   6526     for vers in $python_versions; do
   6527       for path in $python_search_path; do
   6528         if test -x $path/bin/python$vers; then
   6529 	  python_bin=$path/bin/python$vers
   6530 	  major_vers=`echo $vers | cut -b 1`
   6531 	  if test $major_vers -ge 2; then
   6532 	      python_base=`$python_bin -c "import sys, os; print os.path.dirname([x for x in sys.path if x.find('site-packages') != -1][0])"`
   6533 	  else
   6534 	      python_base=`$python_bin -c "import site, os; print os.path.dirname(site.sitedirs[0])"`
   6535 	  fi
   6536 	  if test -d $python_base; then
   6537 	      python_lib="-L$python_base/config -lpython$vers"
   6538 	      python_site=$python_base/site-packages
   6539 	  fi
   6540 	fi
   6541 	if test -f $path/include/python$vers/Python.h; then
   6542 	  python_inc=$path/include/python$vers
   6543         fi
   6544 	if test "x$python_lib" = "xno"; then
   6545 	    if test -d $path/lib/python$vers; then
   6546 	      python_lib="-L$path/lib/python$vers/config -lpython$vers"
   6547 	      python_site=$path/lib/python$vers/site-packages
   6548 	    fi
   6549 	    if test -d $path/lib64/python$vers; then
   6550 	      python_lib="-L$path/lib64/python$vers/config -lpython$vers"
   6551 	      python_site=$path/lib64/python$vers/site-packages
   6552 	    fi
   6553 	fi
   6554 			if test -f $path/python$vers/include/Python.h; then
   6555 	  python_inc=$path/python$vers/include
   6556 	  python_lib="-L$path/python$vers/libs -lpython$vers"
   6557 	  python_site=$path/python$vers/Lib/site-packages
   6558 	  break 2
   6559 	fi
   6560 	if test "x$python_inc" != "xno" -a "x$python_lib" != "xno"; then
   6561 	  break 2
   6562 	fi
   6563       done
   6564     done
   6565   fi
   6566   if test "x$python_inc" = "xno"; then
   6567     echo "$as_me:$LINENO: result: not found" >&5
   6568 echo "${ECHO_T}not found" >&6
   6569     PYTHON=
   6570     PYTHON_INC=
   6571     PYTHON_LIB=
   6572     PYTHON_SITE=
   6573   else
   6574     echo "$as_me:$LINENO: result: found $python_inc" >&5
   6575 echo "${ECHO_T}found $python_inc" >&6
   6576     PYTHON=$python_bin
   6577     PYTHON_INC="-I$python_inc"
   6578     PYTHON_LIB=$python_lib
   6579     if test "x$PYTHON_SITE" = "x"; then
   6580 	PYTHON_SITE=$python_site
   6581     fi
   6582     BUILD_WRAPPERS="$BUILD_WRAPPERS python"
   6583   fi
   6584 fi
   6585 
   6586 cs_cv_perl=yes
   6587 # Check whether --enable-perl or --disable-perl was given.
   6588 if test "${enable_perl+set}" = set; then
   6589   enableval="$enable_perl"
   6590   if test $enableval = no; then
   6591      cs_cv_perl=no;
   6592      echo "$as_me:$LINENO: result: Disabling perl module" >&5
   6593 echo "${ECHO_T}Disabling perl module" >&6
   6594    fi
   6595 fi;
   6596 
   6597 # Check whether --with-perl or --without-perl was given.
   6598 if test "${with_perl+set}" = set; then
   6599   withval="$with_perl"
   6600   cs_cv_perl_path="$withval"
   6601 else
   6602   cs_cv_perl_path=no
   6603 fi;
   6604 
   6605 if test $cs_cv_perl = yes; then
   6606   echo "$as_me:$LINENO: checking for perl >= 5.006" >&5
   6607 echo $ECHO_N "checking for perl >= 5.006... $ECHO_C" >&6
   6608   perl_path=no
   6609   perl_search_path="/neo/opt /usr/local /usr"
   6610   if test $cs_cv_perl_path != "no" -a -x $cs_cv_perl_path; then
   6611     perl_path=$cs_cv_perl_path
   6612   else
   6613     for path in $perl_search_path; do
   6614       if test -x $path/bin/perl; then
   6615 	require_error=`$path/bin/perl -e 'require 5.006' 2>&1`
   6616 	if test "x$require_error" = "x"; then
   6617 	  perl_path=$path/bin/perl
   6618 	  break
   6619 	fi
   6620       fi
   6621     done
   6622   fi
   6623   if test "x$perl_path" = "xno"; then
   6624     echo "$as_me:$LINENO: result: not found" >&5
   6625 echo "${ECHO_T}not found" >&6
   6626     PERL=
   6627   else
   6628     echo "$as_me:$LINENO: result: found $perl_path" >&5
   6629 echo "${ECHO_T}found $perl_path" >&6
   6630     PERL="$perl_path"
   6631     BUILD_WRAPPERS="$BUILD_WRAPPERS perl"
   6632   fi
   6633 fi
   6634 
   6635 cs_cv_ruby=yes
   6636 # Check whether --enable-ruby or --disable-ruby was given.
   6637 if test "${enable_ruby+set}" = set; then
   6638   enableval="$enable_ruby"
   6639   if test $enableval = no; then
   6640      cs_cv_ruby=no;
   6641      echo "$as_me:$LINENO: result: Disabling ruby module" >&5
   6642 echo "${ECHO_T}Disabling ruby module" >&6
   6643    fi
   6644 fi;
   6645 
   6646 # Check whether --with-ruby or --without-ruby was given.
   6647 if test "${with_ruby+set}" = set; then
   6648   withval="$with_ruby"
   6649   cs_cv_ruby_path="$withval"
   6650 else
   6651   cs_cv_ruby_path=no
   6652 fi;
   6653 
   6654 if test $cs_cv_ruby = yes; then
   6655   echo "$as_me:$LINENO: checking for ruby" >&5
   6656 echo $ECHO_N "checking for ruby... $ECHO_C" >&6
   6657   ruby_path=no
   6658   ruby_search_path="/neo/opt /usr/local /usr"
   6659   if test $cs_cv_ruby_path != "no" -a -x $cs_cv_ruby_path; then
   6660     ruby_path=$cs_cv_ruby_path
   6661   else
   6662     for path in $ruby_search_path; do
   6663       if test -x $path/bin/ruby; then
   6664 	ruby_path=$path/bin/ruby
   6665 	break
   6666       fi
   6667     done
   6668   fi
   6669   if test "x$ruby_path" = "xno"; then
   6670     echo "$as_me:$LINENO: result: not found" >&5
   6671 echo "${ECHO_T}not found" >&6
   6672     RUBY=
   6673   else
   6674     echo "$as_me:$LINENO: result: found $ruby_path" >&5
   6675 echo "${ECHO_T}found $ruby_path" >&6
   6676     RUBY="$ruby_path"
   6677     BUILD_WRAPPERS="$BUILD_WRAPPERS ruby"
   6678   fi
   6679 fi
   6680 
   6681 cs_cv_java=yes
   6682 # Check whether --enable-java or --disable-java was given.
   6683 if test "${enable_java+set}" = set; then
   6684   enableval="$enable_java"
   6685   if test $enableval = no; then
   6686      cs_cv_java=no;
   6687      echo "$as_me:$LINENO: result: Disabling java module" >&5
   6688 echo "${ECHO_T}Disabling java module" >&6
   6689    fi
   6690 fi;
   6691 
   6692 # Check whether --with-java or --without-java was given.
   6693 if test "${with_java+set}" = set; then
   6694   withval="$with_java"
   6695   cs_cv_java_path="$withval"
   6696 else
   6697   cs_cv_java_path=no
   6698 fi;
   6699 
   6700 if test $cs_cv_java = yes; then
   6701   echo "$as_me:$LINENO: checking for j2sdk path" >&5
   6702 echo $ECHO_N "checking for j2sdk path... $ECHO_C" >&6
   6703   java_path=no
   6704   if test $cs_cv_java_path != "no" -a -d $cs_cv_java_path; then
   6705     java_path=$cs_cv_java_path
   6706   else
   6707     java_search_path="/neo/opt /usr/local /usr /usr/lib"
   6708     for path in $java_search_path; do
   6709       if test -d $path/java/j2sdk; then
   6710 	java_path=$path/java/j2sdk
   6711 	break
   6712       fi
   6713       if test -d $path/j2sdk; then
   6714 	java_path=$path/j2sdk
   6715 	break
   6716       fi
   6717       possible="$path/java/j2sdk*"
   6718       for pos_path in $possible; do
   6719 	if test -d $pos_path; then
   6720 	  java_path=$pos_path
   6721 	  break 2
   6722 	fi
   6723       done
   6724       possible="$path/j2sdk*"
   6725       for pos_path in $possible; do
   6726 	if test -d $pos_path; then
   6727 	  java_path=$pos_path
   6728 	  break 2
   6729 	fi
   6730       done
   6731     done
   6732   fi
   6733   if test "x$java_path" = "xno"; then
   6734     echo "$as_me:$LINENO: result: not found" >&5
   6735 echo "${ECHO_T}not found" >&6
   6736     JAVA_PATH=
   6737     JAVA_INCLUDE_PATH=
   6738   else
   6739     echo "$as_me:$LINENO: result: found $java_path" >&5
   6740 echo "${ECHO_T}found $java_path" >&6
   6741     JAVA_PATH="$java_path"
   6742     JAVAC="$java_path/bin/javac"
   6743     _ACJNI_JAVAC=$JAVAC
   6744 
   6745 
   6746 JNI_INCLUDE_DIRS=""
   6747 
   6748 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: '$JAVAC' undefined" >&5
   6749 echo "$as_me: error: '$JAVAC' undefined" >&2;}
   6750    { (exit 1); exit 1; }; }
   6751 # Extract the first word of "$JAVAC", so it can be a program name with args.
   6752 set dummy $JAVAC; ac_word=$2
   6753 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6755 if test "${ac_cv_path__ACJNI_JAVAC+set}" = set; then
   6756   echo $ECHO_N "(cached) $ECHO_C" >&6
   6757 else
   6758   case $_ACJNI_JAVAC in
   6759   [\\/]* | ?:[\\/]*)
   6760   ac_cv_path__ACJNI_JAVAC="$_ACJNI_JAVAC" # Let the user override the test with a path.
   6761   ;;
   6762   *)
   6763   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6764 for as_dir in $PATH
   6765 do
   6766   IFS=$as_save_IFS
   6767   test -z "$as_dir" && as_dir=.
   6768   for ac_exec_ext in '' $ac_executable_extensions; do
   6769   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6770     ac_cv_path__ACJNI_JAVAC="$as_dir/$ac_word$ac_exec_ext"
   6771     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6772     break 2
   6773   fi
   6774 done
   6775 done
   6776 
   6777   test -z "$ac_cv_path__ACJNI_JAVAC" && ac_cv_path__ACJNI_JAVAC="no"
   6778   ;;
   6779 esac
   6780 fi
   6781 _ACJNI_JAVAC=$ac_cv_path__ACJNI_JAVAC
   6782 
   6783 if test -n "$_ACJNI_JAVAC"; then
   6784   echo "$as_me:$LINENO: result: $_ACJNI_JAVAC" >&5
   6785 echo "${ECHO_T}$_ACJNI_JAVAC" >&6
   6786 else
   6787   echo "$as_me:$LINENO: result: no" >&5
   6788 echo "${ECHO_T}no" >&6
   6789 fi
   6790 
   6791 test "x$_ACJNI_JAVAC" = xno && { { echo "$as_me:$LINENO: error: $JAVAC could not be found in path" >&5
   6792 echo "$as_me: error: $JAVAC could not be found in path" >&2;}
   6793    { (exit 1); exit 1; }; }
   6794 
   6795 
   6796 # find the include directory relative to the javac executable
   6797 _cur=""$_ACJNI_JAVAC""
   6798 while ls -ld "$_cur" 2>/dev/null | grep " -> " >/dev/null; do
   6799         echo "$as_me:$LINENO: checking symlink for $_cur" >&5
   6800 echo $ECHO_N "checking symlink for $_cur... $ECHO_C" >&6
   6801         _slink=`ls -ld "$_cur" | sed 's/.* -> //'`
   6802         case "$_slink" in
   6803         /*) _cur="$_slink";;
   6804         # 'X' avoids triggering unwanted echo options.
   6805         *) _cur=`echo "X$_cur" | sed -e 's/^X//' -e 's:[^/]*$::'`"$_slink";;
   6806         esac
   6807         echo "$as_me:$LINENO: result: $_cur" >&5
   6808 echo "${ECHO_T}$_cur" >&6
   6809 done
   6810 _ACJNI_FOLLOWED="$_cur"
   6811 
   6812 _JTOPDIR=`echo "$_ACJNI_FOLLOWED" | sed -e 's://*:/:g' -e 's:/[^/]*$::'`
   6813 case "$host_os" in
   6814         darwin*)        _JTOPDIR=`echo "$_JTOPDIR" | sed -e 's:/[^/]*$::'`
   6815                         _JINC="$_JTOPDIR/Headers";;
   6816         *)              _JINC="$_JTOPDIR/include";;
   6817 esac
   6818 if test -f "$_JINC/jni.h"; then
   6819         JNI_INCLUDE_DIRS="$JNI_INCLUDE_DIRS $_JINC"
   6820 else
   6821         _JTOPDIR=`echo "$_JTOPDIR" | sed -e 's:/[^/]*$::'`
   6822         if test -f "$_JTOPDIR/include/jni.h"; then
   6823                 JNI_INCLUDE_DIRS="$JNI_INCLUDE_DIRS $_JTOPDIR/include"
   6824         else
   6825                 { { echo "$as_me:$LINENO: error: cannot find java include files" >&5
   6826 echo "$as_me: error: cannot find java include files" >&2;}
   6827    { (exit 1); exit 1; }; }
   6828         fi
   6829 fi
   6830 
   6831 # get the likely subdirectories for system specific java includes
   6832 case "$host_os" in
   6833 bsdi*)          _JNI_INC_SUBDIRS="bsdos";;
   6834 linux*)         _JNI_INC_SUBDIRS="linux genunix";;
   6835 osf*)           _JNI_INC_SUBDIRS="alpha";;
   6836 solaris*)       _JNI_INC_SUBDIRS="solaris";;
   6837 mingw*)			_JNI_INC_SUBDIRS="win32";;
   6838 cygwin*)		_JNI_INC_SUBDIRS="win32";;
   6839 *)              _JNI_INC_SUBDIRS="genunix";;
   6840 esac
   6841 
   6842 # add any subdirectories that are present
   6843 for JINCSUBDIR in $_JNI_INC_SUBDIRS
   6844 do
   6845         if test -d "$_JTOPDIR/include/$JINCSUBDIR"; then
   6846                 JNI_INCLUDE_DIRS="$JNI_INCLUDE_DIRS $_JTOPDIR/include/$JINCSUBDIR"
   6847         fi
   6848 done
   6849 
   6850     for JNI_INCLUDE_DIR in $JNI_INCLUDE_DIRS
   6851     do
   6852 	JAVA_INCLUDE_PATH="$JAVA_INCLUDE_PATH -I$JNI_INCLUDE_DIR"
   6853     done
   6854     BUILD_WRAPPERS="$BUILD_WRAPPERS java-jni"
   6855   fi
   6856 fi
   6857 
   6858 cs_cv_csharp=yes
   6859 # Check whether --enable-csharp or --disable-csharp was given.
   6860 if test "${enable_csharp+set}" = set; then
   6861   enableval="$enable_csharp"
   6862   if test $enableval = no; then
   6863      cs_cv_csharp=no;
   6864      echo "$as_me:$LINENO: result: Disabling csharp module" >&5
   6865 echo "${ECHO_T}Disabling csharp module" >&6
   6866    fi
   6867 fi;
   6868 
   6869 # Check whether --with-csharp or --without-csharp was given.
   6870 if test "${with_csharp+set}" = set; then
   6871   withval="$with_csharp"
   6872   cs_cv_csharp_path="$withval"
   6873 else
   6874   cs_cv_csharp_path=no
   6875 fi;
   6876 if test $cs_cv_csharp = yes; then
   6877   echo "$as_me:$LINENO: checking for csharp path" >&5
   6878 echo $ECHO_N "checking for csharp path... $ECHO_C" >&6
   6879   csharp_path=no
   6880   if test $cs_cv_csharp_path != "no" -a -d $cs_cv_csharp_path; then
   6881     csharp_path=$cs_cv_csharp_path
   6882   else
   6883     csharp_search_path="/neo/opt /usr/local /usr"
   6884     for path in $csharp_search_path; do
   6885       if test -f $path/bin/mcs; then
   6886 	csharp_path=$path
   6887 	break
   6888       fi
   6889     done
   6890   fi
   6891   if test "x$csharp_path" = "xno"; then
   6892     echo "$as_me:$LINENO: result: not found" >&5
   6893 echo "${ECHO_T}not found" >&6
   6894     CSHARP_PATH=
   6895   else
   6896     echo "$as_me:$LINENO: result: found $csharp_path/bin/mcs" >&5
   6897 echo "${ECHO_T}found $csharp_path/bin/mcs" >&6
   6898     CSHARP_PATH="$csharp_path"
   6899     BUILD_WRAPPERS="$BUILD_WRAPPERS dso csharp"
   6900   fi
   6901 fi
   6902 
   6903 # Check whether --enable-gettext or --disable-gettext was given.
   6904 if test "${enable_gettext+set}" = set; then
   6905   enableval="$enable_gettext"
   6906   if test $enableval = yes; then
   6907           echo "$as_me:$LINENO: checking for gettext" >&5
   6908 echo $ECHO_N "checking for gettext... $ECHO_C" >&6
   6909 if test "${ac_cv_func_gettext+set}" = set; then
   6910   echo $ECHO_N "(cached) $ECHO_C" >&6
   6911 else
   6912   cat >conftest.$ac_ext <<_ACEOF
   6913 /* confdefs.h.  */
   6914 _ACEOF
   6915 cat confdefs.h >>conftest.$ac_ext
   6916 cat >>conftest.$ac_ext <<_ACEOF
   6917 /* end confdefs.h.  */
   6918 /* Define gettext to an innocuous variant, in case <limits.h> declares gettext.
   6919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   6920 #define gettext innocuous_gettext
   6921 
   6922 /* System header to define __stub macros and hopefully few prototypes,
   6923     which can conflict with char gettext (); below.
   6924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6925     <limits.h> exists even on freestanding compilers.  */
   6926 
   6927 #ifdef __STDC__
   6928 # include <limits.h>
   6929 #else
   6930 # include <assert.h>
   6931 #endif
   6932 
   6933 #undef gettext
   6934 
   6935 /* Override any gcc2 internal prototype to avoid an error.  */
   6936 #ifdef __cplusplus
   6937 extern "C"
   6938 {
   6939 #endif
   6940 /* We use char because int might match the return type of a gcc2
   6941    builtin and then its argument prototype would still apply.  */
   6942 char gettext ();
   6943 /* The GNU C library defines this for functions which it implements
   6944     to always fail with ENOSYS.  Some functions are actually named
   6945     something starting with __ and the normal name is an alias.  */
   6946 #if defined (__stub_gettext) || defined (__stub___gettext)
   6947 choke me
   6948 #else
   6949 char (*f) () = gettext;
   6950 #endif
   6951 #ifdef __cplusplus
   6952 }
   6953 #endif
   6954 
   6955 int
   6956 main ()
   6957 {
   6958 return f != gettext;
   6959   ;
   6960   return 0;
   6961 }
   6962 _ACEOF
   6963 rm -f conftest.$ac_objext conftest$ac_exeext
   6964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6965   (eval $ac_link) 2>conftest.er1
   6966   ac_status=$?
   6967   grep -v '^ *+' conftest.er1 >conftest.err
   6968   rm -f conftest.er1
   6969   cat conftest.err >&5
   6970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6971   (exit $ac_status); } &&
   6972 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6974   (eval $ac_try) 2>&5
   6975   ac_status=$?
   6976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6977   (exit $ac_status); }; } &&
   6978 	 { ac_try='test -s conftest$ac_exeext'
   6979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6980   (eval $ac_try) 2>&5
   6981   ac_status=$?
   6982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6983   (exit $ac_status); }; }; then
   6984   ac_cv_func_gettext=yes
   6985 else
   6986   echo "$as_me: failed program was:" >&5
   6987 sed 's/^/| /' conftest.$ac_ext >&5
   6988 
   6989 ac_cv_func_gettext=no
   6990 fi
   6991 rm -f conftest.err conftest.$ac_objext \
   6992       conftest$ac_exeext conftest.$ac_ext
   6993 fi
   6994 echo "$as_me:$LINENO: result: $ac_cv_func_gettext" >&5
   6995 echo "${ECHO_T}$ac_cv_func_gettext" >&6
   6996 if test $ac_cv_func_gettext = yes; then
   6997 
   6998        cs_cv_libintl=no
   6999        if test "${ac_cv_header_libintl_h+set}" = set; then
   7000   echo "$as_me:$LINENO: checking for libintl.h" >&5
   7001 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
   7002 if test "${ac_cv_header_libintl_h+set}" = set; then
   7003   echo $ECHO_N "(cached) $ECHO_C" >&6
   7004 fi
   7005 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
   7006 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
   7007 else
   7008   # Is the header compilable?
   7009 echo "$as_me:$LINENO: checking libintl.h usability" >&5
   7010 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
   7011 cat >conftest.$ac_ext <<_ACEOF
   7012 /* confdefs.h.  */
   7013 _ACEOF
   7014 cat confdefs.h >>conftest.$ac_ext
   7015 cat >>conftest.$ac_ext <<_ACEOF
   7016 /* end confdefs.h.  */
   7017 $ac_includes_default
   7018 #include <libintl.h>
   7019 _ACEOF
   7020 rm -f conftest.$ac_objext
   7021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7022   (eval $ac_compile) 2>conftest.er1
   7023   ac_status=$?
   7024   grep -v '^ *+' conftest.er1 >conftest.err
   7025   rm -f conftest.er1
   7026   cat conftest.err >&5
   7027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7028   (exit $ac_status); } &&
   7029 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7031   (eval $ac_try) 2>&5
   7032   ac_status=$?
   7033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7034   (exit $ac_status); }; } &&
   7035 	 { ac_try='test -s conftest.$ac_objext'
   7036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7037   (eval $ac_try) 2>&5
   7038   ac_status=$?
   7039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7040   (exit $ac_status); }; }; then
   7041   ac_header_compiler=yes
   7042 else
   7043   echo "$as_me: failed program was:" >&5
   7044 sed 's/^/| /' conftest.$ac_ext >&5
   7045 
   7046 ac_header_compiler=no
   7047 fi
   7048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   7050 echo "${ECHO_T}$ac_header_compiler" >&6
   7051 
   7052 # Is the header present?
   7053 echo "$as_me:$LINENO: checking libintl.h presence" >&5
   7054 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
   7055 cat >conftest.$ac_ext <<_ACEOF
   7056 /* confdefs.h.  */
   7057 _ACEOF
   7058 cat confdefs.h >>conftest.$ac_ext
   7059 cat >>conftest.$ac_ext <<_ACEOF
   7060 /* end confdefs.h.  */
   7061 #include <libintl.h>
   7062 _ACEOF
   7063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   7064   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   7065   ac_status=$?
   7066   grep -v '^ *+' conftest.er1 >conftest.err
   7067   rm -f conftest.er1
   7068   cat conftest.err >&5
   7069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7070   (exit $ac_status); } >/dev/null; then
   7071   if test -s conftest.err; then
   7072     ac_cpp_err=$ac_c_preproc_warn_flag
   7073     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   7074   else
   7075     ac_cpp_err=
   7076   fi
   7077 else
   7078   ac_cpp_err=yes
   7079 fi
   7080 if test -z "$ac_cpp_err"; then
   7081   ac_header_preproc=yes
   7082 else
   7083   echo "$as_me: failed program was:" >&5
   7084 sed 's/^/| /' conftest.$ac_ext >&5
   7085 
   7086   ac_header_preproc=no
   7087 fi
   7088 rm -f conftest.err conftest.$ac_ext
   7089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   7090 echo "${ECHO_T}$ac_header_preproc" >&6
   7091 
   7092 # So?  What about this header?
   7093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   7094   yes:no: )
   7095     { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
   7096 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   7097     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
   7098 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
   7099     ac_header_preproc=yes
   7100     ;;
   7101   no:yes:* )
   7102     { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
   7103 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
   7104     { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
   7105 echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
   7106     { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
   7107 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
   7108     { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
   7109 echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   7110     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
   7111 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
   7112     { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
   7113 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
   7114     (
   7115       cat <<\_ASBOX
   7116 ## ------------------------------------------ ##
   7117 ## Report this to the AC_PACKAGE_NAME lists.  ##
   7118 ## ------------------------------------------ ##
   7119 _ASBOX
   7120     ) |
   7121       sed "s/^/$as_me: WARNING:     /" >&2
   7122     ;;
   7123 esac
   7124 echo "$as_me:$LINENO: checking for libintl.h" >&5
   7125 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
   7126 if test "${ac_cv_header_libintl_h+set}" = set; then
   7127   echo $ECHO_N "(cached) $ECHO_C" >&6
   7128 else
   7129   ac_cv_header_libintl_h=$ac_header_preproc
   7130 fi
   7131 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
   7132 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
   7133 
   7134 fi
   7135 if test $ac_cv_header_libintl_h = yes; then
   7136   cs_cv_libintl=yes
   7137 fi
   7138 
   7139 
   7140        if test $cs_cv_libintl = yes; then
   7141          cat >>confdefs.h <<\_ACEOF
   7142 #define ENABLE_GETTEXT 1
   7143 _ACEOF
   7144 
   7145          echo "$as_me:$LINENO: result: Enabling gettext message translation" >&5
   7146 echo "${ECHO_T}Enabling gettext message translation" >&6
   7147        else
   7148          echo "$as_me:$LINENO: result: not found" >&5
   7149 echo "${ECHO_T}not found" >&6
   7150        fi
   7151 
   7152 fi
   7153 
   7154    fi
   7155 fi;
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175           ac_config_files="$ac_config_files rules.mk"
   7176 cat >confcache <<\_ACEOF
   7177 # This file is a shell script that caches the results of configure
   7178 # tests run on this system so they can be shared between configure
   7179 # scripts and configure runs, see configure's option --config-cache.
   7180 # It is not useful on other systems.  If it contains results you don't
   7181 # want to keep, you may remove or edit it.
   7182 #
   7183 # config.status only pays attention to the cache file if you give it
   7184 # the --recheck option to rerun configure.
   7185 #
   7186 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   7187 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   7188 # following values.
   7189 
   7190 _ACEOF
   7191 
   7192 # The following way of writing the cache mishandles newlines in values,
   7193 # but we know of no workaround that is simple, portable, and efficient.
   7194 # So, don't put newlines in cache variables' values.
   7195 # Ultrix sh set writes to stderr and can't be redirected directly,
   7196 # and sets the high bit in the cache file unless we assign to the vars.
   7197 {
   7198   (set) 2>&1 |
   7199     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   7200     *ac_space=\ *)
   7201       # `set' does not quote correctly, so add quotes (double-quote
   7202       # substitution turns \\\\ into \\, and sed turns \\ into \).
   7203       sed -n \
   7204 	"s/'/'\\\\''/g;
   7205 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   7206       ;;
   7207     *)
   7208       # `set' quotes correctly as required by POSIX, so do not add quotes.
   7209       sed -n \
   7210 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   7211       ;;
   7212     esac;
   7213 } |
   7214   sed '
   7215      t clear
   7216      : clear
   7217      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   7218      t end
   7219      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   7220      : end' >>confcache
   7221 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   7222   if test -w $cache_file; then
   7223     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   7224     cat confcache >$cache_file
   7225   else
   7226     echo "not updating unwritable cache $cache_file"
   7227   fi
   7228 fi
   7229 rm -f confcache
   7230 
   7231 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   7232 # Let make expand exec_prefix.
   7233 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   7234 
   7235 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   7236 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   7237 # trailing colons and then remove the whole line if VPATH becomes empty
   7238 # (actually we leave an empty line to preserve line numbers).
   7239 if test "x$srcdir" = x.; then
   7240   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   7241 s/:*\$(srcdir):*/:/;
   7242 s/:*\${srcdir}:*/:/;
   7243 s/:*@srcdir@:*/:/;
   7244 s/^\([^=]*=[	 ]*\):*/\1/;
   7245 s/:*$//;
   7246 s/^[^=]*=[	 ]*$//;
   7247 }'
   7248 fi
   7249 
   7250 DEFS=-DHAVE_CONFIG_H
   7251 
   7252 ac_libobjs=
   7253 ac_ltlibobjs=
   7254 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   7255   # 1. Remove the extension, and $U if already installed.
   7256   ac_i=`echo "$ac_i" |
   7257 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   7258   # 2. Add them.
   7259   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   7260   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   7261 done
   7262 LIBOBJS=$ac_libobjs
   7263 
   7264 LTLIBOBJS=$ac_ltlibobjs
   7265 
   7266 
   7267 
   7268 : ${CONFIG_STATUS=./config.status}
   7269 ac_clean_files_save=$ac_clean_files
   7270 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   7271 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   7272 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   7273 cat >$CONFIG_STATUS <<_ACEOF
   7274 #! $SHELL
   7275 # Generated by $as_me.
   7276 # Run this file to recreate the current configuration.
   7277 # Compiler output produced by configure, useful for debugging
   7278 # configure, is in config.log if it exists.
   7279 
   7280 debug=false
   7281 ac_cs_recheck=false
   7282 ac_cs_silent=false
   7283 SHELL=\${CONFIG_SHELL-$SHELL}
   7284 _ACEOF
   7285 
   7286 cat >>$CONFIG_STATUS <<\_ACEOF
   7287 ## --------------------- ##
   7288 ## M4sh Initialization.  ##
   7289 ## --------------------- ##
   7290 
   7291 # Be Bourne compatible
   7292 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   7293   emulate sh
   7294   NULLCMD=:
   7295   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   7296   # is contrary to our usage.  Disable this feature.
   7297   alias -g '${1+"$@"}'='"$@"'
   7298 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   7299   set -o posix
   7300 fi
   7301 DUALCASE=1; export DUALCASE # for MKS sh
   7302 
   7303 # Support unset when possible.
   7304 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   7305   as_unset=unset
   7306 else
   7307   as_unset=false
   7308 fi
   7309 
   7310 
   7311 # Work around bugs in pre-3.0 UWIN ksh.
   7312 $as_unset ENV MAIL MAILPATH
   7313 PS1='$ '
   7314 PS2='> '
   7315 PS4='+ '
   7316 
   7317 # NLS nuisances.
   7318 for as_var in \
   7319   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   7320   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   7321   LC_TELEPHONE LC_TIME
   7322 do
   7323   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   7324     eval $as_var=C; export $as_var
   7325   else
   7326     $as_unset $as_var
   7327   fi
   7328 done
   7329 
   7330 # Required to use basename.
   7331 if expr a : '\(a\)' >/dev/null 2>&1; then
   7332   as_expr=expr
   7333 else
   7334   as_expr=false
   7335 fi
   7336 
   7337 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   7338   as_basename=basename
   7339 else
   7340   as_basename=false
   7341 fi
   7342 
   7343 
   7344 # Name of the executable.
   7345 as_me=`$as_basename "$0" ||
   7346 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   7347 	 X"$0" : 'X\(//\)$' \| \
   7348 	 X"$0" : 'X\(/\)$' \| \
   7349 	 .     : '\(.\)' 2>/dev/null ||
   7350 echo X/"$0" |
   7351     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   7352   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   7353   	  /^X\/\(\/\).*/{ s//\1/; q; }
   7354   	  s/.*/./; q'`
   7355 
   7356 
   7357 # PATH needs CR, and LINENO needs CR and PATH.
   7358 # Avoid depending upon Character Ranges.
   7359 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   7360 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   7361 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   7362 as_cr_digits='0123456789'
   7363 as_cr_alnum=$as_cr_Letters$as_cr_digits
   7364 
   7365 # The user is always right.
   7366 if test "${PATH_SEPARATOR+set}" != set; then
   7367   echo "#! /bin/sh" >conf$$.sh
   7368   echo  "exit 0"   >>conf$$.sh
   7369   chmod +x conf$$.sh
   7370   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   7371     PATH_SEPARATOR=';'
   7372   else
   7373     PATH_SEPARATOR=:
   7374   fi
   7375   rm -f conf$$.sh
   7376 fi
   7377 
   7378 
   7379   as_lineno_1=$LINENO
   7380   as_lineno_2=$LINENO
   7381   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   7382   test "x$as_lineno_1" != "x$as_lineno_2" &&
   7383   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   7384   # Find who we are.  Look in the path if we contain no path at all
   7385   # relative or not.
   7386   case $0 in
   7387     *[\\/]* ) as_myself=$0 ;;
   7388     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7389 for as_dir in $PATH
   7390 do
   7391   IFS=$as_save_IFS
   7392   test -z "$as_dir" && as_dir=.
   7393   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   7394 done
   7395 
   7396        ;;
   7397   esac
   7398   # We did not find ourselves, most probably we were run as `sh COMMAND'
   7399   # in which case we are not to be found in the path.
   7400   if test "x$as_myself" = x; then
   7401     as_myself=$0
   7402   fi
   7403   if test ! -f "$as_myself"; then
   7404     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   7405 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   7406    { (exit 1); exit 1; }; }
   7407   fi
   7408   case $CONFIG_SHELL in
   7409   '')
   7410     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7411 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   7412 do
   7413   IFS=$as_save_IFS
   7414   test -z "$as_dir" && as_dir=.
   7415   for as_base in sh bash ksh sh5; do
   7416 	 case $as_dir in
   7417 	 /*)
   7418 	   if ("$as_dir/$as_base" -c '
   7419   as_lineno_1=$LINENO
   7420   as_lineno_2=$LINENO
   7421   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   7422   test "x$as_lineno_1" != "x$as_lineno_2" &&
   7423   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   7424 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   7425 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   7426 	     CONFIG_SHELL=$as_dir/$as_base
   7427 	     export CONFIG_SHELL
   7428 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   7429 	   fi;;
   7430 	 esac
   7431        done
   7432 done
   7433 ;;
   7434   esac
   7435 
   7436   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   7437   # uniformly replaced by the line number.  The first 'sed' inserts a
   7438   # line-number line before each line; the second 'sed' does the real
   7439   # work.  The second script uses 'N' to pair each line-number line
   7440   # with the numbered line, and appends trailing '-' during
   7441   # substitution so that $LINENO is not a special case at line end.
   7442   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   7443   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   7444   sed '=' <$as_myself |
   7445     sed '
   7446       N
   7447       s,$,-,
   7448       : loop
   7449       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   7450       t loop
   7451       s,-$,,
   7452       s,^['$as_cr_digits']*\n,,
   7453     ' >$as_me.lineno &&
   7454   chmod +x $as_me.lineno ||
   7455     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   7456 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   7457    { (exit 1); exit 1; }; }
   7458 
   7459   # Don't try to exec as it changes $[0], causing all sort of problems
   7460   # (the dirname of $[0] is not the place where we might find the
   7461   # original and so on.  Autoconf is especially sensible to this).
   7462   . ./$as_me.lineno
   7463   # Exit status is that of the last command.
   7464   exit
   7465 }
   7466 
   7467 
   7468 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   7469   *c*,-n*) ECHO_N= ECHO_C='
   7470 ' ECHO_T='	' ;;
   7471   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   7472   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   7473 esac
   7474 
   7475 if expr a : '\(a\)' >/dev/null 2>&1; then
   7476   as_expr=expr
   7477 else
   7478   as_expr=false
   7479 fi
   7480 
   7481 rm -f conf$$ conf$$.exe conf$$.file
   7482 echo >conf$$.file
   7483 if ln -s conf$$.file conf$$ 2>/dev/null; then
   7484   # We could just check for DJGPP; but this test a) works b) is more generic
   7485   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   7486   if test -f conf$$.exe; then
   7487     # Don't use ln at all; we don't have any links
   7488     as_ln_s='cp -p'
   7489   else
   7490     as_ln_s='ln -s'
   7491   fi
   7492 elif ln conf$$.file conf$$ 2>/dev/null; then
   7493   as_ln_s=ln
   7494 else
   7495   as_ln_s='cp -p'
   7496 fi
   7497 rm -f conf$$ conf$$.exe conf$$.file
   7498 
   7499 if mkdir -p . 2>/dev/null; then
   7500   as_mkdir_p=:
   7501 else
   7502   test -d ./-p && rmdir ./-p
   7503   as_mkdir_p=false
   7504 fi
   7505 
   7506 as_executable_p="test -f"
   7507 
   7508 # Sed expression to map a string onto a valid CPP name.
   7509 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   7510 
   7511 # Sed expression to map a string onto a valid variable name.
   7512 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   7513 
   7514 
   7515 # IFS
   7516 # We need space, tab and new line, in precisely that order.
   7517 as_nl='
   7518 '
   7519 IFS=" 	$as_nl"
   7520 
   7521 # CDPATH.
   7522 $as_unset CDPATH
   7523 
   7524 exec 6>&1
   7525 
   7526 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   7527 # report actual input values of CONFIG_FILES etc. instead of their
   7528 # values after options handling.  Logging --version etc. is OK.
   7529 exec 5>>config.log
   7530 {
   7531   echo
   7532   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   7533 ## Running $as_me. ##
   7534 _ASBOX
   7535 } >&5
   7536 cat >&5 <<_CSEOF
   7537 
   7538 This file was extended by $as_me, which was
   7539 generated by GNU Autoconf 2.59.  Invocation command line was
   7540 
   7541   CONFIG_FILES    = $CONFIG_FILES
   7542   CONFIG_HEADERS  = $CONFIG_HEADERS
   7543   CONFIG_LINKS    = $CONFIG_LINKS
   7544   CONFIG_COMMANDS = $CONFIG_COMMANDS
   7545   $ $0 $@
   7546 
   7547 _CSEOF
   7548 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   7549 echo >&5
   7550 _ACEOF
   7551 
   7552 # Files that config.status was made for.
   7553 if test -n "$ac_config_files"; then
   7554   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   7555 fi
   7556 
   7557 if test -n "$ac_config_headers"; then
   7558   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   7559 fi
   7560 
   7561 if test -n "$ac_config_links"; then
   7562   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   7563 fi
   7564 
   7565 if test -n "$ac_config_commands"; then
   7566   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   7567 fi
   7568 
   7569 cat >>$CONFIG_STATUS <<\_ACEOF
   7570 
   7571 ac_cs_usage="\
   7572 \`$as_me' instantiates files from templates according to the
   7573 current configuration.
   7574 
   7575 Usage: $0 [OPTIONS] [FILE]...
   7576 
   7577   -h, --help       print this help, then exit
   7578   -V, --version    print version number, then exit
   7579   -q, --quiet      do not print progress messages
   7580   -d, --debug      don't remove temporary files
   7581       --recheck    update $as_me by reconfiguring in the same conditions
   7582   --file=FILE[:TEMPLATE]
   7583 		   instantiate the configuration file FILE
   7584   --header=FILE[:TEMPLATE]
   7585 		   instantiate the configuration header FILE
   7586 
   7587 Configuration files:
   7588 $config_files
   7589 
   7590 Configuration headers:
   7591 $config_headers
   7592 
   7593 Report bugs to <bug-autoconf@gnu.org>."
   7594 _ACEOF
   7595 
   7596 cat >>$CONFIG_STATUS <<_ACEOF
   7597 ac_cs_version="\\
   7598 config.status
   7599 configured by $0, generated by GNU Autoconf 2.59,
   7600   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   7601 
   7602 Copyright (C) 2003 Free Software Foundation, Inc.
   7603 This config.status script is free software; the Free Software Foundation
   7604 gives unlimited permission to copy, distribute and modify it."
   7605 srcdir=$srcdir
   7606 INSTALL="$INSTALL"
   7607 _ACEOF
   7608 
   7609 cat >>$CONFIG_STATUS <<\_ACEOF
   7610 # If no file are specified by the user, then we need to provide default
   7611 # value.  By we need to know if files were specified by the user.
   7612 ac_need_defaults=:
   7613 while test $# != 0
   7614 do
   7615   case $1 in
   7616   --*=*)
   7617     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   7618     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   7619     ac_shift=:
   7620     ;;
   7621   -*)
   7622     ac_option=$1
   7623     ac_optarg=$2
   7624     ac_shift=shift
   7625     ;;
   7626   *) # This is not an option, so the user has probably given explicit
   7627      # arguments.
   7628      ac_option=$1
   7629      ac_need_defaults=false;;
   7630   esac
   7631 
   7632   case $ac_option in
   7633   # Handling of the options.
   7634 _ACEOF
   7635 cat >>$CONFIG_STATUS <<\_ACEOF
   7636   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   7637     ac_cs_recheck=: ;;
   7638   --version | --vers* | -V )
   7639     echo "$ac_cs_version"; exit 0 ;;
   7640   --he | --h)
   7641     # Conflict between --help and --header
   7642     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   7643 Try \`$0 --help' for more information." >&5
   7644 echo "$as_me: error: ambiguous option: $1
   7645 Try \`$0 --help' for more information." >&2;}
   7646    { (exit 1); exit 1; }; };;
   7647   --help | --hel | -h )
   7648     echo "$ac_cs_usage"; exit 0 ;;
   7649   --debug | --d* | -d )
   7650     debug=: ;;
   7651   --file | --fil | --fi | --f )
   7652     $ac_shift
   7653     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   7654     ac_need_defaults=false;;
   7655   --header | --heade | --head | --hea )
   7656     $ac_shift
   7657     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   7658     ac_need_defaults=false;;
   7659   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   7660   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   7661     ac_cs_silent=: ;;
   7662 
   7663   # This is an error.
   7664   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   7665 Try \`$0 --help' for more information." >&5
   7666 echo "$as_me: error: unrecognized option: $1
   7667 Try \`$0 --help' for more information." >&2;}
   7668    { (exit 1); exit 1; }; } ;;
   7669 
   7670   *) ac_config_targets="$ac_config_targets $1" ;;
   7671 
   7672   esac
   7673   shift
   7674 done
   7675 
   7676 ac_configure_extra_args=
   7677 
   7678 if $ac_cs_silent; then
   7679   exec 6>/dev/null
   7680   ac_configure_extra_args="$ac_configure_extra_args --silent"
   7681 fi
   7682 
   7683 _ACEOF
   7684 cat >>$CONFIG_STATUS <<_ACEOF
   7685 if \$ac_cs_recheck; then
   7686   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   7687   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   7688 fi
   7689 
   7690 _ACEOF
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 cat >>$CONFIG_STATUS <<\_ACEOF
   7697 for ac_config_target in $ac_config_targets
   7698 do
   7699   case "$ac_config_target" in
   7700   # Handling of arguments.
   7701   "rules.mk" ) CONFIG_FILES="$CONFIG_FILES rules.mk" ;;
   7702   "cs_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS cs_config.h" ;;
   7703   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   7704 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   7705    { (exit 1); exit 1; }; };;
   7706   esac
   7707 done
   7708 
   7709 # If the user did not use the arguments to specify the items to instantiate,
   7710 # then the envvar interface is used.  Set only those that are not.
   7711 # We use the long form for the default assignment because of an extremely
   7712 # bizarre bug on SunOS 4.1.3.
   7713 if $ac_need_defaults; then
   7714   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   7715   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   7716 fi
   7717 
   7718 # Have a temporary directory for convenience.  Make it in the build tree
   7719 # simply because there is no reason to put it here, and in addition,
   7720 # creating and moving files from /tmp can sometimes cause problems.
   7721 # Create a temporary directory, and hook for its removal unless debugging.
   7722 $debug ||
   7723 {
   7724   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   7725   trap '{ (exit 1); exit 1; }' 1 2 13 15
   7726 }
   7727 
   7728 # Create a (secure) tmp directory for tmp files.
   7729 
   7730 {
   7731   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   7732   test -n "$tmp" && test -d "$tmp"
   7733 }  ||
   7734 {
   7735   tmp=./confstat$$-$RANDOM
   7736   (umask 077 && mkdir $tmp)
   7737 } ||
   7738 {
   7739    echo "$me: cannot create a temporary directory in ." >&2
   7740    { (exit 1); exit 1; }
   7741 }
   7742 
   7743 _ACEOF
   7744 
   7745 cat >>$CONFIG_STATUS <<_ACEOF
   7746 
   7747 #
   7748 # CONFIG_FILES section.
   7749 #
   7750 
   7751 # No need to generate the scripts if there are no CONFIG_FILES.
   7752 # This happens for instance when ./config.status config.h
   7753 if test -n "\$CONFIG_FILES"; then
   7754   # Protect against being on the right side of a sed subst in config.status.
   7755   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   7756    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   7757 s,@SHELL@,$SHELL,;t t
   7758 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   7759 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   7760 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   7761 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   7762 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   7763 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   7764 s,@exec_prefix@,$exec_prefix,;t t
   7765 s,@prefix@,$prefix,;t t
   7766 s,@program_transform_name@,$program_transform_name,;t t
   7767 s,@bindir@,$bindir,;t t
   7768 s,@sbindir@,$sbindir,;t t
   7769 s,@libexecdir@,$libexecdir,;t t
   7770 s,@datadir@,$datadir,;t t
   7771 s,@sysconfdir@,$sysconfdir,;t t
   7772 s,@sharedstatedir@,$sharedstatedir,;t t
   7773 s,@localstatedir@,$localstatedir,;t t
   7774 s,@libdir@,$libdir,;t t
   7775 s,@includedir@,$includedir,;t t
   7776 s,@oldincludedir@,$oldincludedir,;t t
   7777 s,@infodir@,$infodir,;t t
   7778 s,@mandir@,$mandir,;t t
   7779 s,@build_alias@,$build_alias,;t t
   7780 s,@host_alias@,$host_alias,;t t
   7781 s,@target_alias@,$target_alias,;t t
   7782 s,@DEFS@,$DEFS,;t t
   7783 s,@ECHO_C@,$ECHO_C,;t t
   7784 s,@ECHO_N@,$ECHO_N,;t t
   7785 s,@ECHO_T@,$ECHO_T,;t t
   7786 s,@LIBS@,$LIBS,;t t
   7787 s,@CC@,$CC,;t t
   7788 s,@CFLAGS@,$CFLAGS,;t t
   7789 s,@LDFLAGS@,$LDFLAGS,;t t
   7790 s,@CPPFLAGS@,$CPPFLAGS,;t t
   7791 s,@ac_ct_CC@,$ac_ct_CC,;t t
   7792 s,@EXEEXT@,$EXEEXT,;t t
   7793 s,@OBJEXT@,$OBJEXT,;t t
   7794 s,@CPP@,$CPP,;t t
   7795 s,@LN_S@,$LN_S,;t t
   7796 s,@AR@,$AR,;t t
   7797 s,@RANLIB@,$RANLIB,;t t
   7798 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   7799 s,@SET_MAKE@,$SET_MAKE,;t t
   7800 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
   7801 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
   7802 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
   7803 s,@EGREP@,$EGREP,;t t
   7804 s,@build@,$build,;t t
   7805 s,@build_cpu@,$build_cpu,;t t
   7806 s,@build_vendor@,$build_vendor,;t t
   7807 s,@build_os@,$build_os,;t t
   7808 s,@host@,$host,;t t
   7809 s,@host_cpu@,$host_cpu,;t t
   7810 s,@host_vendor@,$host_vendor,;t t
   7811 s,@host_os@,$host_os,;t t
   7812 s,@_ACJNI_JAVAC@,$_ACJNI_JAVAC,;t t
   7813 s,@USE_MINGW32@,$USE_MINGW32,;t t
   7814 s,@APXS_PATH@,$APXS_PATH,;t t
   7815 s,@PERL@,$PERL,;t t
   7816 s,@RUBY@,$RUBY,;t t
   7817 s,@BUILD_WRAPPERS@,$BUILD_WRAPPERS,;t t
   7818 s,@JAVA_PATH@,$JAVA_PATH,;t t
   7819 s,@JAVA_INCLUDE_PATH@,$JAVA_INCLUDE_PATH,;t t
   7820 s,@PYTHON@,$PYTHON,;t t
   7821 s,@PYTHON_INC@,$PYTHON_INC,;t t
   7822 s,@PYTHON_LIB@,$PYTHON_LIB,;t t
   7823 s,@PYTHON_SITE@,$PYTHON_SITE,;t t
   7824 s,@EXTRA_UTL_SRC@,$EXTRA_UTL_SRC,;t t
   7825 s,@EXTRA_UTL_OBJS@,$EXTRA_UTL_OBJS,;t t
   7826 s,@CSHARP_PATH@,$CSHARP_PATH,;t t
   7827 s,@LIBOBJS@,$LIBOBJS,;t t
   7828 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   7829 CEOF
   7830 
   7831 _ACEOF
   7832 
   7833   cat >>$CONFIG_STATUS <<\_ACEOF
   7834   # Split the substitutions into bite-sized pieces for seds with
   7835   # small command number limits, like on Digital OSF/1 and HP-UX.
   7836   ac_max_sed_lines=48
   7837   ac_sed_frag=1 # Number of current file.
   7838   ac_beg=1 # First line for current file.
   7839   ac_end=$ac_max_sed_lines # Line after last line for current file.
   7840   ac_more_lines=:
   7841   ac_sed_cmds=
   7842   while $ac_more_lines; do
   7843     if test $ac_beg -gt 1; then
   7844       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   7845     else
   7846       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   7847     fi
   7848     if test ! -s $tmp/subs.frag; then
   7849       ac_more_lines=false
   7850     else
   7851       # The purpose of the label and of the branching condition is to
   7852       # speed up the sed processing (if there are no `@' at all, there
   7853       # is no need to browse any of the substitutions).
   7854       # These are the two extra sed commands mentioned above.
   7855       (echo ':t
   7856   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   7857       if test -z "$ac_sed_cmds"; then
   7858 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   7859       else
   7860 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   7861       fi
   7862       ac_sed_frag=`expr $ac_sed_frag + 1`
   7863       ac_beg=$ac_end
   7864       ac_end=`expr $ac_end + $ac_max_sed_lines`
   7865     fi
   7866   done
   7867   if test -z "$ac_sed_cmds"; then
   7868     ac_sed_cmds=cat
   7869   fi
   7870 fi # test -n "$CONFIG_FILES"
   7871 
   7872 _ACEOF
   7873 cat >>$CONFIG_STATUS <<\_ACEOF
   7874 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   7875   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   7876   case $ac_file in
   7877   - | *:- | *:-:* ) # input from stdin
   7878 	cat >$tmp/stdin
   7879 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7880 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7881   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7882 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7883   * )   ac_file_in=$ac_file.in ;;
   7884   esac
   7885 
   7886   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   7887   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   7888 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7889 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   7890 	 X"$ac_file" : 'X\(//\)$' \| \
   7891 	 X"$ac_file" : 'X\(/\)' \| \
   7892 	 .     : '\(.\)' 2>/dev/null ||
   7893 echo X"$ac_file" |
   7894     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7895   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7896   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7897   	  /^X\(\/\).*/{ s//\1/; q; }
   7898   	  s/.*/./; q'`
   7899   { if $as_mkdir_p; then
   7900     mkdir -p "$ac_dir"
   7901   else
   7902     as_dir="$ac_dir"
   7903     as_dirs=
   7904     while test ! -d "$as_dir"; do
   7905       as_dirs="$as_dir $as_dirs"
   7906       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   7907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7908 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   7909 	 X"$as_dir" : 'X\(//\)$' \| \
   7910 	 X"$as_dir" : 'X\(/\)' \| \
   7911 	 .     : '\(.\)' 2>/dev/null ||
   7912 echo X"$as_dir" |
   7913     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7914   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7915   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7916   	  /^X\(\/\).*/{ s//\1/; q; }
   7917   	  s/.*/./; q'`
   7918     done
   7919     test ! -n "$as_dirs" || mkdir $as_dirs
   7920   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   7921 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   7922    { (exit 1); exit 1; }; }; }
   7923 
   7924   ac_builddir=.
   7925 
   7926 if test "$ac_dir" != .; then
   7927   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   7928   # A "../" for each directory in $ac_dir_suffix.
   7929   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   7930 else
   7931   ac_dir_suffix= ac_top_builddir=
   7932 fi
   7933 
   7934 case $srcdir in
   7935   .)  # No --srcdir option.  We are building in place.
   7936     ac_srcdir=.
   7937     if test -z "$ac_top_builddir"; then
   7938        ac_top_srcdir=.
   7939     else
   7940        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   7941     fi ;;
   7942   [\\/]* | ?:[\\/]* )  # Absolute path.
   7943     ac_srcdir=$srcdir$ac_dir_suffix;
   7944     ac_top_srcdir=$srcdir ;;
   7945   *) # Relative path.
   7946     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   7947     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   7948 esac
   7949 
   7950 # Do not use `cd foo && pwd` to compute absolute paths, because
   7951 # the directories may not exist.
   7952 case `pwd` in
   7953 .) ac_abs_builddir="$ac_dir";;
   7954 *)
   7955   case "$ac_dir" in
   7956   .) ac_abs_builddir=`pwd`;;
   7957   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   7958   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   7959   esac;;
   7960 esac
   7961 case $ac_abs_builddir in
   7962 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   7963 *)
   7964   case ${ac_top_builddir}. in
   7965   .) ac_abs_top_builddir=$ac_abs_builddir;;
   7966   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   7967   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   7968   esac;;
   7969 esac
   7970 case $ac_abs_builddir in
   7971 .) ac_abs_srcdir=$ac_srcdir;;
   7972 *)
   7973   case $ac_srcdir in
   7974   .) ac_abs_srcdir=$ac_abs_builddir;;
   7975   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   7976   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   7977   esac;;
   7978 esac
   7979 case $ac_abs_builddir in
   7980 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   7981 *)
   7982   case $ac_top_srcdir in
   7983   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   7984   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   7985   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   7986   esac;;
   7987 esac
   7988 
   7989 
   7990   case $INSTALL in
   7991   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   7992   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   7993   esac
   7994 
   7995   # Let's still pretend it is `configure' which instantiates (i.e., don't
   7996   # use $as_me), people would be surprised to read:
   7997   #    /* config.h.  Generated by config.status.  */
   7998   if test x"$ac_file" = x-; then
   7999     configure_input=
   8000   else
   8001     configure_input="$ac_file.  "
   8002   fi
   8003   configure_input=$configure_input"Generated from `echo $ac_file_in |
   8004 				     sed 's,.*/,,'` by configure."
   8005 
   8006   # First look for the input files in the build tree, otherwise in the
   8007   # src tree.
   8008   ac_file_inputs=`IFS=:
   8009     for f in $ac_file_in; do
   8010       case $f in
   8011       -) echo $tmp/stdin ;;
   8012       [\\/$]*)
   8013 	 # Absolute (can't be DOS-style, as IFS=:)
   8014 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   8015 echo "$as_me: error: cannot find input file: $f" >&2;}
   8016    { (exit 1); exit 1; }; }
   8017 	 echo "$f";;
   8018       *) # Relative
   8019 	 if test -f "$f"; then
   8020 	   # Build tree
   8021 	   echo "$f"
   8022 	 elif test -f "$srcdir/$f"; then
   8023 	   # Source tree
   8024 	   echo "$srcdir/$f"
   8025 	 else
   8026 	   # /dev/null tree
   8027 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   8028 echo "$as_me: error: cannot find input file: $f" >&2;}
   8029    { (exit 1); exit 1; }; }
   8030 	 fi;;
   8031       esac
   8032     done` || { (exit 1); exit 1; }
   8033 
   8034   if test x"$ac_file" != x-; then
   8035     { echo "$as_me:$LINENO: creating $ac_file" >&5
   8036 echo "$as_me: creating $ac_file" >&6;}
   8037     rm -f "$ac_file"
   8038   fi
   8039 _ACEOF
   8040 cat >>$CONFIG_STATUS <<_ACEOF
   8041   sed "$ac_vpsub
   8042 $extrasub
   8043 _ACEOF
   8044 cat >>$CONFIG_STATUS <<\_ACEOF
   8045 :t
   8046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   8047 s,@configure_input@,$configure_input,;t t
   8048 s,@srcdir@,$ac_srcdir,;t t
   8049 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   8050 s,@top_srcdir@,$ac_top_srcdir,;t t
   8051 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   8052 s,@builddir@,$ac_builddir,;t t
   8053 s,@abs_builddir@,$ac_abs_builddir,;t t
   8054 s,@top_builddir@,$ac_top_builddir,;t t
   8055 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   8056 s,@INSTALL@,$ac_INSTALL,;t t
   8057 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   8058   rm -f $tmp/stdin
   8059   if test x"$ac_file" != x-; then
   8060     mv $tmp/out $ac_file
   8061   else
   8062     cat $tmp/out
   8063     rm -f $tmp/out
   8064   fi
   8065 
   8066 done
   8067 _ACEOF
   8068 cat >>$CONFIG_STATUS <<\_ACEOF
   8069 
   8070 #
   8071 # CONFIG_HEADER section.
   8072 #
   8073 
   8074 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   8075 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   8076 #
   8077 # ac_d sets the value in "#define NAME VALUE" lines.
   8078 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   8079 ac_dB='[	 ].*$,\1#\2'
   8080 ac_dC=' '
   8081 ac_dD=',;t'
   8082 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   8083 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   8084 ac_uB='$,\1#\2define\3'
   8085 ac_uC=' '
   8086 ac_uD=',;t'
   8087 
   8088 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   8089   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   8090   case $ac_file in
   8091   - | *:- | *:-:* ) # input from stdin
   8092 	cat >$tmp/stdin
   8093 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   8094 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   8095   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   8096 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   8097   * )   ac_file_in=$ac_file.in ;;
   8098   esac
   8099 
   8100   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   8101 echo "$as_me: creating $ac_file" >&6;}
   8102 
   8103   # First look for the input files in the build tree, otherwise in the
   8104   # src tree.
   8105   ac_file_inputs=`IFS=:
   8106     for f in $ac_file_in; do
   8107       case $f in
   8108       -) echo $tmp/stdin ;;
   8109       [\\/$]*)
   8110 	 # Absolute (can't be DOS-style, as IFS=:)
   8111 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   8112 echo "$as_me: error: cannot find input file: $f" >&2;}
   8113    { (exit 1); exit 1; }; }
   8114 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   8115 	 echo "$f";;
   8116       *) # Relative
   8117 	 if test -f "$f"; then
   8118 	   # Build tree
   8119 	   echo "$f"
   8120 	 elif test -f "$srcdir/$f"; then
   8121 	   # Source tree
   8122 	   echo "$srcdir/$f"
   8123 	 else
   8124 	   # /dev/null tree
   8125 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   8126 echo "$as_me: error: cannot find input file: $f" >&2;}
   8127    { (exit 1); exit 1; }; }
   8128 	 fi;;
   8129       esac
   8130     done` || { (exit 1); exit 1; }
   8131   # Remove the trailing spaces.
   8132   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   8133 
   8134 _ACEOF
   8135 
   8136 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   8137 # `conftest.undefs', that substitutes the proper values into
   8138 # config.h.in to produce config.h.  The first handles `#define'
   8139 # templates, and the second `#undef' templates.
   8140 # And first: Protect against being on the right side of a sed subst in
   8141 # config.status.  Protect against being in an unquoted here document
   8142 # in config.status.
   8143 rm -f conftest.defines conftest.undefs
   8144 # Using a here document instead of a string reduces the quoting nightmare.
   8145 # Putting comments in sed scripts is not portable.
   8146 #
   8147 # `end' is used to avoid that the second main sed command (meant for
   8148 # 0-ary CPP macros) applies to n-ary macro definitions.
   8149 # See the Autoconf documentation for `clear'.
   8150 cat >confdef2sed.sed <<\_ACEOF
   8151 s/[\\&,]/\\&/g
   8152 s,[\\$`],\\&,g
   8153 t clear
   8154 : clear
   8155 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   8156 t end
   8157 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   8158 : end
   8159 _ACEOF
   8160 # If some macros were called several times there might be several times
   8161 # the same #defines, which is useless.  Nevertheless, we may not want to
   8162 # sort them, since we want the *last* AC-DEFINE to be honored.
   8163 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   8164 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   8165 rm -f confdef2sed.sed
   8166 
   8167 # This sed command replaces #undef with comments.  This is necessary, for
   8168 # example, in the case of _POSIX_SOURCE, which is predefined and required
   8169 # on some systems where configure will not decide to define it.
   8170 cat >>conftest.undefs <<\_ACEOF
   8171 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   8172 _ACEOF
   8173 
   8174 # Break up conftest.defines because some shells have a limit on the size
   8175 # of here documents, and old seds have small limits too (100 cmds).
   8176 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   8177 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   8178 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   8179 echo '  :' >>$CONFIG_STATUS
   8180 rm -f conftest.tail
   8181 while grep . conftest.defines >/dev/null
   8182 do
   8183   # Write a limited-size here document to $tmp/defines.sed.
   8184   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   8185   # Speed up: don't consider the non `#define' lines.
   8186   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   8187   # Work around the forget-to-reset-the-flag bug.
   8188   echo 't clr' >>$CONFIG_STATUS
   8189   echo ': clr' >>$CONFIG_STATUS
   8190   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   8191   echo 'CEOF
   8192   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   8193   rm -f $tmp/in
   8194   mv $tmp/out $tmp/in
   8195 ' >>$CONFIG_STATUS
   8196   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   8197   rm -f conftest.defines
   8198   mv conftest.tail conftest.defines
   8199 done
   8200 rm -f conftest.defines
   8201 echo '  fi # grep' >>$CONFIG_STATUS
   8202 echo >>$CONFIG_STATUS
   8203 
   8204 # Break up conftest.undefs because some shells have a limit on the size
   8205 # of here documents, and old seds have small limits too (100 cmds).
   8206 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   8207 rm -f conftest.tail
   8208 while grep . conftest.undefs >/dev/null
   8209 do
   8210   # Write a limited-size here document to $tmp/undefs.sed.
   8211   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   8212   # Speed up: don't consider the non `#undef'
   8213   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   8214   # Work around the forget-to-reset-the-flag bug.
   8215   echo 't clr' >>$CONFIG_STATUS
   8216   echo ': clr' >>$CONFIG_STATUS
   8217   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   8218   echo 'CEOF
   8219   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   8220   rm -f $tmp/in
   8221   mv $tmp/out $tmp/in
   8222 ' >>$CONFIG_STATUS
   8223   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   8224   rm -f conftest.undefs
   8225   mv conftest.tail conftest.undefs
   8226 done
   8227 rm -f conftest.undefs
   8228 
   8229 cat >>$CONFIG_STATUS <<\_ACEOF
   8230   # Let's still pretend it is `configure' which instantiates (i.e., don't
   8231   # use $as_me), people would be surprised to read:
   8232   #    /* config.h.  Generated by config.status.  */
   8233   if test x"$ac_file" = x-; then
   8234     echo "/* Generated by configure.  */" >$tmp/config.h
   8235   else
   8236     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   8237   fi
   8238   cat $tmp/in >>$tmp/config.h
   8239   rm -f $tmp/in
   8240   if test x"$ac_file" != x-; then
   8241     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   8242       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   8243 echo "$as_me: $ac_file is unchanged" >&6;}
   8244     else
   8245       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   8246 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   8247 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   8248 	 X"$ac_file" : 'X\(//\)$' \| \
   8249 	 X"$ac_file" : 'X\(/\)' \| \
   8250 	 .     : '\(.\)' 2>/dev/null ||
   8251 echo X"$ac_file" |
   8252     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   8253   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   8254   	  /^X\(\/\/\)$/{ s//\1/; q; }
   8255   	  /^X\(\/\).*/{ s//\1/; q; }
   8256   	  s/.*/./; q'`
   8257       { if $as_mkdir_p; then
   8258     mkdir -p "$ac_dir"
   8259   else
   8260     as_dir="$ac_dir"
   8261     as_dirs=
   8262     while test ! -d "$as_dir"; do
   8263       as_dirs="$as_dir $as_dirs"
   8264       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   8265 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   8266 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   8267 	 X"$as_dir" : 'X\(//\)$' \| \
   8268 	 X"$as_dir" : 'X\(/\)' \| \
   8269 	 .     : '\(.\)' 2>/dev/null ||
   8270 echo X"$as_dir" |
   8271     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   8272   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   8273   	  /^X\(\/\/\)$/{ s//\1/; q; }
   8274   	  /^X\(\/\).*/{ s//\1/; q; }
   8275   	  s/.*/./; q'`
   8276     done
   8277     test ! -n "$as_dirs" || mkdir $as_dirs
   8278   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   8279 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   8280    { (exit 1); exit 1; }; }; }
   8281 
   8282       rm -f $ac_file
   8283       mv $tmp/config.h $ac_file
   8284     fi
   8285   else
   8286     cat $tmp/config.h
   8287     rm -f $tmp/config.h
   8288   fi
   8289 done
   8290 _ACEOF
   8291 
   8292 cat >>$CONFIG_STATUS <<\_ACEOF
   8293 
   8294 { (exit 0); exit 0; }
   8295 _ACEOF
   8296 chmod +x $CONFIG_STATUS
   8297 ac_clean_files=$ac_clean_files_save
   8298 
   8299 
   8300 # configure is writing to config.log, and then calls config.status.
   8301 # config.status does its own redirection, appending to config.log.
   8302 # Unfortunately, on DOS this fails, as config.log is still kept open
   8303 # by configure, so config.status won't be able to write to it; its
   8304 # output is simply discarded.  So we exec the FD to /dev/null,
   8305 # effectively closing config.log, so it can be properly (re)opened and
   8306 # appended to by config.status.  When coming back to configure, we
   8307 # need to make the FD available again.
   8308 if test "$no_create" != yes; then
   8309   ac_cs_success=:
   8310   ac_config_status_args=
   8311   test "$silent" = yes &&
   8312     ac_config_status_args="$ac_config_status_args --quiet"
   8313   exec 5>/dev/null
   8314   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   8315   exec 5>>config.log
   8316   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   8317   # would make configure fail if this is the last instruction.
   8318   $ac_cs_success || { (exit 1); exit 1; }
   8319 fi
   8320 
   8321