File:  [ELWIX - Embedded LightWeight unIX -] / libaitrpc / configure
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Fri Jun 18 01:48:05 2010 UTC (14 years ago) by misho
Branches: MAIN
CVS tags: HEAD
Initial revision

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.62 for libaitrpc 1.0.
    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, 2007, 2008 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:   # Pre-4.2 versions of Zsh do 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: as_nl='
   43: '
   44: export as_nl
   45: # Printing a long string crashes Solaris 7 /usr/bin/printf.
   46: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   47: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   48: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   49: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50:   as_echo='printf %s\n'
   51:   as_echo_n='printf %s'
   52: else
   53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55:     as_echo_n='/usr/ucb/echo -n'
   56:   else
   57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58:     as_echo_n_body='eval
   59:       arg=$1;
   60:       case $arg in
   61:       *"$as_nl"*)
   62: 	expr "X$arg" : "X\\(.*\\)$as_nl";
   63: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64:       esac;
   65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66:     '
   67:     export as_echo_n_body
   68:     as_echo_n='sh -c $as_echo_n_body as_echo'
   69:   fi
   70:   export as_echo_body
   71:   as_echo='sh -c $as_echo_body as_echo'
   72: fi
   73: 
   74: # The user is always right.
   75: if test "${PATH_SEPARATOR+set}" != set; then
   76:   PATH_SEPARATOR=:
   77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79:       PATH_SEPARATOR=';'
   80:   }
   81: fi
   82: 
   83: # Support unset when possible.
   84: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   85:   as_unset=unset
   86: else
   87:   as_unset=false
   88: fi
   89: 
   90: 
   91: # IFS
   92: # We need space, tab and new line, in precisely that order.  Quoting is
   93: # there to prevent editors from complaining about space-tab.
   94: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   95: # splitting by setting IFS to empty value.)
   96: IFS=" ""	$as_nl"
   97: 
   98: # Find who we are.  Look in the path if we contain no directory separator.
   99: case $0 in
  100:   *[\\/]* ) as_myself=$0 ;;
  101:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  102: for as_dir in $PATH
  103: do
  104:   IFS=$as_save_IFS
  105:   test -z "$as_dir" && as_dir=.
  106:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  107: done
  108: IFS=$as_save_IFS
  109: 
  110:      ;;
  111: esac
  112: # We did not find ourselves, most probably we were run as `sh COMMAND'
  113: # in which case we are not to be found in the path.
  114: if test "x$as_myself" = x; then
  115:   as_myself=$0
  116: fi
  117: if test ! -f "$as_myself"; then
  118:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  119:   { (exit 1); exit 1; }
  120: fi
  121: 
  122: # Work around bugs in pre-3.0 UWIN ksh.
  123: for as_var in ENV MAIL MAILPATH
  124: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  125: done
  126: PS1='$ '
  127: PS2='> '
  128: PS4='+ '
  129: 
  130: # NLS nuisances.
  131: LC_ALL=C
  132: export LC_ALL
  133: LANGUAGE=C
  134: export LANGUAGE
  135: 
  136: # Required to use basename.
  137: if expr a : '\(a\)' >/dev/null 2>&1 &&
  138:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  139:   as_expr=expr
  140: else
  141:   as_expr=false
  142: fi
  143: 
  144: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  145:   as_basename=basename
  146: else
  147:   as_basename=false
  148: fi
  149: 
  150: 
  151: # Name of the executable.
  152: as_me=`$as_basename -- "$0" ||
  153: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  154: 	 X"$0" : 'X\(//\)$' \| \
  155: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  156: $as_echo X/"$0" |
  157:     sed '/^.*\/\([^/][^/]*\)\/*$/{
  158: 	    s//\1/
  159: 	    q
  160: 	  }
  161: 	  /^X\/\(\/\/\)$/{
  162: 	    s//\1/
  163: 	    q
  164: 	  }
  165: 	  /^X\/\(\/\).*/{
  166: 	    s//\1/
  167: 	    q
  168: 	  }
  169: 	  s/.*/./; q'`
  170: 
  171: # CDPATH.
  172: $as_unset CDPATH
  173: 
  174: 
  175: if test "x$CONFIG_SHELL" = x; then
  176:   if (eval ":") 2>/dev/null; then
  177:   as_have_required=yes
  178: else
  179:   as_have_required=no
  180: fi
  181: 
  182:   if test $as_have_required = yes &&	 (eval ":
  183: (as_func_return () {
  184:   (exit \$1)
  185: }
  186: as_func_success () {
  187:   as_func_return 0
  188: }
  189: as_func_failure () {
  190:   as_func_return 1
  191: }
  192: as_func_ret_success () {
  193:   return 0
  194: }
  195: as_func_ret_failure () {
  196:   return 1
  197: }
  198: 
  199: exitcode=0
  200: if as_func_success; then
  201:   :
  202: else
  203:   exitcode=1
  204:   echo as_func_success failed.
  205: fi
  206: 
  207: if as_func_failure; then
  208:   exitcode=1
  209:   echo as_func_failure succeeded.
  210: fi
  211: 
  212: if as_func_ret_success; then
  213:   :
  214: else
  215:   exitcode=1
  216:   echo as_func_ret_success failed.
  217: fi
  218: 
  219: if as_func_ret_failure; then
  220:   exitcode=1
  221:   echo as_func_ret_failure succeeded.
  222: fi
  223: 
  224: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  225:   :
  226: else
  227:   exitcode=1
  228:   echo positional parameters were not saved.
  229: fi
  230: 
  231: test \$exitcode = 0) || { (exit 1); exit 1; }
  232: 
  233: (
  234:   as_lineno_1=\$LINENO
  235:   as_lineno_2=\$LINENO
  236:   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  237:   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  238: ") 2> /dev/null; then
  239:   :
  240: else
  241:   as_candidate_shells=
  242:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  243: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  244: do
  245:   IFS=$as_save_IFS
  246:   test -z "$as_dir" && as_dir=.
  247:   case $as_dir in
  248: 	 /*)
  249: 	   for as_base in sh bash ksh sh5; do
  250: 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  251: 	   done;;
  252:        esac
  253: done
  254: IFS=$as_save_IFS
  255: 
  256: 
  257:       for as_shell in $as_candidate_shells $SHELL; do
  258: 	 # Try only shells that exist, to save several forks.
  259: 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  260: 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
  261: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  262:   emulate sh
  263:   NULLCMD=:
  264:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  265:   # is contrary to our usage.  Disable this feature.
  266:   alias -g '${1+"$@"}'='"$@"'
  267:   setopt NO_GLOB_SUBST
  268: else
  269:   case `(set -o) 2>/dev/null` in
  270:   *posix*) set -o posix ;;
  271: esac
  272: 
  273: fi
  274: 
  275: 
  276: :
  277: _ASEOF
  278: }; then
  279:   CONFIG_SHELL=$as_shell
  280: 	       as_have_required=yes
  281: 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
  282: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  283:   emulate sh
  284:   NULLCMD=:
  285:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  286:   # is contrary to our usage.  Disable this feature.
  287:   alias -g '${1+"$@"}'='"$@"'
  288:   setopt NO_GLOB_SUBST
  289: else
  290:   case `(set -o) 2>/dev/null` in
  291:   *posix*) set -o posix ;;
  292: esac
  293: 
  294: fi
  295: 
  296: 
  297: :
  298: (as_func_return () {
  299:   (exit $1)
  300: }
  301: as_func_success () {
  302:   as_func_return 0
  303: }
  304: as_func_failure () {
  305:   as_func_return 1
  306: }
  307: as_func_ret_success () {
  308:   return 0
  309: }
  310: as_func_ret_failure () {
  311:   return 1
  312: }
  313: 
  314: exitcode=0
  315: if as_func_success; then
  316:   :
  317: else
  318:   exitcode=1
  319:   echo as_func_success failed.
  320: fi
  321: 
  322: if as_func_failure; then
  323:   exitcode=1
  324:   echo as_func_failure succeeded.
  325: fi
  326: 
  327: if as_func_ret_success; then
  328:   :
  329: else
  330:   exitcode=1
  331:   echo as_func_ret_success failed.
  332: fi
  333: 
  334: if as_func_ret_failure; then
  335:   exitcode=1
  336:   echo as_func_ret_failure succeeded.
  337: fi
  338: 
  339: if ( set x; as_func_ret_success y && test x = "$1" ); then
  340:   :
  341: else
  342:   exitcode=1
  343:   echo positional parameters were not saved.
  344: fi
  345: 
  346: test $exitcode = 0) || { (exit 1); exit 1; }
  347: 
  348: (
  349:   as_lineno_1=$LINENO
  350:   as_lineno_2=$LINENO
  351:   test "x$as_lineno_1" != "x$as_lineno_2" &&
  352:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  353: 
  354: _ASEOF
  355: }; then
  356:   break
  357: fi
  358: 
  359: fi
  360: 
  361:       done
  362: 
  363:       if test "x$CONFIG_SHELL" != x; then
  364:   for as_var in BASH_ENV ENV
  365: 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  366: 	done
  367: 	export CONFIG_SHELL
  368: 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  369: fi
  370: 
  371: 
  372:     if test $as_have_required = no; then
  373:   echo This script requires a shell more modern than all the
  374:       echo shells that I found on your system.  Please install a
  375:       echo modern shell, or manually run the script under such a
  376:       echo shell if you do have one.
  377:       { (exit 1); exit 1; }
  378: fi
  379: 
  380: 
  381: fi
  382: 
  383: fi
  384: 
  385: 
  386: 
  387: (eval "as_func_return () {
  388:   (exit \$1)
  389: }
  390: as_func_success () {
  391:   as_func_return 0
  392: }
  393: as_func_failure () {
  394:   as_func_return 1
  395: }
  396: as_func_ret_success () {
  397:   return 0
  398: }
  399: as_func_ret_failure () {
  400:   return 1
  401: }
  402: 
  403: exitcode=0
  404: if as_func_success; then
  405:   :
  406: else
  407:   exitcode=1
  408:   echo as_func_success failed.
  409: fi
  410: 
  411: if as_func_failure; then
  412:   exitcode=1
  413:   echo as_func_failure succeeded.
  414: fi
  415: 
  416: if as_func_ret_success; then
  417:   :
  418: else
  419:   exitcode=1
  420:   echo as_func_ret_success failed.
  421: fi
  422: 
  423: if as_func_ret_failure; then
  424:   exitcode=1
  425:   echo as_func_ret_failure succeeded.
  426: fi
  427: 
  428: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  429:   :
  430: else
  431:   exitcode=1
  432:   echo positional parameters were not saved.
  433: fi
  434: 
  435: test \$exitcode = 0") || {
  436:   echo No shell found that supports shell functions.
  437:   echo Please tell bug-autoconf@gnu.org about your system,
  438:   echo including any error possibly output before this message.
  439:   echo This can help us improve future autoconf versions.
  440:   echo Configuration will now proceed without shell functions.
  441: }
  442: 
  443: 
  444: 
  445:   as_lineno_1=$LINENO
  446:   as_lineno_2=$LINENO
  447:   test "x$as_lineno_1" != "x$as_lineno_2" &&
  448:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  449: 
  450:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  451:   # uniformly replaced by the line number.  The first 'sed' inserts a
  452:   # line-number line after each line using $LINENO; the second 'sed'
  453:   # does the real work.  The second script uses 'N' to pair each
  454:   # line-number line with the line containing $LINENO, and appends
  455:   # trailing '-' during substitution so that $LINENO is not a special
  456:   # case at line end.
  457:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  458:   # scripts with optimization help from Paolo Bonzini.  Blame Lee
  459:   # E. McMahon (1931-1989) for sed's syntax.  :-)
  460:   sed -n '
  461:     p
  462:     /[$]LINENO/=
  463:   ' <$as_myself |
  464:     sed '
  465:       s/[$]LINENO.*/&-/
  466:       t lineno
  467:       b
  468:       :lineno
  469:       N
  470:       :loop
  471:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  472:       t loop
  473:       s/-\n.*//
  474:     ' >$as_me.lineno &&
  475:   chmod +x "$as_me.lineno" ||
  476:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  477:    { (exit 1); exit 1; }; }
  478: 
  479:   # Don't try to exec as it changes $[0], causing all sort of problems
  480:   # (the dirname of $[0] is not the place where we might find the
  481:   # original and so on.  Autoconf is especially sensitive to this).
  482:   . "./$as_me.lineno"
  483:   # Exit status is that of the last command.
  484:   exit
  485: }
  486: 
  487: 
  488: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  489:   as_dirname=dirname
  490: else
  491:   as_dirname=false
  492: fi
  493: 
  494: ECHO_C= ECHO_N= ECHO_T=
  495: case `echo -n x` in
  496: -n*)
  497:   case `echo 'x\c'` in
  498:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  499:   *)   ECHO_C='\c';;
  500:   esac;;
  501: *)
  502:   ECHO_N='-n';;
  503: esac
  504: if expr a : '\(a\)' >/dev/null 2>&1 &&
  505:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  506:   as_expr=expr
  507: else
  508:   as_expr=false
  509: fi
  510: 
  511: rm -f conf$$ conf$$.exe conf$$.file
  512: if test -d conf$$.dir; then
  513:   rm -f conf$$.dir/conf$$.file
  514: else
  515:   rm -f conf$$.dir
  516:   mkdir conf$$.dir 2>/dev/null
  517: fi
  518: if (echo >conf$$.file) 2>/dev/null; then
  519:   if ln -s conf$$.file conf$$ 2>/dev/null; then
  520:     as_ln_s='ln -s'
  521:     # ... but there are two gotchas:
  522:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  523:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  524:     # In both cases, we have to default to `cp -p'.
  525:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  526:       as_ln_s='cp -p'
  527:   elif ln conf$$.file conf$$ 2>/dev/null; then
  528:     as_ln_s=ln
  529:   else
  530:     as_ln_s='cp -p'
  531:   fi
  532: else
  533:   as_ln_s='cp -p'
  534: fi
  535: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  536: rmdir conf$$.dir 2>/dev/null
  537: 
  538: if mkdir -p . 2>/dev/null; then
  539:   as_mkdir_p=:
  540: else
  541:   test -d ./-p && rmdir ./-p
  542:   as_mkdir_p=false
  543: fi
  544: 
  545: if test -x / >/dev/null 2>&1; then
  546:   as_test_x='test -x'
  547: else
  548:   if ls -dL / >/dev/null 2>&1; then
  549:     as_ls_L_option=L
  550:   else
  551:     as_ls_L_option=
  552:   fi
  553:   as_test_x='
  554:     eval sh -c '\''
  555:       if test -d "$1"; then
  556: 	test -d "$1/.";
  557:       else
  558: 	case $1 in
  559: 	-*)set "./$1";;
  560: 	esac;
  561: 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  562: 	???[sx]*):;;*)false;;esac;fi
  563:     '\'' sh
  564:   '
  565: fi
  566: as_executable_p=$as_test_x
  567: 
  568: # Sed expression to map a string onto a valid CPP name.
  569: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  570: 
  571: # Sed expression to map a string onto a valid variable name.
  572: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  573: 
  574: 
  575: 
  576: exec 7<&0 </dev/null 6>&1
  577: 
  578: # Name of the host.
  579: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  580: # so uname gets run too.
  581: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  582: 
  583: #
  584: # Initializations.
  585: #
  586: ac_default_prefix=/usr/local
  587: ac_clean_files=
  588: ac_config_libobj_dir=.
  589: LIBOBJS=
  590: cross_compiling=no
  591: subdirs=
  592: MFLAGS=
  593: MAKEFLAGS=
  594: SHELL=${CONFIG_SHELL-/bin/sh}
  595: 
  596: # Identity of this package.
  597: PACKAGE_NAME='libaitrpc'
  598: PACKAGE_TARNAME='libaitrpc'
  599: PACKAGE_VERSION='1.0'
  600: PACKAGE_STRING='libaitrpc 1.0'
  601: PACKAGE_BUGREPORT='misho@openbsd-bg.org'
  602: 
  603: ac_unique_file="src/aitrpc.c"
  604: # Factoring default headers for most tests.
  605: ac_includes_default="\
  606: #include <stdio.h>
  607: #ifdef HAVE_SYS_TYPES_H
  608: # include <sys/types.h>
  609: #endif
  610: #ifdef HAVE_SYS_STAT_H
  611: # include <sys/stat.h>
  612: #endif
  613: #ifdef STDC_HEADERS
  614: # include <stdlib.h>
  615: # include <stddef.h>
  616: #else
  617: # ifdef HAVE_STDLIB_H
  618: #  include <stdlib.h>
  619: # endif
  620: #endif
  621: #ifdef HAVE_STRING_H
  622: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  623: #  include <memory.h>
  624: # endif
  625: # include <string.h>
  626: #endif
  627: #ifdef HAVE_STRINGS_H
  628: # include <strings.h>
  629: #endif
  630: #ifdef HAVE_INTTYPES_H
  631: # include <inttypes.h>
  632: #endif
  633: #ifdef HAVE_STDINT_H
  634: # include <stdint.h>
  635: #endif
  636: #ifdef HAVE_UNISTD_H
  637: # include <unistd.h>
  638: #endif"
  639: 
  640: ac_subst_vars='SHELL
  641: PATH_SEPARATOR
  642: PACKAGE_NAME
  643: PACKAGE_TARNAME
  644: PACKAGE_VERSION
  645: PACKAGE_STRING
  646: PACKAGE_BUGREPORT
  647: exec_prefix
  648: prefix
  649: program_transform_name
  650: bindir
  651: sbindir
  652: libexecdir
  653: datarootdir
  654: datadir
  655: sysconfdir
  656: sharedstatedir
  657: localstatedir
  658: includedir
  659: oldincludedir
  660: docdir
  661: infodir
  662: htmldir
  663: dvidir
  664: pdfdir
  665: psdir
  666: libdir
  667: localedir
  668: mandir
  669: DEFS
  670: ECHO_C
  671: ECHO_N
  672: ECHO_T
  673: LIBS
  674: build_alias
  675: host_alias
  676: target_alias
  677: CC
  678: CFLAGS
  679: LDFLAGS
  680: CPPFLAGS
  681: ac_ct_CC
  682: EXEEXT
  683: OBJEXT
  684: INSTALL_PROGRAM
  685: INSTALL_SCRIPT
  686: INSTALL_DATA
  687: build
  688: build_cpu
  689: build_vendor
  690: build_os
  691: host
  692: host_cpu
  693: host_vendor
  694: host_os
  695: target
  696: target_cpu
  697: target_vendor
  698: target_os
  699: MKDEP
  700: CPP
  701: GREP
  702: EGREP
  703: LIBOBJS
  704: LTLIBOBJS'
  705: ac_subst_files=''
  706: ac_user_opts='
  707: enable_option_checking
  708: enable_debug
  709: '
  710:       ac_precious_vars='build_alias
  711: host_alias
  712: target_alias
  713: CC
  714: CFLAGS
  715: LDFLAGS
  716: LIBS
  717: CPPFLAGS
  718: CPP'
  719: 
  720: 
  721: # Initialize some variables set by options.
  722: ac_init_help=
  723: ac_init_version=false
  724: ac_unrecognized_opts=
  725: ac_unrecognized_sep=
  726: # The variables have the same names as the options, with
  727: # dashes changed to underlines.
  728: cache_file=/dev/null
  729: exec_prefix=NONE
  730: no_create=
  731: no_recursion=
  732: prefix=NONE
  733: program_prefix=NONE
  734: program_suffix=NONE
  735: program_transform_name=s,x,x,
  736: silent=
  737: site=
  738: srcdir=
  739: verbose=
  740: x_includes=NONE
  741: x_libraries=NONE
  742: 
  743: # Installation directory options.
  744: # These are left unexpanded so users can "make install exec_prefix=/foo"
  745: # and all the variables that are supposed to be based on exec_prefix
  746: # by default will actually change.
  747: # Use braces instead of parens because sh, perl, etc. also accept them.
  748: # (The list follows the same order as the GNU Coding Standards.)
  749: bindir='${exec_prefix}/bin'
  750: sbindir='${exec_prefix}/sbin'
  751: libexecdir='${exec_prefix}/libexec'
  752: datarootdir='${prefix}/share'
  753: datadir='${datarootdir}'
  754: sysconfdir='${prefix}/etc'
  755: sharedstatedir='${prefix}/com'
  756: localstatedir='${prefix}/var'
  757: includedir='${prefix}/include'
  758: oldincludedir='/usr/include'
  759: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  760: infodir='${datarootdir}/info'
  761: htmldir='${docdir}'
  762: dvidir='${docdir}'
  763: pdfdir='${docdir}'
  764: psdir='${docdir}'
  765: libdir='${exec_prefix}/lib'
  766: localedir='${datarootdir}/locale'
  767: mandir='${datarootdir}/man'
  768: 
  769: ac_prev=
  770: ac_dashdash=
  771: for ac_option
  772: do
  773:   # If the previous option needs an argument, assign it.
  774:   if test -n "$ac_prev"; then
  775:     eval $ac_prev=\$ac_option
  776:     ac_prev=
  777:     continue
  778:   fi
  779: 
  780:   case $ac_option in
  781:   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  782:   *)	ac_optarg=yes ;;
  783:   esac
  784: 
  785:   # Accept the important Cygnus configure options, so we can diagnose typos.
  786: 
  787:   case $ac_dashdash$ac_option in
  788:   --)
  789:     ac_dashdash=yes ;;
  790: 
  791:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  792:     ac_prev=bindir ;;
  793:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  794:     bindir=$ac_optarg ;;
  795: 
  796:   -build | --build | --buil | --bui | --bu)
  797:     ac_prev=build_alias ;;
  798:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  799:     build_alias=$ac_optarg ;;
  800: 
  801:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  802:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  803:     ac_prev=cache_file ;;
  804:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  805:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  806:     cache_file=$ac_optarg ;;
  807: 
  808:   --config-cache | -C)
  809:     cache_file=config.cache ;;
  810: 
  811:   -datadir | --datadir | --datadi | --datad)
  812:     ac_prev=datadir ;;
  813:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  814:     datadir=$ac_optarg ;;
  815: 
  816:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  817:   | --dataroo | --dataro | --datar)
  818:     ac_prev=datarootdir ;;
  819:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  820:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  821:     datarootdir=$ac_optarg ;;
  822: 
  823:   -disable-* | --disable-*)
  824:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  825:     # Reject names that are not valid shell variable names.
  826:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  827:       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  828:    { (exit 1); exit 1; }; }
  829:     ac_useropt_orig=$ac_useropt
  830:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  831:     case $ac_user_opts in
  832:       *"
  833: "enable_$ac_useropt"
  834: "*) ;;
  835:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  836: 	 ac_unrecognized_sep=', ';;
  837:     esac
  838:     eval enable_$ac_useropt=no ;;
  839: 
  840:   -docdir | --docdir | --docdi | --doc | --do)
  841:     ac_prev=docdir ;;
  842:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  843:     docdir=$ac_optarg ;;
  844: 
  845:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  846:     ac_prev=dvidir ;;
  847:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  848:     dvidir=$ac_optarg ;;
  849: 
  850:   -enable-* | --enable-*)
  851:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  852:     # Reject names that are not valid shell variable names.
  853:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  854:       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  855:    { (exit 1); exit 1; }; }
  856:     ac_useropt_orig=$ac_useropt
  857:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  858:     case $ac_user_opts in
  859:       *"
  860: "enable_$ac_useropt"
  861: "*) ;;
  862:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  863: 	 ac_unrecognized_sep=', ';;
  864:     esac
  865:     eval enable_$ac_useropt=\$ac_optarg ;;
  866: 
  867:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  868:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  869:   | --exec | --exe | --ex)
  870:     ac_prev=exec_prefix ;;
  871:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  872:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  873:   | --exec=* | --exe=* | --ex=*)
  874:     exec_prefix=$ac_optarg ;;
  875: 
  876:   -gas | --gas | --ga | --g)
  877:     # Obsolete; use --with-gas.
  878:     with_gas=yes ;;
  879: 
  880:   -help | --help | --hel | --he | -h)
  881:     ac_init_help=long ;;
  882:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  883:     ac_init_help=recursive ;;
  884:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  885:     ac_init_help=short ;;
  886: 
  887:   -host | --host | --hos | --ho)
  888:     ac_prev=host_alias ;;
  889:   -host=* | --host=* | --hos=* | --ho=*)
  890:     host_alias=$ac_optarg ;;
  891: 
  892:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  893:     ac_prev=htmldir ;;
  894:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  895:   | --ht=*)
  896:     htmldir=$ac_optarg ;;
  897: 
  898:   -includedir | --includedir | --includedi | --included | --include \
  899:   | --includ | --inclu | --incl | --inc)
  900:     ac_prev=includedir ;;
  901:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  902:   | --includ=* | --inclu=* | --incl=* | --inc=*)
  903:     includedir=$ac_optarg ;;
  904: 
  905:   -infodir | --infodir | --infodi | --infod | --info | --inf)
  906:     ac_prev=infodir ;;
  907:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  908:     infodir=$ac_optarg ;;
  909: 
  910:   -libdir | --libdir | --libdi | --libd)
  911:     ac_prev=libdir ;;
  912:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  913:     libdir=$ac_optarg ;;
  914: 
  915:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  916:   | --libexe | --libex | --libe)
  917:     ac_prev=libexecdir ;;
  918:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  919:   | --libexe=* | --libex=* | --libe=*)
  920:     libexecdir=$ac_optarg ;;
  921: 
  922:   -localedir | --localedir | --localedi | --localed | --locale)
  923:     ac_prev=localedir ;;
  924:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  925:     localedir=$ac_optarg ;;
  926: 
  927:   -localstatedir | --localstatedir | --localstatedi | --localstated \
  928:   | --localstate | --localstat | --localsta | --localst | --locals)
  929:     ac_prev=localstatedir ;;
  930:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  931:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  932:     localstatedir=$ac_optarg ;;
  933: 
  934:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  935:     ac_prev=mandir ;;
  936:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  937:     mandir=$ac_optarg ;;
  938: 
  939:   -nfp | --nfp | --nf)
  940:     # Obsolete; use --without-fp.
  941:     with_fp=no ;;
  942: 
  943:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  944:   | --no-cr | --no-c | -n)
  945:     no_create=yes ;;
  946: 
  947:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  948:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  949:     no_recursion=yes ;;
  950: 
  951:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  952:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  953:   | --oldin | --oldi | --old | --ol | --o)
  954:     ac_prev=oldincludedir ;;
  955:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  956:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  957:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  958:     oldincludedir=$ac_optarg ;;
  959: 
  960:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  961:     ac_prev=prefix ;;
  962:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  963:     prefix=$ac_optarg ;;
  964: 
  965:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  966:   | --program-pre | --program-pr | --program-p)
  967:     ac_prev=program_prefix ;;
  968:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  969:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  970:     program_prefix=$ac_optarg ;;
  971: 
  972:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  973:   | --program-suf | --program-su | --program-s)
  974:     ac_prev=program_suffix ;;
  975:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  976:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  977:     program_suffix=$ac_optarg ;;
  978: 
  979:   -program-transform-name | --program-transform-name \
  980:   | --program-transform-nam | --program-transform-na \
  981:   | --program-transform-n | --program-transform- \
  982:   | --program-transform | --program-transfor \
  983:   | --program-transfo | --program-transf \
  984:   | --program-trans | --program-tran \
  985:   | --progr-tra | --program-tr | --program-t)
  986:     ac_prev=program_transform_name ;;
  987:   -program-transform-name=* | --program-transform-name=* \
  988:   | --program-transform-nam=* | --program-transform-na=* \
  989:   | --program-transform-n=* | --program-transform-=* \
  990:   | --program-transform=* | --program-transfor=* \
  991:   | --program-transfo=* | --program-transf=* \
  992:   | --program-trans=* | --program-tran=* \
  993:   | --progr-tra=* | --program-tr=* | --program-t=*)
  994:     program_transform_name=$ac_optarg ;;
  995: 
  996:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  997:     ac_prev=pdfdir ;;
  998:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  999:     pdfdir=$ac_optarg ;;
 1000: 
 1001:   -psdir | --psdir | --psdi | --psd | --ps)
 1002:     ac_prev=psdir ;;
 1003:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1004:     psdir=$ac_optarg ;;
 1005: 
 1006:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1007:   | -silent | --silent | --silen | --sile | --sil)
 1008:     silent=yes ;;
 1009: 
 1010:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1011:     ac_prev=sbindir ;;
 1012:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1013:   | --sbi=* | --sb=*)
 1014:     sbindir=$ac_optarg ;;
 1015: 
 1016:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1017:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1018:   | --sharedst | --shareds | --shared | --share | --shar \
 1019:   | --sha | --sh)
 1020:     ac_prev=sharedstatedir ;;
 1021:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1022:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1023:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1024:   | --sha=* | --sh=*)
 1025:     sharedstatedir=$ac_optarg ;;
 1026: 
 1027:   -site | --site | --sit)
 1028:     ac_prev=site ;;
 1029:   -site=* | --site=* | --sit=*)
 1030:     site=$ac_optarg ;;
 1031: 
 1032:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1033:     ac_prev=srcdir ;;
 1034:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1035:     srcdir=$ac_optarg ;;
 1036: 
 1037:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1038:   | --syscon | --sysco | --sysc | --sys | --sy)
 1039:     ac_prev=sysconfdir ;;
 1040:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1041:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1042:     sysconfdir=$ac_optarg ;;
 1043: 
 1044:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1045:     ac_prev=target_alias ;;
 1046:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1047:     target_alias=$ac_optarg ;;
 1048: 
 1049:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1050:     verbose=yes ;;
 1051: 
 1052:   -version | --version | --versio | --versi | --vers | -V)
 1053:     ac_init_version=: ;;
 1054: 
 1055:   -with-* | --with-*)
 1056:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1057:     # Reject names that are not valid shell variable names.
 1058:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1059:       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 1060:    { (exit 1); exit 1; }; }
 1061:     ac_useropt_orig=$ac_useropt
 1062:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1063:     case $ac_user_opts in
 1064:       *"
 1065: "with_$ac_useropt"
 1066: "*) ;;
 1067:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1068: 	 ac_unrecognized_sep=', ';;
 1069:     esac
 1070:     eval with_$ac_useropt=\$ac_optarg ;;
 1071: 
 1072:   -without-* | --without-*)
 1073:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1074:     # Reject names that are not valid shell variable names.
 1075:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1076:       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 1077:    { (exit 1); exit 1; }; }
 1078:     ac_useropt_orig=$ac_useropt
 1079:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1080:     case $ac_user_opts in
 1081:       *"
 1082: "with_$ac_useropt"
 1083: "*) ;;
 1084:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1085: 	 ac_unrecognized_sep=', ';;
 1086:     esac
 1087:     eval with_$ac_useropt=no ;;
 1088: 
 1089:   --x)
 1090:     # Obsolete; use --with-x.
 1091:     with_x=yes ;;
 1092: 
 1093:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1094:   | --x-incl | --x-inc | --x-in | --x-i)
 1095:     ac_prev=x_includes ;;
 1096:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1097:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1098:     x_includes=$ac_optarg ;;
 1099: 
 1100:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1101:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1102:     ac_prev=x_libraries ;;
 1103:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1104:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1105:     x_libraries=$ac_optarg ;;
 1106: 
 1107:   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
 1108: Try \`$0 --help' for more information." >&2
 1109:    { (exit 1); exit 1; }; }
 1110:     ;;
 1111: 
 1112:   *=*)
 1113:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1114:     # Reject names that are not valid shell variable names.
 1115:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 1116:       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 1117:    { (exit 1); exit 1; }; }
 1118:     eval $ac_envvar=\$ac_optarg
 1119:     export $ac_envvar ;;
 1120: 
 1121:   *)
 1122:     # FIXME: should be removed in autoconf 3.0.
 1123:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1124:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1125:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1126:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1127:     ;;
 1128: 
 1129:   esac
 1130: done
 1131: 
 1132: if test -n "$ac_prev"; then
 1133:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1134:   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 1135:    { (exit 1); exit 1; }; }
 1136: fi
 1137: 
 1138: if test -n "$ac_unrecognized_opts"; then
 1139:   case $enable_option_checking in
 1140:     no) ;;
 1141:     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
 1142:    { (exit 1); exit 1; }; } ;;
 1143:     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1144:   esac
 1145: fi
 1146: 
 1147: # Check all directory arguments for consistency.
 1148: for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1149: 		datadir sysconfdir sharedstatedir localstatedir includedir \
 1150: 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1151: 		libdir localedir mandir
 1152: do
 1153:   eval ac_val=\$$ac_var
 1154:   # Remove trailing slashes.
 1155:   case $ac_val in
 1156:     */ )
 1157:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1158:       eval $ac_var=\$ac_val;;
 1159:   esac
 1160:   # Be sure to have absolute directory names.
 1161:   case $ac_val in
 1162:     [\\/$]* | ?:[\\/]* )  continue;;
 1163:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1164:   esac
 1165:   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 1166:    { (exit 1); exit 1; }; }
 1167: done
 1168: 
 1169: # There might be people who depend on the old broken behavior: `$host'
 1170: # used to hold the argument of --host etc.
 1171: # FIXME: To remove some day.
 1172: build=$build_alias
 1173: host=$host_alias
 1174: target=$target_alias
 1175: 
 1176: # FIXME: To remove some day.
 1177: if test "x$host_alias" != x; then
 1178:   if test "x$build_alias" = x; then
 1179:     cross_compiling=maybe
 1180:     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 1181:     If a cross compiler is detected then cross compile mode will be used." >&2
 1182:   elif test "x$build_alias" != "x$host_alias"; then
 1183:     cross_compiling=yes
 1184:   fi
 1185: fi
 1186: 
 1187: ac_tool_prefix=
 1188: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1189: 
 1190: test "$silent" = yes && exec 6>/dev/null
 1191: 
 1192: 
 1193: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1194: ac_ls_di=`ls -di .` &&
 1195: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1196:   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
 1197:    { (exit 1); exit 1; }; }
 1198: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1199:   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 1200:    { (exit 1); exit 1; }; }
 1201: 
 1202: 
 1203: # Find the source files, if location was not specified.
 1204: if test -z "$srcdir"; then
 1205:   ac_srcdir_defaulted=yes
 1206:   # Try the directory containing this script, then the parent directory.
 1207:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1208: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1209: 	 X"$as_myself" : 'X\(//\)[^/]' \| \
 1210: 	 X"$as_myself" : 'X\(//\)$' \| \
 1211: 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1212: $as_echo X"$as_myself" |
 1213:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1214: 	    s//\1/
 1215: 	    q
 1216: 	  }
 1217: 	  /^X\(\/\/\)[^/].*/{
 1218: 	    s//\1/
 1219: 	    q
 1220: 	  }
 1221: 	  /^X\(\/\/\)$/{
 1222: 	    s//\1/
 1223: 	    q
 1224: 	  }
 1225: 	  /^X\(\/\).*/{
 1226: 	    s//\1/
 1227: 	    q
 1228: 	  }
 1229: 	  s/.*/./; q'`
 1230:   srcdir=$ac_confdir
 1231:   if test ! -r "$srcdir/$ac_unique_file"; then
 1232:     srcdir=..
 1233:   fi
 1234: else
 1235:   ac_srcdir_defaulted=no
 1236: fi
 1237: if test ! -r "$srcdir/$ac_unique_file"; then
 1238:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1239:   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 1240:    { (exit 1); exit 1; }; }
 1241: fi
 1242: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1243: ac_abs_confdir=`(
 1244: 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 1245:    { (exit 1); exit 1; }; }
 1246: 	pwd)`
 1247: # When building in place, set srcdir=.
 1248: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1249:   srcdir=.
 1250: fi
 1251: # Remove unnecessary trailing slashes from srcdir.
 1252: # Double slashes in file names in object file debugging info
 1253: # mess up M-x gdb in Emacs.
 1254: case $srcdir in
 1255: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1256: esac
 1257: for ac_var in $ac_precious_vars; do
 1258:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1259:   eval ac_env_${ac_var}_value=\$${ac_var}
 1260:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1261:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1262: done
 1263: 
 1264: #
 1265: # Report the --help message.
 1266: #
 1267: if test "$ac_init_help" = "long"; then
 1268:   # Omit some internal or obsolete options to make the list less imposing.
 1269:   # This message is too long to be a string in the A/UX 3.1 sh.
 1270:   cat <<_ACEOF
 1271: \`configure' configures libaitrpc 1.0 to adapt to many kinds of systems.
 1272: 
 1273: Usage: $0 [OPTION]... [VAR=VALUE]...
 1274: 
 1275: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1276: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1277: 
 1278: Defaults for the options are specified in brackets.
 1279: 
 1280: Configuration:
 1281:   -h, --help              display this help and exit
 1282:       --help=short        display options specific to this package
 1283:       --help=recursive    display the short help of all the included packages
 1284:   -V, --version           display version information and exit
 1285:   -q, --quiet, --silent   do not print \`checking...' messages
 1286:       --cache-file=FILE   cache test results in FILE [disabled]
 1287:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1288:   -n, --no-create         do not create output files
 1289:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1290: 
 1291: Installation directories:
 1292:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1293:                           [$ac_default_prefix]
 1294:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1295:                           [PREFIX]
 1296: 
 1297: By default, \`make install' will install all the files in
 1298: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1299: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1300: for instance \`--prefix=\$HOME'.
 1301: 
 1302: For better control, use the options below.
 1303: 
 1304: Fine tuning of the installation directories:
 1305:   --bindir=DIR            user executables [EPREFIX/bin]
 1306:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1307:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1308:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1309:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1310:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1311:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1312:   --includedir=DIR        C header files [PREFIX/include]
 1313:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1314:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1315:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1316:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1317:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1318:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1319:   --docdir=DIR            documentation root [DATAROOTDIR/doc/libaitrpc]
 1320:   --htmldir=DIR           html documentation [DOCDIR]
 1321:   --dvidir=DIR            dvi documentation [DOCDIR]
 1322:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1323:   --psdir=DIR             ps documentation [DOCDIR]
 1324: _ACEOF
 1325: 
 1326:   cat <<\_ACEOF
 1327: 
 1328: System types:
 1329:   --build=BUILD     configure for building on BUILD [guessed]
 1330:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1331:   --target=TARGET   configure for building compilers for TARGET [HOST]
 1332: _ACEOF
 1333: fi
 1334: 
 1335: if test -n "$ac_init_help"; then
 1336:   case $ac_init_help in
 1337:      short | recursive ) echo "Configuration of libaitrpc 1.0:";;
 1338:    esac
 1339:   cat <<\_ACEOF
 1340: 
 1341: Optional Features:
 1342:   --disable-option-checking  ignore unrecognized --enable/--with options
 1343:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1344:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1345:   --enable-debug          Build library with debug information and additional messages
 1346: 
 1347: Some influential environment variables:
 1348:   CC          C compiler command
 1349:   CFLAGS      C compiler flags
 1350:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1351:               nonstandard directory <lib dir>
 1352:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1353:   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 1354:               you have headers in a nonstandard directory <include dir>
 1355:   CPP         C preprocessor
 1356: 
 1357: Use these variables to override the choices made by `configure' or to help
 1358: it to find libraries and programs with nonstandard names/locations.
 1359: 
 1360: Report bugs to <misho@openbsd-bg.org>.
 1361: _ACEOF
 1362: ac_status=$?
 1363: fi
 1364: 
 1365: if test "$ac_init_help" = "recursive"; then
 1366:   # If there are subdirs, report their specific --help.
 1367:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1368:     test -d "$ac_dir" ||
 1369:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1370:       continue
 1371:     ac_builddir=.
 1372: 
 1373: case "$ac_dir" in
 1374: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1375: *)
 1376:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1377:   # A ".." for each directory in $ac_dir_suffix.
 1378:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1379:   case $ac_top_builddir_sub in
 1380:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1381:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1382:   esac ;;
 1383: esac
 1384: ac_abs_top_builddir=$ac_pwd
 1385: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1386: # for backward compatibility:
 1387: ac_top_builddir=$ac_top_build_prefix
 1388: 
 1389: case $srcdir in
 1390:   .)  # We are building in place.
 1391:     ac_srcdir=.
 1392:     ac_top_srcdir=$ac_top_builddir_sub
 1393:     ac_abs_top_srcdir=$ac_pwd ;;
 1394:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1395:     ac_srcdir=$srcdir$ac_dir_suffix;
 1396:     ac_top_srcdir=$srcdir
 1397:     ac_abs_top_srcdir=$srcdir ;;
 1398:   *) # Relative name.
 1399:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1400:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1401:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1402: esac
 1403: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1404: 
 1405:     cd "$ac_dir" || { ac_status=$?; continue; }
 1406:     # Check for guested configure.
 1407:     if test -f "$ac_srcdir/configure.gnu"; then
 1408:       echo &&
 1409:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1410:     elif test -f "$ac_srcdir/configure"; then
 1411:       echo &&
 1412:       $SHELL "$ac_srcdir/configure" --help=recursive
 1413:     else
 1414:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1415:     fi || ac_status=$?
 1416:     cd "$ac_pwd" || { ac_status=$?; break; }
 1417:   done
 1418: fi
 1419: 
 1420: test -n "$ac_init_help" && exit $ac_status
 1421: if $ac_init_version; then
 1422:   cat <<\_ACEOF
 1423: libaitrpc configure 1.0
 1424: generated by GNU Autoconf 2.62
 1425: 
 1426: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 1427: 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 1428: This configure script is free software; the Free Software Foundation
 1429: gives unlimited permission to copy, distribute and modify it.
 1430: _ACEOF
 1431:   exit
 1432: fi
 1433: cat >config.log <<_ACEOF
 1434: This file contains any messages produced by compilers while
 1435: running configure, to aid debugging if configure makes a mistake.
 1436: 
 1437: It was created by libaitrpc $as_me 1.0, which was
 1438: generated by GNU Autoconf 2.62.  Invocation command line was
 1439: 
 1440:   $ $0 $@
 1441: 
 1442: _ACEOF
 1443: exec 5>>config.log
 1444: {
 1445: cat <<_ASUNAME
 1446: ## --------- ##
 1447: ## Platform. ##
 1448: ## --------- ##
 1449: 
 1450: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1451: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1452: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1453: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1454: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1455: 
 1456: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1457: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1458: 
 1459: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1460: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1461: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1462: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 1463: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1464: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1465: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1466: 
 1467: _ASUNAME
 1468: 
 1469: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1470: for as_dir in $PATH
 1471: do
 1472:   IFS=$as_save_IFS
 1473:   test -z "$as_dir" && as_dir=.
 1474:   $as_echo "PATH: $as_dir"
 1475: done
 1476: IFS=$as_save_IFS
 1477: 
 1478: } >&5
 1479: 
 1480: cat >&5 <<_ACEOF
 1481: 
 1482: 
 1483: ## ----------- ##
 1484: ## Core tests. ##
 1485: ## ----------- ##
 1486: 
 1487: _ACEOF
 1488: 
 1489: 
 1490: # Keep a trace of the command line.
 1491: # Strip out --no-create and --no-recursion so they do not pile up.
 1492: # Strip out --silent because we don't want to record it for future runs.
 1493: # Also quote any args containing shell meta-characters.
 1494: # Make two passes to allow for proper duplicate-argument suppression.
 1495: ac_configure_args=
 1496: ac_configure_args0=
 1497: ac_configure_args1=
 1498: ac_must_keep_next=false
 1499: for ac_pass in 1 2
 1500: do
 1501:   for ac_arg
 1502:   do
 1503:     case $ac_arg in
 1504:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1505:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1506:     | -silent | --silent | --silen | --sile | --sil)
 1507:       continue ;;
 1508:     *\'*)
 1509:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1510:     esac
 1511:     case $ac_pass in
 1512:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1513:     2)
 1514:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1515:       if test $ac_must_keep_next = true; then
 1516: 	ac_must_keep_next=false # Got value, back to normal.
 1517:       else
 1518: 	case $ac_arg in
 1519: 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 1520: 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1521: 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1522: 	  | -with-* | --with-* | -without-* | --without-* | --x)
 1523: 	    case "$ac_configure_args0 " in
 1524: 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1525: 	    esac
 1526: 	    ;;
 1527: 	  -* ) ac_must_keep_next=true ;;
 1528: 	esac
 1529:       fi
 1530:       ac_configure_args="$ac_configure_args '$ac_arg'"
 1531:       ;;
 1532:     esac
 1533:   done
 1534: done
 1535: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1536: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1537: 
 1538: # When interrupted or exit'd, cleanup temporary files, and complete
 1539: # config.log.  We remove comments because anyway the quotes in there
 1540: # would cause problems or look ugly.
 1541: # WARNING: Use '\'' to represent an apostrophe within the trap.
 1542: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 1543: trap 'exit_status=$?
 1544:   # Save into config.log some information that might help in debugging.
 1545:   {
 1546:     echo
 1547: 
 1548:     cat <<\_ASBOX
 1549: ## ---------------- ##
 1550: ## Cache variables. ##
 1551: ## ---------------- ##
 1552: _ASBOX
 1553:     echo
 1554:     # The following way of writing the cache mishandles newlines in values,
 1555: (
 1556:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 1557:     eval ac_val=\$$ac_var
 1558:     case $ac_val in #(
 1559:     *${as_nl}*)
 1560:       case $ac_var in #(
 1561:       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 1562: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 1563:       esac
 1564:       case $ac_var in #(
 1565:       _ | IFS | as_nl) ;; #(
 1566:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 1567:       *) $as_unset $ac_var ;;
 1568:       esac ;;
 1569:     esac
 1570:   done
 1571:   (set) 2>&1 |
 1572:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 1573:     *${as_nl}ac_space=\ *)
 1574:       sed -n \
 1575: 	"s/'\''/'\''\\\\'\'''\''/g;
 1576: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 1577:       ;; #(
 1578:     *)
 1579:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 1580:       ;;
 1581:     esac |
 1582:     sort
 1583: )
 1584:     echo
 1585: 
 1586:     cat <<\_ASBOX
 1587: ## ----------------- ##
 1588: ## Output variables. ##
 1589: ## ----------------- ##
 1590: _ASBOX
 1591:     echo
 1592:     for ac_var in $ac_subst_vars
 1593:     do
 1594:       eval ac_val=\$$ac_var
 1595:       case $ac_val in
 1596:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1597:       esac
 1598:       $as_echo "$ac_var='\''$ac_val'\''"
 1599:     done | sort
 1600:     echo
 1601: 
 1602:     if test -n "$ac_subst_files"; then
 1603:       cat <<\_ASBOX
 1604: ## ------------------- ##
 1605: ## File substitutions. ##
 1606: ## ------------------- ##
 1607: _ASBOX
 1608:       echo
 1609:       for ac_var in $ac_subst_files
 1610:       do
 1611: 	eval ac_val=\$$ac_var
 1612: 	case $ac_val in
 1613: 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1614: 	esac
 1615: 	$as_echo "$ac_var='\''$ac_val'\''"
 1616:       done | sort
 1617:       echo
 1618:     fi
 1619: 
 1620:     if test -s confdefs.h; then
 1621:       cat <<\_ASBOX
 1622: ## ----------- ##
 1623: ## confdefs.h. ##
 1624: ## ----------- ##
 1625: _ASBOX
 1626:       echo
 1627:       cat confdefs.h
 1628:       echo
 1629:     fi
 1630:     test "$ac_signal" != 0 &&
 1631:       $as_echo "$as_me: caught signal $ac_signal"
 1632:     $as_echo "$as_me: exit $exit_status"
 1633:   } >&5
 1634:   rm -f core *.core core.conftest.* &&
 1635:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 1636:     exit $exit_status
 1637: ' 0
 1638: for ac_signal in 1 2 13 15; do
 1639:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1640: done
 1641: ac_signal=0
 1642: 
 1643: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1644: rm -f -r conftest* confdefs.h
 1645: 
 1646: # Predefined preprocessor variables.
 1647: 
 1648: cat >>confdefs.h <<_ACEOF
 1649: #define PACKAGE_NAME "$PACKAGE_NAME"
 1650: _ACEOF
 1651: 
 1652: 
 1653: cat >>confdefs.h <<_ACEOF
 1654: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1655: _ACEOF
 1656: 
 1657: 
 1658: cat >>confdefs.h <<_ACEOF
 1659: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1660: _ACEOF
 1661: 
 1662: 
 1663: cat >>confdefs.h <<_ACEOF
 1664: #define PACKAGE_STRING "$PACKAGE_STRING"
 1665: _ACEOF
 1666: 
 1667: 
 1668: cat >>confdefs.h <<_ACEOF
 1669: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1670: _ACEOF
 1671: 
 1672: 
 1673: # Let the site file select an alternate cache file if it wants to.
 1674: # Prefer an explicitly selected file to automatically selected ones.
 1675: ac_site_file1=NONE
 1676: ac_site_file2=NONE
 1677: if test -n "$CONFIG_SITE"; then
 1678:   ac_site_file1=$CONFIG_SITE
 1679: elif test "x$prefix" != xNONE; then
 1680:   ac_site_file1=$prefix/share/config.site
 1681:   ac_site_file2=$prefix/etc/config.site
 1682: else
 1683:   ac_site_file1=$ac_default_prefix/share/config.site
 1684:   ac_site_file2=$ac_default_prefix/etc/config.site
 1685: fi
 1686: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 1687: do
 1688:   test "x$ac_site_file" = xNONE && continue
 1689:   if test -r "$ac_site_file"; then
 1690:     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1691: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 1692:     sed 's/^/| /' "$ac_site_file" >&5
 1693:     . "$ac_site_file"
 1694:   fi
 1695: done
 1696: 
 1697: if test -r "$cache_file"; then
 1698:   # Some versions of bash will fail to source /dev/null (special
 1699:   # files actually), so we avoid doing that.
 1700:   if test -f "$cache_file"; then
 1701:     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1702: $as_echo "$as_me: loading cache $cache_file" >&6;}
 1703:     case $cache_file in
 1704:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 1705:       *)                      . "./$cache_file";;
 1706:     esac
 1707:   fi
 1708: else
 1709:   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1710: $as_echo "$as_me: creating cache $cache_file" >&6;}
 1711:   >$cache_file
 1712: fi
 1713: 
 1714: # Check that the precious variables saved in the cache have kept the same
 1715: # value.
 1716: ac_cache_corrupted=false
 1717: for ac_var in $ac_precious_vars; do
 1718:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1719:   eval ac_new_set=\$ac_env_${ac_var}_set
 1720:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 1721:   eval ac_new_val=\$ac_env_${ac_var}_value
 1722:   case $ac_old_set,$ac_new_set in
 1723:     set,)
 1724:       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1725: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1726:       ac_cache_corrupted=: ;;
 1727:     ,set)
 1728:       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1729: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1730:       ac_cache_corrupted=: ;;
 1731:     ,);;
 1732:     *)
 1733:       if test "x$ac_old_val" != "x$ac_new_val"; then
 1734: 	# differences in whitespace do not lead to failure.
 1735: 	ac_old_val_w=`echo x $ac_old_val`
 1736: 	ac_new_val_w=`echo x $ac_new_val`
 1737: 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 1738: 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1739: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1740: 	  ac_cache_corrupted=:
 1741: 	else
 1742: 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 1743: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 1744: 	  eval $ac_var=\$ac_old_val
 1745: 	fi
 1746: 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 1747: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 1748: 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 1749: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 1750:       fi;;
 1751:   esac
 1752:   # Pass precious variables to config.status.
 1753:   if test "$ac_new_set" = set; then
 1754:     case $ac_new_val in
 1755:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1756:     *) ac_arg=$ac_var=$ac_new_val ;;
 1757:     esac
 1758:     case " $ac_configure_args " in
 1759:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1760:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1761:     esac
 1762:   fi
 1763: done
 1764: if $ac_cache_corrupted; then
 1765:   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1766: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1767:   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1768: $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1769:    { (exit 1); exit 1; }; }
 1770: fi
 1771: 
 1772: 
 1773: 
 1774: 
 1775: 
 1776: 
 1777: 
 1778: 
 1779: 
 1780: 
 1781: 
 1782: 
 1783: 
 1784: 
 1785: 
 1786: 
 1787: 
 1788: 
 1789: 
 1790: 
 1791: 
 1792: 
 1793: 
 1794: 
 1795: 
 1796: ac_ext=c
 1797: ac_cpp='$CPP $CPPFLAGS'
 1798: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1799: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1800: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1801: 
 1802: 
 1803: 
 1804: ac_config_headers="$ac_config_headers inc/config.h"
 1805: 
 1806: 
 1807: # Checks for programs.
 1808: ac_ext=c
 1809: ac_cpp='$CPP $CPPFLAGS'
 1810: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1811: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1812: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1813: if test -n "$ac_tool_prefix"; then
 1814:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 1815: set dummy ${ac_tool_prefix}gcc; ac_word=$2
 1816: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 1817: $as_echo_n "checking for $ac_word... " >&6; }
 1818: if test "${ac_cv_prog_CC+set}" = set; then
 1819:   $as_echo_n "(cached) " >&6
 1820: else
 1821:   if test -n "$CC"; then
 1822:   ac_cv_prog_CC="$CC" # Let the user override the test.
 1823: else
 1824: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1825: for as_dir in $PATH
 1826: do
 1827:   IFS=$as_save_IFS
 1828:   test -z "$as_dir" && as_dir=.
 1829:   for ac_exec_ext in '' $ac_executable_extensions; do
 1830:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 1831:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 1832:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1833:     break 2
 1834:   fi
 1835: done
 1836: done
 1837: IFS=$as_save_IFS
 1838: 
 1839: fi
 1840: fi
 1841: CC=$ac_cv_prog_CC
 1842: if test -n "$CC"; then
 1843:   { $as_echo "$as_me:$LINENO: result: $CC" >&5
 1844: $as_echo "$CC" >&6; }
 1845: else
 1846:   { $as_echo "$as_me:$LINENO: result: no" >&5
 1847: $as_echo "no" >&6; }
 1848: fi
 1849: 
 1850: 
 1851: fi
 1852: if test -z "$ac_cv_prog_CC"; then
 1853:   ac_ct_CC=$CC
 1854:   # Extract the first word of "gcc", so it can be a program name with args.
 1855: set dummy gcc; ac_word=$2
 1856: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 1857: $as_echo_n "checking for $ac_word... " >&6; }
 1858: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1859:   $as_echo_n "(cached) " >&6
 1860: else
 1861:   if test -n "$ac_ct_CC"; then
 1862:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1863: else
 1864: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1865: for as_dir in $PATH
 1866: do
 1867:   IFS=$as_save_IFS
 1868:   test -z "$as_dir" && as_dir=.
 1869:   for ac_exec_ext in '' $ac_executable_extensions; do
 1870:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 1871:     ac_cv_prog_ac_ct_CC="gcc"
 1872:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1873:     break 2
 1874:   fi
 1875: done
 1876: done
 1877: IFS=$as_save_IFS
 1878: 
 1879: fi
 1880: fi
 1881: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1882: if test -n "$ac_ct_CC"; then
 1883:   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1884: $as_echo "$ac_ct_CC" >&6; }
 1885: else
 1886:   { $as_echo "$as_me:$LINENO: result: no" >&5
 1887: $as_echo "no" >&6; }
 1888: fi
 1889: 
 1890:   if test "x$ac_ct_CC" = x; then
 1891:     CC=""
 1892:   else
 1893:     case $cross_compiling:$ac_tool_warned in
 1894: yes:)
 1895: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 1896: whose name does not start with the host triplet.  If you think this
 1897: configuration is useful to you, please write to autoconf@gnu.org." >&5
 1898: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 1899: whose name does not start with the host triplet.  If you think this
 1900: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 1901: ac_tool_warned=yes ;;
 1902: esac
 1903:     CC=$ac_ct_CC
 1904:   fi
 1905: else
 1906:   CC="$ac_cv_prog_CC"
 1907: fi
 1908: 
 1909: if test -z "$CC"; then
 1910:           if test -n "$ac_tool_prefix"; then
 1911:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 1912: set dummy ${ac_tool_prefix}cc; ac_word=$2
 1913: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 1914: $as_echo_n "checking for $ac_word... " >&6; }
 1915: if test "${ac_cv_prog_CC+set}" = set; then
 1916:   $as_echo_n "(cached) " >&6
 1917: else
 1918:   if test -n "$CC"; then
 1919:   ac_cv_prog_CC="$CC" # Let the user override the test.
 1920: else
 1921: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1922: for as_dir in $PATH
 1923: do
 1924:   IFS=$as_save_IFS
 1925:   test -z "$as_dir" && as_dir=.
 1926:   for ac_exec_ext in '' $ac_executable_extensions; do
 1927:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 1928:     ac_cv_prog_CC="${ac_tool_prefix}cc"
 1929:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1930:     break 2
 1931:   fi
 1932: done
 1933: done
 1934: IFS=$as_save_IFS
 1935: 
 1936: fi
 1937: fi
 1938: CC=$ac_cv_prog_CC
 1939: if test -n "$CC"; then
 1940:   { $as_echo "$as_me:$LINENO: result: $CC" >&5
 1941: $as_echo "$CC" >&6; }
 1942: else
 1943:   { $as_echo "$as_me:$LINENO: result: no" >&5
 1944: $as_echo "no" >&6; }
 1945: fi
 1946: 
 1947: 
 1948:   fi
 1949: fi
 1950: if test -z "$CC"; then
 1951:   # Extract the first word of "cc", so it can be a program name with args.
 1952: set dummy cc; ac_word=$2
 1953: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 1954: $as_echo_n "checking for $ac_word... " >&6; }
 1955: if test "${ac_cv_prog_CC+set}" = set; then
 1956:   $as_echo_n "(cached) " >&6
 1957: else
 1958:   if test -n "$CC"; then
 1959:   ac_cv_prog_CC="$CC" # Let the user override the test.
 1960: else
 1961:   ac_prog_rejected=no
 1962: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1963: for as_dir in $PATH
 1964: do
 1965:   IFS=$as_save_IFS
 1966:   test -z "$as_dir" && as_dir=.
 1967:   for ac_exec_ext in '' $ac_executable_extensions; do
 1968:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 1969:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 1970:        ac_prog_rejected=yes
 1971:        continue
 1972:      fi
 1973:     ac_cv_prog_CC="cc"
 1974:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1975:     break 2
 1976:   fi
 1977: done
 1978: done
 1979: IFS=$as_save_IFS
 1980: 
 1981: if test $ac_prog_rejected = yes; then
 1982:   # We found a bogon in the path, so make sure we never use it.
 1983:   set dummy $ac_cv_prog_CC
 1984:   shift
 1985:   if test $# != 0; then
 1986:     # We chose a different compiler from the bogus one.
 1987:     # However, it has the same basename, so the bogon will be chosen
 1988:     # first if we set CC to just the basename; use the full file name.
 1989:     shift
 1990:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 1991:   fi
 1992: fi
 1993: fi
 1994: fi
 1995: CC=$ac_cv_prog_CC
 1996: if test -n "$CC"; then
 1997:   { $as_echo "$as_me:$LINENO: result: $CC" >&5
 1998: $as_echo "$CC" >&6; }
 1999: else
 2000:   { $as_echo "$as_me:$LINENO: result: no" >&5
 2001: $as_echo "no" >&6; }
 2002: fi
 2003: 
 2004: 
 2005: fi
 2006: if test -z "$CC"; then
 2007:   if test -n "$ac_tool_prefix"; then
 2008:   for ac_prog in cl.exe
 2009:   do
 2010:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2011: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2012: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 2013: $as_echo_n "checking for $ac_word... " >&6; }
 2014: if test "${ac_cv_prog_CC+set}" = set; then
 2015:   $as_echo_n "(cached) " >&6
 2016: else
 2017:   if test -n "$CC"; then
 2018:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2019: else
 2020: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2021: for as_dir in $PATH
 2022: do
 2023:   IFS=$as_save_IFS
 2024:   test -z "$as_dir" && as_dir=.
 2025:   for ac_exec_ext in '' $ac_executable_extensions; do
 2026:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2027:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2028:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2029:     break 2
 2030:   fi
 2031: done
 2032: done
 2033: IFS=$as_save_IFS
 2034: 
 2035: fi
 2036: fi
 2037: CC=$ac_cv_prog_CC
 2038: if test -n "$CC"; then
 2039:   { $as_echo "$as_me:$LINENO: result: $CC" >&5
 2040: $as_echo "$CC" >&6; }
 2041: else
 2042:   { $as_echo "$as_me:$LINENO: result: no" >&5
 2043: $as_echo "no" >&6; }
 2044: fi
 2045: 
 2046: 
 2047:     test -n "$CC" && break
 2048:   done
 2049: fi
 2050: if test -z "$CC"; then
 2051:   ac_ct_CC=$CC
 2052:   for ac_prog in cl.exe
 2053: do
 2054:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2055: set dummy $ac_prog; ac_word=$2
 2056: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 2057: $as_echo_n "checking for $ac_word... " >&6; }
 2058: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2059:   $as_echo_n "(cached) " >&6
 2060: else
 2061:   if test -n "$ac_ct_CC"; then
 2062:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2063: else
 2064: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2065: for as_dir in $PATH
 2066: do
 2067:   IFS=$as_save_IFS
 2068:   test -z "$as_dir" && as_dir=.
 2069:   for ac_exec_ext in '' $ac_executable_extensions; do
 2070:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2071:     ac_cv_prog_ac_ct_CC="$ac_prog"
 2072:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2073:     break 2
 2074:   fi
 2075: done
 2076: done
 2077: IFS=$as_save_IFS
 2078: 
 2079: fi
 2080: fi
 2081: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2082: if test -n "$ac_ct_CC"; then
 2083:   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2084: $as_echo "$ac_ct_CC" >&6; }
 2085: else
 2086:   { $as_echo "$as_me:$LINENO: result: no" >&5
 2087: $as_echo "no" >&6; }
 2088: fi
 2089: 
 2090: 
 2091:   test -n "$ac_ct_CC" && break
 2092: done
 2093: 
 2094:   if test "x$ac_ct_CC" = x; then
 2095:     CC=""
 2096:   else
 2097:     case $cross_compiling:$ac_tool_warned in
 2098: yes:)
 2099: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2100: whose name does not start with the host triplet.  If you think this
 2101: configuration is useful to you, please write to autoconf@gnu.org." >&5
 2102: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2103: whose name does not start with the host triplet.  If you think this
 2104: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2105: ac_tool_warned=yes ;;
 2106: esac
 2107:     CC=$ac_ct_CC
 2108:   fi
 2109: fi
 2110: 
 2111: fi
 2112: 
 2113: 
 2114: test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 2115: See \`config.log' for more details." >&5
 2116: $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 2117: See \`config.log' for more details." >&2;}
 2118:    { (exit 1); exit 1; }; }
 2119: 
 2120: # Provide some information about the compiler.
 2121: $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 2122: set X $ac_compile
 2123: ac_compiler=$2
 2124: { (ac_try="$ac_compiler --version >&5"
 2125: case "(($ac_try" in
 2126:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2127:   *) ac_try_echo=$ac_try;;
 2128: esac
 2129: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2130: $as_echo "$ac_try_echo") >&5
 2131:   (eval "$ac_compiler --version >&5") 2>&5
 2132:   ac_status=$?
 2133:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2134:   (exit $ac_status); }
 2135: { (ac_try="$ac_compiler -v >&5"
 2136: case "(($ac_try" in
 2137:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2138:   *) ac_try_echo=$ac_try;;
 2139: esac
 2140: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2141: $as_echo "$ac_try_echo") >&5
 2142:   (eval "$ac_compiler -v >&5") 2>&5
 2143:   ac_status=$?
 2144:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2145:   (exit $ac_status); }
 2146: { (ac_try="$ac_compiler -V >&5"
 2147: case "(($ac_try" in
 2148:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2149:   *) ac_try_echo=$ac_try;;
 2150: esac
 2151: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2152: $as_echo "$ac_try_echo") >&5
 2153:   (eval "$ac_compiler -V >&5") 2>&5
 2154:   ac_status=$?
 2155:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2156:   (exit $ac_status); }
 2157: 
 2158: cat >conftest.$ac_ext <<_ACEOF
 2159: /* confdefs.h.  */
 2160: _ACEOF
 2161: cat confdefs.h >>conftest.$ac_ext
 2162: cat >>conftest.$ac_ext <<_ACEOF
 2163: /* end confdefs.h.  */
 2164: 
 2165: int
 2166: main ()
 2167: {
 2168: 
 2169:   ;
 2170:   return 0;
 2171: }
 2172: _ACEOF
 2173: ac_clean_files_save=$ac_clean_files
 2174: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 2175: # Try to create an executable without -o first, disregard a.out.
 2176: # It will help us diagnose broken compilers, and finding out an intuition
 2177: # of exeext.
 2178: { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 2179: $as_echo_n "checking for C compiler default output file name... " >&6; }
 2180: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2181: 
 2182: # The possible output files:
 2183: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 2184: 
 2185: ac_rmfiles=
 2186: for ac_file in $ac_files
 2187: do
 2188:   case $ac_file in
 2189:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 2190:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 2191:   esac
 2192: done
 2193: rm -f $ac_rmfiles
 2194: 
 2195: if { (ac_try="$ac_link_default"
 2196: case "(($ac_try" in
 2197:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2198:   *) ac_try_echo=$ac_try;;
 2199: esac
 2200: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2201: $as_echo "$ac_try_echo") >&5
 2202:   (eval "$ac_link_default") 2>&5
 2203:   ac_status=$?
 2204:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2205:   (exit $ac_status); }; then
 2206:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 2207: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 2208: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 2209: # so that the user can short-circuit this test for compilers unknown to
 2210: # Autoconf.
 2211: for ac_file in $ac_files ''
 2212: do
 2213:   test -f "$ac_file" || continue
 2214:   case $ac_file in
 2215:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 2216: 	;;
 2217:     [ab].out )
 2218: 	# We found the default executable, but exeext='' is most
 2219: 	# certainly right.
 2220: 	break;;
 2221:     *.* )
 2222:         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 2223: 	then :; else
 2224: 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2225: 	fi
 2226: 	# We set ac_cv_exeext here because the later test for it is not
 2227: 	# safe: cross compilers may not add the suffix if given an `-o'
 2228: 	# argument, so we may need to know it at that point already.
 2229: 	# Even if this section looks crufty: it has the advantage of
 2230: 	# actually working.
 2231: 	break;;
 2232:     * )
 2233: 	break;;
 2234:   esac
 2235: done
 2236: test "$ac_cv_exeext" = no && ac_cv_exeext=
 2237: 
 2238: else
 2239:   ac_file=''
 2240: fi
 2241: 
 2242: { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 2243: $as_echo "$ac_file" >&6; }
 2244: if test -z "$ac_file"; then
 2245:   $as_echo "$as_me: failed program was:" >&5
 2246: sed 's/^/| /' conftest.$ac_ext >&5
 2247: 
 2248: { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
 2249: See \`config.log' for more details." >&5
 2250: $as_echo "$as_me: error: C compiler cannot create executables
 2251: See \`config.log' for more details." >&2;}
 2252:    { (exit 77); exit 77; }; }
 2253: fi
 2254: 
 2255: ac_exeext=$ac_cv_exeext
 2256: 
 2257: # Check that the compiler produces executables we can run.  If not, either
 2258: # the compiler is broken, or we cross compile.
 2259: { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 2260: $as_echo_n "checking whether the C compiler works... " >&6; }
 2261: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 2262: # If not cross compiling, check that we can run a simple program.
 2263: if test "$cross_compiling" != yes; then
 2264:   if { ac_try='./$ac_file'
 2265:   { (case "(($ac_try" in
 2266:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2267:   *) ac_try_echo=$ac_try;;
 2268: esac
 2269: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2270: $as_echo "$ac_try_echo") >&5
 2271:   (eval "$ac_try") 2>&5
 2272:   ac_status=$?
 2273:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2274:   (exit $ac_status); }; }; then
 2275:     cross_compiling=no
 2276:   else
 2277:     if test "$cross_compiling" = maybe; then
 2278: 	cross_compiling=yes
 2279:     else
 2280: 	{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
 2281: If you meant to cross compile, use \`--host'.
 2282: See \`config.log' for more details." >&5
 2283: $as_echo "$as_me: error: cannot run C compiled programs.
 2284: If you meant to cross compile, use \`--host'.
 2285: See \`config.log' for more details." >&2;}
 2286:    { (exit 1); exit 1; }; }
 2287:     fi
 2288:   fi
 2289: fi
 2290: { $as_echo "$as_me:$LINENO: result: yes" >&5
 2291: $as_echo "yes" >&6; }
 2292: 
 2293: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 2294: ac_clean_files=$ac_clean_files_save
 2295: # Check that the compiler produces executables we can run.  If not, either
 2296: # the compiler is broken, or we cross compile.
 2297: { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 2298: $as_echo_n "checking whether we are cross compiling... " >&6; }
 2299: { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 2300: $as_echo "$cross_compiling" >&6; }
 2301: 
 2302: { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 2303: $as_echo_n "checking for suffix of executables... " >&6; }
 2304: if { (ac_try="$ac_link"
 2305: case "(($ac_try" in
 2306:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2307:   *) ac_try_echo=$ac_try;;
 2308: esac
 2309: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2310: $as_echo "$ac_try_echo") >&5
 2311:   (eval "$ac_link") 2>&5
 2312:   ac_status=$?
 2313:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2314:   (exit $ac_status); }; then
 2315:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2316: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2317: # work properly (i.e., refer to `conftest.exe'), while it won't with
 2318: # `rm'.
 2319: for ac_file in conftest.exe conftest conftest.*; do
 2320:   test -f "$ac_file" || continue
 2321:   case $ac_file in
 2322:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 2323:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2324: 	  break;;
 2325:     * ) break;;
 2326:   esac
 2327: done
 2328: else
 2329:   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 2330: See \`config.log' for more details." >&5
 2331: $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 2332: See \`config.log' for more details." >&2;}
 2333:    { (exit 1); exit 1; }; }
 2334: fi
 2335: 
 2336: rm -f conftest$ac_cv_exeext
 2337: { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 2338: $as_echo "$ac_cv_exeext" >&6; }
 2339: 
 2340: rm -f conftest.$ac_ext
 2341: EXEEXT=$ac_cv_exeext
 2342: ac_exeext=$EXEEXT
 2343: { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 2344: $as_echo_n "checking for suffix of object files... " >&6; }
 2345: if test "${ac_cv_objext+set}" = set; then
 2346:   $as_echo_n "(cached) " >&6
 2347: else
 2348:   cat >conftest.$ac_ext <<_ACEOF
 2349: /* confdefs.h.  */
 2350: _ACEOF
 2351: cat confdefs.h >>conftest.$ac_ext
 2352: cat >>conftest.$ac_ext <<_ACEOF
 2353: /* end confdefs.h.  */
 2354: 
 2355: int
 2356: main ()
 2357: {
 2358: 
 2359:   ;
 2360:   return 0;
 2361: }
 2362: _ACEOF
 2363: rm -f conftest.o conftest.obj
 2364: if { (ac_try="$ac_compile"
 2365: case "(($ac_try" in
 2366:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2367:   *) ac_try_echo=$ac_try;;
 2368: esac
 2369: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2370: $as_echo "$ac_try_echo") >&5
 2371:   (eval "$ac_compile") 2>&5
 2372:   ac_status=$?
 2373:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2374:   (exit $ac_status); }; then
 2375:   for ac_file in conftest.o conftest.obj conftest.*; do
 2376:   test -f "$ac_file" || continue;
 2377:   case $ac_file in
 2378:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 2379:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2380:        break;;
 2381:   esac
 2382: done
 2383: else
 2384:   $as_echo "$as_me: failed program was:" >&5
 2385: sed 's/^/| /' conftest.$ac_ext >&5
 2386: 
 2387: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 2388: See \`config.log' for more details." >&5
 2389: $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
 2390: See \`config.log' for more details." >&2;}
 2391:    { (exit 1); exit 1; }; }
 2392: fi
 2393: 
 2394: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2395: fi
 2396: { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 2397: $as_echo "$ac_cv_objext" >&6; }
 2398: OBJEXT=$ac_cv_objext
 2399: ac_objext=$OBJEXT
 2400: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 2401: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 2402: if test "${ac_cv_c_compiler_gnu+set}" = set; then
 2403:   $as_echo_n "(cached) " >&6
 2404: else
 2405:   cat >conftest.$ac_ext <<_ACEOF
 2406: /* confdefs.h.  */
 2407: _ACEOF
 2408: cat confdefs.h >>conftest.$ac_ext
 2409: cat >>conftest.$ac_ext <<_ACEOF
 2410: /* end confdefs.h.  */
 2411: 
 2412: int
 2413: main ()
 2414: {
 2415: #ifndef __GNUC__
 2416:        choke me
 2417: #endif
 2418: 
 2419:   ;
 2420:   return 0;
 2421: }
 2422: _ACEOF
 2423: rm -f conftest.$ac_objext
 2424: if { (ac_try="$ac_compile"
 2425: case "(($ac_try" in
 2426:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2427:   *) ac_try_echo=$ac_try;;
 2428: esac
 2429: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2430: $as_echo "$ac_try_echo") >&5
 2431:   (eval "$ac_compile") 2>conftest.er1
 2432:   ac_status=$?
 2433:   grep -v '^ *+' conftest.er1 >conftest.err
 2434:   rm -f conftest.er1
 2435:   cat conftest.err >&5
 2436:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2437:   (exit $ac_status); } && {
 2438: 	 test -z "$ac_c_werror_flag" ||
 2439: 	 test ! -s conftest.err
 2440:        } && test -s conftest.$ac_objext; then
 2441:   ac_compiler_gnu=yes
 2442: else
 2443:   $as_echo "$as_me: failed program was:" >&5
 2444: sed 's/^/| /' conftest.$ac_ext >&5
 2445: 
 2446: 	ac_compiler_gnu=no
 2447: fi
 2448: 
 2449: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2450: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 2451: 
 2452: fi
 2453: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 2454: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 2455: if test $ac_compiler_gnu = yes; then
 2456:   GCC=yes
 2457: else
 2458:   GCC=
 2459: fi
 2460: ac_test_CFLAGS=${CFLAGS+set}
 2461: ac_save_CFLAGS=$CFLAGS
 2462: { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 2463: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 2464: if test "${ac_cv_prog_cc_g+set}" = set; then
 2465:   $as_echo_n "(cached) " >&6
 2466: else
 2467:   ac_save_c_werror_flag=$ac_c_werror_flag
 2468:    ac_c_werror_flag=yes
 2469:    ac_cv_prog_cc_g=no
 2470:    CFLAGS="-g"
 2471:    cat >conftest.$ac_ext <<_ACEOF
 2472: /* confdefs.h.  */
 2473: _ACEOF
 2474: cat confdefs.h >>conftest.$ac_ext
 2475: cat >>conftest.$ac_ext <<_ACEOF
 2476: /* end confdefs.h.  */
 2477: 
 2478: int
 2479: main ()
 2480: {
 2481: 
 2482:   ;
 2483:   return 0;
 2484: }
 2485: _ACEOF
 2486: rm -f conftest.$ac_objext
 2487: if { (ac_try="$ac_compile"
 2488: case "(($ac_try" in
 2489:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2490:   *) ac_try_echo=$ac_try;;
 2491: esac
 2492: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2493: $as_echo "$ac_try_echo") >&5
 2494:   (eval "$ac_compile") 2>conftest.er1
 2495:   ac_status=$?
 2496:   grep -v '^ *+' conftest.er1 >conftest.err
 2497:   rm -f conftest.er1
 2498:   cat conftest.err >&5
 2499:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2500:   (exit $ac_status); } && {
 2501: 	 test -z "$ac_c_werror_flag" ||
 2502: 	 test ! -s conftest.err
 2503:        } && test -s conftest.$ac_objext; then
 2504:   ac_cv_prog_cc_g=yes
 2505: else
 2506:   $as_echo "$as_me: failed program was:" >&5
 2507: sed 's/^/| /' conftest.$ac_ext >&5
 2508: 
 2509: 	CFLAGS=""
 2510:       cat >conftest.$ac_ext <<_ACEOF
 2511: /* confdefs.h.  */
 2512: _ACEOF
 2513: cat confdefs.h >>conftest.$ac_ext
 2514: cat >>conftest.$ac_ext <<_ACEOF
 2515: /* end confdefs.h.  */
 2516: 
 2517: int
 2518: main ()
 2519: {
 2520: 
 2521:   ;
 2522:   return 0;
 2523: }
 2524: _ACEOF
 2525: rm -f conftest.$ac_objext
 2526: if { (ac_try="$ac_compile"
 2527: case "(($ac_try" in
 2528:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2529:   *) ac_try_echo=$ac_try;;
 2530: esac
 2531: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2532: $as_echo "$ac_try_echo") >&5
 2533:   (eval "$ac_compile") 2>conftest.er1
 2534:   ac_status=$?
 2535:   grep -v '^ *+' conftest.er1 >conftest.err
 2536:   rm -f conftest.er1
 2537:   cat conftest.err >&5
 2538:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2539:   (exit $ac_status); } && {
 2540: 	 test -z "$ac_c_werror_flag" ||
 2541: 	 test ! -s conftest.err
 2542:        } && test -s conftest.$ac_objext; then
 2543:   :
 2544: else
 2545:   $as_echo "$as_me: failed program was:" >&5
 2546: sed 's/^/| /' conftest.$ac_ext >&5
 2547: 
 2548: 	ac_c_werror_flag=$ac_save_c_werror_flag
 2549: 	 CFLAGS="-g"
 2550: 	 cat >conftest.$ac_ext <<_ACEOF
 2551: /* confdefs.h.  */
 2552: _ACEOF
 2553: cat confdefs.h >>conftest.$ac_ext
 2554: cat >>conftest.$ac_ext <<_ACEOF
 2555: /* end confdefs.h.  */
 2556: 
 2557: int
 2558: main ()
 2559: {
 2560: 
 2561:   ;
 2562:   return 0;
 2563: }
 2564: _ACEOF
 2565: rm -f conftest.$ac_objext
 2566: if { (ac_try="$ac_compile"
 2567: case "(($ac_try" in
 2568:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2569:   *) ac_try_echo=$ac_try;;
 2570: esac
 2571: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2572: $as_echo "$ac_try_echo") >&5
 2573:   (eval "$ac_compile") 2>conftest.er1
 2574:   ac_status=$?
 2575:   grep -v '^ *+' conftest.er1 >conftest.err
 2576:   rm -f conftest.er1
 2577:   cat conftest.err >&5
 2578:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2579:   (exit $ac_status); } && {
 2580: 	 test -z "$ac_c_werror_flag" ||
 2581: 	 test ! -s conftest.err
 2582:        } && test -s conftest.$ac_objext; then
 2583:   ac_cv_prog_cc_g=yes
 2584: else
 2585:   $as_echo "$as_me: failed program was:" >&5
 2586: sed 's/^/| /' conftest.$ac_ext >&5
 2587: 
 2588: 
 2589: fi
 2590: 
 2591: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2592: fi
 2593: 
 2594: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2595: fi
 2596: 
 2597: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2598:    ac_c_werror_flag=$ac_save_c_werror_flag
 2599: fi
 2600: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 2601: $as_echo "$ac_cv_prog_cc_g" >&6; }
 2602: if test "$ac_test_CFLAGS" = set; then
 2603:   CFLAGS=$ac_save_CFLAGS
 2604: elif test $ac_cv_prog_cc_g = yes; then
 2605:   if test "$GCC" = yes; then
 2606:     CFLAGS="-g -O2"
 2607:   else
 2608:     CFLAGS="-g"
 2609:   fi
 2610: else
 2611:   if test "$GCC" = yes; then
 2612:     CFLAGS="-O2"
 2613:   else
 2614:     CFLAGS=
 2615:   fi
 2616: fi
 2617: { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 2618: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 2619: if test "${ac_cv_prog_cc_c89+set}" = set; then
 2620:   $as_echo_n "(cached) " >&6
 2621: else
 2622:   ac_cv_prog_cc_c89=no
 2623: ac_save_CC=$CC
 2624: cat >conftest.$ac_ext <<_ACEOF
 2625: /* confdefs.h.  */
 2626: _ACEOF
 2627: cat confdefs.h >>conftest.$ac_ext
 2628: cat >>conftest.$ac_ext <<_ACEOF
 2629: /* end confdefs.h.  */
 2630: #include <stdarg.h>
 2631: #include <stdio.h>
 2632: #include <sys/types.h>
 2633: #include <sys/stat.h>
 2634: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 2635: struct buf { int x; };
 2636: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 2637: static char *e (p, i)
 2638:      char **p;
 2639:      int i;
 2640: {
 2641:   return p[i];
 2642: }
 2643: static char *f (char * (*g) (char **, int), char **p, ...)
 2644: {
 2645:   char *s;
 2646:   va_list v;
 2647:   va_start (v,p);
 2648:   s = g (p, va_arg (v,int));
 2649:   va_end (v);
 2650:   return s;
 2651: }
 2652: 
 2653: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 2654:    function prototypes and stuff, but not '\xHH' hex character constants.
 2655:    These don't provoke an error unfortunately, instead are silently treated
 2656:    as 'x'.  The following induces an error, until -std is added to get
 2657:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 2658:    array size at least.  It's necessary to write '\x00'==0 to get something
 2659:    that's true only with -std.  */
 2660: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 2661: 
 2662: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 2663:    inside strings and character constants.  */
 2664: #define FOO(x) 'x'
 2665: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 2666: 
 2667: int test (int i, double x);
 2668: struct s1 {int (*f) (int a);};
 2669: struct s2 {int (*f) (double a);};
 2670: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 2671: int argc;
 2672: char **argv;
 2673: int
 2674: main ()
 2675: {
 2676: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 2677:   ;
 2678:   return 0;
 2679: }
 2680: _ACEOF
 2681: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 2682: 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 2683: do
 2684:   CC="$ac_save_CC $ac_arg"
 2685:   rm -f conftest.$ac_objext
 2686: if { (ac_try="$ac_compile"
 2687: case "(($ac_try" in
 2688:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2689:   *) ac_try_echo=$ac_try;;
 2690: esac
 2691: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 2692: $as_echo "$ac_try_echo") >&5
 2693:   (eval "$ac_compile") 2>conftest.er1
 2694:   ac_status=$?
 2695:   grep -v '^ *+' conftest.er1 >conftest.err
 2696:   rm -f conftest.er1
 2697:   cat conftest.err >&5
 2698:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2699:   (exit $ac_status); } && {
 2700: 	 test -z "$ac_c_werror_flag" ||
 2701: 	 test ! -s conftest.err
 2702:        } && test -s conftest.$ac_objext; then
 2703:   ac_cv_prog_cc_c89=$ac_arg
 2704: else
 2705:   $as_echo "$as_me: failed program was:" >&5
 2706: sed 's/^/| /' conftest.$ac_ext >&5
 2707: 
 2708: 
 2709: fi
 2710: 
 2711: rm -f core conftest.err conftest.$ac_objext
 2712:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 2713: done
 2714: rm -f conftest.$ac_ext
 2715: CC=$ac_save_CC
 2716: 
 2717: fi
 2718: # AC_CACHE_VAL
 2719: case "x$ac_cv_prog_cc_c89" in
 2720:   x)
 2721:     { $as_echo "$as_me:$LINENO: result: none needed" >&5
 2722: $as_echo "none needed" >&6; } ;;
 2723:   xno)
 2724:     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 2725: $as_echo "unsupported" >&6; } ;;
 2726:   *)
 2727:     CC="$CC $ac_cv_prog_cc_c89"
 2728:     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 2729: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 2730: esac
 2731: 
 2732: 
 2733: ac_ext=c
 2734: ac_cpp='$CPP $CPPFLAGS'
 2735: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2736: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2737: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2738: 
 2739: ac_aux_dir=
 2740: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2741:   if test -f "$ac_dir/install-sh"; then
 2742:     ac_aux_dir=$ac_dir
 2743:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2744:     break
 2745:   elif test -f "$ac_dir/install.sh"; then
 2746:     ac_aux_dir=$ac_dir
 2747:     ac_install_sh="$ac_aux_dir/install.sh -c"
 2748:     break
 2749:   elif test -f "$ac_dir/shtool"; then
 2750:     ac_aux_dir=$ac_dir
 2751:     ac_install_sh="$ac_aux_dir/shtool install -c"
 2752:     break
 2753:   fi
 2754: done
 2755: if test -z "$ac_aux_dir"; then
 2756:   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 2757: $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 2758:    { (exit 1); exit 1; }; }
 2759: fi
 2760: 
 2761: # These three variables are undocumented and unsupported,
 2762: # and are intended to be withdrawn in a future Autoconf release.
 2763: # They can cause serious problems if a builder's source tree is in a directory
 2764: # whose full name contains unusual characters.
 2765: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2766: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2767: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2768: 
 2769: 
 2770: # Find a good install program.  We prefer a C program (faster),
 2771: # so one script is as good as another.  But avoid the broken or
 2772: # incompatible versions:
 2773: # SysV /etc/install, /usr/sbin/install
 2774: # SunOS /usr/etc/install
 2775: # IRIX /sbin/install
 2776: # AIX /bin/install
 2777: # AmigaOS /C/install, which installs bootblocks on floppy discs
 2778: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2779: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2780: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2781: # OS/2's system install, which has a completely different semantic
 2782: # ./install, which can be erroneously created by make from ./install.sh.
 2783: # Reject install programs that cannot install multiple files.
 2784: { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 2785: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2786: if test -z "$INSTALL"; then
 2787: if test "${ac_cv_path_install+set}" = set; then
 2788:   $as_echo_n "(cached) " >&6
 2789: else
 2790:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2791: for as_dir in $PATH
 2792: do
 2793:   IFS=$as_save_IFS
 2794:   test -z "$as_dir" && as_dir=.
 2795:   # Account for people who put trailing slashes in PATH elements.
 2796: case $as_dir/ in
 2797:   ./ | .// | /cC/* | \
 2798:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2799:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 2800:   /usr/ucb/* ) ;;
 2801:   *)
 2802:     # OSF1 and SCO ODT 3.0 have their own names for install.
 2803:     # Don't use installbsd from OSF since it installs stuff as root
 2804:     # by default.
 2805:     for ac_prog in ginstall scoinst install; do
 2806:       for ac_exec_ext in '' $ac_executable_extensions; do
 2807: 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2808: 	  if test $ac_prog = install &&
 2809: 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2810: 	    # AIX install.  It has an incompatible calling convention.
 2811: 	    :
 2812: 	  elif test $ac_prog = install &&
 2813: 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2814: 	    # program-specific install script used by HP pwplus--don't use.
 2815: 	    :
 2816: 	  else
 2817: 	    rm -rf conftest.one conftest.two conftest.dir
 2818: 	    echo one > conftest.one
 2819: 	    echo two > conftest.two
 2820: 	    mkdir conftest.dir
 2821: 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2822: 	      test -s conftest.one && test -s conftest.two &&
 2823: 	      test -s conftest.dir/conftest.one &&
 2824: 	      test -s conftest.dir/conftest.two
 2825: 	    then
 2826: 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2827: 	      break 3
 2828: 	    fi
 2829: 	  fi
 2830: 	fi
 2831:       done
 2832:     done
 2833:     ;;
 2834: esac
 2835: 
 2836: done
 2837: IFS=$as_save_IFS
 2838: 
 2839: rm -rf conftest.one conftest.two conftest.dir
 2840: 
 2841: fi
 2842:   if test "${ac_cv_path_install+set}" = set; then
 2843:     INSTALL=$ac_cv_path_install
 2844:   else
 2845:     # As a last resort, use the slow shell script.  Don't cache a
 2846:     # value for INSTALL within a source directory, because that will
 2847:     # break other packages using the cache if that directory is
 2848:     # removed, or if the value is a relative name.
 2849:     INSTALL=$ac_install_sh
 2850:   fi
 2851: fi
 2852: { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 2853: $as_echo "$INSTALL" >&6; }
 2854: 
 2855: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2856: # It thinks the first close brace ends the variable substitution.
 2857: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2858: 
 2859: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2860: 
 2861: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2862: 
 2863: 
 2864: # Make sure we can run config.sub.
 2865: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 2866:   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 2867: $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 2868:    { (exit 1); exit 1; }; }
 2869: 
 2870: { $as_echo "$as_me:$LINENO: checking build system type" >&5
 2871: $as_echo_n "checking build system type... " >&6; }
 2872: if test "${ac_cv_build+set}" = set; then
 2873:   $as_echo_n "(cached) " >&6
 2874: else
 2875:   ac_build_alias=$build_alias
 2876: test "x$ac_build_alias" = x &&
 2877:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 2878: test "x$ac_build_alias" = x &&
 2879:   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 2880: $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 2881:    { (exit 1); exit 1; }; }
 2882: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 2883:   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 2884: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 2885:    { (exit 1); exit 1; }; }
 2886: 
 2887: fi
 2888: { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 2889: $as_echo "$ac_cv_build" >&6; }
 2890: case $ac_cv_build in
 2891: *-*-*) ;;
 2892: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 2893: $as_echo "$as_me: error: invalid value of canonical build" >&2;}
 2894:    { (exit 1); exit 1; }; };;
 2895: esac
 2896: build=$ac_cv_build
 2897: ac_save_IFS=$IFS; IFS='-'
 2898: set x $ac_cv_build
 2899: shift
 2900: build_cpu=$1
 2901: build_vendor=$2
 2902: shift; shift
 2903: # Remember, the first character of IFS is used to create $*,
 2904: # except with old shells:
 2905: build_os=$*
 2906: IFS=$ac_save_IFS
 2907: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 2908: 
 2909: 
 2910: { $as_echo "$as_me:$LINENO: checking host system type" >&5
 2911: $as_echo_n "checking host system type... " >&6; }
 2912: if test "${ac_cv_host+set}" = set; then
 2913:   $as_echo_n "(cached) " >&6
 2914: else
 2915:   if test "x$host_alias" = x; then
 2916:   ac_cv_host=$ac_cv_build
 2917: else
 2918:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 2919:     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 2920: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 2921:    { (exit 1); exit 1; }; }
 2922: fi
 2923: 
 2924: fi
 2925: { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 2926: $as_echo "$ac_cv_host" >&6; }
 2927: case $ac_cv_host in
 2928: *-*-*) ;;
 2929: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 2930: $as_echo "$as_me: error: invalid value of canonical host" >&2;}
 2931:    { (exit 1); exit 1; }; };;
 2932: esac
 2933: host=$ac_cv_host
 2934: ac_save_IFS=$IFS; IFS='-'
 2935: set x $ac_cv_host
 2936: shift
 2937: host_cpu=$1
 2938: host_vendor=$2
 2939: shift; shift
 2940: # Remember, the first character of IFS is used to create $*,
 2941: # except with old shells:
 2942: host_os=$*
 2943: IFS=$ac_save_IFS
 2944: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 2945: 
 2946: 
 2947: { $as_echo "$as_me:$LINENO: checking target system type" >&5
 2948: $as_echo_n "checking target system type... " >&6; }
 2949: if test "${ac_cv_target+set}" = set; then
 2950:   $as_echo_n "(cached) " >&6
 2951: else
 2952:   if test "x$target_alias" = x; then
 2953:   ac_cv_target=$ac_cv_host
 2954: else
 2955:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 2956:     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 2957: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
 2958:    { (exit 1); exit 1; }; }
 2959: fi
 2960: 
 2961: fi
 2962: { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 2963: $as_echo "$ac_cv_target" >&6; }
 2964: case $ac_cv_target in
 2965: *-*-*) ;;
 2966: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 2967: $as_echo "$as_me: error: invalid value of canonical target" >&2;}
 2968:    { (exit 1); exit 1; }; };;
 2969: esac
 2970: target=$ac_cv_target
 2971: ac_save_IFS=$IFS; IFS='-'
 2972: set x $ac_cv_target
 2973: shift
 2974: target_cpu=$1
 2975: target_vendor=$2
 2976: shift; shift
 2977: # Remember, the first character of IFS is used to create $*,
 2978: # except with old shells:
 2979: target_os=$*
 2980: IFS=$ac_save_IFS
 2981: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 2982: 
 2983: 
 2984: # The aliases save the names the user supplied, while $host etc.
 2985: # will get canonicalized.
 2986: test -n "$target_alias" &&
 2987:   test "$program_prefix$program_suffix$program_transform_name" = \
 2988:     NONENONEs,x,x, &&
 2989:   program_prefix=${target_alias}-
 2990: 
 2991: if test -n "$ac_tool_prefix"; then
 2992:   # Extract the first word of "${ac_tool_prefix}mkdep", so it can be a program name with args.
 2993: set dummy ${ac_tool_prefix}mkdep; ac_word=$2
 2994: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 2995: $as_echo_n "checking for $ac_word... " >&6; }
 2996: if test "${ac_cv_prog_MKDEP+set}" = set; then
 2997:   $as_echo_n "(cached) " >&6
 2998: else
 2999:   if test -n "$MKDEP"; then
 3000:   ac_cv_prog_MKDEP="$MKDEP" # Let the user override the test.
 3001: else
 3002: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3003: for as_dir in $PATH
 3004: do
 3005:   IFS=$as_save_IFS
 3006:   test -z "$as_dir" && as_dir=.
 3007:   for ac_exec_ext in '' $ac_executable_extensions; do
 3008:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3009:     ac_cv_prog_MKDEP="${ac_tool_prefix}mkdep"
 3010:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3011:     break 2
 3012:   fi
 3013: done
 3014: done
 3015: IFS=$as_save_IFS
 3016: 
 3017: fi
 3018: fi
 3019: MKDEP=$ac_cv_prog_MKDEP
 3020: if test -n "$MKDEP"; then
 3021:   { $as_echo "$as_me:$LINENO: result: $MKDEP" >&5
 3022: $as_echo "$MKDEP" >&6; }
 3023: else
 3024:   { $as_echo "$as_me:$LINENO: result: no" >&5
 3025: $as_echo "no" >&6; }
 3026: fi
 3027: 
 3028: 
 3029: fi
 3030: if test -z "$ac_cv_prog_MKDEP"; then
 3031:   ac_ct_MKDEP=$MKDEP
 3032:   # Extract the first word of "mkdep", so it can be a program name with args.
 3033: set dummy mkdep; ac_word=$2
 3034: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 3035: $as_echo_n "checking for $ac_word... " >&6; }
 3036: if test "${ac_cv_prog_ac_ct_MKDEP+set}" = set; then
 3037:   $as_echo_n "(cached) " >&6
 3038: else
 3039:   if test -n "$ac_ct_MKDEP"; then
 3040:   ac_cv_prog_ac_ct_MKDEP="$ac_ct_MKDEP" # Let the user override the test.
 3041: else
 3042: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3043: for as_dir in $PATH
 3044: do
 3045:   IFS=$as_save_IFS
 3046:   test -z "$as_dir" && as_dir=.
 3047:   for ac_exec_ext in '' $ac_executable_extensions; do
 3048:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3049:     ac_cv_prog_ac_ct_MKDEP="mkdep"
 3050:     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3051:     break 2
 3052:   fi
 3053: done
 3054: done
 3055: IFS=$as_save_IFS
 3056: 
 3057: fi
 3058: fi
 3059: ac_ct_MKDEP=$ac_cv_prog_ac_ct_MKDEP
 3060: if test -n "$ac_ct_MKDEP"; then
 3061:   { $as_echo "$as_me:$LINENO: result: $ac_ct_MKDEP" >&5
 3062: $as_echo "$ac_ct_MKDEP" >&6; }
 3063: else
 3064:   { $as_echo "$as_me:$LINENO: result: no" >&5
 3065: $as_echo "no" >&6; }
 3066: fi
 3067: 
 3068:   if test "x$ac_ct_MKDEP" = x; then
 3069:     MKDEP="no"
 3070:   else
 3071:     case $cross_compiling:$ac_tool_warned in
 3072: yes:)
 3073: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 3074: whose name does not start with the host triplet.  If you think this
 3075: configuration is useful to you, please write to autoconf@gnu.org." >&5
 3076: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 3077: whose name does not start with the host triplet.  If you think this
 3078: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 3079: ac_tool_warned=yes ;;
 3080: esac
 3081:     MKDEP=$ac_ct_MKDEP
 3082:   fi
 3083: else
 3084:   MKDEP="$ac_cv_prog_MKDEP"
 3085: fi
 3086: 
 3087: 
 3088: 
 3089: CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}"
 3090: LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
 3091: 
 3092: # Checks for libraries.
 3093: 
 3094: 
 3095: { $as_echo "$as_me:$LINENO: checking for crcFletcher16 in -laitcrc" >&5
 3096: $as_echo_n "checking for crcFletcher16 in -laitcrc... " >&6; }
 3097: if test "${ac_cv_lib_aitcrc_crcFletcher16+set}" = set; then
 3098:   $as_echo_n "(cached) " >&6
 3099: else
 3100:   ac_check_lib_save_LIBS=$LIBS
 3101: LIBS="-laitcrc  $LIBS"
 3102: cat >conftest.$ac_ext <<_ACEOF
 3103: /* confdefs.h.  */
 3104: _ACEOF
 3105: cat confdefs.h >>conftest.$ac_ext
 3106: cat >>conftest.$ac_ext <<_ACEOF
 3107: /* end confdefs.h.  */
 3108: 
 3109: /* Override any GCC internal prototype to avoid an error.
 3110:    Use char because int might match the return type of a GCC
 3111:    builtin and then its argument prototype would still apply.  */
 3112: #ifdef __cplusplus
 3113: extern "C"
 3114: #endif
 3115: char crcFletcher16 ();
 3116: int
 3117: main ()
 3118: {
 3119: return crcFletcher16 ();
 3120:   ;
 3121:   return 0;
 3122: }
 3123: _ACEOF
 3124: rm -f conftest.$ac_objext conftest$ac_exeext
 3125: if { (ac_try="$ac_link"
 3126: case "(($ac_try" in
 3127:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3128:   *) ac_try_echo=$ac_try;;
 3129: esac
 3130: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3131: $as_echo "$ac_try_echo") >&5
 3132:   (eval "$ac_link") 2>conftest.er1
 3133:   ac_status=$?
 3134:   grep -v '^ *+' conftest.er1 >conftest.err
 3135:   rm -f conftest.er1
 3136:   cat conftest.err >&5
 3137:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3138:   (exit $ac_status); } && {
 3139: 	 test -z "$ac_c_werror_flag" ||
 3140: 	 test ! -s conftest.err
 3141:        } && test -s conftest$ac_exeext && {
 3142: 	 test "$cross_compiling" = yes ||
 3143: 	 $as_test_x conftest$ac_exeext
 3144:        }; then
 3145:   ac_cv_lib_aitcrc_crcFletcher16=yes
 3146: else
 3147:   $as_echo "$as_me: failed program was:" >&5
 3148: sed 's/^/| /' conftest.$ac_ext >&5
 3149: 
 3150: 	ac_cv_lib_aitcrc_crcFletcher16=no
 3151: fi
 3152: 
 3153: rm -rf conftest.dSYM
 3154: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 3155:       conftest$ac_exeext conftest.$ac_ext
 3156: LIBS=$ac_check_lib_save_LIBS
 3157: fi
 3158: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_aitcrc_crcFletcher16" >&5
 3159: $as_echo "$ac_cv_lib_aitcrc_crcFletcher16" >&6; }
 3160: if test $ac_cv_lib_aitcrc_crcFletcher16 = yes; then
 3161:   cat >>confdefs.h <<_ACEOF
 3162: #define HAVE_LIBAITCRC 1
 3163: _ACEOF
 3164: 
 3165:   LIBS="-laitcrc $LIBS"
 3166: 
 3167: fi
 3168: 
 3169: 
 3170: # Checks for header files.
 3171: ac_ext=c
 3172: ac_cpp='$CPP $CPPFLAGS'
 3173: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3174: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3175: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3176: { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 3177: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 3178: # On Suns, sometimes $CPP names a directory.
 3179: if test -n "$CPP" && test -d "$CPP"; then
 3180:   CPP=
 3181: fi
 3182: if test -z "$CPP"; then
 3183:   if test "${ac_cv_prog_CPP+set}" = set; then
 3184:   $as_echo_n "(cached) " >&6
 3185: else
 3186:       # Double quotes because CPP needs to be expanded
 3187:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3188:     do
 3189:       ac_preproc_ok=false
 3190: for ac_c_preproc_warn_flag in '' yes
 3191: do
 3192:   # Use a header file that comes with gcc, so configuring glibc
 3193:   # with a fresh cross-compiler works.
 3194:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3195:   # <limits.h> exists even on freestanding compilers.
 3196:   # On the NeXT, cc -E runs the code through the compiler's parser,
 3197:   # not just through cpp. "Syntax error" is here to catch this case.
 3198:   cat >conftest.$ac_ext <<_ACEOF
 3199: /* confdefs.h.  */
 3200: _ACEOF
 3201: cat confdefs.h >>conftest.$ac_ext
 3202: cat >>conftest.$ac_ext <<_ACEOF
 3203: /* end confdefs.h.  */
 3204: #ifdef __STDC__
 3205: # include <limits.h>
 3206: #else
 3207: # include <assert.h>
 3208: #endif
 3209: 		     Syntax error
 3210: _ACEOF
 3211: if { (ac_try="$ac_cpp conftest.$ac_ext"
 3212: case "(($ac_try" in
 3213:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3214:   *) ac_try_echo=$ac_try;;
 3215: esac
 3216: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3217: $as_echo "$ac_try_echo") >&5
 3218:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 3219:   ac_status=$?
 3220:   grep -v '^ *+' conftest.er1 >conftest.err
 3221:   rm -f conftest.er1
 3222:   cat conftest.err >&5
 3223:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3224:   (exit $ac_status); } >/dev/null && {
 3225: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 3226: 	 test ! -s conftest.err
 3227:        }; then
 3228:   :
 3229: else
 3230:   $as_echo "$as_me: failed program was:" >&5
 3231: sed 's/^/| /' conftest.$ac_ext >&5
 3232: 
 3233:   # Broken: fails on valid input.
 3234: continue
 3235: fi
 3236: 
 3237: rm -f conftest.err conftest.$ac_ext
 3238: 
 3239:   # OK, works on sane cases.  Now check whether nonexistent headers
 3240:   # can be detected and how.
 3241:   cat >conftest.$ac_ext <<_ACEOF
 3242: /* confdefs.h.  */
 3243: _ACEOF
 3244: cat confdefs.h >>conftest.$ac_ext
 3245: cat >>conftest.$ac_ext <<_ACEOF
 3246: /* end confdefs.h.  */
 3247: #include <ac_nonexistent.h>
 3248: _ACEOF
 3249: if { (ac_try="$ac_cpp conftest.$ac_ext"
 3250: case "(($ac_try" in
 3251:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3252:   *) ac_try_echo=$ac_try;;
 3253: esac
 3254: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3255: $as_echo "$ac_try_echo") >&5
 3256:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 3257:   ac_status=$?
 3258:   grep -v '^ *+' conftest.er1 >conftest.err
 3259:   rm -f conftest.er1
 3260:   cat conftest.err >&5
 3261:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3262:   (exit $ac_status); } >/dev/null && {
 3263: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 3264: 	 test ! -s conftest.err
 3265:        }; then
 3266:   # Broken: success on invalid input.
 3267: continue
 3268: else
 3269:   $as_echo "$as_me: failed program was:" >&5
 3270: sed 's/^/| /' conftest.$ac_ext >&5
 3271: 
 3272:   # Passes both tests.
 3273: ac_preproc_ok=:
 3274: break
 3275: fi
 3276: 
 3277: rm -f conftest.err conftest.$ac_ext
 3278: 
 3279: done
 3280: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3281: rm -f conftest.err conftest.$ac_ext
 3282: if $ac_preproc_ok; then
 3283:   break
 3284: fi
 3285: 
 3286:     done
 3287:     ac_cv_prog_CPP=$CPP
 3288: 
 3289: fi
 3290:   CPP=$ac_cv_prog_CPP
 3291: else
 3292:   ac_cv_prog_CPP=$CPP
 3293: fi
 3294: { $as_echo "$as_me:$LINENO: result: $CPP" >&5
 3295: $as_echo "$CPP" >&6; }
 3296: ac_preproc_ok=false
 3297: for ac_c_preproc_warn_flag in '' yes
 3298: do
 3299:   # Use a header file that comes with gcc, so configuring glibc
 3300:   # with a fresh cross-compiler works.
 3301:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3302:   # <limits.h> exists even on freestanding compilers.
 3303:   # On the NeXT, cc -E runs the code through the compiler's parser,
 3304:   # not just through cpp. "Syntax error" is here to catch this case.
 3305:   cat >conftest.$ac_ext <<_ACEOF
 3306: /* confdefs.h.  */
 3307: _ACEOF
 3308: cat confdefs.h >>conftest.$ac_ext
 3309: cat >>conftest.$ac_ext <<_ACEOF
 3310: /* end confdefs.h.  */
 3311: #ifdef __STDC__
 3312: # include <limits.h>
 3313: #else
 3314: # include <assert.h>
 3315: #endif
 3316: 		     Syntax error
 3317: _ACEOF
 3318: if { (ac_try="$ac_cpp conftest.$ac_ext"
 3319: case "(($ac_try" in
 3320:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3321:   *) ac_try_echo=$ac_try;;
 3322: esac
 3323: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3324: $as_echo "$ac_try_echo") >&5
 3325:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 3326:   ac_status=$?
 3327:   grep -v '^ *+' conftest.er1 >conftest.err
 3328:   rm -f conftest.er1
 3329:   cat conftest.err >&5
 3330:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3331:   (exit $ac_status); } >/dev/null && {
 3332: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 3333: 	 test ! -s conftest.err
 3334:        }; then
 3335:   :
 3336: else
 3337:   $as_echo "$as_me: failed program was:" >&5
 3338: sed 's/^/| /' conftest.$ac_ext >&5
 3339: 
 3340:   # Broken: fails on valid input.
 3341: continue
 3342: fi
 3343: 
 3344: rm -f conftest.err conftest.$ac_ext
 3345: 
 3346:   # OK, works on sane cases.  Now check whether nonexistent headers
 3347:   # can be detected and how.
 3348:   cat >conftest.$ac_ext <<_ACEOF
 3349: /* confdefs.h.  */
 3350: _ACEOF
 3351: cat confdefs.h >>conftest.$ac_ext
 3352: cat >>conftest.$ac_ext <<_ACEOF
 3353: /* end confdefs.h.  */
 3354: #include <ac_nonexistent.h>
 3355: _ACEOF
 3356: if { (ac_try="$ac_cpp conftest.$ac_ext"
 3357: case "(($ac_try" in
 3358:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3359:   *) ac_try_echo=$ac_try;;
 3360: esac
 3361: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3362: $as_echo "$ac_try_echo") >&5
 3363:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 3364:   ac_status=$?
 3365:   grep -v '^ *+' conftest.er1 >conftest.err
 3366:   rm -f conftest.er1
 3367:   cat conftest.err >&5
 3368:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3369:   (exit $ac_status); } >/dev/null && {
 3370: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 3371: 	 test ! -s conftest.err
 3372:        }; then
 3373:   # Broken: success on invalid input.
 3374: continue
 3375: else
 3376:   $as_echo "$as_me: failed program was:" >&5
 3377: sed 's/^/| /' conftest.$ac_ext >&5
 3378: 
 3379:   # Passes both tests.
 3380: ac_preproc_ok=:
 3381: break
 3382: fi
 3383: 
 3384: rm -f conftest.err conftest.$ac_ext
 3385: 
 3386: done
 3387: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3388: rm -f conftest.err conftest.$ac_ext
 3389: if $ac_preproc_ok; then
 3390:   :
 3391: else
 3392:   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 3393: See \`config.log' for more details." >&5
 3394: $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 3395: See \`config.log' for more details." >&2;}
 3396:    { (exit 1); exit 1; }; }
 3397: fi
 3398: 
 3399: ac_ext=c
 3400: ac_cpp='$CPP $CPPFLAGS'
 3401: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3402: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3403: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3404: 
 3405: 
 3406: { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 3407: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 3408: if test "${ac_cv_path_GREP+set}" = set; then
 3409:   $as_echo_n "(cached) " >&6
 3410: else
 3411:   if test -z "$GREP"; then
 3412:   ac_path_GREP_found=false
 3413:   # Loop through the user's path and test for each of PROGNAME-LIST
 3414:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3415: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3416: do
 3417:   IFS=$as_save_IFS
 3418:   test -z "$as_dir" && as_dir=.
 3419:   for ac_prog in grep ggrep; do
 3420:     for ac_exec_ext in '' $ac_executable_extensions; do
 3421:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 3422:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 3423: # Check for GNU ac_path_GREP and select it if it is found.
 3424:   # Check for GNU $ac_path_GREP
 3425: case `"$ac_path_GREP" --version 2>&1` in
 3426: *GNU*)
 3427:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 3428: *)
 3429:   ac_count=0
 3430:   $as_echo_n 0123456789 >"conftest.in"
 3431:   while :
 3432:   do
 3433:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3434:     mv "conftest.tmp" "conftest.in"
 3435:     cp "conftest.in" "conftest.nl"
 3436:     $as_echo 'GREP' >> "conftest.nl"
 3437:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3438:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3439:     ac_count=`expr $ac_count + 1`
 3440:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 3441:       # Best one so far, save it but keep looking for a better one
 3442:       ac_cv_path_GREP="$ac_path_GREP"
 3443:       ac_path_GREP_max=$ac_count
 3444:     fi
 3445:     # 10*(2^10) chars as input seems more than enough
 3446:     test $ac_count -gt 10 && break
 3447:   done
 3448:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3449: esac
 3450: 
 3451:       $ac_path_GREP_found && break 3
 3452:     done
 3453:   done
 3454: done
 3455: IFS=$as_save_IFS
 3456:   if test -z "$ac_cv_path_GREP"; then
 3457:     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 3458: $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 3459:    { (exit 1); exit 1; }; }
 3460:   fi
 3461: else
 3462:   ac_cv_path_GREP=$GREP
 3463: fi
 3464: 
 3465: fi
 3466: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 3467: $as_echo "$ac_cv_path_GREP" >&6; }
 3468:  GREP="$ac_cv_path_GREP"
 3469: 
 3470: 
 3471: { $as_echo "$as_me:$LINENO: checking for egrep" >&5
 3472: $as_echo_n "checking for egrep... " >&6; }
 3473: if test "${ac_cv_path_EGREP+set}" = set; then
 3474:   $as_echo_n "(cached) " >&6
 3475: else
 3476:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 3477:    then ac_cv_path_EGREP="$GREP -E"
 3478:    else
 3479:      if test -z "$EGREP"; then
 3480:   ac_path_EGREP_found=false
 3481:   # Loop through the user's path and test for each of PROGNAME-LIST
 3482:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3483: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3484: do
 3485:   IFS=$as_save_IFS
 3486:   test -z "$as_dir" && as_dir=.
 3487:   for ac_prog in egrep; do
 3488:     for ac_exec_ext in '' $ac_executable_extensions; do
 3489:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 3490:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 3491: # Check for GNU ac_path_EGREP and select it if it is found.
 3492:   # Check for GNU $ac_path_EGREP
 3493: case `"$ac_path_EGREP" --version 2>&1` in
 3494: *GNU*)
 3495:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 3496: *)
 3497:   ac_count=0
 3498:   $as_echo_n 0123456789 >"conftest.in"
 3499:   while :
 3500:   do
 3501:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3502:     mv "conftest.tmp" "conftest.in"
 3503:     cp "conftest.in" "conftest.nl"
 3504:     $as_echo 'EGREP' >> "conftest.nl"
 3505:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3506:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3507:     ac_count=`expr $ac_count + 1`
 3508:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 3509:       # Best one so far, save it but keep looking for a better one
 3510:       ac_cv_path_EGREP="$ac_path_EGREP"
 3511:       ac_path_EGREP_max=$ac_count
 3512:     fi
 3513:     # 10*(2^10) chars as input seems more than enough
 3514:     test $ac_count -gt 10 && break
 3515:   done
 3516:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3517: esac
 3518: 
 3519:       $ac_path_EGREP_found && break 3
 3520:     done
 3521:   done
 3522: done
 3523: IFS=$as_save_IFS
 3524:   if test -z "$ac_cv_path_EGREP"; then
 3525:     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 3526: $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 3527:    { (exit 1); exit 1; }; }
 3528:   fi
 3529: else
 3530:   ac_cv_path_EGREP=$EGREP
 3531: fi
 3532: 
 3533:    fi
 3534: fi
 3535: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 3536: $as_echo "$ac_cv_path_EGREP" >&6; }
 3537:  EGREP="$ac_cv_path_EGREP"
 3538: 
 3539: 
 3540: { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 3541: $as_echo_n "checking for ANSI C header files... " >&6; }
 3542: if test "${ac_cv_header_stdc+set}" = set; then
 3543:   $as_echo_n "(cached) " >&6
 3544: else
 3545:   cat >conftest.$ac_ext <<_ACEOF
 3546: /* confdefs.h.  */
 3547: _ACEOF
 3548: cat confdefs.h >>conftest.$ac_ext
 3549: cat >>conftest.$ac_ext <<_ACEOF
 3550: /* end confdefs.h.  */
 3551: #include <stdlib.h>
 3552: #include <stdarg.h>
 3553: #include <string.h>
 3554: #include <float.h>
 3555: 
 3556: int
 3557: main ()
 3558: {
 3559: 
 3560:   ;
 3561:   return 0;
 3562: }
 3563: _ACEOF
 3564: rm -f conftest.$ac_objext
 3565: if { (ac_try="$ac_compile"
 3566: case "(($ac_try" in
 3567:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3568:   *) ac_try_echo=$ac_try;;
 3569: esac
 3570: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3571: $as_echo "$ac_try_echo") >&5
 3572:   (eval "$ac_compile") 2>conftest.er1
 3573:   ac_status=$?
 3574:   grep -v '^ *+' conftest.er1 >conftest.err
 3575:   rm -f conftest.er1
 3576:   cat conftest.err >&5
 3577:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3578:   (exit $ac_status); } && {
 3579: 	 test -z "$ac_c_werror_flag" ||
 3580: 	 test ! -s conftest.err
 3581:        } && test -s conftest.$ac_objext; then
 3582:   ac_cv_header_stdc=yes
 3583: else
 3584:   $as_echo "$as_me: failed program was:" >&5
 3585: sed 's/^/| /' conftest.$ac_ext >&5
 3586: 
 3587: 	ac_cv_header_stdc=no
 3588: fi
 3589: 
 3590: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3591: 
 3592: if test $ac_cv_header_stdc = yes; then
 3593:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 3594:   cat >conftest.$ac_ext <<_ACEOF
 3595: /* confdefs.h.  */
 3596: _ACEOF
 3597: cat confdefs.h >>conftest.$ac_ext
 3598: cat >>conftest.$ac_ext <<_ACEOF
 3599: /* end confdefs.h.  */
 3600: #include <string.h>
 3601: 
 3602: _ACEOF
 3603: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3604:   $EGREP "memchr" >/dev/null 2>&1; then
 3605:   :
 3606: else
 3607:   ac_cv_header_stdc=no
 3608: fi
 3609: rm -f conftest*
 3610: 
 3611: fi
 3612: 
 3613: if test $ac_cv_header_stdc = yes; then
 3614:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 3615:   cat >conftest.$ac_ext <<_ACEOF
 3616: /* confdefs.h.  */
 3617: _ACEOF
 3618: cat confdefs.h >>conftest.$ac_ext
 3619: cat >>conftest.$ac_ext <<_ACEOF
 3620: /* end confdefs.h.  */
 3621: #include <stdlib.h>
 3622: 
 3623: _ACEOF
 3624: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3625:   $EGREP "free" >/dev/null 2>&1; then
 3626:   :
 3627: else
 3628:   ac_cv_header_stdc=no
 3629: fi
 3630: rm -f conftest*
 3631: 
 3632: fi
 3633: 
 3634: if test $ac_cv_header_stdc = yes; then
 3635:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 3636:   if test "$cross_compiling" = yes; then
 3637:   :
 3638: else
 3639:   cat >conftest.$ac_ext <<_ACEOF
 3640: /* confdefs.h.  */
 3641: _ACEOF
 3642: cat confdefs.h >>conftest.$ac_ext
 3643: cat >>conftest.$ac_ext <<_ACEOF
 3644: /* end confdefs.h.  */
 3645: #include <ctype.h>
 3646: #include <stdlib.h>
 3647: #if ((' ' & 0x0FF) == 0x020)
 3648: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 3649: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 3650: #else
 3651: # define ISLOWER(c) \
 3652: 		   (('a' <= (c) && (c) <= 'i') \
 3653: 		     || ('j' <= (c) && (c) <= 'r') \
 3654: 		     || ('s' <= (c) && (c) <= 'z'))
 3655: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 3656: #endif
 3657: 
 3658: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 3659: int
 3660: main ()
 3661: {
 3662:   int i;
 3663:   for (i = 0; i < 256; i++)
 3664:     if (XOR (islower (i), ISLOWER (i))
 3665: 	|| toupper (i) != TOUPPER (i))
 3666:       return 2;
 3667:   return 0;
 3668: }
 3669: _ACEOF
 3670: rm -f conftest$ac_exeext
 3671: if { (ac_try="$ac_link"
 3672: case "(($ac_try" in
 3673:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3674:   *) ac_try_echo=$ac_try;;
 3675: esac
 3676: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3677: $as_echo "$ac_try_echo") >&5
 3678:   (eval "$ac_link") 2>&5
 3679:   ac_status=$?
 3680:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3681:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 3682:   { (case "(($ac_try" in
 3683:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3684:   *) ac_try_echo=$ac_try;;
 3685: esac
 3686: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3687: $as_echo "$ac_try_echo") >&5
 3688:   (eval "$ac_try") 2>&5
 3689:   ac_status=$?
 3690:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3691:   (exit $ac_status); }; }; then
 3692:   :
 3693: else
 3694:   $as_echo "$as_me: program exited with status $ac_status" >&5
 3695: $as_echo "$as_me: failed program was:" >&5
 3696: sed 's/^/| /' conftest.$ac_ext >&5
 3697: 
 3698: ( exit $ac_status )
 3699: ac_cv_header_stdc=no
 3700: fi
 3701: rm -rf conftest.dSYM
 3702: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 3703: fi
 3704: 
 3705: 
 3706: fi
 3707: fi
 3708: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 3709: $as_echo "$ac_cv_header_stdc" >&6; }
 3710: if test $ac_cv_header_stdc = yes; then
 3711: 
 3712: cat >>confdefs.h <<\_ACEOF
 3713: #define STDC_HEADERS 1
 3714: _ACEOF
 3715: 
 3716: fi
 3717: 
 3718: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 3719: 
 3720: 
 3721: 
 3722: 
 3723: 
 3724: 
 3725: 
 3726: 
 3727: 
 3728: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 3729: 		  inttypes.h stdint.h unistd.h
 3730: do
 3731: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 3732: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 3733: $as_echo_n "checking for $ac_header... " >&6; }
 3734: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 3735:   $as_echo_n "(cached) " >&6
 3736: else
 3737:   cat >conftest.$ac_ext <<_ACEOF
 3738: /* confdefs.h.  */
 3739: _ACEOF
 3740: cat confdefs.h >>conftest.$ac_ext
 3741: cat >>conftest.$ac_ext <<_ACEOF
 3742: /* end confdefs.h.  */
 3743: $ac_includes_default
 3744: 
 3745: #include <$ac_header>
 3746: _ACEOF
 3747: rm -f conftest.$ac_objext
 3748: if { (ac_try="$ac_compile"
 3749: case "(($ac_try" in
 3750:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3751:   *) ac_try_echo=$ac_try;;
 3752: esac
 3753: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3754: $as_echo "$ac_try_echo") >&5
 3755:   (eval "$ac_compile") 2>conftest.er1
 3756:   ac_status=$?
 3757:   grep -v '^ *+' conftest.er1 >conftest.err
 3758:   rm -f conftest.er1
 3759:   cat conftest.err >&5
 3760:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3761:   (exit $ac_status); } && {
 3762: 	 test -z "$ac_c_werror_flag" ||
 3763: 	 test ! -s conftest.err
 3764:        } && test -s conftest.$ac_objext; then
 3765:   eval "$as_ac_Header=yes"
 3766: else
 3767:   $as_echo "$as_me: failed program was:" >&5
 3768: sed 's/^/| /' conftest.$ac_ext >&5
 3769: 
 3770: 	eval "$as_ac_Header=no"
 3771: fi
 3772: 
 3773: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3774: fi
 3775: ac_res=`eval 'as_val=${'$as_ac_Header'}
 3776: 		 $as_echo "$as_val"'`
 3777: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 3778: $as_echo "$ac_res" >&6; }
 3779: if test `eval 'as_val=${'$as_ac_Header'}
 3780: 		 $as_echo "$as_val"'` = yes; then
 3781:   cat >>confdefs.h <<_ACEOF
 3782: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 3783: _ACEOF
 3784: 
 3785: fi
 3786: 
 3787: done
 3788: 
 3789: 
 3790: 
 3791: 
 3792: 
 3793: 
 3794: 
 3795: 
 3796: 
 3797: 
 3798: for ac_header in arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h unistd.h
 3799: do
 3800: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 3801: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 3802:   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 3803: $as_echo_n "checking for $ac_header... " >&6; }
 3804: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 3805:   $as_echo_n "(cached) " >&6
 3806: fi
 3807: ac_res=`eval 'as_val=${'$as_ac_Header'}
 3808: 		 $as_echo "$as_val"'`
 3809: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 3810: $as_echo "$ac_res" >&6; }
 3811: else
 3812:   # Is the header compilable?
 3813: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 3814: $as_echo_n "checking $ac_header usability... " >&6; }
 3815: cat >conftest.$ac_ext <<_ACEOF
 3816: /* confdefs.h.  */
 3817: _ACEOF
 3818: cat confdefs.h >>conftest.$ac_ext
 3819: cat >>conftest.$ac_ext <<_ACEOF
 3820: /* end confdefs.h.  */
 3821: $ac_includes_default
 3822: #include <$ac_header>
 3823: _ACEOF
 3824: rm -f conftest.$ac_objext
 3825: if { (ac_try="$ac_compile"
 3826: case "(($ac_try" in
 3827:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3828:   *) ac_try_echo=$ac_try;;
 3829: esac
 3830: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3831: $as_echo "$ac_try_echo") >&5
 3832:   (eval "$ac_compile") 2>conftest.er1
 3833:   ac_status=$?
 3834:   grep -v '^ *+' conftest.er1 >conftest.err
 3835:   rm -f conftest.er1
 3836:   cat conftest.err >&5
 3837:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3838:   (exit $ac_status); } && {
 3839: 	 test -z "$ac_c_werror_flag" ||
 3840: 	 test ! -s conftest.err
 3841:        } && test -s conftest.$ac_objext; then
 3842:   ac_header_compiler=yes
 3843: else
 3844:   $as_echo "$as_me: failed program was:" >&5
 3845: sed 's/^/| /' conftest.$ac_ext >&5
 3846: 
 3847: 	ac_header_compiler=no
 3848: fi
 3849: 
 3850: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3851: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 3852: $as_echo "$ac_header_compiler" >&6; }
 3853: 
 3854: # Is the header present?
 3855: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 3856: $as_echo_n "checking $ac_header presence... " >&6; }
 3857: cat >conftest.$ac_ext <<_ACEOF
 3858: /* confdefs.h.  */
 3859: _ACEOF
 3860: cat confdefs.h >>conftest.$ac_ext
 3861: cat >>conftest.$ac_ext <<_ACEOF
 3862: /* end confdefs.h.  */
 3863: #include <$ac_header>
 3864: _ACEOF
 3865: if { (ac_try="$ac_cpp conftest.$ac_ext"
 3866: case "(($ac_try" in
 3867:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3868:   *) ac_try_echo=$ac_try;;
 3869: esac
 3870: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3871: $as_echo "$ac_try_echo") >&5
 3872:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 3873:   ac_status=$?
 3874:   grep -v '^ *+' conftest.er1 >conftest.err
 3875:   rm -f conftest.er1
 3876:   cat conftest.err >&5
 3877:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3878:   (exit $ac_status); } >/dev/null && {
 3879: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 3880: 	 test ! -s conftest.err
 3881:        }; then
 3882:   ac_header_preproc=yes
 3883: else
 3884:   $as_echo "$as_me: failed program was:" >&5
 3885: sed 's/^/| /' conftest.$ac_ext >&5
 3886: 
 3887:   ac_header_preproc=no
 3888: fi
 3889: 
 3890: rm -f conftest.err conftest.$ac_ext
 3891: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 3892: $as_echo "$ac_header_preproc" >&6; }
 3893: 
 3894: # So?  What about this header?
 3895: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 3896:   yes:no: )
 3897:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 3898: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 3899:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 3900: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 3901:     ac_header_preproc=yes
 3902:     ;;
 3903:   no:yes:* )
 3904:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 3905: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 3906:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 3907: $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 3908:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 3909: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 3910:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 3911: $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 3912:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 3913: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 3914:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 3915: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 3916:     ( cat <<\_ASBOX
 3917: ## ----------------------------------- ##
 3918: ## Report this to misho@openbsd-bg.org ##
 3919: ## ----------------------------------- ##
 3920: _ASBOX
 3921:      ) | sed "s/^/$as_me: WARNING:     /" >&2
 3922:     ;;
 3923: esac
 3924: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 3925: $as_echo_n "checking for $ac_header... " >&6; }
 3926: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 3927:   $as_echo_n "(cached) " >&6
 3928: else
 3929:   eval "$as_ac_Header=\$ac_header_preproc"
 3930: fi
 3931: ac_res=`eval 'as_val=${'$as_ac_Header'}
 3932: 		 $as_echo "$as_val"'`
 3933: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 3934: $as_echo "$ac_res" >&6; }
 3935: 
 3936: fi
 3937: if test `eval 'as_val=${'$as_ac_Header'}
 3938: 		 $as_echo "$as_val"'` = yes; then
 3939:   cat >>confdefs.h <<_ACEOF
 3940: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 3941: _ACEOF
 3942: 
 3943: fi
 3944: 
 3945: done
 3946: 
 3947: 
 3948: # Checks for typedefs, structures, and compiler characteristics.
 3949: { $as_echo "$as_me:$LINENO: checking for inline" >&5
 3950: $as_echo_n "checking for inline... " >&6; }
 3951: if test "${ac_cv_c_inline+set}" = set; then
 3952:   $as_echo_n "(cached) " >&6
 3953: else
 3954:   ac_cv_c_inline=no
 3955: for ac_kw in inline __inline__ __inline; do
 3956:   cat >conftest.$ac_ext <<_ACEOF
 3957: /* confdefs.h.  */
 3958: _ACEOF
 3959: cat confdefs.h >>conftest.$ac_ext
 3960: cat >>conftest.$ac_ext <<_ACEOF
 3961: /* end confdefs.h.  */
 3962: #ifndef __cplusplus
 3963: typedef int foo_t;
 3964: static $ac_kw foo_t static_foo () {return 0; }
 3965: $ac_kw foo_t foo () {return 0; }
 3966: #endif
 3967: 
 3968: _ACEOF
 3969: rm -f conftest.$ac_objext
 3970: if { (ac_try="$ac_compile"
 3971: case "(($ac_try" in
 3972:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3973:   *) ac_try_echo=$ac_try;;
 3974: esac
 3975: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 3976: $as_echo "$ac_try_echo") >&5
 3977:   (eval "$ac_compile") 2>conftest.er1
 3978:   ac_status=$?
 3979:   grep -v '^ *+' conftest.er1 >conftest.err
 3980:   rm -f conftest.er1
 3981:   cat conftest.err >&5
 3982:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3983:   (exit $ac_status); } && {
 3984: 	 test -z "$ac_c_werror_flag" ||
 3985: 	 test ! -s conftest.err
 3986:        } && test -s conftest.$ac_objext; then
 3987:   ac_cv_c_inline=$ac_kw
 3988: else
 3989:   $as_echo "$as_me: failed program was:" >&5
 3990: sed 's/^/| /' conftest.$ac_ext >&5
 3991: 
 3992: 
 3993: fi
 3994: 
 3995: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3996:   test "$ac_cv_c_inline" != no && break
 3997: done
 3998: 
 3999: fi
 4000: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 4001: $as_echo "$ac_cv_c_inline" >&6; }
 4002: 
 4003: 
 4004: case $ac_cv_c_inline in
 4005:   inline | yes) ;;
 4006:   *)
 4007:     case $ac_cv_c_inline in
 4008:       no) ac_val=;;
 4009:       *) ac_val=$ac_cv_c_inline;;
 4010:     esac
 4011:     cat >>confdefs.h <<_ACEOF
 4012: #ifndef __cplusplus
 4013: #define inline $ac_val
 4014: #endif
 4015: _ACEOF
 4016:     ;;
 4017: esac
 4018: 
 4019: 
 4020:   { $as_echo "$as_me:$LINENO: checking for int16_t" >&5
 4021: $as_echo_n "checking for int16_t... " >&6; }
 4022: if test "${ac_cv_c_int16_t+set}" = set; then
 4023:   $as_echo_n "(cached) " >&6
 4024: else
 4025:   ac_cv_c_int16_t=no
 4026:      for ac_type in 'int16_t' 'int' 'long int' \
 4027: 	 'long long int' 'short int' 'signed char'; do
 4028:        cat >conftest.$ac_ext <<_ACEOF
 4029: /* confdefs.h.  */
 4030: _ACEOF
 4031: cat confdefs.h >>conftest.$ac_ext
 4032: cat >>conftest.$ac_ext <<_ACEOF
 4033: /* end confdefs.h.  */
 4034: $ac_includes_default
 4035: int
 4036: main ()
 4037: {
 4038: static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
 4039: test_array [0] = 0
 4040: 
 4041:   ;
 4042:   return 0;
 4043: }
 4044: _ACEOF
 4045: rm -f conftest.$ac_objext
 4046: if { (ac_try="$ac_compile"
 4047: case "(($ac_try" in
 4048:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4049:   *) ac_try_echo=$ac_try;;
 4050: esac
 4051: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4052: $as_echo "$ac_try_echo") >&5
 4053:   (eval "$ac_compile") 2>conftest.er1
 4054:   ac_status=$?
 4055:   grep -v '^ *+' conftest.er1 >conftest.err
 4056:   rm -f conftest.er1
 4057:   cat conftest.err >&5
 4058:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4059:   (exit $ac_status); } && {
 4060: 	 test -z "$ac_c_werror_flag" ||
 4061: 	 test ! -s conftest.err
 4062:        } && test -s conftest.$ac_objext; then
 4063:   cat >conftest.$ac_ext <<_ACEOF
 4064: /* confdefs.h.  */
 4065: _ACEOF
 4066: cat confdefs.h >>conftest.$ac_ext
 4067: cat >>conftest.$ac_ext <<_ACEOF
 4068: /* end confdefs.h.  */
 4069: $ac_includes_default
 4070: int
 4071: main ()
 4072: {
 4073: static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)
 4074: 		 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];
 4075: test_array [0] = 0
 4076: 
 4077:   ;
 4078:   return 0;
 4079: }
 4080: _ACEOF
 4081: rm -f conftest.$ac_objext
 4082: if { (ac_try="$ac_compile"
 4083: case "(($ac_try" in
 4084:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4085:   *) ac_try_echo=$ac_try;;
 4086: esac
 4087: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4088: $as_echo "$ac_try_echo") >&5
 4089:   (eval "$ac_compile") 2>conftest.er1
 4090:   ac_status=$?
 4091:   grep -v '^ *+' conftest.er1 >conftest.err
 4092:   rm -f conftest.er1
 4093:   cat conftest.err >&5
 4094:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4095:   (exit $ac_status); } && {
 4096: 	 test -z "$ac_c_werror_flag" ||
 4097: 	 test ! -s conftest.err
 4098:        } && test -s conftest.$ac_objext; then
 4099:   :
 4100: else
 4101:   $as_echo "$as_me: failed program was:" >&5
 4102: sed 's/^/| /' conftest.$ac_ext >&5
 4103: 
 4104: 	case $ac_type in
 4105:   int16_t) ac_cv_c_int16_t=yes ;;
 4106:   *) ac_cv_c_int16_t=$ac_type ;;
 4107: esac
 4108: 
 4109: fi
 4110: 
 4111: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4112: else
 4113:   $as_echo "$as_me: failed program was:" >&5
 4114: sed 's/^/| /' conftest.$ac_ext >&5
 4115: 
 4116: 
 4117: fi
 4118: 
 4119: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4120:        test "$ac_cv_c_int16_t" != no && break
 4121:      done
 4122: fi
 4123: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5
 4124: $as_echo "$ac_cv_c_int16_t" >&6; }
 4125:   case $ac_cv_c_int16_t in #(
 4126:   no|yes) ;; #(
 4127:   *)
 4128: 
 4129: cat >>confdefs.h <<_ACEOF
 4130: #define int16_t $ac_cv_c_int16_t
 4131: _ACEOF
 4132: ;;
 4133:   esac
 4134: 
 4135: 
 4136:   { $as_echo "$as_me:$LINENO: checking for int32_t" >&5
 4137: $as_echo_n "checking for int32_t... " >&6; }
 4138: if test "${ac_cv_c_int32_t+set}" = set; then
 4139:   $as_echo_n "(cached) " >&6
 4140: else
 4141:   ac_cv_c_int32_t=no
 4142:      for ac_type in 'int32_t' 'int' 'long int' \
 4143: 	 'long long int' 'short int' 'signed char'; do
 4144:        cat >conftest.$ac_ext <<_ACEOF
 4145: /* confdefs.h.  */
 4146: _ACEOF
 4147: cat confdefs.h >>conftest.$ac_ext
 4148: cat >>conftest.$ac_ext <<_ACEOF
 4149: /* end confdefs.h.  */
 4150: $ac_includes_default
 4151: int
 4152: main ()
 4153: {
 4154: static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
 4155: test_array [0] = 0
 4156: 
 4157:   ;
 4158:   return 0;
 4159: }
 4160: _ACEOF
 4161: rm -f conftest.$ac_objext
 4162: if { (ac_try="$ac_compile"
 4163: case "(($ac_try" in
 4164:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4165:   *) ac_try_echo=$ac_try;;
 4166: esac
 4167: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4168: $as_echo "$ac_try_echo") >&5
 4169:   (eval "$ac_compile") 2>conftest.er1
 4170:   ac_status=$?
 4171:   grep -v '^ *+' conftest.er1 >conftest.err
 4172:   rm -f conftest.er1
 4173:   cat conftest.err >&5
 4174:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4175:   (exit $ac_status); } && {
 4176: 	 test -z "$ac_c_werror_flag" ||
 4177: 	 test ! -s conftest.err
 4178:        } && test -s conftest.$ac_objext; then
 4179:   cat >conftest.$ac_ext <<_ACEOF
 4180: /* confdefs.h.  */
 4181: _ACEOF
 4182: cat confdefs.h >>conftest.$ac_ext
 4183: cat >>conftest.$ac_ext <<_ACEOF
 4184: /* end confdefs.h.  */
 4185: $ac_includes_default
 4186: int
 4187: main ()
 4188: {
 4189: static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
 4190: 		 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
 4191: test_array [0] = 0
 4192: 
 4193:   ;
 4194:   return 0;
 4195: }
 4196: _ACEOF
 4197: rm -f conftest.$ac_objext
 4198: if { (ac_try="$ac_compile"
 4199: case "(($ac_try" in
 4200:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4201:   *) ac_try_echo=$ac_try;;
 4202: esac
 4203: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4204: $as_echo "$ac_try_echo") >&5
 4205:   (eval "$ac_compile") 2>conftest.er1
 4206:   ac_status=$?
 4207:   grep -v '^ *+' conftest.er1 >conftest.err
 4208:   rm -f conftest.er1
 4209:   cat conftest.err >&5
 4210:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4211:   (exit $ac_status); } && {
 4212: 	 test -z "$ac_c_werror_flag" ||
 4213: 	 test ! -s conftest.err
 4214:        } && test -s conftest.$ac_objext; then
 4215:   :
 4216: else
 4217:   $as_echo "$as_me: failed program was:" >&5
 4218: sed 's/^/| /' conftest.$ac_ext >&5
 4219: 
 4220: 	case $ac_type in
 4221:   int32_t) ac_cv_c_int32_t=yes ;;
 4222:   *) ac_cv_c_int32_t=$ac_type ;;
 4223: esac
 4224: 
 4225: fi
 4226: 
 4227: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4228: else
 4229:   $as_echo "$as_me: failed program was:" >&5
 4230: sed 's/^/| /' conftest.$ac_ext >&5
 4231: 
 4232: 
 4233: fi
 4234: 
 4235: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4236:        test "$ac_cv_c_int32_t" != no && break
 4237:      done
 4238: fi
 4239: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
 4240: $as_echo "$ac_cv_c_int32_t" >&6; }
 4241:   case $ac_cv_c_int32_t in #(
 4242:   no|yes) ;; #(
 4243:   *)
 4244: 
 4245: cat >>confdefs.h <<_ACEOF
 4246: #define int32_t $ac_cv_c_int32_t
 4247: _ACEOF
 4248: ;;
 4249:   esac
 4250: 
 4251: 
 4252:   { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
 4253: $as_echo_n "checking for int64_t... " >&6; }
 4254: if test "${ac_cv_c_int64_t+set}" = set; then
 4255:   $as_echo_n "(cached) " >&6
 4256: else
 4257:   ac_cv_c_int64_t=no
 4258:      for ac_type in 'int64_t' 'int' 'long int' \
 4259: 	 'long long int' 'short int' 'signed char'; do
 4260:        cat >conftest.$ac_ext <<_ACEOF
 4261: /* confdefs.h.  */
 4262: _ACEOF
 4263: cat confdefs.h >>conftest.$ac_ext
 4264: cat >>conftest.$ac_ext <<_ACEOF
 4265: /* end confdefs.h.  */
 4266: $ac_includes_default
 4267: int
 4268: main ()
 4269: {
 4270: static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1))];
 4271: test_array [0] = 0
 4272: 
 4273:   ;
 4274:   return 0;
 4275: }
 4276: _ACEOF
 4277: rm -f conftest.$ac_objext
 4278: if { (ac_try="$ac_compile"
 4279: case "(($ac_try" in
 4280:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4281:   *) ac_try_echo=$ac_try;;
 4282: esac
 4283: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4284: $as_echo "$ac_try_echo") >&5
 4285:   (eval "$ac_compile") 2>conftest.er1
 4286:   ac_status=$?
 4287:   grep -v '^ *+' conftest.er1 >conftest.err
 4288:   rm -f conftest.er1
 4289:   cat conftest.err >&5
 4290:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4291:   (exit $ac_status); } && {
 4292: 	 test -z "$ac_c_werror_flag" ||
 4293: 	 test ! -s conftest.err
 4294:        } && test -s conftest.$ac_objext; then
 4295:   cat >conftest.$ac_ext <<_ACEOF
 4296: /* confdefs.h.  */
 4297: _ACEOF
 4298: cat confdefs.h >>conftest.$ac_ext
 4299: cat >>conftest.$ac_ext <<_ACEOF
 4300: /* end confdefs.h.  */
 4301: $ac_includes_default
 4302: int
 4303: main ()
 4304: {
 4305: static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1)
 4306: 		 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 2))];
 4307: test_array [0] = 0
 4308: 
 4309:   ;
 4310:   return 0;
 4311: }
 4312: _ACEOF
 4313: rm -f conftest.$ac_objext
 4314: if { (ac_try="$ac_compile"
 4315: case "(($ac_try" in
 4316:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4317:   *) ac_try_echo=$ac_try;;
 4318: esac
 4319: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4320: $as_echo "$ac_try_echo") >&5
 4321:   (eval "$ac_compile") 2>conftest.er1
 4322:   ac_status=$?
 4323:   grep -v '^ *+' conftest.er1 >conftest.err
 4324:   rm -f conftest.er1
 4325:   cat conftest.err >&5
 4326:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4327:   (exit $ac_status); } && {
 4328: 	 test -z "$ac_c_werror_flag" ||
 4329: 	 test ! -s conftest.err
 4330:        } && test -s conftest.$ac_objext; then
 4331:   :
 4332: else
 4333:   $as_echo "$as_me: failed program was:" >&5
 4334: sed 's/^/| /' conftest.$ac_ext >&5
 4335: 
 4336: 	case $ac_type in
 4337:   int64_t) ac_cv_c_int64_t=yes ;;
 4338:   *) ac_cv_c_int64_t=$ac_type ;;
 4339: esac
 4340: 
 4341: fi
 4342: 
 4343: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4344: else
 4345:   $as_echo "$as_me: failed program was:" >&5
 4346: sed 's/^/| /' conftest.$ac_ext >&5
 4347: 
 4348: 
 4349: fi
 4350: 
 4351: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4352:        test "$ac_cv_c_int64_t" != no && break
 4353:      done
 4354: fi
 4355: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int64_t" >&5
 4356: $as_echo "$ac_cv_c_int64_t" >&6; }
 4357:   case $ac_cv_c_int64_t in #(
 4358:   no|yes) ;; #(
 4359:   *)
 4360: 
 4361: cat >>confdefs.h <<_ACEOF
 4362: #define int64_t $ac_cv_c_int64_t
 4363: _ACEOF
 4364: ;;
 4365:   esac
 4366: 
 4367: 
 4368:   { $as_echo "$as_me:$LINENO: checking for int8_t" >&5
 4369: $as_echo_n "checking for int8_t... " >&6; }
 4370: if test "${ac_cv_c_int8_t+set}" = set; then
 4371:   $as_echo_n "(cached) " >&6
 4372: else
 4373:   ac_cv_c_int8_t=no
 4374:      for ac_type in 'int8_t' 'int' 'long int' \
 4375: 	 'long long int' 'short int' 'signed char'; do
 4376:        cat >conftest.$ac_ext <<_ACEOF
 4377: /* confdefs.h.  */
 4378: _ACEOF
 4379: cat confdefs.h >>conftest.$ac_ext
 4380: cat >>conftest.$ac_ext <<_ACEOF
 4381: /* end confdefs.h.  */
 4382: $ac_includes_default
 4383: int
 4384: main ()
 4385: {
 4386: static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1))];
 4387: test_array [0] = 0
 4388: 
 4389:   ;
 4390:   return 0;
 4391: }
 4392: _ACEOF
 4393: rm -f conftest.$ac_objext
 4394: if { (ac_try="$ac_compile"
 4395: case "(($ac_try" in
 4396:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4397:   *) ac_try_echo=$ac_try;;
 4398: esac
 4399: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4400: $as_echo "$ac_try_echo") >&5
 4401:   (eval "$ac_compile") 2>conftest.er1
 4402:   ac_status=$?
 4403:   grep -v '^ *+' conftest.er1 >conftest.err
 4404:   rm -f conftest.er1
 4405:   cat conftest.err >&5
 4406:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4407:   (exit $ac_status); } && {
 4408: 	 test -z "$ac_c_werror_flag" ||
 4409: 	 test ! -s conftest.err
 4410:        } && test -s conftest.$ac_objext; then
 4411:   cat >conftest.$ac_ext <<_ACEOF
 4412: /* confdefs.h.  */
 4413: _ACEOF
 4414: cat confdefs.h >>conftest.$ac_ext
 4415: cat >>conftest.$ac_ext <<_ACEOF
 4416: /* end confdefs.h.  */
 4417: $ac_includes_default
 4418: int
 4419: main ()
 4420: {
 4421: static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1)
 4422: 		 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 2))];
 4423: test_array [0] = 0
 4424: 
 4425:   ;
 4426:   return 0;
 4427: }
 4428: _ACEOF
 4429: rm -f conftest.$ac_objext
 4430: if { (ac_try="$ac_compile"
 4431: case "(($ac_try" in
 4432:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4433:   *) ac_try_echo=$ac_try;;
 4434: esac
 4435: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4436: $as_echo "$ac_try_echo") >&5
 4437:   (eval "$ac_compile") 2>conftest.er1
 4438:   ac_status=$?
 4439:   grep -v '^ *+' conftest.er1 >conftest.err
 4440:   rm -f conftest.er1
 4441:   cat conftest.err >&5
 4442:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4443:   (exit $ac_status); } && {
 4444: 	 test -z "$ac_c_werror_flag" ||
 4445: 	 test ! -s conftest.err
 4446:        } && test -s conftest.$ac_objext; then
 4447:   :
 4448: else
 4449:   $as_echo "$as_me: failed program was:" >&5
 4450: sed 's/^/| /' conftest.$ac_ext >&5
 4451: 
 4452: 	case $ac_type in
 4453:   int8_t) ac_cv_c_int8_t=yes ;;
 4454:   *) ac_cv_c_int8_t=$ac_type ;;
 4455: esac
 4456: 
 4457: fi
 4458: 
 4459: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4460: else
 4461:   $as_echo "$as_me: failed program was:" >&5
 4462: sed 's/^/| /' conftest.$ac_ext >&5
 4463: 
 4464: 
 4465: fi
 4466: 
 4467: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4468:        test "$ac_cv_c_int8_t" != no && break
 4469:      done
 4470: fi
 4471: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int8_t" >&5
 4472: $as_echo "$ac_cv_c_int8_t" >&6; }
 4473:   case $ac_cv_c_int8_t in #(
 4474:   no|yes) ;; #(
 4475:   *)
 4476: 
 4477: cat >>confdefs.h <<_ACEOF
 4478: #define int8_t $ac_cv_c_int8_t
 4479: _ACEOF
 4480: ;;
 4481:   esac
 4482: 
 4483: { $as_echo "$as_me:$LINENO: checking for off_t" >&5
 4484: $as_echo_n "checking for off_t... " >&6; }
 4485: if test "${ac_cv_type_off_t+set}" = set; then
 4486:   $as_echo_n "(cached) " >&6
 4487: else
 4488:   ac_cv_type_off_t=no
 4489: cat >conftest.$ac_ext <<_ACEOF
 4490: /* confdefs.h.  */
 4491: _ACEOF
 4492: cat confdefs.h >>conftest.$ac_ext
 4493: cat >>conftest.$ac_ext <<_ACEOF
 4494: /* end confdefs.h.  */
 4495: $ac_includes_default
 4496: int
 4497: main ()
 4498: {
 4499: if (sizeof (off_t))
 4500:        return 0;
 4501:   ;
 4502:   return 0;
 4503: }
 4504: _ACEOF
 4505: rm -f conftest.$ac_objext
 4506: if { (ac_try="$ac_compile"
 4507: case "(($ac_try" in
 4508:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4509:   *) ac_try_echo=$ac_try;;
 4510: esac
 4511: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4512: $as_echo "$ac_try_echo") >&5
 4513:   (eval "$ac_compile") 2>conftest.er1
 4514:   ac_status=$?
 4515:   grep -v '^ *+' conftest.er1 >conftest.err
 4516:   rm -f conftest.er1
 4517:   cat conftest.err >&5
 4518:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4519:   (exit $ac_status); } && {
 4520: 	 test -z "$ac_c_werror_flag" ||
 4521: 	 test ! -s conftest.err
 4522:        } && test -s conftest.$ac_objext; then
 4523:   cat >conftest.$ac_ext <<_ACEOF
 4524: /* confdefs.h.  */
 4525: _ACEOF
 4526: cat confdefs.h >>conftest.$ac_ext
 4527: cat >>conftest.$ac_ext <<_ACEOF
 4528: /* end confdefs.h.  */
 4529: $ac_includes_default
 4530: int
 4531: main ()
 4532: {
 4533: if (sizeof ((off_t)))
 4534: 	  return 0;
 4535:   ;
 4536:   return 0;
 4537: }
 4538: _ACEOF
 4539: rm -f conftest.$ac_objext
 4540: if { (ac_try="$ac_compile"
 4541: case "(($ac_try" in
 4542:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4543:   *) ac_try_echo=$ac_try;;
 4544: esac
 4545: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4546: $as_echo "$ac_try_echo") >&5
 4547:   (eval "$ac_compile") 2>conftest.er1
 4548:   ac_status=$?
 4549:   grep -v '^ *+' conftest.er1 >conftest.err
 4550:   rm -f conftest.er1
 4551:   cat conftest.err >&5
 4552:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4553:   (exit $ac_status); } && {
 4554: 	 test -z "$ac_c_werror_flag" ||
 4555: 	 test ! -s conftest.err
 4556:        } && test -s conftest.$ac_objext; then
 4557:   :
 4558: else
 4559:   $as_echo "$as_me: failed program was:" >&5
 4560: sed 's/^/| /' conftest.$ac_ext >&5
 4561: 
 4562: 	ac_cv_type_off_t=yes
 4563: fi
 4564: 
 4565: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4566: else
 4567:   $as_echo "$as_me: failed program was:" >&5
 4568: sed 's/^/| /' conftest.$ac_ext >&5
 4569: 
 4570: 
 4571: fi
 4572: 
 4573: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4574: fi
 4575: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
 4576: $as_echo "$ac_cv_type_off_t" >&6; }
 4577: if test $ac_cv_type_off_t = yes; then
 4578:   :
 4579: else
 4580: 
 4581: cat >>confdefs.h <<_ACEOF
 4582: #define off_t long int
 4583: _ACEOF
 4584: 
 4585: fi
 4586: 
 4587: { $as_echo "$as_me:$LINENO: checking for size_t" >&5
 4588: $as_echo_n "checking for size_t... " >&6; }
 4589: if test "${ac_cv_type_size_t+set}" = set; then
 4590:   $as_echo_n "(cached) " >&6
 4591: else
 4592:   ac_cv_type_size_t=no
 4593: cat >conftest.$ac_ext <<_ACEOF
 4594: /* confdefs.h.  */
 4595: _ACEOF
 4596: cat confdefs.h >>conftest.$ac_ext
 4597: cat >>conftest.$ac_ext <<_ACEOF
 4598: /* end confdefs.h.  */
 4599: $ac_includes_default
 4600: int
 4601: main ()
 4602: {
 4603: if (sizeof (size_t))
 4604:        return 0;
 4605:   ;
 4606:   return 0;
 4607: }
 4608: _ACEOF
 4609: rm -f conftest.$ac_objext
 4610: if { (ac_try="$ac_compile"
 4611: case "(($ac_try" in
 4612:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4613:   *) ac_try_echo=$ac_try;;
 4614: esac
 4615: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4616: $as_echo "$ac_try_echo") >&5
 4617:   (eval "$ac_compile") 2>conftest.er1
 4618:   ac_status=$?
 4619:   grep -v '^ *+' conftest.er1 >conftest.err
 4620:   rm -f conftest.er1
 4621:   cat conftest.err >&5
 4622:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4623:   (exit $ac_status); } && {
 4624: 	 test -z "$ac_c_werror_flag" ||
 4625: 	 test ! -s conftest.err
 4626:        } && test -s conftest.$ac_objext; then
 4627:   cat >conftest.$ac_ext <<_ACEOF
 4628: /* confdefs.h.  */
 4629: _ACEOF
 4630: cat confdefs.h >>conftest.$ac_ext
 4631: cat >>conftest.$ac_ext <<_ACEOF
 4632: /* end confdefs.h.  */
 4633: $ac_includes_default
 4634: int
 4635: main ()
 4636: {
 4637: if (sizeof ((size_t)))
 4638: 	  return 0;
 4639:   ;
 4640:   return 0;
 4641: }
 4642: _ACEOF
 4643: rm -f conftest.$ac_objext
 4644: if { (ac_try="$ac_compile"
 4645: case "(($ac_try" in
 4646:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4647:   *) ac_try_echo=$ac_try;;
 4648: esac
 4649: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4650: $as_echo "$ac_try_echo") >&5
 4651:   (eval "$ac_compile") 2>conftest.er1
 4652:   ac_status=$?
 4653:   grep -v '^ *+' conftest.er1 >conftest.err
 4654:   rm -f conftest.er1
 4655:   cat conftest.err >&5
 4656:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4657:   (exit $ac_status); } && {
 4658: 	 test -z "$ac_c_werror_flag" ||
 4659: 	 test ! -s conftest.err
 4660:        } && test -s conftest.$ac_objext; then
 4661:   :
 4662: else
 4663:   $as_echo "$as_me: failed program was:" >&5
 4664: sed 's/^/| /' conftest.$ac_ext >&5
 4665: 
 4666: 	ac_cv_type_size_t=yes
 4667: fi
 4668: 
 4669: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4670: else
 4671:   $as_echo "$as_me: failed program was:" >&5
 4672: sed 's/^/| /' conftest.$ac_ext >&5
 4673: 
 4674: 
 4675: fi
 4676: 
 4677: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4678: fi
 4679: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 4680: $as_echo "$ac_cv_type_size_t" >&6; }
 4681: if test $ac_cv_type_size_t = yes; then
 4682:   :
 4683: else
 4684: 
 4685: cat >>confdefs.h <<_ACEOF
 4686: #define size_t unsigned int
 4687: _ACEOF
 4688: 
 4689: fi
 4690: 
 4691: 
 4692:   { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
 4693: $as_echo_n "checking for uint16_t... " >&6; }
 4694: if test "${ac_cv_c_uint16_t+set}" = set; then
 4695:   $as_echo_n "(cached) " >&6
 4696: else
 4697:   ac_cv_c_uint16_t=no
 4698:      for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
 4699: 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 4700:        cat >conftest.$ac_ext <<_ACEOF
 4701: /* confdefs.h.  */
 4702: _ACEOF
 4703: cat confdefs.h >>conftest.$ac_ext
 4704: cat >>conftest.$ac_ext <<_ACEOF
 4705: /* end confdefs.h.  */
 4706: $ac_includes_default
 4707: int
 4708: main ()
 4709: {
 4710: static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
 4711: test_array [0] = 0
 4712: 
 4713:   ;
 4714:   return 0;
 4715: }
 4716: _ACEOF
 4717: rm -f conftest.$ac_objext
 4718: if { (ac_try="$ac_compile"
 4719: case "(($ac_try" in
 4720:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4721:   *) ac_try_echo=$ac_try;;
 4722: esac
 4723: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4724: $as_echo "$ac_try_echo") >&5
 4725:   (eval "$ac_compile") 2>conftest.er1
 4726:   ac_status=$?
 4727:   grep -v '^ *+' conftest.er1 >conftest.err
 4728:   rm -f conftest.er1
 4729:   cat conftest.err >&5
 4730:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4731:   (exit $ac_status); } && {
 4732: 	 test -z "$ac_c_werror_flag" ||
 4733: 	 test ! -s conftest.err
 4734:        } && test -s conftest.$ac_objext; then
 4735:   case $ac_type in
 4736:   uint16_t) ac_cv_c_uint16_t=yes ;;
 4737:   *) ac_cv_c_uint16_t=$ac_type ;;
 4738: esac
 4739: 
 4740: else
 4741:   $as_echo "$as_me: failed program was:" >&5
 4742: sed 's/^/| /' conftest.$ac_ext >&5
 4743: 
 4744: 
 4745: fi
 4746: 
 4747: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4748:        test "$ac_cv_c_uint16_t" != no && break
 4749:      done
 4750: fi
 4751: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
 4752: $as_echo "$ac_cv_c_uint16_t" >&6; }
 4753:   case $ac_cv_c_uint16_t in #(
 4754:   no|yes) ;; #(
 4755:   *)
 4756: 
 4757: 
 4758: cat >>confdefs.h <<_ACEOF
 4759: #define uint16_t $ac_cv_c_uint16_t
 4760: _ACEOF
 4761: ;;
 4762:   esac
 4763: 
 4764: 
 4765:   { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
 4766: $as_echo_n "checking for uint32_t... " >&6; }
 4767: if test "${ac_cv_c_uint32_t+set}" = set; then
 4768:   $as_echo_n "(cached) " >&6
 4769: else
 4770:   ac_cv_c_uint32_t=no
 4771:      for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
 4772: 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 4773:        cat >conftest.$ac_ext <<_ACEOF
 4774: /* confdefs.h.  */
 4775: _ACEOF
 4776: cat confdefs.h >>conftest.$ac_ext
 4777: cat >>conftest.$ac_ext <<_ACEOF
 4778: /* end confdefs.h.  */
 4779: $ac_includes_default
 4780: int
 4781: main ()
 4782: {
 4783: static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
 4784: test_array [0] = 0
 4785: 
 4786:   ;
 4787:   return 0;
 4788: }
 4789: _ACEOF
 4790: rm -f conftest.$ac_objext
 4791: if { (ac_try="$ac_compile"
 4792: case "(($ac_try" in
 4793:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4794:   *) ac_try_echo=$ac_try;;
 4795: esac
 4796: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4797: $as_echo "$ac_try_echo") >&5
 4798:   (eval "$ac_compile") 2>conftest.er1
 4799:   ac_status=$?
 4800:   grep -v '^ *+' conftest.er1 >conftest.err
 4801:   rm -f conftest.er1
 4802:   cat conftest.err >&5
 4803:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4804:   (exit $ac_status); } && {
 4805: 	 test -z "$ac_c_werror_flag" ||
 4806: 	 test ! -s conftest.err
 4807:        } && test -s conftest.$ac_objext; then
 4808:   case $ac_type in
 4809:   uint32_t) ac_cv_c_uint32_t=yes ;;
 4810:   *) ac_cv_c_uint32_t=$ac_type ;;
 4811: esac
 4812: 
 4813: else
 4814:   $as_echo "$as_me: failed program was:" >&5
 4815: sed 's/^/| /' conftest.$ac_ext >&5
 4816: 
 4817: 
 4818: fi
 4819: 
 4820: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4821:        test "$ac_cv_c_uint32_t" != no && break
 4822:      done
 4823: fi
 4824: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
 4825: $as_echo "$ac_cv_c_uint32_t" >&6; }
 4826:   case $ac_cv_c_uint32_t in #(
 4827:   no|yes) ;; #(
 4828:   *)
 4829: 
 4830: cat >>confdefs.h <<\_ACEOF
 4831: #define _UINT32_T 1
 4832: _ACEOF
 4833: 
 4834: 
 4835: cat >>confdefs.h <<_ACEOF
 4836: #define uint32_t $ac_cv_c_uint32_t
 4837: _ACEOF
 4838: ;;
 4839:   esac
 4840: 
 4841: 
 4842:   { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
 4843: $as_echo_n "checking for uint64_t... " >&6; }
 4844: if test "${ac_cv_c_uint64_t+set}" = set; then
 4845:   $as_echo_n "(cached) " >&6
 4846: else
 4847:   ac_cv_c_uint64_t=no
 4848:      for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
 4849: 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 4850:        cat >conftest.$ac_ext <<_ACEOF
 4851: /* confdefs.h.  */
 4852: _ACEOF
 4853: cat confdefs.h >>conftest.$ac_ext
 4854: cat >>conftest.$ac_ext <<_ACEOF
 4855: /* end confdefs.h.  */
 4856: $ac_includes_default
 4857: int
 4858: main ()
 4859: {
 4860: static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
 4861: test_array [0] = 0
 4862: 
 4863:   ;
 4864:   return 0;
 4865: }
 4866: _ACEOF
 4867: rm -f conftest.$ac_objext
 4868: if { (ac_try="$ac_compile"
 4869: case "(($ac_try" in
 4870:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4871:   *) ac_try_echo=$ac_try;;
 4872: esac
 4873: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4874: $as_echo "$ac_try_echo") >&5
 4875:   (eval "$ac_compile") 2>conftest.er1
 4876:   ac_status=$?
 4877:   grep -v '^ *+' conftest.er1 >conftest.err
 4878:   rm -f conftest.er1
 4879:   cat conftest.err >&5
 4880:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4881:   (exit $ac_status); } && {
 4882: 	 test -z "$ac_c_werror_flag" ||
 4883: 	 test ! -s conftest.err
 4884:        } && test -s conftest.$ac_objext; then
 4885:   case $ac_type in
 4886:   uint64_t) ac_cv_c_uint64_t=yes ;;
 4887:   *) ac_cv_c_uint64_t=$ac_type ;;
 4888: esac
 4889: 
 4890: else
 4891:   $as_echo "$as_me: failed program was:" >&5
 4892: sed 's/^/| /' conftest.$ac_ext >&5
 4893: 
 4894: 
 4895: fi
 4896: 
 4897: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4898:        test "$ac_cv_c_uint64_t" != no && break
 4899:      done
 4900: fi
 4901: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
 4902: $as_echo "$ac_cv_c_uint64_t" >&6; }
 4903:   case $ac_cv_c_uint64_t in #(
 4904:   no|yes) ;; #(
 4905:   *)
 4906: 
 4907: cat >>confdefs.h <<\_ACEOF
 4908: #define _UINT64_T 1
 4909: _ACEOF
 4910: 
 4911: 
 4912: cat >>confdefs.h <<_ACEOF
 4913: #define uint64_t $ac_cv_c_uint64_t
 4914: _ACEOF
 4915: ;;
 4916:   esac
 4917: 
 4918: 
 4919:   { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
 4920: $as_echo_n "checking for uint8_t... " >&6; }
 4921: if test "${ac_cv_c_uint8_t+set}" = set; then
 4922:   $as_echo_n "(cached) " >&6
 4923: else
 4924:   ac_cv_c_uint8_t=no
 4925:      for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
 4926: 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 4927:        cat >conftest.$ac_ext <<_ACEOF
 4928: /* confdefs.h.  */
 4929: _ACEOF
 4930: cat confdefs.h >>conftest.$ac_ext
 4931: cat >>conftest.$ac_ext <<_ACEOF
 4932: /* end confdefs.h.  */
 4933: $ac_includes_default
 4934: int
 4935: main ()
 4936: {
 4937: static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
 4938: test_array [0] = 0
 4939: 
 4940:   ;
 4941:   return 0;
 4942: }
 4943: _ACEOF
 4944: rm -f conftest.$ac_objext
 4945: if { (ac_try="$ac_compile"
 4946: case "(($ac_try" in
 4947:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4948:   *) ac_try_echo=$ac_try;;
 4949: esac
 4950: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 4951: $as_echo "$ac_try_echo") >&5
 4952:   (eval "$ac_compile") 2>conftest.er1
 4953:   ac_status=$?
 4954:   grep -v '^ *+' conftest.er1 >conftest.err
 4955:   rm -f conftest.er1
 4956:   cat conftest.err >&5
 4957:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4958:   (exit $ac_status); } && {
 4959: 	 test -z "$ac_c_werror_flag" ||
 4960: 	 test ! -s conftest.err
 4961:        } && test -s conftest.$ac_objext; then
 4962:   case $ac_type in
 4963:   uint8_t) ac_cv_c_uint8_t=yes ;;
 4964:   *) ac_cv_c_uint8_t=$ac_type ;;
 4965: esac
 4966: 
 4967: else
 4968:   $as_echo "$as_me: failed program was:" >&5
 4969: sed 's/^/| /' conftest.$ac_ext >&5
 4970: 
 4971: 
 4972: fi
 4973: 
 4974: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4975:        test "$ac_cv_c_uint8_t" != no && break
 4976:      done
 4977: fi
 4978: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
 4979: $as_echo "$ac_cv_c_uint8_t" >&6; }
 4980:   case $ac_cv_c_uint8_t in #(
 4981:   no|yes) ;; #(
 4982:   *)
 4983: 
 4984: cat >>confdefs.h <<\_ACEOF
 4985: #define _UINT8_T 1
 4986: _ACEOF
 4987: 
 4988: 
 4989: cat >>confdefs.h <<_ACEOF
 4990: #define uint8_t $ac_cv_c_uint8_t
 4991: _ACEOF
 4992: ;;
 4993:   esac
 4994: 
 4995: 
 4996: # Checks for library functions.
 4997: { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
 4998: $as_echo_n "checking for pid_t... " >&6; }
 4999: if test "${ac_cv_type_pid_t+set}" = set; then
 5000:   $as_echo_n "(cached) " >&6
 5001: else
 5002:   ac_cv_type_pid_t=no
 5003: cat >conftest.$ac_ext <<_ACEOF
 5004: /* confdefs.h.  */
 5005: _ACEOF
 5006: cat confdefs.h >>conftest.$ac_ext
 5007: cat >>conftest.$ac_ext <<_ACEOF
 5008: /* end confdefs.h.  */
 5009: $ac_includes_default
 5010: int
 5011: main ()
 5012: {
 5013: if (sizeof (pid_t))
 5014:        return 0;
 5015:   ;
 5016:   return 0;
 5017: }
 5018: _ACEOF
 5019: rm -f conftest.$ac_objext
 5020: if { (ac_try="$ac_compile"
 5021: case "(($ac_try" in
 5022:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5023:   *) ac_try_echo=$ac_try;;
 5024: esac
 5025: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5026: $as_echo "$ac_try_echo") >&5
 5027:   (eval "$ac_compile") 2>conftest.er1
 5028:   ac_status=$?
 5029:   grep -v '^ *+' conftest.er1 >conftest.err
 5030:   rm -f conftest.er1
 5031:   cat conftest.err >&5
 5032:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5033:   (exit $ac_status); } && {
 5034: 	 test -z "$ac_c_werror_flag" ||
 5035: 	 test ! -s conftest.err
 5036:        } && test -s conftest.$ac_objext; then
 5037:   cat >conftest.$ac_ext <<_ACEOF
 5038: /* confdefs.h.  */
 5039: _ACEOF
 5040: cat confdefs.h >>conftest.$ac_ext
 5041: cat >>conftest.$ac_ext <<_ACEOF
 5042: /* end confdefs.h.  */
 5043: $ac_includes_default
 5044: int
 5045: main ()
 5046: {
 5047: if (sizeof ((pid_t)))
 5048: 	  return 0;
 5049:   ;
 5050:   return 0;
 5051: }
 5052: _ACEOF
 5053: rm -f conftest.$ac_objext
 5054: if { (ac_try="$ac_compile"
 5055: case "(($ac_try" in
 5056:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5057:   *) ac_try_echo=$ac_try;;
 5058: esac
 5059: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5060: $as_echo "$ac_try_echo") >&5
 5061:   (eval "$ac_compile") 2>conftest.er1
 5062:   ac_status=$?
 5063:   grep -v '^ *+' conftest.er1 >conftest.err
 5064:   rm -f conftest.er1
 5065:   cat conftest.err >&5
 5066:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5067:   (exit $ac_status); } && {
 5068: 	 test -z "$ac_c_werror_flag" ||
 5069: 	 test ! -s conftest.err
 5070:        } && test -s conftest.$ac_objext; then
 5071:   :
 5072: else
 5073:   $as_echo "$as_me: failed program was:" >&5
 5074: sed 's/^/| /' conftest.$ac_ext >&5
 5075: 
 5076: 	ac_cv_type_pid_t=yes
 5077: fi
 5078: 
 5079: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5080: else
 5081:   $as_echo "$as_me: failed program was:" >&5
 5082: sed 's/^/| /' conftest.$ac_ext >&5
 5083: 
 5084: 
 5085: fi
 5086: 
 5087: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5088: fi
 5089: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
 5090: $as_echo "$ac_cv_type_pid_t" >&6; }
 5091: if test $ac_cv_type_pid_t = yes; then
 5092:   :
 5093: else
 5094: 
 5095: cat >>confdefs.h <<_ACEOF
 5096: #define pid_t int
 5097: _ACEOF
 5098: 
 5099: fi
 5100: 
 5101: 
 5102: for ac_header in vfork.h
 5103: do
 5104: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5105: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 5106:   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 5107: $as_echo_n "checking for $ac_header... " >&6; }
 5108: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 5109:   $as_echo_n "(cached) " >&6
 5110: fi
 5111: ac_res=`eval 'as_val=${'$as_ac_Header'}
 5112: 		 $as_echo "$as_val"'`
 5113: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 5114: $as_echo "$ac_res" >&6; }
 5115: else
 5116:   # Is the header compilable?
 5117: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 5118: $as_echo_n "checking $ac_header usability... " >&6; }
 5119: cat >conftest.$ac_ext <<_ACEOF
 5120: /* confdefs.h.  */
 5121: _ACEOF
 5122: cat confdefs.h >>conftest.$ac_ext
 5123: cat >>conftest.$ac_ext <<_ACEOF
 5124: /* end confdefs.h.  */
 5125: $ac_includes_default
 5126: #include <$ac_header>
 5127: _ACEOF
 5128: rm -f conftest.$ac_objext
 5129: if { (ac_try="$ac_compile"
 5130: case "(($ac_try" in
 5131:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5132:   *) ac_try_echo=$ac_try;;
 5133: esac
 5134: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5135: $as_echo "$ac_try_echo") >&5
 5136:   (eval "$ac_compile") 2>conftest.er1
 5137:   ac_status=$?
 5138:   grep -v '^ *+' conftest.er1 >conftest.err
 5139:   rm -f conftest.er1
 5140:   cat conftest.err >&5
 5141:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5142:   (exit $ac_status); } && {
 5143: 	 test -z "$ac_c_werror_flag" ||
 5144: 	 test ! -s conftest.err
 5145:        } && test -s conftest.$ac_objext; then
 5146:   ac_header_compiler=yes
 5147: else
 5148:   $as_echo "$as_me: failed program was:" >&5
 5149: sed 's/^/| /' conftest.$ac_ext >&5
 5150: 
 5151: 	ac_header_compiler=no
 5152: fi
 5153: 
 5154: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5155: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 5156: $as_echo "$ac_header_compiler" >&6; }
 5157: 
 5158: # Is the header present?
 5159: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 5160: $as_echo_n "checking $ac_header presence... " >&6; }
 5161: cat >conftest.$ac_ext <<_ACEOF
 5162: /* confdefs.h.  */
 5163: _ACEOF
 5164: cat confdefs.h >>conftest.$ac_ext
 5165: cat >>conftest.$ac_ext <<_ACEOF
 5166: /* end confdefs.h.  */
 5167: #include <$ac_header>
 5168: _ACEOF
 5169: if { (ac_try="$ac_cpp conftest.$ac_ext"
 5170: case "(($ac_try" in
 5171:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5172:   *) ac_try_echo=$ac_try;;
 5173: esac
 5174: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5175: $as_echo "$ac_try_echo") >&5
 5176:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 5177:   ac_status=$?
 5178:   grep -v '^ *+' conftest.er1 >conftest.err
 5179:   rm -f conftest.er1
 5180:   cat conftest.err >&5
 5181:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5182:   (exit $ac_status); } >/dev/null && {
 5183: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 5184: 	 test ! -s conftest.err
 5185:        }; then
 5186:   ac_header_preproc=yes
 5187: else
 5188:   $as_echo "$as_me: failed program was:" >&5
 5189: sed 's/^/| /' conftest.$ac_ext >&5
 5190: 
 5191:   ac_header_preproc=no
 5192: fi
 5193: 
 5194: rm -f conftest.err conftest.$ac_ext
 5195: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 5196: $as_echo "$ac_header_preproc" >&6; }
 5197: 
 5198: # So?  What about this header?
 5199: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 5200:   yes:no: )
 5201:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 5202: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 5203:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 5204: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 5205:     ac_header_preproc=yes
 5206:     ;;
 5207:   no:yes:* )
 5208:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 5209: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 5210:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 5211: $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 5212:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 5213: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 5214:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 5215: $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 5216:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 5217: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 5218:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 5219: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 5220:     ( cat <<\_ASBOX
 5221: ## ----------------------------------- ##
 5222: ## Report this to misho@openbsd-bg.org ##
 5223: ## ----------------------------------- ##
 5224: _ASBOX
 5225:      ) | sed "s/^/$as_me: WARNING:     /" >&2
 5226:     ;;
 5227: esac
 5228: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 5229: $as_echo_n "checking for $ac_header... " >&6; }
 5230: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 5231:   $as_echo_n "(cached) " >&6
 5232: else
 5233:   eval "$as_ac_Header=\$ac_header_preproc"
 5234: fi
 5235: ac_res=`eval 'as_val=${'$as_ac_Header'}
 5236: 		 $as_echo "$as_val"'`
 5237: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 5238: $as_echo "$ac_res" >&6; }
 5239: 
 5240: fi
 5241: if test `eval 'as_val=${'$as_ac_Header'}
 5242: 		 $as_echo "$as_val"'` = yes; then
 5243:   cat >>confdefs.h <<_ACEOF
 5244: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5245: _ACEOF
 5246: 
 5247: fi
 5248: 
 5249: done
 5250: 
 5251: 
 5252: 
 5253: for ac_func in fork vfork
 5254: do
 5255: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 5256: { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 5257: $as_echo_n "checking for $ac_func... " >&6; }
 5258: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 5259:   $as_echo_n "(cached) " >&6
 5260: else
 5261:   cat >conftest.$ac_ext <<_ACEOF
 5262: /* confdefs.h.  */
 5263: _ACEOF
 5264: cat confdefs.h >>conftest.$ac_ext
 5265: cat >>conftest.$ac_ext <<_ACEOF
 5266: /* end confdefs.h.  */
 5267: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 5268:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 5269: #define $ac_func innocuous_$ac_func
 5270: 
 5271: /* System header to define __stub macros and hopefully few prototypes,
 5272:     which can conflict with char $ac_func (); below.
 5273:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5274:     <limits.h> exists even on freestanding compilers.  */
 5275: 
 5276: #ifdef __STDC__
 5277: # include <limits.h>
 5278: #else
 5279: # include <assert.h>
 5280: #endif
 5281: 
 5282: #undef $ac_func
 5283: 
 5284: /* Override any GCC internal prototype to avoid an error.
 5285:    Use char because int might match the return type of a GCC
 5286:    builtin and then its argument prototype would still apply.  */
 5287: #ifdef __cplusplus
 5288: extern "C"
 5289: #endif
 5290: char $ac_func ();
 5291: /* The GNU C library defines this for functions which it implements
 5292:     to always fail with ENOSYS.  Some functions are actually named
 5293:     something starting with __ and the normal name is an alias.  */
 5294: #if defined __stub_$ac_func || defined __stub___$ac_func
 5295: choke me
 5296: #endif
 5297: 
 5298: int
 5299: main ()
 5300: {
 5301: return $ac_func ();
 5302:   ;
 5303:   return 0;
 5304: }
 5305: _ACEOF
 5306: rm -f conftest.$ac_objext conftest$ac_exeext
 5307: if { (ac_try="$ac_link"
 5308: case "(($ac_try" in
 5309:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5310:   *) ac_try_echo=$ac_try;;
 5311: esac
 5312: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5313: $as_echo "$ac_try_echo") >&5
 5314:   (eval "$ac_link") 2>conftest.er1
 5315:   ac_status=$?
 5316:   grep -v '^ *+' conftest.er1 >conftest.err
 5317:   rm -f conftest.er1
 5318:   cat conftest.err >&5
 5319:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5320:   (exit $ac_status); } && {
 5321: 	 test -z "$ac_c_werror_flag" ||
 5322: 	 test ! -s conftest.err
 5323:        } && test -s conftest$ac_exeext && {
 5324: 	 test "$cross_compiling" = yes ||
 5325: 	 $as_test_x conftest$ac_exeext
 5326:        }; then
 5327:   eval "$as_ac_var=yes"
 5328: else
 5329:   $as_echo "$as_me: failed program was:" >&5
 5330: sed 's/^/| /' conftest.$ac_ext >&5
 5331: 
 5332: 	eval "$as_ac_var=no"
 5333: fi
 5334: 
 5335: rm -rf conftest.dSYM
 5336: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5337:       conftest$ac_exeext conftest.$ac_ext
 5338: fi
 5339: ac_res=`eval 'as_val=${'$as_ac_var'}
 5340: 		 $as_echo "$as_val"'`
 5341: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 5342: $as_echo "$ac_res" >&6; }
 5343: if test `eval 'as_val=${'$as_ac_var'}
 5344: 		 $as_echo "$as_val"'` = yes; then
 5345:   cat >>confdefs.h <<_ACEOF
 5346: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 5347: _ACEOF
 5348: 
 5349: fi
 5350: done
 5351: 
 5352: if test "x$ac_cv_func_fork" = xyes; then
 5353:   { $as_echo "$as_me:$LINENO: checking for working fork" >&5
 5354: $as_echo_n "checking for working fork... " >&6; }
 5355: if test "${ac_cv_func_fork_works+set}" = set; then
 5356:   $as_echo_n "(cached) " >&6
 5357: else
 5358:   if test "$cross_compiling" = yes; then
 5359:   ac_cv_func_fork_works=cross
 5360: else
 5361:   cat >conftest.$ac_ext <<_ACEOF
 5362: /* confdefs.h.  */
 5363: _ACEOF
 5364: cat confdefs.h >>conftest.$ac_ext
 5365: cat >>conftest.$ac_ext <<_ACEOF
 5366: /* end confdefs.h.  */
 5367: $ac_includes_default
 5368: int
 5369: main ()
 5370: {
 5371: 
 5372: 	  /* By Ruediger Kuhlmann. */
 5373: 	  return fork () < 0;
 5374: 
 5375:   ;
 5376:   return 0;
 5377: }
 5378: _ACEOF
 5379: rm -f conftest$ac_exeext
 5380: if { (ac_try="$ac_link"
 5381: case "(($ac_try" in
 5382:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5383:   *) ac_try_echo=$ac_try;;
 5384: esac
 5385: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5386: $as_echo "$ac_try_echo") >&5
 5387:   (eval "$ac_link") 2>&5
 5388:   ac_status=$?
 5389:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5390:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 5391:   { (case "(($ac_try" in
 5392:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5393:   *) ac_try_echo=$ac_try;;
 5394: esac
 5395: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5396: $as_echo "$ac_try_echo") >&5
 5397:   (eval "$ac_try") 2>&5
 5398:   ac_status=$?
 5399:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5400:   (exit $ac_status); }; }; then
 5401:   ac_cv_func_fork_works=yes
 5402: else
 5403:   $as_echo "$as_me: program exited with status $ac_status" >&5
 5404: $as_echo "$as_me: failed program was:" >&5
 5405: sed 's/^/| /' conftest.$ac_ext >&5
 5406: 
 5407: ( exit $ac_status )
 5408: ac_cv_func_fork_works=no
 5409: fi
 5410: rm -rf conftest.dSYM
 5411: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 5412: fi
 5413: 
 5414: 
 5415: fi
 5416: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
 5417: $as_echo "$ac_cv_func_fork_works" >&6; }
 5418: 
 5419: else
 5420:   ac_cv_func_fork_works=$ac_cv_func_fork
 5421: fi
 5422: if test "x$ac_cv_func_fork_works" = xcross; then
 5423:   case $host in
 5424:     *-*-amigaos* | *-*-msdosdjgpp*)
 5425:       # Override, as these systems have only a dummy fork() stub
 5426:       ac_cv_func_fork_works=no
 5427:       ;;
 5428:     *)
 5429:       ac_cv_func_fork_works=yes
 5430:       ;;
 5431:   esac
 5432:   { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
 5433: $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
 5434: fi
 5435: ac_cv_func_vfork_works=$ac_cv_func_vfork
 5436: if test "x$ac_cv_func_vfork" = xyes; then
 5437:   { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
 5438: $as_echo_n "checking for working vfork... " >&6; }
 5439: if test "${ac_cv_func_vfork_works+set}" = set; then
 5440:   $as_echo_n "(cached) " >&6
 5441: else
 5442:   if test "$cross_compiling" = yes; then
 5443:   ac_cv_func_vfork_works=cross
 5444: else
 5445:   cat >conftest.$ac_ext <<_ACEOF
 5446: /* confdefs.h.  */
 5447: _ACEOF
 5448: cat confdefs.h >>conftest.$ac_ext
 5449: cat >>conftest.$ac_ext <<_ACEOF
 5450: /* end confdefs.h.  */
 5451: /* Thanks to Paul Eggert for this test.  */
 5452: $ac_includes_default
 5453: #include <sys/wait.h>
 5454: #ifdef HAVE_VFORK_H
 5455: # include <vfork.h>
 5456: #endif
 5457: /* On some sparc systems, changes by the child to local and incoming
 5458:    argument registers are propagated back to the parent.  The compiler
 5459:    is told about this with #include <vfork.h>, but some compilers
 5460:    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
 5461:    static variable whose address is put into a register that is
 5462:    clobbered by the vfork.  */
 5463: static void
 5464: #ifdef __cplusplus
 5465: sparc_address_test (int arg)
 5466: # else
 5467: sparc_address_test (arg) int arg;
 5468: #endif
 5469: {
 5470:   static pid_t child;
 5471:   if (!child) {
 5472:     child = vfork ();
 5473:     if (child < 0) {
 5474:       perror ("vfork");
 5475:       _exit(2);
 5476:     }
 5477:     if (!child) {
 5478:       arg = getpid();
 5479:       write(-1, "", 0);
 5480:       _exit (arg);
 5481:     }
 5482:   }
 5483: }
 5484: 
 5485: int
 5486: main ()
 5487: {
 5488:   pid_t parent = getpid ();
 5489:   pid_t child;
 5490: 
 5491:   sparc_address_test (0);
 5492: 
 5493:   child = vfork ();
 5494: 
 5495:   if (child == 0) {
 5496:     /* Here is another test for sparc vfork register problems.  This
 5497:        test uses lots of local variables, at least as many local
 5498:        variables as main has allocated so far including compiler
 5499:        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
 5500:        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
 5501:        reuse the register of parent for one of the local variables,
 5502:        since it will think that parent can't possibly be used any more
 5503:        in this routine.  Assigning to the local variable will thus
 5504:        munge parent in the parent process.  */
 5505:     pid_t
 5506:       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
 5507:       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
 5508:     /* Convince the compiler that p..p7 are live; otherwise, it might
 5509:        use the same hardware register for all 8 local variables.  */
 5510:     if (p != p1 || p != p2 || p != p3 || p != p4
 5511: 	|| p != p5 || p != p6 || p != p7)
 5512:       _exit(1);
 5513: 
 5514:     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
 5515:        from child file descriptors.  If the child closes a descriptor
 5516:        before it execs or exits, this munges the parent's descriptor
 5517:        as well.  Test for this by closing stdout in the child.  */
 5518:     _exit(close(fileno(stdout)) != 0);
 5519:   } else {
 5520:     int status;
 5521:     struct stat st;
 5522: 
 5523:     while (wait(&status) != child)
 5524:       ;
 5525:     return (
 5526: 	 /* Was there some problem with vforking?  */
 5527: 	 child < 0
 5528: 
 5529: 	 /* Did the child fail?  (This shouldn't happen.)  */
 5530: 	 || status
 5531: 
 5532: 	 /* Did the vfork/compiler bug occur?  */
 5533: 	 || parent != getpid()
 5534: 
 5535: 	 /* Did the file descriptor bug occur?  */
 5536: 	 || fstat(fileno(stdout), &st) != 0
 5537: 	 );
 5538:   }
 5539: }
 5540: _ACEOF
 5541: rm -f conftest$ac_exeext
 5542: if { (ac_try="$ac_link"
 5543: case "(($ac_try" in
 5544:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5545:   *) ac_try_echo=$ac_try;;
 5546: esac
 5547: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5548: $as_echo "$ac_try_echo") >&5
 5549:   (eval "$ac_link") 2>&5
 5550:   ac_status=$?
 5551:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5552:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 5553:   { (case "(($ac_try" in
 5554:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5555:   *) ac_try_echo=$ac_try;;
 5556: esac
 5557: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5558: $as_echo "$ac_try_echo") >&5
 5559:   (eval "$ac_try") 2>&5
 5560:   ac_status=$?
 5561:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5562:   (exit $ac_status); }; }; then
 5563:   ac_cv_func_vfork_works=yes
 5564: else
 5565:   $as_echo "$as_me: program exited with status $ac_status" >&5
 5566: $as_echo "$as_me: failed program was:" >&5
 5567: sed 's/^/| /' conftest.$ac_ext >&5
 5568: 
 5569: ( exit $ac_status )
 5570: ac_cv_func_vfork_works=no
 5571: fi
 5572: rm -rf conftest.dSYM
 5573: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 5574: fi
 5575: 
 5576: 
 5577: fi
 5578: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
 5579: $as_echo "$ac_cv_func_vfork_works" >&6; }
 5580: 
 5581: fi;
 5582: if test "x$ac_cv_func_fork_works" = xcross; then
 5583:   ac_cv_func_vfork_works=$ac_cv_func_vfork
 5584:   { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
 5585: $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
 5586: fi
 5587: 
 5588: if test "x$ac_cv_func_vfork_works" = xyes; then
 5589: 
 5590: cat >>confdefs.h <<\_ACEOF
 5591: #define HAVE_WORKING_VFORK 1
 5592: _ACEOF
 5593: 
 5594: else
 5595: 
 5596: cat >>confdefs.h <<\_ACEOF
 5597: #define vfork fork
 5598: _ACEOF
 5599: 
 5600: fi
 5601: if test "x$ac_cv_func_fork_works" = xyes; then
 5602: 
 5603: cat >>confdefs.h <<\_ACEOF
 5604: #define HAVE_WORKING_FORK 1
 5605: _ACEOF
 5606: 
 5607: fi
 5608: 
 5609: 
 5610: for ac_header in stdlib.h
 5611: do
 5612: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5613: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 5614:   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 5615: $as_echo_n "checking for $ac_header... " >&6; }
 5616: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 5617:   $as_echo_n "(cached) " >&6
 5618: fi
 5619: ac_res=`eval 'as_val=${'$as_ac_Header'}
 5620: 		 $as_echo "$as_val"'`
 5621: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 5622: $as_echo "$ac_res" >&6; }
 5623: else
 5624:   # Is the header compilable?
 5625: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 5626: $as_echo_n "checking $ac_header usability... " >&6; }
 5627: cat >conftest.$ac_ext <<_ACEOF
 5628: /* confdefs.h.  */
 5629: _ACEOF
 5630: cat confdefs.h >>conftest.$ac_ext
 5631: cat >>conftest.$ac_ext <<_ACEOF
 5632: /* end confdefs.h.  */
 5633: $ac_includes_default
 5634: #include <$ac_header>
 5635: _ACEOF
 5636: rm -f conftest.$ac_objext
 5637: if { (ac_try="$ac_compile"
 5638: case "(($ac_try" in
 5639:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5640:   *) ac_try_echo=$ac_try;;
 5641: esac
 5642: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5643: $as_echo "$ac_try_echo") >&5
 5644:   (eval "$ac_compile") 2>conftest.er1
 5645:   ac_status=$?
 5646:   grep -v '^ *+' conftest.er1 >conftest.err
 5647:   rm -f conftest.er1
 5648:   cat conftest.err >&5
 5649:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5650:   (exit $ac_status); } && {
 5651: 	 test -z "$ac_c_werror_flag" ||
 5652: 	 test ! -s conftest.err
 5653:        } && test -s conftest.$ac_objext; then
 5654:   ac_header_compiler=yes
 5655: else
 5656:   $as_echo "$as_me: failed program was:" >&5
 5657: sed 's/^/| /' conftest.$ac_ext >&5
 5658: 
 5659: 	ac_header_compiler=no
 5660: fi
 5661: 
 5662: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5663: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 5664: $as_echo "$ac_header_compiler" >&6; }
 5665: 
 5666: # Is the header present?
 5667: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 5668: $as_echo_n "checking $ac_header presence... " >&6; }
 5669: cat >conftest.$ac_ext <<_ACEOF
 5670: /* confdefs.h.  */
 5671: _ACEOF
 5672: cat confdefs.h >>conftest.$ac_ext
 5673: cat >>conftest.$ac_ext <<_ACEOF
 5674: /* end confdefs.h.  */
 5675: #include <$ac_header>
 5676: _ACEOF
 5677: if { (ac_try="$ac_cpp conftest.$ac_ext"
 5678: case "(($ac_try" in
 5679:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5680:   *) ac_try_echo=$ac_try;;
 5681: esac
 5682: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5683: $as_echo "$ac_try_echo") >&5
 5684:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 5685:   ac_status=$?
 5686:   grep -v '^ *+' conftest.er1 >conftest.err
 5687:   rm -f conftest.er1
 5688:   cat conftest.err >&5
 5689:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5690:   (exit $ac_status); } >/dev/null && {
 5691: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 5692: 	 test ! -s conftest.err
 5693:        }; then
 5694:   ac_header_preproc=yes
 5695: else
 5696:   $as_echo "$as_me: failed program was:" >&5
 5697: sed 's/^/| /' conftest.$ac_ext >&5
 5698: 
 5699:   ac_header_preproc=no
 5700: fi
 5701: 
 5702: rm -f conftest.err conftest.$ac_ext
 5703: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 5704: $as_echo "$ac_header_preproc" >&6; }
 5705: 
 5706: # So?  What about this header?
 5707: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 5708:   yes:no: )
 5709:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 5710: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 5711:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 5712: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 5713:     ac_header_preproc=yes
 5714:     ;;
 5715:   no:yes:* )
 5716:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 5717: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 5718:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 5719: $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 5720:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 5721: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 5722:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 5723: $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 5724:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 5725: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 5726:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 5727: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 5728:     ( cat <<\_ASBOX
 5729: ## ----------------------------------- ##
 5730: ## Report this to misho@openbsd-bg.org ##
 5731: ## ----------------------------------- ##
 5732: _ASBOX
 5733:      ) | sed "s/^/$as_me: WARNING:     /" >&2
 5734:     ;;
 5735: esac
 5736: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 5737: $as_echo_n "checking for $ac_header... " >&6; }
 5738: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 5739:   $as_echo_n "(cached) " >&6
 5740: else
 5741:   eval "$as_ac_Header=\$ac_header_preproc"
 5742: fi
 5743: ac_res=`eval 'as_val=${'$as_ac_Header'}
 5744: 		 $as_echo "$as_val"'`
 5745: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 5746: $as_echo "$ac_res" >&6; }
 5747: 
 5748: fi
 5749: if test `eval 'as_val=${'$as_ac_Header'}
 5750: 		 $as_echo "$as_val"'` = yes; then
 5751:   cat >>confdefs.h <<_ACEOF
 5752: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5753: _ACEOF
 5754: 
 5755: fi
 5756: 
 5757: done
 5758: 
 5759: { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
 5760: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
 5761: if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
 5762:   $as_echo_n "(cached) " >&6
 5763: else
 5764:   if test "$cross_compiling" = yes; then
 5765:   ac_cv_func_malloc_0_nonnull=no
 5766: else
 5767:   cat >conftest.$ac_ext <<_ACEOF
 5768: /* confdefs.h.  */
 5769: _ACEOF
 5770: cat confdefs.h >>conftest.$ac_ext
 5771: cat >>conftest.$ac_ext <<_ACEOF
 5772: /* end confdefs.h.  */
 5773: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
 5774: # include <stdlib.h>
 5775: #else
 5776: char *malloc ();
 5777: #endif
 5778: 
 5779: int
 5780: main ()
 5781: {
 5782: return ! malloc (0);
 5783:   ;
 5784:   return 0;
 5785: }
 5786: _ACEOF
 5787: rm -f conftest$ac_exeext
 5788: if { (ac_try="$ac_link"
 5789: case "(($ac_try" in
 5790:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5791:   *) ac_try_echo=$ac_try;;
 5792: esac
 5793: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5794: $as_echo "$ac_try_echo") >&5
 5795:   (eval "$ac_link") 2>&5
 5796:   ac_status=$?
 5797:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5798:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 5799:   { (case "(($ac_try" in
 5800:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5801:   *) ac_try_echo=$ac_try;;
 5802: esac
 5803: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5804: $as_echo "$ac_try_echo") >&5
 5805:   (eval "$ac_try") 2>&5
 5806:   ac_status=$?
 5807:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5808:   (exit $ac_status); }; }; then
 5809:   ac_cv_func_malloc_0_nonnull=yes
 5810: else
 5811:   $as_echo "$as_me: program exited with status $ac_status" >&5
 5812: $as_echo "$as_me: failed program was:" >&5
 5813: sed 's/^/| /' conftest.$ac_ext >&5
 5814: 
 5815: ( exit $ac_status )
 5816: ac_cv_func_malloc_0_nonnull=no
 5817: fi
 5818: rm -rf conftest.dSYM
 5819: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 5820: fi
 5821: 
 5822: 
 5823: fi
 5824: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
 5825: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
 5826: if test $ac_cv_func_malloc_0_nonnull = yes; then
 5827: 
 5828: cat >>confdefs.h <<\_ACEOF
 5829: #define HAVE_MALLOC 1
 5830: _ACEOF
 5831: 
 5832: else
 5833:   cat >>confdefs.h <<\_ACEOF
 5834: #define HAVE_MALLOC 0
 5835: _ACEOF
 5836: 
 5837:    case " $LIBOBJS " in
 5838:   *" malloc.$ac_objext "* ) ;;
 5839:   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
 5840:  ;;
 5841: esac
 5842: 
 5843: 
 5844: cat >>confdefs.h <<\_ACEOF
 5845: #define malloc rpl_malloc
 5846: _ACEOF
 5847: 
 5848: fi
 5849: 
 5850: 
 5851: 
 5852: 
 5853: for ac_header in stdlib.h
 5854: do
 5855: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5856: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 5857:   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 5858: $as_echo_n "checking for $ac_header... " >&6; }
 5859: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 5860:   $as_echo_n "(cached) " >&6
 5861: fi
 5862: ac_res=`eval 'as_val=${'$as_ac_Header'}
 5863: 		 $as_echo "$as_val"'`
 5864: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 5865: $as_echo "$ac_res" >&6; }
 5866: else
 5867:   # Is the header compilable?
 5868: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 5869: $as_echo_n "checking $ac_header usability... " >&6; }
 5870: cat >conftest.$ac_ext <<_ACEOF
 5871: /* confdefs.h.  */
 5872: _ACEOF
 5873: cat confdefs.h >>conftest.$ac_ext
 5874: cat >>conftest.$ac_ext <<_ACEOF
 5875: /* end confdefs.h.  */
 5876: $ac_includes_default
 5877: #include <$ac_header>
 5878: _ACEOF
 5879: rm -f conftest.$ac_objext
 5880: if { (ac_try="$ac_compile"
 5881: case "(($ac_try" in
 5882:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5883:   *) ac_try_echo=$ac_try;;
 5884: esac
 5885: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5886: $as_echo "$ac_try_echo") >&5
 5887:   (eval "$ac_compile") 2>conftest.er1
 5888:   ac_status=$?
 5889:   grep -v '^ *+' conftest.er1 >conftest.err
 5890:   rm -f conftest.er1
 5891:   cat conftest.err >&5
 5892:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5893:   (exit $ac_status); } && {
 5894: 	 test -z "$ac_c_werror_flag" ||
 5895: 	 test ! -s conftest.err
 5896:        } && test -s conftest.$ac_objext; then
 5897:   ac_header_compiler=yes
 5898: else
 5899:   $as_echo "$as_me: failed program was:" >&5
 5900: sed 's/^/| /' conftest.$ac_ext >&5
 5901: 
 5902: 	ac_header_compiler=no
 5903: fi
 5904: 
 5905: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5906: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 5907: $as_echo "$ac_header_compiler" >&6; }
 5908: 
 5909: # Is the header present?
 5910: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 5911: $as_echo_n "checking $ac_header presence... " >&6; }
 5912: cat >conftest.$ac_ext <<_ACEOF
 5913: /* confdefs.h.  */
 5914: _ACEOF
 5915: cat confdefs.h >>conftest.$ac_ext
 5916: cat >>conftest.$ac_ext <<_ACEOF
 5917: /* end confdefs.h.  */
 5918: #include <$ac_header>
 5919: _ACEOF
 5920: if { (ac_try="$ac_cpp conftest.$ac_ext"
 5921: case "(($ac_try" in
 5922:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5923:   *) ac_try_echo=$ac_try;;
 5924: esac
 5925: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5926: $as_echo "$ac_try_echo") >&5
 5927:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 5928:   ac_status=$?
 5929:   grep -v '^ *+' conftest.er1 >conftest.err
 5930:   rm -f conftest.er1
 5931:   cat conftest.err >&5
 5932:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5933:   (exit $ac_status); } >/dev/null && {
 5934: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 5935: 	 test ! -s conftest.err
 5936:        }; then
 5937:   ac_header_preproc=yes
 5938: else
 5939:   $as_echo "$as_me: failed program was:" >&5
 5940: sed 's/^/| /' conftest.$ac_ext >&5
 5941: 
 5942:   ac_header_preproc=no
 5943: fi
 5944: 
 5945: rm -f conftest.err conftest.$ac_ext
 5946: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 5947: $as_echo "$ac_header_preproc" >&6; }
 5948: 
 5949: # So?  What about this header?
 5950: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 5951:   yes:no: )
 5952:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 5953: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 5954:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 5955: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 5956:     ac_header_preproc=yes
 5957:     ;;
 5958:   no:yes:* )
 5959:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 5960: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 5961:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 5962: $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 5963:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 5964: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 5965:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 5966: $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 5967:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 5968: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 5969:     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 5970: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 5971:     ( cat <<\_ASBOX
 5972: ## ----------------------------------- ##
 5973: ## Report this to misho@openbsd-bg.org ##
 5974: ## ----------------------------------- ##
 5975: _ASBOX
 5976:      ) | sed "s/^/$as_me: WARNING:     /" >&2
 5977:     ;;
 5978: esac
 5979: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 5980: $as_echo_n "checking for $ac_header... " >&6; }
 5981: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 5982:   $as_echo_n "(cached) " >&6
 5983: else
 5984:   eval "$as_ac_Header=\$ac_header_preproc"
 5985: fi
 5986: ac_res=`eval 'as_val=${'$as_ac_Header'}
 5987: 		 $as_echo "$as_val"'`
 5988: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 5989: $as_echo "$ac_res" >&6; }
 5990: 
 5991: fi
 5992: if test `eval 'as_val=${'$as_ac_Header'}
 5993: 		 $as_echo "$as_val"'` = yes; then
 5994:   cat >>confdefs.h <<_ACEOF
 5995: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5996: _ACEOF
 5997: 
 5998: fi
 5999: 
 6000: done
 6001: 
 6002: { $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
 6003: $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
 6004: if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
 6005:   $as_echo_n "(cached) " >&6
 6006: else
 6007:   if test "$cross_compiling" = yes; then
 6008:   ac_cv_func_realloc_0_nonnull=no
 6009: else
 6010:   cat >conftest.$ac_ext <<_ACEOF
 6011: /* confdefs.h.  */
 6012: _ACEOF
 6013: cat confdefs.h >>conftest.$ac_ext
 6014: cat >>conftest.$ac_ext <<_ACEOF
 6015: /* end confdefs.h.  */
 6016: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
 6017: # include <stdlib.h>
 6018: #else
 6019: char *realloc ();
 6020: #endif
 6021: 
 6022: int
 6023: main ()
 6024: {
 6025: return ! realloc (0, 0);
 6026:   ;
 6027:   return 0;
 6028: }
 6029: _ACEOF
 6030: rm -f conftest$ac_exeext
 6031: if { (ac_try="$ac_link"
 6032: case "(($ac_try" in
 6033:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6034:   *) ac_try_echo=$ac_try;;
 6035: esac
 6036: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 6037: $as_echo "$ac_try_echo") >&5
 6038:   (eval "$ac_link") 2>&5
 6039:   ac_status=$?
 6040:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6041:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 6042:   { (case "(($ac_try" in
 6043:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6044:   *) ac_try_echo=$ac_try;;
 6045: esac
 6046: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 6047: $as_echo "$ac_try_echo") >&5
 6048:   (eval "$ac_try") 2>&5
 6049:   ac_status=$?
 6050:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6051:   (exit $ac_status); }; }; then
 6052:   ac_cv_func_realloc_0_nonnull=yes
 6053: else
 6054:   $as_echo "$as_me: program exited with status $ac_status" >&5
 6055: $as_echo "$as_me: failed program was:" >&5
 6056: sed 's/^/| /' conftest.$ac_ext >&5
 6057: 
 6058: ( exit $ac_status )
 6059: ac_cv_func_realloc_0_nonnull=no
 6060: fi
 6061: rm -rf conftest.dSYM
 6062: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 6063: fi
 6064: 
 6065: 
 6066: fi
 6067: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
 6068: $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
 6069: if test $ac_cv_func_realloc_0_nonnull = yes; then
 6070: 
 6071: cat >>confdefs.h <<\_ACEOF
 6072: #define HAVE_REALLOC 1
 6073: _ACEOF
 6074: 
 6075: else
 6076:   cat >>confdefs.h <<\_ACEOF
 6077: #define HAVE_REALLOC 0
 6078: _ACEOF
 6079: 
 6080:    case " $LIBOBJS " in
 6081:   *" realloc.$ac_objext "* ) ;;
 6082:   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
 6083:  ;;
 6084: esac
 6085: 
 6086: 
 6087: cat >>confdefs.h <<\_ACEOF
 6088: #define realloc rpl_realloc
 6089: _ACEOF
 6090: 
 6091: fi
 6092: 
 6093: 
 6094: 
 6095: 
 6096: 
 6097: 
 6098: 
 6099: 
 6100: for ac_func in memset select socket strdup strerror
 6101: do
 6102: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 6103: { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 6104: $as_echo_n "checking for $ac_func... " >&6; }
 6105: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 6106:   $as_echo_n "(cached) " >&6
 6107: else
 6108:   cat >conftest.$ac_ext <<_ACEOF
 6109: /* confdefs.h.  */
 6110: _ACEOF
 6111: cat confdefs.h >>conftest.$ac_ext
 6112: cat >>conftest.$ac_ext <<_ACEOF
 6113: /* end confdefs.h.  */
 6114: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 6115:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 6116: #define $ac_func innocuous_$ac_func
 6117: 
 6118: /* System header to define __stub macros and hopefully few prototypes,
 6119:     which can conflict with char $ac_func (); below.
 6120:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 6121:     <limits.h> exists even on freestanding compilers.  */
 6122: 
 6123: #ifdef __STDC__
 6124: # include <limits.h>
 6125: #else
 6126: # include <assert.h>
 6127: #endif
 6128: 
 6129: #undef $ac_func
 6130: 
 6131: /* Override any GCC internal prototype to avoid an error.
 6132:    Use char because int might match the return type of a GCC
 6133:    builtin and then its argument prototype would still apply.  */
 6134: #ifdef __cplusplus
 6135: extern "C"
 6136: #endif
 6137: char $ac_func ();
 6138: /* The GNU C library defines this for functions which it implements
 6139:     to always fail with ENOSYS.  Some functions are actually named
 6140:     something starting with __ and the normal name is an alias.  */
 6141: #if defined __stub_$ac_func || defined __stub___$ac_func
 6142: choke me
 6143: #endif
 6144: 
 6145: int
 6146: main ()
 6147: {
 6148: return $ac_func ();
 6149:   ;
 6150:   return 0;
 6151: }
 6152: _ACEOF
 6153: rm -f conftest.$ac_objext conftest$ac_exeext
 6154: if { (ac_try="$ac_link"
 6155: case "(($ac_try" in
 6156:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6157:   *) ac_try_echo=$ac_try;;
 6158: esac
 6159: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 6160: $as_echo "$ac_try_echo") >&5
 6161:   (eval "$ac_link") 2>conftest.er1
 6162:   ac_status=$?
 6163:   grep -v '^ *+' conftest.er1 >conftest.err
 6164:   rm -f conftest.er1
 6165:   cat conftest.err >&5
 6166:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6167:   (exit $ac_status); } && {
 6168: 	 test -z "$ac_c_werror_flag" ||
 6169: 	 test ! -s conftest.err
 6170:        } && test -s conftest$ac_exeext && {
 6171: 	 test "$cross_compiling" = yes ||
 6172: 	 $as_test_x conftest$ac_exeext
 6173:        }; then
 6174:   eval "$as_ac_var=yes"
 6175: else
 6176:   $as_echo "$as_me: failed program was:" >&5
 6177: sed 's/^/| /' conftest.$ac_ext >&5
 6178: 
 6179: 	eval "$as_ac_var=no"
 6180: fi
 6181: 
 6182: rm -rf conftest.dSYM
 6183: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 6184:       conftest$ac_exeext conftest.$ac_ext
 6185: fi
 6186: ac_res=`eval 'as_val=${'$as_ac_var'}
 6187: 		 $as_echo "$as_val"'`
 6188: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 6189: $as_echo "$ac_res" >&6; }
 6190: if test `eval 'as_val=${'$as_ac_var'}
 6191: 		 $as_echo "$as_val"'` = yes; then
 6192:   cat >>confdefs.h <<_ACEOF
 6193: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 6194: _ACEOF
 6195: 
 6196: fi
 6197: done
 6198: 
 6199: 
 6200: 
 6201: for ac_func in crcFletcher16 hash_fnv1
 6202: do
 6203: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 6204: { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 6205: $as_echo_n "checking for $ac_func... " >&6; }
 6206: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 6207:   $as_echo_n "(cached) " >&6
 6208: else
 6209:   cat >conftest.$ac_ext <<_ACEOF
 6210: /* confdefs.h.  */
 6211: _ACEOF
 6212: cat confdefs.h >>conftest.$ac_ext
 6213: cat >>conftest.$ac_ext <<_ACEOF
 6214: /* end confdefs.h.  */
 6215: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 6216:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 6217: #define $ac_func innocuous_$ac_func
 6218: 
 6219: /* System header to define __stub macros and hopefully few prototypes,
 6220:     which can conflict with char $ac_func (); below.
 6221:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 6222:     <limits.h> exists even on freestanding compilers.  */
 6223: 
 6224: #ifdef __STDC__
 6225: # include <limits.h>
 6226: #else
 6227: # include <assert.h>
 6228: #endif
 6229: 
 6230: #undef $ac_func
 6231: 
 6232: /* Override any GCC internal prototype to avoid an error.
 6233:    Use char because int might match the return type of a GCC
 6234:    builtin and then its argument prototype would still apply.  */
 6235: #ifdef __cplusplus
 6236: extern "C"
 6237: #endif
 6238: char $ac_func ();
 6239: /* The GNU C library defines this for functions which it implements
 6240:     to always fail with ENOSYS.  Some functions are actually named
 6241:     something starting with __ and the normal name is an alias.  */
 6242: #if defined __stub_$ac_func || defined __stub___$ac_func
 6243: choke me
 6244: #endif
 6245: 
 6246: int
 6247: main ()
 6248: {
 6249: return $ac_func ();
 6250:   ;
 6251:   return 0;
 6252: }
 6253: _ACEOF
 6254: rm -f conftest.$ac_objext conftest$ac_exeext
 6255: if { (ac_try="$ac_link"
 6256: case "(($ac_try" in
 6257:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 6258:   *) ac_try_echo=$ac_try;;
 6259: esac
 6260: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 6261: $as_echo "$ac_try_echo") >&5
 6262:   (eval "$ac_link") 2>conftest.er1
 6263:   ac_status=$?
 6264:   grep -v '^ *+' conftest.er1 >conftest.err
 6265:   rm -f conftest.er1
 6266:   cat conftest.err >&5
 6267:   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6268:   (exit $ac_status); } && {
 6269: 	 test -z "$ac_c_werror_flag" ||
 6270: 	 test ! -s conftest.err
 6271:        } && test -s conftest$ac_exeext && {
 6272: 	 test "$cross_compiling" = yes ||
 6273: 	 $as_test_x conftest$ac_exeext
 6274:        }; then
 6275:   eval "$as_ac_var=yes"
 6276: else
 6277:   $as_echo "$as_me: failed program was:" >&5
 6278: sed 's/^/| /' conftest.$ac_ext >&5
 6279: 
 6280: 	eval "$as_ac_var=no"
 6281: fi
 6282: 
 6283: rm -rf conftest.dSYM
 6284: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 6285:       conftest$ac_exeext conftest.$ac_ext
 6286: fi
 6287: ac_res=`eval 'as_val=${'$as_ac_var'}
 6288: 		 $as_echo "$as_val"'`
 6289: 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 6290: $as_echo "$ac_res" >&6; }
 6291: if test `eval 'as_val=${'$as_ac_var'}
 6292: 		 $as_echo "$as_val"'` = yes; then
 6293:   cat >>confdefs.h <<_ACEOF
 6294: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 6295: _ACEOF
 6296: 
 6297: fi
 6298: done
 6299: 
 6300: 
 6301: DEBUG=no
 6302: { $as_echo "$as_me:$LINENO: checking Debug Build" >&5
 6303: $as_echo_n "checking Debug Build... " >&6; }
 6304: # Check whether --enable-debug was given.
 6305: if test "${enable_debug+set}" = set; then
 6306:   enableval=$enable_debug;  DEBUG=$enableval
 6307: 		case "$enableval" in
 6308: 			yes)
 6309: 
 6310: cat >>confdefs.h <<\_ACEOF
 6311: #define __DEBUG /**/
 6312: _ACEOF
 6313: 
 6314: 				CFLAGS="-g ${CFLAGS}"
 6315: 				;;
 6316: 			*)
 6317: 
 6318: cat >>confdefs.h <<\_ACEOF
 6319: #define NDEBUG /**/
 6320: _ACEOF
 6321: 
 6322: 				;;
 6323: 		esac
 6324: fi
 6325: 
 6326: { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
 6327: $as_echo "$DEBUG" >&6; }
 6328: 
 6329: ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"
 6330: 
 6331: cat >confcache <<\_ACEOF
 6332: # This file is a shell script that caches the results of configure
 6333: # tests run on this system so they can be shared between configure
 6334: # scripts and configure runs, see configure's option --config-cache.
 6335: # It is not useful on other systems.  If it contains results you don't
 6336: # want to keep, you may remove or edit it.
 6337: #
 6338: # config.status only pays attention to the cache file if you give it
 6339: # the --recheck option to rerun configure.
 6340: #
 6341: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 6342: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 6343: # following values.
 6344: 
 6345: _ACEOF
 6346: 
 6347: # The following way of writing the cache mishandles newlines in values,
 6348: # but we know of no workaround that is simple, portable, and efficient.
 6349: # So, we kill variables containing newlines.
 6350: # Ultrix sh set writes to stderr and can't be redirected directly,
 6351: # and sets the high bit in the cache file unless we assign to the vars.
 6352: (
 6353:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 6354:     eval ac_val=\$$ac_var
 6355:     case $ac_val in #(
 6356:     *${as_nl}*)
 6357:       case $ac_var in #(
 6358:       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 6359: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 6360:       esac
 6361:       case $ac_var in #(
 6362:       _ | IFS | as_nl) ;; #(
 6363:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 6364:       *) $as_unset $ac_var ;;
 6365:       esac ;;
 6366:     esac
 6367:   done
 6368: 
 6369:   (set) 2>&1 |
 6370:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 6371:     *${as_nl}ac_space=\ *)
 6372:       # `set' does not quote correctly, so add quotes (double-quote
 6373:       # substitution turns \\\\ into \\, and sed turns \\ into \).
 6374:       sed -n \
 6375: 	"s/'/'\\\\''/g;
 6376: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 6377:       ;; #(
 6378:     *)
 6379:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 6380:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 6381:       ;;
 6382:     esac |
 6383:     sort
 6384: ) |
 6385:   sed '
 6386:      /^ac_cv_env_/b end
 6387:      t clear
 6388:      :clear
 6389:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 6390:      t end
 6391:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 6392:      :end' >>confcache
 6393: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 6394:   if test -w "$cache_file"; then
 6395:     test "x$cache_file" != "x/dev/null" &&
 6396:       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 6397: $as_echo "$as_me: updating cache $cache_file" >&6;}
 6398:     cat confcache >$cache_file
 6399:   else
 6400:     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 6401: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 6402:   fi
 6403: fi
 6404: rm -f confcache
 6405: 
 6406: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 6407: # Let make expand exec_prefix.
 6408: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 6409: 
 6410: DEFS=-DHAVE_CONFIG_H
 6411: 
 6412: ac_libobjs=
 6413: ac_ltlibobjs=
 6414: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 6415:   # 1. Remove the extension, and $U if already installed.
 6416:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 6417:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 6418:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 6419:   #    will be set to the directory where LIBOBJS objects are built.
 6420:   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 6421:   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 6422: done
 6423: LIBOBJS=$ac_libobjs
 6424: 
 6425: LTLIBOBJS=$ac_ltlibobjs
 6426: 
 6427: 
 6428: 
 6429: : ${CONFIG_STATUS=./config.status}
 6430: ac_write_fail=0
 6431: ac_clean_files_save=$ac_clean_files
 6432: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 6433: { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 6434: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 6435: cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 6436: #! $SHELL
 6437: # Generated by $as_me.
 6438: # Run this file to recreate the current configuration.
 6439: # Compiler output produced by configure, useful for debugging
 6440: # configure, is in config.log if it exists.
 6441: 
 6442: debug=false
 6443: ac_cs_recheck=false
 6444: ac_cs_silent=false
 6445: SHELL=\${CONFIG_SHELL-$SHELL}
 6446: _ACEOF
 6447: 
 6448: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 6449: ## --------------------- ##
 6450: ## M4sh Initialization.  ##
 6451: ## --------------------- ##
 6452: 
 6453: # Be more Bourne compatible
 6454: DUALCASE=1; export DUALCASE # for MKS sh
 6455: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 6456:   emulate sh
 6457:   NULLCMD=:
 6458:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 6459:   # is contrary to our usage.  Disable this feature.
 6460:   alias -g '${1+"$@"}'='"$@"'
 6461:   setopt NO_GLOB_SUBST
 6462: else
 6463:   case `(set -o) 2>/dev/null` in
 6464:   *posix*) set -o posix ;;
 6465: esac
 6466: 
 6467: fi
 6468: 
 6469: 
 6470: 
 6471: 
 6472: # PATH needs CR
 6473: # Avoid depending upon Character Ranges.
 6474: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 6475: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 6476: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 6477: as_cr_digits='0123456789'
 6478: as_cr_alnum=$as_cr_Letters$as_cr_digits
 6479: 
 6480: as_nl='
 6481: '
 6482: export as_nl
 6483: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 6484: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 6485: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 6486: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 6487: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 6488:   as_echo='printf %s\n'
 6489:   as_echo_n='printf %s'
 6490: else
 6491:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 6492:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 6493:     as_echo_n='/usr/ucb/echo -n'
 6494:   else
 6495:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 6496:     as_echo_n_body='eval
 6497:       arg=$1;
 6498:       case $arg in
 6499:       *"$as_nl"*)
 6500: 	expr "X$arg" : "X\\(.*\\)$as_nl";
 6501: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 6502:       esac;
 6503:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 6504:     '
 6505:     export as_echo_n_body
 6506:     as_echo_n='sh -c $as_echo_n_body as_echo'
 6507:   fi
 6508:   export as_echo_body
 6509:   as_echo='sh -c $as_echo_body as_echo'
 6510: fi
 6511: 
 6512: # The user is always right.
 6513: if test "${PATH_SEPARATOR+set}" != set; then
 6514:   PATH_SEPARATOR=:
 6515:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 6516:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 6517:       PATH_SEPARATOR=';'
 6518:   }
 6519: fi
 6520: 
 6521: # Support unset when possible.
 6522: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 6523:   as_unset=unset
 6524: else
 6525:   as_unset=false
 6526: fi
 6527: 
 6528: 
 6529: # IFS
 6530: # We need space, tab and new line, in precisely that order.  Quoting is
 6531: # there to prevent editors from complaining about space-tab.
 6532: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 6533: # splitting by setting IFS to empty value.)
 6534: IFS=" ""	$as_nl"
 6535: 
 6536: # Find who we are.  Look in the path if we contain no directory separator.
 6537: case $0 in
 6538:   *[\\/]* ) as_myself=$0 ;;
 6539:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6540: for as_dir in $PATH
 6541: do
 6542:   IFS=$as_save_IFS
 6543:   test -z "$as_dir" && as_dir=.
 6544:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 6545: done
 6546: IFS=$as_save_IFS
 6547: 
 6548:      ;;
 6549: esac
 6550: # We did not find ourselves, most probably we were run as `sh COMMAND'
 6551: # in which case we are not to be found in the path.
 6552: if test "x$as_myself" = x; then
 6553:   as_myself=$0
 6554: fi
 6555: if test ! -f "$as_myself"; then
 6556:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 6557:   { (exit 1); exit 1; }
 6558: fi
 6559: 
 6560: # Work around bugs in pre-3.0 UWIN ksh.
 6561: for as_var in ENV MAIL MAILPATH
 6562: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 6563: done
 6564: PS1='$ '
 6565: PS2='> '
 6566: PS4='+ '
 6567: 
 6568: # NLS nuisances.
 6569: LC_ALL=C
 6570: export LC_ALL
 6571: LANGUAGE=C
 6572: export LANGUAGE
 6573: 
 6574: # Required to use basename.
 6575: if expr a : '\(a\)' >/dev/null 2>&1 &&
 6576:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 6577:   as_expr=expr
 6578: else
 6579:   as_expr=false
 6580: fi
 6581: 
 6582: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 6583:   as_basename=basename
 6584: else
 6585:   as_basename=false
 6586: fi
 6587: 
 6588: 
 6589: # Name of the executable.
 6590: as_me=`$as_basename -- "$0" ||
 6591: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 6592: 	 X"$0" : 'X\(//\)$' \| \
 6593: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 6594: $as_echo X/"$0" |
 6595:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 6596: 	    s//\1/
 6597: 	    q
 6598: 	  }
 6599: 	  /^X\/\(\/\/\)$/{
 6600: 	    s//\1/
 6601: 	    q
 6602: 	  }
 6603: 	  /^X\/\(\/\).*/{
 6604: 	    s//\1/
 6605: 	    q
 6606: 	  }
 6607: 	  s/.*/./; q'`
 6608: 
 6609: # CDPATH.
 6610: $as_unset CDPATH
 6611: 
 6612: 
 6613: 
 6614:   as_lineno_1=$LINENO
 6615:   as_lineno_2=$LINENO
 6616:   test "x$as_lineno_1" != "x$as_lineno_2" &&
 6617:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 6618: 
 6619:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 6620:   # uniformly replaced by the line number.  The first 'sed' inserts a
 6621:   # line-number line after each line using $LINENO; the second 'sed'
 6622:   # does the real work.  The second script uses 'N' to pair each
 6623:   # line-number line with the line containing $LINENO, and appends
 6624:   # trailing '-' during substitution so that $LINENO is not a special
 6625:   # case at line end.
 6626:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 6627:   # scripts with optimization help from Paolo Bonzini.  Blame Lee
 6628:   # E. McMahon (1931-1989) for sed's syntax.  :-)
 6629:   sed -n '
 6630:     p
 6631:     /[$]LINENO/=
 6632:   ' <$as_myself |
 6633:     sed '
 6634:       s/[$]LINENO.*/&-/
 6635:       t lineno
 6636:       b
 6637:       :lineno
 6638:       N
 6639:       :loop
 6640:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 6641:       t loop
 6642:       s/-\n.*//
 6643:     ' >$as_me.lineno &&
 6644:   chmod +x "$as_me.lineno" ||
 6645:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 6646:    { (exit 1); exit 1; }; }
 6647: 
 6648:   # Don't try to exec as it changes $[0], causing all sort of problems
 6649:   # (the dirname of $[0] is not the place where we might find the
 6650:   # original and so on.  Autoconf is especially sensitive to this).
 6651:   . "./$as_me.lineno"
 6652:   # Exit status is that of the last command.
 6653:   exit
 6654: }
 6655: 
 6656: 
 6657: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 6658:   as_dirname=dirname
 6659: else
 6660:   as_dirname=false
 6661: fi
 6662: 
 6663: ECHO_C= ECHO_N= ECHO_T=
 6664: case `echo -n x` in
 6665: -n*)
 6666:   case `echo 'x\c'` in
 6667:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 6668:   *)   ECHO_C='\c';;
 6669:   esac;;
 6670: *)
 6671:   ECHO_N='-n';;
 6672: esac
 6673: if expr a : '\(a\)' >/dev/null 2>&1 &&
 6674:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 6675:   as_expr=expr
 6676: else
 6677:   as_expr=false
 6678: fi
 6679: 
 6680: rm -f conf$$ conf$$.exe conf$$.file
 6681: if test -d conf$$.dir; then
 6682:   rm -f conf$$.dir/conf$$.file
 6683: else
 6684:   rm -f conf$$.dir
 6685:   mkdir conf$$.dir 2>/dev/null
 6686: fi
 6687: if (echo >conf$$.file) 2>/dev/null; then
 6688:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 6689:     as_ln_s='ln -s'
 6690:     # ... but there are two gotchas:
 6691:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 6692:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 6693:     # In both cases, we have to default to `cp -p'.
 6694:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 6695:       as_ln_s='cp -p'
 6696:   elif ln conf$$.file conf$$ 2>/dev/null; then
 6697:     as_ln_s=ln
 6698:   else
 6699:     as_ln_s='cp -p'
 6700:   fi
 6701: else
 6702:   as_ln_s='cp -p'
 6703: fi
 6704: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 6705: rmdir conf$$.dir 2>/dev/null
 6706: 
 6707: if mkdir -p . 2>/dev/null; then
 6708:   as_mkdir_p=:
 6709: else
 6710:   test -d ./-p && rmdir ./-p
 6711:   as_mkdir_p=false
 6712: fi
 6713: 
 6714: if test -x / >/dev/null 2>&1; then
 6715:   as_test_x='test -x'
 6716: else
 6717:   if ls -dL / >/dev/null 2>&1; then
 6718:     as_ls_L_option=L
 6719:   else
 6720:     as_ls_L_option=
 6721:   fi
 6722:   as_test_x='
 6723:     eval sh -c '\''
 6724:       if test -d "$1"; then
 6725: 	test -d "$1/.";
 6726:       else
 6727: 	case $1 in
 6728: 	-*)set "./$1";;
 6729: 	esac;
 6730: 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 6731: 	???[sx]*):;;*)false;;esac;fi
 6732:     '\'' sh
 6733:   '
 6734: fi
 6735: as_executable_p=$as_test_x
 6736: 
 6737: # Sed expression to map a string onto a valid CPP name.
 6738: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 6739: 
 6740: # Sed expression to map a string onto a valid variable name.
 6741: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 6742: 
 6743: 
 6744: exec 6>&1
 6745: 
 6746: # Save the log message, to keep $[0] and so on meaningful, and to
 6747: # report actual input values of CONFIG_FILES etc. instead of their
 6748: # values after options handling.
 6749: ac_log="
 6750: This file was extended by libaitrpc $as_me 1.0, which was
 6751: generated by GNU Autoconf 2.62.  Invocation command line was
 6752: 
 6753:   CONFIG_FILES    = $CONFIG_FILES
 6754:   CONFIG_HEADERS  = $CONFIG_HEADERS
 6755:   CONFIG_LINKS    = $CONFIG_LINKS
 6756:   CONFIG_COMMANDS = $CONFIG_COMMANDS
 6757:   $ $0 $@
 6758: 
 6759: on `(hostname || uname -n) 2>/dev/null | sed 1q`
 6760: "
 6761: 
 6762: _ACEOF
 6763: 
 6764: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 6765: # Files that config.status was made for.
 6766: config_files="$ac_config_files"
 6767: config_headers="$ac_config_headers"
 6768: 
 6769: _ACEOF
 6770: 
 6771: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 6772: ac_cs_usage="\
 6773: \`$as_me' instantiates files from templates according to the
 6774: current configuration.
 6775: 
 6776: Usage: $0 [OPTIONS] [FILE]...
 6777: 
 6778:   -h, --help       print this help, then exit
 6779:   -V, --version    print version number and configuration settings, then exit
 6780:   -q, --quiet      do not print progress messages
 6781:   -d, --debug      don't remove temporary files
 6782:       --recheck    update $as_me by reconfiguring in the same conditions
 6783:   --file=FILE[:TEMPLATE]
 6784:                    instantiate the configuration file FILE
 6785:   --header=FILE[:TEMPLATE]
 6786:                    instantiate the configuration header FILE
 6787: 
 6788: Configuration files:
 6789: $config_files
 6790: 
 6791: Configuration headers:
 6792: $config_headers
 6793: 
 6794: Report bugs to <bug-autoconf@gnu.org>."
 6795: 
 6796: _ACEOF
 6797: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 6798: ac_cs_version="\\
 6799: libaitrpc config.status 1.0
 6800: configured by $0, generated by GNU Autoconf 2.62,
 6801:   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 6802: 
 6803: Copyright (C) 2008 Free Software Foundation, Inc.
 6804: This config.status script is free software; the Free Software Foundation
 6805: gives unlimited permission to copy, distribute and modify it."
 6806: 
 6807: ac_pwd='$ac_pwd'
 6808: srcdir='$srcdir'
 6809: INSTALL='$INSTALL'
 6810: test -n "\$AWK" || AWK=awk
 6811: _ACEOF
 6812: 
 6813: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 6814: # The default lists apply if the user does not specify any file.
 6815: ac_need_defaults=:
 6816: while test $# != 0
 6817: do
 6818:   case $1 in
 6819:   --*=*)
 6820:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 6821:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 6822:     ac_shift=:
 6823:     ;;
 6824:   *)
 6825:     ac_option=$1
 6826:     ac_optarg=$2
 6827:     ac_shift=shift
 6828:     ;;
 6829:   esac
 6830: 
 6831:   case $ac_option in
 6832:   # Handling of the options.
 6833:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 6834:     ac_cs_recheck=: ;;
 6835:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 6836:     $as_echo "$ac_cs_version"; exit ;;
 6837:   --debug | --debu | --deb | --de | --d | -d )
 6838:     debug=: ;;
 6839:   --file | --fil | --fi | --f )
 6840:     $ac_shift
 6841:     case $ac_optarg in
 6842:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 6843:     esac
 6844:     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 6845:     ac_need_defaults=false;;
 6846:   --header | --heade | --head | --hea )
 6847:     $ac_shift
 6848:     case $ac_optarg in
 6849:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 6850:     esac
 6851:     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 6852:     ac_need_defaults=false;;
 6853:   --he | --h)
 6854:     # Conflict between --help and --header
 6855:     { $as_echo "$as_me: error: ambiguous option: $1
 6856: Try \`$0 --help' for more information." >&2
 6857:    { (exit 1); exit 1; }; };;
 6858:   --help | --hel | -h )
 6859:     $as_echo "$ac_cs_usage"; exit ;;
 6860:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 6861:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 6862:     ac_cs_silent=: ;;
 6863: 
 6864:   # This is an error.
 6865:   -*) { $as_echo "$as_me: error: unrecognized option: $1
 6866: Try \`$0 --help' for more information." >&2
 6867:    { (exit 1); exit 1; }; } ;;
 6868: 
 6869:   *) ac_config_targets="$ac_config_targets $1"
 6870:      ac_need_defaults=false ;;
 6871: 
 6872:   esac
 6873:   shift
 6874: done
 6875: 
 6876: ac_configure_extra_args=
 6877: 
 6878: if $ac_cs_silent; then
 6879:   exec 6>/dev/null
 6880:   ac_configure_extra_args="$ac_configure_extra_args --silent"
 6881: fi
 6882: 
 6883: _ACEOF
 6884: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 6885: if \$ac_cs_recheck; then
 6886:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 6887:   shift
 6888:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 6889:   CONFIG_SHELL='$SHELL'
 6890:   export CONFIG_SHELL
 6891:   exec "\$@"
 6892: fi
 6893: 
 6894: _ACEOF
 6895: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 6896: exec 5>>config.log
 6897: {
 6898:   echo
 6899:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 6900: ## Running $as_me. ##
 6901: _ASBOX
 6902:   $as_echo "$ac_log"
 6903: } >&5
 6904: 
 6905: _ACEOF
 6906: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 6907: _ACEOF
 6908: 
 6909: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 6910: 
 6911: # Handling of arguments.
 6912: for ac_config_target in $ac_config_targets
 6913: do
 6914:   case $ac_config_target in
 6915:     "inc/config.h") CONFIG_HEADERS="$CONFIG_HEADERS inc/config.h" ;;
 6916:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 6917:     "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
 6918:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
 6919:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 6920: 
 6921:   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 6922: $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 6923:    { (exit 1); exit 1; }; };;
 6924:   esac
 6925: done
 6926: 
 6927: 
 6928: # If the user did not use the arguments to specify the items to instantiate,
 6929: # then the envvar interface is used.  Set only those that are not.
 6930: # We use the long form for the default assignment because of an extremely
 6931: # bizarre bug on SunOS 4.1.3.
 6932: if $ac_need_defaults; then
 6933:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 6934:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 6935: fi
 6936: 
 6937: # Have a temporary directory for convenience.  Make it in the build tree
 6938: # simply because there is no reason against having it here, and in addition,
 6939: # creating and moving files from /tmp can sometimes cause problems.
 6940: # Hook for its removal unless debugging.
 6941: # Note that there is a small window in which the directory will not be cleaned:
 6942: # after its creation but before its name has been assigned to `$tmp'.
 6943: $debug ||
 6944: {
 6945:   tmp=
 6946:   trap 'exit_status=$?
 6947:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 6948: ' 0
 6949:   trap '{ (exit 1); exit 1; }' 1 2 13 15
 6950: }
 6951: # Create a (secure) tmp directory for tmp files.
 6952: 
 6953: {
 6954:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 6955:   test -n "$tmp" && test -d "$tmp"
 6956: }  ||
 6957: {
 6958:   tmp=./conf$$-$RANDOM
 6959:   (umask 077 && mkdir "$tmp")
 6960: } ||
 6961: {
 6962:    $as_echo "$as_me: cannot create a temporary directory in ." >&2
 6963:    { (exit 1); exit 1; }
 6964: }
 6965: 
 6966: # Set up the scripts for CONFIG_FILES section.
 6967: # No need to generate them if there are no CONFIG_FILES.
 6968: # This happens for instance with `./config.status config.h'.
 6969: if test -n "$CONFIG_FILES"; then
 6970: 
 6971: 
 6972: ac_cr='
'
 6973: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 6974: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 6975:   ac_cs_awk_cr='\\r'
 6976: else
 6977:   ac_cs_awk_cr=$ac_cr
 6978: fi
 6979: 
 6980: echo 'BEGIN {' >"$tmp/subs1.awk" &&
 6981: _ACEOF
 6982: 
 6983: 
 6984: {
 6985:   echo "cat >conf$$subs.awk <<_ACEOF" &&
 6986:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 6987:   echo "_ACEOF"
 6988: } >conf$$subs.sh ||
 6989:   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 6990: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 6991:    { (exit 1); exit 1; }; }
 6992: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 6993: ac_delim='%!_!# '
 6994: for ac_last_try in false false false false false :; do
 6995:   . ./conf$$subs.sh ||
 6996:     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 6997: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 6998:    { (exit 1); exit 1; }; }
 6999: 
 7000:   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 7001:     break
 7002:   elif $ac_last_try; then
 7003:     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 7004: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 7005:    { (exit 1); exit 1; }; }
 7006:   else
 7007:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 7008:   fi
 7009: done
 7010: rm -f conf$$subs.sh
 7011: 
 7012: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 7013: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 7014: _ACEOF
 7015: sed -n '
 7016: h
 7017: s/^/S["/; s/!.*/"]=/
 7018: p
 7019: g
 7020: s/^[^!]*!//
 7021: :repl
 7022: t repl
 7023: s/'"$ac_delim"'$//
 7024: t delim
 7025: :nl
 7026: h
 7027: s/\(.\{148\}\).*/\1/
 7028: t more1
 7029: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 7030: p
 7031: n
 7032: b repl
 7033: :more1
 7034: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 7035: p
 7036: g
 7037: s/.\{148\}//
 7038: t nl
 7039: :delim
 7040: h
 7041: s/\(.\{148\}\).*/\1/
 7042: t more2
 7043: s/["\\]/\\&/g; s/^/"/; s/$/"/
 7044: p
 7045: b
 7046: :more2
 7047: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 7048: p
 7049: g
 7050: s/.\{148\}//
 7051: t delim
 7052: ' <conf$$subs.awk | sed '
 7053: /^[^""]/{
 7054:   N
 7055:   s/\n//
 7056: }
 7057: ' >>$CONFIG_STATUS || ac_write_fail=1
 7058: rm -f conf$$subs.awk
 7059: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 7060: _ACAWK
 7061: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 7062:   for (key in S) S_is_set[key] = 1
 7063:   FS = ""
 7064: 
 7065: }
 7066: {
 7067:   line = $ 0
 7068:   nfields = split(line, field, "@")
 7069:   substed = 0
 7070:   len = length(field[1])
 7071:   for (i = 2; i < nfields; i++) {
 7072:     key = field[i]
 7073:     keylen = length(key)
 7074:     if (S_is_set[key]) {
 7075:       value = S[key]
 7076:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 7077:       len += length(value) + length(field[++i])
 7078:       substed = 1
 7079:     } else
 7080:       len += 1 + keylen
 7081:   }
 7082: 
 7083:   print line
 7084: }
 7085: 
 7086: _ACAWK
 7087: _ACEOF
 7088: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 7089: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 7090:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 7091: else
 7092:   cat
 7093: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 7094:   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 7095: $as_echo "$as_me: error: could not setup config files machinery" >&2;}
 7096:    { (exit 1); exit 1; }; }
 7097: _ACEOF
 7098: 
 7099: # VPATH may cause trouble with some makes, so we remove $(srcdir),
 7100: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 7101: # trailing colons and then remove the whole line if VPATH becomes empty
 7102: # (actually we leave an empty line to preserve line numbers).
 7103: if test "x$srcdir" = x.; then
 7104:   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 7105: s/:*\$(srcdir):*/:/
 7106: s/:*\${srcdir}:*/:/
 7107: s/:*@srcdir@:*/:/
 7108: s/^\([^=]*=[	 ]*\):*/\1/
 7109: s/:*$//
 7110: s/^[^=]*=[	 ]*$//
 7111: }'
 7112: fi
 7113: 
 7114: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 7115: fi # test -n "$CONFIG_FILES"
 7116: 
 7117: # Set up the scripts for CONFIG_HEADERS section.
 7118: # No need to generate them if there are no CONFIG_HEADERS.
 7119: # This happens for instance with `./config.status Makefile'.
 7120: if test -n "$CONFIG_HEADERS"; then
 7121: cat >"$tmp/defines.awk" <<\_ACAWK ||
 7122: BEGIN {
 7123: _ACEOF
 7124: 
 7125: # Transform confdefs.h into an awk script `defines.awk', embedded as
 7126: # here-document in config.status, that substitutes the proper values into
 7127: # config.h.in to produce config.h.
 7128: 
 7129: # Create a delimiter string that does not exist in confdefs.h, to ease
 7130: # handling of long lines.
 7131: ac_delim='%!_!# '
 7132: for ac_last_try in false false :; do
 7133:   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 7134:   if test -z "$ac_t"; then
 7135:     break
 7136:   elif $ac_last_try; then
 7137:     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 7138: $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 7139:    { (exit 1); exit 1; }; }
 7140:   else
 7141:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 7142:   fi
 7143: done
 7144: 
 7145: # For the awk script, D is an array of macro values keyed by name,
 7146: # likewise P contains macro parameters if any.  Preserve backslash
 7147: # newline sequences.
 7148: 
 7149: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 7150: sed -n '
 7151: s/.\{148\}/&'"$ac_delim"'/g
 7152: t rset
 7153: :rset
 7154: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 7155: t def
 7156: d
 7157: :def
 7158: s/\\$//
 7159: t bsnl
 7160: s/["\\]/\\&/g
 7161: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 7162: D["\1"]=" \3"/p
 7163: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 7164: d
 7165: :bsnl
 7166: s/["\\]/\\&/g
 7167: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 7168: D["\1"]=" \3\\\\\\n"\\/p
 7169: t cont
 7170: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 7171: t cont
 7172: d
 7173: :cont
 7174: n
 7175: s/.\{148\}/&'"$ac_delim"'/g
 7176: t clear
 7177: :clear
 7178: s/\\$//
 7179: t bsnlc
 7180: s/["\\]/\\&/g; s/^/"/; s/$/"/p
 7181: d
 7182: :bsnlc
 7183: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 7184: b cont
 7185: ' <confdefs.h | sed '
 7186: s/'"$ac_delim"'/"\\\
 7187: "/g' >>$CONFIG_STATUS || ac_write_fail=1
 7188: 
 7189: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 7190:   for (key in D) D_is_set[key] = 1
 7191:   FS = ""
 7192: }
 7193: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 7194:   line = \$ 0
 7195:   split(line, arg, " ")
 7196:   if (arg[1] == "#") {
 7197:     defundef = arg[2]
 7198:     mac1 = arg[3]
 7199:   } else {
 7200:     defundef = substr(arg[1], 2)
 7201:     mac1 = arg[2]
 7202:   }
 7203:   split(mac1, mac2, "(") #)
 7204:   macro = mac2[1]
 7205:   if (D_is_set[macro]) {
 7206:     # Preserve the white space surrounding the "#".
 7207:     prefix = substr(line, 1, index(line, defundef) - 1)
 7208:     print prefix "define", macro P[macro] D[macro]
 7209:     next
 7210:   } else {
 7211:     # Replace #undef with comments.  This is necessary, for example,
 7212:     # in the case of _POSIX_SOURCE, which is predefined and required
 7213:     # on some systems where configure will not decide to define it.
 7214:     if (defundef == "undef") {
 7215:       print "/*", line, "*/"
 7216:       next
 7217:     }
 7218:   }
 7219: }
 7220: { print }
 7221: _ACAWK
 7222: _ACEOF
 7223: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 7224:   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 7225: $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 7226:    { (exit 1); exit 1; }; }
 7227: fi # test -n "$CONFIG_HEADERS"
 7228: 
 7229: 
 7230: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
 7231: shift
 7232: for ac_tag
 7233: do
 7234:   case $ac_tag in
 7235:   :[FHLC]) ac_mode=$ac_tag; continue;;
 7236:   esac
 7237:   case $ac_mode$ac_tag in
 7238:   :[FHL]*:*);;
 7239:   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 7240: $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 7241:    { (exit 1); exit 1; }; };;
 7242:   :[FH]-) ac_tag=-:-;;
 7243:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 7244:   esac
 7245:   ac_save_IFS=$IFS
 7246:   IFS=:
 7247:   set x $ac_tag
 7248:   IFS=$ac_save_IFS
 7249:   shift
 7250:   ac_file=$1
 7251:   shift
 7252: 
 7253:   case $ac_mode in
 7254:   :L) ac_source=$1;;
 7255:   :[FH])
 7256:     ac_file_inputs=
 7257:     for ac_f
 7258:     do
 7259:       case $ac_f in
 7260:       -) ac_f="$tmp/stdin";;
 7261:       *) # Look for the file first in the build tree, then in the source tree
 7262: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 7263: 	 # because $ac_f cannot contain `:'.
 7264: 	 test -f "$ac_f" ||
 7265: 	   case $ac_f in
 7266: 	   [\\/$]*) false;;
 7267: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 7268: 	   esac ||
 7269: 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 7270: $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 7271:    { (exit 1); exit 1; }; };;
 7272:       esac
 7273:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 7274:       ac_file_inputs="$ac_file_inputs '$ac_f'"
 7275:     done
 7276: 
 7277:     # Let's still pretend it is `configure' which instantiates (i.e., don't
 7278:     # use $as_me), people would be surprised to read:
 7279:     #    /* config.h.  Generated by config.status.  */
 7280:     configure_input='Generated from '`
 7281: 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 7282: 	`' by configure.'
 7283:     if test x"$ac_file" != x-; then
 7284:       configure_input="$ac_file.  $configure_input"
 7285:       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 7286: $as_echo "$as_me: creating $ac_file" >&6;}
 7287:     fi
 7288:     # Neutralize special characters interpreted by sed in replacement strings.
 7289:     case $configure_input in #(
 7290:     *\&* | *\|* | *\\* )
 7291:        ac_sed_conf_input=`$as_echo "$configure_input" |
 7292:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 7293:     *) ac_sed_conf_input=$configure_input;;
 7294:     esac
 7295: 
 7296:     case $ac_tag in
 7297:     *:-:* | *:-) cat >"$tmp/stdin" \
 7298:       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 7299: $as_echo "$as_me: error: could not create $ac_file" >&2;}
 7300:    { (exit 1); exit 1; }; } ;;
 7301:     esac
 7302:     ;;
 7303:   esac
 7304: 
 7305:   ac_dir=`$as_dirname -- "$ac_file" ||
 7306: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 7307: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 7308: 	 X"$ac_file" : 'X\(//\)$' \| \
 7309: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 7310: $as_echo X"$ac_file" |
 7311:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 7312: 	    s//\1/
 7313: 	    q
 7314: 	  }
 7315: 	  /^X\(\/\/\)[^/].*/{
 7316: 	    s//\1/
 7317: 	    q
 7318: 	  }
 7319: 	  /^X\(\/\/\)$/{
 7320: 	    s//\1/
 7321: 	    q
 7322: 	  }
 7323: 	  /^X\(\/\).*/{
 7324: 	    s//\1/
 7325: 	    q
 7326: 	  }
 7327: 	  s/.*/./; q'`
 7328:   { as_dir="$ac_dir"
 7329:   case $as_dir in #(
 7330:   -*) as_dir=./$as_dir;;
 7331:   esac
 7332:   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 7333:     as_dirs=
 7334:     while :; do
 7335:       case $as_dir in #(
 7336:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 7337:       *) as_qdir=$as_dir;;
 7338:       esac
 7339:       as_dirs="'$as_qdir' $as_dirs"
 7340:       as_dir=`$as_dirname -- "$as_dir" ||
 7341: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 7342: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 7343: 	 X"$as_dir" : 'X\(//\)$' \| \
 7344: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 7345: $as_echo X"$as_dir" |
 7346:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 7347: 	    s//\1/
 7348: 	    q
 7349: 	  }
 7350: 	  /^X\(\/\/\)[^/].*/{
 7351: 	    s//\1/
 7352: 	    q
 7353: 	  }
 7354: 	  /^X\(\/\/\)$/{
 7355: 	    s//\1/
 7356: 	    q
 7357: 	  }
 7358: 	  /^X\(\/\).*/{
 7359: 	    s//\1/
 7360: 	    q
 7361: 	  }
 7362: 	  s/.*/./; q'`
 7363:       test -d "$as_dir" && break
 7364:     done
 7365:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 7366:   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 7367: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 7368:    { (exit 1); exit 1; }; }; }
 7369:   ac_builddir=.
 7370: 
 7371: case "$ac_dir" in
 7372: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 7373: *)
 7374:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 7375:   # A ".." for each directory in $ac_dir_suffix.
 7376:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 7377:   case $ac_top_builddir_sub in
 7378:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 7379:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 7380:   esac ;;
 7381: esac
 7382: ac_abs_top_builddir=$ac_pwd
 7383: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 7384: # for backward compatibility:
 7385: ac_top_builddir=$ac_top_build_prefix
 7386: 
 7387: case $srcdir in
 7388:   .)  # We are building in place.
 7389:     ac_srcdir=.
 7390:     ac_top_srcdir=$ac_top_builddir_sub
 7391:     ac_abs_top_srcdir=$ac_pwd ;;
 7392:   [\\/]* | ?:[\\/]* )  # Absolute name.
 7393:     ac_srcdir=$srcdir$ac_dir_suffix;
 7394:     ac_top_srcdir=$srcdir
 7395:     ac_abs_top_srcdir=$srcdir ;;
 7396:   *) # Relative name.
 7397:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 7398:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 7399:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 7400: esac
 7401: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 7402: 
 7403: 
 7404:   case $ac_mode in
 7405:   :F)
 7406:   #
 7407:   # CONFIG_FILE
 7408:   #
 7409: 
 7410:   case $INSTALL in
 7411:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 7412:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 7413:   esac
 7414: _ACEOF
 7415: 
 7416: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 7417: # If the template does not know about datarootdir, expand it.
 7418: # FIXME: This hack should be removed a few years after 2.60.
 7419: ac_datarootdir_hack=; ac_datarootdir_seen=
 7420: 
 7421: ac_sed_dataroot='
 7422: /datarootdir/ {
 7423:   p
 7424:   q
 7425: }
 7426: /@datadir@/p
 7427: /@docdir@/p
 7428: /@infodir@/p
 7429: /@localedir@/p
 7430: /@mandir@/p
 7431: '
 7432: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 7433: *datarootdir*) ac_datarootdir_seen=yes;;
 7434: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 7435:   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 7436: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 7437: _ACEOF
 7438: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 7439:   ac_datarootdir_hack='
 7440:   s&@datadir@&$datadir&g
 7441:   s&@docdir@&$docdir&g
 7442:   s&@infodir@&$infodir&g
 7443:   s&@localedir@&$localedir&g
 7444:   s&@mandir@&$mandir&g
 7445:     s&\\\${datarootdir}&$datarootdir&g' ;;
 7446: esac
 7447: _ACEOF
 7448: 
 7449: # Neutralize VPATH when `$srcdir' = `.'.
 7450: # Shell code in configure.ac might set extrasub.
 7451: # FIXME: do we really want to maintain this feature?
 7452: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 7453: ac_sed_extra="$ac_vpsub
 7454: $extrasub
 7455: _ACEOF
 7456: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 7457: :t
 7458: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 7459: s|@configure_input@|$ac_sed_conf_input|;t t
 7460: s&@top_builddir@&$ac_top_builddir_sub&;t t
 7461: s&@top_build_prefix@&$ac_top_build_prefix&;t t
 7462: s&@srcdir@&$ac_srcdir&;t t
 7463: s&@abs_srcdir@&$ac_abs_srcdir&;t t
 7464: s&@top_srcdir@&$ac_top_srcdir&;t t
 7465: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 7466: s&@builddir@&$ac_builddir&;t t
 7467: s&@abs_builddir@&$ac_abs_builddir&;t t
 7468: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 7469: s&@INSTALL@&$ac_INSTALL&;t t
 7470: $ac_datarootdir_hack
 7471: "
 7472: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 7473:   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 7474: $as_echo "$as_me: error: could not create $ac_file" >&2;}
 7475:    { (exit 1); exit 1; }; }
 7476: 
 7477: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 7478:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 7479:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 7480:   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 7481: which seems to be undefined.  Please make sure it is defined." >&5
 7482: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 7483: which seems to be undefined.  Please make sure it is defined." >&2;}
 7484: 
 7485:   rm -f "$tmp/stdin"
 7486:   case $ac_file in
 7487:   -) cat "$tmp/out" && rm -f "$tmp/out";;
 7488:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 7489:   esac \
 7490:   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 7491: $as_echo "$as_me: error: could not create $ac_file" >&2;}
 7492:    { (exit 1); exit 1; }; }
 7493:  ;;
 7494:   :H)
 7495:   #
 7496:   # CONFIG_HEADER
 7497:   #
 7498:   if test x"$ac_file" != x-; then
 7499:     {
 7500:       $as_echo "/* $configure_input  */" \
 7501:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 7502:     } >"$tmp/config.h" \
 7503:       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 7504: $as_echo "$as_me: error: could not create $ac_file" >&2;}
 7505:    { (exit 1); exit 1; }; }
 7506:     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 7507:       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 7508: $as_echo "$as_me: $ac_file is unchanged" >&6;}
 7509:     else
 7510:       rm -f "$ac_file"
 7511:       mv "$tmp/config.h" "$ac_file" \
 7512: 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 7513: $as_echo "$as_me: error: could not create $ac_file" >&2;}
 7514:    { (exit 1); exit 1; }; }
 7515:     fi
 7516:   else
 7517:     $as_echo "/* $configure_input  */" \
 7518:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 7519:       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 7520: $as_echo "$as_me: error: could not create -" >&2;}
 7521:    { (exit 1); exit 1; }; }
 7522:   fi
 7523:  ;;
 7524: 
 7525: 
 7526:   esac
 7527: 
 7528: done # for ac_tag
 7529: 
 7530: 
 7531: { (exit 0); exit 0; }
 7532: _ACEOF
 7533: chmod +x $CONFIG_STATUS
 7534: ac_clean_files=$ac_clean_files_save
 7535: 
 7536: test $ac_write_fail = 0 ||
 7537:   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 7538: $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 7539:    { (exit 1); exit 1; }; }
 7540: 
 7541: 
 7542: # configure is writing to config.log, and then calls config.status.
 7543: # config.status does its own redirection, appending to config.log.
 7544: # Unfortunately, on DOS this fails, as config.log is still kept open
 7545: # by configure, so config.status won't be able to write to it; its
 7546: # output is simply discarded.  So we exec the FD to /dev/null,
 7547: # effectively closing config.log, so it can be properly (re)opened and
 7548: # appended to by config.status.  When coming back to configure, we
 7549: # need to make the FD available again.
 7550: if test "$no_create" != yes; then
 7551:   ac_cs_success=:
 7552:   ac_config_status_args=
 7553:   test "$silent" = yes &&
 7554:     ac_config_status_args="$ac_config_status_args --quiet"
 7555:   exec 5>/dev/null
 7556:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 7557:   exec 5>>config.log
 7558:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 7559:   # would make configure fail if this is the last instruction.
 7560:   $ac_cs_success || { (exit 1); exit 1; }
 7561: fi
 7562: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 7563:   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
 7564: $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 7565: fi
 7566: 

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