File:  [ELWIX - Embedded LightWeight unIX -] / libaitsched / configure
Revision 1.25: download - view: text, annotated - select for diffs - revision graph
Mon Aug 26 08:20:55 2013 UTC (10 years, 9 months ago) by misho
Branches: MAIN
CVS tags: sched4_1, SCHED4_0, HEAD
version 4.0

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

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