File:  [ELWIX - Embedded LightWeight unIX -] / libaitsched / configure
Revision 1.58: download - view: text, annotated - select for diffs - revision graph
Wed Mar 20 12:52:49 2024 UTC (8 weeks, 3 days ago) by misho
Branches: MAIN
CVS tags: sched8_3, SCHED8_2, HEAD
Version 8.2

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

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