File:  [ELWIX - Embedded LightWeight unIX -] / libelwix / configure
Revision 1.63: download - view: text, annotated - select for diffs - revision graph
Mon Oct 24 00:10:22 2022 UTC (18 months, 2 weeks ago) by misho
Branches: MAIN
CVS tags: elwix5_7, HEAD, ELWIX5_6
version 5.6

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.71 for libelwix 5.6.
    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.6'
  614: PACKAGE_STRING='libelwix 5.6'
  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.6 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.6:";;
 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.6
 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.6, 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: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lbsd" >&5
 3926: printf %s "checking for strlcpy in -lbsd... " >&6; }
 3927: if test ${ac_cv_lib_bsd_strlcpy+y}
 3928: then :
 3929:   printf %s "(cached) " >&6
 3930: else $as_nop
 3931:   ac_check_lib_save_LIBS=$LIBS
 3932: LIBS="-lbsd  $LIBS"
 3933: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3934: /* end confdefs.h.  */
 3935: 
 3936: /* Override any GCC internal prototype to avoid an error.
 3937:    Use char because int might match the return type of a GCC
 3938:    builtin and then its argument prototype would still apply.  */
 3939: char strlcpy ();
 3940: int
 3941: main (void)
 3942: {
 3943: return strlcpy ();
 3944:   ;
 3945:   return 0;
 3946: }
 3947: _ACEOF
 3948: if ac_fn_c_try_link "$LINENO"
 3949: then :
 3950:   ac_cv_lib_bsd_strlcpy=yes
 3951: else $as_nop
 3952:   ac_cv_lib_bsd_strlcpy=no
 3953: fi
 3954: rm -f core conftest.err conftest.$ac_objext conftest.beam \
 3955:     conftest$ac_exeext conftest.$ac_ext
 3956: LIBS=$ac_check_lib_save_LIBS
 3957: fi
 3958: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_strlcpy" >&5
 3959: printf "%s\n" "$ac_cv_lib_bsd_strlcpy" >&6; }
 3960: if test "x$ac_cv_lib_bsd_strlcpy" = xyes
 3961: then :
 3962:   printf "%s\n" "#define HAVE_LIBBSD 1" >>confdefs.h
 3963: 
 3964:   LIBS="-lbsd $LIBS"
 3965: 
 3966: fi
 3967: 
 3968: 
 3969: # Checks for header files.
 3970: ac_header= ac_cache=
 3971: for ac_item in $ac_header_c_list
 3972: do
 3973:   if test $ac_cache; then
 3974:     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
 3975:     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
 3976:       printf "%s\n" "#define $ac_item 1" >> confdefs.h
 3977:     fi
 3978:     ac_header= ac_cache=
 3979:   elif test $ac_header; then
 3980:     ac_cache=$ac_item
 3981:   else
 3982:     ac_header=$ac_item
 3983:   fi
 3984: done
 3985: 
 3986: 
 3987: 
 3988: 
 3989: 
 3990: 
 3991: 
 3992: 
 3993: if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
 3994: then :
 3995: 
 3996: printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
 3997: 
 3998: fi
 3999: ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 4000: if test "x$ac_cv_header_stdlib_h" = xyes
 4001: then :
 4002:   printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
 4003: 
 4004: fi
 4005: ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
 4006: if test "x$ac_cv_header_string_h" = xyes
 4007: then :
 4008:   printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
 4009: 
 4010: fi
 4011: ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
 4012: if test "x$ac_cv_header_sys_ioctl_h" = xyes
 4013: then :
 4014:   printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
 4015: 
 4016: fi
 4017: ac_fn_c_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
 4018: if test "x$ac_cv_header_termios_h" = xyes
 4019: then :
 4020:   printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h
 4021: 
 4022: fi
 4023: ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
 4024: if test "x$ac_cv_header_unistd_h" = xyes
 4025: then :
 4026:   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
 4027: 
 4028: fi
 4029: 
 4030: ac_fn_c_check_header_compile "$LINENO" "bsd/string.h" "ac_cv_header_bsd_string_h" "$ac_includes_default"
 4031: if test "x$ac_cv_header_bsd_string_h" = xyes
 4032: then :
 4033:   printf "%s\n" "#define HAVE_BSD_STRING_H 1" >>confdefs.h
 4034: 
 4035: fi
 4036: 
 4037: 
 4038: # Checks for typedefs, structures, and compiler characteristics.
 4039: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 4040: printf %s "checking for inline... " >&6; }
 4041: if test ${ac_cv_c_inline+y}
 4042: then :
 4043:   printf %s "(cached) " >&6
 4044: else $as_nop
 4045:   ac_cv_c_inline=no
 4046: for ac_kw in inline __inline__ __inline; do
 4047:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4048: /* end confdefs.h.  */
 4049: #ifndef __cplusplus
 4050: typedef int foo_t;
 4051: static $ac_kw foo_t static_foo (void) {return 0; }
 4052: $ac_kw foo_t foo (void) {return 0; }
 4053: #endif
 4054: 
 4055: _ACEOF
 4056: if ac_fn_c_try_compile "$LINENO"
 4057: then :
 4058:   ac_cv_c_inline=$ac_kw
 4059: fi
 4060: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
 4061:   test "$ac_cv_c_inline" != no && break
 4062: done
 4063: 
 4064: fi
 4065: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 4066: printf "%s\n" "$ac_cv_c_inline" >&6; }
 4067: 
 4068: case $ac_cv_c_inline in
 4069:   inline | yes) ;;
 4070:   *)
 4071:     case $ac_cv_c_inline in
 4072:       no) ac_val=;;
 4073:       *) ac_val=$ac_cv_c_inline;;
 4074:     esac
 4075:     cat >>confdefs.h <<_ACEOF
 4076: #ifndef __cplusplus
 4077: #define inline $ac_val
 4078: #endif
 4079: _ACEOF
 4080:     ;;
 4081: esac
 4082: 
 4083: 
 4084: # Checks for library functions.
 4085: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
 4086: printf %s "checking for GNU libc compatible malloc... " >&6; }
 4087: if test ${ac_cv_func_malloc_0_nonnull+y}
 4088: then :
 4089:   printf %s "(cached) " >&6
 4090: else $as_nop
 4091:   if test "$cross_compiling" = yes
 4092: then :
 4093:   case "$host_os" in # ((
 4094: 		  # Guess yes on platforms where we know the result.
 4095: 		  *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
 4096: 		  | hpux* | solaris* | cygwin* | mingw* | msys* )
 4097: 		    ac_cv_func_malloc_0_nonnull=yes ;;
 4098: 		  # If we don't know, assume the worst.
 4099: 		  *) ac_cv_func_malloc_0_nonnull=no ;;
 4100: 		esac
 4101: else $as_nop
 4102:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4103: /* end confdefs.h.  */
 4104: #include <stdlib.h>
 4105: 
 4106: int
 4107: main (void)
 4108: {
 4109: void *p = malloc (0);
 4110: 		   int result = !p;
 4111: 		   free (p);
 4112: 		   return result;
 4113:   ;
 4114:   return 0;
 4115: }
 4116: _ACEOF
 4117: if ac_fn_c_try_run "$LINENO"
 4118: then :
 4119:   ac_cv_func_malloc_0_nonnull=yes
 4120: else $as_nop
 4121:   ac_cv_func_malloc_0_nonnull=no
 4122: fi
 4123: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 4124:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 4125: fi
 4126: 
 4127: fi
 4128: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
 4129: printf "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; }
 4130: if test $ac_cv_func_malloc_0_nonnull = yes
 4131: then :
 4132: 
 4133: printf "%s\n" "#define HAVE_MALLOC 1" >>confdefs.h
 4134: 
 4135: else $as_nop
 4136:   printf "%s\n" "#define HAVE_MALLOC 0" >>confdefs.h
 4137: 
 4138:    case " $LIBOBJS " in
 4139:   *" malloc.$ac_objext "* ) ;;
 4140:   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
 4141:  ;;
 4142: esac
 4143: 
 4144: 
 4145: printf "%s\n" "#define malloc rpl_malloc" >>confdefs.h
 4146: 
 4147: fi
 4148: 
 4149: 
 4150: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
 4151: printf %s "checking for GNU libc compatible realloc... " >&6; }
 4152: if test ${ac_cv_func_realloc_0_nonnull+y}
 4153: then :
 4154:   printf %s "(cached) " >&6
 4155: else $as_nop
 4156:   if test "$cross_compiling" = yes
 4157: then :
 4158:   case "$host_os" in # ((
 4159: 		  # Guess yes on platforms where we know the result.
 4160: 		  *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
 4161: 		  | hpux* | solaris* | cygwin* | mingw* | msys* )
 4162: 		    ac_cv_func_realloc_0_nonnull=yes ;;
 4163: 		  # If we don't know, assume the worst.
 4164: 		  *) ac_cv_func_realloc_0_nonnull=no ;;
 4165: 		esac
 4166: else $as_nop
 4167:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4168: /* end confdefs.h.  */
 4169: #include <stdlib.h>
 4170: 
 4171: int
 4172: main (void)
 4173: {
 4174: void *p = realloc (0, 0);
 4175: 		   int result = !p;
 4176: 		   free (p);
 4177: 		   return result;
 4178:   ;
 4179:   return 0;
 4180: }
 4181: _ACEOF
 4182: if ac_fn_c_try_run "$LINENO"
 4183: then :
 4184:   ac_cv_func_realloc_0_nonnull=yes
 4185: else $as_nop
 4186:   ac_cv_func_realloc_0_nonnull=no
 4187: fi
 4188: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 4189:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 4190: fi
 4191: 
 4192: fi
 4193: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
 4194: printf "%s\n" "$ac_cv_func_realloc_0_nonnull" >&6; }
 4195: if test $ac_cv_func_realloc_0_nonnull = yes
 4196: then :
 4197: 
 4198: printf "%s\n" "#define HAVE_REALLOC 1" >>confdefs.h
 4199: 
 4200: else $as_nop
 4201:   printf "%s\n" "#define HAVE_REALLOC 0" >>confdefs.h
 4202: 
 4203:    case " $LIBOBJS " in
 4204:   *" realloc.$ac_objext "* ) ;;
 4205:   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
 4206:  ;;
 4207: esac
 4208: 
 4209: 
 4210: printf "%s\n" "#define realloc rpl_realloc" >>confdefs.h
 4211: 
 4212: fi
 4213: 
 4214: 
 4215: ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
 4216: if test "x$ac_cv_func_memset" = xyes
 4217: then :
 4218:   printf "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h
 4219: 
 4220: fi
 4221: ac_fn_c_check_func "$LINENO" "regcomp" "ac_cv_func_regcomp"
 4222: if test "x$ac_cv_func_regcomp" = xyes
 4223: then :
 4224:   printf "%s\n" "#define HAVE_REGCOMP 1" >>confdefs.h
 4225: 
 4226: fi
 4227: ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
 4228: if test "x$ac_cv_func_strchr" = xyes
 4229: then :
 4230:   printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
 4231: 
 4232: fi
 4233: ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
 4234: if test "x$ac_cv_func_strerror" = xyes
 4235: then :
 4236:   printf "%s\n" "#define HAVE_STRERROR 1" >>confdefs.h
 4237: 
 4238: fi
 4239: ac_fn_c_check_func "$LINENO" "link_addr" "ac_cv_func_link_addr"
 4240: if test "x$ac_cv_func_link_addr" = xyes
 4241: then :
 4242:   printf "%s\n" "#define HAVE_LINK_ADDR 1" >>confdefs.h
 4243: 
 4244: fi
 4245: ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
 4246: if test "x$ac_cv_func_strlcpy" = xyes
 4247: then :
 4248:   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
 4249: 
 4250: fi
 4251: 
 4252: 
 4253: DEBUG=no
 4254: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Debug Build" >&5
 4255: printf %s "checking Debug Build... " >&6; }
 4256: # Check whether --enable-debug was given.
 4257: if test ${enable_debug+y}
 4258: then :
 4259:   enableval=$enable_debug;  DEBUG=$enableval
 4260: 		case "$enableval" in
 4261: 			yes)
 4262: 				CFLAGS="-g ${CFLAGS}"
 4263: 				;;
 4264: 			*)
 4265: 
 4266: printf "%s\n" "#define NDEBUG /**/" >>confdefs.h
 4267: 
 4268: 				;;
 4269: 		esac
 4270: fi
 4271: 
 4272: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5
 4273: printf "%s\n" "$DEBUG" >&6; }
 4274: 
 4275: MEMMGR="elwix"
 4276: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Memory management" >&5
 4277: printf %s "checking Memory management... " >&6; }
 4278: 
 4279: # Check whether --with-memmgr was given.
 4280: if test ${with_memmgr+y}
 4281: then :
 4282:   withval=$with_memmgr;  case "$withval" in
 4283: 		sys|system)
 4284: 			MEMMGR="system"
 4285: 
 4286: printf "%s\n" "#define MEMMGR ELWIX_SYSM" >>confdefs.h
 4287: 
 4288: 			;;
 4289: 		*)
 4290: 			MEMMGR="elwix"
 4291: 
 4292: printf "%s\n" "#define MEMMGR ELWIX_MPOOL" >>confdefs.h
 4293: 
 4294: 			;;
 4295: 	  esac
 4296: else $as_nop
 4297: 
 4298: printf "%s\n" "#define MEMMGR ELWIX_MPOOL" >>confdefs.h
 4299: 
 4300: fi
 4301: 
 4302: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MEMMGR" >&5
 4303: printf "%s\n" "$MEMMGR" >&6; }
 4304: 
 4305: ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"
 4306: 
 4307: cat >confcache <<\_ACEOF
 4308: # This file is a shell script that caches the results of configure
 4309: # tests run on this system so they can be shared between configure
 4310: # scripts and configure runs, see configure's option --config-cache.
 4311: # It is not useful on other systems.  If it contains results you don't
 4312: # want to keep, you may remove or edit it.
 4313: #
 4314: # config.status only pays attention to the cache file if you give it
 4315: # the --recheck option to rerun configure.
 4316: #
 4317: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 4318: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 4319: # following values.
 4320: 
 4321: _ACEOF
 4322: 
 4323: # The following way of writing the cache mishandles newlines in values,
 4324: # but we know of no workaround that is simple, portable, and efficient.
 4325: # So, we kill variables containing newlines.
 4326: # Ultrix sh set writes to stderr and can't be redirected directly,
 4327: # and sets the high bit in the cache file unless we assign to the vars.
 4328: (
 4329:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 4330:     eval ac_val=\$$ac_var
 4331:     case $ac_val in #(
 4332:     *${as_nl}*)
 4333:       case $ac_var in #(
 4334:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 4335: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 4336:       esac
 4337:       case $ac_var in #(
 4338:       _ | IFS | as_nl) ;; #(
 4339:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 4340:       *) { eval $ac_var=; unset $ac_var;} ;;
 4341:       esac ;;
 4342:     esac
 4343:   done
 4344: 
 4345:   (set) 2>&1 |
 4346:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 4347:     *${as_nl}ac_space=\ *)
 4348:       # `set' does not quote correctly, so add quotes: double-quote
 4349:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 4350:       sed -n \
 4351: 	"s/'/'\\\\''/g;
 4352: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 4353:       ;; #(
 4354:     *)
 4355:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 4356:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 4357:       ;;
 4358:     esac |
 4359:     sort
 4360: ) |
 4361:   sed '
 4362:      /^ac_cv_env_/b end
 4363:      t clear
 4364:      :clear
 4365:      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
 4366:      t end
 4367:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 4368:      :end' >>confcache
 4369: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 4370:   if test -w "$cache_file"; then
 4371:     if test "x$cache_file" != "x/dev/null"; then
 4372:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 4373: printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
 4374:       if test ! -f "$cache_file" || test -h "$cache_file"; then
 4375: 	cat confcache >"$cache_file"
 4376:       else
 4377:         case $cache_file in #(
 4378:         */* | ?:*)
 4379: 	  mv -f confcache "$cache_file"$$ &&
 4380: 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
 4381:         *)
 4382: 	  mv -f confcache "$cache_file" ;;
 4383: 	esac
 4384:       fi
 4385:     fi
 4386:   else
 4387:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 4388: printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
 4389:   fi
 4390: fi
 4391: rm -f confcache
 4392: 
 4393: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 4394: # Let make expand exec_prefix.
 4395: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 4396: 
 4397: DEFS=-DHAVE_CONFIG_H
 4398: 
 4399: ac_libobjs=
 4400: ac_ltlibobjs=
 4401: U=
 4402: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 4403:   # 1. Remove the extension, and $U if already installed.
 4404:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 4405:   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
 4406:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 4407:   #    will be set to the directory where LIBOBJS objects are built.
 4408:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 4409:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 4410: done
 4411: LIBOBJS=$ac_libobjs
 4412: 
 4413: LTLIBOBJS=$ac_ltlibobjs
 4414: 
 4415: 
 4416: 
 4417: : "${CONFIG_STATUS=./config.status}"
 4418: ac_write_fail=0
 4419: ac_clean_files_save=$ac_clean_files
 4420: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 4421: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 4422: printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
 4423: as_write_fail=0
 4424: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 4425: #! $SHELL
 4426: # Generated by $as_me.
 4427: # Run this file to recreate the current configuration.
 4428: # Compiler output produced by configure, useful for debugging
 4429: # configure, is in config.log if it exists.
 4430: 
 4431: debug=false
 4432: ac_cs_recheck=false
 4433: ac_cs_silent=false
 4434: 
 4435: SHELL=\${CONFIG_SHELL-$SHELL}
 4436: export SHELL
 4437: _ASEOF
 4438: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 4439: ## -------------------- ##
 4440: ## M4sh Initialization. ##
 4441: ## -------------------- ##
 4442: 
 4443: # Be more Bourne compatible
 4444: DUALCASE=1; export DUALCASE # for MKS sh
 4445: as_nop=:
 4446: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
 4447: then :
 4448:   emulate sh
 4449:   NULLCMD=:
 4450:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 4451:   # is contrary to our usage.  Disable this feature.
 4452:   alias -g '${1+"$@"}'='"$@"'
 4453:   setopt NO_GLOB_SUBST
 4454: else $as_nop
 4455:   case `(set -o) 2>/dev/null` in #(
 4456:   *posix*) :
 4457:     set -o posix ;; #(
 4458:   *) :
 4459:      ;;
 4460: esac
 4461: fi
 4462: 
 4463: 
 4464: 
 4465: # Reset variables that may have inherited troublesome values from
 4466: # the environment.
 4467: 
 4468: # IFS needs to be set, to space, tab, and newline, in precisely that order.
 4469: # (If _AS_PATH_WALK were called with IFS unset, it would have the
 4470: # side effect of setting IFS to empty, thus disabling word splitting.)
 4471: # Quoting is to prevent editors from complaining about space-tab.
 4472: as_nl='
 4473: '
 4474: export as_nl
 4475: IFS=" ""	$as_nl"
 4476: 
 4477: PS1='$ '
 4478: PS2='> '
 4479: PS4='+ '
 4480: 
 4481: # Ensure predictable behavior from utilities with locale-dependent output.
 4482: LC_ALL=C
 4483: export LC_ALL
 4484: LANGUAGE=C
 4485: export LANGUAGE
 4486: 
 4487: # We cannot yet rely on "unset" to work, but we need these variables
 4488: # to be unset--not just set to an empty or harmless value--now, to
 4489: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
 4490: # also avoids known problems related to "unset" and subshell syntax
 4491: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
 4492: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
 4493: do eval test \${$as_var+y} \
 4494:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 4495: done
 4496: 
 4497: # Ensure that fds 0, 1, and 2 are open.
 4498: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
 4499: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
 4500: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
 4501: 
 4502: # The user is always right.
 4503: if ${PATH_SEPARATOR+false} :; then
 4504:   PATH_SEPARATOR=:
 4505:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 4506:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 4507:       PATH_SEPARATOR=';'
 4508:   }
 4509: fi
 4510: 
 4511: 
 4512: # Find who we are.  Look in the path if we contain no directory separator.
 4513: as_myself=
 4514: case $0 in #((
 4515:   *[\\/]* ) as_myself=$0 ;;
 4516:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4517: for as_dir in $PATH
 4518: do
 4519:   IFS=$as_save_IFS
 4520:   case $as_dir in #(((
 4521:     '') as_dir=./ ;;
 4522:     */) ;;
 4523:     *) as_dir=$as_dir/ ;;
 4524:   esac
 4525:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
 4526:   done
 4527: IFS=$as_save_IFS
 4528: 
 4529:      ;;
 4530: esac
 4531: # We did not find ourselves, most probably we were run as `sh COMMAND'
 4532: # in which case we are not to be found in the path.
 4533: if test "x$as_myself" = x; then
 4534:   as_myself=$0
 4535: fi
 4536: if test ! -f "$as_myself"; then
 4537:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 4538:   exit 1
 4539: fi
 4540: 
 4541: 
 4542: 
 4543: # as_fn_error STATUS ERROR [LINENO LOG_FD]
 4544: # ----------------------------------------
 4545: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 4546: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 4547: # script with STATUS, using 1 if that was 0.
 4548: as_fn_error ()
 4549: {
 4550:   as_status=$1; test $as_status -eq 0 && as_status=1
 4551:   if test "$4"; then
 4552:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 4553:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 4554:   fi
 4555:   printf "%s\n" "$as_me: error: $2" >&2
 4556:   as_fn_exit $as_status
 4557: } # as_fn_error
 4558: 
 4559: 
 4560: 
 4561: # as_fn_set_status STATUS
 4562: # -----------------------
 4563: # Set $? to STATUS, without forking.
 4564: as_fn_set_status ()
 4565: {
 4566:   return $1
 4567: } # as_fn_set_status
 4568: 
 4569: # as_fn_exit STATUS
 4570: # -----------------
 4571: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 4572: as_fn_exit ()
 4573: {
 4574:   set +e
 4575:   as_fn_set_status $1
 4576:   exit $1
 4577: } # as_fn_exit
 4578: 
 4579: # as_fn_unset VAR
 4580: # ---------------
 4581: # Portably unset VAR.
 4582: as_fn_unset ()
 4583: {
 4584:   { eval $1=; unset $1;}
 4585: }
 4586: as_unset=as_fn_unset
 4587: 
 4588: # as_fn_append VAR VALUE
 4589: # ----------------------
 4590: # Append the text in VALUE to the end of the definition contained in VAR. Take
 4591: # advantage of any shell optimizations that allow amortized linear growth over
 4592: # repeated appends, instead of the typical quadratic growth present in naive
 4593: # implementations.
 4594: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
 4595: then :
 4596:   eval 'as_fn_append ()
 4597:   {
 4598:     eval $1+=\$2
 4599:   }'
 4600: else $as_nop
 4601:   as_fn_append ()
 4602:   {
 4603:     eval $1=\$$1\$2
 4604:   }
 4605: fi # as_fn_append
 4606: 
 4607: # as_fn_arith ARG...
 4608: # ------------------
 4609: # Perform arithmetic evaluation on the ARGs, and store the result in the
 4610: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 4611: # must be portable across $(()) and expr.
 4612: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
 4613: then :
 4614:   eval 'as_fn_arith ()
 4615:   {
 4616:     as_val=$(( $* ))
 4617:   }'
 4618: else $as_nop
 4619:   as_fn_arith ()
 4620:   {
 4621:     as_val=`expr "$@" || test $? -eq 1`
 4622:   }
 4623: fi # as_fn_arith
 4624: 
 4625: 
 4626: if expr a : '\(a\)' >/dev/null 2>&1 &&
 4627:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 4628:   as_expr=expr
 4629: else
 4630:   as_expr=false
 4631: fi
 4632: 
 4633: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 4634:   as_basename=basename
 4635: else
 4636:   as_basename=false
 4637: fi
 4638: 
 4639: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 4640:   as_dirname=dirname
 4641: else
 4642:   as_dirname=false
 4643: fi
 4644: 
 4645: as_me=`$as_basename -- "$0" ||
 4646: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 4647: 	 X"$0" : 'X\(//\)$' \| \
 4648: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 4649: printf "%s\n" X/"$0" |
 4650:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 4651: 	    s//\1/
 4652: 	    q
 4653: 	  }
 4654: 	  /^X\/\(\/\/\)$/{
 4655: 	    s//\1/
 4656: 	    q
 4657: 	  }
 4658: 	  /^X\/\(\/\).*/{
 4659: 	    s//\1/
 4660: 	    q
 4661: 	  }
 4662: 	  s/.*/./; q'`
 4663: 
 4664: # Avoid depending upon Character Ranges.
 4665: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 4666: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 4667: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 4668: as_cr_digits='0123456789'
 4669: as_cr_alnum=$as_cr_Letters$as_cr_digits
 4670: 
 4671: 
 4672: # Determine whether it's possible to make 'echo' print without a newline.
 4673: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
 4674: # for compatibility with existing Makefiles.
 4675: ECHO_C= ECHO_N= ECHO_T=
 4676: case `echo -n x` in #(((((
 4677: -n*)
 4678:   case `echo 'xy\c'` in
 4679:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 4680:   xy)  ECHO_C='\c';;
 4681:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 4682:        ECHO_T='	';;
 4683:   esac;;
 4684: *)
 4685:   ECHO_N='-n';;
 4686: esac
 4687: 
 4688: # For backward compatibility with old third-party macros, we provide
 4689: # the shell variables $as_echo and $as_echo_n.  New code should use
 4690: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
 4691: as_echo='printf %s\n'
 4692: as_echo_n='printf %s'
 4693: 
 4694: rm -f conf$$ conf$$.exe conf$$.file
 4695: if test -d conf$$.dir; then
 4696:   rm -f conf$$.dir/conf$$.file
 4697: else
 4698:   rm -f conf$$.dir
 4699:   mkdir conf$$.dir 2>/dev/null
 4700: fi
 4701: if (echo >conf$$.file) 2>/dev/null; then
 4702:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 4703:     as_ln_s='ln -s'
 4704:     # ... but there are two gotchas:
 4705:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 4706:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 4707:     # In both cases, we have to default to `cp -pR'.
 4708:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 4709:       as_ln_s='cp -pR'
 4710:   elif ln conf$$.file conf$$ 2>/dev/null; then
 4711:     as_ln_s=ln
 4712:   else
 4713:     as_ln_s='cp -pR'
 4714:   fi
 4715: else
 4716:   as_ln_s='cp -pR'
 4717: fi
 4718: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 4719: rmdir conf$$.dir 2>/dev/null
 4720: 
 4721: 
 4722: # as_fn_mkdir_p
 4723: # -------------
 4724: # Create "$as_dir" as a directory, including parents if necessary.
 4725: as_fn_mkdir_p ()
 4726: {
 4727: 
 4728:   case $as_dir in #(
 4729:   -*) as_dir=./$as_dir;;
 4730:   esac
 4731:   test -d "$as_dir" || eval $as_mkdir_p || {
 4732:     as_dirs=
 4733:     while :; do
 4734:       case $as_dir in #(
 4735:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 4736:       *) as_qdir=$as_dir;;
 4737:       esac
 4738:       as_dirs="'$as_qdir' $as_dirs"
 4739:       as_dir=`$as_dirname -- "$as_dir" ||
 4740: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 4741: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 4742: 	 X"$as_dir" : 'X\(//\)$' \| \
 4743: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 4744: printf "%s\n" X"$as_dir" |
 4745:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 4746: 	    s//\1/
 4747: 	    q
 4748: 	  }
 4749: 	  /^X\(\/\/\)[^/].*/{
 4750: 	    s//\1/
 4751: 	    q
 4752: 	  }
 4753: 	  /^X\(\/\/\)$/{
 4754: 	    s//\1/
 4755: 	    q
 4756: 	  }
 4757: 	  /^X\(\/\).*/{
 4758: 	    s//\1/
 4759: 	    q
 4760: 	  }
 4761: 	  s/.*/./; q'`
 4762:       test -d "$as_dir" && break
 4763:     done
 4764:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 4765:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 4766: 
 4767: 
 4768: } # as_fn_mkdir_p
 4769: if mkdir -p . 2>/dev/null; then
 4770:   as_mkdir_p='mkdir -p "$as_dir"'
 4771: else
 4772:   test -d ./-p && rmdir ./-p
 4773:   as_mkdir_p=false
 4774: fi
 4775: 
 4776: 
 4777: # as_fn_executable_p FILE
 4778: # -----------------------
 4779: # Test if FILE is an executable regular file.
 4780: as_fn_executable_p ()
 4781: {
 4782:   test -f "$1" && test -x "$1"
 4783: } # as_fn_executable_p
 4784: as_test_x='test -x'
 4785: as_executable_p=as_fn_executable_p
 4786: 
 4787: # Sed expression to map a string onto a valid CPP name.
 4788: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 4789: 
 4790: # Sed expression to map a string onto a valid variable name.
 4791: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 4792: 
 4793: 
 4794: exec 6>&1
 4795: ## ----------------------------------- ##
 4796: ## Main body of $CONFIG_STATUS script. ##
 4797: ## ----------------------------------- ##
 4798: _ASEOF
 4799: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 4800: 
 4801: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4802: # Save the log message, to keep $0 and so on meaningful, and to
 4803: # report actual input values of CONFIG_FILES etc. instead of their
 4804: # values after options handling.
 4805: ac_log="
 4806: This file was extended by libelwix $as_me 5.6, which was
 4807: generated by GNU Autoconf 2.71.  Invocation command line was
 4808: 
 4809:   CONFIG_FILES    = $CONFIG_FILES
 4810:   CONFIG_HEADERS  = $CONFIG_HEADERS
 4811:   CONFIG_LINKS    = $CONFIG_LINKS
 4812:   CONFIG_COMMANDS = $CONFIG_COMMANDS
 4813:   $ $0 $@
 4814: 
 4815: on `(hostname || uname -n) 2>/dev/null | sed 1q`
 4816: "
 4817: 
 4818: _ACEOF
 4819: 
 4820: case $ac_config_files in *"
 4821: "*) set x $ac_config_files; shift; ac_config_files=$*;;
 4822: esac
 4823: 
 4824: case $ac_config_headers in *"
 4825: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 4826: esac
 4827: 
 4828: 
 4829: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4830: # Files that config.status was made for.
 4831: config_files="$ac_config_files"
 4832: config_headers="$ac_config_headers"
 4833: 
 4834: _ACEOF
 4835: 
 4836: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4837: ac_cs_usage="\
 4838: \`$as_me' instantiates files and other configuration actions
 4839: from templates according to the current configuration.  Unless the files
 4840: and actions are specified as TAGs, all are instantiated by default.
 4841: 
 4842: Usage: $0 [OPTION]... [TAG]...
 4843: 
 4844:   -h, --help       print this help, then exit
 4845:   -V, --version    print version number and configuration settings, then exit
 4846:       --config     print configuration, then exit
 4847:   -q, --quiet, --silent
 4848:                    do not print progress messages
 4849:   -d, --debug      don't remove temporary files
 4850:       --recheck    update $as_me by reconfiguring in the same conditions
 4851:       --file=FILE[:TEMPLATE]
 4852:                    instantiate the configuration file FILE
 4853:       --header=FILE[:TEMPLATE]
 4854:                    instantiate the configuration header FILE
 4855: 
 4856: Configuration files:
 4857: $config_files
 4858: 
 4859: Configuration headers:
 4860: $config_headers
 4861: 
 4862: Report bugs to <misho@elwix.org>."
 4863: 
 4864: _ACEOF
 4865: ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
 4866: ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
 4867: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4868: ac_cs_config='$ac_cs_config_escaped'
 4869: ac_cs_version="\\
 4870: libelwix config.status 5.6
 4871: configured by $0, generated by GNU Autoconf 2.71,
 4872:   with options \\"\$ac_cs_config\\"
 4873: 
 4874: Copyright (C) 2021 Free Software Foundation, Inc.
 4875: This config.status script is free software; the Free Software Foundation
 4876: gives unlimited permission to copy, distribute and modify it."
 4877: 
 4878: ac_pwd='$ac_pwd'
 4879: srcdir='$srcdir'
 4880: INSTALL='$INSTALL'
 4881: test -n "\$AWK" || AWK=awk
 4882: _ACEOF
 4883: 
 4884: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4885: # The default lists apply if the user does not specify any file.
 4886: ac_need_defaults=:
 4887: while test $# != 0
 4888: do
 4889:   case $1 in
 4890:   --*=?*)
 4891:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 4892:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 4893:     ac_shift=:
 4894:     ;;
 4895:   --*=)
 4896:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 4897:     ac_optarg=
 4898:     ac_shift=:
 4899:     ;;
 4900:   *)
 4901:     ac_option=$1
 4902:     ac_optarg=$2
 4903:     ac_shift=shift
 4904:     ;;
 4905:   esac
 4906: 
 4907:   case $ac_option in
 4908:   # Handling of the options.
 4909:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 4910:     ac_cs_recheck=: ;;
 4911:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 4912:     printf "%s\n" "$ac_cs_version"; exit ;;
 4913:   --config | --confi | --conf | --con | --co | --c )
 4914:     printf "%s\n" "$ac_cs_config"; exit ;;
 4915:   --debug | --debu | --deb | --de | --d | -d )
 4916:     debug=: ;;
 4917:   --file | --fil | --fi | --f )
 4918:     $ac_shift
 4919:     case $ac_optarg in
 4920:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 4921:     '') as_fn_error $? "missing file argument" ;;
 4922:     esac
 4923:     as_fn_append CONFIG_FILES " '$ac_optarg'"
 4924:     ac_need_defaults=false;;
 4925:   --header | --heade | --head | --hea )
 4926:     $ac_shift
 4927:     case $ac_optarg in
 4928:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 4929:     esac
 4930:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 4931:     ac_need_defaults=false;;
 4932:   --he | --h)
 4933:     # Conflict between --help and --header
 4934:     as_fn_error $? "ambiguous option: \`$1'
 4935: Try \`$0 --help' for more information.";;
 4936:   --help | --hel | -h )
 4937:     printf "%s\n" "$ac_cs_usage"; exit ;;
 4938:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 4939:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 4940:     ac_cs_silent=: ;;
 4941: 
 4942:   # This is an error.
 4943:   -*) as_fn_error $? "unrecognized option: \`$1'
 4944: Try \`$0 --help' for more information." ;;
 4945: 
 4946:   *) as_fn_append ac_config_targets " $1"
 4947:      ac_need_defaults=false ;;
 4948: 
 4949:   esac
 4950:   shift
 4951: done
 4952: 
 4953: ac_configure_extra_args=
 4954: 
 4955: if $ac_cs_silent; then
 4956:   exec 6>/dev/null
 4957:   ac_configure_extra_args="$ac_configure_extra_args --silent"
 4958: fi
 4959: 
 4960: _ACEOF
 4961: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4962: if \$ac_cs_recheck; then
 4963:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 4964:   shift
 4965:   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
 4966:   CONFIG_SHELL='$SHELL'
 4967:   export CONFIG_SHELL
 4968:   exec "\$@"
 4969: fi
 4970: 
 4971: _ACEOF
 4972: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4973: exec 5>>config.log
 4974: {
 4975:   echo
 4976:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 4977: ## Running $as_me. ##
 4978: _ASBOX
 4979:   printf "%s\n" "$ac_log"
 4980: } >&5
 4981: 
 4982: _ACEOF
 4983: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4984: _ACEOF
 4985: 
 4986: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4987: 
 4988: # Handling of arguments.
 4989: for ac_config_target in $ac_config_targets
 4990: do
 4991:   case $ac_config_target in
 4992:     "inc/config.h") CONFIG_HEADERS="$CONFIG_HEADERS inc/config.h" ;;
 4993:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 4994:     "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
 4995:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
 4996:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 4997: 
 4998:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 4999:   esac
 5000: done
 5001: 
 5002: 
 5003: # If the user did not use the arguments to specify the items to instantiate,
 5004: # then the envvar interface is used.  Set only those that are not.
 5005: # We use the long form for the default assignment because of an extremely
 5006: # bizarre bug on SunOS 4.1.3.
 5007: if $ac_need_defaults; then
 5008:   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
 5009:   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
 5010: fi
 5011: 
 5012: # Have a temporary directory for convenience.  Make it in the build tree
 5013: # simply because there is no reason against having it here, and in addition,
 5014: # creating and moving files from /tmp can sometimes cause problems.
 5015: # Hook for its removal unless debugging.
 5016: # Note that there is a small window in which the directory will not be cleaned:
 5017: # after its creation but before its name has been assigned to `$tmp'.
 5018: $debug ||
 5019: {
 5020:   tmp= ac_tmp=
 5021:   trap 'exit_status=$?
 5022:   : "${ac_tmp:=$tmp}"
 5023:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 5024: ' 0
 5025:   trap 'as_fn_exit 1' 1 2 13 15
 5026: }
 5027: # Create a (secure) tmp directory for tmp files.
 5028: 
 5029: {
 5030:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 5031:   test -d "$tmp"
 5032: }  ||
 5033: {
 5034:   tmp=./conf$$-$RANDOM
 5035:   (umask 077 && mkdir "$tmp")
 5036: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 5037: ac_tmp=$tmp
 5038: 
 5039: # Set up the scripts for CONFIG_FILES section.
 5040: # No need to generate them if there are no CONFIG_FILES.
 5041: # This happens for instance with `./config.status config.h'.
 5042: if test -n "$CONFIG_FILES"; then
 5043: 
 5044: 
 5045: ac_cr=`echo X | tr X '\015'`
 5046: # On cygwin, bash can eat \r inside `` if the user requested igncr.
 5047: # But we know of no other shell where ac_cr would be empty at this
 5048: # point, so we can use a bashism as a fallback.
 5049: if test "x$ac_cr" = x; then
 5050:   eval ac_cr=\$\'\\r\'
 5051: fi
 5052: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 5053: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 5054:   ac_cs_awk_cr='\\r'
 5055: else
 5056:   ac_cs_awk_cr=$ac_cr
 5057: fi
 5058: 
 5059: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 5060: _ACEOF
 5061: 
 5062: 
 5063: {
 5064:   echo "cat >conf$$subs.awk <<_ACEOF" &&
 5065:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 5066:   echo "_ACEOF"
 5067: } >conf$$subs.sh ||
 5068:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 5069: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 5070: ac_delim='%!_!# '
 5071: for ac_last_try in false false false false false :; do
 5072:   . ./conf$$subs.sh ||
 5073:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 5074: 
 5075:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 5076:   if test $ac_delim_n = $ac_delim_num; then
 5077:     break
 5078:   elif $ac_last_try; then
 5079:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 5080:   else
 5081:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 5082:   fi
 5083: done
 5084: rm -f conf$$subs.sh
 5085: 
 5086: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5087: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 5088: _ACEOF
 5089: sed -n '
 5090: h
 5091: s/^/S["/; s/!.*/"]=/
 5092: p
 5093: g
 5094: s/^[^!]*!//
 5095: :repl
 5096: t repl
 5097: s/'"$ac_delim"'$//
 5098: t delim
 5099: :nl
 5100: h
 5101: s/\(.\{148\}\)..*/\1/
 5102: t more1
 5103: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 5104: p
 5105: n
 5106: b repl
 5107: :more1
 5108: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 5109: p
 5110: g
 5111: s/.\{148\}//
 5112: t nl
 5113: :delim
 5114: h
 5115: s/\(.\{148\}\)..*/\1/
 5116: t more2
 5117: s/["\\]/\\&/g; s/^/"/; s/$/"/
 5118: p
 5119: b
 5120: :more2
 5121: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 5122: p
 5123: g
 5124: s/.\{148\}//
 5125: t delim
 5126: ' <conf$$subs.awk | sed '
 5127: /^[^""]/{
 5128:   N
 5129:   s/\n//
 5130: }
 5131: ' >>$CONFIG_STATUS || ac_write_fail=1
 5132: rm -f conf$$subs.awk
 5133: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5134: _ACAWK
 5135: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 5136:   for (key in S) S_is_set[key] = 1
 5137:   FS = ""
 5138: 
 5139: }
 5140: {
 5141:   line = $ 0
 5142:   nfields = split(line, field, "@")
 5143:   substed = 0
 5144:   len = length(field[1])
 5145:   for (i = 2; i < nfields; i++) {
 5146:     key = field[i]
 5147:     keylen = length(key)
 5148:     if (S_is_set[key]) {
 5149:       value = S[key]
 5150:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 5151:       len += length(value) + length(field[++i])
 5152:       substed = 1
 5153:     } else
 5154:       len += 1 + keylen
 5155:   }
 5156: 
 5157:   print line
 5158: }
 5159: 
 5160: _ACAWK
 5161: _ACEOF
 5162: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5163: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 5164:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 5165: else
 5166:   cat
 5167: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 5168:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 5169: _ACEOF
 5170: 
 5171: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 5172: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 5173: # trailing colons and then remove the whole line if VPATH becomes empty
 5174: # (actually we leave an empty line to preserve line numbers).
 5175: if test "x$srcdir" = x.; then
 5176:   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
 5177: h
 5178: s///
 5179: s/^/:/
 5180: s/[	 ]*$/:/
 5181: s/:\$(srcdir):/:/g
 5182: s/:\${srcdir}:/:/g
 5183: s/:@srcdir@:/:/g
 5184: s/^:*//
 5185: s/:*$//
 5186: x
 5187: s/\(=[	 ]*\).*/\1/
 5188: G
 5189: s/\n//
 5190: s/^[^=]*=[	 ]*$//
 5191: }'
 5192: fi
 5193: 
 5194: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5195: fi # test -n "$CONFIG_FILES"
 5196: 
 5197: # Set up the scripts for CONFIG_HEADERS section.
 5198: # No need to generate them if there are no CONFIG_HEADERS.
 5199: # This happens for instance with `./config.status Makefile'.
 5200: if test -n "$CONFIG_HEADERS"; then
 5201: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 5202: BEGIN {
 5203: _ACEOF
 5204: 
 5205: # Transform confdefs.h into an awk script `defines.awk', embedded as
 5206: # here-document in config.status, that substitutes the proper values into
 5207: # config.h.in to produce config.h.
 5208: 
 5209: # Create a delimiter string that does not exist in confdefs.h, to ease
 5210: # handling of long lines.
 5211: ac_delim='%!_!# '
 5212: for ac_last_try in false false :; do
 5213:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 5214:   if test -z "$ac_tt"; then
 5215:     break
 5216:   elif $ac_last_try; then
 5217:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 5218:   else
 5219:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 5220:   fi
 5221: done
 5222: 
 5223: # For the awk script, D is an array of macro values keyed by name,
 5224: # likewise P contains macro parameters if any.  Preserve backslash
 5225: # newline sequences.
 5226: 
 5227: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 5228: sed -n '
 5229: s/.\{148\}/&'"$ac_delim"'/g
 5230: t rset
 5231: :rset
 5232: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 5233: t def
 5234: d
 5235: :def
 5236: s/\\$//
 5237: t bsnl
 5238: s/["\\]/\\&/g
 5239: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 5240: D["\1"]=" \3"/p
 5241: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 5242: d
 5243: :bsnl
 5244: s/["\\]/\\&/g
 5245: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 5246: D["\1"]=" \3\\\\\\n"\\/p
 5247: t cont
 5248: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 5249: t cont
 5250: d
 5251: :cont
 5252: n
 5253: s/.\{148\}/&'"$ac_delim"'/g
 5254: t clear
 5255: :clear
 5256: s/\\$//
 5257: t bsnlc
 5258: s/["\\]/\\&/g; s/^/"/; s/$/"/p
 5259: d
 5260: :bsnlc
 5261: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 5262: b cont
 5263: ' <confdefs.h | sed '
 5264: s/'"$ac_delim"'/"\\\
 5265: "/g' >>$CONFIG_STATUS || ac_write_fail=1
 5266: 
 5267: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5268:   for (key in D) D_is_set[key] = 1
 5269:   FS = ""
 5270: }
 5271: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 5272:   line = \$ 0
 5273:   split(line, arg, " ")
 5274:   if (arg[1] == "#") {
 5275:     defundef = arg[2]
 5276:     mac1 = arg[3]
 5277:   } else {
 5278:     defundef = substr(arg[1], 2)
 5279:     mac1 = arg[2]
 5280:   }
 5281:   split(mac1, mac2, "(") #)
 5282:   macro = mac2[1]
 5283:   prefix = substr(line, 1, index(line, defundef) - 1)
 5284:   if (D_is_set[macro]) {
 5285:     # Preserve the white space surrounding the "#".
 5286:     print prefix "define", macro P[macro] D[macro]
 5287:     next
 5288:   } else {
 5289:     # Replace #undef with comments.  This is necessary, for example,
 5290:     # in the case of _POSIX_SOURCE, which is predefined and required
 5291:     # on some systems where configure will not decide to define it.
 5292:     if (defundef == "undef") {
 5293:       print "/*", prefix defundef, macro, "*/"
 5294:       next
 5295:     }
 5296:   }
 5297: }
 5298: { print }
 5299: _ACAWK
 5300: _ACEOF
 5301: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5302:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 5303: fi # test -n "$CONFIG_HEADERS"
 5304: 
 5305: 
 5306: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
 5307: shift
 5308: for ac_tag
 5309: do
 5310:   case $ac_tag in
 5311:   :[FHLC]) ac_mode=$ac_tag; continue;;
 5312:   esac
 5313:   case $ac_mode$ac_tag in
 5314:   :[FHL]*:*);;
 5315:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 5316:   :[FH]-) ac_tag=-:-;;
 5317:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 5318:   esac
 5319:   ac_save_IFS=$IFS
 5320:   IFS=:
 5321:   set x $ac_tag
 5322:   IFS=$ac_save_IFS
 5323:   shift
 5324:   ac_file=$1
 5325:   shift
 5326: 
 5327:   case $ac_mode in
 5328:   :L) ac_source=$1;;
 5329:   :[FH])
 5330:     ac_file_inputs=
 5331:     for ac_f
 5332:     do
 5333:       case $ac_f in
 5334:       -) ac_f="$ac_tmp/stdin";;
 5335:       *) # Look for the file first in the build tree, then in the source tree
 5336: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 5337: 	 # because $ac_f cannot contain `:'.
 5338: 	 test -f "$ac_f" ||
 5339: 	   case $ac_f in
 5340: 	   [\\/$]*) false;;
 5341: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 5342: 	   esac ||
 5343: 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 5344:       esac
 5345:       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 5346:       as_fn_append ac_file_inputs " '$ac_f'"
 5347:     done
 5348: 
 5349:     # Let's still pretend it is `configure' which instantiates (i.e., don't
 5350:     # use $as_me), people would be surprised to read:
 5351:     #    /* config.h.  Generated by config.status.  */
 5352:     configure_input='Generated from '`
 5353: 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 5354: 	`' by configure.'
 5355:     if test x"$ac_file" != x-; then
 5356:       configure_input="$ac_file.  $configure_input"
 5357:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 5358: printf "%s\n" "$as_me: creating $ac_file" >&6;}
 5359:     fi
 5360:     # Neutralize special characters interpreted by sed in replacement strings.
 5361:     case $configure_input in #(
 5362:     *\&* | *\|* | *\\* )
 5363:        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
 5364:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 5365:     *) ac_sed_conf_input=$configure_input;;
 5366:     esac
 5367: 
 5368:     case $ac_tag in
 5369:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
 5370:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 5371:     esac
 5372:     ;;
 5373:   esac
 5374: 
 5375:   ac_dir=`$as_dirname -- "$ac_file" ||
 5376: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 5377: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 5378: 	 X"$ac_file" : 'X\(//\)$' \| \
 5379: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 5380: printf "%s\n" X"$ac_file" |
 5381:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 5382: 	    s//\1/
 5383: 	    q
 5384: 	  }
 5385: 	  /^X\(\/\/\)[^/].*/{
 5386: 	    s//\1/
 5387: 	    q
 5388: 	  }
 5389: 	  /^X\(\/\/\)$/{
 5390: 	    s//\1/
 5391: 	    q
 5392: 	  }
 5393: 	  /^X\(\/\).*/{
 5394: 	    s//\1/
 5395: 	    q
 5396: 	  }
 5397: 	  s/.*/./; q'`
 5398:   as_dir="$ac_dir"; as_fn_mkdir_p
 5399:   ac_builddir=.
 5400: 
 5401: case "$ac_dir" in
 5402: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 5403: *)
 5404:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
 5405:   # A ".." for each directory in $ac_dir_suffix.
 5406:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 5407:   case $ac_top_builddir_sub in
 5408:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 5409:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 5410:   esac ;;
 5411: esac
 5412: ac_abs_top_builddir=$ac_pwd
 5413: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 5414: # for backward compatibility:
 5415: ac_top_builddir=$ac_top_build_prefix
 5416: 
 5417: case $srcdir in
 5418:   .)  # We are building in place.
 5419:     ac_srcdir=.
 5420:     ac_top_srcdir=$ac_top_builddir_sub
 5421:     ac_abs_top_srcdir=$ac_pwd ;;
 5422:   [\\/]* | ?:[\\/]* )  # Absolute name.
 5423:     ac_srcdir=$srcdir$ac_dir_suffix;
 5424:     ac_top_srcdir=$srcdir
 5425:     ac_abs_top_srcdir=$srcdir ;;
 5426:   *) # Relative name.
 5427:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 5428:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 5429:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 5430: esac
 5431: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 5432: 
 5433: 
 5434:   case $ac_mode in
 5435:   :F)
 5436:   #
 5437:   # CONFIG_FILE
 5438:   #
 5439: 
 5440:   case $INSTALL in
 5441:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 5442:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 5443:   esac
 5444: _ACEOF
 5445: 
 5446: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5447: # If the template does not know about datarootdir, expand it.
 5448: # FIXME: This hack should be removed a few years after 2.60.
 5449: ac_datarootdir_hack=; ac_datarootdir_seen=
 5450: ac_sed_dataroot='
 5451: /datarootdir/ {
 5452:   p
 5453:   q
 5454: }
 5455: /@datadir@/p
 5456: /@docdir@/p
 5457: /@infodir@/p
 5458: /@localedir@/p
 5459: /@mandir@/p'
 5460: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 5461: *datarootdir*) ac_datarootdir_seen=yes;;
 5462: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 5463:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 5464: printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 5465: _ACEOF
 5466: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5467:   ac_datarootdir_hack='
 5468:   s&@datadir@&$datadir&g
 5469:   s&@docdir@&$docdir&g
 5470:   s&@infodir@&$infodir&g
 5471:   s&@localedir@&$localedir&g
 5472:   s&@mandir@&$mandir&g
 5473:   s&\\\${datarootdir}&$datarootdir&g' ;;
 5474: esac
 5475: _ACEOF
 5476: 
 5477: # Neutralize VPATH when `$srcdir' = `.'.
 5478: # Shell code in configure.ac might set extrasub.
 5479: # FIXME: do we really want to maintain this feature?
 5480: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5481: ac_sed_extra="$ac_vpsub
 5482: $extrasub
 5483: _ACEOF
 5484: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5485: :t
 5486: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 5487: s|@configure_input@|$ac_sed_conf_input|;t t
 5488: s&@top_builddir@&$ac_top_builddir_sub&;t t
 5489: s&@top_build_prefix@&$ac_top_build_prefix&;t t
 5490: s&@srcdir@&$ac_srcdir&;t t
 5491: s&@abs_srcdir@&$ac_abs_srcdir&;t t
 5492: s&@top_srcdir@&$ac_top_srcdir&;t t
 5493: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 5494: s&@builddir@&$ac_builddir&;t t
 5495: s&@abs_builddir@&$ac_abs_builddir&;t t
 5496: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 5497: s&@INSTALL@&$ac_INSTALL&;t t
 5498: $ac_datarootdir_hack
 5499: "
 5500: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 5501:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5502: 
 5503: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 5504:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 5505:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
 5506:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
 5507:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 5508: which seems to be undefined.  Please make sure it is defined" >&5
 5509: printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 5510: which seems to be undefined.  Please make sure it is defined" >&2;}
 5511: 
 5512:   rm -f "$ac_tmp/stdin"
 5513:   case $ac_file in
 5514:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 5515:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 5516:   esac \
 5517:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5518:  ;;
 5519:   :H)
 5520:   #
 5521:   # CONFIG_HEADER
 5522:   #
 5523:   if test x"$ac_file" != x-; then
 5524:     {
 5525:       printf "%s\n" "/* $configure_input  */" >&1 \
 5526:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 5527:     } >"$ac_tmp/config.h" \
 5528:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5529:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 5530:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 5531: printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
 5532:     else
 5533:       rm -f "$ac_file"
 5534:       mv "$ac_tmp/config.h" "$ac_file" \
 5535: 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5536:     fi
 5537:   else
 5538:     printf "%s\n" "/* $configure_input  */" >&1 \
 5539:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 5540:       || as_fn_error $? "could not create -" "$LINENO" 5
 5541:   fi
 5542:  ;;
 5543: 
 5544: 
 5545:   esac
 5546: 
 5547: done # for ac_tag
 5548: 
 5549: 
 5550: as_fn_exit 0
 5551: _ACEOF
 5552: ac_clean_files=$ac_clean_files_save
 5553: 
 5554: test $ac_write_fail = 0 ||
 5555:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 5556: 
 5557: 
 5558: # configure is writing to config.log, and then calls config.status.
 5559: # config.status does its own redirection, appending to config.log.
 5560: # Unfortunately, on DOS this fails, as config.log is still kept open
 5561: # by configure, so config.status won't be able to write to it; its
 5562: # output is simply discarded.  So we exec the FD to /dev/null,
 5563: # effectively closing config.log, so it can be properly (re)opened and
 5564: # appended to by config.status.  When coming back to configure, we
 5565: # need to make the FD available again.
 5566: if test "$no_create" != yes; then
 5567:   ac_cs_success=:
 5568:   ac_config_status_args=
 5569:   test "$silent" = yes &&
 5570:     ac_config_status_args="$ac_config_status_args --quiet"
 5571:   exec 5>/dev/null
 5572:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 5573:   exec 5>>config.log
 5574:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 5575:   # would make configure fail if this is the last instruction.
 5576:   $ac_cs_success || as_fn_exit 1
 5577: fi
 5578: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 5579:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 5580: printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 5581: fi
 5582: 
 5583: 

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