File:  [ELWIX - Embedded LightWeight unIX -] / libaitrpc / configure
Revision 1.42: download - view: text, annotated - select for diffs - revision graph
Mon Mar 31 17:06:03 2025 UTC (3 months ago) by misho
Branches: MAIN
CVS tags: rpc9_9, RPC9_8, HEAD
Version 9.8

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

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