File:  [ELWIX - Embedded LightWeight unIX -] / libelwix / configure
Revision 1.64.2.2: download - view: text, annotated - select for diffs - revision graph
Thu Jul 27 21:52:03 2023 UTC (9 months, 3 weeks ago) by misho
Branches: elwix5_8
Diff to: branchpoint 1.64: preferred, unified
new check

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

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