File:  [ELWIX - Embedded LightWeight unIX -] / libaitio / configure
Revision 1.8: download - view: text, annotated - select for diffs - revision graph
Tue Apr 19 20:00:30 2011 UTC (13 years, 2 months ago) by misho
Branches: MAIN
CVS tags: io1_7, IO1_6, HEAD
release 1.6

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>