File:  [ELWIX - Embedded LightWeight unIX -] / libaitsched / configure
Revision 1.59: download - view: text, annotated - select for diffs - revision graph
Mon Aug 19 13:22:12 2024 UTC (10 months, 1 week ago) by misho
Branches: MAIN
CVS tags: sched8_4, SCHED8_3, HEAD
Version 8.3

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

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