File:  [ELWIX - Embedded LightWeight unIX -] / libaitcfg / configure
Revision 1.30: download - view: text, annotated - select for diffs - revision graph
Mon Mar 18 08:50:33 2024 UTC (2 months ago) by misho
Branches: MAIN
CVS tags: cfg9_5, HEAD, CFG9_4
Version 9.4

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

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