File:  [ELWIX - Embedded LightWeight unIX -] / libaitio / configure
Revision 1.37.2.1: download - view: text, annotated - select for diffs - revision graph
Tue Jul 9 00:36:56 2013 UTC (11 years, 4 months ago) by misho
Branches: io5_6
Diff to: branchpoint 1.37: preferred, unified
new ver 5.6

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

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