File:  [ELWIX - Embedded LightWeight unIX -] / libaitio / configure
Revision 1.6: download - view: text, annotated - select for diffs - revision graph
Thu Feb 10 22:01:33 2011 UTC (13 years, 3 months ago) by misho
Branches: MAIN
CVS tags: io1_5, IO1_4, HEAD
final version

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

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