"Fossies" - the Fresh Open Source Software Archive

Member "unipkg-0.6.5/configure" (16 Dec 2005, 142464 Bytes) of package /linux/privat/old/unipkg-0.6.5.tar.gz:


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

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


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